Alchemy
Loading...
Searching...
No Matches

SparkObject Struct Reference

A FieldActor seen with the halfword at 0x5e (its lifetime), which FieldActor does not name. More...

#include </home/runner/work/alchemy-docs/alchemy-docs/alchemy/games/tbs/src/object/psynergy_effects_internal.h>

Data Fields

u8 unk00 [8]
s32 x
s32 y
s32 z
u8 unk14 [4]
s32 scaleX
s32 scaleY
u8 unk20 [24]
s32 anchorX
 centre of the sway (FieldActor's targetX)
u8 unk3c [12]
s32 gravity
 as in FieldActor
u8 unk4c [9]
u8 motionFlags
 as in FieldActor
u8 unk56 [8]
u16 lifetime
u8 unk60 [4]
s16 phase
 phase of the sway (128 frames a cycle)
u8 unk66 [6]
void(*) update (union FieldObject *object)

Detailed Description

A FieldActor seen with the halfword at 0x5e (its lifetime), which FieldActor does not name.

Definition at line 302 of file psynergy_effects_internal.h.

Field Documentation

◆ unk00

u8 SparkObject::unk00[8]

Definition at line 303 of file psynergy_effects_internal.h.

◆ x

s32 SparkObject::x

Definition at line 304 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter(), and BattleFx_SwayParticle().

◆ y

s32 SparkObject::y

Definition at line 305 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().

◆ z

s32 SparkObject::z

Definition at line 306 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().

◆ unk14

u8 SparkObject::unk14[4]

Definition at line 307 of file psynergy_effects_internal.h.

◆ scaleX

s32 SparkObject::scaleX

Definition at line 308 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().

◆ scaleY

s32 SparkObject::scaleY

Definition at line 309 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().

◆ unk20

u8 SparkObject::unk20[24]

Definition at line 310 of file psynergy_effects_internal.h.

◆ anchorX

s32 SparkObject::anchorX

centre of the sway (FieldActor's targetX)

Definition at line 311 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter(), and BattleFx_SwayParticle().

◆ unk3c

u8 SparkObject::unk3c[12]

Definition at line 312 of file psynergy_effects_internal.h.

◆ gravity

s32 SparkObject::gravity

as in FieldActor

Definition at line 313 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().

◆ unk4c

u8 SparkObject::unk4c[9]

Definition at line 314 of file psynergy_effects_internal.h.

◆ motionFlags

u8 SparkObject::motionFlags

as in FieldActor

Definition at line 315 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().

◆ unk56

u8 SparkObject::unk56[8]

Definition at line 316 of file psynergy_effects_internal.h.

◆ lifetime

u16 SparkObject::lifetime

Definition at line 317 of file psynergy_effects_internal.h.

◆ unk60

u8 SparkObject::unk60[4]

Definition at line 318 of file psynergy_effects_internal.h.

◆ phase

s16 SparkObject::phase

phase of the sway (128 frames a cycle)

Definition at line 319 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter(), and BattleFx_SwayParticle().

◆ unk66

u8 SparkObject::unk66[6]

Definition at line 320 of file psynergy_effects_internal.h.

◆ update

void(*) SparkObject::update(union FieldObject *object)

Definition at line 321 of file psynergy_effects_internal.h.

Referenced by BattleFx_RunSparkEmitter().