Skip to Content
The Alchemy Project

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

NameDescription
Uint8DjinnMenuElementXOffsets [4]Each element's icon column in the Djinn menu, in tiles.
Uint8DjinnMenuElementYOffsets [4]Each element's icon row in the Djinn menu, in tiles.
Uint8MenuSelectionStepDelays [8]The icon menu's wait at each step, in ticks, by the icons still to go (mnIconMenuAnimateTo).
Sint8FieldMenuCommandByPosition []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.
Sint8FieldMenuPositionByCommand []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.
Sint8FileListActionByPosition []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 Send; 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 11 of file icon_menu_tables.c.

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 15 of file icon_menu_tables.c.

FieldMenuCommandByPosition

Sint8 FieldMenuCommandByPosition[]

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.

FieldMenuPositionByCommand

Sint8 FieldMenuPositionByCommand[]

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 36 of file icon_menu_tables.c.

FileListActionByPosition

Sint8 FileListActionByPosition[]

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 Send; 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 56 of file icon_menu_tables.c.