Revert "more oops"
This reverts commit 2fd2705498fa3d5f93e5bb1b11cc817ea3a0309c.
This commit is contained in:
parent
4e3c9597fc
commit
06200d422d
@ -968,7 +968,40 @@ static u8 SaveConfirmSaveCallback(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static u8 SaveYesNoCallback(void)
|
static u8 SaveYesNoCallback(void)
|
||||||
|
{
|
||||||
return SAVE_IN_PROGRESS;
|
return SAVE_IN_PROGRESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
static u8 SaveConfirmInputCallback(void)
|
||||||
|
{
|
||||||
|
switch (Menu_ProcessInputNoWrapClearOnChoose())
|
||||||
|
{
|
||||||
|
case 0: // Yes
|
||||||
|
switch (gSaveFileStatus)
|
||||||
|
{
|
||||||
|
case SAVE_STATUS_EMPTY:
|
||||||
|
case SAVE_STATUS_CORRUPT:
|
||||||
|
if (gDifferentSaveFile == FALSE)
|
||||||
|
{
|
||||||
|
sSaveDialogCallback = SaveFileExistsCallback;
|
||||||
|
return SAVE_IN_PROGRESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
sSaveDialogCallback = SaveSavingMessageCallback;
|
||||||
|
return SAVE_IN_PROGRESS;
|
||||||
|
default:
|
||||||
|
sSaveDialogCallback = SaveFileExistsCallback;
|
||||||
|
return SAVE_IN_PROGRESS;
|
||||||
|
}
|
||||||
|
case -1: // B Button
|
||||||
|
case 1: // No
|
||||||
|
HideSaveInfoWindow();
|
||||||
|
HideSaveMessageWindow();
|
||||||
|
return SAVE_CANCELED;
|
||||||
|
}
|
||||||
|
|
||||||
|
return SAVE_IN_PROGRESS;
|
||||||
|
}
|
||||||
|
|
||||||
// A different save file exists
|
// A different save file exists
|
||||||
static u8 SaveFileExistsCallback(void)
|
static u8 SaveFileExistsCallback(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user