From ff36fbda6f1ae36985160adca510c018826547a8 Mon Sep 17 00:00:00 2001 From: PrabbyDD Date: Mon, 21 Oct 2024 08:50:26 -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 b042e082ef7..d3d12bcc0c5 100644 --- a/src/phases/faint-phase.ts +++ b/src/phases/faint-phase.ts @@ -50,7 +50,7 @@ export class FaintPhase extends PokemonPhase { * involved in combat, it needs to be counted as a participant so the other party pokemon can get their EXP, * so the fainted pokemon has been included. */ - this.scene.getField().forEach((pokemon, i) => { + this.scene.getPlayerField().forEach((pokemon, i) => { if (pokemon?.isActive() || pokemon?.isFainted()) { if (pokemon.isPlayer()) { this.scene.currentBattle.addParticipant(pokemon as PlayerPokemon);