Allow traded egg while still egg

Closes #3144
This commit is contained in:
Kurt 2021-02-08 08:29:18 -08:00
parent 61266e3d49
commit 3876b3b1fa

View file

@ -255,8 +255,10 @@ namespace PKHeX.Core
{
if (pkm.IsEgg) // unhatched
{
if (EggLocation != pkm.Met_Location)
if (!EggEncounter)
return false;
if (EggLocation != pkm.Met_Location)
return pkm.Met_Location == Locations.LinkTrade6 && pkm.Egg_Location == EggLocation;
return pkm.Egg_Location == 0;
}