diff options
| author | 1029chris <1029chris@gmail.com> | 2016-10-29 23:28:39 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-10-29 23:28:39 -0700 |
| commit | d293377e7dedd102e9afb2a51fda3d3375d7904d (patch) | |
| tree | 588181ae53b101250cf4ec2a5931066f60c76c56 /main.lua | |
| parent | a6bce9a2ac2d1dc641f166c76191627b01cec64c (diff) | |
Added second half and ending of second fight
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -88,8 +88,13 @@ function love.keyreleased(key) end end if key == "f10" then - v1.c.health = v1.c.health - 5 - v1.spm = v1.spm + 0.5*(sys.h/1080) + if scene == 2 then + v1.c.health = v1.c.health - 5 + v1.spm = v1.spm + 0.5*(sys.h/1080) + elseif scene == 3 then + v2.c.health = v2.c.health - 5 + v2.spm = v2.spm + 0.20*(sys.h/1080) + end end if key == "escape" then pause.esc = false |
