summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/crystal.py b/crystal.py
index 22e9a98..a26cd1c 100644
--- a/crystal.py
+++ b/crystal.py
@@ -490,6 +490,11 @@ class TextScript:
# (actually i think this might be the next byte after??)
self.last_address = current_address
+ # just some debugging..
+ last_address = self.last_address
+ print "TextScript last_address == " + hex(last_address)
+ #assert last_address != 0x5db06, "TextScript.parse somehow has a text with a last_address of 0x5db06 instead of 0x5db07"
+
# store the script in the global table/map thing
script_parse_table[start_address:current_address] = self
all_texts.append(self)