Skip to Content
The Alchemy Project

src/scene/shared/push_target_push.c

Included by eastern_alhafra.c, islets.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_side_halls.c and mars_lighthouse_towers.c.

Functions

NameDescription
voidscPushTargetPush (PUSH_TARGET target)The leader pushes the object to its resting place: the metatiles it leaves are floor again and the metatiles it comes to are walls.

Functions in detail

scPushTargetPush

void scPushTargetPush(PUSH_TARGET target)

The leader pushes the object to its resting place: the metatiles it leaves are floor again and the metatiles it comes to are walls.

References fdActorGet(), fdActorSelectAnimation(), fdActorSetAnimation(), fdActorSetDestinationOffset(), fdMapGridCopyMetatileAttributes(), fdScriptNoOperation(), fdScriptPlaySound(), MainRoutineStateWork, PushLeaderSteps, PushRectangles, scActorStopAtPushTarget(), scFieldActorSetMoveTargetFX(), scFieldActorSetPosAndResetMotion(), scFieldActorWaitForMove(), scFieldActorWaitForMoveById(), scMapGridFillCollisionRectangle(), Sint32 and sySynch().

Referenced by scEasternAlhafraRollLog(), scIsletsPushLogIntoWater(), scJupiterLighthousePushColumn(), scJupiterLighthousePushColumnOffTheLedge(), scMarsLighthouseTowersPushPipe() and scMarsLighthouseTowersPushPipeOrJump().

Definition at line 3 of file push_target_push.c.