score={} function score.create() score.surf=surf.new(32,96) surf.target(score.surf) surf.cls(16) draw.surf(0,0,16,9,5,9,16,9,true) draw.surf(32,64,8,8,0,0) draw.surf(48,72,8,8,8,0) draw.surf(48,72,8,8,16,0) draw.surf(40,64,8,8,24,0) draw.surf(48,64,8,8,0,8) draw.surf(56,64,8,8,24,8) draw.surf(48,64,8,8,0,16) draw.surf(56,64,8,8,24,16) draw.surf(32,64,8,8,0,24) draw.surf(48,72,8,8,8,24) draw.surf(48,72,8,8,16,24) draw.surf(40,64,8,8,24,24) draw.surf(48,64,8,8,0,32) draw.surf(56,64,8,8,24,32) draw.surf(32,64,8,8,0,40) draw.surf(48,72,8,8,8,40) draw.surf(48,72,8,8,16,40) draw.surf(40,64,8,8,24,40) draw.surf(48,64,8,8,0,48) draw.surf(56,64,8,8,24,48) draw.surf(48,64,8,8,0,56) draw.surf(56,64,8,8,24,56) draw.surf(48,64,8,8,0,64) draw.surf(56,64,8,8,24,64) --draw.surf(48,64,8,8,0,72) draw.surf(56,64,8,8,24,72) draw.surf(32,64,8,8,0,72) draw.surf(48,72,8,8,8,72) draw.surf(48,72,8,8,16,72) draw.surf(40,64,8,8,24,72) draw.surf(48,64,8,8,0,80) draw.surf(56,64,8,8,24,80) draw.surf(48,64,8,8,0,88) draw.surf(56,64,8,8,24,88) draw.text("jail",6,77,2) draw.text("games",8, 82,2) draw.text("2023",9,89,1) draw.rectf(06,30,2,8,03) draw.rectf(09,30,2,8,08) draw.rectf(12,30,2,8,08) draw.rectf(15,30,2,8,10) draw.rectf(18,30,2,8,10) draw.rectf(21,30,2,8,10) draw.rectf(24,30,2,8,10) surf.target(0) end function score.draw() surf.source(score.surf) draw.surf(0,0,32,96,96,0) surf.source(tiles) if abad.objects.gorro~=nil then draw.surf(96,32,16,16,99,44) end if abad.objects.peu~=nil then draw.surf(112,32,16,16,109,44) end if abad.objects.gps~=nil then draw.surf(112,48,16,16,100,55) end if abad.objects.clau_premiere~=nil then draw.surf(112,8,8,8,104,48) end if abad.objects.clau_elalien~=nil then draw.surf(120,8,8,8,112,48) end if abad.objects.bol~=nil then draw.surf(112,88,16,8,104,46) end end