From ba21794f28d67f2be5c3154fa3d30b114fd6c37c Mon Sep 17 00:00:00 2001 From: Ribbon Date: Fri, 11 Feb 2022 09:52:06 -0800 Subject: moved sprites, updated text on title screen, added mock up of high score display also made some edits to sfx channels --- enemies.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'enemies.lua') diff --git a/enemies.lua b/enemies.lua index 28abc74..de28adb 100644 --- a/enemies.lua +++ b/enemies.lua @@ -181,9 +181,9 @@ function addballshooter(x, y, health, speed) function enemy.draw(enemy) if enemy.inv < 0 or ceil(enemy.inv*10%2) == 1 then - local sprite = 56 + local sprite = 27 local damaged = (enemy.health < 7) - if damaged then sprite = 40 end + if damaged then sprite = 11 end spr(sprite, enemy.x, enemy.y, 3, 1, false, not damaged) spr(sprite, enemy.x, enemy.y+8, 3, 1, false, damaged) end @@ -261,7 +261,7 @@ function addtargetingenemy(x, y, health, speed) function enemy.draw(enemy) if enemy.inv < 0 or ceil(enemy.inv*10%2) == 1 then - spr(21, enemy.x, enemy.y, 2, 1) + spr(58, enemy.x, enemy.y, 2, 1) end end -- cgit