From 5e2842c6989e27f9dcc7b9f9a309c00bb5e58566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Na=C5=9Bciszewski?= Date: Sat, 12 Dec 2020 19:30:04 +0100 Subject: Text data cleanup! (#6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- data/unk_dungeon.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/unk_dungeon.inc') 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 -- cgit v1.2.3