From 802ecc9c6651b93ba9cbe910cd2eab2e172d99d2 Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Sat, 16 Apr 2016 11:32:25 -0700 Subject: [PATCH] Add wc6 import prompt if no SAV loaded --- PKX/f1-Main.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PKX/f1-Main.cs b/PKX/f1-Main.cs index b9a59b83e..689731efa 100644 --- a/PKX/f1-Main.cs +++ b/PKX/f1-Main.cs @@ -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) {