From 74ff6938e3200fbda4bdd5b8e6856bd6e97e7b94 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:47:44 -0700 Subject: [PATCH] Fix style issues --- src/data/abilities/ability.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/data/abilities/ability.ts b/src/data/abilities/ability.ts index 4dc817e1f9a..13f3b04f8fd 100644 --- a/src/data/abilities/ability.ts +++ b/src/data/abilities/ability.ts @@ -2131,18 +2131,17 @@ export class PostIntimidateStatStageChangeAbAttr extends AbAttr { override apply(pokemon: Pokemon, passive: boolean, simulated:boolean, cancelled: BooleanHolder, args: any[]): void { if (simulated) { cancelled.value = this.overwrites; - return + return; } - const newStatStageChangePhase = new StatStageChangePhase(pokemon.getBattlerIndex(), false, this.stats, this.stages) + const newStatStageChangePhase = new StatStageChangePhase(pokemon.getBattlerIndex(), false, this.stats, this.stages); if (globalScene.findPhase(m => m instanceof MovePhase)) { - globalScene.prependToPhase(newStatStageChangePhase, MovePhase) + globalScene.prependToPhase(newStatStageChangePhase, MovePhase); } else if (globalScene.findPhase(m => m instanceof SwitchSummonPhase)) { - globalScene.prependToPhase(newStatStageChangePhase, SwitchSummonPhase) + globalScene.prependToPhase(newStatStageChangePhase, SwitchSummonPhase); } else { globalScene.pushPhase(newStatStageChangePhase); } - cancelled.value = this.overwrites; } }