Alchemy
Loading...
Searching...
No Matches

StagedActorEffect Struct Reference

The party leader's actor as Kolima Forest's hop sees it: the coordinates it nudges, its jump speeds and its motion flags. More...

#include <staged_actor_effect.h>

Data Fields

u8 unk00 [0x0c]
 FieldActor's script pointer, cursor, facing and x; not named here.
s32 positionX
 FieldActor's y, in 16.16 fixed-point pixels: after landing the hop lowers it a pixel twice and raises it back.
u8 unk10 [4]
 FieldActor's z; not named here.
s32 positionZ
 FieldActor's terrainHeight, in 16.16 fixed-point pixels, moved with positionX.
u8 unk18 [0x10]
 FieldActor's scales to velocityX; not named here.
s32 elevationRate
 FieldActor's velocityY, in 16.16 fixed-point pixels per frame: 4 pixels as the hop starts.
u8 unk2c [4]
 FieldActor's velocityZ; not named here.
s32 moveRateX
 FieldActor's speed, in 16.16 fixed-point pixels per frame: 3 pixels for the hop.
s32 moveRateZ
 FieldActor's acceleration, in 16.16 fixed-point pixels per frame: 2 pixels for the hop.
u8 unk38 [0x1d]
 FieldActor's targets to its sprite storage kind.
u8 motionFlags
 ActorMotionFlag bits: the hop clears bits 7 and 0, zeroes them all when it lands, then restores them.

Detailed Description

The party leader's actor as Kolima Forest's hop sees it: the coordinates it nudges, its jump speeds and its motion flags.

Definition at line 12 of file staged_actor_effect.h.

Field Documentation

◆ unk00

u8 StagedActorEffect::unk00[0x0c]

FieldActor's script pointer, cursor, facing and x; not named here.

Definition at line 14 of file staged_actor_effect.h.

◆ positionX

s32 StagedActorEffect::positionX

FieldActor's y, in 16.16 fixed-point pixels: after landing the hop lowers it a pixel twice and raises it back.

Definition at line 17 of file staged_actor_effect.h.

◆ unk10

u8 StagedActorEffect::unk10[4]

FieldActor's z; not named here.

Definition at line 18 of file staged_actor_effect.h.

◆ positionZ

s32 StagedActorEffect::positionZ

FieldActor's terrainHeight, in 16.16 fixed-point pixels, moved with positionX.

Definition at line 21 of file staged_actor_effect.h.

◆ unk18

u8 StagedActorEffect::unk18[0x10]

FieldActor's scales to velocityX; not named here.

Definition at line 22 of file staged_actor_effect.h.

◆ elevationRate

s32 StagedActorEffect::elevationRate

FieldActor's velocityY, in 16.16 fixed-point pixels per frame: 4 pixels as the hop starts.

Definition at line 25 of file staged_actor_effect.h.

◆ unk2c

u8 StagedActorEffect::unk2c[4]

FieldActor's velocityZ; not named here.

Definition at line 26 of file staged_actor_effect.h.

◆ moveRateX

s32 StagedActorEffect::moveRateX

FieldActor's speed, in 16.16 fixed-point pixels per frame: 3 pixels for the hop.

Definition at line 29 of file staged_actor_effect.h.

◆ moveRateZ

s32 StagedActorEffect::moveRateZ

FieldActor's acceleration, in 16.16 fixed-point pixels per frame: 2 pixels for the hop.

Definition at line 32 of file staged_actor_effect.h.

◆ unk38

u8 StagedActorEffect::unk38[0x1d]

FieldActor's targets to its sprite storage kind.

Definition at line 33 of file staged_actor_effect.h.

◆ motionFlags

u8 StagedActorEffect::motionFlags

ActorMotionFlag bits: the hop clears bits 7 and 0, zeroes them all when it lands, then restores them.

Definition at line 36 of file staged_actor_effect.h.

Referenced by StagedActor_RunStepEffect().