mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Flag eggs with HT string
Closes #2586 Modify PKM Info already clears it, but if disabled, will be flagged.
This commit is contained in:
parent
ff61c66a56
commit
7edfe4543f
1 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue