From 6f3887a2ebab4ad28e6bd9358f331aa94dd374a1 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 17 Apr 2024 15:58:13 -0400 Subject: [PATCH] Remove unintended negative from fusion compatibility filter --- src/data/pokemon-species.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/pokemon-species.ts b/src/data/pokemon-species.ts index 32d4b19b034..7dec417876b 100644 --- a/src/data/pokemon-species.ts +++ b/src/data/pokemon-species.ts @@ -670,7 +670,8 @@ export default class PokemonSpecies extends PokemonSpeciesForm { const legendary = this.legendary; const mythical = this.mythical; return species => { - return (pseudoLegendary || legendary || mythical || (!pokemonEvolutions.hasOwnProperty(species.speciesId) === hasEvolution + return (pseudoLegendary || legendary || mythical || + (pokemonEvolutions.hasOwnProperty(species.speciesId) === hasEvolution && pokemonPrevolutions.hasOwnProperty(species.speciesId) === hasPrevolution)) && species.pseudoLegendary === pseudoLegendary && species.legendary === legendary