shithub: pokecrystal

Download patch

ref: 35ecd20aa26a382095300dc4f345f1f074e4fb5e
parent: da22f934f9442f40dbce7ab4e3709f67240039af
author: Bryan Bishop <[email protected]>
date: Fri Mar 23 22:15:43 EDT 2012

fix bug in find_all_text_pointers_in_script_engine_script

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1123,9 +1123,9 @@
         elif command["type"] == 0x4C:
             addresses.add(command["pointer"])
         elif command["type"] == 0x51:
-            addresses.add(command["text_pointer"])
+            addresses.add(command["pointer"])
         elif command["type"] == 0x53:
-            addresses.add(command["text_pointer"])
+            addresses.add(command["pointer"])
         elif command["type"] == 0x64:
             addresses.add(command["won_pointer"])
             addresses.add(command["lost_pointer"])