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.5k stars 1.81k forks source link

[Bug] Softlock when Both Pokemon Faint Simultaneously to Perish Song while Transitioning from a Double to a Single battle #4079

Open Snailman11 opened 2 months ago

Snailman11 commented 2 months ago

Describe the bug

When both of a player's active pokemon faint to Perish Song as a double battle transitions to a single battle, the game softlocks. -Reviving the pokemon in the first slot has the same result. -This does not occur for Doubles -> Doubles

Discord Bug report: (Niche Game Lock Involving Perish Song in Doubles) https://discord.com/channels/1125469663833370665/1280298649011884082

Session export file

No response

User data export file

No response

Expected behavior

It shouldn't softlock, a new pokemon should be properly sent out.

Screenshots / Videos

https://github.com/user-attachments/assets/09d2eeef-e5ca-4674-bf71-db9562715ae2

Screenshot (299)

What OS did you observe the bug on?

Other

If other please specify

gameplay

Which browser do you use?

Other

If other please specify

gameplay

Additional context

No response

DayKev commented 2 months ago

What the heck? Another one of these weird ones...