Skip to Content
The Alchemy Project

src/scene/shared/blocks_mark_metatiles.c

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

Functions

NameDescription
voidscBlocksMarkMetatiles (Uint16 *ids)For each actor of a list ended by ACTOR_LIST_END: clears its mark and, if it stands on a climbable metatile, walls off the overhead layer's metatiles a row north and south of where it is drawn and marks it.

Functions in detail

scBlocksMarkMetatiles

void scBlocksMarkMetatiles(Uint16 *ids)

For each actor of a list ended by ACTOR_LIST_END: clears its mark and, if it stands on a climbable metatile, walls off the overhead layer's metatiles a row north and south of where it is drawn and marks it.

References fdActorGet(), scMapMetatileGetAttributes() and Sint32.

Referenced by scAirsRockPlacePillar(), scInit(), scMagmaRockFinishPushingPillar(), scMagmaRockInsideFinishPushingPillar(), scMagmaRockPushPillarEast() and scMagmaRockPushPillarWest().

Definition at line 4 of file blocks_mark_metatiles.c.