Skip to Content
The Alchemy Project

src/scene/shared/actor_wait_to_land_with_snd.c

Included by ankohl_ruins.c and gaia_rock.c.

Functions

NameDescription
voidscActorWaitToLandWithSound (Sint32 id, Sint32 sound)Lets an actor fall, waits up to sixty ticks for it to land, plays the sound (when not 0) and holds it still ten ticks later: a pushed half face or Felix in the Ankohl Ruins, a pillar of Gaia Rock's first cliffs.

Functions in detail

scActorWaitToLandWithSound

void scActorWaitToLandWithSound(Sint32 id, Sint32 sound)

Lets an actor fall, waits up to sixty ticks for it to land, plays the sound (when not 0) and holds it still ten ticks later: a pushed half face or Felix in the Ankohl Ruins, a pillar of Gaia Rock's first cliffs.

References fdActorGet(), fdScriptPlaySound(), Sint32 and sySynch().

Referenced by scAnkohlRuinsCarriedOffLedge(), scAnkohlRuinsPlaceFaceHalves(), scAnkohlRuinsPlaceSecondFloorFaceHalf() and scAnkohlRuinsPushFaceHalfIntoGap().

Definition at line 4 of file actor_wait_to_land_with_snd.c.