Skip to Content
The Alchemy Project

src/scene/shared/field_effect_radial.c

The Tunnel Ruins and Venus Lighthouse: the ring of dust a carved stone or a pillar raises as it lands on a stack.

Included by tunnel_ruins.c and venus_lighthouse.c.

Functions

NameDescription
static voidscFieldEffectSpawnNineRadialEffects (Sint32 actorId)Bursts nine white puffs of dust out from the actor in a ring, one each eighth of a turn with the ninth on the first, flung a third further east and west, slowing as they go (scFieldEffectAdvanceMotion).

Description

The Tunnel Ruins and Venus Lighthouse: the ring of dust a carved stone or a pillar raises as it lands on a stack.

Functions in detail

scFieldEffectSpawnNineRadialEffects

static void scFieldEffectSpawnNineRadialEffects(Sint32 actorId)

Bursts nine white puffs of dust out from the actor in a ring, one each eighth of a turn with the ninth on the first, flung a third further east and west, slowing as they go (scFieldEffectAdvanceMotion).

References fdActorGetById(), scFieldEffectAdvanceMotion(), Sint32, syCos(), syMathDivide() and sySin().

Referenced by scTunnelRuinsDropStoneOnStack() and scVenusLighthouseStackFloatingPillar().

Definition at line 7 of file field_effect_radial.c.