summaryrefslogtreecommitdiff
path: root/crystal.py
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
commit6e6f2abc51347ac328e314aea133a98d5aa63e33 (patch)
tree7af6781a18842b4be302877fcbeda22b1b23b10b /crystal.py
parent2d79e372e4e737a384ffb79c2834d644ac8d9f26 (diff)
fix bug in find_all_text_pointers_in_script_engine_script
original-commit-id: 35ecd20aa26a382095300dc4f345f1f074e4fb5e
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/crystal.py b/crystal.py
index c4b9e41..a75325c 100644
--- a/crystal.py
+++ b/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"])