Fix Gengar note

This commit is contained in:
Blitzy 2025-04-25 00:16:16 -05:00 committed by GitHub
parent 6789c0f98e
commit 08dfb51aa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2961,7 +2961,7 @@ export const trainerConfigs: TrainerConfigs = {
.setBattleBgm("battle_johto_gym")
.setMixedBattleBgm("battle_johto_gym")
.setPartyMemberFunc(0, getRandomPartyMemberFunc([ Species.UMBREON ]))
.setPartyMemberFunc(2, getRandomPartyMemberFunc([ Species.GENGAR ], TrainerSlot.TRAINER, true, p => { // Tera Dragon Dhelmise
.setPartyMemberFunc(2, getRandomPartyMemberFunc([ Species.GENGAR ], TrainerSlot.TRAINER, true, p => { // Tera Dark Gengar
p.generateAndPopulateMoveset();
if (!p.moveset.some(move => !isNullOrUndefined(move) && move.moveId === Moves.DARK_PULSE)) {
// Check if Dark Pulse is in the moveset, if not, replace the third move with Dark Pulse.