Skip to Content
The Alchemy Project

src/scene/shared/statue_find_under_burst.c

Included by magma_rock.c and magma_rock_inside.c.

Functions

NameDescription
Sint32scStatueFindUnderBurst (Uint16 *table)Looks up the metatile Burst is cast at in an (actor, metatile, value) table ended by ACTOR_LIST_END: on a match, makes the row's statue the target and returns its value.

Functions in detail

scStatueFindUnderBurst

Sint32 scStatueFindUnderBurst(Uint16 *table)

Looks up the metatile Burst is cast at in an (actor, metatile, value) table ended by ACTOR_LIST_END: on a match, makes the row's statue the target and returns its value.

References fdActorGet(), result, scMapMetatileGetAttributes() and Sint32.

Referenced by scMagmaRockInsideTargetStatue() and scMagmaRockTargetStatue().

Definition at line 4 of file statue_find_under_burst.c.