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 | ed02842315303f0c96bc040073abb3f94efe0768 (patch) | |
tree | 2fe55ffa64d8ceca529b34344e57cfff07dbce13 | |
parent | 4d06e74973d72818ed3c0cc1213834334e73f9fc (diff) |
TextPointerLabelParam.get_dependencies() now returns the text pointer
original-commit-id: 6321bf121f0afc5a16a510e08c688bcb6bf5ab15
-rw-r--r-- | crystal.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |