shithub: pokecrystal

Download patch

ref: c8b4c3203c8551f8ca835b35e4ad81a8f47900bd
parent: c33c15befbd3d957d89af11425c7be80c73a62f0
author: Bryan Bishop <kanzure@gmail.com>
date: Sat Apr 21 19:46:58 EDT 2012

fix MapEventHeader asm formatting

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -4217,6 +4217,7 @@
     asmr = some_object.to_asm()
     asmr = asmr.replace("\n", "\n"+spacing)
     asmr = asmr.replace("\n"+spacing+"\n", "\n\n"+spacing)
+    asmr = asmr.replace("\n\n"+spacing+spacing, "\n\n"+spacing)
     asm += spacing + asmr
     #show the address of the next byte below this
     asm += "\n; " + hex(last_address) + "\n"
--