src/window/icon_menu_tables.c
The Djinn menu's element icon offsets and the icon menus' tables: the waits of a choice made for the player to watch, and the field menu's and the File Screen's choices by icon position.
Variables
| Name | Description | |
|---|---|---|
Uint8 | DjinnMenuElementXOffsets [4] | Each element's icon column in the Djinn menu, in tiles. |
Uint8 | DjinnMenuElementYOffsets [4] | Each element's icon row in the Djinn menu, in tiles. |
Uint8 | MenuSelectionStepDelays [8] | The icon menu's wait at each step, in ticks, by the icons still to go (mnIconMenuAnimateTo). |
Sint8 | MenuTopEntryCommandByPosition [] | The field menu's command at each icon position, read at position + 1: a row of six with Djinn, then one without, where the Djinn icon is left out. |
Sint8 | MenuTopEntryPositionByCommand [] | The icon position + 1 of each field menu command (FIELD_MENU_COMMAND), in the same two rows; without Djinn, Djinn starts on the first icon. |
Sint8 | MenuSaveSlotActionByPosition [] | The File Screen's action at each icon position, a row of six for each set of icons mnFileListSelectAction offers: every action; with three files, no New Game or Copy; with three cleared files, only Erase, Battle and Update; with fewer files, all cleared, no Continue. |
Description
The Djinn menu's element icon offsets and the icon menus' tables: the waits of a choice made for the player to watch, and the field menu's and the File Screen's choices by icon position.
Variables in detail
DjinnMenuElementXOffsets
Uint8 DjinnMenuElementXOffsets[4]
Each element's icon column in the Djinn menu, in tiles.
Referenced by mnBattleDjinnMenuRun().
Definition at line 8 of file icon_menu_tables.c.
DjinnMenuElementYOffsets
Uint8 DjinnMenuElementYOffsets[4]
Each element's icon row in the Djinn menu, in tiles.
Referenced by mnBattleDjinnMenuRun().
Definition at line 10 of file icon_menu_tables.c.
MenuSelectionStepDelays
Uint8 MenuSelectionStepDelays[8]
The icon menu's wait at each step, in ticks, by the icons still to go
(mnIconMenuAnimateTo).
Referenced by mnIconMenuAnimateTo().
Definition at line 14 of file icon_menu_tables.c.
MenuTopEntryCommandByPosition
Sint8 MenuTopEntryCommandByPosition[]
The field menu's command at each icon position, read at position + 1: a row of six with Djinn, then one without, where the Djinn icon is left out.
Referenced by mnFieldMenuSelectCommand().
Definition at line 19 of file icon_menu_tables.c.
MenuTopEntryPositionByCommand
Sint8 MenuTopEntryPositionByCommand[]
The icon position + 1 of each field menu command (FIELD_MENU_COMMAND), in the same two rows;
without Djinn, Djinn starts on the first icon.
Referenced by mnFieldMenuSelectCommand().
Definition at line 26 of file icon_menu_tables.c.
MenuSaveSlotActionByPosition
Sint8 MenuSaveSlotActionByPosition[]
The File Screen's action at each icon position, a row of six for each set of icons
mnFileListSelectAction offers: every action; with three files, no New Game or Copy; with three
cleared files, only Erase, Battle and Update; with fewer files, all cleared, no Continue. A row's
places past its icons, and the byte after the rows, are never read.
Referenced by mnFileListSelectAction().
Definition at line 35 of file icon_menu_tables.c.