Prevents the debug menu beeing opened in battle and breaking the game
This commit is contained in:
parent
be0e576ee6
commit
1cf4824575
1 changed files with 1 additions and 1 deletions
|
@ -1557,7 +1557,7 @@ static void Task_HandleInput(u8 taskId)
|
|||
BeginCloseSummaryScreen(taskId);
|
||||
}
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
else if (JOY_NEW(SELECT_BUTTON))
|
||||
else if (JOY_NEW(SELECT_BUTTON) && !gMain.inBattle)
|
||||
{
|
||||
sMonSummaryScreen->callback = CB2_Debug_Pokemon;
|
||||
StopPokemonAnimations();
|
||||
|
|
Loading…
Reference in a new issue