Remove unintended negative from fusion compatibility filter

pull/175/head
Flashfyre 2024-04-17 15:58:13 -04:00
parent d210e3878e
commit 6f3887a2eb
1 changed files with 2 additions and 1 deletions

View File

@ -670,7 +670,8 @@ export default class PokemonSpecies extends PokemonSpeciesForm {
const legendary = this.legendary; const legendary = this.legendary;
const mythical = this.mythical; const mythical = this.mythical;
return species => { 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)) && pokemonPrevolutions.hasOwnProperty(species.speciesId) === hasPrevolution))
&& species.pseudoLegendary === pseudoLegendary && species.pseudoLegendary === pseudoLegendary
&& species.legendary === legendary && species.legendary === legendary