summaryrefslogtreecommitdiff
path: root/extras/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-10 09:18:23 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-10 09:18:23 -0500
commit7dd429fdf461082d04a518f3186d7b20d38c035b (patch)
treec52e69860abf8b5c9b1d0a7abf883d229f3de91b /extras/crystal.py
parent6ff6f93397f18f8764caa4e4de4a85c23942ef81 (diff)
debugging to figure out the TextScript at 0x5daf1
Diffstat (limited to 'extras/crystal.py')
-rw-r--r--extras/crystal.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index 22e9a9878..a26cd1c80 100644
--- a/extras/crystal.py
+++ b/extras/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)