From 0284e132ab1bfd2800efc9432c3f2e7ca466e69a Mon Sep 17 00:00:00 2001 From: shayebeadlingkl Date: Wed, 8 May 2024 19:17:22 -0400 Subject: [PATCH] checks for passives as well --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index a339abdbea6..fb9d1f7a18f 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -4561,7 +4561,7 @@ export class PartyStatusCurePhase extends BattlePhase { pokemon.resetStatus(false); pokemon.updateInfo(true); } else { - if (pokemon.getAbility().id !== this.abilityCondition) { + if (!pokemon.hasAbility(this.abilityCondition)) { pokemon.resetStatus(); pokemon.updateInfo(true); }