summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-03-24 02:15:43 -0500
committerBryan Bishop <kanzure@gmail.com>2012-03-24 02:15:43 -0500
commit35ecd20aa26a382095300dc4f345f1f074e4fb5e (patch)
treebeba5c5842aecf9467b92e57f760732256b7bdfe
parentda22f934f9442f40dbce7ab4e3709f67240039af (diff)
fix bug in find_all_text_pointers_in_script_engine_script
-rw-r--r--extras/crystal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index c4b9e411c..a75325cd7 100644
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1123,9 +1123,9 @@ def find_all_text_pointers_in_script_engine_script(script, bank):
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"])