diff --git a/warehouse32.lua b/warehouse32.lua --- a/warehouse32.lua +++ b/warehouse32.lua @@ -446,11 +446,12 @@ warehouse_32 = room { rval = rval .. ";images/wh32_guard_" .. tostring(s.guards[i].dir) .. ".png@" .. tostring((g_x - pl_x) * 64 + 128 + deltax) .. ",".. tostring((pl_y - g_y) * 64 + 128 + deltay); end; if math.abs(pl_y - g_y) == 1 and math.abs(pl_x - g_x) == 1 then - rval = rval .. ";images/uneen_enemy.png@" .. tostring((g_x - pl_x) * 64 + 128 + deltax) .. ",".. tostring((pl_y - g_y) * 64 + 128 + deltay); + rval = rval .. ";images/unseen_enemy.png@" .. tostring((g_x - pl_x) * 64 + 128 + deltax) .. ",".. tostring((pl_y - g_y) * 64 + 128 + deltay); end; end; rval = rval .. ";images/wh32_player.png@128,128"; + print(rval); return rval .. ";images/wh32_mask.png"; end; disp = function(s)