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

11 lines
265 B
C
Raw Permalink Normal View History

2019-08-25 06:46:40 +02:00
// tower_door.c.inc
void bhv_tower_door_loop(void) {
if (o->oTimer == 0)
o->oMoveAngleYaw -= 0x4000;
2020-03-02 04:42:52 +01:00
if (check_mario_attacking(0)) {
obj_explode_and_spawn_coins(80.0f, 0);
2019-10-05 21:08:05 +02:00
create_sound_spawner(SOUND_GENERAL_WALL_EXPLOSION);
2019-08-25 06:46:40 +02:00
}
}