From d1e98cb429c5b8a97601824bfe25eca1c62ea38d Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Sat, 12 Mar 2016 09:13:27 -0800 Subject: [PATCH] Tweak egg prerequisites Moved Met Level check into the encounter check, don't care about it for checking an egg's relearn moves. --- Misc/PK6.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/PK6.cs b/Misc/PK6.cs index 5776f7584..c3cdd296c 100644 --- a/Misc/PK6.cs +++ b/Misc/PK6.cs @@ -745,8 +745,9 @@ public void TradeFriendshipAffection(string SAV_TRAINER) // Legality Properties public bool WasLink => Met_Location == 30011; - public bool WasEgg => Legal.EggLocations.Contains(Egg_Location) && Met_Level == 1; + public bool WasEgg => Legal.EggLocations.Contains(Egg_Location); public bool WasEvent => FatefulEncounter && Met_Location > 40000; public bool WasEventEgg => FatefulEncounter && (Egg_Location > 40000 || Egg_Location == 30002) && Met_Level == 1; + public bool WasTradedEgg => Egg_Location == 30002; } }