From 8bb4e1085627569ce8a77ce6cec347941ceb68c4 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 10 May 2012 09:18:23 -0500 Subject: debugging to figure out the TextScript at 0x5daf1 original-commit-id: 7dd429fdf461082d04a518f3186d7b20d38c035b --- crystal.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crystal.py') 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) -- cgit v1.2.3