From 8a83b9bde89a024416f795c5f2955139f5e594b7 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 10 Jul 2018 21:30:13 -0700 Subject: [PATCH] Update manaphy ability check again https://github.com/kwsch/PKHeX/commit/57250823a8adce76bc05f3acb6f545566c2eb187 covered it for format>=6, in 4/5 the abilitynumber is derived from PIDAbility Closes #2052 --- PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs b/PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs index d108d4681..b6af6c577 100644 --- a/PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs @@ -169,7 +169,7 @@ namespace PKHeX.Core var pkm = data.pkm; if (data.EncounterMatch is PGT) // Ranger Manaphy - return pkm.AbilityNumber == 1 ? VALID : GetInvalid(V110); + return (pkm.Format >= 6 ? (pkm.AbilityNumber == 1) : (pkm.AbilityNumber < 4)) ? VALID : GetInvalid(V110); int abilNumber = pkm.AbilityNumber; if (cardtype == 4) // 1/2/H