mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
remove bank id output in pretty_map_headers, it's wrong anyway
hg-commit-id: d6a22efde56f
This commit is contained in:
parent
f3bc2ccc9e
commit
e93230600f
|
@ -159,7 +159,7 @@ def map_header_pretty_printer(map_header):
|
||||||
|
|
||||||
#formatting: hex(y)[2:].zill(2) or "%02x" % (y,)
|
#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 $" + 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 + "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"
|
output += spacing + "dw $" + map_pointer + ", $" + texts_pointer + ", $" + script_pointer + " ; blocks, texts, scripts\n"
|
||||||
|
|
Loading…
Reference in a new issue