Fork me on GitHub
-- title:   Circle-circle overlap
-- author:  txgruppi, congusbongus
-- desc:    detect overlaps between two circles (or a point)
-- site:    https://github.com/txgruppi
-- license: MIT License
-- version: 0.2
-- script:  lua
-- tags:    overlap circle point physics

local x1 = 5
local y1 = 10
local r1 = 10
local x2 = 240/2
local y2 = 136/2
local r2 = 50

function clamp(min,curr,max)
 if curr<min then
  return min
 end
 if curr>max then
  return max
 end
 return curr
end

function circ_overlap(x1,y1,r1,x2,y2,r2)
    local dx=x1-x2
    local dy=y1-y2
    local r=r1+r2
    return dx*dx+dy*dy<=r*r
end

function TIC()
 if btn(0) then
  y1=y1-1
 end
 if btn(1) then
  y1=y1+1
 end
 if btn(2) then
  x1=x1-1
 end
 if btn(3) then
  x1=x1+1
 end
 if btn(4) then
  r1=r1+1
 end
 if btn(5) then
  r1=r1-1
 end
 y1=clamp(0,y1,135)
 x1=clamp(0,x1,239)
 r1=clamp(0,r1,50)
 
 local c=14
 local overlap=circ_overlap(x1,y1,r1,x2,y2,r2)
 if overlap then
  c=3
 end

 cls(0)
 circb(x1,y1,r1,13)
 circb(x2,y2,r2,c)
 
 print("x1="..x1.." y1="..y1.." x2="..x2.." y2="..y2.." r1="..r1,10,0,15,true,1,true)
 print("overlap == "..tostring(overlap),0,130,15,true,1,true)
end

-- <SCREEN>
-- 000:000000000000000f000000fff0fff0000000000f000000fff0ff0000000000ff0000000f00ff000ff000000ff000000000ff0000000ff0fff000000ff0000000000f000000ff00fff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 001:0000000000f0f0ff00fff0f000f0f00000f0f0ff00fff000f000f00000f0f000f0fff0ff0000f0f0f00000f0f00000f0f000f0fff0f000f0f00000f0f00000f0f0ff00fff000f000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 002:00000000000f000f000000ff00fff00000f0f00f0000000f000f0000000f000f0000000f000f00f0f00000f0f00000f0f00f000000fff0fff00000f0f00000ff000f0000000f000f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 003:0000000000f0f00f00fff000f0f0f000000ff00f00fff0f000f0000000f0f0f000fff00f00f000f0f00000f0f000000ff0f000fff0f0f0f0f00000f0f00000f0000f00fff000f0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 004:0000000000f0f0fff00000ff00fff0000000f0fff00000f000fff00000f0f0fff00000fff0fff0ff000f00ff00000000f0fff00000fff0fff00f00ff000000f000fff00000ff00f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 005:00000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 018:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 019:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000333330000000000000003333300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 020:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000333000000000000000000000000033300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 021:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000333000000000000000000000000000000033300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 022:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 023:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003300000000000000000000000000000000000000000330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 024:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000330000000000000000000000000000000000000000000003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 025:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 026:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 027:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 028:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 029:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 030:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000330000000000000000000000000000000000000000000000000000000000000003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 031:000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 032:000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 033:000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 034:000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 035:0000000000000000000000000000000000000000000000000000ddddddddddddd0000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 036:000000000000000000000000000000000000000000000000dddd0000000000000dddd000000000000030000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 037:000000000000000000000000000000000000000000000ddd000000000000000000000ddd000000000300000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 038:0000000000000000000000000000000000000000000dd000000000000000000000000000dd0000003000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 039:00000000000000000000000000000000000000000dd0000000000000000000000000000000dd00030000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 040:000000000000000000000000000000000000000dd00000000000000000000000000000000000dd030000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 041:00000000000000000000000000000000000000d000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000
-- 042:000000000000000000000000000000000000dd00000000000000000000000000000000000000030dd000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000
-- 043:00000000000000000000000000000000000d000000000000000000000000000000000000000003000d00000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000
-- 044:0000000000000000000000000000000000d00000000000000000000000000000000000000000300000d0000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000
-- 045:000000000000000000000000000000000d0000000000000000000000000000000000000000003000000d000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000
-- 046:00000000000000000000000000000000d000000000000000000000000000000000000000000300000000d00000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000
-- 047:0000000000000000000000000000000d00000000000000000000000000000000000000000003000000000d0000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000
-- 048:000000000000000000000000000000d0000000000000000000000000000000000000000000300000000000d000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000
-- 049:00000000000000000000000000000d000000000000000000000000000000000000000000003000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000
-- 050:0000000000000000000000000000d00000000000000000000000000000000000000000000300000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000
-- 051:0000000000000000000000000000d00000000000000000000000000000000000000000000300000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000
-- 052:000000000000000000000000000d0000000000000000000000000000000000000000000003000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000
-- 053:00000000000000000000000000d000000000000000000000000000000000000000000000300000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000
-- 054:00000000000000000000000000d000000000000000000000000000000000000000000000300000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000
-- 055:0000000000000000000000000d00000000000000000000000000000000000000000000003000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000
-- 056:0000000000000000000000000d00000000000000000000000000000000000000000000030000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 057:000000000000000000000000d0000000000000000000000000000000000000000000000300000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 058:000000000000000000000000d0000000000000000000000000000000000000000000000300000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 059:00000000000000000000000d000000000000000000000000000000000000000000000003000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 060:00000000000000000000000d000000000000000000000000000000000000000000000003000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 061:00000000000000000000000d000000000000000000000000000000000000000000000030000000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 062:0000000000000000000000d00000000000000000000000000000000000000000000000300000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 063:0000000000000000000000d00000000000000000000000000000000000000000000000300000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 064:0000000000000000000000d00000000000000000000000000000000000000000000000300000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 065:0000000000000000000000d00000000000000000000000000000000000000000000000300000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 066:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 067:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 068:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 069:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 070:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 071:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 072:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 073:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 074:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 075:000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000
-- 076:000000000000000000000d0000000000000000000000000000000000000000000000000300000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 077:000000000000000000000d0000000000000000000000000000000000000000000000000300000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 078:000000000000000000000d0000000000000000000000000000000000000000000000000300000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 079:0000000000000000000000d00000000000000000000000000000000000000000000000030000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 080:0000000000000000000000d00000000000000000000000000000000000000000000000030000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000
-- 081:0000000000000000000000d00000000000000000000000000000000000000000000000003000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000
-- 082:0000000000000000000000d00000000000000000000000000000000000000000000000003000000000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000
-- 083:00000000000000000000000d000000000000000000000000000000000000000000000000300000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000
-- 084:00000000000000000000000d000000000000000000000000000000000000000000000000030000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000
-- 085:00000000000000000000000d000000000000000000000000000000000000000000000000030000000000000000000d00000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000
-- 086:000000000000000000000000d0000000000000000000000000000000000000000000000003000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000
-- 087:000000000000000000000000d0000000000000000000000000000000000000000000000000300000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000
-- 088:0000000000000000000000000d00000000000000000000000000000000000000000000000030000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000
-- 089:0000000000000000000000000d00000000000000000000000000000000000000000000000003000000000000000d0000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000
-- 090:00000000000000000000000000d000000000000000000000000000000000000000000000000300000000000000d00000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000
-- 091:00000000000000000000000000d000000000000000000000000000000000000000000000000030000000000000d00000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000
-- 092:000000000000000000000000000d0000000000000000000000000000000000000000000000003000000000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000
-- 093:0000000000000000000000000000d00000000000000000000000000000000000000000000000030000000000d0000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000
-- 094:0000000000000000000000000000d00000000000000000000000000000000000000000000000030000000000d0000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000
-- 095:00000000000000000000000000000d000000000000000000000000000000000000000000000000300000000d00000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000
-- 096:000000000000000000000000000000d0000000000000000000000000000000000000000000000003000000d000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 097:0000000000000000000000000000000d00000000000000000000000000000000000000000000000300000d0000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 098:00000000000000000000000000000000d000000000000000000000000000000000000000000000003000d00000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 099:000000000000000000000000000000000d0000000000000000000000000000000000000000000000030d000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 100:0000000000000000000000000000000000d0000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 101:00000000000000000000000000000000000d000000000000000000000000000000000000000000000d30000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 102:000000000000000000000000000000000000dd00000000000000000000000000000000000000000dd003000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 103:00000000000000000000000000000000000000d000000000000000000000000000000000000000d00000300000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 104:000000000000000000000000000000000000000dd00000000000000000000000000000000000dd000000030000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 105:00000000000000000000000000000000000000000dd0000000000000000000000000000000dd00000000003000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 106:0000000000000000000000000000000000000000000dd000000000000000000000000000dd0000000000000330000000000000000000000000000000000000000000000000000000000000003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 107:000000000000000000000000000000000000000000000ddd000000000000000000000ddd000000000000000003000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 108:000000000000000000000000000000000000000000000000dddd0000000000000dddd000000000000000000000300000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 109:0000000000000000000000000000000000000000000000000000ddddddddddddd0000000000000000000000000033000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 110:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 111:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 112:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000330000000000000000000000000000000000000000000003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 113:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003300000000000000000000000000000000000000000330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 114:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 115:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000333000000000000000000000000000000033300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 116:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000333000000000000000000000000033300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 117:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000333330000000000000003333300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 118:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 130:0000000000000000ff000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 131:0f00f0f00ff0f0f00f00ff00ff000000fff0fff00000fff0f0f0f0f00ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 132:f0f0f0f0f0f0ff000f000ff0f0f000000000000000000f00ff00f0f0f0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 133:f0f0f0f0ff00f0000f00f0f0f0f00000fff0fff000000f00f000f0f0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 134:0f000f000ff0f000fff0fff0ff00000000000000000000f0f0000ff00ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- 135:000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- </SCREEN>

-- <PALETTE>
-- 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57
-- </PALETTE>