ref: e93230600f36516139d34bfc3b935c3f1fd6f368
parent: f3bc2ccc9e94e814ed72bf7483acd9e7850654b9
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Jan 3 11:09:16 EST 2012
remove bank id output in pretty_map_headers, it's wrong anyway hg-commit-id: d6a22efde56f
--- a/extras/pretty_map_headers.py
+++ b/extras/pretty_map_headers.py
@@ -159,7 +159,7 @@
#formatting: hex(y)[2:].zill(2) or "%02x" % (y,)
- output = asm_name + ": ; " + address + " to " + hex(int(address, base) + byte_size) + " (" + str(byte_size) + " bytes) (bank=" + str(int(bank, base)) + ") (id=" + str(id) + ")\n"
+ output = asm_name + ": ; " + address + " to " + hex(int(address, base) + byte_size) + " (" + str(byte_size) + " bytes) (id=" + str(id) + ")\n"
output += spacing + "db $" + str(tileset).zfill(2) + " ; tileset\n"
output += spacing + "db $" + hex(y)[2:].zfill(2) + ", $" + hex(x)[2:].zfill(2) + " ; dimensions (y, x)\n"
output += spacing + "dw $" + map_pointer + ", $" + texts_pointer + ", $" + script_pointer + " ; blocks, texts, scripts\n"