Update fixed ability comparison for 6+

4aa44c90c1 only updated it for gens 3-5
Closes #2136
This commit is contained in:
Kurt 2018-10-08 15:26:43 -07:00
parent f65bc2e984
commit 47f20b8c0e

View file

@ -55,7 +55,7 @@ namespace PKHeX.Core
{
var EncounterMatch = data.EncounterMatch;
var eabil = GetEncounterFixedAbilityNumber(EncounterMatch);
if (eabil >= 0)
if (eabil > 0)
return VerifyFixedAbility(data, abilities, AbilityState.CanMismatch, eabil, abilnum);
var gen = data.Info.Generation;