From 4b59097a856726976a6484ef47a2223a36531ff1 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 31 Oct 2023 14:44:10 -0400 Subject: [PATCH] Fix revive tokens not working --- src/battle-phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-phases.ts b/src/battle-phases.ts index 3f218f7c1..5334197a9 100644 --- a/src/battle-phases.ts +++ b/src/battle-phases.ts @@ -2021,7 +2021,7 @@ export class FaintPhase extends PokemonPhase { } if (!pokemon.isPlayer()) { - const enemyInstantReviveModifiers = this.scene.findModifiers(m => m instanceof EnemyInstantReviveChanceModifier); + const enemyInstantReviveModifiers = this.scene.findModifiers(m => m instanceof EnemyInstantReviveChanceModifier, false); for (let modifier of enemyInstantReviveModifiers) { if (modifier.shouldApply([ pokemon ]) && modifier.apply([ pokemon ])) return this.end();