diff --git a/src/data/pokemon-species.ts b/src/data/pokemon-species.ts index de7281d4c..641c51bb4 100644 --- a/src/data/pokemon-species.ts +++ b/src/data/pokemon-species.ts @@ -524,7 +524,7 @@ export default class PokemonSpecies extends PokemonSpeciesForm { const allEvolvingPokemon = Object.keys(pokemonEvolutions); for (let p of allEvolvingPokemon) { for (let e of pokemonEvolutions[p]) { - if (e.speciesId === this.speciesId && (!this.forms.length || e.evoFormKey === this.forms[this.formIndex].formKey)) { + if (e.speciesId === this.speciesId && (!this.forms.length || (e.evoFormKey || '') === this.forms[this.formIndex].formKey)) { const speciesId = parseInt(p) as Species; let level = e.level; prevolutionLevels.push([ speciesId, level ]);