Minor changes to forms

This commit is contained in:
Flashfyre committed 2024-01-12 20:16:29 -05:00
1 parent 2d5dcaf835
commit ea6c547af1
6 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -355,7 +355,7 @@ export default class PokemonSpecies extends PokemonSpeciesForm {
}
}
if (!allowEvolving || !pokemonEvolutions.hasOwnProperty(this.speciesId) || !pokemonEvolutions[this.speciesId].find(e => !e.evoFormKey || e.evoFormKey.indexOf(SpeciesFormKey.MEGA) === -1))
if (!allowEvolving || !pokemonEvolutions.hasOwnProperty(this.speciesId))
return this.speciesId;
const evolutions = pokemonEvolutions[this.speciesId];