From 532e8e44b739fea7ea98cb25c075b70166eaf388 Mon Sep 17 00:00:00 2001 From: PrabbyDD <147005742+PrabbyDD@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:55:18 -0700 Subject: [PATCH] Update src/phases/faint-phase.ts Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com> --- src/phases/faint-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/faint-phase.ts b/src/phases/faint-phase.ts index 0cdf6a00f15..8eb84beded5 100644 --- a/src/phases/faint-phase.ts +++ b/src/phases/faint-phase.ts @@ -67,7 +67,7 @@ export class FaintPhase extends PokemonPhase { /** In case the current pokemon was just switched in, make sure it is counted as participating in the combat */ this.scene.getPlayerField().forEach((pokemon, i) => { - if (pokemon?.isActive()) { + if (pokemon?.isActive(true)) { if (pokemon.isPlayer()) { this.scene.currentBattle.addParticipant(pokemon as PlayerPokemon); }