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.44k stars 1.79k forks source link

[Bug] Disguise Opens Up a Parallel Universe when Mimikyu faints from the 1/8th Damage on Transformation to Busted Form (Doubled Shop, Consecutive Switch Offers, Sprites Stay on Screen) #3676

Closed Snailman11 closed 1 month ago

Snailman11 commented 2 months ago

Describe the bug

https://discord.com/channels/1125469663833370665/1275611725387010180 Link to Videos and Discord bug report where it was first reported

  1. Find a wild Mimikyu
  2. Get its health to <1/8th while keeping its disguise intact.
  3. Break the Disguise once its health is <1/8
  4. Profit twice with double shop with real items

-Sprites stay on screen; the HP bar obscures the real one, and Pokémon sprites persist through the next battles -Shops are doubled only for the wave when this was performed -Saying yes to switching lets you switch twice (consecutively) -Trainer battles softlock with the player unable to execute a move if the trainer has more than one other pokemon in their party -Suppressing Disguise with Turboblaze prevents this bug from triggering. -Resolved when reloading

Session export file

No response

User data export file

No response

Expected behavior

Mimikyu should faint gracefully and not do that when fainting from Disguise

Screenshots / Videos

No response

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

Snailman11 commented 2 months ago

Might be related to ([BUG] Revival Blessing Breaks Double Battles) https://github.com/pagefaultgames/pokerogue/issues/2769

torranx commented 2 months ago

@DayKev