Merge pull request #2598 from Jaizu/patch-1
Allow exiting the Battle Debug menu pressing B
This commit is contained in:
commit
6b86a031f0
1 changed files with 1 additions and 1 deletions
|
@ -1107,7 +1107,7 @@ static void Task_DebugMenuProcessInput(u8 taskId)
|
|||
struct BattleDebugMenu *data = GetStructPtr(taskId);
|
||||
|
||||
// Exit the menu.
|
||||
if (JOY_NEW(SELECT_BUTTON))
|
||||
if (JOY_NEW(SELECT_BUTTON) || ((JOY_NEW(B_BUTTON)) && data->activeWindow == ACTIVE_WIN_MAIN))
|
||||
{
|
||||
BeginNormalPaletteFade(-1, 0, 0, 0x10, 0);
|
||||
gTasks[taskId].func = Task_DebugMenuFadeOut;
|
||||
|
|
Loading…
Reference in a new issue