From c48c45e7a23301bbc53951763f238dfb4b0458fd Mon Sep 17 00:00:00 2001 From: PrabbyDD Date: Mon, 21 Oct 2024 08:48:00 -0700 Subject: [PATCH] changing a little bit --- 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 fa8c7c3e445..5d32f98daf6 100644 --- a/src/phases/faint-phase.ts +++ b/src/phases/faint-phase.ts @@ -45,7 +45,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.getField().forEach((pokemon, i) => { + this.scene.getPlayerField().forEach((pokemon, i) => { if (pokemon?.isActive()) { if (pokemon.isPlayer()) { this.scene.currentBattle.addParticipant(pokemon as PlayerPokemon);