src/scene/shared/actor_stop_at_push_target.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
| Name | Description | |
|---|---|---|
void | scActorStopAtPushTarget (ACTOR *actor) | Stops a pushed thing where it is when an actor stands in the metatile ahead of it, unless that is another pushable thing, or when the map blocks it. |
Functions in detail
scActorStopAtPushTarget
void scActorStopAtPushTarget(ACTOR *actor)
Stops a pushed thing where it is when an actor stands in the metatile ahead of it, unless that is another pushable thing, or when the map blocks it.
References fdActorFindAtMetatile(), fdMapGridCheckCollision(), PushKinds, scFieldActorSetPosAndResetMotion() and Sint32.
Referenced by scPushTargetPush().
Definition at line 3 of file actor_stop_at_push_target.c.