summaryrefslogtreecommitdiff
path: root/charmap.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-07-17 23:08:04 +0200
committermid-kid <esteve.varela@gmail.com>2018-07-18 10:55:30 +0200
commit1fc7430a2baa2835f4dad4676a3e7ae513275a7d (patch)
tree9ea4f88527995b7b7790e988fc4c495d0e7dbe85 /charmap.asm
parent778d57ba217e9f0da9af03beceab0cc5fbd153b5 (diff)
Fix misnamed character codes
Some character codes were erroneously named after their text command counterparts. This has caused a lot of confusion with naming their functions and with other things. I've also removed the `dict2` macro and expanded the `dict` macro. This really isn't something we should be doing for macros but I can't deny it looks a lot neater than repeated code.
Diffstat (limited to 'charmap.asm')
-rw-r--r--charmap.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/charmap.asm b/charmap.asm
index e04091a88..d5bd2bcf1 100644
--- a/charmap.asm
+++ b/charmap.asm
@@ -2,9 +2,12 @@
; 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 "¯", $1f ; soft linebreak
- charmap "<LNBRK>", $22
+ charmap "<LF>", $22
charmap "<POKE>", $24 ; "<PO><KE>"
charmap "%", $25 ; soft linebreak in landmark names
charmap "<RED>", $38 ; wRedsName