mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 07:50:32 +00:00
Move HA egg check back in gen8 format check
51875d27b2
Previous change ^ was short circuiting logic for gen5 eggs (unavailable HA for Serperior)
probably need to rewrite this method or maybe just delete these lines since they should fall through.
This commit is contained in:
parent
3f4aa2f9f2
commit
339132e5dc
1 changed files with 3 additions and 3 deletions
|
@ -66,11 +66,11 @@ public sealed class AbilityVerifier : Verifier
|
||||||
}
|
}
|
||||||
|
|
||||||
var enc = data.EncounterMatch;
|
var enc = data.EncounterMatch;
|
||||||
|
if (format >= 8) // Ability Patch
|
||||||
|
{
|
||||||
if (pk.AbilityNumber == 4 && enc.Ability.CanBeHidden())
|
if (pk.AbilityNumber == 4 && enc.Ability.CanBeHidden())
|
||||||
return VALID;
|
return VALID;
|
||||||
|
|
||||||
if (format >= 8) // Ability Patch
|
|
||||||
{
|
|
||||||
if (pk.AbilityNumber == 4)
|
if (pk.AbilityNumber == 4)
|
||||||
{
|
{
|
||||||
if (AbilityChangeRules.IsAbilityPatchPossible(data.Info.EvoChainsAllGens))
|
if (AbilityChangeRules.IsAbilityPatchPossible(data.Info.EvoChainsAllGens))
|
||||||
|
|
Loading…
Reference in a new issue