include/window/battle_status.h
The Status screen's cursors and the party status window's flags.
Included by battle_internal.h, field_engine_internal.h, menu_internal.h, screens_internal.h and status_tables.c.
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 (MsgOwnerStatusConditionHelp + condition). |
enum | BATTLE_SUMMARY_HELP { OWNER_STATUS_HELP_NAME, OWNER_STATUS_HELP_LEVEL, OWNER_STATU … } | The Status screen's help lines, from MsgOwnerStatusEntryHelp, 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 | BattleStatusScreenStatCursors [] | 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 | BattleStatusScreenEquipmentCursors [] | The cursor stops of the screen's second group (STATUS_CURSOR_COMBAT_STATS): column 19, rows 1 to 4. |
extern const BATTLE_SUMMARY_CURSOR | BattleStatusScreenConditionCursors [] | The eight status cursor stops, two tiles apart on row 0. |
extern const Uint8 | BattleStatusScreenLevelString [] | The level label: Lv, or Niv in French. |
extern const Uint8 | BattleStatusScreenHpString [] | |
extern const Uint8 | BattleStatusScreenSlashString [] | |
extern const Uint8 | BattleStatusScreenPpString [] | |
extern const Uint8 | BattleStatusScreenNivString [] | The Spanish and Italian 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 | BattleStatusScreenNvString [] | |
extern const Uint8 | BattleStatusScreenKpString [] | |
extern const Uint8 | BattleStatusScreenPvString [] |
Description
The Status screen's cursors 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 (MsgOwnerStatusConditionHelp + 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, from MsgOwnerStatusEntryHelp, 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 (MsgOwnerStatusConditionHelp). |
OWNER_STATUS_HELP_LAST_CONDITION | 21 | The eighth icon's place. |
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 118 of file battle_status.h.
Variables in detail
BattleStatusScreenLevelString
extern const Uint8 BattleStatusScreenLevelString[]
The level label: Lv, or Niv in French.
Referenced by mnBattleStatusScreenRun().
Definition at line 100 of file battle_status.h.