Stop weather being regenerated on save load

This commit is contained in:
Xavion3 authored and Samuel H committed 2024-04-21 12:45:58 -04:00
1 parent 0e9881e351
commit 24c2e18ed7
1 file changed
+2 -1
+2 -1
View File
@@ -794,7 +794,8 @@ export class EncounterPhase extends BattlePhase {
pokemon.resetBattleData();
}
this.scene.arena.trySetWeather(getRandomWeatherType(this.scene.arena), false);
if (!this.loaded)
this.scene.arena.trySetWeather(getRandomWeatherType(this.scene.arena), false);
const enemyField = this.scene.getEnemyField();
this.scene.tweens.add({