fix secret star names on course complete menu (#537)

This commit is contained in:
Isaac0-dev 2023-11-23 11:00:08 +10:00 committed by GitHub
parent aff4090161
commit 66f2f1dee4
1 changed files with 1 additions and 1 deletions

View File

@ -3357,7 +3357,7 @@ void render_course_complete_lvl_info_and_hud_str(void) {
play_star_fanfare_and_flash_hud(2, 0); //! 2 isn't defined, originally for key hud?
return;
} else {
name = (u8*) get_star_name_sm64(gLastCompletedCourseNum, gLastCompletedStarNum, 1);
name = (u8*) get_level_name_sm64(gLastCompletedCourseNum, gLastCompletedStarNum, gCurrAreaIndex, 1) + 3;
print_hud_course_complete_coins(118, 103);
play_star_fanfare_and_flash_hud(1, 1 << (gLastCompletedStarNum - 1));
}