class 'l_08a_street_pavilion_z_chest' (ZoomEventHandler)

function l_08a_street_pavilion_z_chest:__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_08a_street_pavilion_z_chest:LoadData(screen)
	local anim
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_bg.jpg',0,0,640,480,1,0)
	anim:SetHotSpot(320,240)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_bg',anim,512,384,50,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_lantern_in.png',0,0,262,258,1,0)
	anim:SetHotSpot(131,129)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_lantern_in',anim,685,382,52,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_horn.png',0,0,228,264,1,0)
	anim:SetHotSpot(114,132)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_horn',anim,718,469,53,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_body.png',0,0,132,136,1,0)
	anim:SetHotSpot(66,68)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_body',anim,684,416,51,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_lantern_out.png',0,0,500,410,1,0)
	anim:SetHotSpot(250,205)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_lantern_out',anim,560,382,54,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_1',anim,608,227,66,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_2',anim,634,214,65,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_3',anim,658,199,64,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_4',anim,682,185,63,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_5',anim,705,172,62,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_6',anim,728,158,61,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_7',anim,752,145,60,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_key.png',0,0,56,76,1,0)
	anim:SetHotSpot(28,38)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_key_8',anim,776,132,59,0,1,1)
	
	anim = CreateAnimation('data/Texture/Scenes/08a_street_pavilion/main/z_chest/z_chest_keys_cover.png',0,0,298,126,1,0)
	anim:SetHotSpot(149,63)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('z_chest_keys_cover',anim,681,207,70,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_click_zc_lantern',anim,671,382,100,19,1.8,2.2)
	
	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_find_zc_fortunetell_body',anim,686,414,100,0,1.3,1.5)
	
end
-- CLEAR_ON_SAVE_END
