From 339132e5dc97da3e9d25fd8e10e7deccaec6dc80 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 4 Dec 2022 00:10:43 -0800 Subject: [PATCH] Move HA egg check back in gen8 format check https://github.com/kwsch/PKHeX/commit/51875d27b2ee413e7a6f6af0d3c2deb18a7097a9 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. --- PKHeX.Core/Legality/Verifiers/Ability/AbilityVerifier.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PKHeX.Core/Legality/Verifiers/Ability/AbilityVerifier.cs b/PKHeX.Core/Legality/Verifiers/Ability/AbilityVerifier.cs index da90c4ead..2f1727a7d 100644 --- a/PKHeX.Core/Legality/Verifiers/Ability/AbilityVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/Ability/AbilityVerifier.cs @@ -66,11 +66,11 @@ public sealed class AbilityVerifier : Verifier } var enc = data.EncounterMatch; - if (pk.AbilityNumber == 4 && enc.Ability.CanBeHidden()) - return VALID; - if (format >= 8) // Ability Patch { + if (pk.AbilityNumber == 4 && enc.Ability.CanBeHidden()) + return VALID; + if (pk.AbilityNumber == 4) { if (AbilityChangeRules.IsAbilityPatchPossible(data.Info.EvoChainsAllGens))