Talonflame no longer has an illegal move :)

This commit is contained in:
Blitzy 2025-04-24 23:12:42 -05:00 committed by GitHub
parent eda3081113
commit 7a1df75978
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3328,7 +3328,7 @@ export const trainerConfigs: TrainerConfigs = {
p.generateAndPopulateMoveset(); p.generateAndPopulateMoveset();
if (!p.moveset.some(move => !isNullOrUndefined(move) && move.moveId === Moves.SUNNY_DAY)) { if (!p.moveset.some(move => !isNullOrUndefined(move) && move.moveId === Moves.SUNNY_DAY)) {
// Check if Sunny Day is in the moveset, if not, replace the third move with Sunny Day. // Check if Sunny Day is in the moveset, if not, replace the third move with Sunny Day.
p.moveset[2] = new PokemonMove(Moves.TECHNO_BLAST); p.moveset[2] = new PokemonMove(Moves.SUNNY_DAY);
} }
}), }),
) )