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.4k stars 1.78k forks source link

[BUG] Softlock after releasing lead mid battle. #2201

Closed RNGezeus closed 4 weeks ago

RNGezeus commented 3 months ago

Describe the bug Moving cursor left after confirming release lets you release lead mid battle.

To Reproduce

  1. Start battle
  2. go into party and press release on a member not in battle
  3. hold left and then confirm release, or press left in very quick succesion after confirming release.
  4. witness lead going bye-bye
  5. go back and try continue combat
  6. Softlock

Expected behavior Game to not let me release lead.

Screenshots / Videos https://github.com/pagefaultgames/pokerogue/assets/46976469/f9509496-6250-4d7d-8628-71fee94683d6

Device PC

Additional context There are a lot of menus you can break similarly between menu transitions. Most common people find is "manage moves" for mons with big lvl 1 moveset. Very easy to move before menu loads leading to you getting to a different mon than intended

ysh4296 commented 3 months ago

i implemented blocking input feature opened pr #2371

Tempo-anon commented 4 weeks ago

Unwinnable by insanity trope moment. The corresponding linked PR should fix this.