fix bug in find_all_text_pointers_in_script_engine_script

original-commit-id: 35ecd20aa26a382095300dc4f345f1f074e4fb5e
This commit is contained in:
Bryan Bishop
2012-03-24 02:15:43 -05:00
parent 2d79e372e4
commit 6e6f2abc51

View File

@@ -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"])