aboutsummaryrefslogtreecommitdiff
path: root/update.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-18 19:07:27 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-18 19:07:27 -0800
commit0f74449ed091ed8a93bfbe75ede12f86e869bc62 (patch)
tree98aad24d2ec8321d0a66ea032f4f1ee99e4c1c65 /update.lua
parent4399396b397ce36c2c35eae5eb870627a36cf555 (diff)
More final boss stuff, token hunting
Diffstat (limited to 'update.lua')
-rw-r--r--update.lua20
1 files changed, 9 insertions, 11 deletions
diff --git a/update.lua b/update.lua
index c4415c7..0c3a708 100644
--- a/update.lua
+++ b/update.lua
@@ -22,22 +22,20 @@ elseif gamerunning then
end
gt += scrollspeed + 1/600
-if currentwave == 18 then --ending screen
+if currentwave == 20 then --ending screen
if btn(4) and btn(5) and not isoutro then --press both buttons to reset cart
acidcounter = 2
isoutro = true
music(-1, 2000) --fades music
end
-else --main menu
- if not gamerunning and t() > 1 then
- if btn(4) then
- addplayer(18, 60, 16, 18)
- startgame()
- elseif btn(5) then
- addplayer(18, 45, 16, 18)
- addplayer(18, 75, 32, 34)
- startgame()
- end
+elseif not gamerunning and t() > 1 then --main menu
+ if btn(4) then
+ addplayer(18, 60, 16, 18)
+ startgame()
+ elseif btn(5) then
+ addplayer(18, 45, 16, 18)
+ addplayer(18, 75, 32, 34)
+ startgame()
end
end