From 2c8e2176e95e2002162193166efa10c6883d70ac Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 27 Sep 2017 19:39:30 -0700 Subject: [PATCH] Fix gen4 egg transfer egg location Egg Location wasn't explicitly kept, only the 'faraway place' was kept. Closes #1498 --- PKHeX.Core/PKM/PK4.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PKHeX.Core/PKM/PK4.cs b/PKHeX.Core/PKM/PK4.cs index 58ffea4d0..c3d336caf 100644 --- a/PKHeX.Core/PKM/PK4.cs +++ b/PKHeX.Core/PKM/PK4.cs @@ -432,6 +432,7 @@ public PK5 ConvertToPK5() pk5.Met_Location = pk5.Gen4 && pk5.FatefulEncounter && Array.IndexOf(Legal.CrownBeasts, pk5.Species) >= 0 ? (pk5.Species == 251 ? 30010 : 30012) // Celebi : Beast : 30001; // Pokétransfer (not Crown) + pk5.Egg_Location = Egg_Location; // Delete HGSS Data BitConverter.GetBytes((ushort)0).CopyTo(pk5.Data, 0x86);