ref: 6321bf121f0afc5a16a510e08c688bcb6bf5ab15
parent: 94a6e1b0ccb531474e662a522940241a785b4739
author: Bryan Bishop <[email protected]>
date: Fri Apr 27 13:35:06 EDT 2012
TextPointerLabelParam.get_dependencies() now returns the text pointer
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1522,7 +1522,10 @@
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)
-
+
+ def get_dependencies(self, recompute=False, global_dependencies=set()):
+ global_dependencies.add(self.text)
+ return [self.text]
class MovementPointerLabelParam(PointerLabelParam):
pass