Skip to Content
The Alchemy Project

src/scene/shared/leader_center_in_metatile.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

NameDescription
voidscLeaderCenterInMetatile (void)Walks the leader to the middle of the metatile he stands on, as he does before dropping through a cracked tile, sets him there and lowers the camera's point 8 pixels.

Functions in detail

scLeaderCenterInMetatile

void scLeaderCenterInMetatile(void)

Walks the leader to the middle of the metatile he stands on, as he does before dropping through a cracked tile, sets him there and lowers the camera's point 8 pixels.

References fdActorGet(), fdActorMoveToAndWaitById(), MainRoutineStateWork, scFieldActorSetPosAndResetMotion(), scFieldScriptWait(), scScriptCameraGetActor(), Sint32 and sySynch().

Referenced by scCrackedTileCrack() and scCrackedTileFall().

Definition at line 4 of file leader_center_in_metatile.c.