ah that wouldn't work

This commit is contained in:
spannerisms
2021-04-13 19:26:24 -04:00
parent 975dd10db5
commit 12decaab45

View File

@@ -40,13 +40,12 @@ macro smallcredits(text)
endmacro endmacro
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
macro bigcredits(text)
macro addbigcredits(text, padding)
!CLINE #= !CLINE+1 !CLINE #= !CLINE+1
table "creditscharmapbighi.txt" table "creditscharmapbighi.txt"
?line_top: ?line_top:
db <padding> db (32-(?end-?text))/2
db 2*(?end-?text)-1 db 2*(?end-?text)-1
?text: ?text:
db "<text>" db "<text>"
@@ -59,7 +58,7 @@ macro addbigcredits(text, padding)
table "creditscharmapbiglo.txt" table "creditscharmapbiglo.txt"
?line_bottom: ?line_bottom:
db <padding> db (32-(?end-?text))/2
db 2*(?end-?text)-1 db 2*(?end-?text)-1
db "<text>" db "<text>"
@@ -71,14 +70,36 @@ macro addbigcredits(text, padding)
endmacro endmacro
macro bigcredits(text)
addbigcredits("<text>", (32-(?end-?text))/2)
endmacro
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
macro bigcreditsleft(text) macro bigcreditsleft(text)
addbigcredits("<text>", 2) !CLINE #= !CLINE+1
table "creditscharmapbighi.txt"
?line_top:
db 2
db 2*(?end-?text)-1
?text:
db "<text>"
?end:
pushpc
org CreditsLineTable+!CLINE+!CLINE : dw ?line_top
pullpc
table "creditscharmapbiglo.txt"
?line_bottom:
db 2
db 2*(?end-?text)-1
db "<text>"
!CLINE #= !CLINE+1
pushpc
org CreditsLineTable+!CLINE+!CLINE : dw ?line_bottom
pullpc
endmacro endmacro
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------