mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
more fixes for consistency
This commit is contained in:
parent
0a98aa56f6
commit
5bc36ba5a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user