weather_override
This commit is contained in:
parent
06943ac5dc
commit
04db56e86b
|
@ -35,6 +35,8 @@ import { HealAchv, LevelAchv, MoneyAchv, achvs } from "./system/achv";
|
|||
import { DexEntry } from "./system/game-data";
|
||||
import { pokemonPrevolutions } from "./data/pokemon-evolutions";
|
||||
|
||||
const WEATHER_OVERRIDE = WeatherType.NONE
|
||||
|
||||
export class CheckLoadPhase extends BattlePhase {
|
||||
private loaded: boolean;
|
||||
|
||||
|
@ -318,7 +320,11 @@ export class EncounterPhase extends BattlePhase {
|
|||
this.scene.updateModifiers(true);
|
||||
}
|
||||
|
||||
this.scene.arena.trySetWeather(getRandomWeatherType(this.scene.arena.biomeType), false);
|
||||
if(WEATHER_OVERRIDE){
|
||||
this.scene.arena.trySetWeather(WEATHER_OVERRIDE, false);
|
||||
} else {
|
||||
this.scene.arena.trySetWeather(getRandomWeatherType(this.scene.arena.biomeType), false);
|
||||
}
|
||||
|
||||
const enemyField = this.scene.getEnemyField();
|
||||
this.scene.tweens.add({
|
||||
|
|
Loading…
Reference in New Issue