From 58632958abea0a00aea0e01e9897f587a1887bbd Mon Sep 17 00:00:00 2001 From: RibbonCable Date: Sun, 20 Feb 2022 20:16:26 -0800 Subject: saved some tokens by grouping the "sxorewithzeros" thing --- ui.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ui.lua') diff --git a/ui.lua b/ui.lua index 12ec365..ff8aadd 100644 --- a/ui.lua +++ b/ui.lua @@ -64,9 +64,9 @@ end function playerscore() if coopmode then - printdropshadow(scorewithzeros(tostring(currentscore),4),2,121,9,4) --2P current score + printdropshadow(scorewithzerosstore,2,121,9,4) --2P current score else - printdropshadow(scorewithzeros(tostring(currentscore),4),2,2,12,15) --1P current score + printdropshadow(scorewithzerosstore,2,2,12,15) --1P current score end end @@ -108,7 +108,7 @@ function finalscorescreen(x) poke(0x5f58, 0x9 | 0x4) --makes score BIG printdropshadow("vICTORY!", x+32,18,6,5) - printdropshadow(scorewithzeros(tostring(currentscore),4),x+48+circletimex,50+circletimey,playercolour0,playercolour1) --2P high score + printdropshadow(scorewithzerosstore,x+48+circletimex,50+circletimey,playercolour0,playercolour1) --2P high score poke(0x5f58) -- printdropshadow("fINAL sCORE", x+43,y+22,6,5) if (coopmode and currentscore > highscore1) or (not coopmode and currentscore > highscore0) then @@ -120,7 +120,6 @@ function finalscorescreen(x) printdropshadow(" THANKS FOR PLAYING\nPRESS (❎ ⁙ πŸ…ΎοΈ) TO RETRY", x+15,80,11,3) printdropshadow("MADE WITH β™₯ IN VANCOUVER\n β—† 2022 β—†", x+14,113,9,2) - -- printdropshadow("β—† 2022 β—†", x+42,y+118,11,3) end --intro/ending acid effect -- cgit