src/scene/shared/cracked_tile_step.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 | |
|---|---|---|
Bool | scCrackedTileStep (void) | Run each tick: when the leader steps onto a whole tile it cracks, and onto a cracked one other than the one it cracked last, the leader falls through it; 1 when it falls. |
Functions in detail
scCrackedTileStep
Bool scCrackedTileStep(void)
Run each tick: when the leader steps onto a whole tile it cracks, and onto a cracked one other than the one it cracked last, the leader falls through it; 1 when it falls.
References CrackedTiles, fdActorGet(), fdScriptGetFlag(), fdScriptSetFlag(), MainRoutineStateWork, scCrackedTileCrack(), scCrackedTileFall(), Sint32 and syGameFlagSetByte().
Referenced by scJupiterLighthouseStepOnCrackedTile(), scJupiterLighthouseStepOnLowerCrackedTile(), scJupiterLighthouseStepOnSingleCrackedTile() and scJupiterLighthouseStepOnUpperCrackedTile().
Definition at line 4 of file cracked_tile_step.c.