diff --git a/src/data/pokemon-species.ts b/src/data/pokemon-species.ts index cee11f8f0..25233d903 100644 --- a/src/data/pokemon-species.ts +++ b/src/data/pokemon-species.ts @@ -313,7 +313,7 @@ export default class PokemonSpecies extends PokemonSpeciesForm { } } - if (!allowEvolving || !pokemonEvolutions.hasOwnProperty(this.speciesId) || pokemonEvolutions[this.speciesId].filter(e => !e.evoFormKey || e.evoFormKey.indexOf(SpeciesFormKey.MEGA) === -1)) + if (!allowEvolving || !pokemonEvolutions.hasOwnProperty(this.speciesId) || !pokemonEvolutions[this.speciesId].filter(e => !e.evoFormKey || e.evoFormKey.indexOf(SpeciesFormKey.MEGA) === -1).length) return this.speciesId; const evolutions = pokemonEvolutions[this.speciesId];