diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-25 18:18:14 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-25 18:18:14 -0500 |
commit | c8cdbdede160ae1002a2c5a492dcda9f20b0945d (patch) | |
tree | 095332ed0b93980f122feac90cc917c9a504ccf3 /extras/crystal.py | |
parent | 759c55d3f2cea4a8b09943ee7c3cb95d9cc5423e (diff) |
oops, make MapScriptHeader and others show up again
Diffstat (limited to 'extras/crystal.py')
-rw-r--r-- | extras/crystal.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py index f688a3ea9..b08622066 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -4691,7 +4691,10 @@ class Asm: current_requested_newlines_before = 0 current_requested_newlines_after = 1 elif isinstance(each, AsmSection) or isinstance(each, Incbin) or hasattr(each, "to_asm"): - asm = each.to_asm() + if isinstance(each, AsmSection) or isinstance(each, Incbin): + asm = each.to_asm() + else: + asm = to_asm(each) current_requested_newlines_before = 2 current_requested_newlines_after = 2 else: |