src/scene/shared/cracked_tile_crack.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_entrance.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
void | scCrackedTileCrack (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry) | Cracks the tile under the leader, swapping in its cracked picture. |
Functions in detail
scCrackedTileCrack
void scCrackedTileCrack(METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry)
Cracks the tile under the leader, swapping in its cracked picture.
References fdActorGet(), fdMapGridCopyMetatiles(), fdScriptPlaySound(), MainRoutineStateWork, scFieldScriptWait(), scLeaderCenterInMetatile() and Sint32.
Referenced by scCrackedTileStep().
Definition at line 2 of file cracked_tile_crack.c.