diff --git a/pal_from_spr.p8 b/pal_from_spr.p8 index 5eaade5..dc9c7ed 100644 --- a/pal_from_spr.p8 +++ b/pal_from_spr.p8 @@ -206,7 +206,7 @@ end function load_box_palette(sidx) local sint,sfrac=sidx\1,sidx%1 local x0,y0=sint%16*8,sint\16*8+sfrac*8\1 - local c0ls,tr={},{} + local cols,tr={},{} for i=0,15 do local x,y=x0+i%4,y0+i\4 local c,f= sget(x,y),sget(x+4,y)