mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
TextPointerLabelParam.get_dependencies() now returns the text pointer
This commit is contained in:
parent
94a6e1b0cc
commit
6321bf121f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user