1
Fork 0
sm64/src/game/behaviors/lll_volcano_flames.inc.c

12 lines
289 B
C
Raw Normal View History

2019-08-25 00:46:40 -04:00
// lll_volcano_flames.c.inc
void bhv_volcano_flames_loop(void) {
2020-03-01 22:42:52 -05:00
cur_obj_update_floor_height();
cur_obj_compute_vel_xz();
2019-08-25 00:46:40 -04:00
o->oPosX += o->oVelX;
o->oPosZ += o->oVelZ;
2020-03-01 22:42:52 -05:00
cur_obj_move_y(-4.0f, -0.7f, 2.0f);
2019-08-25 00:46:40 -04:00
if (o->oMoveFlags & 0x33)
2020-03-01 22:42:52 -05:00
obj_mark_for_deletion(o);
2019-08-25 00:46:40 -04:00
}