remove padding

This commit is contained in:
spannerisms
2021-04-13 19:24:19 -04:00
parent 44445b51ce
commit 975dd10db5

View File

@@ -41,12 +41,12 @@ 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 (32-(?end-?text))/2 db <padding>
db 2*(?end-?text)-1 db 2*(?end-?text)-1
?text: ?text:
db "<text>" db "<text>"
@@ -59,7 +59,7 @@ macro bigcredits(text)
table "creditscharmapbiglo.txt" table "creditscharmapbiglo.txt"
?line_bottom: ?line_bottom:
db (32-(?end-?text))/2 db <padding>
db 2*(?end-?text)-1 db 2*(?end-?text)-1
db "<text>" db "<text>"
@@ -71,6 +71,16 @@ macro bigcredits(text)
endmacro endmacro
macro bigcredits(text)
addbigcredits("<text>", (32-(?end-?text))/2)
endmacro
;---------------------------------------------------------------------------------------------------
macro bigcreditsleft(text)
addbigcredits("<text>", 2)
endmacro
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
macro preline() macro preline()
@@ -546,19 +556,19 @@ print "Line number: !CLINE | Expected: 302"
%blankline() %blankline()
%blankline() %blankline()
%bigcredits("FIRST SWORD") %bigcreditsleft("FIRST SWORD")
%blankline() %blankline()
%bigcredits("PEGASUS BOOTS") %bigcreditsleft("PEGASUS BOOTS")
%blankline() %blankline()
%bigcredits("FLUTE") %bigcreditsleft("FLUTE")
%blankline() %blankline()
%bigcredits("MIRROR") %bigcreditsleft("MIRROR")
%blankline() %blankline()
%blankline() %blankline()
@@ -569,23 +579,23 @@ print "Line number: !CLINE | Expected: 302"
%blankline() %blankline()
%blankline() %blankline()
%bigcredits("SWORDLESS /13") %bigcreditsleft("SWORDLESS /13")
%blankline() %blankline()
%bigcredits("FIGHTER'S SWORD /13") %bigcreditsleft("FIGHTER'S SWORD /13")
%blankline() %blankline()
%bigcredits("MASTER SWORD /13") %bigcreditsleft("MASTER SWORD /13")
%blankline() %blankline()
%bigcredits("TEMPERED SWORD /13") %bigcreditsleft("TEMPERED SWORD /13")
%blankline() %blankline()
%bigcredits("GOLD SWORD /13") %bigcreditsleft("GOLD SWORD /13")
%blankline() %blankline()
%blankline() %blankline()
@@ -595,31 +605,31 @@ print "Line number: !CLINE | Expected: 302"
%blankline() %blankline()
%blankline() %blankline()
%bigcredits("GT BIG KEY /22") %bigcreditsleft("GT BIG KEY /22")
%blankline() %blankline()
%bigcredits("BONKS") %bigcreditsleft("BONKS")
%blankline() %blankline()
%bigcredits("SAVE AND QUITS") %bigcreditsleft("SAVE AND QUITS")
%blankline() %blankline()
%bigcredits("DEATHS") %bigcreditsleft("DEATHS")
%blankline() %blankline()
%bigcredits("FAERIE REVIVALS") %bigcreditsleft("FAERIE REVIVALS")
%blankline() %blankline()
%bigcredits("TOTAL MENU TIME") %bigcreditsleft("TOTAL MENU TIME")
%blankline() %blankline()
%bigcredits("TOTAL LAG TIME") %bigcreditsleft("TOTAL LAG TIME")
%blankline() %blankline()
%blankline() %blankline()
@@ -644,11 +654,11 @@ print "Line number: !CLINE | Expected: 302"
%preline() %preline()
%preline() %preline()
%preline() %preline()
%bigcredits("COLLECTION RATE /216") %bigcreditsleft("COLLECTION RATE /216")
%blankline() %blankline()
%bigcredits("TOTAL TIME") %bigcreditsleft("TOTAL TIME")
%blankline() %blankline()