From 19d1f7bea96cfdf00ff43b7aa9a9c571e1808fc1 Mon Sep 17 00:00:00 2001 From: AJ Fontaine <36677462+Fontbane@users.noreply.github.com> Date: Wed, 8 May 2024 01:44:26 -0400 Subject: [PATCH] Move U-turn fix to another PR --- src/data/move.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index b684eee23..837b66218 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -3110,9 +3110,6 @@ export class ForceSwitchOutAttr extends MoveEffectAttr { if (!player && !user.scene.currentBattle.battleType) { if (this.batonPass) return false; - //U-turn et al should not switch a wild mon out, including status moves that don't target the user, but a player's Dragon Tail can - if (this.user && (move.category !== MoveCategory.STATUS || move.moveTarget !== MoveTarget.USER)) - return false; // Don't allow wild opponents to flee on the boss stage since it can ruin a run early on if (!(user.scene.currentBattle.waveIndex % 10)) return false;