diff options
author | Mateusz Naściszewski <matin1111@wp.pl> | 2020-12-12 19:30:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 12:30:04 -0600 |
commit | 5e2842c6989e27f9dcc7b9f9a309c00bb5e58566 (patch) | |
tree | bcc702bc8f8b54eec54a69d7859bcdc916970fb5 /data/system_sbin.s | |
parent | 1b9aeaf5186492f767e591484efe4ed37d0cdb75 (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 'data/system_sbin.s')
-rw-r--r-- | data/system_sbin.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/system_sbin.s b/data/system_sbin.s index 7a40973..73aac26 100644 --- a/data/system_sbin.s +++ b/data/system_sbin.s @@ -3,10 +3,10 @@ .global gUnknown_8300500 gUnknown_8300500: @ 8300500 @ replacing .incbin "baserom.gba", 0x00300500, 0x72e40 -.asciz "pksdir0" +.string "pksdir0\0" .byte 0xaf, 0x01, 0x00, 0x00 @ 431 (421 level maps) .byte 0x18, 0x05, 0x30, 0x08 @ Pointer to Data Root Table -.asciz "pksdir0" +.string "pksdir0\0" @ Data Root Table .byte 0x14, 0x20, 0x30, 0x08 @ Pointer to font string @@ -873,7 +873,7 @@ gUnknown_8300500: @ 8300500 .byte 0xf4, 0x0b, 0x36, 0x08 @ End of Data Root Table -.asciz "wazapara" +.string "wazapara\0" .align 2,0 .byte 0x6d, 0x6f, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x61, 0x00, 0x00, 0x00, 0x00 .byte 0x6c, 0x76, 0x6d, 0x70, 0x34, 0x32, 0x31, 0x00 |