pokecrystal/constants/charmap.asm

432 lines
10 KiB
NASM
Raw Normal View History

; $00-$16 are TX_* constants (see macros/scripts/text.asm)
; Control characters (see home/text.asm)
charmap "<NULL>", $00
charmap "<PLAY_G>", $14 ; "<PLAYER>くん" or "<PLAYER>ちゃん"; same as "<PLAYER>" in English
charmap "<MOBILE>", $15
charmap "<CR>", $16
charmap "<BSP>", $1f ; breakable space (usually " ", or "<LF>" on the Town Map)
charmap "<LF>", $22
2017-12-15 05:38:52 +00:00
charmap "<POKE>", $24 ; "<PO><KE>"
charmap "<WBR>", $25 ; word-break opportunity (usually skipped, or "<LF>" on the Town Map)
2018-01-23 22:39:09 +00:00
charmap "<RED>", $38 ; wRedsName
charmap "<GREEN>", $39 ; wGreensName
charmap "<ENEMY>", $3f
2018-01-23 22:39:09 +00:00
charmap "<MOM>", $49 ; wMomsName
2017-12-15 05:38:52 +00:00
charmap "<PKMN>", $4a ; "<PK><MN>"
charmap "<_CONT>", $4b ; implements "<CONT>"
charmap "<SCROLL>", $4c
2017-12-15 05:38:52 +00:00
charmap "<NEXT>", $4e
charmap "<LINE>", $4f
charmap "@", $50 ; string terminator
charmap "<PARA>", $51
2018-01-23 22:39:09 +00:00
charmap "<PLAYER>", $52 ; wPlayerName
charmap "<RIVAL>", $53 ; wRivalName
2017-12-15 05:38:52 +00:00
charmap "#", $54 ; "POKé"
charmap "<CONT>", $55
2018-01-19 07:30:19 +00:00
charmap "<……>", $56 ; "……"
2017-12-15 05:38:52 +00:00
charmap "<DONE>", $57
charmap "<PROMPT>", $58
charmap "<TARGET>", $59
charmap "<USER>", $5a
charmap "<PC>", $5b ; "PC"
charmap "<TM>", $5c ; "TM"
2018-01-19 03:06:51 +00:00
charmap "<TRAINER>", $5d ; "TRAINER"
2017-12-15 05:38:52 +00:00
charmap "<ROCKET>", $5e ; "ROCKET"
charmap "<DEXEND>", $5f
2015-10-17 21:18:52 +00:00
; Actual characters (from gfx/font/font_extra.png)
2015-10-17 21:18:52 +00:00
2017-12-15 05:38:52 +00:00
charmap "<BOLD_A>", $60 ; unused
charmap "<BOLD_B>", $61 ; unused
charmap "<BOLD_C>", $62 ; unused
charmap "<BOLD_D>", $63 ; unused
charmap "<BOLD_E>", $64 ; unused
charmap "<BOLD_F>", $65 ; unused
charmap "<BOLD_G>", $66 ; unused
charmap "<BOLD_H>", $67 ; unused
charmap "<BOLD_I>", $68 ; unused
charmap "<BOLD_V>", $69
charmap "<BOLD_S>", $6a
charmap "<BOLD_L>", $6b ; unused
charmap "<BOLD_M>", $6c ; unused
charmap "<COLON>", $6d ; colon with tinier dots than ":"
charmap "ぃ", $6e ; hiragana small i, unused
charmap "ぅ", $6f ; hiragana small u, unused
charmap "<PO>", $70
charmap "<KE>", $71
2018-01-19 07:30:19 +00:00
charmap "“", $72 ; opening quote
charmap "”", $73 ; closing quote
2017-12-15 05:38:52 +00:00
charmap "·", $74 ; middle dot, unused
charmap "…", $75 ; ellipsis
charmap "ぁ", $76 ; hiragana small a, unused
charmap "ぇ", $77 ; hiragana small e, unused
charmap "ぉ", $78 ; hiragana small o, unused
charmap "┌", $79
charmap "─", $7a
charmap "┐", $7b
charmap "│", $7c
charmap "└", $7d
charmap "┘", $7e
charmap " ", $7f
2015-01-20 08:01:23 +00:00
; Actual characters (from gfx/font/font_battle_extra.png)
2017-12-15 05:38:52 +00:00
charmap "<LV>", $6e
2018-01-20 01:48:33 +00:00
charmap "<DO>", $70 ; hiragana small do, unused
2017-12-15 05:38:52 +00:00
charmap "◀", $71
charmap "『", $72 ; Japanese opening quote, unused
charmap "<ID>", $73
charmap "№", $74
; Actual characters (from other graphics files)
2020-11-17 16:12:21 +00:00
; needed for _LoadFontsExtra1 (see engine/gfx/load_font.asm)
2018-01-19 07:30:19 +00:00
charmap "■", $60 ; gfx/font/black.2bpp
2017-12-15 05:38:52 +00:00
charmap "▲", $61 ; gfx/font/up_arrow.png
2018-01-19 07:30:19 +00:00
charmap "☎", $62 ; gfx/font/phone_icon.2bpp
; needed for MagikarpHouseSign (see engine/events/magikarp.asm)
2017-12-15 05:38:52 +00:00
charmap "", $6e ; gfx/font/feet_inches.png
charmap "″", $6f ; gfx/font/feet_inches.png
2018-01-13 20:22:16 +00:00
; needed for StatsScreen_PlaceShinyIcon and PrintPartyMonPage1
2018-01-19 07:30:19 +00:00
charmap "⁂", $3f ; gfx/stats/stats_tiles.png, tile 14
2018-01-13 20:22:16 +00:00
; Actual characters (from gfx/font/font.png)
2017-12-15 05:38:52 +00: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
charmap "Ä", $c0
charmap "Ö", $c1
charmap "Ü", $c2
charmap "ä", $c3
charmap "ö", $c4
charmap "ü", $c5
charmap "'d", $d0
charmap "'l", $d1
charmap "'m", $d2
charmap "'r", $d3
charmap "'s", $d4
charmap "'t", $d5
charmap "'v", $d6
charmap "←", $df
charmap "'", $e0
charmap "<PK>", $e1
charmap "<MN>", $e2
charmap "-", $e3
charmap "?", $e6
charmap "!", $e7
charmap ".", $e8
charmap "&", $e9
charmap "é", $ea
charmap "→", $eb
charmap "▷", $ec
charmap "▶", $ed
charmap "▼", $ee
charmap "♂", $ef
charmap "¥", $f0 ; Poké Dollar sign
2017-12-15 05:38:52 +00:00
charmap "×", $f1
2018-01-19 02:15:59 +00:00
charmap "<DOT>", $f2 ; decimal point; same as "." in English
2017-12-15 05:38:52 +00:00
charmap "/", $f3
charmap ",", $f4
charmap "♀", $f5
charmap "0", $f6
charmap "1", $f7
charmap "2", $f8
charmap "3", $f9
charmap "4", $fa
charmap "5", $fb
charmap "6", $fc
charmap "7", $fd
charmap "8", $fe
charmap "9", $ff
2015-10-17 21:18:52 +00:00
2018-01-19 01:51:38 +00:00
; Japanese control characters (see home/text.asm)
2015-01-20 08:01:23 +00:00
2020-06-16 19:49:32 +00:00
charmap "<JP_18>", $18 ; "ノ゛" (ungrammatical)
charmap "<NI>", $1d ; "に "
charmap "<TTE>", $1e ; "って"
charmap "<WO>", $1f ; "を "
charmap "<TA!>", $22 ; "た!"
charmap "<KOUGEKI>", $23 ; "こうげき"
charmap "<WA>", $24 ; "は "
charmap "<NO>", $25 ; "の "
charmap "<ROUTE>", $35 ; "ばん どうろ"
charmap "<WATASHI>", $36 ; "わたし"
charmap "<KOKO_WA>", $37 ; "ここは"
charmap "<GA>", $4a ; "が "
2018-01-19 01:51:38 +00:00
; Japanese kana, for those bits of text that were not translated to English
charmap "ガ", $05
charmap "ギ", $06
charmap "グ", $07
charmap "ゲ", $08
charmap "ゴ", $09
charmap "ザ", $0a
charmap "ジ", $0b
charmap "ズ", $0c
charmap "ゼ", $0d
charmap "ゾ", $0e
charmap "ダ", $0f
2015-01-20 08:01:23 +00:00
charmap "ヂ", $10
charmap "ヅ", $11
charmap "デ", $12
charmap "ド", $13
charmap "バ", $19
charmap "ビ", $1a
charmap "ブ", $1b
charmap "ボ", $1c
charmap "が", $26
charmap "ぎ", $27
charmap "ぐ", $28
charmap "げ", $29
charmap "ご", $2a
charmap "ざ", $2b
charmap "じ", $2c
charmap "ず", $2d
charmap "ぜ", $2e
charmap "ぞ", $2f
charmap "だ", $30
charmap "ぢ", $31
charmap "づ", $32
charmap "で", $33
charmap "ど", $34
charmap "ば", $3a
charmap "び", $3b
charmap "ぶ", $3c
charmap "べ", $3d
charmap "ぼ", $3e
charmap "パ", $40
charmap "ピ", $41
charmap "プ", $42
charmap "ポ", $43
charmap "ぱ", $44
charmap "ぴ", $45
charmap "ぷ", $46
charmap "ぺ", $47
charmap "ぽ", $48
2018-01-20 01:48:33 +00:00
charmap "「", $70
charmap "」", $71
charmap "』", $73
charmap "・", $74
2018-01-20 01:48:33 +00:00
charmap "⋯", $75
charmap " ", $7f
2015-01-20 08:01:23 +00:00
charmap "ア", $80
charmap "イ", $81
charmap "ウ", $82
charmap "エ", $83
2018-01-20 01:48:33 +00:00
charmap "オ", $84
2015-01-20 08:01:23 +00:00
charmap "カ", $85
charmap "キ", $86
charmap "ク", $87
charmap "ケ", $88
charmap "コ", $89
charmap "サ", $8a
charmap "シ", $8b
charmap "ス", $8c
charmap "セ", $8d
charmap "ソ", $8e
charmap "タ", $8f
charmap "チ", $90
charmap "ツ", $91
charmap "テ", $92
charmap "ト", $93
charmap "ナ", $94
charmap "ニ", $95
charmap "ヌ", $96
charmap "ネ", $97
charmap "", $98
charmap "ハ", $99
charmap "ヒ", $9a
charmap "フ", $9b
charmap "ホ", $9c
charmap "マ", $9d
charmap "ミ", $9e
charmap "ム", $9f
charmap "メ", $a0
charmap "モ", $a1
charmap "ヤ", $a2
charmap "ユ", $a3
charmap "ヨ", $a4
charmap "ラ", $a5
charmap "ル", $a6
charmap "レ", $a7
charmap "ロ", $a8
charmap "ワ", $a9
charmap "ヲ", $aa
charmap "ン", $ab
charmap "ッ", $ac
charmap "ャ", $ad
charmap "ュ", $ae
charmap "ョ", $af
charmap "ィ", $b0
2016-03-03 05:07:17 +00:00
2015-01-20 08:01:23 +00:00
charmap "あ", $b1
charmap "い", $b2
charmap "う", $b3
charmap "え", $b4
charmap "お", $b5
charmap "か", $b6
charmap "き", $b7
charmap "く", $b8
charmap "け", $b9
charmap "こ", $ba
charmap "さ", $bb
charmap "し", $bc
charmap "す", $bd
charmap "せ", $be
charmap "そ", $bf
charmap "た", $c0
charmap "ち", $c1
charmap "つ", $c2
charmap "て", $c3
charmap "と", $c4
charmap "な", $c5
charmap "に", $c6
charmap "ぬ", $c7
charmap "ね", $c8
charmap "の", $c9
charmap "は", $ca
charmap "ひ", $cb
charmap "ふ", $cc
charmap "へ", $cd
charmap "ほ", $ce
charmap "ま", $cf
charmap "み", $d0
charmap "む", $d1
charmap "め", $d2
charmap "も", $d3
charmap "や", $d4
charmap "ゆ", $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 "ょ", $e2
2016-03-03 05:07:17 +00:00
2015-01-20 08:01:23 +00:00
charmap "ー", $e3
2016-03-03 05:07:17 +00:00
charmap "゚", $e4
charmap "゙", $e5
2018-01-20 01:48:33 +00:00
charmap "", $e6
charmap "", $e7
charmap "。", $e8
2015-01-20 08:01:23 +00:00
charmap "ァ", $e9
2018-01-20 01:48:33 +00:00
charmap "ゥ", $ea
charmap "ェ", $eb
charmap "円", $f0
charmap "", $f2
charmap "", $f3
charmap "ォ", $f4
charmap "", $f6
charmap "", $f7
charmap "", $f8
charmap "", $f9
charmap "", $fa
charmap "", $fb
charmap "", $fc
charmap "", $fd
charmap "", $fe
charmap "", $ff
; ASCII charmap, for mobile functions
2019-11-18 23:48:39 +00:00
pushc
2022-10-03 02:03:53 +00: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 23:48:39 +00:00
popc