Skip to Content
The Alchemy Project

struct BATTLE_STAGING_STATE

A presentation step's stack state: the battle effect command it builds and runs, and the targets' sprite colour modes saved beside it. More…

Declared in battle_camera.h.

Fields

NameDescription
BATTLE_EFFECT_PARMeffect
Uint8savedAnimationParams [8][4]Each target's sprite animations' SPR_COL_MODE (SPR_ANIMATION.colorMode), all but its last, saved before the effect; no code reads them back by name.

Description

A presentation step's stack state: the battle effect command it builds and runs, and the targets' sprite colour modes saved beside it. The presentation steps of battle_staging.c and battle_auto_battle.c, btTransitionRun and btElementGlowPlay keep one as a local.

struct BATTLE_STAGING_STATE

Referenced by btAutoBattleRunApproachAttack(), btAutoBattleRunAttackOrItem(), btAutoBattleRunPsynergy(), btElementGlowPlay(), btStagingRunAttack(), btStagingRunFullScreen(), btStagingRunItem(), btStagingRunPlainAttack(), btStagingRunPsynergyCast(), btTransitionRun() and offsetof.

Definition at line 73 of file battle_camera.h.

Fields in detail

effect

BATTLE_EFFECT_PARM effect

savedAnimationParams

Uint8 savedAnimationParams[8][4]

Each target's sprite animations' SPR_COL_MODE (SPR_ANIMATION.colorMode), all but its last, saved before the effect; no code reads them back by name.