Invert evo level check comparison

I knew something was odd with this logic...
This commit is contained in:
Kurt 2017-05-16 22:03:00 -07:00
parent de3b89c409
commit 58f9e808d7

View file

@ -2606,7 +2606,7 @@ namespace PKHeX.Core
var evos = Legal.getValidPreEvolutions(pkm);
var matchEvo = evos.FirstOrDefault(z => z.Species == match.Species);
bool IsValid = matchEvo == null || matchEvo.Level < match.LevelMin;
bool IsValid = matchEvo == null || matchEvo.Level >= match.LevelMin;
return IsValid;
}
private void verifyVersionEvolution()