aboutsummaryrefslogtreecommitdiff
path: root/ui.lua
diff options
context:
space:
mode:
authorRibbonCable <ambiguousmachine@gmail.com>2022-02-20 20:16:26 -0800
committerRibbonCable <ambiguousmachine@gmail.com>2022-02-20 20:16:26 -0800
commit58632958abea0a00aea0e01e9897f587a1887bbd (patch)
tree3bebecb888d9298e725cd4f631b7cae98d5a476f /ui.lua
parentbe10c608c87f81e55d61c715857e1657803115f1 (diff)
saved some tokens by grouping the "sxorewithzeros" thing
Diffstat (limited to 'ui.lua')
-rw-r--r--ui.lua7
1 files changed, 3 insertions, 4 deletions
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