mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Add incorrect transfer check
Flags pk6->pk7 imports that were not converted (no data changes)
This commit is contained in:
parent
7797af4baa
commit
1be7ecafce
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue