mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-18 06:51:08 +00:00
Fix softlock with Flip Turn and similar moves
This commit is contained in:
parent
f2e5a2eb34
commit
ed1d473c49
@ -1763,7 +1763,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
|
||||
user.scene.queueMessage(getPokemonMessage(switchOutTarget, ' fled!'), null, true, 500);
|
||||
}
|
||||
|
||||
if (move.category === MoveCategory.STATUS && !switchOutTarget.getAlly()?.isActive(true)) {
|
||||
if (!switchOutTarget.getAlly()?.isActive(true)) {
|
||||
user.scene.clearEnemyHeldItemModifiers();
|
||||
|
||||
user.scene.pushPhase(new BattleEndPhase(user.scene));
|
||||
|
Loading…
x
Reference in New Issue
Block a user