From 35ecd20aa26a382095300dc4f345f1f074e4fb5e Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 24 Mar 2012 02:15:43 -0500 Subject: [PATCH] fix bug in find_all_text_pointers_in_script_engine_script --- extras/crystal.py | 4 ++-- 1 file 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"])