[Beta][Bug] Fix out of bounds Genesect form in Ghetsis_2 causing crash (#4389)

This commit is contained in:
Tempoanon 2024-09-23 12:05:49 -04:00 committed by GitHub
parent 554d4f0a95
commit 342bd5c726
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2067,7 +2067,7 @@ export const trainerConfigs: TrainerConfigs = {
p.setBoss(true, 2);
p.generateAndPopulateMoveset();
p.pokeball = PokeballType.ULTRA_BALL;
p.formIndex = Utils.randSeedInt(5, 1); // Shock, Burn, Chill, or Douse Drive
p.formIndex = Utils.randSeedInt(4, 1); // Shock, Burn, Chill, or Douse Drive
}))
.setPartyMemberFunc(1, getRandomPartyMemberFunc([ Species.BASCULEGION, Species.JELLICENT ], TrainerSlot.TRAINER, true, p => {
p.generateAndPopulateMoveset();