mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Fix hidden ability patch possible check
Just return true when it is possible
This commit is contained in:
parent
c965cb7077
commit
d904bfad4c
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue