diff --git a/stats/creditsnew.asm b/stats/creditsnew.asm index 72a2f1d..726e6b0 100644 --- a/stats/creditsnew.asm +++ b/stats/creditsnew.asm @@ -40,13 +40,12 @@ macro smallcredits(text) endmacro ;--------------------------------------------------------------------------------------------------- - -macro addbigcredits(text, padding) +macro bigcredits(text) !CLINE #= !CLINE+1 table "creditscharmapbighi.txt" ?line_top: - db + db (32-(?end-?text))/2 db 2*(?end-?text)-1 ?text: db "" @@ -59,7 +58,7 @@ macro addbigcredits(text, padding) table "creditscharmapbiglo.txt" ?line_bottom: - db + db (32-(?end-?text))/2 db 2*(?end-?text)-1 db "" @@ -71,14 +70,36 @@ macro addbigcredits(text, padding) endmacro -macro bigcredits(text) - addbigcredits("", (32-(?end-?text))/2) -endmacro - ;--------------------------------------------------------------------------------------------------- macro bigcreditsleft(text) - addbigcredits("", 2) + !CLINE #= !CLINE+1 + table "creditscharmapbighi.txt" + + ?line_top: + db 2 + db 2*(?end-?text)-1 + ?text: + db "" + ?end: + + pushpc + org CreditsLineTable+!CLINE+!CLINE : dw ?line_top + pullpc + + + table "creditscharmapbiglo.txt" + ?line_bottom: + db 2 + db 2*(?end-?text)-1 + db "" + + + !CLINE #= !CLINE+1 + pushpc + org CreditsLineTable+!CLINE+!CLINE : dw ?line_bottom + pullpc + endmacro ;---------------------------------------------------------------------------------------------------