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.49k stars 1.8k forks source link

[Bug] Focus Punch Missing Post-Hit Message #4696

Closed Snailman11 closed 1 week ago

Snailman11 commented 1 week ago

Describe the bug

It is missing the message it gets after being hit

Reproduction

FocusPunch.txt Use Earth Power as the Minior on the first turn

Expected behavior

If the user is hit before the attack, it will say, "<Pokémon> used Focus Punch!" before it says the "<Pokémon> lost its focus and couldn't move!". Wild Pokémon executing this move while the player unsuccessfully attempts to flee will always display the charge-up animation before executing the move.

Generation V onwards It no longer states "<Pokémon> used Focus Punch!" preceding "<Pokémon> lost its focus and couldn't move!"

Screenshots / Videos

https://github.com/user-attachments/assets/bc99c44b-5282-4a22-bd4b-8a6058a4f895

Session export file

No response

User data export file

No response

Additional context

No response

Snailman11 commented 1 week ago

From an older Post, where this was mentioned in the comments

https://github.com/pagefaultgames/pokerogue/issues/898#issuecomment-2113903013