Prevent cursor from going past array in course completion screen

This commit is contained in:
MysterD 2020-10-14 20:03:05 -07:00
parent 85c05e7d56
commit 16b95fdbca
1 changed files with 1 additions and 1 deletions

View File

@ -3158,7 +3158,7 @@ void render_save_confirmation(s16 x, s16 y, s8 *index, s16 sp6e)
u8 textContinueWithoutSave[] = { TEXT_CONTINUE_WITHOUT_SAVING };
#endif
handle_menu_scrolling(MENU_SCROLL_VERTICAL, index, 1, 4); // Increased to '4' to handle Exit Game
handle_menu_scrolling(MENU_SCROLL_VERTICAL, index, 1, 2); // decreased to '2' to prevent Exit Game
gSPDisplayList(gDisplayListHead++, dl_ia_text_begin);
gDPSetEnvColor(gDisplayListHead++, 255, 255, 255, gDialogTextAlpha);