Alchemy
Loading...
Searching...
No Matches

status.c File Reference

The status screen. More...

Go to the source code of this file.

Data Structures

struct  StatusCursor
 The status screen's cursor: its place in each group, the help entry it shows and where it points. More...

Macros

#define OWNER_STATUS_TEXT_MAX   0x80
#define OWNER_STATUS_VALUE_X   184
#define OWNER_STATUS_LABEL(row)
#define STATUS_CURSOR_GENERAL   0
#define STATUS_CURSOR_COMBAT_STATS   1
#define STATUS_CURSOR_CONDITIONS   2

Functions

s32 Ui_RunOwnerStatusScreen (u16 *list, s32 listCount, s32 owner)
 Shows a party member's stats and condition help until B or the link session ends.

Detailed Description

The status screen.

Part of battle_command.c, the menu object, compiled only through it.

Definition in file status.c.

Macro Definition Documentation

◆ OWNER_STATUS_TEXT_MAX

#define OWNER_STATUS_TEXT_MAX   0x80

Definition at line 8 of file status.c.

Referenced by Ui_RunOwnerStatusScreen().

◆ OWNER_STATUS_VALUE_X

#define OWNER_STATUS_VALUE_X   184

Definition at line 9 of file status.c.

Referenced by Ui_RunOwnerStatusScreen().

◆ OWNER_STATUS_LABEL

#define OWNER_STATUS_LABEL ( row)
Value:
(MsgOwnerStatusExp - 10 + (row))

Definition at line 18 of file status.c.

Referenced by Ui_RunOwnerStatusScreen().

◆ STATUS_CURSOR_GENERAL

#define STATUS_CURSOR_GENERAL   0

Definition at line 21 of file status.c.

Referenced by Ui_RunOwnerStatusScreen().

◆ STATUS_CURSOR_COMBAT_STATS

#define STATUS_CURSOR_COMBAT_STATS   1

Definition at line 22 of file status.c.

Referenced by Ui_RunOwnerStatusScreen().

◆ STATUS_CURSOR_CONDITIONS

#define STATUS_CURSOR_CONDITIONS   2

Definition at line 23 of file status.c.

Referenced by Ui_RunOwnerStatusScreen().

Function Documentation

◆ Ui_RunOwnerStatusScreen()

s32 Ui_RunOwnerStatusScreen ( u16 * list,
s32 listCount,
s32 owner )

Shows a party member's stats and condition help until B or the link session ends.

The supplied list enables shoulder-button member switching. Measure stage deltas temporarily, then restore the unit from its snapshot.

Definition at line 41 of file status.c.

Referenced by Battle_CollectPartyCommands(), NameEntry_CountLetters(), and Ui_RunOwnerStatusScreen().