Verify pkm tabs before exporting to save

unset fields / illegal fields should be screened
This commit is contained in:
Kurt 2017-11-18 08:42:20 -08:00
parent f7e20a3c43
commit 515302381c

View file

@ -49,6 +49,9 @@ namespace PKHeX.WinForms.Controls
if (m.SE.SAV.IsSlotLocked(info.Box, info.Slot))
{ WinFormsUtil.Alert("Can't set to locked slot."); return; }
if (!editor.VerifiedPKM())
return;
PKM pk = editor.PreparePKM();
string[] errata = sav.IsPKMCompatible(pk);