Skip to Content
The Alchemy Project

src/scene/shared/actors_raise_metatiles.c

Included by magma_rock.c and magma_rock_inside.c.

Functions

NameDescription
voidscMagmaRockInsideRaiseActorMetatiles (Uint16 *list)For each statue of a list of (statue, metatile, cap) rows ended by ACTOR_LIST_END: holds it still, without a shadow, and raises the metatile it stands on 32 pixels above the ground there, so it stands as a block.

Functions in detail

scMagmaRockInsideRaiseActorMetatiles

void scMagmaRockInsideRaiseActorMetatiles(Uint16 *list)

For each statue of a list of (statue, metatile, cap) rows ended by ACTOR_LIST_END: holds it still, without a shadow, and raises the metatile it stands on 32 pixels above the ground there, so it stands as a block.

References fdActorGet(), fdActorSetSpriteFlags(), fdMapGetTerrainHeight(), scMagmaRockInsideSetMetatileShape() and Sint32.

Referenced by scInit().

Definition at line 4 of file actors_raise_metatiles.c.