diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-27 18:50:13 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-27 18:50:13 -0500 |
commit | 94e486be8983dfea18cb97b767447e0c2a551877 (patch) | |
tree | 0ea47ef68063be862995194fc84bbca7246e607c /extras/crystal.py | |
parent | 90cee9191e01720656819eef906fb5053108e606 (diff) |
still having trouble with UnknownText_0x580c7 not in main.asm
Diffstat (limited to 'extras/crystal.py')
-rw-r--r-- | extras/crystal.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py index 28b68b7a9..0aaf8f7d5 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -1523,6 +1523,8 @@ class TextPointerLabelParam(PointerLabelParam): address = calculate_pointer_from_bytes_at(self.address, bank=self.bank) if address != None and address != 0: self.text = parse_text_engine_script_at(address, map_group=self.map_group, map_id=self.map_id, force=self.force, debug=self.debug) + if not self.text: + self.text = script_parse_table[address] def get_dependencies(self, recompute=False, global_dependencies=set()): if self.text: @@ -1799,7 +1801,7 @@ pksv_crystal_more = { 0x49: ["loadmovesprites"], 0x4A: ["loadbytec1ce", ["byte", SingleByteParam]], #not pksv 0x4B: ["3writetext", ["text_pointer", PointerLabelBeforeBank]], - 0x4C: ["2writetext", ["text_pointer", TextPointerLabelParam]], + 0x4C: ["2writetext", ["text_pointer", RawTextPointerLabelParam]], 0x4D: ["repeattext", ["byte", SingleByteParam], ["byte", SingleByteParam]], #not pksv 0x4E: ["yesorno"], 0x4F: ["loadmenudata", ["data", MenuDataPointerParam]], |