From 27d1feafd7e60eb2abaeabcce4f8497eee3e756d Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 19 Mar 2020 17:05:16 -0700 Subject: [PATCH] Revise egg wc3 fateful check to return instead of break Emerald has the same met locations too, which doesn't clear fateful. So if it was hatched in an RS(E) location, we can't know for sure. Closes #2790 , but keep in mind the posted file is illegal anyways -- can't get egg move aromatherapy with wish. --- PKHeX.Core/Legality/Verifiers/MiscVerifier.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs b/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs index 268b47e4c..f5ebc79d6 100644 --- a/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs @@ -154,10 +154,11 @@ private static void VerifyMiscFatefulEncounter(LegalityAnalysis data) if (w.IsEgg) { // Eggs hatched in RS clear the obedience flag! + // Hatching in Gen3 doesn't change the origin version. if (pkm.Format != 3) return; // possible hatched in either game, don't bother checking - if (pkm.Met_Location <= 087) // hatched in RS - break; // ensure fateful is not active + if (pkm.Met_Location <= 087) // hatched in RS or Emerald + return; // possible hatched in either game, don't bother checking // else, ensure fateful is active (via below) } VerifyFatefulIngameActive(data);