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/unk_data.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/unk_data.s')
-rw-r--r-- | data/unk_data.s | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/data/unk_data.s b/data/unk_data.s index 25f11fe..1ed8758 100644 --- a/data/unk_data.s +++ b/data/unk_data.s @@ -1,14 +1,14 @@ .section .rodata - .asciz "pksdir0" + .string "pksdir0\0" .byte 0x01, 0x00, 0x00, 0x00 @ # of pointers .byte 0x18, 0x00, 0x30, 0x08 @ pointer to pointer table - .asciz "pksdir0" + .string "pksdir0\0" .byte 0x20, 0x00, 0x30, 0x08 @ pointer to monpal string .byte 0x30, 0x00, 0x30, 0x08 @ Pointer to unknown palette - .asciz "monpal" + .string "monpal\0" .align 2,0 - .asciz "pksdir0" + .string "pksdir0\0" @ Unknown Palette .byte 0x00, 0x00, 0x00, 0x80 @@ -267,10 +267,10 @@ .byte 0x00, 0x00, 0x00, 0x80 .byte 0x00, 0x00, 0x00, 0x80 - .asciz "pksdir0" - .asciz "pksdir0" - .asciz "pksdir0" - .asciz "pksdir0" + .string "pksdir0\0" + .string "pksdir0\0" + .string "pksdir0\0" + .string "pksdir0\0" @ Blank Space .byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff |