Ensure priority abilities are still activated on switch in

This commit is contained in:
Dean 2025-03-12 00:06:13 -07:00
parent 4ee5e6c9a0
commit 877f330cbb

View File

@ -45,6 +45,10 @@ export class PostSummonPhase extends PokemonPhase {
return;
}
if (!this.ordered) {
applyPriorityBasedAbAttrs(pokemon, true);
}
if (pokemon.status?.effect === StatusEffect.TOXIC) {
pokemon.status.toxicTurnCount = 0;
}