summaryrefslogtreecommitdiff
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
commit8bb4e1085627569ce8a77ce6cec347941ceb68c4 (patch)
treea37518748a5d941b0781368604a3a1d0ba0c9e35
parent0c489f274f9e5d0f8b4fd82e1ba0aa740e461c20 (diff)
debugging to figure out the TextScript at 0x5daf1
original-commit-id: 7dd429fdf461082d04a518f3186d7b20d38c035b
-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)