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_dungeon.inc | |
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_dungeon.inc')
-rw-r--r-- | data/unk_dungeon.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/unk_dungeon.inc b/data/unk_dungeon.inc index beac28c..929330c 100644 --- a/data/unk_dungeon.inc +++ b/data/unk_dungeon.inc @@ -1,10 +1,10 @@ .global gUnknown_83B0000 gUnknown_83B0000: @ 83B0000 @ replacing .incbin "baserom.gba", 0x003b0000, 0x151200 -.asciz "pksdir0" +.string "pksdir0\0" .byte 0xc7, 0x01, 0x00, 0x00 @ 455 palettes? .byte 0x18, 0x00, 0x3b, 0x08 @ Pointer to start of pointers? -.asciz "pksdir0" +.string "pksdir0\0" .byte 0xbc, 0x1c, 0x3b, 0x08 @ Pointer to b00canm .byte 0xcc, 0x1c, 0x3b, 0x08 @ Pointer to SIRO header .byte 0xb4, 0x1c, 0x3b, 0x08 @ Pointer to b00cel |