mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Verify pkm tabs before exporting to save
unset fields / illegal fields should be screened
This commit is contained in:
parent
f7e20a3c43
commit
515302381c
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ namespace PKHeX.WinForms.Controls
|
||||||
if (m.SE.SAV.IsSlotLocked(info.Box, info.Slot))
|
if (m.SE.SAV.IsSlotLocked(info.Box, info.Slot))
|
||||||
{ WinFormsUtil.Alert("Can't set to locked slot."); return; }
|
{ WinFormsUtil.Alert("Can't set to locked slot."); return; }
|
||||||
|
|
||||||
|
if (!editor.VerifiedPKM())
|
||||||
|
return;
|
||||||
|
|
||||||
PKM pk = editor.PreparePKM();
|
PKM pk = editor.PreparePKM();
|
||||||
|
|
||||||
string[] errata = sav.IsPKMCompatible(pk);
|
string[] errata = sav.IsPKMCompatible(pk);
|
||||||
|
|
Loading…
Reference in a new issue