From 3fb5a2813f924dfddea8155b54938c86499a7f46 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 f3ee91f..f853009 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