From c8b4c3203c8551f8ca835b35e4ad81a8f47900bd Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 21 Apr 2012 23:46:58 -0500 Subject: [PATCH] fix MapEventHeader asm formatting --- extras/crystal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/crystal.py b/extras/crystal.py index 6187a0b1b..239ddff83 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -4217,6 +4217,7 @@ def to_asm(some_object): 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"