diff options
| author | 1029chris <1029chris@gmail.com> | 2016-11-11 21:05:56 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-11-11 21:05:56 -0800 |
| commit | 24a4940f5f7c55d6deb28f22d6f392346222891a (patch) | |
| tree | 1096fd3a76db138792f775ff3137d183ce73a230 /var.lua | |
| parent | eb30ab8cc663a71dbe6819da9c90f0c3f1be9976 (diff) | |
Added losing against virus 2, including extra dialogue
he gets really upset at the fact that everything resets
Diffstat (limited to 'var.lua')
| -rw-r--r-- | var.lua | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -150,7 +150,9 @@ function loadVar() v1.shakex = 0 v1.shakey = 0 v1.explodeEndFrame = 1 - v1.complete = false + if v1.complete == nil then + v1.complete = false + end v1.fightMinute = 5 v1.c.x = 0 v1.c.y = 0 @@ -210,7 +212,9 @@ function loadVar() v2.startTime = 0 v2.start = false v2.startPopups = 10 - v2.complete = false + if v2.complete == nil then + v2.complete = false + end v2.popshotx = sys.w/2 v2.popshoty = sys.h/2 v2.popshotsh = 10 @@ -402,6 +406,7 @@ function loadPre() sys.h = love.graphics.getHeight() virus1Lose = 0 virus1Pissed = false + virus2Lose = 0 end function loadRe() loading = 0 |
