aboutsummaryrefslogtreecommitdiff
path: root/ui.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-18 22:20:20 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-18 22:20:20 -0800
commit4e64d1f68c0c8e74cced27043ae0ec52c7ced2a1 (patch)
tree15a4474205b0bb8f8d16beb2658a1a0ba9458685 /ui.lua
parent0f74449ed091ed8a93bfbe75ede12f86e869bc62 (diff)
more final boss stuff, and token hunting!!!!
THESE TOKENS ARE GETTING TIGHT!!!!! FUUUUUCKKKK!!!!!!!!
Diffstat (limited to 'ui.lua')
-rw-r--r--ui.lua11
1 files changed, 4 insertions, 7 deletions
diff --git a/ui.lua b/ui.lua
index 3a683b9..e9796c3 100644
--- a/ui.lua
+++ b/ui.lua
@@ -77,7 +77,7 @@ end
--shown on edge of screen (blue for solo - orange for coop)
function runningscore(currentscore,isflashing)
if isflashing or gt < 2 then
- if flashtime == 1 then
+ if flashtime then
playerscore()
end
else
@@ -114,13 +114,10 @@ function finalscorescreen(x,y)
playercolour1 = 2
end
- -- if #players > 1 and currentscore > highscore1 or #players == 1 and currentscore > highscore0 then
- if flashtime == 1 then
+ if (#players > 1 and currentscore > highscore1) or (#players == 1 and currentscore > highscore0) then
+ if flashtime then
printdropshadow("! new high score !", x+27,y+32,11,3)
- -- if babymode then
- -- printdropshadow("! BABYMODE !", x+40,y+70,9,2)
- -- end
- -- end
+ end
end
poke(0x5f58, 0x0 | 0x9 | 0x4) --makes score BIG