From d9d138d2a544b601fffa1f3f03eeeaf6bc7aa591 Mon Sep 17 00:00:00 2001 From: javierhimura Date: Sun, 26 Mar 2017 18:47:26 +0200 Subject: [PATCH] Fix getBaseGamesIsEgg, there is some cases when crystal origin can be discarted --- PKHeX/Legality/Checks.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PKHeX/Legality/Checks.cs b/PKHeX/Legality/Checks.cs index 03482306b..64bae981d 100644 --- a/PKHeX/Legality/Checks.cs +++ b/PKHeX/Legality/Checks.cs @@ -2119,6 +2119,14 @@ namespace PKHeX.Core case 1: case 2: // Every egg move from Gold/Silver is included in Crystal + if (pkm.Format != 2) + return GameVersion.C; + + if (pkm.HasOriginalMetLocation) + return GameVersion.C; + if (pkm.Species > 151 && !Legal.FutureEvolutionsGen1.Contains(pkm.Species)) + return GameVersion.GS; + return GameVersion.C; case 3: switch ((GameVersion)pkm.Version)