Alchemy
Loading...
Searching...
No Matches

kolima_jump.h File Reference

Kolima's forest bridge and river: the hop east onto actor 10 (the third placement). More...

Go to the source code of this file.

Functions

static s32 StagedActor_RunStepEffect (struct StagedActorEffectRequest *request)
 Hops the leader to the pixel of the 16.16 position request, unless something blocks the way: the leader crouches, jumps (3 pixels a frame, rising at 4) and lands while actor 10 plays its animation 7; the leader is then nudged a pixel north-west twice and back.
static void KolimaForest_HopEast (void)
 Touch trigger 11, walking east: hop 30 pixels east of the leader.

Detailed Description

Kolima's forest bridge and river: the hop east onto actor 10 (the third placement).

Definition in file kolima_jump.h.

Function Documentation

◆ StagedActor_RunStepEffect()

s32 StagedActor_RunStepEffect ( struct StagedActorEffectRequest * request)
static

Hops the leader to the pixel of the 16.16 position request, unless something blocks the way: the leader crouches, jumps (3 pixels a frame, rising at 4) and lands while actor 10 plays its animation 7; the leader is then nudged a pixel north-west twice and back.

Returns 1 after a hop.

Definition at line 15 of file kolima_jump.h.

Referenced by KolimaForest_HopEast(), and StagedActor_RunStepEffect().

◆ KolimaForest_HopEast()

void KolimaForest_HopEast ( void )
static

Touch trigger 11, walking east: hop 30 pixels east of the leader.

The patched editions hop from the centre of the moving character's cell, 40 pixels.

Definition at line 60 of file kolima_jump.h.

Referenced by KolimaForest_HopEast().