mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 10:27:03 -05:00
update memory captured check
gen5 landorus witnessing another species should use gen6 https://projectpokemon.org/home/forums/topic/45424-landorus-memory-flagged-as-illegal/
This commit is contained in:
@@ -1991,7 +1991,7 @@ private void VerifyHTMemory()
|
||||
AddLine(Severity.Invalid, string.Format(V160, V206), CheckIdentifier.Memory); return;
|
||||
|
||||
case 14:
|
||||
if (Legal.GetCanBeCaptured(pkm.HT_TextVar, Info.Generation))
|
||||
if (Legal.GetCanBeCaptured(pkm.HT_TextVar, 6, pkm.IsUntraded ? (GameVersion)pkm.Version : GameVersion.Any))
|
||||
AddLine(Severity.Valid, string.Format(V164, V206), CheckIdentifier.Memory);
|
||||
else
|
||||
AddLine(Severity.Invalid, string.Format(V165, V206), CheckIdentifier.Memory);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user