Alchemy

battle_effect_runtime.h

games/tbs/include/battle_effect_runtime.h on GitHub

Structures

BattleAnimationState

struct BattleAnimationState

An actor's animated sprite, as far as the pointer to its sprite id.

FieldDeclared as
unk00u8 unk00[0x28]
value28s16 *value28

Line 15

BattleRenderObject

struct BattleRenderObject

A field actor as the speaker lookup reads it: its kind (1 for an animated sprite) and that sprite.

FieldDeclared as
unk00u8 unk00[0x24]
unk24s32 unk24
unk28u8 unk28[4]
unk2cs32 unk2c
unk30s32 unk30
unk34s32 unk34
unk38s32 unk38
unk3cu8 unk3c[4]
unk40s32 unk40
unk44u8 unk44[0x0c]
animationstruct BattleAnimationState *animation
kindu8 kind

Used by BattleFx_GetAnimationValue.

Line 22

BattleEffectEntry

struct BattleEffectEntry

A speaker definition, a row of gBattleFx_DefinitionTable: a sprite, its portrait (0xff for none) and the flags that choose its idle line.

FieldDeclared as
idu16 id
valueu8 value
flagsu8 flags

Used by BattleFx_FindDefinition, gBattleFx_DefinitionTable.

Line 39

Globals, without a comment: gPaletteBufferWork.

On this page