From 75623cbc42e6081947172b9674d811764b2963af Mon Sep 17 00:00:00 2001 From: frutescens Date: Fri, 15 Nov 2024 11:03:27 -0800 Subject: [PATCH] Fixed function name. --- src/phases/game-over-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/game-over-phase.ts b/src/phases/game-over-phase.ts index 1d954cc2c2a..a48a4d8e080 100644 --- a/src/phases/game-over-phase.ts +++ b/src/phases/game-over-phase.ts @@ -233,7 +233,7 @@ export class GameOverPhase extends BattlePhase { seed: this.scene.seed, playTime: this.scene.sessionPlayTime, gameMode: this.scene.gameMode.modeId, - party: this.scene.getParty().map(p => new PokemonData(p)), + party: this.scene.getPlayerParty().map(p => new PokemonData(p)), enemyParty: this.scene.getEnemyParty().map(p => new PokemonData(p)), modifiers: preWaveSessionData ? preWaveSessionData.modifiers : this.scene.findModifiers(() => true).map(m => new PersistentModifierData(m, true)), enemyModifiers: preWaveSessionData ? preWaveSessionData.enemyModifiers : this.scene.findModifiers(() => true, false).map(m => new PersistentModifierData(m, false)),