Skip to Content
The Alchemy Project

src/scene/shared/actor_launch_ahead.c

Included by mars_lighthouse_entrance.c, mars_lighthouse_hall.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.

Functions

NameDescription
voidfdActorLaunchAhead (ACTOR *self)Launches the actor this one carries (scActorAttach) 32 pixels ahead of it, the way launchFacing faces, rolling at up to 8 pixels a tick (scActorRollAndCrumble), with the launch sound.

Functions in detail

fdActorLaunchAhead

void fdActorLaunchAhead(ACTOR *self)

Launches the actor this one carries (scActorAttach) 32 pixels ahead of it, the way launchFacing faces, rolling at up to 8 pixels a tick (scActorRollAndCrumble), with the launch sound.

References fdActorGet(), fdScriptPlaySound(), scActorRollAndCrumble(), scFieldActorSetPosAndResetMotion() and Sint32.

Referenced by scActorPark() and scInit().

Definition at line 4 of file actor_launch_ahead.c.