SheerSt / pokewilds

PokeWilds - A Gen 2 Game/Engine using libGDX
2.68k stars 202 forks source link

[Bug]: Bind continuing after switching out #437

Open L0ST5ILVER opened 1 year ago

L0ST5ILVER commented 1 year ago

Game Version

v0.8.9

Platform

Windows 10

What happened?

I failed a shiny Cacturne because I used bind with Steelix, then swapped to another pokemon but the bind continued. I am having a hard time imagining a steelix binding a pokemon while it's in a pokeball.

From the wiki: As of Generation 2:

If the user switches out, the target will be freed. If a trapped Pokémon uses [Rapid Spin], it will be freed.

What should've happened? (Optional)

Cacturne should've been released from the bind after switching