shithub: pokecrystal

Download patch

ref: 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901
parent: cb0bcb77b93eebd16be8ee188e1bfb3a6a8ac80b
author: Bryan Bishop <[email protected]>
date: Fri May 4 12:51:27 EDT 2012

fix was_comma statement (gah)

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1852,10 +1852,13 @@
                     if not was_comma:
                         output += ", "
                     output += "$%.2x\n" % (byte)
-                    was_comma = True
+                    was_comma = False
                     new_line = True
             elif byte == 0x50:
                 assert not new_line, "can't have $50 or '@' as the first character on a newline"
+
+                if in_quotes:
+                    output += "@\""
                 pass
 
             # TODO