fixes PlaySE overwriting some "music tracks" like MUS_MOVE_DELETED

This commit is contained in:
TheXaman 2021-06-22 19:04:39 +02:00
parent 010c1b5d82
commit 45012a66d7

View File

@ -2729,8 +2729,6 @@ static void DebugAction_Sound_SE_SelectId(u8 taskId)
{
if (gMain.newKeys & DPAD_ANY)
{
PlaySE(SE_SELECT);
if(gMain.newKeys & DPAD_UP)
{
gTasks[taskId].data[3] += sPowersOfTen[gTasks[taskId].data[4]];
@ -2808,8 +2806,6 @@ static void DebugAction_Sound_MUS_SelectId(u8 taskId)
{
if (gMain.newKeys & DPAD_ANY)
{
PlaySE(SE_SELECT);
if(gMain.newKeys & DPAD_UP)
{
gTasks[taskId].data[3] += sPowersOfTen[gTasks[taskId].data[4]];