Stop time and show star cutscene for everyone

Fixes #72
This commit is contained in:
MysterD 2020-10-04 21:26:36 -07:00
parent 564b9d5f62
commit cbc2f3fefa
1 changed files with 7 additions and 9 deletions

View File

@ -42,16 +42,14 @@ void bhv_star_spawn_init(void) {
o->oVelY = (o->oHomeY - o->oPosY) / 30.0f;
o->oForwardVel = o->oStarSpawnDisFromHome / 30.0f;
o->oStarSpawnUnkFC = o->oPosY;
if (nearest_mario_state_to_object(o) == &gMarioStates[0]) {
if (o->oBehParams2ndByte == 0 || gCurrCourseNum == COURSE_BBH)
cutscene_object(CUTSCENE_STAR_SPAWN, o);
else
cutscene_object(CUTSCENE_RED_COIN_STAR_SPAWN, o);
gMarioStates[0].freeze = 60;
}
if (o->oBehParams2ndByte == 0 || gCurrCourseNum == COURSE_BBH)
cutscene_object(CUTSCENE_STAR_SPAWN, o);
else
cutscene_object(CUTSCENE_RED_COIN_STAR_SPAWN, o);
gMarioStates[0].freeze = 60;
//set_time_stop_flags(TIME_STOP_ENABLED | TIME_STOP_MARIO_AND_DOORS);
//o->activeFlags |= ACTIVE_FLAG_INITIATED_TIME_STOP;
set_time_stop_flags(TIME_STOP_ENABLED | TIME_STOP_MARIO_AND_DOORS);
o->activeFlags |= ACTIVE_FLAG_INITIATED_TIME_STOP;
cur_obj_become_intangible();
}