Update trainer-config.ts

This commit is contained in:
Blitzy 2025-07-25 20:41:24 -05:00
parent 34706102ec
commit 3bfd908d60

View File

@ -4992,12 +4992,17 @@ export const trainerConfigs: TrainerConfigs = {
) )
.setPartyMemberFunc( .setPartyMemberFunc(
4, 4,
getRandomPartyMemberFunc([SpeciesId.ARTICUNO, SpeciesId.ZAPDOS, SpeciesId.MOLTRES], TrainerSlot.TRAINER, true, p => { getRandomPartyMemberFunc(
[SpeciesId.ARTICUNO, SpeciesId.ZAPDOS, SpeciesId.MOLTRES],
TrainerSlot.TRAINER,
true,
p => {
p.generateAndPopulateMoveset(); p.generateAndPopulateMoveset();
p.pokeball = PokeballType.ULTRA_BALL; p.pokeball = PokeballType.ULTRA_BALL;
p.abilityIndex = 2; // Snow Cloak Articuno, Static Zapdos, Flame Body Moltres p.abilityIndex = 2; // Snow Cloak Articuno, Static Zapdos, Flame Body Moltres
p.setBoss(true, 2); p.setBoss(true, 2);
}), },
),
) )
.setPartyMemberFunc( .setPartyMemberFunc(
5, 5,
@ -5019,7 +5024,9 @@ export const trainerConfigs: TrainerConfigs = {
p.abilityIndex = 1; // Drought p.abilityIndex = 1; // Drought
}), }),
) )
.setPartyMemberFunc(1, getRandomPartyMemberFunc([SpeciesId.SCOVILLAIN], TrainerSlot.TRAINER, true, p => { .setPartyMemberFunc(
1,
getRandomPartyMemberFunc([SpeciesId.SCOVILLAIN], TrainerSlot.TRAINER, true, p => {
p.generateAndPopulateMoveset(); p.generateAndPopulateMoveset();
p.abilityIndex = 0; // Chlorophyll p.abilityIndex = 0; // Chlorophyll
}), }),
@ -5479,7 +5486,7 @@ export const trainerConfigs: TrainerConfigs = {
if (p.species.speciesId === SpeciesId.SCIZOR) { if (p.species.speciesId === SpeciesId.SCIZOR) {
p.abilityIndex = 1; // Technician p.abilityIndex = 1; // Technician
} else if (p.species.speciesId === SpeciesId.KLEAVOR) { } else if (p.species.speciesId === SpeciesId.KLEAVOR) {
p.abilityIndex = 2; // Sharpness p.abilityIndex = 2; // Sharpnesss
} }
}), }),
) )
@ -5661,11 +5668,15 @@ export const trainerConfigs: TrainerConfigs = {
.setPartyMemberFunc( .setPartyMemberFunc(
5, 5,
getRandomPartyMemberFunc( getRandomPartyMemberFunc(
[SpeciesId.GALAR_ARTICUNO, SpeciesId.GALAR_ZAPDOS, SpeciesId.GALAR_MOLTRES], TrainerSlot.TRAINER, true, p => { [SpeciesId.GALAR_ARTICUNO, SpeciesId.GALAR_ZAPDOS, SpeciesId.GALAR_MOLTRES],
TrainerSlot.TRAINER,
true,
p => {
p.setBoss(true, 2); p.setBoss(true, 2);
p.generateAndPopulateMoveset(); p.generateAndPopulateMoveset();
p.pokeball = PokeballType.ROGUE_BALL p.pokeball = PokeballType.ROGUE_BALL;
}), },
),
), ),
[TrainerType.PENNY]: new TrainerConfig(++t) [TrainerType.PENNY]: new TrainerConfig(++t)
.setName("Cassiopeia") .setName("Cassiopeia")
@ -5683,10 +5694,17 @@ export const trainerConfigs: TrainerConfigs = {
p.gender = Gender.FEMALE; p.gender = Gender.FEMALE;
}), }),
) )
.setPartyMemberFunc(4, getRandomPartyMemberFunc([SpeciesId.VAPOREON, SpeciesId.FLAREON, SpeciesId.JOLTEON], TrainerSlot.TRAINER, true, p => { .setPartyMemberFunc(
4,
getRandomPartyMemberFunc(
[SpeciesId.VAPOREON, SpeciesId.FLAREON, SpeciesId.JOLTEON],
TrainerSlot.TRAINER,
true,
p => {
p.setBoss(true, 2); p.setBoss(true, 2);
p.generateAndPopulateMoveset(); p.generateAndPopulateMoveset();
}), },
),
) )
.setPartyMemberFunc( .setPartyMemberFunc(
5, 5,
@ -5724,9 +5742,7 @@ export const trainerConfigs: TrainerConfigs = {
p.formIndex = randSeedInt(5, 1); // Heat, Wash, Frost, Fan, or Mow p.formIndex = randSeedInt(5, 1); // Heat, Wash, Frost, Fan, or Mow
}), }),
) )
.setPartyMemberFunc( .setPartyMemberFunc(2, getRandomPartyMemberFunc([SpeciesId.UMBREON, SpeciesId.ESPEON]))
2,
getRandomPartyMemberFunc([SpeciesId.UMBREON, SpeciesId.ESPEON]))
.setPartyMemberFunc( .setPartyMemberFunc(
3, 3,
getRandomPartyMemberFunc([SpeciesId.REVAVROOM], TrainerSlot.TRAINER, true, p => { getRandomPartyMemberFunc([SpeciesId.REVAVROOM], TrainerSlot.TRAINER, true, p => {
@ -5737,11 +5753,16 @@ export const trainerConfigs: TrainerConfigs = {
) )
.setPartyMemberFunc( .setPartyMemberFunc(
4, 4,
getRandomPartyMemberFunc([SpeciesId.WALKING_WAKE, SpeciesId.GOUGING_FIRE, SpeciesId.RAGING_BOLT], TrainerSlot.TRAINER, true, p => { getRandomPartyMemberFunc(
[SpeciesId.WALKING_WAKE, SpeciesId.GOUGING_FIRE, SpeciesId.RAGING_BOLT],
TrainerSlot.TRAINER,
true,
p => {
p.generateAndPopulateMoveset(); p.generateAndPopulateMoveset();
p.pokeball = PokeballType.ROGUE_BALL; p.pokeball = PokeballType.ROGUE_BALL;
p.setBoss(true, 2); p.setBoss(true, 2);
}), },
),
) )
.setPartyMemberFunc( .setPartyMemberFunc(
5, 5,