mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-22 06:57:42 -05:00
Add wc6 import prompt if no SAV loaded
This commit is contained in:
@@ -680,6 +680,10 @@ private void openFile(byte[] input, string path, string ext)
|
||||
new SAV_Wondercard(input).ShowDialog();
|
||||
else
|
||||
{
|
||||
if (!SAV.Exportable && DialogResult.Yes != Util.Prompt(MessageBoxButtons.YesNo,
|
||||
"No save file loaded to obtain player info from", "Continue?"))
|
||||
return;
|
||||
|
||||
PK6 pk = new WC6(input).convertToPK6(SAV);
|
||||
if (pk == null || pk.Species == 0 || pk.Species > 721)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user