-[NEW] Nemesio acabat

This commit is contained in:
2026-03-22 09:51:41 +01:00
parent c4da64aa1f
commit c02c086af3
4 changed files with 37 additions and 11 deletions

View File

@@ -185,7 +185,11 @@ function sprites.draw_sprite(sprite)
local reversed = frame.reversed or false
if not sprite.invisible then
surf.source(sprite.surf)
if sprite.pattern then draw.pattern(sprite.pattern) end
if sprite.mode then draw.mode(sprite.mode) end
draw.surf(frame.frame.x, frame.frame.y, frame.frame.w, frame.frame.h, sprite.pos.x+ox, sprite.pos.y+oy, frame.frame.w, frame.frame.h, (not reversed) ~= (not sprite.flipped))
draw.pattern(0xffff)
draw.mode(draw.NORMAL)
end
if cheats.showaabb then
local x,y,w,h = util.aabb(sprite)