Fixed function name.

This commit is contained in:
frutescens 2024-11-15 11:03:27 -08:00
parent 1ed3d1453b
commit 75623cbc42
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ export class GameOverPhase extends BattlePhase {
seed: this.scene.seed, seed: this.scene.seed,
playTime: this.scene.sessionPlayTime, playTime: this.scene.sessionPlayTime,
gameMode: this.scene.gameMode.modeId, 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)), enemyParty: this.scene.getEnemyParty().map(p => new PokemonData(p)),
modifiers: preWaveSessionData ? preWaveSessionData.modifiers : this.scene.findModifiers(() => true).map(m => new PersistentModifierData(m, true)), 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)), enemyModifiers: preWaveSessionData ? preWaveSessionData.enemyModifiers : this.scene.findModifiers(() => true, false).map(m => new PersistentModifierData(m, false)),