src/scene/shared/cracked_tile_fall.c
Included by anemos_inner_sanctum.c, jupiter_lighthouse_aerie.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_entrance.c, jupiter_lighthouse_ground_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_side_halls.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
void | scCrackedTileFall (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry) | Drops the leader through a cracked tile: it gives way and the leader spins down into it while the screen fades. |
Functions in detail
scCrackedTileFall
void scCrackedTileFall(METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry)
Drops the leader through a cracked tile: it gives way and the leader spins down into it while the screen fades.
References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdMapGridCopyMetatiles(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptWait(), scLeaderCenterInMetatile(), Sint32 and sySynch().
Referenced by scCrackedTileStep().
Definition at line 3 of file cracked_tile_fall.c.