From 5bc36ba5a9c4e63da4e6a8c998aa8afbbf2fc793 Mon Sep 17 00:00:00 2001 From: PrabbyDD Date: Thu, 17 Oct 2024 15:54:10 -0700 Subject: [PATCH] more fixes for consistency --- src/data/ability.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index fff03c40be7..7c2fbeac77b 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -3596,12 +3596,10 @@ export class PostTurnStatStageChangeAbAttr extends PostTurnAbAttr { if (!simulated) { if (!pokemon.hasAbility(Abilities.SPEED_BOOST)) { pokemon.scene.unshiftPhase(new StatStageChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, this.stats, this.stages)); - this.showAbility = true; } else if (pokemon.hasAbility(Abilities.SPEED_BOOST) && !pokemon.turnData.switchedInThisTurn && !pokemon.turnData.failedRunAway) { pokemon.scene.unshiftPhase(new StatStageChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, this.stats, this.stages)); - this.showAbility = true; } else { - this.showAbility = false; + return false; } } return true;