From 0f17445ef4892eb996f58c286e94ed080ad4c037 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 14 Jul 2018 20:19:13 -0700 Subject: [PATCH] Update gen3 event pidiv method check for eggs closes #2057 Thanks @kamronbatman ! (nothing currently implemented uses BACD_U_S) --- PKHeX.Core/Legality/RNG/MethodFinder.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/RNG/MethodFinder.cs b/PKHeX.Core/Legality/RNG/MethodFinder.cs index 254ab487a..16462647a 100644 --- a/PKHeX.Core/Legality/RNG/MethodFinder.cs +++ b/PKHeX.Core/Legality/RNG/MethodFinder.cs @@ -666,7 +666,10 @@ public static bool IsCompatible3(this PIDType val, IEncounterable encounter, PKM switch (encounter) { case WC3 g: - return val == g.Method; + if (val == g.Method) + return true; + // forced shiny eggs, when hatched, can lose their detectable correlation. + return g.IsEgg && !pkm.IsEgg && val == PIDType.None && (g.Method == PIDType.BACD_R_S || g.Method == PIDType.BACD_U_S); case EncounterStaticShadow d when d.EReader: return val == PIDType.None; // All IVs are 0 case EncounterStatic s: