Skip to Content
The Alchemy Project

src/scene/shared/pillar_lower_held_metatiles.c

Included by dehkan_plateau.c and madra_catacombs.c.

Functions

NameDescription
voidscPillarLowerHeldMetatiles (Uint16 *list)Lowers the metatile under the pillar ahead of the leader, or the one Move holds, when it is one of the listed pillars: scPillarRaise undone, the metatile 32 pixels down and neither it nor the metatile south of it climbable; the field state keeps the pillar as its moved block.

Functions in detail

scPillarLowerHeldMetatiles

void scPillarLowerHeldMetatiles(Uint16 *list)

Lowers the metatile under the pillar ahead of the leader, or the one Move holds, when it is one of the listed pillars: scPillarRaise undone, the metatile 32 pixels down and neither it nor the metatile south of it climbable; the field state keeps the pillar as its moved block.

References fdActorGetById(), fdActorGetMetatileIndex(), fdFindNearbyPsynergyTarget(), fdLeaderFindActorAhead(), fdMapGetTerrainHeight(), fdMapGridGetTerrainKind(), fdMapShapeFindOrAdd(), MainRoutineStateWork, result and Sint32.

Referenced by scDehkanPlateauLiftTightropesVinePillar(), scDehkanPlateauPushVinePillar(), scMadraCatacombsPushVinePillar() and scMadraCatacombsStartMovingVinePillar().

Definition at line 5 of file pillar_lower_held_metatiles.c.