Merge pull request #114 from Eskuero/patch-1

Don't check base moves if the pkm can't be hatched
This commit is contained in:
Kaphotics 2016-05-23 10:53:11 -07:00
commit e65224e5f5

View file

@ -935,7 +935,7 @@ namespace PKHeX
goto noRelearn; // No WC match
}
if (pk6.WasEgg)
if (pk6.WasEgg && !Legal.NoHatchFromEgg.Contains(pk6.Species))
{
const int games = 2;
bool checkAllGames = pk6.WasTradedEgg;