Fixed debug flag menu sound (#7190)

This commit is contained in:
Eduardo Quezada 2025-06-23 09:46:49 -04:00 committed by GitHub
parent 456a8f6aa0
commit a75a49710f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2527,6 +2527,7 @@ static void DebugAction_FlagsVars_FlagsSelect(u8 taskId)
{
if (JOY_NEW(A_BUTTON))
{
PlaySE(SE_SELECT);
FlagToggle(gTasks[taskId].tInput);
}
else if (JOY_NEW(B_BUTTON))
@ -2536,7 +2537,6 @@ static void DebugAction_FlagsVars_FlagsSelect(u8 taskId)
return;
}
PlaySE(SE_SELECT);
Debug_HandleInput_Numeric(taskId, 1, FLAGS_COUNT - 1, DEBUG_NUMBER_DIGITS_FLAGS);
if (JOY_NEW(DPAD_ANY) || JOY_NEW(A_BUTTON))