src/scene/shared/pillar_restore_raised.c
Included by magma_rock_inside.c and trial_road.c.
Functions
| Name | Description | |
|---|---|---|
void | scMagmaRockInsideRestoreCrumblingPillars (const Uint16 *table) | Puts the crumbling pillars of a list back where their flags left them: one whose second flag is set has fallen and is put away; the others stand on their metatiles raised 32 pixels, gaps to jump onto, in animation 0 once their first flag is set, as the first step on one leaves it. |
Functions in detail
scMagmaRockInsideRestoreCrumblingPillars
void scMagmaRockInsideRestoreCrumblingPillars(const Uint16 *table)
Puts the crumbling pillars of a list back where their flags left them: one whose second flag is set has fallen and is put away; the others stand on their metatiles raised 32 pixels, gaps to jump onto, in animation 0 once their first flag is set, as the first step on one leaves it. Then a leader left below the ground is lifted onto it.
References fdActorDisableById(), fdActorGet(), fdActorGetMetatileIndex(), fdActorSelectAnimation(), fdMapGetTerrainHeight(), fdMapGridGetTerrainKind(), fdMapShapeFindOrAdd(), fdScriptGetFlag(), MainRoutineStateWork, MapShapeGrid and Sint32.
Referenced by scTrialRoadSetUpCrumblingStage().
Definition at line 6 of file pillar_restore_raised.c.