mirror of https://github.com/pret/pokecrystal.git
revert to dbw in MapScriptHeader.to_asm()
This commit is contained in:
parent
e14ee0838d
commit
d37f986971
|
@ -3468,8 +3468,7 @@ class MapScriptHeader:
|
||||||
output += "db %d"%self.callback_count
|
output += "db %d"%self.callback_count
|
||||||
if len(self.callbacks) > 0:
|
if len(self.callbacks) > 0:
|
||||||
output += "\n\n; callbacks\n\n"
|
output += "\n\n; callbacks\n\n"
|
||||||
#not so sure about this next one
|
output += "\n\n".join(["dbw "+str(p["hook"].byte)+", "+p["callback"].to_asm() for p in self.callbacks])
|
||||||
output += "\n\n".join(["db "+str(p["hook"].byte)+"\ndw "+p["callback"].to_asm() for p in self.callbacks])
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
all_map_script_headers = []
|
all_map_script_headers = []
|
||||||
|
|
Loading…
Reference in New Issue