Fix softlock with Flip Turn and similar moves
This commit is contained in:
1 parent
f2e5a2eb34
commit
ed1d473c49
1 file changed
+1
-1
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user