pokerogue/src/field
Wlowscha 3f71f79d7b
[Bug] Ensuring proper .getTypes() behavior with secondary Normal type (#5241)
* customPokemonData.types now accepts Type.UNKNOWN, ignores when determining type

* Changed test for clowning around encounter to look at getTypes() instead of directly accessing customData

* Simplifying logic for fusions when overrides are involved, introducing new tests in pokemon.test.ts

* Renamed overrideTypes to customTypes to avoid confusion with override

* pokemon.getType() properly recognizes Normal secondary type

* Added effectiveness test for ghost on normal

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-02-02 19:17:08 -07:00
..
anims.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
arena.ts [Audio] Replace Title BGM with custom BGM by Firel (#5189) 2025-01-29 17:51:14 -07:00
damage-number-handler.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
mystery-encounter-intro.ts [Sprite] Fix game not waiting for variant data to finish loading (#5130) 2025-01-15 20:25:08 -07:00
pokemon-sprite-sparkle-handler.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
pokemon.ts [Bug] Ensuring proper .getTypes() behavior with secondary Normal type (#5241) 2025-02-02 19:17:08 -07:00
trainer.ts [Bug] Prevent Duplicate Signature Species in Trainer Battles (#5059) 2025-01-14 18:25:18 -07:00