pokerogue icon indicating copy to clipboard operation
pokerogue copied to clipboard

Show type of Hidden Power or other variable type moves in battle and summary

Open jaimefd opened this issue 9 months ago • 4 comments

This change makes it so that you can see the type of your Hidden Power, or any other move that can have its type changed (like Revelation Dance, Weather Ball, etc...). It even shows type changes from abilities such as Pixilate or Liquid Voice, as it does the same checks that are done in battle in the same order.

Here's some proof:

https://github.com/pagefaultgames/pokerogue/assets/22176793/823eba04-8334-4436-a051-7e2e9a1ac4ef

It also works with stuff like setting Sunny Day, it updates dynamically, first turn shows Normal then shows Fire next turn:

https://github.com/pagefaultgames/pokerogue/assets/22176793/951f2fe9-9e50-40a7-9d6e-5b017523c703

EDIT: This also fixes abilities that change move immunities/resistances, such as Flash Fire no longer being immune to Liquid Voice+Torch Song, or Tinted Lens actually doubling resisted Hidden Power in damage.

jaimefd avatar May 24 '24 19:05 jaimefd