Make sure the first star is initially selected, if all stars are obtained

This commit is contained in:
n64 2020-07-04 22:17:49 +02:00 committed by fgsfds
parent df1340c37c
commit 469ad637ed
1 changed files with 4 additions and 0 deletions

View File

@ -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