Refactor logging statements to use %log_end macro for consistency across item and menu scripts
This commit is contained in:
@@ -25,7 +25,9 @@ endmacro
|
||||
; Usage: %log_section("Sprites", !LOG_SPRITES)
|
||||
macro log_section(name, flag)
|
||||
if !DEBUG == 1 && <flag> == 1
|
||||
print "\n--- <name> ---"
|
||||
print ""
|
||||
print "--- <name> ---"
|
||||
print ""
|
||||
endif
|
||||
endmacro
|
||||
|
||||
|
||||
Reference in New Issue
Block a user