Adjust fusion evolutions for starters

This commit is contained in:
Flashfyre committed 2023-11-08 18:36:30 -05:00
1 parent 2257d8d2f2
commit d0a60a7f86
5 files changed
+50 -24

No files matched your search

+1 -1
View File
@@ -531,7 +531,7 @@ function getSpeciesFilterRandomPartyMemberFunc(speciesFilter: PokemonSpeciesFilt
const originalSpeciesFilter = speciesFilter;
speciesFilter = (species: PokemonSpecies) => allowLegendaries || (!species.legendary && !species.pseudoLegendary && !species.mythical) && originalSpeciesFilter(species);
return (scene: BattleScene, level: integer) => {
const ret = new EnemyPokemon(scene, scene.randomSpecies(scene.currentBattle.waveIndex, level, speciesFilter), level, true);
const ret = new EnemyPokemon(scene, scene.randomSpecies(scene.currentBattle.waveIndex, level, false, speciesFilter), level, true);
if (postProcess)
postProcess(ret);
return ret;