diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-27 17:35:06 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-27 17:35:06 -0500 |
commit | 6321bf121f0afc5a16a510e08c688bcb6bf5ab15 (patch) | |
tree | 869ebd010501a7610f40349bfc7582e0528143bb | |
parent | 94a6e1b0ccb531474e662a522940241a785b4739 (diff) |
TextPointerLabelParam.get_dependencies() now returns the text pointer
-rw-r--r-- | extras/crystal.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py index 5d9a8aa64..4458ee900 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -1522,7 +1522,10 @@ 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) - + + def get_dependencies(self, recompute=False, global_dependencies=set()): + global_dependencies.add(self.text) + return [self.text] class MovementPointerLabelParam(PointerLabelParam): pass |