Skip to content

Commit

Permalink
Update Ogerpon and add Silvally forms along with signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Blitz425 authored Jan 22, 2025
1 parent 35f5479 commit c5dc538
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/data/trainer-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1974,8 +1974,12 @@ export const trainerConfigs: TrainerConfigs = {
}
}))
.setPartyMemberFunc(2, getRandomPartyMemberFunc([ Species.OGERPON ], TrainerSlot.TRAINER, true, p => {
p.formIndex = Utils.randSeedInt(4, 0); // Random Ogerpon Mask
p.formIndex = Utils.randSeedInt(4); // Random Ogerpon Mask
p.generateAndPopulateMoveset();
if (!p.moveset.some(move => move.moveId === Moves.IVY_CUDGEL)) { // Check if Ivy Cudgel is in the moveset, if not, replace the first move with Ivy Cudgel.
p.moveset[0] = new PokemonMove(Moves.IVY_CUDGEL);
}
}))
p.pokeball = PokeballType.ULTRA_BALL;
}))
.setPartyMemberFunc(3, getRandomPartyMemberFunc([ Species.URSALUNA, Species.BLOODMOON_URSALUNA ], TrainerSlot.TRAINER, true, p => {
Expand Down Expand Up @@ -2343,7 +2347,12 @@ export const trainerConfigs: TrainerConfigs = {
}))
.setPartyMemberFunc(1, getRandomPartyMemberFunc([ Species.MILOTIC, Species.PRIMARINA ]))
.setPartyMemberFunc(2, getRandomPartyMemberFunc([ Species.SILVALLY ], TrainerSlot.TRAINER, true, p => {
p.formIndex = Utils.randSeedInt(18); // Random Silvally Form
p.generateAndPopulateMoveset();
if (!p.moveset.some(move => move.moveId === Moves.MULTI_ATTACK)) { // // Check if Multi Attack is in the moveset, if not, replace the first move with Multi Attack.
p.moveset[0] = new PokemonMove(Moves.MULTI_ATTACK);
}
}))
p.pokeball = PokeballType.ROGUE_BALL;
}))
.setPartyMemberFunc(3, getRandomPartyMemberFunc([ Species.PHEROMOSA ], TrainerSlot.TRAINER, true, p => {
Expand Down

0 comments on commit c5dc538

Please sign in to comment.