src/scene/shared/leader_check_crumbling_step.c
Included by magma_rock_inside.c and trial_road.c.
Functions
| Name | Description | |
|---|---|---|
void | scLeaderCheckCrumblingStep (const Uint16 *table) | Stepping onto a crumbling pillar of an (actor, flag) list, as scCrumblingPillarStep: the first time it flashes and cracks, the second time it gives way under the leader with a shake, dust and a thump. |
Functions in detail
scLeaderCheckCrumblingStep
void scLeaderCheckCrumblingStep(const Uint16 *table)
Stepping onto a crumbling pillar of an (actor, flag) list, as
scCrumblingPillarStep: the first time it flashes and cracks, the second time
it gives way under the leader with a shake, dust and a thump.
References fdActorFindAtMetatile(), fdActorGetById(), fdActorSelectAnimation(), fdActorSetPosAndResetMotion(), fdActorSetSpriteColor(), fdLeaderSetMetatileShapeAt(), fdScriptEnd(), fdScriptStart(), fdTryJumpForward(), MainRoutineStateWork, scDustScatter(), scMagmaRockInsideSpawnDustRing(), Sint32, syGameFlagGet(), syGameFlagSet(), sySoundPlay() and sySynch().
Referenced by scTrialRoadCheckCrumblingPillars().
Definition at line 4 of file leader_check_crumbling_step.c.