Skip to Content
The Alchemy Project

src/scene/shared/pound_sink_target.c

Included by airs_rock_inside.c, alhafran_cave.c, eastern_alhafra.c, gabomba_statue.c, jupiter_lighthouse_right_tower_lower.c, mars_lighthouse_entrance.c, crumbling_pillar.c, yampi_desert.c and yampi_desert_cave.c.

Functions

NameDescription
voidfdPoundSinkTarget (Uint16 *list, Sint32 mode, Sint32 count)Pound's state on a listed actor, an entry of (actor, kind, flag) ended by ACTOR_LIST_END: while it is the target, it sinks a step a tick for the first eight ticks, and once the fist has landed (POUND_STAGE_LANDED) its flag is set and its metatile opened.

Functions in detail

fdPoundSinkTarget

void fdPoundSinkTarget(Uint16 *list, Sint32 mode, Sint32 count)

Pound's state on a listed actor, an entry of (actor, kind, flag) ended by ACTOR_LIST_END: while it is the target, it sinks a step a tick for the first eight ticks, and once the fist has landed (POUND_STAGE_LANDED) its flag is set and its metatile opened.

References fdActorGetById(), fdActorSetMetatileOpen(), Sint32 and syGameFlagSet().

Referenced by scAlhafranCavePoundStake(), scDehkanPlateauPoundCannonStake(), scDehkanPlateauPoundEntranceStake(), scDehkanPlateauPoundPillarsStake(), scDehkanPlateauPoundPoundCubeStake(), scDehkanPlateauPoundTightropesStake(), scEasternAlhafraPoundStake(), scGabombaStatuePoundStake(), scIzumoRuinsPoundStake(), scJupiterLighthouseSinkPoundTarget(), scYampiDesertCavePoundStake(), scYampiDesertPoundBlitzStake(), scYampiDesertPoundCavernStake() and scYampiDesertPoundEntranceStake().

Definition at line 5 of file pound_sink_target.c.