summaryrefslogtreecommitdiff
path: root/src/constants/charmaps.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-07-11 13:22:46 +0200
committerxCrystal <rgr.crystal@gmail.com>2018-07-11 13:22:46 +0200
commit3921b82124e51a1d1054bf5339b15c00ed8298cf (patch)
tree2246d3f80b9c7bfad56a4c3e49745fc1143aa0aa /src/constants/charmaps.asm
parent8993df3b7e15782492ae74f146b44d79a265905c (diff)
Create more text macros, rename/document some text engine things
Diffstat (limited to 'src/constants/charmaps.asm')
-rw-r--r--src/constants/charmaps.asm65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/constants/charmaps.asm b/src/constants/charmaps.asm
new file mode 100644
index 0000000..4731f7d
--- /dev/null
+++ b/src/constants/charmaps.asm
@@ -0,0 +1,65 @@
+; control characters
+ charmap "<RAMNAME>", TX_RAM1
+ charmap "<RAMTEXT>", TX_RAM2
+ charmap "<RAMNUM>", TX_RAM3
+
+; ascii half-width font
+ charmap "é", "`"
+ charmap "♂", "$"
+ charmap "♀", "%"
+ charmap "”", "\""
+
+; TX_SYMBOL (full-tile icons/symbols loaded at the beginning of v0Tiles2)
+; TODO: If user-defined functions ever become a thing a symbol(*) syntax
+; would probably be preferred over SYM_*
+ charmap "<", TX_SYMBOL
+ const_def
+ txsymbol SPACE ; $00
+ txsymbol FIRE ; $01
+ txsymbol GRASS ; $02
+ txsymbol LIGHTNING ; $03
+ txsymbol WATER ; $04
+ txsymbol FIGHTING ; $05
+ txsymbol PSYCHIC ; $06
+ txsymbol COLORLESS ; $07
+ txsymbol POISONED ; $08
+ txsymbol ASLEEP ; $09
+ txsymbol CONFUSED ; $0a
+ txsymbol PARALYZED ; $0b
+ txsymbol CURSOR_U ; $0c
+ txsymbol POKEMON ; $0d
+ txsymbol UNKNOWN_0E ; $0e
+ txsymbol CURSOR_R ; $0f
+ txsymbol HP ; $10
+ txsymbol Lv ; $11
+ txsymbol E ; $12
+ txsymbol No ; $13
+ txsymbol PLUSPOWER ; $14
+ txsymbol DEFENDER ; $15
+ txsymbol HP_OK ; $16
+ txsymbol HP_NOK ; $17
+ txsymbol BOX_TOP_L ; $18
+ txsymbol BOX_TOP_R ; $19
+ txsymbol BOX_BTM_L ; $1a
+ txsymbol BOX_BTM_R ; $1b
+ txsymbol BOX_TOP ; $1c
+ txsymbol BOX_BOTTOM ; $1d
+ txsymbol BOX_LEFT ; $1e
+ txsymbol BOX_RIGHT ; $1f
+ txsymbol 0 ; $20
+ txsymbol 1 ; $21
+ txsymbol 2 ; $22
+ txsymbol 3 ; $23
+ txsymbol 4 ; $24
+ txsymbol 5 ; $25
+ txsymbol 6 ; $26
+ txsymbol 7 ; $27
+ txsymbol 8 ; $28
+ txsymbol 9 ; $29
+ txsymbol DOT ; $2a
+ txsymbol PLUS ; $2b
+ txsymbol MINUS ; $2c
+ txsymbol x ; $2d
+ txsymbol SLASH ; $2e
+ txsymbol CURSOR_D ; $2f
+ txsymbol PRIZE ; $30