Skip to content

Instantly share code, notes, and snippets.

@stereoknife
Created December 16, 2016 12:35
Show Gist options
  • Select an option

  • Save stereoknife/d32fdeeb50c27371058d11d81910ab9e to your computer and use it in GitHub Desktop.

Select an option

Save stereoknife/d32fdeeb50c27371058d11d81910ab9e to your computer and use it in GitHub Desktop.
pico-8 cartridge // http://www.pico-8.com
version 8
__lua__
scrn = {}
w = 16 --grid width
h = 11 --grid height
offset = 16 --grid offset
units = {} --init units table
graph = {} --init graph table
tiles = {} --init terrain table
players = {}
players.axis = 2 --set axis player ID
players.allies = 1 --set allies player ID
map = {x = 13, y = 9} --set map width to 13 and height to 9
sel = {} --init selection table
sel.x = 1 --set selected tile x to 1
sel.y = 1 --set selected tile y to 1
sel.ox = 1 --set selected origin tile x to 1
sel.oy = 1 --set selected origin tile y to 1
sel.b = false --no selected origin tile
sel.col = {spr = 38, pix = 9} --set colours for selected tiles to orange (9)
sel.dist = nil --set distance between selected tiles to nil
sel.prev = nil --set path between selected tiles to nil
dice = {} --init dice
-- unit table
function unit(type,x,y,player)
local unit = {} --make table
unit.player = player --set player
unit.type = type -- set unit type
if (type == "inf") then unit.sprite = 128 end --set sprites
if (type == "tnk") then unit.sprite = 160 end
if (type == "art") then unit.sprite = 137 end
if (type == "inf") then unit.health = 4 end -- set health
if (type == "tnk") then unit.health = 4 end
if (type == "art") then unit.health = 2 end
unit.mov = {}
if (type == "inf") then unit.mov = {2,1} end -- set movement points
if (type == "tnk") then unit.mov = {3,3} end
if (type == "art") then unit.mov = {1,0} end
unit.damage = {}
if (type == "inf") then unit.damage = {3,2,1} end -- set damage points
if (type == "tnk") then unit.damage = {3,3,3} end
if (type == "art") then unit.damage = {3,3,2,2,1,1} end
units[y][x] = unit -- add unit to map
end
--terrain table
function terrain(type,x,y)
local tile = {} -- make table
if (type == "hill") then tile.sprite = 32 end --set sprites
if (type == "grass") then tile.sprite = 0 end
if (type == "shade") then tile.sprite = 34 end
if (type == "forest") then tile.sprite = 4 end
if (type == "town") then tile.sprite = 36 end
if (type == "river") then tile.sprite = 2 end
if (type == "bridge") then tile.sprite = 40 end
if (type == "shade" or type == "bridge" or type == "grass") then tile.cost = 1 end --set costs
if (type == "forest" or type == "hill" or type == "town" or type == "river") then tile.cost = 99 end
if (type == "shade" or type == "bridge" or type == "grass" or type == "river") then tile.los = true end --set costs
if (type == "forest" or type == "hill" or type == "town") then tile.los = false end
if (type == "river") then tile.passable = false else tile.passable = true end --unit can walk through it
if (type == "hill") then tile.voff = 2 else tile.voff = 0 end --vertical offset (draw hills higher)
tiles[y][x] = tile
end
--Dijkstra pathfinding
function distance(sx, sy, dx, dy)
local q = {} --initialize copy of node graph
local dist = {} --init distance from origin table
local prev = {} --init path table (previous node)
local vertex = {0,0} --init selected node
local min_dist = 999 --init min distance var (actually max distance)
local v_index = 0 --init vertex index var
for y=1, #graph do --init ALL nodes
dist[y] = {}
prev[y] = {}
q[y] = {}
for x=1, #graph[y] do
dist[y][x] = 9999 --set distance to 9999 (higher than min distance)
prev[y][x] = nil --set previous to nil
q[y][x] = {y,x}
end
end
dist[sy][sx] = 0 --set distance from origin to 0
while (vertex[1] ~= dy or vertex[2] ~= dx) do --while selected vertex is not destination (end when destination is reached)
min_dist = 999 --reset min distance to 999
for y=1, #q do --go through all vertex and...
for x,q in pairs(q[y]) do
if (dist[q[1]][q[2]] < min_dist) then --... if their distance is smaller than min_dist...
min_dist = dist[q[1]][q[2]] --... save it on the distance table...
vertex = q --... and set it as selected vertex.
end
end
end
q[vertex[1]][vertex[2]] = nil --delete selected vertex from q (copy of node table)
for k, neighbour in pairs(graph[vertex[1]][vertex[2]]) do -- for each neighbour of selected node...
if (q[neighbour[1]][neighbour[2]] ~= nil) then
local d = tiles[neighbour[1]][neighbour[2]].cost --... check the cost of moving...
if (neighbour[1] == dy and neighbour[2] == dx and tiles[neighbour[1]][neighbour[2]].passable) then d = 1 end--(override cost if neighbour is destination and terrain is passable)
if (units[neighbour[1]][neighbour[2]] ~= nil) then d = 9999 end--... check the tile is not occupied...
local alt = dist[vertex[1]][vertex[2]] + d --... and add movement cost to total distance
--printh(alt)
if (alt < dist[neighbour[1]][neighbour[2]]) then --If the new calculated distance to neighbour is smaller than an already existing path to it...
dist[neighbour[1]][neighbour[2]] = alt --... set it as the new distance cost for that node...
prev[neighbour[1]][neighbour[2]] = vertex --... and set selected node as previous in the path (to get shortest/cheapest path)
end
end
end
end
return dist[dy][dx], prev --return distance to destination and path
end
--line of sight function
function los(tsx, tsy, tdx, tdy) --source x, y; destination x, y
local sx = tsx*w + 8
local sy = tsy*h + 5
local dx = tdx*w + 8
local dy = tdy*w + 5
local dist_x = dx-sx -- total distance in x
local dist_y = dy-sy -- total distance in y
local error = -1
local angle, tan, deltaerr
if (dist_x ~= 0) then
tan = dist_y/dist_x -- save tangent and angle
deltaerr = abs(tan)
elseif (dist_x == 0) then
angle = 90
tan = nil
end
local signX = 1 -- save direction of line
local signY = 1
if (dx < sx) then signX = -1 end
if (dy < sy) then signY = -1 end
local y = dy
for x=sx, dx+signX do
error = error + tan
if error >= 0 then
error = -1
y = y + signY
end
local tile_x, tile_y = get_tile(x,y)
if tiles[tile_y][tile_x].los == false then
return false
end
end
return true
end
function get_tile(point_x, point_y)
local off = 0 --get offset for odd rows
local smallest_dist = 999 --set distance variable
local tile_x, tile_y --init tile variables to return
for y=0,map.y+1 do --check every tile in y...
if (y%2 ~= 0) then off = 0 else off = 8 end --(shorten distance for odd rows)
for x=0,map.x - off/8 do -- ...and x
if (math.sqrt(math.abs(point_x-(x*w+off+8))^2 * math.abs(point_y-(y*h+6))^2) < smallest_dist) then --check distance from point to center of tile
smallest_dist = math.sqrt(math.abs(point_x-(x*w+off+8))^2 * math.abs(point_y-(y*h+6))^2) --if it's smaller than what's already been found set it as smallest dist...
tile_x = x -- ...and save the tile
tile_y = y
elseif (math.sqrt(math.abs(point_x-(x*w+off+7))^2 * math.abs(point_y-(y*h+6))^2) < smallest_dist) then --check distance from point to center of tile
smallest_dist = math.sqrt(math.abs(point_x-(x*w+off+7))^2 * math.abs(point_y-(y*h+6))^2) --if it's smaller than what's already been found set it as smallest dist...
tile_x = x -- ...and save the tile
tile_y = y
end
end
end
return tile_x, tile_y
end
function roll_dice(dic)
local roll = {}
for i=1,dic do
roll[i] = flr(rnd(6))
end
return roll
end
function map_init(mx,my)
local n
for y=1,my do
graph[y] = {}
tiles[y] = {}
units[y] = {}
if (y%2 == 1) then
for x=1,mx do
n = {}
if (x > 1) then add(n, {y, x-1}) end
if (x < mx-1) then add(n, {y, x+1}) end
if (y > 1) then add(n, {y-1, x}) end
if (y < my) then add(n, {y+1, x}) end
if (x > 1 and y > 1) then add(n, {y-1, x-1}) end
if (x > 1 and y < my) then add(n, {y+1, x-1}) end
--printh(#n.." neighbours added to x"..x.." y"..y)
for i=1,#n do
--printh(n[i][1]..","..n[i][2])
end
graph[y][x] = n
terrain("grass", x, y)
units[y][x] = nil
end
elseif (y%2 == 0) then
for x=1,mx-1 do
n = {}
if (x > 1) then add(n, {y, x-1}) end
if (x < mx) then add(n, {y, x+1}) end
if (y > 1) then add(n, {y-1, x}) end
if (y < my) then add(n, {y+1, x}) end
if (x < mx and y > 1) then add(n, {y-1, x+1}) end
if (x < mx and y < my) then add(n, {y+1, x+1}) end
graph[y][x] = n
terrain("grass", x, y)
units[y][x] = nil
end
end
end
end
function titleinit()
scrn.upd = title_update
scrn.drw = title_draw
end
function game_init()
scrn.upd = game_update
scrn.drw = game_draw
map_init(map.x,map.y)
unit("inf", 2, 1, 1)
unit("inf", 1, 1, 1)
unit("inf", 5, 4, 2)
unit("tnk", 6, 3, 2)
terrain("river", 5, 1)
terrain("river", 4, 2)
terrain("river", 3, 4)
terrain("river", 3, 5)
terrain("river", 2, 6)
terrain("river", 2, 7)
terrain("river", 1, 8)
terrain("river", 1, 9)
terrain("bridge", 4, 3)
terrain("forest", 6, 1)
terrain("forest", 7, 1)
terrain("forest", 6, 2)
terrain("forest", 6, 5)
terrain("forest", 10, 4)
terrain("town", 1, 1)
terrain("town", 2, 1)
terrain("town", 1, 5)
terrain("town", 3, 3)
terrain("river", 13, 3)
terrain("river", 12, 4)
terrain("river", 12, 5)
terrain("river", 11, 6)
terrain("river", 11, 7)
terrain("river", 10, 8)
terrain("river", 10, 9)
terrain("forest", 9, 9)
terrain("forest", 9, 8)
terrain("forest", 11, 8)
terrain("forest", 12, 9)
--terrain("hill", 7, 4)
end
function game_draw()
local off = 0
cls()
for y=0,map.y+1 do --draw map
if (y%2 ~= 0) then off = 0 else off = 8 end
for x=0,map.x - off/8 do
if (x ~= 0 and y ~= 0 and y ~= map.y+1) then
spr(tiles[y][x].sprite, x*w+off, y*h-tiles[y][x].voff, 2, 2)
if (x == 4 or x == 9) then spr(6, x*w+8, y*h, 2, 2) end
if (units[y][x] ~= nil) then --draw units
spr(units[y][x].sprite+((units[y][x].health-1)*2)+(units[y][x].player-1)*8, x*w+off, y*h, 2, 2)
end
elseif (y == map.y+1 and x > (0+offset/w-1) and x < (6+offset/w)) then
spr(10, x*w+off, y*h, 2, 2)
elseif (y == 0 and x > (0+offset/w) and x < (7+offset/w)) then
spr(8, x*w+off, y*h, 2, 2)
end
pset(x*w+off+8, y*h+6, 14)
end
end
if (sel.oy%2 == 0) then off = 8 else off = 0 end --set offset for origin
if (sel.b) then spr(sel.col.spr, sel.ox*w+off, sel.oy*h, 2, 2) end --draw origin
if (sel.y%2 == 0) then off = 8 else off = 0 end --set offset for selected
spr(sel.col.spr, sel.x*w+off, sel.y*h, 2, 2) --draw selected
if (#dice > 0) then
for i=1,#dice do
spr(dice[i], w*i*2,37, 4, 4)
end
end
end
function game_update()
if (btnp(0) or btnp(1) or btnp(2) or btnp(3)) then
if (btnp (0)) then sel.x = sel.x-1 end
if (btnp (1)) then sel.x = sel.x+1 end
if (btnp (2)) then sel.y = sel.y-1 end
if (btnp (3)) then sel.y = sel.y+1 end
if (sel.x < 1) then sel.x = 1 end
if (sel.x > map.x-1 and sel.y%2 == 0) then
sel.x = map.x-1
elseif (sel.x > map.x) then
sel.x = map.x
end
if (sel.y < 1) then sel.y = 1 end
if (sel.y > map.y) then sel.y = map.y end
sel.dist = nil
sel.prev = nil
end
if (sel.x*w > offset + 6*w) then
offset = min(offset + w, 6 *w)
camera(offset, 0)
elseif (sel.x*w < offset + w) then
offset = max(offset - w, w)
camera(offset, 0)
end
if (btnp (4) and sel.b == false) then
--if (units[sel.y][sel.x] ~= nil) then
sel.ox = sel.x
sel.oy = sel.y
sel.b = true
--end
elseif (btnp (4) and sel.b) then
if (units[sel.y][sel.x] ~= nil) then
if (units[sel.y][sel.x].player == units[sel.oy][sel.ox].player) then
sel.b = false
elseif (los(sel.ox, sel.oy, sel.x, sel.y)) then
sel.b = false
local att = units[sel.oy][sel.ox]
local def = units[sel.y][sel.x]
--local d = distance(sel.ox, sel.oy, sel.x, sel.y)
--if (d <= att.damage) then
local roll = roll_dice(3)
dice = roll
for i=1,#roll do
if (roll[i] <= 1) then --man
dice[i] = 76
if (def.type == "inf") then
def.health -= 1
end
elseif (roll[i] == 2) then --tank
dice[i] = 72
if (def.type == "tnk") then
def.health -= 1
end
elseif (roll[i] == 3) then --grenade
dice[i] = 12
def.health -= 1
elseif (roll[i] == 4) then --flag
dice[i] = 64
elseif (roll[i] == 5) then
dice[i] = 68
end
end
--end
end
elseif ( units[sel.y][sel.x] == nil) then
sel.b = false
local u = units[sel.oy][sel.ox]
if (distance(sel.ox, sel.oy, sel.x, sel.y) <= u.mov[1]) then
units[sel.y][sel.x] = u
units[sel.oy][sel.ox] = nil
end
end
end
if (btnp (5)) then sel.b = false end
if (btnp(5) and #dice > 0) then
dice = {}
end
end
--
function _draw()
--scrn.drw()
game_draw()
end
function _update()
--scrn.upd()
game_update()
end
function _init()
cls()
--titleinit()
game_init()
end
__gfx__
00000033330000000000003333000000000000333300b00000000008000000000000006666000000000000cccc00000000000000000000000000000000000000
0000333333330000000033333ccc0000000033bb333bbb00000000000000000000006655556600000000cc1111cc0000000fffffffffffffffffffffffff0000
003333333333330000333333ccccc30000333bbb333bbb000000000800000000006657777775660000cc111a9111cc0000ff77777777777777777777777ff000
33333333333333333333333ccccc33333bb33bbb3333433300000000000000006655757666575566cc1111a9991111cc0ff7777777997777777777777777ff00
33333333333333333333333cccc33333bbb333433333333300000008000000006555775765765556c11111a11a11111c0f777777797797999799977777777f00
33333333333333333333333c7cc33333bbb333333333333300000000000000006555767667665556c11111da9d11111c0f777777797797999799999777777f00
33333333333333333333333cc7c33333bbb333333333333300000008000000006555766666665556c1111da11ad1111c0f777777779977999777999977777f00
33333333333333333333a33c7cc333333433bb3333333bb300000000000000006555765765665556c1111a1a91a1111c0f777777777777777777779997777f00
33333333333333333333b1ccccc33333333bbb3333333bbb00000008000000006555757666565556c11119199191111c0f777777777799999977777997777f00
33333333333333333333ccccccc33333333bbb33bb333bbb00000000000000006655576666655566cc111da11ad111cc0f777777777999999997777797777f00
3333333333333333333cc7cccc3333333333433bbb3333430000000800000000dd665555555566dd55cc11da9d11cc550f777777777777777777777797777f00
4433333333333344443c7ccac33333444433333bbb333344000000000000000000dd66555566dd005555cc1111cc55550f777777797999979999797797777f00
44443333333344444444cc3b1a3344444444333bbb33444400000000000000000000dd6666dd0000005555cccc5555000f777777997999979999799777777f00
0044443333444400004444333344440000444433434444000000000000000000000000dddd00000000005555555500000f777777997999979999799777777f00
0000444444440000000044444444000000004444444400000000000000000000000000000000000000000055550000000f777779997999979999799977777f00
0000004444000000000000444400000000000044440000000000000000000000000000000000000000000000000000000f777779997999979999799977777f00
000000abab000000000000213100000000000033330000000000009999000000000000333300000000000000000000000f777779997999979999799977777f00
0000ab33333b0000000021351333000000003338883300000000990000990000000033333ccc000000000000000000000f777779997999979999799977777f00
00ab333333333b0000213513333333000033333888333300009900000000990000333333ccccc30000000000000000000f777777777777777777777777777f00
ab3333333333333311131331333333333333333777333333990000000000009933333555cccc333300000000000000000f777779997999979999799977777f00
b333bb3333333333333131333333333333333333333333339000000000000009333333665553333300000000000000000f777779997999979999799977777f00
33333333bb33333333333333bb33333333333333333338839000000000000009333333666665533300000000000000000f777779997999979999799977777f00
b333333333333333333333333333333333333333333338839000000000000009333335566666333300000000000000000f777779997999979999799977777f00
33333bb33333bb3333333bb33333bb333388333333333883900000000000000933333a355566333300000000000000000f777777997999979999799777777f00
b33333333333333333333333333333333388883333333883900000000000000933333bc11155533300000000000000000f777777997999979999799777777f00
33333333333333333333333333333333337788883333377390000000000000093333cccccc13333300000000000000000f777777797999979999797777777f00
333333333b333333333333333b33333333337788333333339900000000000099333cc7cccc33333300000000000000000f777777777777777777777777777f00
4433333333333344443333333333334444333377333333440099000000009900443c7ccac333334400000000000000000f777777777999999999777777777f00
44443333333344444444333333334444444433333333444400009900009900004444cc3b1a33444400000000000000000ff7777777779999999777777777ff00
00444433334444000044443333444400004444333344440000000099990000000044443333444400000000000000000000ff77777777777777777777777ff000
000044444444000000004444444400000000444444440000000000000000000000004444444400000000000000000000000fffffffffffffffffffffffff0000
00000044440000000000004444000000000000444400000000000000000000000000004444000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000fffffffffffffffffffffffff0000000fffffffffffffffffffffffff0000000fffffffffffffffffffffffff0000000fffffffffffffffffffffffff0000
00ff77777777777777777777777ff00000ff77777777777777777777777ff00000ff77777777777777777777777ff00000ff77777777777777777777777ff000
0ff7777777777777777777777777ff000ff7777777777777777777777777ff000ff7777777777777777777777777ff000ff7777777777777777777777777ff00
0f777777777777777777777777777f000f777777777777777777777777777f000f777777777777777777777777777f000f7777777cc777777777777777777f00
0f777777722777777777777777777f000f777777777777737777777777777f000f777777777777777777777777777f000f777777ccccc7777777777777777f00
0f777777722722227777777777777f000f777777777337737733777777777f000f777777777777777777777777777f000f777777c777c7777777777777777f00
0f777777722722222777777777777f000f777777733337333733337777777f000f777777777777777777777777777f000f777777cc77c7777777777777777f00
0f777777722722222277772227777f000f777777333377333773333777777f000f777777777775555777777777777f000f777777c7ccc7777777777777777f00
0f777777722722222222222227777f000f777773337773333377733377777f000f777777777555555555555555577f000f777777c77777777777777777777f00
0f777777722722222222222227777f000f777773377773333377773377777f000f777777775555555555555555577f000f777777c77777777777777777777f00
0f777777722722222222222227777f000f777733377733333337773337777f000f777777775555555555577777777f000f777777c77777777777777777777f00
0f777777722722222222222227777f000f777777777733333337777777777f000f777777777555555555777777777f000f77777cccc777777777777777777f00
0f777777722722222222222227777f000f777333333333333333333333777f000f775555577555555555777777777f000f77777c777cccccc777777777777f00
0f777777722722222222222227777f000f777733333333333333333337777f000f775555557777777777777777777f000f77777c777777777777777777777f00
0f777777722722222222222227777f000f777777333333333333333777777f000f775555555555555555555577777f000f77777c777777777777777777777f00
0f777777722722222222222227777f000f777737733333333333337737777f000f777555555555555555555555777f000f77777c777777777777777777777f00
0f777777722722222222222227777f000f777733773333333333377337777f000f777755555555555555555555577f000f77777c777777777777777777777f00
0f777777722777772222222227777f000f777733773333333333377337777f000f777755555555555555555555577f000f77777c777777777777777777777f00
0f777777722777777222227777777f000f777733773333333333377337777f000f777755555555555555555555577f000f7777c7cc7777777777777777777f00
0f777777722777777777777777777f000f777773733333333333337377777f000f777755777777777777777777777f000f7777c777c777777777777777777f00
0f777777722777777777777777777f000f777777733333777333337777777f000f777755755575557555755575777f000f7777c777c777777777777777777f00
0f777777722777777777777777777f000f777777333337777733333777777f000f777777757575757575757575777f000f7777c7777c77777777777777777f00
0f777777722777777777777777777f000f777777333377777773333777777f000f777775755575557555755575777f000f7777c7777cc7777777777777777f00
0f777777722777777777777777777f000f777773333773333377333377777f000f777775777777777777777775777f000f7777c7777777777777777777777f00
0f777777722777777777777777777f000f777773337733333337733377777f000f777777555555555555555557777f000f777777777777777777777777777f00
0f777777722777777777777777777f000f777777777777777777777777777f000f777777777777777777777777777f000f777777777777777777777777777f00
0f777777777777777777777777777f000f777777777777777777777777777f000f777777777777777777777777777f000f777777777777777777777777777f00
0ff7777777777777777777777777ff000ff7777777777777777777777777ff000ff7777777777777777777777777ff000ff7777777777777777777777777ff00
00ff77777777777777777777777ff00000ff77777777777777777777777ff00000ff77777777777777777777777ff00000ff77777777777777777777777ff000
000fffffffffffffffffffffffff0000000fffffffffffffffffffffffff0000000fffffffffffffffffffffffff0000000fffffffffffffffffffffffff0000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000011000000
00000000000000000000000000000000000000000000000000000000ee00000000000000000000000000000000000000000000000000000000000000dd000000
00000000000000000000000000000000000000000000000000022002222000000000000000000000000000000000000000000000000000000001100111100000
000000000000000000000000000000000002200000022000000ee00e22e00000000000000000000000000000000000000001100000011000000dd00d11d00000
00000000000000000000022000220000000ee000000ee000002222002200000000000000000000000000011000110000000dd000000dd0000011110011000000
000000022000000000000ee000ee0000002222000022220000e22e0022002200000000011000000000000dd000dd0000001111000011110000d11d0011001100
0000000ee0000000000022220222200000e22e0220e22e00000220000000ee000000000dd0000000000011110111100000d11d0110d11d00000110000000dd00
00000022220000000000e22e0e22e0000002200ee0022000000220022002222000000011110000000000d11d0d11d0000001100dd00110000001100110011110
000000e22e000000000002200022000000022022220220000000000ee00e22e0000000d11d000000000001100011000000011011110110000000000dd00d11d0
00000002200000000000022000220000000000e22e000000000000222200220000000001100000000000011000110000000000d11d0000000000001111001100
000000022000000000000000000000000000000220000000000000e22e002200000000011000000000000000000000000000000110000000000000d11d001100
00000000000000000000000000000000000000022000000000000002200000000000000000000000000000000000000000000001100000000000000110000000
00000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000110000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000222200000000000022220000000000000000000000000000000000000000000011110000000000001111000
00000000000000000000000000000000002222000022220000222200002222000000000000000000000000000000000000111100001111000011110000111100
000000000000000000000000000000000002222002eee2000002222002eee200000000000000000000000000000000000001111001ddd1000001111001ddd100
00000222200000000000000002222000002eee2000222000002eee200022200000000111100000000000000001111000001ddd1000111000001ddd1000111000
00000022220000000022220000222200000222000000000000022200000000000000001111000000001111000011110000011100000000000001110000000000
000002eee20000000002222002eee20000000000000000000000000002222000000001ddd10000000001111001ddd10000000000000000000000000001111000
0000002220000000002eee2000222000000000022220000000022220002222000000001110000000001ddd100011100000000001111000000001111000111100
0000000000000000000222000000000000000000222200000000222202eee2000000000000000000000111000000000000000000111100000000111101ddd100
0000000000000000000000000000000000000002eee200000002eee2002220000000000000000000000000000000000000000001ddd100000001ddd100111000
00000000000000000000000000000000000000002220000000002220000000000000000000000000000000000000000000000000111000000000111000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__gff__
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__map__
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__sfx__
000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__music__
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
00 41424344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment