shithub: pokecrystal

Download patch

ref: b0eee4c06b5d84161da04a4eb9cb05f53a8d3655
parent: 9672e960ee6822fd4cb7488412635c85751a1c3d
author: Bryan Bishop <[email protected]>
date: Fri Apr 27 11:47:51 EDT 2012

add newlines to generate_item_constants output

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1110,7 +1110,7 @@
     for (id, item) in item_constants.items():
         val = ("$%.2x"%id).upper()
         while len(item)<13: item+= " "
-        output += item + " EQU " + val
+        output += item + " EQU " + val + "\n"
     return output
 
 def find_all_text_pointers_in_script_engine_script(script, bank=None, debug=False):