From 94e486be8983dfea18cb97b767447e0c2a551877 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Fri, 27 Apr 2012 18:50:13 -0500 Subject: [PATCH] still having trouble with UnknownText_0x580c7 not in main.asm --- extras/crystal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]],