shithub: pokecrystal

Download patch

ref: 622d6b86f71f29f6a03df7cef7e825ee84260ea9
parent: fee0f0d6a4ab194f8aa1ecc1a886cbca22052c6b
author: yenatch <[email protected]>
date: Fri Jun 28 17:16:31 EDT 2013

crystal: PointerLabelToScriptPointer bank is not reversed

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1476,7 +1476,7 @@
     def parse(self):
         PointerLabelParam.parse(self)
         address = calculate_pointer_from_bytes_at(self.parsed_address, bank=self.bank)
-        address2 = calculate_pointer_from_bytes_at(address, bank="reverse") # maybe not "reverse"?
+        address2 = calculate_pointer_from_bytes_at(address, bank=True)
         self.script = parse_script_engine_script_at(address2, origin=False, map_group=self.map_group, map_id=self.map_id, force=self.force, debug=self.debug)