Skip to Content
The Alchemy Project

include/window/battle_status.h

The Status screen's cursors and labels, and the party status window's flags.

Included by battle_internal.h, field_engine_internal.h, menu_internal.h, menu_tables.c, status_tables.c and window_internal.h.

Structures

NameDescription
structBATTLE_SUMMARY_STAT_CURSORA cursor stop among the Status screen's stats: its help entry, where the cursor points and the run of the row it highlights.
structBATTLE_SUMMARY_CURSORA cursor stop on the Status screen's equipment or statuses: its help entry and where the cursor points.

Enumerations

NameDescription
enumBATTLE_SUMMARY_STAT { OWNER_CONDITION_EMPTY, OWNER_CONDITION_NORMAL, OWNER_CONDITI … }A status the Status screen shows as an icon, which picks both the icon and its help (MsgNormalStatus + condition).
enumBATTLE_SUMMARY_HELP { OWNER_STATUS_HELP_NAME, OWNER_STATUS_HELP_LEVEL, OWNER_STATU … }The Status screen's help lines, which the cursor stops (status_tables.c) name; the status icons' places follow.
enumPARTY_STAT_FLAG { PARTY_STATUS_HP_ONLY, PARTY_STATUS_SHOW_PP, PARTY_STATUS_SHO … }The party status window's flags (mnPartyStatusDraw, mnPartyStatusCreateWindow): one column of six tiles per party member (name, HP and, when shown, PP with a bar under each), and in battle an optional five-tile column of standby Djinn counts on its left.

Variables

NameDescription
extern const BATTLE_SUMMARY_STAT_CURSOROwnerStatusStatCursors []The stat cursor stops: rows 0 to 8 for a character with Djinn, rows 9 to 15 for one without (window/status_tables.c).
extern const BATTLE_SUMMARY_CURSOROwnerStatusEquipmentCursors []The stops on Attack, Defense, Agility and Luck: column 19, rows 1 to 4.
extern const BATTLE_SUMMARY_CURSOROwnerStatusConditionCursors []The eight status cursor stops, two tiles apart on row 0.
extern const Uint8OwnerStatusLevelString []The Status screen's labels: "Lv", "HP" ("PS" in Italian), the slash between a value and its maximum, and "PP" ("EP" in Japanese).
extern const Uint8OwnerStatusHpString []HP, in Italian
extern const Uint8OwnerStatusSlashString []between a value and its maximum
extern const Uint8OwnerStatusPpString []PP
extern const Uint8OwnerStatusNivString []The European editions' labels for a cartridge set to another language: the level's "Niv" (French) and "Nv." (Spanish), and HP's "KP" (German) and "PV" (French and Spanish).
extern const Uint8OwnerStatusNvString []level, in Spanish
extern const Uint8OwnerStatusKpString []HP, in German
extern const Uint8OwnerStatusPvString []HP, in French and Spanish

Description

The Status screen's cursors and labels, and the party status window's flags.

Enumerations in detail

BATTLE_SUMMARY_STAT

enum BATTLE_SUMMARY_STAT

A status the Status screen shows as an icon, which picks both the icon and its help (MsgNormalStatus + condition).

EnumeratorValueDescription
OWNER_CONDITION_EMPTY-1A place with no icon.
OWNER_CONDITION_NORMAL0No status: "Normal status."
OWNER_CONDITION_POISON1
OWNER_CONDITION_DEADLY_POISON2
OWNER_CONDITION_STUN3
OWNER_CONDITION_PSYNERGY_SEALED4
OWNER_CONDITION_SLEEP5
OWNER_CONDITION_DELUSION6
OWNER_CONDITION_HAUNT7
OWNER_CONDITION_GRIM_REAPER8Downed when its turns run out.
OWNER_CONDITION_ATTACK_UP9
OWNER_CONDITION_ATTACK_DOWN10
OWNER_CONDITION_DEFENSE_UP11
OWNER_CONDITION_DEFENSE_DOWN12
OWNER_CONDITION_RESISTANCE_UP13
OWNER_CONDITION_RESISTANCE_DOWN14
OWNER_CONDITION_CURSED_ITEM15
OWNER_CONDITION_DOWNED16
OWNER_CONDITION_AGILITY_UP17
OWNER_CONDITION_AGILITY_DOWN18

Definition at line 35 of file battle_status.h.

BATTLE_SUMMARY_HELP

enum BATTLE_SUMMARY_HELP

The Status screen's help lines, which the cursor stops (status_tables.c) name; the status icons' places follow.

EnumeratorValueDescription
OWNER_STATUS_HELP_NAME0The name, whose help says how to switch party members with L and R.
OWNER_STATUS_HELP_LEVEL1No cursor stop shows it.
OWNER_STATUS_HELP_EXPERIENCE2
OWNER_STATUS_HELP_HP3
OWNER_STATUS_HELP_PP4
OWNER_STATUS_HELP_CLASS5
OWNER_STATUS_HELP_DJINN6
OWNER_STATUS_HELP_ELEMENT_LEVEL7
OWNER_STATUS_HELP_POWER8
OWNER_STATUS_HELP_RESIST9
OWNER_STATUS_HELP_ATTACK10
OWNER_STATUS_HELP_DEFENSE11
OWNER_STATUS_HELP_AGILITY12
OWNER_STATUS_HELP_LUCK13
OWNER_STATUS_HELP_CONDITION14The first status icon's place: its help is its status's (MsgNormalStatus + condition).
OWNER_STATUS_HELP_LAST_CONDITION21The eighth icon's place.
OWNER_STATUS_HELP_PSYNERGY_LIST22STATUS_PAGE_PSYNERGY's rows.
OWNER_STATUS_HELP_DJINN_LIST23STATUS_PAGE_DJINN's rows.
OWNER_STATUS_HELP_ITEM_LIST24STATUS_PAGE_ITEMS's rows.

Definition at line 63 of file battle_status.h.

PARTY_STAT_FLAG

enum PARTY_STAT_FLAG

The party status window's flags (mnPartyStatusDraw, mnPartyStatusCreateWindow): one column of six tiles per party member (name, HP and, when shown, PP with a bar under each), and in battle an optional five-tile column of standby Djinn counts on its left.

EnumeratorValueDescription
PARTY_STATUS_HP_ONLY0Names and HP.
PARTY_STATUS_SHOW_PP1Add the PP row.
PARTY_STATUS_SHOW_DJINN2Add the Djinn column (needs the PP row).
PARTY_STATUS_CLOSED9Erase the window.
PARTY_STATUS_KEEP_FLAGS-1Redraw with the flags it has.
PARTY_STATUS_NO_SUMMONSPARTY_STATUS_SHOW_PPBATTLE_STATE.partyStatus while the party cannot summon.
PARTY_STATUS_SUMMONSPARTY_STATUS_SHOW_PP | PARTY_STATUS_SHOW_DJINNBATTLE_STATE.partyStatus while it can, drawn only while a Djinni is on standby.

Definition at line 123 of file battle_status.h.