class 'l_08_street_z_gate' (ZoomEventHandler)

function l_08_street_z_gate:__init(name)
    ZoomEventHandler.__init(self, name)
end

--------------------------------------------------------------------------------
-- CLEAR_ON_SAVE_BEGIN
-- Do not edit code listed below (generated by the editor on each save)
function l_08_street_z_gate:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/08_street/main/z_gate/z_gate_bg.jpg',0,0,384,512,1,0)
	anim:SetHotSpot(192,256)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08_street/main/z_gate/z_gate_close.png',0,0,231,448,1,0)
	anim:SetHotSpot(115,224)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_close',anim,523,397,60,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08_street/main/z_gate/z_gate_lock.png',0,0,77,72,1,0)
	anim:SetHotSpot(38,36)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_lock',anim,530,370,70,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08_street/main/z_gate/z_gate_chain.png',0,0,106,128,1,0)
	anim:SetHotSpot(53,64)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_chain',anim,545,463,70,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08_street/main/z_gate/z_gate_open_left.png',0,0,110,451,1,0)
	anim:SetHotSpot(55,225)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_open_left',anim,463,393,61,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08_street/main/z_gate/z_gate_open_right.png',0,0,76,449,1,0)
	anim:SetHotSpot(38,224)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_gate_open_right',anim,602,391,61,0,1,1)
	
	anim = CreateAnimation('data/Texture/Common/area_round.png',0,0,128,128,1,0)
	anim:SetHotSpot(64,64)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_zoom_lock',anim,535,369,100,0,1,1)
	
	anim = CreateAnimation('data/Texture/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_link_zg_08a',anim,533,396,100,0,30,55)
	
	anim = CreateAnimation('data/Texture/Common/area_round.png',0,0,128,128,1,0)
	anim:SetHotSpot(64,64)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_hint_dog',anim,607,520,100,-18,1.47,1.69)
	
end
-- CLEAR_ON_SAVE_END
