Add incorrect transfer check

Flags pk6->pk7 imports that were not converted (no data changes)
This commit is contained in:
Kurt 2017-01-24 23:34:50 -08:00
parent 7797af4baa
commit 1be7ecafce

View file

@ -1539,6 +1539,9 @@ namespace PKHeX.Core
}
private void verifyMisc()
{
if (pkm.Format == 7 && pkm.Data[0x2A] != 0)
{ AddLine(Severity.Invalid, "Incorrectly transferred from previous generation.", CheckIdentifier.Misc); return; }
if (pkm.IsEgg)
{
if (new[] {pkm.Move1_PPUps, pkm.Move2_PPUps, pkm.Move3_PPUps, pkm.Move4_PPUps}.Any(ppup => ppup > 0))