From 1ba9a798be8404a684a3392e71a5fb398f2b11a6 Mon Sep 17 00:00:00 2001 From: frutescens Date: Mon, 11 Nov 2024 18:53:46 -0800 Subject: [PATCH] Added a way to track Daily Mode starting biomes. --- src/phases/title-phase.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/phases/title-phase.ts b/src/phases/title-phase.ts index 88793617776..65bbd56f874 100644 --- a/src/phases/title-phase.ts +++ b/src/phases/title-phase.ts @@ -233,8 +233,10 @@ export class TitlePhase extends Phase { Promise.all(loadPokemonAssets).then(() => { this.scene.time.delayedCall(500, () => this.scene.playBgm()); this.scene.gameData.gameStats.dailyRunSessionsPlayed++; - this.scene.newArena(this.scene.gameMode.getStartingBiome(this.scene)); + const startingBiome = this.scene.gameMode.getStartingBiome(this.scene); + this.scene.newArena(startingBiome); this.scene.newBattle(); + this.scene.biomeTracker[this.scene.currentBattle.waveIndex] = startingBiome; this.scene.arena.init(); this.scene.sessionPlayTime = 0; this.scene.lastSavePlayTime = 0;