From 469ad637edc78269028b15ef4d57962b7dd908bf Mon Sep 17 00:00:00 2001 From: n64 Date: Sat, 4 Jul 2020 22:17:49 +0200 Subject: [PATCH] Make sure the first star is initially selected, if all stars are obtained --- src/menu/star_select.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/menu/star_select.c b/src/menu/star_select.c index f3ee91f8..f853009c 100644 --- a/src/menu/star_select.c +++ b/src/menu/star_select.c @@ -394,6 +394,10 @@ s32 lvl_init_act_selector_values_and_stars(UNUSED s32 arg, UNUSED s32 unused) { sInitSelectedActNum = 0; sVisibleStars = 0; sActSelectorMenuTimer = 0; +#ifdef NO_SEGMENTED_MEMORY + sSelectedActIndex = 0; + sSelectableStarIndex = 0; +#endif sObtainedStars = save_file_get_course_star_count(gCurrSaveFileNum - 1, gCurrCourseNum - 1); // Don't count 100 coin star