diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-18 19:07:27 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-18 19:07:27 -0800 |
| commit | 0f74449ed091ed8a93bfbe75ede12f86e869bc62 (patch) | |
| tree | 98aad24d2ec8321d0a66ea032f4f1ee99e4c1c65 /update.lua | |
| parent | 4399396b397ce36c2c35eae5eb870627a36cf555 (diff) | |
More final boss stuff, token hunting
Diffstat (limited to 'update.lua')
| -rw-r--r-- | update.lua | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -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 |
