Review changes for #806

This commit is contained in:
GriffinR 2019-09-17 00:06:42 -04:00 committed by huderlem
parent 5092ad376d
commit 459fca289c

View File

@ -292,7 +292,7 @@ static void Task_OptionMenuProcessInput(u8 taskId)
}
else if (gMain.newKeys & DPAD_DOWN)
{
if (gTasks[taskId].data[TD_MENUSELECTION] <= MENUITEM_CANCEL - 1)
if (gTasks[taskId].data[TD_MENUSELECTION] < MENUITEM_CANCEL)
gTasks[taskId].data[TD_MENUSELECTION]++;
else
gTasks[taskId].data[TD_MENUSELECTION] = 0;