Skip to Content
The Alchemy Project

src/scene/shared/leader_flow_with_stream.c

Included by aqua_rock.c and aqua_rock_inside.c.

Functions

NameDescription
voidscLeaderFlowWithStream (void)Felix, walking into one of Aqua Rock's streams, is carried down it two pixels a tick, splashing, until something blocks the way; where it pours off a ledge he drops with the water and lands sitting down.

Functions in detail

scLeaderFlowWithStream

void scLeaderFlowWithStream(void)

Felix, walking into one of Aqua Rock's streams, is carried down it two pixels a tick, splashing, until something blocks the way; where it pours off a ledge he drops with the water and lands sitting down. It runs every tick he stands on the stream's metatiles; on the Moai room's dry ground it does nothing.

References fdActorGet(), fdActorSelectAnimation(), fdActorSetAttachedEffect(), fdMapGridCheckCollision(), MainRoutineStateWork, scActorSpawnWadingSplash(), scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), Sint32, sySynch() and TickCount.

Referenced by AquaRockSlopesCues, AquaRockSummitCues, scAquaRockRideStreamUp() and scAquaRockStepIntoCurrent().

Definition at line 5 of file leader_flow_with_stream.c.