mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Added a way to track Daily Mode starting biomes.
This commit is contained in:
parent
9fda107145
commit
1ba9a798be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user