struct STAT_CURSOR
The Status screen's cursor: its place in each group, the help entry it shows and where it points.
Declared in screens_battle_status.c.
Fields
| Name | Description | |
|---|---|---|
Sint8 | groupPositions [5] | The cursor's place in each group. |
Sint32 | helpEntry | The help shown (BATTLE_SUMMARY_HELP). |
Sint32 | drawnHelpEntry | The help drawn last; a change redraws the help. |
Sint32 | group | STATUS_CURSOR_ group. |
Sint32 | groupSize | How many stops the group has. |
Sint32 | column | Cursor position in tiles. |
Sint32 | row |
Description
The Status screen's cursor: its place in each group, the help entry it shows and where it points.
struct STAT_CURSOR
Referenced by mnBattleStatusScreenRun().
Definition at line 54 of file screens_battle_status.c.
Fields in detail
groupPositions
Sint8 groupPositions[5]
The cursor's place in each group. [3] is
written for the one tick Left, Right or A in
STATUS_CURSOR_COMBAT_STATS leaves the group at
a value no branch reads; [4] is cleared at the
start and never read.
helpEntry
Sint32 helpEntry
The help shown (BATTLE_SUMMARY_HELP). It
decides the group.
drawnHelpEntry
Sint32 drawnHelpEntry
The help drawn last; a change redraws the help.
group
Sint32 group
STATUS_CURSOR_ group.
groupSize
Sint32 groupSize
How many stops the group has.
column
Sint32 column
Cursor position in tiles.
row
Sint32 row