From d4469378dd133699b746df1d07e24dfcbdb75ed6 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 8 Nov 2015 22:02:01 -0800 Subject: [PATCH] Add CRO disclaimer prompt to continue --- pk3DS/Main.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pk3DS/Main.cs b/pk3DS/Main.cs index d4c70ae..13d6df0 100644 --- a/pk3DS/Main.cs +++ b/pk3DS/Main.cs @@ -642,6 +642,9 @@ private void patchCRO_CRR(object sender, EventArgs e) private void B_Starter_Click(object sender, EventArgs e) { if (threads > 0) { Util.Alert("Please wait for all operations to finish first."); return; } + if (DialogResult.Yes != Util.Prompt(MessageBoxButtons.YesNo, + "CRO Editing currently causes crashes.", "Continue anyway?")) + return; string CRO = Path.Combine(RomFSPath, "DllPoke3Select.cro"); string CRO2 = Path.Combine(RomFSPath, "DllField.cro"); if (!File.Exists(CRO)) @@ -659,6 +662,9 @@ private void B_Starter_Click(object sender, EventArgs e) private void B_TypeChart_Click(object sender, EventArgs e) { if (threads > 0) { Util.Alert("Please wait for all operations to finish first."); return; } + if (DialogResult.Yes != Util.Prompt(MessageBoxButtons.YesNo, + "CRO Editing currently causes crashes.", "Continue anyway?")) + return; string CRO = Path.Combine(RomFSPath, "DllBattle.cro"); if (!File.Exists(CRO)) { @@ -670,6 +676,9 @@ private void B_TypeChart_Click(object sender, EventArgs e) private void B_Gift_Click(object sender, EventArgs e) { if (threads > 0) { Util.Alert("Please wait for all operations to finish first."); return; } + if (DialogResult.Yes != Util.Prompt(MessageBoxButtons.YesNo, + "CRO Editing currently causes crashes.", "Continue anyway?")) + return; string CRO = Path.Combine(RomFSPath, "DllField.cro"); if (!File.Exists(CRO)) {