You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
set dependencies and get_dependencies on ApplyMovementData for asm dumping
This commit is contained in:
@@ -2004,6 +2004,7 @@ class ApplyMovementData:
|
|||||||
self.map_id = map_id
|
self.map_id = map_id
|
||||||
self.debug = debug
|
self.debug = debug
|
||||||
self.force = force
|
self.force = force
|
||||||
|
self.dependencies = []
|
||||||
|
|
||||||
if not label:
|
if not label:
|
||||||
label = self.base_label + hex(address)
|
label = self.base_label + hex(address)
|
||||||
@@ -2104,6 +2105,10 @@ class ApplyMovementData:
|
|||||||
asm_output = "\n".join([command.to_asm() for command in self.commands])
|
asm_output = "\n".join([command.to_asm() for command in self.commands])
|
||||||
return asm_output
|
return asm_output
|
||||||
|
|
||||||
|
# TODO: get_dependencies doesn't work if ApplyMovementData uses labels in the future
|
||||||
|
def get_dependencies(self, recompute=False, global_dependencies=set()):
|
||||||
|
return []
|
||||||
|
|
||||||
class TextCommand(Command):
|
class TextCommand(Command):
|
||||||
# an individual text command will not end it
|
# an individual text command will not end it
|
||||||
end = False
|
end = False
|
||||||
|
Reference in New Issue
Block a user