mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
12 lines
360 B
C
12 lines
360 B
C
// spawn_star_exit.c.inc
|
|
|
|
void bhv_ccm_touched_star_spawn_loop(void) {
|
|
if (gCCMEnteredSlide & 1) {
|
|
o->oPosY += 100.0f;
|
|
o->oPosX = 2780.0f;
|
|
o->oPosZ = 4666.0f;
|
|
f32* starPos = gLevelValues.starPositions.CcmSlideStarPos;
|
|
spawn_default_star(starPos[0], starPos[1], starPos[2]);
|
|
obj_mark_for_deletion(o);
|
|
}
|
|
}
|