diff --git a/src/phases/game-over-phase.ts b/src/phases/game-over-phase.ts index 78dd73057a1..805dc58f5e8 100644 --- a/src/phases/game-over-phase.ts +++ b/src/phases/game-over-phase.ts @@ -231,7 +231,9 @@ export class GameOverPhase extends BattlePhase { trainer: this.scene.currentBattle.battleType === BattleType.TRAINER ? new TrainerData(this.scene.currentBattle.trainer) : null, gameVersion: this.scene.game.config.gameVersion, timestamp: new Date().getTime(), - challenges: this.scene.gameMode.challenges.map(c => new ChallengeData(c)) + challenges: this.scene.gameMode.challenges.map(c => new ChallengeData(c)), + mysteryEncounter: scene.currentBattle.mysteryEncounter, + mysteryEncounterData: scene.mysteryEncounterData } as SessionSaveData; } }