Skip to Content
The Alchemy Project

struct BATTLE_SPOILS

A battle's spoils so far: coins, experience, enemies defeated and up to four items.

Declared in battle_action.h.

Fields

NameDescription
Sint32coins
Sint32experience
Sint32defeatedenemies defeated
Uint16items [4]
Uint16queuedSummons [2]The two enemies last felled (btEnemyRecordDefeat), which Regen Dance (ABILITY_EFFECT_CALL_QUEUED) calls back: their enemy ids and name letters, the place of the last felled and how many there are.
Uint8queuedLetters [2]
Sint8queueHead
Sint8queueCount

Description

A battle's spoils so far: coins, experience, enemies defeated and up to four items.

struct BATTLE_SPOILS

Referenced by btAwardSpoils(), btEnemyRecordDefeat() and btSpoilsClear().

Definition at line 100 of file battle_action.h.

Fields in detail

coins

Sint32 coins

experience

Sint32 experience

defeated

Sint32 defeated

enemies defeated

items

Uint16 items[4]

queuedSummons

Uint16 queuedSummons[2]

The two enemies last felled (btEnemyRecordDefeat), which Regen Dance (ABILITY_EFFECT_CALL_QUEUED) calls back: their enemy ids and name letters, the place of the last felled and how many there are.

queuedLetters

Uint8 queuedLetters[2]

queueHead

Sint8 queueHead

queueCount

Sint8 queueCount