autospacing

This commit is contained in:
spannerisms
2021-04-13 00:00:34 -04:00
parent c9340e5aa8
commit 44445b51ce

View File

@@ -22,12 +22,12 @@ CreditsLineTable:
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
macro smallcredits(space, text) macro smallcredits(text)
!CLINE #= !CLINE+1 !CLINE #= !CLINE+1
table "creditscharmapsmall.txt" table "creditscharmapsmall.txt"
?line: ?line:
db <space> db (32-(?end-?text))/2
db 2*(?end-?text)-1 db 2*(?end-?text)-1
?text: ?text:
db "<text>" db "<text>"
@@ -41,16 +41,16 @@ endmacro
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
macro bigcredits(space, text) macro bigcredits(text)
!CLINE #= !CLINE+1 !CLINE #= !CLINE+1
table "creditscharmapbighi.txt" table "creditscharmapbighi.txt"
?line_top: ?line_top:
db <space> db (32-(?end-?text))/2
db 2*(?endA-?textA)-1 db 2*(?end-?text)-1
?textA: ?text:
db "<text>" db "<text>"
?endA: ?end:
pushpc pushpc
org CreditsLineTable+!CLINE+!CLINE : dw ?line_top org CreditsLineTable+!CLINE+!CLINE : dw ?line_top
@@ -59,11 +59,9 @@ macro bigcredits(space, text)
table "creditscharmapbiglo.txt" table "creditscharmapbiglo.txt"
?line_bottom: ?line_bottom:
db <space> db (32-(?end-?text))/2
db 2*(?endB-?textB)-1 db 2*(?end-?text)-1
?textB:
db "<text>" db "<text>"
?endB:
!CLINE #= !CLINE+1 !CLINE #= !CLINE+1
@@ -107,236 +105,236 @@ CreditsLineBlank:
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
%preline() %preline()
%smallcredits(6, "ORIGINAL GAME STAFF") %smallcredits("ORIGINAL GAME STAFF")
%blankline() %blankline()
%preline() %preline()
%smallcredits(7, "EXECUTIVE PRODUCER") %smallcredits("EXECUTIVE PRODUCER")
%blankline() %blankline()
%bigcredits(8, "HIROSHI YAMAUCHI") %bigcredits("HIROSHI YAMAUCHI")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(12, "PRODUCER") %smallcredits("PRODUCER")
%blankline() %blankline()
%bigcredits(8, "SHIGERU MIYAMOTO") %bigcredits("SHIGERU MIYAMOTO")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(12, "DIRECTOR") %smallcredits("DIRECTOR")
%blankline() %blankline()
%bigcredits(9, "TAKASHI TEZUKA") %bigcredits("TAKASHI TEZUKA")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(9, "SCRIPT WRITER") %smallcredits("SCRIPT WRITER")
%blankline() %blankline()
%bigcredits(9, "KENSUKE TANABE") %bigcredits("KENSUKE TANABE")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(6, "ASSISTANT DIRECTORS") %smallcredits("ASSISTANT DIRECTORS")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(7, "YASUHISA YAMAMURA") %bigcredits("YASUHISA YAMAMURA")
%blankline() %blankline()
%bigcredits(9, "YOICHI YAMADA") %bigcredits("YOICHI YAMADA")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(3, "SCREEN GRAPHICS DESIGNERS") %smallcredits("SCREEN GRAPHICS DESIGNERS")
%preline() %preline()
%preline() %preline()
%smallcredits(8, "OBJECT DESIGNERS") %smallcredits("OBJECT DESIGNERS")
%blankline() %blankline()
%bigcredits(8, "SOICHIRO TOMITA") %bigcredits("SOICHIRO TOMITA")
%blankline() %blankline()
%bigcredits(9, "TAKAYA IMAMURA") %bigcredits("TAKAYA IMAMURA")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(5, "BACK GROUND DESIGNERS") %smallcredits("BACK GROUND DESIGNERS")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(8, "MASANAO ARIMOTO") %bigcredits("MASANAO ARIMOTO")
%blankline() %blankline()
%bigcredits(7, "TSUYOSHI WATANABE") %bigcredits("TSUYOSHI WATANABE")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(8, "PROGRAM DIRECTOR") %smallcredits("PROGRAM DIRECTOR")
%blankline() %blankline()
%bigcredits(8, "TOSHIHIKO NAKAGO") %bigcredits("TOSHIHIKO NAKAGO")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(8, "MAIN PROGRAMMER") %smallcredits("MAIN PROGRAMMER")
%blankline() %blankline()
%bigcredits(8, "YASUNARI SOEJIMA") %bigcredits("YASUNARI SOEJIMA")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(7, "OBJECT PROGRAMMER") %smallcredits("OBJECT PROGRAMMER")
%blankline() %blankline()
%bigcredits(9, "KAZUAKI MORITA") %bigcredits("KAZUAKI MORITA")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(10, "PROGRAMMERS") %smallcredits("PROGRAMMERS")
%blankline() %blankline()
%bigcredits(8, "TATSUO NISHIYAMA") %bigcredits("TATSUO NISHIYAMA")
%blankline() %blankline()
%bigcredits(8, "YUICHI YAMAMOTO") %bigcredits("YUICHI YAMAMOTO")
%blankline() %blankline()
%bigcredits(8, "YOSHIHIRO NOMOTO") %bigcredits("YOSHIHIRO NOMOTO")
%blankline() %blankline()
%bigcredits(11, "EIJI NOTO") %bigcredits("EIJI NOTO")
%blankline() %blankline()
%bigcredits(8, "SATORU TAKAHATA") %bigcredits("SATORU TAKAHATA")
%blankline() %blankline()
%bigcredits(9, "TOSHIO IWAWAKI") %bigcredits("TOSHIO IWAWAKI")
%blankline() %blankline()
%bigcredits(6, "SHIGEHIRO KASAMATSU") %bigcredits("SHIGEHIRO KASAMATSU")
%blankline() %blankline()
%bigcredits(8, "YASUNARI NISHIDA") %bigcredits("YASUNARI NISHIDA")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(9, "SOUND COMPOSER") %smallcredits("SOUND COMPOSER")
%blankline() %blankline()
%bigcredits(11, "KOJI KONDO") %bigcredits("KOJI KONDO")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(10, "COORDINATORS") %smallcredits("COORDINATORS")
%blankline() %blankline()
%bigcredits(11, "KEIZO KATO") %bigcredits("KEIZO KATO")
%blankline() %blankline()
%bigcredits(9, "TAKAO SHIMIZU") %bigcredits("TAKAO SHIMIZU")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(8, "PRINTED ART WORK") %smallcredits("PRINTED ART WORK")
%blankline() %blankline()
%bigcredits(9, "YOICHI KOTABE") %bigcredits("YOICHI KOTABE")
%blankline() %blankline()
%bigcredits(10, "HIDEKI FUJII") %bigcredits("HIDEKI FUJII")
%blankline() %blankline()
%bigcredits(8, "YOSHIAKI KOIZUMI") %bigcredits("YOSHIAKI KOIZUMI")
%blankline() %blankline()
%bigcredits(9, "YASUHIRO SAKAI") %bigcredits("YASUHIRO SAKAI")
%blankline() %blankline()
%bigcredits(8, "TOMOAKI KUROUME") %bigcredits("TOMOAKI KUROUME")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(7, "SPECIAL THANKS TO") %smallcredits("SPECIAL THANKS TO")
%blankline() %blankline()
%bigcredits(9, "NOBUO OKAJIMA") %bigcredits("NOBUO OKAJIMA")
%blankline() %blankline()
%bigcredits(7, "YASUNORI TAKETANI") %bigcredits("YASUNORI TAKETANI")
%blankline() %blankline()
%bigcredits(10, "KIYOSHI KODA") %bigcredits("KIYOSHI KODA")
%blankline() %blankline()
%bigcredits(7, "TAKAMITSU KUZUHARA") %bigcredits("TAKAMITSU KUZUHARA")
%blankline() %blankline()
%bigcredits(9, "HIRONOBU KAKUI") %bigcredits("HIRONOBU KAKUI")
%blankline() %blankline()
%bigcredits(7, "SHIGEKI YAMASHIRO") %bigcredits("SHIGEKI YAMASHIRO")
%blankline() %blankline()
@@ -347,100 +345,100 @@ CreditsLineBlank:
;--------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------------------------
%smallcredits(4, "RANDOMIZER CONTRIBUTORS") %smallcredits("RANDOMIZER CONTRIBUTORS")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%preline() %preline()
%smallcredits(8, "ITEM RANDOMIZER") %smallcredits("ITEM RANDOMIZER")
%blankline() %blankline()
%bigcredits(2, "KATDEVSGAMES VEETORP") %bigcredits("KATDEVSGAMES VEETORP")
%blankline() %blankline()
%bigcredits(2, "CHRISTOSOWEN DESSYREQT") %bigcredits("CHRISTOSOWEN DESSYREQT")
%blankline() %blankline()
%bigcredits(2, "SMALLHACKER SYNACK") %bigcredits("SMALLHACKER SYNACK")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(6, "ENTRANCE RANDOMIZER") %smallcredits("ENTRANCE RANDOMIZER")
%blankline() %blankline()
%bigcredits(2, "AMAZINGAMPHAROS LLCOOLDAVE") %bigcredits("AMAZINGAMPHAROS LLCOOLDAVE")
%blankline() %blankline()
%bigcredits(9, "KEVINCATHCART") %bigcredits("KEVINCATHCART")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(8, "ENEMY RANDOMIZER") %smallcredits("ENEMY RANDOMIZER")
%blankline() %blankline()
%bigcredits(2, "ZARBY89 SOSUKE3") %bigcredits("ZARBY89 SOSUKE3")
%blankline() %blankline()
%bigcredits(10, "ENDEROFGAMES") %bigcredits("ENDEROFGAMES")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(8, "DOOR RANDOMIZER") %smallcredits("DOOR RANDOMIZER")
%blankline() %blankline()
%bigcredits(2, "AERINON COMPILING") %bigcredits("AERINON COMPILING")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(6, "FESTIVE RANDOMIZER") %smallcredits("FESTIVE RANDOMIZER")
%blankline() %blankline()
%bigcredits(2, "KAN TOTAL") %bigcredits("KAN TOTAL")
%blankline() %blankline()
%bigcredits(2, "CATOBAT DINSAPHIR") %bigcredits("CATOBAT DINSAPHIR")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(7, "SPRITE DEVELOPMENT") %smallcredits("SPRITE DEVELOPMENT")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(2, "MIKETRETHEWEY IBAZLY") %bigcredits("MIKETRETHEWEY IBAZLY")
%blankline() %blankline()
%bigcredits(2, "FISH_WAFFLE64 KRELBEL") %bigcredits("FISH_WAFFLE64 KRELBEL")
%blankline() %blankline()
%bigcredits(2, "TWROXAS ARTHEAU") %bigcredits("TWROXAS ARTHEAU")
%blankline() %blankline()
%bigcredits(2, "GLAN TARTHORON") %bigcredits("GLAN TARTHORON")
%blankline() %blankline()
%smallcredits(9, "YOUR SPRITE BY") %smallcredits("YOUR SPRITE BY")
%addarbline(YourSpriteCreditsHi) %addarbline(YourSpriteCreditsHi)
%addarbline(YourSpriteCreditsLo) %addarbline(YourSpriteCreditsLo)
@@ -448,60 +446,60 @@ CreditsLineBlank:
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(10, "MSU1 SUPPORT") %smallcredits("MSU1 SUPPORT")
%blankline() %blankline()
%bigcredits(2, "QWERTYMODO") %bigcredits("QWERTYMODO")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(7, "PALETTE SHUFFLER") %smallcredits("PALETTE SHUFFLER")
%blankline() %blankline()
%bigcredits(9, "NELSON AKA SWR") %bigcredits("NELSON AKA SWR")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(9, "SPECIAL THANKS") %smallcredits("SPECIAL THANKS")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(2, "SUPERSKUJ EVILASH25") %bigcredits("SUPERSKUJ EVILASH25")
%blankline() %blankline()
%bigcredits(2, "MYRAMONG JOSHRTA") %bigcredits("MYRAMONG JOSHRTA")
%blankline() %blankline()
%bigcredits(2, "WALKINGEYE MATHONNAPKINS") %bigcredits("WALKINGEYE MATHONNAPKINS")
%blankline() %blankline()
%bigcredits(9, "SAKURATSUBASA") %bigcredits("SAKURATSUBASA")
%blankline() %blankline()
%bigcredits(13, "AND...") %bigcredits("AND...")
%blankline() %blankline()
%bigcredits(1, "THE ALTTP RANDOMIZER COMMUNITY") %bigcredits("THE ALTTP RANDOMIZER COMMUNITY")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(7, "COMMUNITY DISCORD") %smallcredits("COMMUNITY DISCORD")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(3, "HTTPS://ALTTPR.COM/DISCORD") %bigcredits("HTTPS://ALTTPR.COM/DISCORD")
%blankline() %blankline()
@@ -537,91 +535,91 @@ print "Line number: !CLINE | Expected: 302"
;=================================================================================================== ;===================================================================================================
%smallcredits(6, "THE IMPORTANT STUFF") %smallcredits("THE IMPORTANT STUFF")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(11, "TIME FOUND") %smallcredits("TIME FOUND")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(2, "FIRST SWORD") %bigcredits("FIRST SWORD")
%blankline() %blankline()
%bigcredits(2, "PEGASUS BOOTS") %bigcredits("PEGASUS BOOTS")
%blankline() %blankline()
%bigcredits(2, "FLUTE") %bigcredits("FLUTE")
%blankline() %blankline()
%bigcredits(2, "MIRROR") %bigcredits("MIRROR")
%blankline() %blankline()
%blankline() %blankline()
%preline() %preline()
%smallcredits(11, "BOSS KILLS") %smallcredits("BOSS KILLS")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(2, "SWORDLESS /13") %bigcredits("SWORDLESS /13")
%blankline() %blankline()
%bigcredits(2, "FIGHTER'S SWORD /13") %bigcredits("FIGHTER'S SWORD /13")
%blankline() %blankline()
%bigcredits(2, "MASTER SWORD /13") %bigcredits("MASTER SWORD /13")
%blankline() %blankline()
%bigcredits(2, "TEMPERED SWORD /13") %bigcredits("TEMPERED SWORD /13")
%blankline() %blankline()
%bigcredits(2, "GOLD SWORD /13") %bigcredits("GOLD SWORD /13")
%blankline() %blankline()
%blankline() %blankline()
%smallcredits(11, "GAME STATS") %smallcredits("GAME STATS")
%blankline() %blankline()
%blankline() %blankline()
%bigcredits(2, "GT BIG KEY /22") %bigcredits("GT BIG KEY /22")
%blankline() %blankline()
%bigcredits(2, "BONKS") %bigcredits("BONKS")
%blankline() %blankline()
%bigcredits(2, "SAVE AND QUITS") %bigcredits("SAVE AND QUITS")
%blankline() %blankline()
%bigcredits(2, "DEATHS") %bigcredits("DEATHS")
%blankline() %blankline()
%bigcredits(2, "FAERIE REVIVALS") %bigcredits("FAERIE REVIVALS")
%blankline() %blankline()
%bigcredits(2, "TOTAL MENU TIME") %bigcredits("TOTAL MENU TIME")
%blankline() %blankline()
%bigcredits(2, "TOTAL LAG TIME") %bigcredits("TOTAL LAG TIME")
%blankline() %blankline()
%blankline() %blankline()
@@ -646,11 +644,11 @@ print "Line number: !CLINE | Expected: 302"
%preline() %preline()
%preline() %preline()
%preline() %preline()
%bigcredits(2, "COLLECTION RATE /216") %bigcredits("COLLECTION RATE /216")
%blankline() %blankline()
%bigcredits(2, "TOTAL TIME") %bigcredits("TOTAL TIME")
%blankline() %blankline()