diff options
| author | Bryan Bishop <kanzure@gmail.com> | 2012-04-26 14:46:46 -0500 | 
|---|---|---|
| committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-26 14:46:46 -0500 | 
| commit | 8b46073c58901458162c6e061663b10602059d0b (patch) | |
| tree | f07c63590ca555c2534b187e19e043841bd3bb02 | |
| parent | 16a55de2c8835e3f45c491c7dd95caf0aa9e1c0e (diff) | |
revert to dbw in MapScriptHeader.to_asm()
original-commit-id: d37f9869712ded6feed36537932c75255a3665ae
| -rw-r--r-- | crystal.py | 3 | 
1 files changed, 1 insertions, 2 deletions
| @@ -3468,8 +3468,7 @@ class MapScriptHeader:          output += "db %d"%self.callback_count          if len(self.callbacks) > 0:              output += "\n\n; callbacks\n\n" -            #not so sure about this next one -            output += "\n\n".join(["db "+str(p["hook"].byte)+"\ndw "+p["callback"].to_asm() for p in self.callbacks]) +            output += "\n\n".join(["dbw "+str(p["hook"].byte)+", "+p["callback"].to_asm() for p in self.callbacks])          return output  all_map_script_headers = [] | 
