From e234bb8546bed9b58a169ca8a29f87c06db390ce Mon Sep 17 00:00:00 2001 From: innerthunder <168692175+innerthunder@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:32:39 -0700 Subject: [PATCH] Update src/data/move.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index 259ac767520..202319e4a13 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -5099,7 +5099,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr { const switchOutTarget = (this.user ? user : target); const player = switchOutTarget instanceof PlayerPokemon; - if (!this.user && move.category === MoveCategory.STATUS && (target.hasAbilityWithAttr(ForceSwitchOutImmunityAbAttr))) { + if (!this.user && move.category === MoveCategory.STATUS && target.hasAbilityWithAttr(ForceSwitchOutImmunityAbAttr)) { return false; }