summaryrefslogtreecommitdiff
path: root/extras/analyze_texts.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/analyze_texts.py')
-rw-r--r--extras/analyze_texts.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/analyze_texts.py b/extras/analyze_texts.py
index 733d0d61..6a399bfb 100644
--- a/extras/analyze_texts.py
+++ b/extras/analyze_texts.py
@@ -65,6 +65,9 @@ def parse_text_script(text_pointer, text_id, map_id, txfar=False):
offset = text_pointer
commands = {}
command_counter = 0
+
+ if extract_maps.rom == None:
+ extract_maps.load_rom()
end = False
while not end: