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; }