You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
figuring out where a script appears based on a known address
This commit is contained in:
@@ -2295,6 +2295,10 @@ class Script:
|
||||
if not label:
|
||||
label = self.base_label + hex(self.address)
|
||||
self.label = Label(name=label, address=address, object=self)
|
||||
if "map_group" in kwargs.keys():
|
||||
self.map_group = kwargs["map_group"]
|
||||
if "map_id" in kwargs.keys():
|
||||
self.map_id = kwargs["map_id"]
|
||||
#parse the script at the address
|
||||
if "use_old_parse" in kwargs.keys() and kwargs["use_old_parse"] == True:
|
||||
self.old_parse(**kwargs)
|
||||
|
Reference in New Issue
Block a user