shithub: pokered

Download patch

ref: 642c05df41558848408acffd22af58620e320615
parent: da22152bffeeeda5280c6af7e7a2a63e7761b98c
author: Bryan Bishop <kanzure@gmail.com>
date: Mon Jan 2 20:18:32 EST 2012

fix tileset in pretty_map_headers output

hg-commit-id: 96880cb1d281


--- a/extras/pretty_map_headers.py
+++ b/extras/pretty_map_headers.py
@@ -140,7 +140,7 @@
     asm_name = map_name_cleaner(name, id)
     if name == "FREEZE": return "" #skip freeze maps
 
-    tileset = int(map_header["tileset"], base)
+    tileset = map_header["tileset"][2:]
     y = int(map_header["y"], base)
     x = int(map_header["x"], base)
     map_pointer = map_header["map_pointer"]