diff --git a/src/phases.ts b/src/phases.ts index ecc0fd17352..7cb2c5f64eb 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2761,7 +2761,7 @@ export class PostTurnStatusEffectPhase extends PokemonPhase { this.scene.queueMessage(getPokemonMessage(pokemon, getStatusEffectActivationText(pokemon.status.effect))); let netEffect = 0; // This variable now handles both healing and damage - const isHealing = pokemon.getAbility().id === Abilities.POISON_HEAL || pokemon.getPassive().id === Abilities.POISON_HEAL; // Added check for both Ability and the new Passives + const isHealing = pokemon.getAbility().id === Abilities.POISON_HEAL || pokemon.hasPassive().id === Abilities.POISON_HEAL; // Added check for both Ability and the new Passives switch (pokemon.status.effect) { case StatusEffect.POISON: