pokerogue/src
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
..
@types [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
configs/inputs add new lint rules....again 2024-10-04 13:08:31 +08:00
data [Bug] [Mystery Encounter] Force Clowning Around Blacephalon and Option 3 to roll two different types (#5234) 2025-02-01 19:52:45 -07:00
enums [Enhancement] Add Kukui and Mustard as Champions and Colress as an admin. (#5224) 2025-02-01 19:03:34 -07:00
events [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
field [Bug] Ensuring proper .getTypes() behavior with secondary Normal type (#5241) 2025-02-02 19:17:08 -07:00
interfaces [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
modifier Revert "[Bug] Fix miniblackhole (#5169)" (#5183) 2025-01-25 14:29:09 -08:00
phases [UI/UX] Moving the "Run History" option to title phase (#5139) 2025-02-01 19:02:28 -07:00
pipelines [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
plugins [Refactor] Descriptions for evolution and form change requirements (#5147) 2025-01-21 16:42:27 -07:00
system [Misc] Rename battle music, experimental sprites settings (#5174) 2025-01-29 20:43:44 -07:00
test [Bug] Ensuring proper .getTypes() behavior with secondary Normal type (#5241) 2025-02-02 19:17:08 -07:00
typings/phaser centralize module typing overrides (#1786) 2024-08-24 12:46:16 -07:00
ui [UI/UX] Moving the "Run History" option to title phase (#5139) 2025-02-01 19:02:28 -07:00
account.ts [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
battle-scene.ts Update Team Plasma battle theme to B2W2 version 2025-02-01 21:08:41 -06:00
battle.ts [Enhancement] Add Kukui and Mustard as Champions and Colress as an admin. (#5224) 2025-02-01 19:03:34 -07:00
constants.ts Revert "[UI/UX] Refactor and enable seasonal splash messages (#5009)" (#5014) 2024-12-19 16:04:12 -08:00
debug.js ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
game-mode.ts [Balance][Bug] Fix off by one error in Generate random biome and Daily Mode now has its own function (#5121) 2025-01-14 15:45:11 -07:00
global-scene.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
inputs-controller.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
loading-scene.ts [UI/UX] Year of the Snake event banners (#5192) 2025-01-27 15:22:47 -07:00
main.ts [Hotfix] Fix manifest getting loaded before the game is initialized (#4739) 2024-10-27 21:32:30 +01:00
messages.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
overrides.ts [Bug][Test] Instruct Bugfixes + More tests (#5134) 2025-01-29 19:19:05 -07:00
phase.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
scene-base.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
timed-event-manager.ts Specify available langs for yots event banner (#5202) 2025-01-28 18:09:50 -06:00
touch-controls.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
tutorial.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
ui-inputs.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
utils.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
utils.ts [Bug] Prevent pokemon with 0 HP from being statused (#5137) 2025-01-20 09:12:58 -08:00
vite.env.d.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00