summaryrefslogtreecommitdiff
path: root/charmap.txt
diff options
context:
space:
mode:
authorMateusz Naściszewski <matin1111@wp.pl>2020-12-12 19:30:04 +0100
committerGitHub <noreply@github.com>2020-12-12 12:30:04 -0600
commit5e2842c6989e27f9dcc7b9f9a309c00bb5e58566 (patch)
treebcc702bc8f8b54eec54a69d7859bcdc916970fb5 /charmap.txt
parent1b9aeaf5186492f767e591484efe4ed37d0cdb75 (diff)
Text data cleanup! (#6)
* Text data cleanup! Reformatted and fixed up all of data/text/, and extended charmap.txt The `#P` metacharacter (prompt) acts like a newline, so I reformatted it as such. All `.string` macros followed by `.byte 0x00` have been replaced with `.asciz` where possible, and `.string "...\0"` elsewhere, note that `.asciz` does not respect the charmap, so characters such as 'é' in 'Pokémon' or the various buttons would be incorrectly encoded. Also cleaned up occurences of `.byte 0x24`, which should just be a literal '$' inside the string. * Nuke all instances of `.asciz` As discussed on Discord, globally replaced all `.asciz` macros with `.string "...\0"`, as `.asciz` did not respect the charmap. * Minor string consistency fixes
Diffstat (limited to 'charmap.txt')
-rw-r--r--charmap.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/charmap.txt b/charmap.txt
index e7ea662..3124770 100644
--- a/charmap.txt
+++ b/charmap.txt
@@ -213,5 +213,11 @@ POKE = 83 BF 83 C4
A_BUTTON = 87 50
B_BUTTON = 87 51
+L_BUTTON = 87 74
+R_BUTTON = 84 86
+SELECT_BUTTON = 87 72 87 73
+START_BUTTON = 87 53 87 71
+DPAD = 87 52
-'\n' = 0A \ No newline at end of file
+'\0' = 00
+'\n' = 0A