mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
[Bug] hotfix type hint (#2146)
This commit is contained in:
parent
85c77b7445
commit
23caea1766
@ -3125,7 +3125,9 @@ export class ShowAbilityPhase extends PokemonPhase {
|
|||||||
const pokemon = this.getPokemon();
|
const pokemon = this.getPokemon();
|
||||||
|
|
||||||
this.scene.abilityBar.showAbility(pokemon, this.passive);
|
this.scene.abilityBar.showAbility(pokemon, this.passive);
|
||||||
pokemon.battleData.abilityRevealed = true;
|
if (pokemon.battleData) {
|
||||||
|
pokemon.battleData.abilityRevealed = true;
|
||||||
|
}
|
||||||
|
|
||||||
this.end();
|
this.end();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user