From 7edfe4543fdc4698319c4dc0649873402350b30b Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 21 Dec 2019 16:01:51 -0800 Subject: [PATCH] Flag eggs with HT string Closes #2586 Modify PKM Info already clears it, but if disabled, will be flagged. --- PKHeX.Core/Legality/Verifiers/HistoryVerifier.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PKHeX.Core/Legality/Verifiers/HistoryVerifier.cs b/PKHeX.Core/Legality/Verifiers/HistoryVerifier.cs index ed10148c6..cbc453160 100644 --- a/PKHeX.Core/Legality/Verifiers/HistoryVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/HistoryVerifier.cs @@ -33,7 +33,11 @@ namespace PKHeX.Core data.AddLine(GetInvalid(LegalityCheckStrings.LContestZero)); if (!pkm.IsUntraded) + { + if (pkm.IsEgg) // Can't have HT details even as a Link Trade egg + data.AddLine(GetInvalid(LegalityCheckStrings.LMemoryArgBadHT)); return; + } if (pkm.CurrentHandler != 0) // Badly edited; PKHeX doesn't trip this. data.AddLine(GetInvalid(LegalityCheckStrings.LMemoryHTFlagInvalid));