pagefaultgames / pokerogue

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

[BUG] Mono-Gen soft-lock: catching new Pokemon of wrong gen when all others are fainted #2116

Open flx-sta opened 3 weeks ago

flx-sta commented 3 weeks ago

Describe the bug

when you have a team of Pokemon but only 1 is not fainted and you catch a Pokemon of the wrong gen the game will soft-lock on the next wave. I assume it is deciding to show the “do you want to change your Pokemon?” And something is happening I wrong order

To Reproduce

  1. Select challenge mode -> mono-gen (e.g. gen 1)
  2. Have a team of e.g. 4 Pokemon
  3. All Pokemon but 1 in the party have to be fainted.
  4. Catch a Pokemon of a wrong gen and add it to your party
  5. In the next wave you will get soft locked.

Expected behavior

It shouldn’t soft lock

Screenshots / Videos

Device

iOS

Additional context

Xavion3 commented 3 weeks ago

Where exactly does it softlock? At what point in the battle?

flx-sta commented 3 weeks ago

Where exactly does it softlock? At what point in the battle?

It softlocked me at the next wave when it's supposed to ask you Do you want to change your Pokemon? Y/N . But I wasn't actually able to easily reproduce it right now