Commit before breaking stuff
This commit is contained in:
parent
81338b6203
commit
fb9a663440
33
0hh1.p8
33
0hh1.p8
|
@ -9,6 +9,7 @@ poke4(0x5700,unpack(split"0x0000.0000,0x0000.0000,0x0202.0202,0x0000.0200,0x0000
|
|||
|
||||
#include globals.lua
|
||||
--
|
||||
#include tile.lua
|
||||
#include board.lua
|
||||
#include coroutines.lua
|
||||
#include ui.lua
|
||||
|
@ -41,22 +42,22 @@ __gfx__
|
|||
50555055050505050500050055000555000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
55505550505050500050505050555055000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
50555055050505050505000555555555000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00006666666600007000700000070007700770077007700777077707707770770000000000000000000000000000000000000000000000000000000000000000
|
||||
00060000000060000700070000700070770077000077007777707770077707770000000000000000000000000000000000000000000000000000000000000000
|
||||
00600666666006000070007007000700077007700770077077770777777077770000000000000000000000000000000000000000000000000000000000000000
|
||||
06006000000600600007000770007000007700777700770007777077770777700000000000000000000000000000000000000000000000000000000000000000
|
||||
60060066660060067000700000070007700770077007700770777707707777070000000000000000000000000000000000000000000000000000000000000000
|
||||
60600600006006060700070000700070770077000077007777077770077770770000000000000000000000000000000000000000000000000000000000000000
|
||||
60606006600606060070007007000700077007700770077007707777777707700000000000000000000000000000000000000000000000000000000000000000
|
||||
60606060060606060007000770007000007700777700770070770777777077070000000000000000000000000000000000000000000000000000000000000000
|
||||
60606060060606060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
60606006600606060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
60600600006006060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
60060066660060060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
06006000000600600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00600666666006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00060000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
00006666666600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
cc0cc01101100cc0cc08801100110110110110011011011011001101101101100880110110110011011011011001101101101100000000000000000000000000
|
||||
cc0cc01101100cc0cc08801100110110110110011011011011001101101101100880110110110011011011011001101101101100000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
|
|
7
tile.lua
Normal file
7
tile.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
local Tile = {}
|
||||
|
||||
function Tile.new(color)
|
||||
return {
|
||||
color=color
|
||||
}
|
||||
end
|
|
@ -4,7 +4,7 @@ function get_main_color(tint)
|
|||
if tint == BLUE then
|
||||
return 12
|
||||
elseif tint == YELLOW then
|
||||
return 8
|
||||
return 9
|
||||
else
|
||||
return 1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user