src/scene/shared/whirlwind_update.c
Included by jupiter_lighthouse_aerie.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
void | scWhirlwindUpdate (ACTOR *self) | A whirlwind's update: it travels forward, catches the leader it reaches and ends off screen or at a wall. |
Functions in detail
scWhirlwindUpdate
void scWhirlwindUpdate(ACTOR *self)
A whirlwind's update: it travels forward, catches the leader it reaches and ends off screen or at a wall.
References fdActorGet(), fdActorSetAnimationSpeed(), fdActorStartScript(), fdCameraWorldToScreen(), fdMapGridGetMetatileBehavior(), fdScriptGetFlag(), fdScriptPlaySound(), MainRoutineStateWork, scPosFlatDistance(), Sint32, syCos(), syIWRAMMulFX(), sySin(), WhirlwindEndScript and WhirlwindRiding.
Referenced by scWhirlwindSpawn().
Definition at line 6 of file whirlwind_update.c.