Merge pull request #600 from Nalweakette/patch-1

Invalid Check for Apricorn ball
This commit is contained in:
Kaphotics 2016-12-07 14:02:16 -08:00 committed by GitHub
commit ca28d09806

View File

@ -959,7 +959,7 @@ private void verifyEggBallGen7()
}
if (0x10 < pkm.Ball && pkm.Ball < 0x18) // Apricorn Ball
{
if ((pkm.Species > 731 && pkm.Species <= 785)
if ((pkm.Species >= 731 && pkm.Species <= 785)
|| Lineage.Any(e => Legal.PastGenAlolanNatives.Contains(e))
|| Lineage.Any(e => Legal.PastGenAlolanScans.Contains(e))
|| Lineage.Any(e => Legal.Inherit_Apricorn.Contains(e))) // past gen