From 4aa44c90c1d46452f71f9d0c7d05a095bd58e19f Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 7 Oct 2018 15:36:04 -0700 Subject: [PATCH] Update fixed ability comparison ignores <= 0 now --- 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 3bd47f79b..3819c5252 100644 --- a/PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/AbilityVerifier.cs @@ -78,7 +78,7 @@ namespace PKHeX.Core var EncounterMatch = data.EncounterMatch; int eabil = GetEncounterFixedAbilityNumber(EncounterMatch); - if (eabil >= 0) + if (eabil > 0) return VerifyFixedAbility(data, abilities, state, eabil, abilnum); int gen = data.Info.Generation;