[Balance] Change a few early gym teams (#4998)

* Change gyms accessible before wave 30

* Prevent wave 20 gym leader from evolving

* Check game mode for wave 20 trainer evo ban

* Add Whitney Girafarig Crasher Wake Magikarp
This commit is contained in:
AJ Fontaine 2024-12-20 17:10:38 -05:00 committed by GitHub
parent 1953e8dbe9
commit bbb6b46801
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1170,6 +1170,9 @@ function getGymLeaderPartyTemplate(scene: BattleScene) {
export function getRandomPartyMemberFunc(speciesPool: Species[], trainerSlot: TrainerSlot = TrainerSlot.TRAINER, ignoreEvolution: boolean = false, postProcess?: (enemyPokemon: EnemyPokemon) => void) { export function getRandomPartyMemberFunc(speciesPool: Species[], trainerSlot: TrainerSlot = TrainerSlot.TRAINER, ignoreEvolution: boolean = false, postProcess?: (enemyPokemon: EnemyPokemon) => void) {
return (scene: BattleScene, level: number, strength: PartyMemberStrength) => { return (scene: BattleScene, level: number, strength: PartyMemberStrength) => {
let species = Utils.randSeedItem(speciesPool); let species = Utils.randSeedItem(speciesPool);
if (scene.gameMode.isClassic && scene.currentBattle.waveIndex === 20) {
ignoreEvolution = true;
}
if (!ignoreEvolution) { if (!ignoreEvolution) {
species = getPokemonSpecies(species).getTrainerSpeciesForLevel(level, true, strength, scene.currentBattle.waveIndex); species = getPokemonSpecies(species).getTrainerSpeciesForLevel(level, true, strength, scene.currentBattle.waveIndex);
} }
@ -1229,7 +1232,7 @@ export const signatureSpecies: SignatureSpecies = {
GIOVANNI: [ Species.SANDILE, Species.MURKROW, Species.NIDORAN_M, Species.NIDORAN_F ], GIOVANNI: [ Species.SANDILE, Species.MURKROW, Species.NIDORAN_M, Species.NIDORAN_F ],
FALKNER: [ Species.PIDGEY, Species.HOOTHOOT, Species.DODUO ], FALKNER: [ Species.PIDGEY, Species.HOOTHOOT, Species.DODUO ],
BUGSY: [ Species.SCYTHER, Species.HERACROSS, Species.SHUCKLE, Species.PINSIR ], BUGSY: [ Species.SCYTHER, Species.HERACROSS, Species.SHUCKLE, Species.PINSIR ],
WHITNEY: [ Species.GIRAFARIG, Species.MILTANK ], WHITNEY: [ Species.JIGGLYPUFF, Species.MILTANK, Species.AIPOM, Species.GIRAFARIG ],
MORTY: [ Species.GASTLY, Species.MISDREAVUS, Species.SABLEYE ], MORTY: [ Species.GASTLY, Species.MISDREAVUS, Species.SABLEYE ],
CHUCK: [ Species.POLIWRATH, Species.MANKEY ], CHUCK: [ Species.POLIWRATH, Species.MANKEY ],
JASMINE: [ Species.MAGNEMITE, Species.STEELIX ], JASMINE: [ Species.MAGNEMITE, Species.STEELIX ],
@ -1239,7 +1242,7 @@ export const signatureSpecies: SignatureSpecies = {
BRAWLY: [ Species.MACHOP, Species.MAKUHITA ], BRAWLY: [ Species.MACHOP, Species.MAKUHITA ],
WATTSON: [ Species.MAGNEMITE, Species.VOLTORB, Species.ELECTRIKE ], WATTSON: [ Species.MAGNEMITE, Species.VOLTORB, Species.ELECTRIKE ],
FLANNERY: [ Species.SLUGMA, Species.TORKOAL, Species.NUMEL ], FLANNERY: [ Species.SLUGMA, Species.TORKOAL, Species.NUMEL ],
NORMAN: [ Species.SLAKOTH, Species.SPINDA, Species.CHANSEY, Species.KANGASKHAN ], NORMAN: [ Species.SLAKOTH, Species.SPINDA, Species.ZIGZAGOON, Species.KECLEON ],
WINONA: [ Species.SWABLU, Species.WINGULL, Species.TROPIUS, Species.SKARMORY ], WINONA: [ Species.SWABLU, Species.WINGULL, Species.TROPIUS, Species.SKARMORY ],
TATE: [ Species.SOLROCK, Species.NATU, Species.CHIMECHO, Species.GALLADE ], TATE: [ Species.SOLROCK, Species.NATU, Species.CHIMECHO, Species.GALLADE ],
LIZA: [ Species.LUNATONE, Species.SPOINK, Species.BALTOY, Species.GARDEVOIR ], LIZA: [ Species.LUNATONE, Species.SPOINK, Species.BALTOY, Species.GARDEVOIR ],
@ -1247,16 +1250,16 @@ export const signatureSpecies: SignatureSpecies = {
ROARK: [ Species.CRANIDOS, Species.LARVITAR, Species.GEODUDE ], ROARK: [ Species.CRANIDOS, Species.LARVITAR, Species.GEODUDE ],
GARDENIA: [ Species.ROSELIA, Species.TANGELA, Species.TURTWIG ], GARDENIA: [ Species.ROSELIA, Species.TANGELA, Species.TURTWIG ],
MAYLENE: [ Species.LUCARIO, Species.MEDITITE, Species.CHIMCHAR ], MAYLENE: [ Species.LUCARIO, Species.MEDITITE, Species.CHIMCHAR ],
CRASHER_WAKE: [ Species.BUIZEL, Species.MAGIKARP, Species.PIPLUP ], CRASHER_WAKE: [ Species.BUIZEL, Species.WOOPER, Species.PIPLUP, Species.MAGIKARP ],
FANTINA: [ Species.MISDREAVUS, Species.DRIFLOON, Species.SPIRITOMB ], FANTINA: [ Species.MISDREAVUS, Species.DRIFLOON, Species.SPIRITOMB ],
BYRON: [ Species.SHIELDON, Species.BRONZOR, Species.AGGRON ], BYRON: [ Species.SHIELDON, Species.BRONZOR, Species.AGGRON ],
CANDICE: [ Species.SNEASEL, Species.SNOVER, Species.SNORUNT ], CANDICE: [ Species.SNEASEL, Species.SNOVER, Species.SNORUNT ],
VOLKNER: [ Species.SHINX, Species.CHINCHOU, Species.ROTOM ], VOLKNER: [ Species.SHINX, Species.CHINCHOU, Species.ROTOM ],
CILAN: [ Species.PANSAGE, Species.COTTONEE, Species.PETILIL ], CILAN: [ Species.PANSAGE, Species.FOONGUS, Species.PETILIL ],
CHILI: [ Species.PANSEAR, Species.DARUMAKA, Species.HEATMOR ], CHILI: [ Species.PANSEAR, Species.DARUMAKA, Species.NUMEL ],
CRESS: [ Species.PANPOUR, Species.BASCULIN, Species.TYMPOLE ], CRESS: [ Species.PANPOUR, Species.TYMPOLE, Species.SLOWPOKE ],
CHEREN: [ Species.LILLIPUP, Species.MINCCINO, Species.PATRAT ], CHEREN: [ Species.LILLIPUP, Species.MINCCINO, Species.PIDOVE ],
LENORA: [ Species.KANGASKHAN, Species.DEERLING, Species.AUDINO ], LENORA: [ Species.PATRAT, Species.DEERLING, Species.AUDINO ],
ROXIE: [ Species.VENIPEDE, Species.TRUBBISH, Species.SKORUPI ], ROXIE: [ Species.VENIPEDE, Species.TRUBBISH, Species.SKORUPI ],
BURGH: [ Species.SEWADDLE, Species.SHELMET, Species.KARRABLAST ], BURGH: [ Species.SEWADDLE, Species.SHELMET, Species.KARRABLAST ],
ELESA: [ Species.EMOLGA, Species.BLITZLE, Species.JOLTIK ], ELESA: [ Species.EMOLGA, Species.BLITZLE, Species.JOLTIK ],
@ -1289,7 +1292,7 @@ export const signatureSpecies: SignatureSpecies = {
BRASSIUS: [ Species.SMOLIV, Species.SHROOMISH, Species.ODDISH ], BRASSIUS: [ Species.SMOLIV, Species.SHROOMISH, Species.ODDISH ],
IONO: [ Species.TADBULB, Species.WATTREL, Species.VOLTORB ], IONO: [ Species.TADBULB, Species.WATTREL, Species.VOLTORB ],
KOFU: [ Species.VELUZA, Species.WIGLETT, Species.WINGULL ], KOFU: [ Species.VELUZA, Species.WIGLETT, Species.WINGULL ],
LARRY: [ Species.STARLY, Species.DUNSPARCE, Species.KOMALA ], LARRY: [ Species.STARLY, Species.DUNSPARCE, Species.LECHONK, Species.KOMALA ],
RYME: [ Species.GREAVARD, Species.SHUPPET, Species.MIMIKYU ], RYME: [ Species.GREAVARD, Species.SHUPPET, Species.MIMIKYU ],
TULIP: [ Species.GIRAFARIG, Species.FLITTLE, Species.RALTS ], TULIP: [ Species.GIRAFARIG, Species.FLITTLE, Species.RALTS ],
GRUSHA: [ Species.CETODDLE, Species.ALOLA_VULPIX, Species.CUBCHOO ], GRUSHA: [ Species.CETODDLE, Species.ALOLA_VULPIX, Species.CUBCHOO ],