pokemon-showdown/test/sim/team-validator
dot-Comfey b27ddb4ae2
Add BDSP HOME relearner and fix BDSP event legality (#11374)
* Allow BDSP moves to be learned via HOME relearner

* Update team-validator.ts

Commented out my changes to see if this was causing a test to fail; turns out my code isn't at fault.

* Update team-validator.ts

* Don't get learnset for Pokemon that don't exist in BDSP

Without the isNonstandard check, the learnset will be taken from the base learnsets.ts file, which could result in detecting moves that are actually not from BDSP.

* Fix BDSP legality

* Update team-validator.ts

* Fix test and learnsets

* Update data.js

* Prevent illegal transfers to/from BDSP

Nincada from outside BDSP cannot be sent to BDSP, Nincada from BDSP cannot be sent to other Switch games, and Spinda cannot be sent from or to BDSP. Currently this has no effect in regular Gen 9, but it technically does in Gen 9 Natdex (I have no idea if anything changes), and it may affect future generations.
2025-08-27 12:15:59 -06:00
..
basic.js Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
breeding.js Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
custom-rules.js Fix -All Pokemon overriding Min Source Gen 2025-03-06 20:16:57 -08:00
events.js Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
formes.js Fix typos (#11200) 2025-06-19 04:10:12 -07:00
misc.js Add BDSP HOME relearner and fix BDSP event legality (#11374) 2025-08-27 12:15:59 -06:00