Fix hidden ability patch possible check

Just return true when it is possible
This commit is contained in:
Kurt 2022-11-25 13:54:14 -08:00
parent c965cb7077
commit d904bfad4c

View file

@ -111,8 +111,7 @@ public static class AbilityChangeRules
{
var evo = evos[i];
var pi = table[evo.Species, evo.Form];
if (pi.GetIsAbility12Same())
continue;
if (!pi.GetIsAbility12Same())
return true;
}
return false;
@ -127,7 +126,6 @@ public static class AbilityChangeRules
var evo = evos[i];
var pi = table[evo.Species, evo.Form];
if (pi.GetIsAbilityHiddenUnique())
continue;
return true;
}