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] KO’d pokemon is sent out and game is softlocked #1760

Open AEMARR opened 1 month ago

AEMARR commented 1 month ago

KO’d pokemon is sent out and partner pokemon remains after a double battle ends and single battle begins. Unable to menu through text boxes to be able to do anything.

To Reproduce

  1. Enter a double battle against at least one wild pokemon with a damaging switch-out move (i.e. Volt Switch, Flip Turn, U-Turn, etc.)
  2. Knockout one of the two wild pokemon, with the remaining one having the switching move
  3. Enemy pokemon must knock out the pokemon in your first slot with the switchout move, ending the encounter
  4. Choose an encounter reward
  5. Next encounter must be a single battle
  6. The KO’d pokemon is now automatically sent out, and the partner pokemon is not recalled

Expected behavior The partner pokemon who is still alive should have automatically been set as the new primary pokemon, OR it should have been recalled, and the player prompted to choose which pokemon to send out

Screenshots / Videos IMG_0396

Device Chrome, PC

Additional context The pokemon that caused this glitch was a Dedenne using Volt Switch on my Luvdisc. Bug is fixed upon refreshing the page.

torranx commented 1 month ago

i think this is already a known bug