Skip to Content
The Alchemy Project

src/scene/shared/pillar_restore.c

Included by magma_rock.c, magma_rock_inside.c and trial_road.c.

Functions

NameDescription
voidscMagmaRockInsideRestorePillars (Uint16 *list)Unused: as scMagmaRockInsideRestoreCrumblingPillars, in a room whose pillars share one sprite, as Dehkan Plateau's scCrumblingPillarPlaceWithStandIn does: first loads the stand-in's and the two pictures' sprites beside the leader, the cracked one showing its cracks, then puts them out of sight; a cracked pillar takes the cracked picture.

Functions in detail

scMagmaRockInsideRestorePillars

void scMagmaRockInsideRestorePillars(Uint16 *list)

Unused: as scMagmaRockInsideRestoreCrumblingPillars, in a room whose pillars share one sprite, as Dehkan Plateau's scCrumblingPillarPlaceWithStandIn does: first loads the stand-in's and the two pictures' sprites beside the leader, the cracked one showing its cracks, then puts them out of sight; a cracked pillar takes the cracked picture.

References fdActorCopyGraphics(), fdActorDisableById(), fdActorGet(), fdActorGetMetatileIndex(), fdActorPlaceOnActor(), fdActorSetAnimation(), fdMapGetTerrainHeight(), fdMapGridGetTerrainKind(), fdMapShapeFindOrAdd(), fdScriptGetFlag(), MainRoutineStateWork, MapShapeGrid, scPillarTakeOutOfPlay(), Sint32 and sySynch().

Definition at line 8 of file pillar_restore.c.