shithub: pokecrystal

Download patch

ref: ba72006077d276c85ed4c1e20d9a1f8610b566ed
parent: a34d4621eed4212f81540510829b960e87a638be
author: Bryan Bishop <[email protected]>
date: Sun May 20 10:32:19 EDT 2012

add the labels to the scripts, not to the params pointing to scripts

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -4458,6 +4458,7 @@
 
             param = ScriptPointerLabelParam(address=self.address+3, map_group=self.map_group, map_id=self.map_id, debug=self.debug, force=False)
             self.params.append(param)
+            param = script_parse_table[param.parsed_address]
             param.label = Label(address=param.address, object=param, name="Map"+map_names[self.map_group][self.map_id]["label"]+"Signpost"+str(self.id)+"Script")
 
             #self.script_address = script_address