function PhoneOnSceneLoad(screen)
    game_state = {}
--  LoadTutorial()
    LoadData(screen)
    custom_cursors = {}
    locked_objects = {}
    game_state.locker = ReferenceCounter()
    game_state.active_zone = nil
    game_state.locked_objects = {}
    game_state.active_objects = {}
	
    phone = screen;
    phone:GetObject('hint_timer'):SetVisible(false);
    phone:GetObject('bg_panel'):SetVisible(false);
    phone:GetObject('bg'):SetVisible(false);
end

function OnSceneFree()
    FreeData()
end

function GetBackPhone()
    
end

function PhoneOnScreenShown()
end

function PhoneOnUpdate(dt)
end

function PhoneOnLose()
end

function PhoneOnExit()
end

function PhoneOnObjectMouseEnter(object)
    DefaultOnObjectMouseEnter(object)
end

function PhoneOnObjectMouseLeave(object)
    DefaultOnObjectMouseLeave(object)
end

function PhoneOnObjectMouseDown(object)
    obj_name = object:GetName()
    local pf = play_field
    local is_wrong_click = true

    is_wrong_click = DefaultOnObjectMouseDown(object);
    
    return is_wrong_click;
end

function PhoneOnObjectMouseUp(object)
end

function PhoneOnObjectRightMouseDown(object)
end

function PhoneOnObjectRightMouseUp(object)
end

function PhoneOnObjectFound(object)
end

function PhoneOnToolFound(tool)
end

function PhoneOnToolApply(tool, object)
    DefaultOnToolApply(tool, object)
end

function PhoneOnObjectReachPanel(object)
end

function PhoneOnButtonPress(title)
    DefaultOnButtonPress(title)
--[[    
    if title == 'SOS' then
      FinishComics(true)
    end
]]
end

function PhoneOnMouseMove(previous_pos, current_pos)
end

function PhoneOnSetTool(tool)
end

function PhoneOnMinigameCompleted()
end

function PhoneOnLostFocus()
end

function PhoneOnGainFocus()
end

-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function LoadData(screen)
	local anim = CreateAnimation('data/Texture/GUI/Phone/Button/hint_timer.png',0,0,71,72,14,1)
	anim:SetHotSpot(36,36)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('hint_timer',anim,104,473,120,0,1,1)
	local anim = CreateAnimation('data/Texture/GUI/Panel/bg_panel.png',0,0,218,768,14,10)
	anim:SetHotSpot(109,384)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('bg_panel',anim,109,384,70,0,1,1)
	local anim = CreateAnimation('data/Texture/GUI/Phone/bg.png',0,0,235,526,1,0)
	anim:SetHotSpot(117,263)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('bg',anim,96,307,100,0,1,1)
end

function FreeData(screen)
end
-- CLEAR_ON_SAVE_END
