This commit is contained in:
2022-09-24 15:22:18 +02:00
parent 57409bb7d6
commit b669f9d55e
5 changed files with 27 additions and 25 deletions
+4 -4
View File
@@ -3,14 +3,14 @@ function state_endgame()
local message = "웃웃 yay! 웃웃"
local message_x = 0
local btn_back = make_button({x=1, y=118, h=7, text="🅾️/C bACK TO mENU", color=8,
on_click=function() go_to_menu() end,
on_hover=function(btn) btn.color = 7 end})
local function go_to_menu()
set_state(states.menu)
end
local btn_back = make_button({x=1, y=118, h=7, text="🅾️/C bACK TO mENU", color=8,
on_click=function() go_to_menu() end,
on_hover=function(btn) btn.color = 7 end})
local function _enter(_board)
board = _board
message_x = (128 - print(message,0,-100))/2