include/edition_values.h
Numbers that differ between the languages, chosen here once for the code that uses them.
Included by battle_internal.h, menu_internal.h, window_internal.h, field.h, lucky_wheels.h and window.h.
Macros
| Name | Description | |
|---|---|---|
#define | TEXT_BUFFER_MASK JAPANESE_OR(0xFF, 0x1FF) | The window text ring: 256 codes in Japanese, 512 in the others. |
#define | FIELD_MENU_ICON_ROW_WIDTH JAPANESE_OR(5, 7) | Two icon menus' widths, wider outside Japanese: the field menu's (Psynergy, Djinn, Item, Status) and the File Screen's (New Game, Continue, Copy, Erase, and Battle and Update when they are offered). |
#define | FILE_SCREEN_ICON_ROW_WIDTH JAPANESE_OR(4, 7) | |
#define | DEBUG_SCENE_SELECTOR_COLON_X JAPANESE_OR(100, 74) | Where the debug scene selector's arrow points, at the colons of its rows (further right in Japanese), and the y of its first row. |
#define | DEBUG_SCENE_SELECTOR_FIRST_ROW_Y 60 | |
#define | BATTLE_ARENA_PREFIX_LAST WHEN(SPACED_ENEMY_NAME_PREFIX, 7, 4) | A link battle's opponent names take up to 8 letters of prefix, then a space, in the European editions, instead of 5. |
#define | ENEMY_NAME_LETTER_FIRST JAPANESE_OR('A', '1') | The first of the letters that tell enemies of one kind apart in battle, put right after the name: the alphabet from 'A' in Japanese, the digits from '1' in the others ("Chestbeater1" to "Chestbeater3"). |
#define | LUCKY_WHEELS_TITLE_LETTERS SPANISH_OR(9, 8) | How many letter sprites spell the title over the Lucky Wheels machine, one more in Spanish. |
Description
Numbers that differ between the languages, chosen here once for the code that uses them.
Macros in detail
TEXT_BUFFER_MASK
#define TEXT_BUFFER_MASK JAPANESE_OR(0xFF, 0x1FF)
The window text ring: 256 codes in Japanese, 512 in the others.
Referenced by mnMessageDecode(), mnMessageDecodeAppend(), mnMessageType(), mnTextDrawMessage(), mnTextDrawMessageAsTiles(), mnTextDrawWideStringAsTiles(), mnTextDrawWideStringAtOffset(), mnTextDrawWideStringInWindow(), mnTextMeasureAllPages() and mnTextMeasureDecoded().
Definition at line 10 of file edition_values.h.
FIELD_MENU_ICON_ROW_WIDTH
#define FIELD_MENU_ICON_ROW_WIDTH JAPANESE_OR(5, 7)
Two icon menus' widths, wider outside Japanese: the field menu's (Psynergy, Djinn, Item, Status) and the File Screen's (New Game, Continue, Copy, Erase, and Battle and Update when they are offered).
Referenced by mnAnimateSelectionToEntry() and mnFieldMenuSelectCommand().
Definition at line 15 of file edition_values.h.
FILE_SCREEN_ICON_ROW_WIDTH
#define FILE_SCREEN_ICON_ROW_WIDTH JAPANESE_OR(4, 7)
Referenced by mnFileListSelectAction().
Definition at line 16 of file edition_values.h.
DEBUG_SCENE_SELECTOR_COLON_X
#define DEBUG_SCENE_SELECTOR_COLON_X JAPANESE_OR(100, 74)
Where the debug scene selector's arrow points, at the colons of its rows (further right in Japanese), and the y of its first row.
Referenced by mnDebugSceneSelectRun().
Definition at line 20 of file edition_values.h.
DEBUG_SCENE_SELECTOR_FIRST_ROW_Y
#define DEBUG_SCENE_SELECTOR_FIRST_ROW_Y 60
Referenced by mnDebugSceneSelectRun().
Definition at line 21 of file edition_values.h.
BATTLE_ARENA_PREFIX_LAST
#define BATTLE_ARENA_PREFIX_LAST WHEN(SPACED_ENEMY_NAME_PREFIX, 7, 4)
A link battle's opponent names take up to 8 letters of prefix, then a space, in the European editions, instead of 5.
Referenced by btLinkBattleReceiveParty() and scLinkLobbyReceivePartyRecords().
Definition at line 25 of file edition_values.h.
ENEMY_NAME_LETTER_FIRST
#define ENEMY_NAME_LETTER_FIRST JAPANESE_OR('A', '1')
The first of the letters that tell enemies of one kind apart in battle, put right after the name: the alphabet from 'A' in Japanese, the digits from '1' in the others ("Chestbeater1" to "Chestbeater3").
Referenced by btEnemyLetterFirstOfKind() and btEnemyReleaseNameLetter().
Definition at line 30 of file edition_values.h.
LUCKY_WHEELS_TITLE_LETTERS
#define LUCKY_WHEELS_TITLE_LETTERS SPANISH_OR(9, 8)
How many letter sprites spell the title over the Lucky Wheels machine, one more in Spanish.
Referenced by fdLuckyWheelsSetUpBetting(), fdLuckyWheelsUpdate(), LuckyWheelsTitleLetterTiles and LuckyWheelsTitleLetterWidths.
Definition at line 34 of file edition_values.h.