Skip to Content
The Alchemy Project

src/scene/shared/pillar_raise.c

Included by dehkan_plateau.c and madra_catacombs.c.

Functions

NameDescription
voidscPillarRaise (Uint16 *list)Raises the metatile under each listed pillar 32 pixels, to its top, and marks it MAP_METATILE_JUMP and MAP_METATILE_CLIMBABLE, and the metatile south of it, its face, climbable; then puts the leader back on the ground if it rose over him.

Functions in detail

scPillarRaise

void scPillarRaise(Uint16 *list)

Raises the metatile under each listed pillar 32 pixels, to its top, and marks it MAP_METATILE_JUMP and MAP_METATILE_CLIMBABLE, and the metatile south of it, its face, climbable; then puts the leader back on the ground if it rose over him.

References fdActorGetById(), fdActorGetMetatileIndex(), fdActorSetSpriteFlags(), fdMapGetTerrainHeight(), fdMapGridGetTerrainKind(), fdMapShapeFindOrAdd(), MainRoutineStateWork and Sint32.

Referenced by scDehkanPlateauInitTightropes() and scMadraCatacombsSetUpVillage().

Definition at line 5 of file pillar_raise.c.