This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- draws a sprite to the screen with an outline of the specified colour | |
-- | |
function outline_sprite(n,col_outline,x,y,w,h,flip_x,flip_y) | |
-- reset palette to black | |
for c=1,15 do | |
pal(c,col_outline) | |
end | |
-- draw outline | |
for xx=-1,1 do |