Skip to Content
The Alchemy Project

src/scene/shared/leader_slide_on_ice.c

Included by mars_lighthouse_entrance.c, mars_lighthouse_star_room.c, mars_lighthouse_towers.c, prox.c, settlements.c and tundaria_tower.c.

Functions

NameDescription
voidfdLeaderSlideOnIce (void)The leader slides metatile by metatile over ice until something stops them: a wall, ground more than 8 pixels up, a solid actor, or the end of the ice.

Functions in detail

fdLeaderSlideOnIce

void fdLeaderSlideOnIce(void)

The leader slides metatile by metatile over ice until something stops them: a wall, ground more than 8 pixels up, a solid actor, or the end of the ice.

References fdActorLookup(), fdActorSelectAnimation(), fdActorSetAnimationSpeed(), fdActorSteerByPad(), fdLeaderStopIfPending(), fdMapGetTerrainHeight(), MainRoutineStateWork, PerWork, scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldMapGridGetMetatileBehaviorAt(), scScriptCheckSpheresOverlap(), Sint32, SlideOnIceAnglesByKey, syAtan() and sySynch().

Referenced by MarsLighthouseBalmCues, MarsLighthouseCrackedIceCues, MarsLighthouseHiddenCircleCues, MarsLighthouseTowersMercuryTowerCues, ProxNorthCues, scSettlementsStepOnIceSlide() and scTundariaTowerSlideOnIce().

Definition at line 3 of file leader_slide_on_ice.c.