Fix ability check wild

This commit is contained in:
Kaphotics 2016-03-13 18:37:54 -07:00
parent c6439aa03c
commit 7f2b382353

View file

@ -162,7 +162,7 @@ namespace PKHeX
if (Legal.getWildEncounterValid(pk))
{
var lc = Legal.ValidMet_AO.Contains(pk.Met_Location)
var lc = pk.AbilityNumber != 4
? new LegalityCheck(Severity.Valid, "Valid encounter at location.")
: new LegalityCheck(Severity.Invalid, "Hidden ability on valid encounter.");
return lc;