mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
Fix egg
test
This commit is contained in:
parent
b52fda3632
commit
95324a2273
@ -1397,17 +1397,17 @@ export default class BattleScene extends SceneBase {
|
||||
case Species.PALDEA_TAUROS:
|
||||
return Utils.randSeedInt(species.forms.length);
|
||||
case Species.PIKACHU:
|
||||
if (this.currentBattle.battleType === BattleType.TRAINER && this.currentBattle.waveIndex < 30) {
|
||||
if (this.currentBattle?.battleType === BattleType.TRAINER && this.currentBattle?.waveIndex < 30) {
|
||||
return 0;
|
||||
}
|
||||
return Utils.randSeedInt(8);
|
||||
case Species.EEVEE:
|
||||
if (this.currentBattle.battleType === BattleType.TRAINER && this.currentBattle.waveIndex < 30) {
|
||||
if (this.currentBattle?.battleType === BattleType.TRAINER && this.currentBattle?.waveIndex < 30) {
|
||||
return 0; // No Partner Eevee for Wave 12 Preschoolers
|
||||
}
|
||||
return Utils.randSeedInt(2);
|
||||
case Species.GRENINJA:
|
||||
if (this.currentBattle.battleType === BattleType.TRAINER) {
|
||||
if (this.currentBattle?.battleType === BattleType.TRAINER) {
|
||||
return 0; // Don't give trainers Battle Bond Greninja
|
||||
}
|
||||
return Utils.randSeedInt(2);
|
||||
|
Loading…
Reference in New Issue
Block a user