Skip to Content
The Alchemy Project

src/scene/shared/stone_head_burst_out.c

Included by gaia_rock.c and gaia_rock_inside.c.

Functions

NameDescription
voidscStoneHeadBurstOut (Sint32 id, Sint32 flag)Stone head id bursts out of the wall of handholds under Felix in a shower of rocks as the screen shakes.

Functions in detail

scStoneHeadBurstOut

void scStoneHeadBurstOut(Sint32 id, Sint32 flag)

Stone head id bursts out of the wall of handholds under Felix in a shower of rocks as the screen shakes. He flails, drops onto whatever is under him, the view settles on him, and he is left walking rather than climbing; flags then keeps the head out.

References DebrisScript, fdActorGet(), fdActorSelectAnimation(), fdActorSetAttachedEffect(), fdActorSetSpriteFlags(), fdActorStartScript(), fdCameraMoveToFX(), fdCameraWaitForArrival(), fdScriptEnd(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), MainRoutineStateWork, scFieldActorCreate(), scFieldScriptEndLastingPsynergy(), scFieldScriptWait(), scStoneHeadPlace(), Sint32, StoneHeadRiseScript, syCos(), syRandom(), sySin() and sySynch().

Referenced by scGaiaRockClimbOntoHighestStoneHead(), scGaiaRockClimbOntoLowestStoneHead(), scGaiaRockClimbOntoMiddleStoneHead(), scGaiaRockInsideClimbOntoEastStoneHead(), scGaiaRockInsideClimbOntoMiddleStoneHead() and scGaiaRockInsideClimbOntoWestStoneHead().

Definition at line 5 of file stone_head_burst_out.c.