pokerogue/src/field
Inês Simões 75400a39ed
[Bug] [UI/UX] Status moves now play a No Effect Message Against Immune Type Pokemon (#5533)
* Fix #5085  Moves dont play a No Effect Message Against Immune Type

When using non-volatile status move like: Will-O-Wisp, Thunder
Wave, Toxic, or Poison Gas against a Pokémon whose type is immune
to that Status condition, no "It doesn't affect" message plays.

My proposed fixes:
In move.ts:
Removed a redudant if statement in StatusEffectAttr class

In pokemon.ts:
Renamed the "messageIsImmune" function to "queueImmuneMessage"
2025-04-23 21:29:44 +00:00
..
anims.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
arena.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
damage-number-handler.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
mystery-encounter-intro.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
pokemon-sprite-sparkle-handler.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
pokemon.ts [Bug] [UI/UX] Status moves now play a No Effect Message Against Immune Type Pokemon (#5533) 2025-04-23 21:29:44 +00:00
trainer.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00