Skip to content

Commit

Permalink
Added a way to track Daily Mode starting biomes.
Browse files Browse the repository at this point in the history
  • Loading branch information
frutescens committed Nov 12, 2024
1 parent 9fda107 commit 1ba9a79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/phases/title-phase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1ba9a79

Please sign in to comment.