mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 09:05:53 -05:00
Fix Egg-Set bugs
Thanks StarFisherX!
This commit is contained in:
@@ -663,7 +663,7 @@ private void UpdateEgg(int Day, int Month, int Year)
|
||||
Egg_Location = 30002;
|
||||
Egg_Day = Day;
|
||||
Egg_Month = Month;
|
||||
Egg_Year = Year;
|
||||
Egg_Year = Year - 2000;
|
||||
}
|
||||
private void TradeGeoLocation(int GeoCountry, int GeoRegion)
|
||||
{
|
||||
|
||||
@@ -2341,7 +2341,7 @@ public byte[] preparepkx(bool click = true)
|
||||
pk6.Met_Location = Util.getIndex(CB_MetLocation);
|
||||
|
||||
if (pk6.IsEgg && pk6.Met_Location == 0) // If still an egg, it has no hatch location/date. Zero it!
|
||||
pk6.Egg_Year = pk6.Egg_Month = pk6.Egg_Day = 0;
|
||||
pk6.Met_Year = pk6.Met_Month = pk6.Met_Day = 0;
|
||||
|
||||
// 0xD7 Unknown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user