Prevent eggs from generating nonstatic encounters

Closes #1239 indirectly; anything gen5+ which was an egg can only be
Daycare or EncounterStatic
This commit is contained in:
Kurt 2017-06-17 19:08:40 -07:00
parent 3f38b123a3
commit 3faecaf6d5

View file

@ -202,7 +202,7 @@ namespace PKHeX.Core
if (pkm.WasEgg)
{
foreach (var z in GenerateEggs(pkm))
yield return z;
{ yield return z; ++ctr; }
}
foreach (var z in GetValidStaticEncounter(pkm))