parent
2c7b42b331
commit
70fdad4e7c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue