summaryrefslogtreecommitdiff
path: root/extras/crystal.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/crystal.py')
-rw-r--r--extras/crystal.py1
1 files changed, 1 insertions, 0 deletions
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"