shithub: pokecrystal

Download patch

ref: aed0202999656cf4cafd26c52bd98d9fcf5e63d4
parent: aecce03834844f6c876d903a781443d65dbc11cb
author: yenatch <[email protected]>
date: Tue May 14 14:18:07 EDT 2013

gbz80disasm: bank 1 was being read as bank 0

--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -595,9 +595,7 @@
     load_labels()
     load_rom()
 
-    bank_id = 0
-    if original_offset > 0x8000:
-        bank_id = original_offset / 0x4000
+    bank_id = original_offset / 0x4000
     if debug: print "bank id is: " + str(bank_id)
 
     last_hl_address = None #for when we're scanning the main map script