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.
| Field | Declared as | |
|---|---|---|
unk00 | u8 unk00[0x28] | |
value28 | s16 *value28 |
BattleRenderObject
struct BattleRenderObject
A field actor as the speaker lookup reads it: its kind (1 for an animated sprite) and that sprite.
| Field | Declared as | |
|---|---|---|
unk00 | u8 unk00[0x24] | |
unk24 | s32 unk24 | |
unk28 | u8 unk28[4] | |
unk2c | s32 unk2c | |
unk30 | s32 unk30 | |
unk34 | s32 unk34 | |
unk38 | s32 unk38 | |
unk3c | u8 unk3c[4] | |
unk40 | s32 unk40 | |
unk44 | u8 unk44[0x0c] | |
animation | struct BattleAnimationState *animation | |
kind | u8 kind |
Used by BattleFx_GetAnimationValue.
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.
| Field | Declared as | |
|---|---|---|
id | u16 id | |
value | u8 value | |
flags | u8 flags |
Used by BattleFx_FindDefinition, gBattleFx_DefinitionTable.
Globals, without a comment: gPaletteBufferWork.