From 877f330cbb6f7c5851309a7d207d9d2720435029 Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 12 Mar 2025 00:06:13 -0700 Subject: [PATCH] Ensure priority abilities are still activated on switch in --- src/phases/post-summon-phase.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/phases/post-summon-phase.ts b/src/phases/post-summon-phase.ts index 42c7f097d15..9effd59ceba 100644 --- a/src/phases/post-summon-phase.ts +++ b/src/phases/post-summon-phase.ts @@ -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; }