Flag eggs with HT string

Closes #2586
Modify PKM Info already clears it, but if disabled, will be flagged.
This commit is contained in:
Kurt 2019-12-21 16:01:51 -08:00
parent ff61c66a56
commit 7edfe4543f

View file

@ -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));