Fix camera issues with NON_STOP_STARS (#700)

* Fix camera issues with NON_STOP_STARS

* Throw early return into stardance cutscene instead
This commit is contained in:
Gregory Heskett
2023-09-23 17:40:07 -04:00
committed by GitHub
parent c39fb6f333
commit e5bcf95703

View File

@@ -4776,6 +4776,9 @@ void start_cutscene(struct Camera *c, u8 cutscene) {
* @return the victory cutscene to use
*/
s32 determine_dance_cutscene(UNUSED struct Camera *c) {
#ifdef NON_STOP_STARS
return CUTSCENE_DANCE_DEFAULT;
#else
u8 cutscene = CUTSCENE_NONE;
u8 cutsceneIndex = 0;
u8 starIndex = (gLastCompletedStarNum - 1) / 2;
@@ -4798,6 +4801,7 @@ s32 determine_dance_cutscene(UNUSED struct Camera *c) {
}
cutscene = sDanceCutsceneTable[cutsceneIndex];
return cutscene;
#endif
}
/**