From 523af9ac822c86b96910dd8c99b95fed3b415887 Mon Sep 17 00:00:00 2001 From: shayebeadlingkl Date: Thu, 9 May 2024 12:45:52 -0400 Subject: [PATCH] shows ability bar if immune --- src/phases.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/phases.ts b/src/phases.ts index fb9d1f7a1..f7f510c06 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -4564,6 +4564,9 @@ export class PartyStatusCurePhase extends BattlePhase { if (!pokemon.hasAbility(this.abilityCondition)) { pokemon.resetStatus(); pokemon.updateInfo(true); + } else { + // Manually show ability bar, since we're not hooked into the targeting system + pokemon.scene.unshiftPhase(new ShowAbilityPhase(pokemon.scene, pokemon.id, pokemon.getPassiveAbility()?.id === this.abilityCondition)); } } }