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
| Name | Description | |
|---|---|---|
struct | BATTLE_SUMMARY_STAT_CURSOR | A cursor stop among the Status screen's stats: its help entry, where the cursor points and the run of the row it highlights. |
struct | BATTLE_SUMMARY_CURSOR | A cursor stop on the Status screen's equipment or statuses: its help entry and where the cursor points. |
Enumerations
| Name | Description | |
|---|---|---|
enum | BATTLE_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). |
enum | BATTLE_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. |
enum | PARTY_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
| Name | Description | |
|---|---|---|
extern const BATTLE_SUMMARY_STAT_CURSOR | OwnerStatusStatCursors [] | 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_CURSOR | OwnerStatusEquipmentCursors [] | The stops on Attack, Defense, Agility and Luck: column 19, rows 1 to 4. |
extern const BATTLE_SUMMARY_CURSOR | OwnerStatusConditionCursors [] | The eight status cursor stops, two tiles apart on row 0. |
extern const Uint8 | OwnerStatusLevelString [] | 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 Uint8 | OwnerStatusHpString [] | HP, in Italian |
extern const Uint8 | OwnerStatusSlashString [] | between a value and its maximum |
extern const Uint8 | OwnerStatusPpString [] | PP |
extern const Uint8 | OwnerStatusNivString [] | 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 Uint8 | OwnerStatusNvString [] | level, in Spanish |
extern const Uint8 | OwnerStatusKpString [] | HP, in German |
extern const Uint8 | OwnerStatusPvString [] | 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).
| Enumerator | Value | Description |
|---|---|---|
OWNER_CONDITION_EMPTY | -1 | A place with no icon. |
OWNER_CONDITION_NORMAL | 0 | No status: "Normal status." |
OWNER_CONDITION_POISON | 1 | |
OWNER_CONDITION_DEADLY_POISON | 2 | |
OWNER_CONDITION_STUN | 3 | |
OWNER_CONDITION_PSYNERGY_SEALED | 4 | |
OWNER_CONDITION_SLEEP | 5 | |
OWNER_CONDITION_DELUSION | 6 | |
OWNER_CONDITION_HAUNT | 7 | |
OWNER_CONDITION_GRIM_REAPER | 8 | Downed when its turns run out. |
OWNER_CONDITION_ATTACK_UP | 9 | |
OWNER_CONDITION_ATTACK_DOWN | 10 | |
OWNER_CONDITION_DEFENSE_UP | 11 | |
OWNER_CONDITION_DEFENSE_DOWN | 12 | |
OWNER_CONDITION_RESISTANCE_UP | 13 | |
OWNER_CONDITION_RESISTANCE_DOWN | 14 | |
OWNER_CONDITION_CURSED_ITEM | 15 | |
OWNER_CONDITION_DOWNED | 16 | |
OWNER_CONDITION_AGILITY_UP | 17 | |
OWNER_CONDITION_AGILITY_DOWN | 18 |
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.
| Enumerator | Value | Description |
|---|---|---|
OWNER_STATUS_HELP_NAME | 0 | The name, whose help says how to switch party members with L and R. |
OWNER_STATUS_HELP_LEVEL | 1 | No cursor stop shows it. |
OWNER_STATUS_HELP_EXPERIENCE | 2 | |
OWNER_STATUS_HELP_HP | 3 | |
OWNER_STATUS_HELP_PP | 4 | |
OWNER_STATUS_HELP_CLASS | 5 | |
OWNER_STATUS_HELP_DJINN | 6 | |
OWNER_STATUS_HELP_ELEMENT_LEVEL | 7 | |
OWNER_STATUS_HELP_POWER | 8 | |
OWNER_STATUS_HELP_RESIST | 9 | |
OWNER_STATUS_HELP_ATTACK | 10 | |
OWNER_STATUS_HELP_DEFENSE | 11 | |
OWNER_STATUS_HELP_AGILITY | 12 | |
OWNER_STATUS_HELP_LUCK | 13 | |
OWNER_STATUS_HELP_CONDITION | 14 | The first status icon's place: its help is its status's (MsgNormalStatus + condition). |
OWNER_STATUS_HELP_LAST_CONDITION | 21 | The eighth icon's place. |
OWNER_STATUS_HELP_PSYNERGY_LIST | 22 | STATUS_PAGE_PSYNERGY's rows. |
OWNER_STATUS_HELP_DJINN_LIST | 23 | STATUS_PAGE_DJINN's rows. |
OWNER_STATUS_HELP_ITEM_LIST | 24 | STATUS_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.
| Enumerator | Value | Description |
|---|---|---|
PARTY_STATUS_HP_ONLY | 0 | Names and HP. |
PARTY_STATUS_SHOW_PP | 1 | Add the PP row. |
PARTY_STATUS_SHOW_DJINN | 2 | Add the Djinn column (needs the PP row). |
PARTY_STATUS_CLOSED | 9 | Erase the window. |
PARTY_STATUS_KEEP_FLAGS | -1 | Redraw with the flags it has. |
PARTY_STATUS_NO_SUMMONS | PARTY_STATUS_SHOW_PP | BATTLE_STATE.partyStatus while the party cannot summon. |
PARTY_STATUS_SUMMONS | PARTY_STATUS_SHOW_PP | PARTY_STATUS_SHOW_DJINN | BATTLE_STATE.partyStatus while it can, drawn only while a Djinni is on standby. |
Definition at line 123 of file battle_status.h.