Lower Berry Pouch cap to 3

pull/2/head
Flashfyre 2023-10-27 23:18:18 -04:00
parent 62f464c81c
commit 29b0f046a6
2 changed files with 3 additions and 3 deletions

View File

@ -256,7 +256,7 @@ export class EncounterPhase extends BattlePhase {
this.scene.gameData.setPokemonSeen(enemyPokemon);
}
if (this.scene.gameMode === GameMode.CLASSIC && battle.waveIndex === 200 && enemyPokemon.species.speciesId === Species.ETERNATUS)
if (this.scene.gameMode === GameMode.CLASSIC && (battle.waveIndex === 200 || !(battle.waveIndex % 250)) && enemyPokemon.species.speciesId === Species.ETERNATUS)
enemyPokemon.formIndex = 1;
loadEnemyAssets.push(enemyPokemon.loadAssets());

View File

@ -671,13 +671,13 @@ export class PreserveBerryModifier extends PersistentModifier {
apply(args: any[]): boolean {
if (!(args[0] as Utils.BooleanHolder).value)
(args[0] as Utils.BooleanHolder).value = this.getStackCount() === this.getMaxStackCount() || Utils.randInt(this.getMaxStackCount()) < this.getStackCount();
(args[0] as Utils.BooleanHolder).value = Utils.randInt(this.getMaxStackCount()) < this.getStackCount();
return true;
}
getMaxStackCount(): integer {
return 4;
return 3;
}
}