sm64pc/src/game/behaviors/lll_volcano_flames.inc.c

12 lines
289 B
C
Raw Normal View History

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