mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Add CRO disclaimer prompt to continue
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user