pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
4.41k stars 1.78k forks source link

[BUG] Arena flyout not reflecting spite/eerie spell correctly #2347

Closed Tempo-anon closed 1 month ago

Tempo-anon commented 3 months ago

Describe the bug It does not reflect the PP correctly

To Reproduce Use Spite on an opponent

Expected behavior The flyout reflects the accurate PP number

Screenshots / Videos after using spite

Device n/a

Additional context n/a

schmidtc1 commented 3 months ago

I think the problem is that the battle flyout container stores previous move info in an array and only updates it when a move is used, rather than referencing the opponent's current movesetPP.

Snailman11 commented 1 month ago

Closing as it was probably fixed by 3388 (mentioned)