Skip to Content
The Alchemy Project

struct SNAPSHOT

What btScriptedBattleSaveUnits keeps of the five units of the scripted battles between them: whether each was listed, the first three's summon boosts, each one's statuses and the last two's HP and PP.

Declared in battle_internal.h.

Fields

NameDescription
Uint8listed [8]
Sint8summonBoosts [3][ELEMENT_COUNT]
SNAPSHOT_COPYstatuses [5]One row a unit: 25 status bytes, 28 with the struct's padding.
SNAPSHOT_VITALSvitals [2]The HP and PP of the last two units (i = 3 and 4).

Description

What btScriptedBattleSaveUnits keeps of the five units of the scripted battles between them: whether each was listed, the first three's summon boosts, each one's statuses and the last two's HP and PP.

struct SNAPSHOT

Referenced by btScriptedBattleRestoreUnits() and btScriptedBattleSaveUnits().

Definition at line 167 of file battle_internal.h.

Fields in detail

listed

Uint8 listed[8]

summonBoosts

Sint8 summonBoosts[3][ELEMENT_COUNT]

statuses

SNAPSHOT_COPY statuses[5]

One row a unit: 25 status bytes, 28 with the struct's padding.

vitals

SNAPSHOT_VITALS vitals[2]

The HP and PP of the last two units (i = 3 and 4).