mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
TextPointerLabelParam.get_dependencies() now returns the text pointer
This commit is contained in:
parent
94a6e1b0cc
commit
6321bf121f
@ -1523,6 +1523,9 @@ class TextPointerLabelParam(PointerLabelParam):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user