aboutsummaryrefslogtreecommitdiff
path: root/enemies.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-20 13:17:31 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-20 13:17:31 -0800
commitb3c60287bde5f1f7c4a892ee952b34df5e9824ac (patch)
treeda5b72bff1f23956437d7d43defc0598c48816b5 /enemies.lua
parent4f4a5405a95c47b34e0250e6b0f143e8e5f8dc76 (diff)
Each boss is now a checkpoint
also fixed laserguy, and added a cheat (sshhhh)
Diffstat (limited to 'enemies.lua')
-rw-r--r--enemies.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/enemies.lua b/enemies.lua
index 0047647..cacac0d 100644
--- a/enemies.lua
+++ b/enemies.lua
@@ -289,7 +289,7 @@ function addlasershooter(x, y, points, speed, stay, isboss)
damagesmoke(enemy)
sprite = 65
end
- spr(sprite,enemy.x,enemy.y,4,2) --non-flipped sprite to reduce tokens
+ spr(sprite,enemy.x,enemy.y,4,4) --non-flipped sprite to reduce tokens
-- spr(sprite,enemy.x+0,enemy.y+16,4,2,false,true)
end
end
@@ -546,7 +546,7 @@ function addmissileboss(x, y) --boss that shoots missiles!!!
enemy.targety = rnd(96)
end
if enemy.shootcooldown < 0 then
- enemy.shootcooldown = 0.6 + rnd(0.5)
+ enemy.shootcooldown = 0.6 + rnd(0.6)
if enemy.x < canshootatx and players[targetplayer] ~= nil then
local offsetmissleboss = 2
if currentwavetime%2 > 1 then offsetmissleboss = 30 end