2018-01-18 15:34:20 -08:00
|
|
|
|
; $00-$16 are TX_* constants (see macros/scripts/text.asm)
|
|
|
|
|
|
|
|
|
|
; Control characters (see home/text.asm)
|
|
|
|
|
|
2018-07-17 14:08:04 -07:00
|
|
|
|
charmap "<NULL>", $00
|
|
|
|
|
charmap "<MOBILE>", $15
|
|
|
|
|
charmap "<CR>", $16
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "¯", $1f ; soft linebreak
|
2018-07-17 14:08:04 -07:00
|
|
|
|
charmap "<LF>", $22
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "<POKE>", $24 ; "<PO><KE>"
|
2018-01-18 19:30:30 -08:00
|
|
|
|
charmap "%", $25 ; soft linebreak in landmark names
|
2018-01-23 14:39:09 -08:00
|
|
|
|
charmap "<RED>", $38 ; wRedsName
|
|
|
|
|
charmap "<GREEN>", $39 ; wGreensName
|
2018-01-18 15:34:20 -08:00
|
|
|
|
charmap "<ENEMY>", $3f
|
2018-01-23 14:39:09 -08:00
|
|
|
|
charmap "<MOM>", $49 ; wMomsName
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "<PKMN>", $4a ; "<PK><MN>"
|
2018-01-18 17:40:32 -08:00
|
|
|
|
charmap "<_CONT>", $4b ; implements "<CONT>"
|
|
|
|
|
charmap "<SCROLL>", $4c
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "<NEXT>", $4e
|
|
|
|
|
charmap "<LINE>", $4f
|
|
|
|
|
charmap "@", $50 ; string terminator
|
|
|
|
|
charmap "<PARA>", $51
|
2018-01-23 14:39:09 -08:00
|
|
|
|
charmap "<PLAYER>", $52 ; wPlayerName
|
|
|
|
|
charmap "<RIVAL>", $53 ; wRivalName
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "#", $54 ; "POKé"
|
|
|
|
|
charmap "<CONT>", $55
|
2018-01-18 23:30:19 -08:00
|
|
|
|
charmap "<……>", $56 ; "……"
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "<DONE>", $57
|
|
|
|
|
charmap "<PROMPT>", $58
|
|
|
|
|
charmap "<TARGET>", $59
|
|
|
|
|
charmap "<USER>", $5a
|
|
|
|
|
charmap "<PC>", $5b ; "PC"
|
|
|
|
|
charmap "<TM>", $5c ; "TM"
|
2018-01-18 19:06:51 -08:00
|
|
|
|
charmap "<TRAINER>", $5d ; "TRAINER"
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "<ROCKET>", $5e ; "ROCKET"
|
|
|
|
|
charmap "<DEXEND>", $5f
|
2015-10-17 14:18:52 -07:00
|
|
|
|
|
2017-12-15 10:21:47 -08:00
|
|
|
|
; Actual characters (from gfx/font/font_battle_extra.png)
|
2017-12-09 09:24:50 -08:00
|
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "<LV>", $6e
|
2017-12-09 09:24:50 -08:00
|
|
|
|
|
2018-01-19 17:48:33 -08:00
|
|
|
|
charmap "<DO>", $70 ; hiragana small do, unused
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "◀", $71
|
|
|
|
|
charmap "『", $72 ; Japanese opening quote, unused
|
|
|
|
|
charmap "<ID>", $73
|
|
|
|
|
charmap "№", $74
|
2017-12-09 09:24:50 -08:00
|
|
|
|
|
|
|
|
|
; Actual characters (from other graphics files)
|
|
|
|
|
|
2018-01-13 12:22:16 -08:00
|
|
|
|
; needed for StatsScreen_PlaceShinyIcon and PrintPartyMonPage1
|
2018-01-18 23:30:19 -08:00
|
|
|
|
charmap "⁂", $3f ; gfx/stats/stats_tiles.png, tile 14
|
2018-01-13 12:22:16 -08:00
|
|
|
|
|
2017-12-15 10:21:47 -08:00
|
|
|
|
; Actual characters (from gfx/font/font.png)
|
2017-12-09 09:24:50 -08:00
|
|
|
|
|
2023-08-02 10:52:51 -07:00
|
|
|
|
charmap " ", $7f
|
|
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
|
charmap "A", $80
|
|
|
|
|
charmap "B", $81
|
|
|
|
|
charmap "C", $82
|
|
|
|
|
charmap "D", $83
|
|
|
|
|
charmap "E", $84
|
|
|
|
|
charmap "F", $85
|
|
|
|
|
charmap "G", $86
|
|
|
|
|
charmap "H", $87
|
|
|
|
|
charmap "I", $88
|
|
|
|
|
charmap "J", $89
|
|
|
|
|
charmap "K", $8a
|
|
|
|
|
charmap "L", $8b
|
|
|
|
|
charmap "M", $8c
|
|
|
|
|
charmap "N", $8d
|
|
|
|
|
charmap "O", $8e
|
|
|
|
|
charmap "P", $8f
|
|
|
|
|
charmap "Q", $90
|
|
|
|
|
charmap "R", $91
|
|
|
|
|
charmap "S", $92
|
|
|
|
|
charmap "T", $93
|
|
|
|
|
charmap "U", $94
|
|
|
|
|
charmap "V", $95
|
|
|
|
|
charmap "W", $96
|
|
|
|
|
charmap "X", $97
|
|
|
|
|
charmap "Y", $98
|
|
|
|
|
charmap "Z", $99
|
|
|
|
|
charmap "(", $9a
|
|
|
|
|
charmap ")", $9b
|
|
|
|
|
charmap ":", $9c
|
|
|
|
|
charmap ";", $9d
|
|
|
|
|
charmap "[", $9e
|
|
|
|
|
charmap "]", $9f
|
|
|
|
|
charmap "a", $a0
|
|
|
|
|
charmap "b", $a1
|
|
|
|
|
charmap "c", $a2
|
|
|
|
|
charmap "d", $a3
|
|
|
|
|
charmap "e", $a4
|
|
|
|
|
charmap "f", $a5
|
|
|
|
|
charmap "g", $a6
|
|
|
|
|
charmap "h", $a7
|
|
|
|
|
charmap "i", $a8
|
|
|
|
|
charmap "j", $a9
|
|
|
|
|
charmap "k", $aa
|
|
|
|
|
charmap "l", $ab
|
|
|
|
|
charmap "m", $ac
|
|
|
|
|
charmap "n", $ad
|
|
|
|
|
charmap "o", $ae
|
|
|
|
|
charmap "p", $af
|
|
|
|
|
charmap "q", $b0
|
|
|
|
|
charmap "r", $b1
|
|
|
|
|
charmap "s", $b2
|
|
|
|
|
charmap "t", $b3
|
|
|
|
|
charmap "u", $b4
|
|
|
|
|
charmap "v", $b5
|
|
|
|
|
charmap "w", $b6
|
|
|
|
|
charmap "x", $b7
|
|
|
|
|
charmap "y", $b8
|
|
|
|
|
charmap "z", $b9
|
2023-08-02 10:52:51 -07:00
|
|
|
|
charmap "■", $ba
|
|
|
|
|
charmap "▲", $bb
|
|
|
|
|
charmap "☎", $bc
|
|
|
|
|
charmap "“", $bd
|
|
|
|
|
charmap "”", $be
|
|
|
|
|
charmap "…", $bf
|
|
|
|
|
charmap "'d", $c0
|
|
|
|
|
charmap "'l", $c1
|
|
|
|
|
charmap "'m", $c2
|
|
|
|
|
charmap "'r", $c3
|
|
|
|
|
charmap "'s", $c4
|
|
|
|
|
charmap "'t", $c5
|
|
|
|
|
charmap "'v", $c6
|
|
|
|
|
charmap "′", $c7
|
|
|
|
|
charmap "″", $c8
|
2023-09-02 09:54:27 -07:00
|
|
|
|
charmap "<COIN>", $c9
|
2023-12-24 08:07:36 -08:00
|
|
|
|
charmap "<PLUS>", $ca
|
|
|
|
|
charmap "<MINUS>", $cb
|
|
|
|
|
charmap "<DIE>", $cc
|
|
|
|
|
charmap "<TURN>", $cd
|
|
|
|
|
charmap "<N_A>", $ce
|
|
|
|
|
charmap "<XP>", $cf
|
2023-08-02 10:52:51 -07:00
|
|
|
|
charmap "'", $d0
|
|
|
|
|
charmap "<PK>", $d1
|
|
|
|
|
charmap "<MN>", $d2
|
|
|
|
|
charmap "-", $d3
|
|
|
|
|
charmap "<PO>", $d4
|
|
|
|
|
charmap "<KE>", $d5
|
|
|
|
|
charmap "?", $d6
|
|
|
|
|
charmap "!", $d7
|
|
|
|
|
charmap ".", $d8
|
|
|
|
|
charmap "&", $d9
|
|
|
|
|
charmap "é", $da
|
|
|
|
|
charmap "→", $db
|
|
|
|
|
charmap "▷", $dc
|
|
|
|
|
charmap "▶", $dd
|
|
|
|
|
charmap "▼", $de
|
|
|
|
|
charmap "♂", $df
|
|
|
|
|
charmap "←", $e0
|
|
|
|
|
charmap "×", $e1
|
|
|
|
|
; charmap "<DOT>", $e2 ; decimal point; same as "." in English
|
|
|
|
|
charmap "/", $e3
|
|
|
|
|
charmap ",", $e4
|
|
|
|
|
charmap "♀", $e5
|
|
|
|
|
charmap "0", $e6
|
|
|
|
|
charmap "1", $e7
|
|
|
|
|
charmap "2", $e8
|
|
|
|
|
charmap "3", $e9
|
|
|
|
|
charmap "4", $ea
|
|
|
|
|
charmap "5", $eb
|
|
|
|
|
charmap "6", $ec
|
|
|
|
|
charmap "7", $ed
|
|
|
|
|
charmap "8", $ee
|
|
|
|
|
charmap "9", $ef
|
|
|
|
|
|
|
|
|
|
; Textbox frame (from gfx/frame/*)
|
|
|
|
|
charmap "┌", $f0
|
|
|
|
|
charmap "─", $f1
|
|
|
|
|
charmap "┐", $f2
|
|
|
|
|
charmap "│", $f3
|
|
|
|
|
charmap "└", $f4
|
|
|
|
|
charmap "┘", $f5
|
2015-10-17 14:18:52 -07:00
|
|
|
|
|
2019-11-18 09:26:07 -08:00
|
|
|
|
; ASCII charmap, for mobile functions
|
2019-11-18 15:48:39 -08:00
|
|
|
|
pushc
|
2022-10-02 19:03:53 -07:00
|
|
|
|
newcharmap ascii
|
|
|
|
|
DEF PRINTABLE_ASCII EQUS " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz\{|}~"
|
|
|
|
|
for i, STRLEN("{PRINTABLE_ASCII}")
|
|
|
|
|
charmap STRSUB("{PRINTABLE_ASCII}", i + 1, 1), i + $20
|
|
|
|
|
endr
|
|
|
|
|
charmap "\t", $09
|
|
|
|
|
charmap "\n", $0a
|
|
|
|
|
charmap "\r", $0d
|
2019-11-18 15:48:39 -08:00
|
|
|
|
popc
|
2023-08-17 04:51:29 -07:00
|
|
|
|
|
2023-12-23 05:44:36 -08:00
|
|
|
|
;; Background tile equivalences (vTiles1)
|
2023-08-17 04:51:29 -07:00
|
|
|
|
DEF OVERWORLD_FRAME_FIRST_TILE EQU "┌"
|
2023-09-23 02:50:25 -07:00
|
|
|
|
DEF BOARD_MENU_BG_FIRST_TILE EQU "A"
|
2023-09-02 04:21:57 -07:00
|
|
|
|
|
2023-12-23 05:44:36 -08:00
|
|
|
|
;; Object tile locations (vTiles0)
|
|
|
|
|
DEF SECONDARY_SPRITES_FIRST_TILE EQU $20
|
2023-11-04 05:04:25 -07:00
|
|
|
|
|
2023-12-23 05:44:36 -08:00
|
|
|
|
; Menu and overworld
|
|
|
|
|
DEF BOARD_MENU_OAM_FIRST_TILE EQU SECONDARY_SPRITES_FIRST_TILE
|
|
|
|
|
DEF DIE_ROLL_OAM_FIRST_TILE EQU BOARD_MENU_OAM_FIRST_TILE + 45 ; max(BOARD_MENU_ITEM_SIZE * NUM_BOARD_MENU_ITEMS, DIE_SIZE * 10)
|
|
|
|
|
DEF DIE_NUMBERS_OAM_FIRST_TILE EQU BOARD_MENU_OAM_FIRST_TILE
|
2023-12-29 04:34:37 -08:00
|
|
|
|
DEF CUT_TREE_OAM_FIRST_TILE EQU DIE_NUMBERS_OAM_FIRST_TILE + 40 ; DIE_NUMBER_SIZE * 10
|
2023-11-04 05:04:25 -07:00
|
|
|
|
|
2023-12-23 05:44:36 -08:00
|
|
|
|
; Branch space
|
|
|
|
|
DEF BRANCH_ARROWS_OAM_FIRST_TILE EQU DIE_NUMBERS_OAM_FIRST_TILE + 40 ; DIE_NUMBER_SIZE * 10
|
|
|
|
|
DEF BRANCH_LEGEND_OAM_FIRST_TILE EQU BRANCH_ARROWS_OAM_FIRST_TILE + 4 ; BRANCH_ARROWS_OAM_FIRST_TILE + NUM_DIRECTIONS
|
2023-11-04 05:04:25 -07:00
|
|
|
|
|
2023-12-23 05:44:36 -08:00
|
|
|
|
; View map mode (from overworld or from branch space)
|
|
|
|
|
DEF VIEW_MAP_MODE_ARROWS_OAM_FIRST_TILE EQU BOARD_MENU_OAM_FIRST_TILE + 45 ; max(BRANCH_ARROWS_OAM_FIRST_TILE + NUM_DIRECTIONS, BOARD_MENU_ITEM_SIZE * NUM_BOARD_MENU_ITEMS)
|
|
|
|
|
DEF VIEW_MAP_MODE_LEGEND_OAM_FIRST_FILE EQU VIEW_MAP_MODE_ARROWS_OAM_FIRST_TILE + 4 ; VIEW_MAP_MODE_ARROWS_OAM_FIRST_TILE + NUM_DIRECTIONS
|
|
|
|
|
|
|
|
|
|
; Talker event
|
|
|
|
|
DEF TALKER_EVENT_LEGEND_OAM_FIRST_TILE EQU DIE_NUMBERS_OAM_FIRST_TILE + 40 ; DIE_NUMBER_SIZE * 10
|