local zone_mask

function OnSceneLoad(screen)
    LoadData(screen)
    DefaultOnSceneLoad('data/Scenes/13_Theatre_Fountain_Main.lua', 'quest')
    
    LoadSound('13_Fountain_loop', 'data/Sound/13_Theatre_Fountain/Fountain_loop.ogg')
	
	RegisterQuestObjects('area_Theatre_Entrance',
						 'area_Dead_End',
						 'area_workshop_street',
						 'area_Theatre_Entrance2',
						 'area_Dead_End2',
						 'area_minigame',
						 'area_Theatre_Fountain',
						 'area_Workshop_Street',
						 'area_bobber')

	if HasGameState('ToolFound', '13_stick') then
		RegisterQuestObjects('area_Zoom_Fontain')
		game_state.ignore_on_highlight['area_Workshop_Street'] = true
	end
	if HasGameState('ToolFound', '15_ladder') then
		game_state.ignore_on_highlight['area_workshop_street'] = true
	end
	if HasGameState('ToolFound', '13_float') then
		game_state.ignore_on_highlight['area_Zoom_Fontain'] = true
	end

    LinkScene('area_Theatre_Entrance', 'CursorDoorUp', 'data/Scenes/17_Theatre_Entrance_Main.lua', false)
    LinkScene('area_Dead_End', 'CursorDoorRightUp', 'data/Scenes/16_Theatre_Dead_End_Main.lua', false)
	LinkScene('area_workshop_street', 'CursorDoorLeftUp', 'data/Scenes/14_Workshop_Street_Main.lua', false)

	play_field:IgnoreOnTestPoint('glow1')
	play_field:IgnoreOnTestPoint('glow2')

--[[
	local condition = function()
		return not HasGameState('MiniGameCompleted', '13_fountain')
	end
	--]]
	local on_condition_fail = function()
		ShowMonolog('C_13_NO_WAY_BACK', 'C_13_NO_WAY_BACK')
		game_state.ignore_on_highlight['area_Theatre_Gate'] = true
		AddGameState('IgnoreOnHighlight', 'area_Theatre_Gate')
	end
    --LinkScene('area_Theatre_Gate', 'CursorDoorDown', 'data/Scenes/12_Theatre_Gate_Main.lua', false, condition, on_condition_fail)
    RegisterActiveObject('area_Theatre_Gate', on_condition_fail, nil, true, 'CursorDoorDown')

    play_field:GetObject('area_Workshop_Street'):SetMaxOpacity(0.001)
    play_field:GetObject('area_Theatre_Entrance2'):SetMaxOpacity(0.001)
    play_field:GetObject('area_Dead_End2'):SetMaxOpacity(0.001)
    play_field:GetObject('area_minigame'):SetMaxOpacity(0.001)
    play_field:GetObject('area_Theatre_Fountain'):SetMaxOpacity(0.001)
	play_field:GetObject('area_Theatre_Fountain'):SetVisible(false)
	play_field:GetObject('Layer_mask_open'):SetVisible(false)

	play_field:GetObject('dolls'):GetAnimation():Stop()

    if not HasGameState("ClosedScene", "data/Scenes/13_Theatre_Fountain_HO.lua") then
        LinkScene('area_ho', 'CursorGlass', 'data/Scenes/13_Theatre_Fountain_HO.lua', true)

        play_field:GetObject('area_Theatre_Entrance2'):SetVisible(false)
        play_field:GetObject('area_Workshop_Street'):SetVisible(false)
        play_field:GetObject('area_Dead_End2'):SetVisible(false)
        play_field:GetObject('area_Theatre_Fountain'):SetVisible(false)
        play_field:GetObject('area_minigame'):SetVisible(false)
    else
		play_field:GetObject('area_ho'):SetVisible(false)

		if HasGameState('MiniGameCompleted', '13_fountain') then
			LinkScene('area_Workshop_Street', 'CursorDoorRight', 'data/Scenes/14_Workshop_Street_Main.lua', false)
			LinkScene('area_Dead_End2', 'CursorDoorRight', 'data/Scenes/16_Theatre_Dead_End_Main.lua', false)
			LinkScene('area_Theatre_Fountain', 'CursorDoorLeft', 'data/Scenes/12_Theatre_Gate_Main.lua', false)
			play_field:GetObject('area_Theatre_Fountain'):SetVisible(true)
			
			LinkScene('area_Zoom_Fontain', 'CursorGlass', 'data/Scenes/13_Theatre_Fountain_Zoom.lua')
			
			if not HasGameState('MiniGameCompletionProcessed', '13_fountain') then
				AddGameState('MiniGameCompletionProcessed', '13_fountain')
				StartLevel('data/Scenes/13_Theatre_Fountain_Zoom.lua');
			end

			local compos = BuildFountainComposition();
			compos:SetZ(115);
			compos:AttachTo(screen);
			
			MakeSoundEntity('13_Fountain_loop'):Play(true);
			
			play_field:GetObject('dolls'):GetAnimation():Play()
		else
		    
			zone_mask = CreateZoomZone('area_Zoom_Fontain',
									   'CloseZoneMask',
									   'Zoom_Mask', true,
									   'area_minigame', true,
									   'mask_closed', true,
									   'mask_mid', false,
									   'mask_open', false)
			zone_mask.on_close = function()
				if HasGameState('ObjectClicked', game_state.scene_path..'(mask_closed)') then
					---[[
					play_field:GetObject('mask_closed'):DestroyChildren()
					play_field:GetObject('mask_mid'):DestroyChildren()
					play_field:GetObject('mask_open'):DestroyChildren()
					--]]
					--[[
					play_field:GetObject('mask_closed'):Hide()
					play_field:GetObject('mask_mid'):Hide()
					play_field:GetObject('mask_open'):Hide()
					play_field:GetObject('mask_closed'):Stop()
					play_field:GetObject('mask_mid'):Stop()
					play_field:GetObject('mask_open'):Stop()
					]]
				end
			end

			local on_mask_click = function()
				LinkScene('area_minigame', 'CursorGlass', 'data/Scenes/13_Fountain_Minigame.lua', false)
				zone_mask.SetObjectVisible('mask_closed', false)
				zone_mask.SetObjectVisible('mask_mid', false)
				zone_mask.SetObjectVisible('mask_open', true)
				play_field:GetObject('mask_open'):SetOpacity(0.)

				play_field:GetObject('Layer_mask_open'):SetVisible(true)
				play_field:GetObject('mask_closed'):ChangeOpacity(1., 0., 0.4)
				play_field:GetObject('mask_mid'):ChangeOpacity(0., 1., 0.4)
				TimerDoString('ShowOpenedMask()', 0.6, play_field:GetTimer())
				PlaySound("MaskOpen");
			end
			local on_load_when_mask_clicked = function()
				LinkScene('area_minigame', 'CursorGlass', 'data/Scenes/13_Fountain_Minigame.lua', false)
				zone_mask.SetObjectVisible('mask_closed', false)
				zone_mask.SetObjectVisible('mask_mid', false)
				zone_mask.SetObjectVisible('mask_open', true)
				
				play_field:GetObject('Layer_mask_open'):SetVisible(true)
			end
			RegisterActiveObject('mask_closed', on_mask_click, on_load_when_mask_clicked)
		end
	end

	RegisterMonologObject('area_fountain_top', 'C_13_FOUNTAIN_CLICK', true)
	RegisterMonologObject('area_lamp1', 'C_13_LAMP_CLICK', true, 'area_lamp2')
	RegisterMonologObject('area_lamp2', 'C_13_LAMP_CLICK', true, 'area_lamp1')

	local lightEff = MegoLightEffector();
    lightEff:AttachTo(play_field:GetObject('glow1'));
    lightEff:Play();
    
    local lightEff2 = MegoLightEffector();
    lightEff2:AttachTo(play_field:GetObject('glow2'));
    lightEff2:PlayAt(0.7);

	if HasGameState('ToolFound', '25_plunger') and
	   HasGameState('TaskComplete', '20_TurnOnLights') and -- 18, 19, 20, 25
	   HasGameState('ToolFound', '21_scissors') and -- 21
	   HasGameState('ToolFound', '22_switch') and -- 22
	   HasGameState('ToolFound', '24_chain') and
	   HasGameState('ToolFound', '24_runa') and
	   HasGameState('MiniGameCompleted', '24_Mosaic') -- 24
	then
		game_state.ignore_on_highlight['area_Theatre_Entrance'] = true
	end

	play_field:IgnoreOnTestPoint('Layer_mask_open')
	--play_field:IgnoreOnTestPoint('glow1')
	--play_field:IgnoreOnTestPoint('glow2')

	LoadSound("MaskOpen", "data/Sound/13_Theatre_Fountain/Mask_open.ogg");
	
	AddRatsComposition();
end

function ShowOpenedMask()
	if zone_mask.IsVisible() then
		play_field:GetObject('mask_mid'):ChangeOpacity(1., 0., 0.4)
		play_field:GetObject('mask_open'):ChangeOpacity(0., 1., 0.4)
	end
end

function AddRatsComposition()

    createComposition17_Theatre_Entrance_rat = function()
    
        local composition17_Theatre_Entrance_rat = CreateCompositionSequence();
        local compositionDuration = 3.375;
        composition17_Theatre_Entrance_rat:SetDuration(compositionDuration);
    
    
        -- Layer Rat_eating
        local element = BuildRatEatingComposition();
        element:SetName("Rat_eating");
        composition17_Theatre_Entrance_rat:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(composition17_Theatre_Entrance_rat);
        element:SetXY(748, 654);
    
        element:SetScaleX(-0.171875);
        element:SetScaleY(0.16927083333333);
        element:SetAngle(0);
        element:SetOpacity(1);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 3.375);
    
    
        effector:Play();
    
    
        composition17_Theatre_Entrance_rat:Play();
    
        return composition17_Theatre_Entrance_rat;
    end
    
    local createCompositionRatRunning1 = function()
    
        local compositionRatRunning1 = CreateCompositionSequence();
        local compositionDuration = 3.5;
        compositionRatRunning1:SetDuration(compositionDuration);
        
        -- Layer Rat_running
        local element = BuildRatRunningComposition();
        element:SetName("Rat_running");
        compositionRatRunning1:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionRatRunning1);
        element:SetAngle(0);
        element:SetOpacity(1);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 5);
    
        effector:SetKey(_TRACK_X, 0, 1113);
        effector:SetKey(_TRACK_Y, 0, 648);
        effector:SetKey(_TRACK_X, 2.83333333333333, 281);
        effector:SetKey(_TRACK_Y, 2.83333333333333, 800);
        effector:SetKey(_TRACK_SX, 0, 0.14);
        effector:SetKey(_TRACK_SY, 0, 0.14);
        effector:SetKey(_TRACK_SX, 2.83333333333333, 0.24);
        effector:SetKey(_TRACK_SY, 2.83333333333333, 0.24);
    
        effector:Play();
        
        --compositionRatRunning1:Play();
        
        return compositionRatRunning1;
    end
    
    local composes = {};
    composes.ratRunning1 = createCompositionRatRunning1();
    --composes.ratRunning1:SetCyclic(true);
    composes.ratRunning1:SetZ(43);
    composes.ratRunning1:SetSpeed(0.8);
    composes.ratRunning1:AttachTo(play_field);
    composes.ratRunning1:SetDestroysOnEnd(false);
    composes.ratRunning1:SetEndAction("RatRunningEnded");
    RatRunningEnded(composes.ratRunning1);
    
    local compos = createComposition17_Theatre_Entrance_rat();
    compos:SetCyclic(true);
    compos:SetZ(45);
    compos:SetSpeed(0.8);
    compos:AttachTo(play_field);
    compos:SetCyclic(true);

end

function RatRunningEnded(compos)
    compos:PlayAt(math.random(5, 10));
end

function OnSceneFree(screen)
    DefaultOnSceneFree()
    FreeData(screen)
end

function OnUpdate(dt)
    DefaultOnUpdate(dt)
end

function OnAllItemsFound()
    DefaultOnAllItemsFound()
end

function OnLose()
    DefaultOnLose()
end

function OnExit()
    DefaultOnExit()
end

function OnClose()
    DefaultOnClose()
end

function OnObjectMouseEnter(object)
    DefaultOnObjectMouseEnter(object)
end

function OnObjectMouseLeave(object)
    DefaultOnObjectMouseLeave(object)
end

function OnObjectMouseDown(object)
    local is_wrong_click = not DefaultOnObjectMouseDown(object)
    local obj_name = object:GetName()
    local pf = play_field

    if is_wrong_click then
        play_field:ShowWrongObjectEffect()
    end
end

function OnObjectMouseUp(object)
    DefaultOnObjectMouseUp(object)
end

function OnObjectFound(object)
    DefaultOnObjectFound(object)
end

function OnToolFound(tool)
    DefaultOnToolFound(tool)
end

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

function OnObjectReachPanel(object)
    DefaultOnObjectReachPanel(object)
end

function OnButtonPress(title)
    DefaultOnButtonPress(title)
end

function OnMouseMove(previous_pos, current_pos)
    DefaultOnMouseMove(previous_pos, current_pos)
end

function OnSetTool(tool)
    DefaultOnSetTool(tool)
end

function LevelLoaded(level)
    local anim = level:CreateAnimation('data/Texture/Scenes/Common/Clouds.png');
	anim:SetPosXY(512, 200);
	anim:SetOpacity(0.6);
	anim:SetScaleXY(1, 1);
	anim:SetPosZ(43);
	
	local effector = CreateTextureEffector();
	effector:AttachToAnimation(anim);
	effector:SetSpeed(-16);
	effector:Play();
end

function OnSceneDestroy(playfield)
    DefaultOnSceneDestroy(playfield)
end

function BuildWaterCycleComposition()

    local compositionwater_Cycle = CreateCompositionSequence();
        local compositionDuration = 0.62;
        compositionwater_Cycle:SetDuration(compositionDuration);
        compositionwater_Cycle:SetOpacity(0.5);
        --compositionwater_Cycle:SetCyclic(true);
    
    
        -- Layer Water_1
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_1");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.6, 0.64);
    
        effector:SetKey(_TRACK_X, 0.6, 557);
        effector:SetKey(_TRACK_Y, 0.6, 238);
        effector:SetKey(_TRACK_X, 0.6666796875, 543.365903311584);
        effector:SetKey(_TRACK_Y, 0.6666796875, 227.557337222883);
        effector:SetKey(_TRACK_X, 0.7333203125, 527.495512371555);
        effector:SetKey(_TRACK_Y, 0.7333203125, 221.258966148259);
        effector:SetKey(_TRACK_X, 0.8, 510.890627725101);
        effector:SetKey(_TRACK_Y, 0.8, 224.194517042185);
        effector:SetKey(_TRACK_X, 0.8666796875, 498.60787326287);
        effector:SetKey(_TRACK_Y, 0.8666796875, 236.0205058424);
        effector:SetKey(_TRACK_X, 0.9333203125, 490.478324365732);
        effector:SetKey(_TRACK_Y, 0.9333203125, 251.126423453639);
        effector:SetKey(_TRACK_X, 1, 484.748006879561);
        effector:SetKey(_TRACK_Y, 1, 267.330900752915);
        effector:SetKey(_TRACK_X, 1.0666796875, 480.501204227741);
        effector:SetKey(_TRACK_Y, 1.0666796875, 283.978690167902);
        effector:SetKey(_TRACK_X, 1.1333203125, 477.259091371092);
        effector:SetKey(_TRACK_Y, 1.1333203125, 300.846399362468);
        effector:SetKey(_TRACK_X, 1.2, 474.747431085502);
        effector:SetKey(_TRACK_Y, 1.2, 317.852623299854);
        effector:SetKey(_TRACK_X, 1.2666796875, 472.799513808988);
        effector:SetKey(_TRACK_Y, 1.2666796875, 334.937769007456);
        effector:SetKey(_TRACK_X, 1.3333203125, 471.304001625484);
        effector:SetKey(_TRACK_Y, 1.3333203125, 352.059654944586);
        effector:SetKey(_TRACK_X, 1.4, 470.180039605852);
        effector:SetKey(_TRACK_Y, 1.4, 369.222972937357);
        effector:SetKey(_TRACK_X, 1.4666796875, 469.370990688363);
        effector:SetKey(_TRACK_Y, 1.4666796875, 386.408846579066);
        effector:SetKey(_TRACK_X, 1.48, 469.243102541789);
        effector:SetKey(_TRACK_Y, 1.48, 389.844473182201);
        effector:SetKey(_TRACK_X, 2.6, 470.5);
        effector:SetKey(_TRACK_Y, 2.6, 671);
        effector:SetKey(_TRACK_SX, 0.6, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.6, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 1.36, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 1.36, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.6, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.6, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.6, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.76, 1.34155152992952);
        effector:SetKey(_TRACK_A, 1.2, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.6, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.6, 0);
        effector:SetKey(_TRACK_O, 0.68, 1);
        effector:SetKey(_TRACK_O, 1.4, 1);
        effector:SetKey(_TRACK_O, 2, 0);
    
        effector:Play();
    
    
        -- Layer Water_2
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_2");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.44, 0.64);
    
        effector:SetKey(_TRACK_X, 0.44, 557);
        effector:SetKey(_TRACK_Y, 0.44, 238);
        effector:SetKey(_TRACK_X, 0.5066796875, 541.48799407254);
        effector:SetKey(_TRACK_Y, 0.5066796875, 231.763435592459);
        effector:SetKey(_TRACK_X, 0.5733203125, 524.974581309062);
        effector:SetKey(_TRACK_Y, 0.5733203125, 233.131673163699);
        effector:SetKey(_TRACK_X, 0.64, 511.375534819884);
        effector:SetKey(_TRACK_Y, 0.64, 242.759181600615);
        effector:SetKey(_TRACK_X, 0.7066796875, 501.643632061806);
        effector:SetKey(_TRACK_Y, 0.7066796875, 256.407298554776);
        effector:SetKey(_TRACK_X, 0.7733203125, 494.51087961931);
        effector:SetKey(_TRACK_Y, 0.7733203125, 271.596505405228);
        effector:SetKey(_TRACK_X, 0.84, 489.056227895917);
        effector:SetKey(_TRACK_Y, 0.84, 287.484671049067);
        effector:SetKey(_TRACK_X, 0.9066796875, 484.772243174929);
        effector:SetKey(_TRACK_Y, 0.9066796875, 303.73038028028);
        effector:SetKey(_TRACK_X, 0.9733203125, 481.361756378411);
        effector:SetKey(_TRACK_Y, 0.9733203125, 320.162116706172);
        effector:SetKey(_TRACK_X, 1.04, 478.628506571087);
        effector:SetKey(_TRACK_Y, 1.04, 336.733631077982);
        effector:SetKey(_TRACK_X, 1.1066796875, 476.448734226512);
        effector:SetKey(_TRACK_Y, 1.1066796875, 353.392417569524);
        effector:SetKey(_TRACK_X, 1.1733203125, 474.736066938992);
        effector:SetKey(_TRACK_Y, 1.1733203125, 370.096701693413);
        effector:SetKey(_TRACK_X, 1.24, 473.424818198316);
        effector:SetKey(_TRACK_Y, 1.24, 386.849213254676);
        effector:SetKey(_TRACK_X, 1.3066796875, 472.468980195445);
        effector:SetKey(_TRACK_Y, 1.3066796875, 403.628862121177);
        effector:SetKey(_TRACK_X, 1.3733203125, 471.833342277291);
        effector:SetKey(_TRACK_Y, 1.3733203125, 420.418391932314);
        effector:SetKey(_TRACK_X, 1.4, 471.662158371113);
        effector:SetKey(_TRACK_Y, 1.4, 427.144953398004);
        effector:SetKey(_TRACK_X, 2.44, 470.5);
        effector:SetKey(_TRACK_Y, 2.44, 671);
        effector:SetKey(_TRACK_SX, 0.44, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.44, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 1.2, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 1.2, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.44, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.44, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.44, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.6, 1.34155152992952);
        effector:SetKey(_TRACK_A, 1.04, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.44, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.44, 0);
        effector:SetKey(_TRACK_O, 0.52, 1);
        effector:SetKey(_TRACK_O, 1.24, 1);
        effector:SetKey(_TRACK_O, 1.84, 0);
    
        effector:Play();
    
    
        -- Layer Water_3
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_3");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.28, 0.64);
    
        effector:SetKey(_TRACK_X, 0.28, 557);
        effector:SetKey(_TRACK_Y, 0.28, 238);
        effector:SetKey(_TRACK_X, 0.3466796875, 548.224574307399);
        effector:SetKey(_TRACK_Y, 0.3466796875, 223.497244982286);
        effector:SetKey(_TRACK_X, 0.4133203125, 535.359367364387);
        effector:SetKey(_TRACK_Y, 0.4133203125, 212.886780646924);
        effector:SetKey(_TRACK_X, 0.48, 520.804046765466);
        effector:SetKey(_TRACK_Y, 0.48, 219.335841431599);
        effector:SetKey(_TRACK_X, 0.5466796875, 512.625770542942);
        effector:SetKey(_TRACK_Y, 0.5466796875, 234.136790792657);
        effector:SetKey(_TRACK_X, 0.6133203125, 507.141354492523);
        effector:SetKey(_TRACK_Y, 0.6133203125, 250.171088889362);
        effector:SetKey(_TRACK_X, 0.68, 502.996658840495);
        effector:SetKey(_TRACK_Y, 0.68, 266.61804675846);
        effector:SetKey(_TRACK_X, 0.7466796875, 499.701407912033);
        effector:SetKey(_TRACK_Y, 0.7466796875, 283.249998714311);
        effector:SetKey(_TRACK_X, 0.8133203125, 497.016515191119);
        effector:SetKey(_TRACK_Y, 0.8133203125, 299.981636423594);
        effector:SetKey(_TRACK_X, 0.88, 494.804837395366);
        effector:SetKey(_TRACK_Y, 0.88, 316.794169236863);
        effector:SetKey(_TRACK_X, 0.9466796875, 492.985732323173);
        effector:SetKey(_TRACK_Y, 0.9466796875, 333.660053678695);
        effector:SetKey(_TRACK_X, 1.0133203125, 491.508161290326);
        effector:SetKey(_TRACK_Y, 1.0133203125, 350.548381495544);
        effector:SetKey(_TRACK_X, 1.08, 490.335881265363);
        effector:SetKey(_TRACK_Y, 1.08, 367.471244786168);
        effector:SetKey(_TRACK_X, 1.1466796875, 489.448144955589);
        effector:SetKey(_TRACK_Y, 1.1466796875, 384.412798670936);
        effector:SetKey(_TRACK_X, 1.2133203125, 488.833194655385);
        effector:SetKey(_TRACK_Y, 1.2133203125, 401.358068906636);
        effector:SetKey(_TRACK_X, 1.24, 488.662158371113);
        effector:SetKey(_TRACK_Y, 1.24, 408.144953398004);
        effector:SetKey(_TRACK_X, 2.28, 470.5);
        effector:SetKey(_TRACK_Y, 2.28, 671);
        effector:SetKey(_TRACK_SX, 0.28, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.28, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 1.04, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 1.04, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.28, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.28, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.28, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.44, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.88, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.28, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.28, 0);
        effector:SetKey(_TRACK_O, 0.36, 1);
        effector:SetKey(_TRACK_O, 1.08, 1);
        effector:SetKey(_TRACK_O, 1.68, 0);
    
        effector:Play();
    
    
        -- Layer Water_4
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_4");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.16, 0.64);
    
        effector:SetKey(_TRACK_X, 0.16, 557);
        effector:SetKey(_TRACK_Y, 0.16, 238);
        effector:SetKey(_TRACK_X, 0.2266796875, 541.53109294774);
        effector:SetKey(_TRACK_Y, 0.2266796875, 231.911208958539);
        effector:SetKey(_TRACK_X, 0.2933203125, 525.01438930347);
        effector:SetKey(_TRACK_Y, 0.2933203125, 230.55167328689);
        effector:SetKey(_TRACK_X, 0.36, 509.073520670228);
        effector:SetKey(_TRACK_Y, 0.36, 235.083585429153);
        effector:SetKey(_TRACK_X, 0.4266796875, 495.435030354823);
        effector:SetKey(_TRACK_Y, 0.4266796875, 244.557037393692);
        effector:SetKey(_TRACK_X, 0.4933203125, 484.453063832619);
        effector:SetKey(_TRACK_Y, 0.4933203125, 257.040935542081);
        effector:SetKey(_TRACK_X, 0.56, 475.693463037061);
        effector:SetKey(_TRACK_Y, 0.56, 271.194471814544);
        effector:SetKey(_TRACK_X, 0.6266796875, 468.676589343666);
        effector:SetKey(_TRACK_Y, 0.6266796875, 286.299426913685);
        effector:SetKey(_TRACK_X, 0.6933203125, 463.042211948025);
        effector:SetKey(_TRACK_Y, 0.6933203125, 301.967851484607);
        effector:SetKey(_TRACK_X, 0.76, 458.52925436071);
        effector:SetKey(_TRACK_Y, 0.76, 317.996736446706);
        effector:SetKey(_TRACK_X, 0.8266796875, 454.954548052444);
        effector:SetKey(_TRACK_Y, 0.8266796875, 334.263952107269);
        effector:SetKey(_TRACK_X, 0.8933203125, 452.187440716506);
        effector:SetKey(_TRACK_Y, 0.8933203125, 350.681533177073);
        effector:SetKey(_TRACK_X, 0.96, 450.126802225343);
        effector:SetKey(_TRACK_Y, 0.96, 367.216937428293);
        effector:SetKey(_TRACK_X, 1.0266796875, 448.700291777661);
        effector:SetKey(_TRACK_Y, 1.0266796875, 383.824833124498);
        effector:SetKey(_TRACK_X, 1.0933203125, 447.851016129359);
        effector:SetKey(_TRACK_Y, 1.0933203125, 400.470664508686);
        effector:SetKey(_TRACK_X, 1.12, 447.662158371113);
        effector:SetKey(_TRACK_Y, 1.12, 407.144953398004);
        effector:SetKey(_TRACK_X, 2.16, 470.5);
        effector:SetKey(_TRACK_Y, 2.16, 671);
        effector:SetKey(_TRACK_SX, 0.16, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.16, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 0.92, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.92, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.16, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.16, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.16, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.32, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.76, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.16, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.16, 0);
        effector:SetKey(_TRACK_O, 0.24, 1);
        effector:SetKey(_TRACK_O, 0.96, 1);
        effector:SetKey(_TRACK_O, 1.56, 0);
    
        effector:Play();
    
    
        -- Layer Water_5
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_5");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 557);
        effector:SetKey(_TRACK_Y, 0, 238);
        effector:SetKey(_TRACK_X, 0.0666796875, 543.365903311584);
        effector:SetKey(_TRACK_Y, 0.0666796875, 227.557337222883);
        effector:SetKey(_TRACK_X, 0.1333203125, 527.495512371555);
        effector:SetKey(_TRACK_Y, 0.1333203125, 221.258966148259);
        effector:SetKey(_TRACK_X, 0.2, 510.890627725101);
        effector:SetKey(_TRACK_Y, 0.2, 224.194517042185);
        effector:SetKey(_TRACK_X, 0.2666796875, 498.60787326287);
        effector:SetKey(_TRACK_Y, 0.2666796875, 236.0205058424);
        effector:SetKey(_TRACK_X, 0.3333203125, 490.478324365732);
        effector:SetKey(_TRACK_Y, 0.3333203125, 251.126423453639);
        effector:SetKey(_TRACK_X, 0.4, 484.748006879561);
        effector:SetKey(_TRACK_Y, 0.4, 267.330900752915);
        effector:SetKey(_TRACK_X, 0.4666796875, 480.501204227741);
        effector:SetKey(_TRACK_Y, 0.4666796875, 283.978690167902);
        effector:SetKey(_TRACK_X, 0.5333203125, 477.259091371092);
        effector:SetKey(_TRACK_Y, 0.5333203125, 300.846399362468);
        effector:SetKey(_TRACK_X, 0.6, 474.747431085502);
        effector:SetKey(_TRACK_Y, 0.6, 317.852623299854);
        effector:SetKey(_TRACK_X, 0.6666796875, 472.799513808988);
        effector:SetKey(_TRACK_Y, 0.6666796875, 334.937769007456);
        effector:SetKey(_TRACK_X, 0.7333203125, 471.304001625484);
        effector:SetKey(_TRACK_Y, 0.7333203125, 352.059654944586);
        effector:SetKey(_TRACK_X, 0.8, 470.180039605852);
        effector:SetKey(_TRACK_Y, 0.8, 369.222972937357);
        effector:SetKey(_TRACK_X, 0.8666796875, 469.370990688363);
        effector:SetKey(_TRACK_Y, 0.8666796875, 386.408846579066);
        effector:SetKey(_TRACK_X, 0.88, 469.243102541789);
        effector:SetKey(_TRACK_Y, 0.88, 389.844473182201);
        effector:SetKey(_TRACK_X, 2, 470.5);
        effector:SetKey(_TRACK_Y, 2, 671);
        effector:SetKey(_TRACK_SX, 0, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 0.76, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.76, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.16, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.6, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0);
        effector:SetKey(_TRACK_O, 0.08, 1);
        effector:SetKey(_TRACK_O, 0.8, 1);
        effector:SetKey(_TRACK_O, 1.4, 0);
    
        effector:Play();
    
    
        -- Layer Water_6
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_6");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 519.52071608464);
        effector:SetKey(_TRACK_Y, 0, 236.992762505787);
        effector:SetKey(_TRACK_X, 0.04, 511.375534819884);
        effector:SetKey(_TRACK_Y, 0.04, 242.759181600615);
        effector:SetKey(_TRACK_X, 0.1066796875, 501.643632061806);
        effector:SetKey(_TRACK_Y, 0.1066796875, 256.407298554776);
        effector:SetKey(_TRACK_X, 0.1733203125, 494.51087961931);
        effector:SetKey(_TRACK_Y, 0.1733203125, 271.596505405228);
        effector:SetKey(_TRACK_X, 0.24, 489.056227895917);
        effector:SetKey(_TRACK_Y, 0.24, 287.484671049067);
        effector:SetKey(_TRACK_X, 0.3066796875, 484.772243174929);
        effector:SetKey(_TRACK_Y, 0.3066796875, 303.73038028028);
        effector:SetKey(_TRACK_X, 0.3733203125, 481.361756378411);
        effector:SetKey(_TRACK_Y, 0.3733203125, 320.162116706172);
        effector:SetKey(_TRACK_X, 0.44, 478.628506571087);
        effector:SetKey(_TRACK_Y, 0.44, 336.733631077982);
        effector:SetKey(_TRACK_X, 0.5066796875, 476.448734226512);
        effector:SetKey(_TRACK_Y, 0.5066796875, 353.392417569524);
        effector:SetKey(_TRACK_X, 0.5733203125, 474.736066938992);
        effector:SetKey(_TRACK_Y, 0.5733203125, 370.096701693413);
        effector:SetKey(_TRACK_X, 0.64, 473.424818198316);
        effector:SetKey(_TRACK_Y, 0.64, 386.849213254676);
        effector:SetKey(_TRACK_X, 0.7066796875, 472.468980195445);
        effector:SetKey(_TRACK_Y, 0.7066796875, 403.628862121177);
        effector:SetKey(_TRACK_X, 0.7733203125, 471.833342277291);
        effector:SetKey(_TRACK_Y, 0.7733203125, 420.418391932314);
        effector:SetKey(_TRACK_X, 0.8, 471.662158371113);
        effector:SetKey(_TRACK_Y, 0.8, 427.144953398004);
        effector:SetKey(_TRACK_X, 1.84, 470.5);
        effector:SetKey(_TRACK_Y, 1.84, 671);
        effector:SetKey(_TRACK_SX, 0, 0.449880388681);
        effector:SetKey(_TRACK_SY, 0, 0.449880388681);
        effector:SetKey(_TRACK_SX, 0.6, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.6, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.84, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.84, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.44, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.84, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.64, 1);
        effector:SetKey(_TRACK_O, 1.24, 0);
    
        effector:Play();
    
    
        -- Layer Water_7
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_7");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0.0133203125, 507.141354492523);
        effector:SetKey(_TRACK_Y, 0.0133203125, 250.171088889362);
        effector:SetKey(_TRACK_X, 0.08, 502.996658840495);
        effector:SetKey(_TRACK_Y, 0.08, 266.61804675846);
        effector:SetKey(_TRACK_X, 0.1466796875, 499.701407912033);
        effector:SetKey(_TRACK_Y, 0.1466796875, 283.249998714311);
        effector:SetKey(_TRACK_X, 0.2133203125, 497.016515191119);
        effector:SetKey(_TRACK_Y, 0.2133203125, 299.981636423594);
        effector:SetKey(_TRACK_X, 0.28, 494.804837395366);
        effector:SetKey(_TRACK_Y, 0.28, 316.794169236863);
        effector:SetKey(_TRACK_X, 0.3466796875, 492.985732323173);
        effector:SetKey(_TRACK_Y, 0.3466796875, 333.660053678695);
        effector:SetKey(_TRACK_X, 0.4133203125, 491.508161290326);
        effector:SetKey(_TRACK_Y, 0.4133203125, 350.548381495544);
        effector:SetKey(_TRACK_X, 0.48, 490.335881265363);
        effector:SetKey(_TRACK_Y, 0.48, 367.471244786168);
        effector:SetKey(_TRACK_X, 0.5466796875, 489.448144955589);
        effector:SetKey(_TRACK_Y, 0.5466796875, 384.412798670936);
        effector:SetKey(_TRACK_X, 0.6133203125, 488.833194655385);
        effector:SetKey(_TRACK_Y, 0.6133203125, 401.358068906636);
        effector:SetKey(_TRACK_X, 0.64, 488.662158371113);
        effector:SetKey(_TRACK_Y, 0.64, 408.144953398004);
        effector:SetKey(_TRACK_X, 1.68, 470.5);
        effector:SetKey(_TRACK_Y, 1.68, 671);
        effector:SetKey(_TRACK_SX, 0, 0.68611670815933);
        effector:SetKey(_TRACK_SY, 0, 0.68611670815933);
        effector:SetKey(_TRACK_SX, 0.44, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.44, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.68, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.68, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.881891821744);
        effector:SetKey(_TRACK_A, 0.28, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.68, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.48, 1);
        effector:SetKey(_TRACK_O, 1.08, 0);
    
        effector:Play();
    
    
        -- Layer Water_8
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_8");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 471.490689836008);
        effector:SetKey(_TRACK_Y, 0, 280.241620625779);
        effector:SetKey(_TRACK_X, 0.0266796875, 468.676589343666);
        effector:SetKey(_TRACK_Y, 0.0266796875, 286.299426913685);
        effector:SetKey(_TRACK_X, 0.0933203125, 463.042211948025);
        effector:SetKey(_TRACK_Y, 0.0933203125, 301.967851484607);
        effector:SetKey(_TRACK_X, 0.16, 458.52925436071);
        effector:SetKey(_TRACK_Y, 0.16, 317.996736446706);
        effector:SetKey(_TRACK_X, 0.2266796875, 454.954548052444);
        effector:SetKey(_TRACK_Y, 0.2266796875, 334.263952107269);
        effector:SetKey(_TRACK_X, 0.2933203125, 452.187440716506);
        effector:SetKey(_TRACK_Y, 0.2933203125, 350.681533177073);
        effector:SetKey(_TRACK_X, 0.36, 450.126802225343);
        effector:SetKey(_TRACK_Y, 0.36, 367.216937428293);
        effector:SetKey(_TRACK_X, 0.4266796875, 448.700291777661);
        effector:SetKey(_TRACK_Y, 0.4266796875, 383.824833124498);
        effector:SetKey(_TRACK_X, 0.4933203125, 447.851016129359);
        effector:SetKey(_TRACK_Y, 0.4933203125, 400.470664508686);
        effector:SetKey(_TRACK_X, 0.52, 447.662158371113);
        effector:SetKey(_TRACK_Y, 0.52, 407.144953398004);
        effector:SetKey(_TRACK_X, 1.56, 470.5);
        effector:SetKey(_TRACK_Y, 1.56, 671);
        effector:SetKey(_TRACK_SX, 0, 0.86329394776807);
        effector:SetKey(_TRACK_SY, 0, 0.86329394776807);
        effector:SetKey(_TRACK_SX, 0.32, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.32, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.56, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.56, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.53714704060485);
        effector:SetKey(_TRACK_A, 0.16, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.56, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.36, 1);
        effector:SetKey(_TRACK_O, 0.96, 0);
    
        effector:Play();
    
    
        -- Layer Water_9
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_9");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 474.747431085502);
        effector:SetKey(_TRACK_Y, 0, 317.852623299854);
        effector:SetKey(_TRACK_X, 0.0666796875, 472.799513808988);
        effector:SetKey(_TRACK_Y, 0.0666796875, 334.937769007456);
        effector:SetKey(_TRACK_X, 0.1333203125, 471.304001625484);
        effector:SetKey(_TRACK_Y, 0.1333203125, 352.059654944586);
        effector:SetKey(_TRACK_X, 0.2, 470.180039605852);
        effector:SetKey(_TRACK_Y, 0.2, 369.222972937357);
        effector:SetKey(_TRACK_X, 0.2666796875, 469.370990688363);
        effector:SetKey(_TRACK_Y, 0.2666796875, 386.408846579066);
        effector:SetKey(_TRACK_X, 0.28, 469.243102541789);
        effector:SetKey(_TRACK_Y, 0.28, 389.844473182201);
        effector:SetKey(_TRACK_X, 1.4, 470.5);
        effector:SetKey(_TRACK_Y, 1.4, 671);
        effector:SetKey(_TRACK_SX, 0, 1.0995302672464);
        effector:SetKey(_TRACK_SY, 0, 1.0995302672464);
        effector:SetKey(_TRACK_SX, 0.16, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.16, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.4, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.4, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.4, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.2, 1);
        effector:SetKey(_TRACK_O, 0.8, 0);
    
        effector:Play();
    
    
        -- Layer Water_10
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_10");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 474.211469255968);
        effector:SetKey(_TRACK_Y, 0, 376.798960751702);
        effector:SetKey(_TRACK_X, 0.04, 473.424818198316);
        effector:SetKey(_TRACK_Y, 0.04, 386.849213254676);
        effector:SetKey(_TRACK_X, 0.1066796875, 472.468980195445);
        effector:SetKey(_TRACK_Y, 0.1066796875, 403.628862121177);
        effector:SetKey(_TRACK_X, 0.1733203125, 471.833342277291);
        effector:SetKey(_TRACK_Y, 0.1733203125, 420.418391932314);
        effector:SetKey(_TRACK_X, 0.2, 471.662158371113);
        effector:SetKey(_TRACK_Y, 0.2, 427.144953398004);
        effector:SetKey(_TRACK_X, 1.24, 470.5);
        effector:SetKey(_TRACK_Y, 1.24, 671);
        effector:SetKey(_TRACK_SX, 0, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.24, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.24, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.07230263782771);
        effector:SetKey(_TRACK_A, 1.24, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.04, 1);
        effector:SetKey(_TRACK_O, 0.64, 0);
    
        effector:Play();
    
    
        -- Layer Water_11
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_11");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0.0133203125, 488.833194655385);
        effector:SetKey(_TRACK_Y, 0.0133203125, 401.358068906636);
        effector:SetKey(_TRACK_X, 0.04, 488.662158371113);
        effector:SetKey(_TRACK_Y, 0.04, 408.144953398004);
        effector:SetKey(_TRACK_X, 1.08, 470.5);
        effector:SetKey(_TRACK_Y, 1.08, 671);
        effector:SetKey(_TRACK_SX, 0, 1.46164973135229);
        effector:SetKey(_TRACK_SY, 0, 1.46164973135229);
        effector:SetKey(_TRACK_SX, 1.08, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.08, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.06711794323609);
        effector:SetKey(_TRACK_A, 1.08, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0.8);
        effector:SetKey(_TRACK_O, 0.48, 0);
    
        effector:Play();
    
    
        -- Layer Water_12
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_12");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 450.197836544908);
        effector:SetKey(_TRACK_Y, 0, 427.386595189655);
        effector:SetKey(_TRACK_X, 0.96, 470.5);
        effector:SetKey(_TRACK_Y, 0.96, 671);
        effector:SetKey(_TRACK_SX, 0, 1.55606208982296);
        effector:SetKey(_TRACK_SY, 0, 1.55606208982297);
        effector:SetKey(_TRACK_SX, 0.96, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 0.96, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.06322942229238);
        effector:SetKey(_TRACK_A, 0.96, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0.6);
        effector:SetKey(_TRACK_O, 0.36, 0);
    
        effector:Play();
    
    
        -- Layer Water_13
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_13");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(148.293, 189.604);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 471.55155113739);
        effector:SetKey(_TRACK_Y, 0, 470.191976056666);
        effector:SetKey(_TRACK_X, 0.8, 470.5);
        effector:SetKey(_TRACK_Y, 0.8, 671);
        effector:SetKey(_TRACK_SX, 0, 1.68194523445053);
        effector:SetKey(_TRACK_SY, 0, 1.68194523445053);
        effector:SetKey(_TRACK_SX, 0.8, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 0.8, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.05804472770076);
        effector:SetKey(_TRACK_A, 0.8, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0.33333333333333);
        effector:SetKey(_TRACK_O, 0.2, 0);
    
        effector:Play();
    
    
        -- Layer Water_14
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_14");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.6, 0.64);
    
        effector:SetKey(_TRACK_X, 0.6, 557);
        effector:SetKey(_TRACK_Y, 0.6, 238);
        effector:SetKey(_TRACK_X, 0.6666796875, 543.365903311584);
        effector:SetKey(_TRACK_Y, 0.6666796875, 227.557337222883);
        effector:SetKey(_TRACK_X, 0.7333203125, 527.495512371555);
        effector:SetKey(_TRACK_Y, 0.7333203125, 221.258966148259);
        effector:SetKey(_TRACK_X, 0.8, 510.890627725101);
        effector:SetKey(_TRACK_Y, 0.8, 224.194517042185);
        effector:SetKey(_TRACK_X, 0.8666796875, 498.60787326287);
        effector:SetKey(_TRACK_Y, 0.8666796875, 236.0205058424);
        effector:SetKey(_TRACK_X, 0.9333203125, 490.478324365732);
        effector:SetKey(_TRACK_Y, 0.9333203125, 251.126423453639);
        effector:SetKey(_TRACK_X, 1, 484.748006879561);
        effector:SetKey(_TRACK_Y, 1, 267.330900752915);
        effector:SetKey(_TRACK_X, 1.0666796875, 480.501204227741);
        effector:SetKey(_TRACK_Y, 1.0666796875, 283.978690167902);
        effector:SetKey(_TRACK_X, 1.1333203125, 477.259091371092);
        effector:SetKey(_TRACK_Y, 1.1333203125, 300.846399362468);
        effector:SetKey(_TRACK_X, 1.2, 474.747431085502);
        effector:SetKey(_TRACK_Y, 1.2, 317.852623299854);
        effector:SetKey(_TRACK_X, 1.2666796875, 472.799513808988);
        effector:SetKey(_TRACK_Y, 1.2666796875, 334.937769007456);
        effector:SetKey(_TRACK_X, 1.3333203125, 471.304001625484);
        effector:SetKey(_TRACK_Y, 1.3333203125, 352.059654944586);
        effector:SetKey(_TRACK_X, 1.4, 470.180039605852);
        effector:SetKey(_TRACK_Y, 1.4, 369.222972937357);
        effector:SetKey(_TRACK_X, 1.4666796875, 469.370990688363);
        effector:SetKey(_TRACK_Y, 1.4666796875, 386.408846579066);
        effector:SetKey(_TRACK_X, 1.48, 469.243102541789);
        effector:SetKey(_TRACK_Y, 1.48, 389.844473182201);
        effector:SetKey(_TRACK_X, 2.6, 470.5);
        effector:SetKey(_TRACK_Y, 2.6, 671);
        effector:SetKey(_TRACK_SX, 0.6, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.6, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 1.36, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 1.36, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.6, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.6, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.6, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.76, 1.34155152992952);
        effector:SetKey(_TRACK_A, 1.2, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.6, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.6, 0);
        effector:SetKey(_TRACK_O, 0.68, 1);
        effector:SetKey(_TRACK_O, 1.4, 1);
        effector:SetKey(_TRACK_O, 2, 0);
    
        effector:Play();
    
    
        -- Layer Water_15
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_15");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.44, 0.64);
    
        effector:SetKey(_TRACK_X, 0.44, 557);
        effector:SetKey(_TRACK_Y, 0.44, 238);
        effector:SetKey(_TRACK_X, 0.5066796875, 541.48799407254);
        effector:SetKey(_TRACK_Y, 0.5066796875, 231.763435592459);
        effector:SetKey(_TRACK_X, 0.5733203125, 524.974581309062);
        effector:SetKey(_TRACK_Y, 0.5733203125, 233.131673163699);
        effector:SetKey(_TRACK_X, 0.64, 511.375534819884);
        effector:SetKey(_TRACK_Y, 0.64, 242.759181600615);
        effector:SetKey(_TRACK_X, 0.7066796875, 501.643632061806);
        effector:SetKey(_TRACK_Y, 0.7066796875, 256.407298554776);
        effector:SetKey(_TRACK_X, 0.7733203125, 494.51087961931);
        effector:SetKey(_TRACK_Y, 0.7733203125, 271.596505405228);
        effector:SetKey(_TRACK_X, 0.84, 489.056227895917);
        effector:SetKey(_TRACK_Y, 0.84, 287.484671049067);
        effector:SetKey(_TRACK_X, 0.9066796875, 484.772243174929);
        effector:SetKey(_TRACK_Y, 0.9066796875, 303.73038028028);
        effector:SetKey(_TRACK_X, 0.9733203125, 481.361756378411);
        effector:SetKey(_TRACK_Y, 0.9733203125, 320.162116706172);
        effector:SetKey(_TRACK_X, 1.04, 478.628506571087);
        effector:SetKey(_TRACK_Y, 1.04, 336.733631077982);
        effector:SetKey(_TRACK_X, 1.1066796875, 476.448734226512);
        effector:SetKey(_TRACK_Y, 1.1066796875, 353.392417569524);
        effector:SetKey(_TRACK_X, 1.1733203125, 474.736066938992);
        effector:SetKey(_TRACK_Y, 1.1733203125, 370.096701693413);
        effector:SetKey(_TRACK_X, 1.24, 473.424818198316);
        effector:SetKey(_TRACK_Y, 1.24, 386.849213254676);
        effector:SetKey(_TRACK_X, 1.3066796875, 472.468980195445);
        effector:SetKey(_TRACK_Y, 1.3066796875, 403.628862121177);
        effector:SetKey(_TRACK_X, 1.3733203125, 471.833342277291);
        effector:SetKey(_TRACK_Y, 1.3733203125, 420.418391932314);
        effector:SetKey(_TRACK_X, 1.4, 471.662158371113);
        effector:SetKey(_TRACK_Y, 1.4, 427.144953398004);
        effector:SetKey(_TRACK_X, 2.44, 470.5);
        effector:SetKey(_TRACK_Y, 2.44, 671);
        effector:SetKey(_TRACK_SX, 0.44, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.44, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 1.2, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 1.2, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.44, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.44, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.44, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.6, 1.34155152992952);
        effector:SetKey(_TRACK_A, 1.04, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.44, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.44, 0);
        effector:SetKey(_TRACK_O, 0.52, 1);
        effector:SetKey(_TRACK_O, 1.24, 1);
        effector:SetKey(_TRACK_O, 1.84, 0);
    
        effector:Play();
    
    
        -- Layer Water_16
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_16");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.28, 0.64);
    
        effector:SetKey(_TRACK_X, 0.28, 557);
        effector:SetKey(_TRACK_Y, 0.28, 238);
        effector:SetKey(_TRACK_X, 0.3466796875, 548.224574307399);
        effector:SetKey(_TRACK_Y, 0.3466796875, 223.497244982286);
        effector:SetKey(_TRACK_X, 0.4133203125, 535.359367364387);
        effector:SetKey(_TRACK_Y, 0.4133203125, 212.886780646924);
        effector:SetKey(_TRACK_X, 0.48, 520.804046765466);
        effector:SetKey(_TRACK_Y, 0.48, 219.335841431599);
        effector:SetKey(_TRACK_X, 0.5466796875, 512.625770542942);
        effector:SetKey(_TRACK_Y, 0.5466796875, 234.136790792657);
        effector:SetKey(_TRACK_X, 0.6133203125, 507.141354492523);
        effector:SetKey(_TRACK_Y, 0.6133203125, 250.171088889362);
        effector:SetKey(_TRACK_X, 0.68, 502.996658840495);
        effector:SetKey(_TRACK_Y, 0.68, 266.61804675846);
        effector:SetKey(_TRACK_X, 0.7466796875, 499.701407912033);
        effector:SetKey(_TRACK_Y, 0.7466796875, 283.249998714311);
        effector:SetKey(_TRACK_X, 0.8133203125, 497.016515191119);
        effector:SetKey(_TRACK_Y, 0.8133203125, 299.981636423594);
        effector:SetKey(_TRACK_X, 0.88, 494.804837395366);
        effector:SetKey(_TRACK_Y, 0.88, 316.794169236863);
        effector:SetKey(_TRACK_X, 0.9466796875, 492.985732323173);
        effector:SetKey(_TRACK_Y, 0.9466796875, 333.660053678695);
        effector:SetKey(_TRACK_X, 1.0133203125, 491.508161290326);
        effector:SetKey(_TRACK_Y, 1.0133203125, 350.548381495544);
        effector:SetKey(_TRACK_X, 1.08, 490.335881265363);
        effector:SetKey(_TRACK_Y, 1.08, 367.471244786168);
        effector:SetKey(_TRACK_X, 1.1466796875, 489.448144955589);
        effector:SetKey(_TRACK_Y, 1.1466796875, 384.412798670936);
        effector:SetKey(_TRACK_X, 1.2133203125, 488.833194655385);
        effector:SetKey(_TRACK_Y, 1.2133203125, 401.358068906636);
        effector:SetKey(_TRACK_X, 1.24, 488.662158371113);
        effector:SetKey(_TRACK_Y, 1.24, 408.144953398004);
        effector:SetKey(_TRACK_X, 2.28, 470.5);
        effector:SetKey(_TRACK_Y, 2.28, 671);
        effector:SetKey(_TRACK_SX, 0.28, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.28, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 1.04, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 1.04, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.28, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.28, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.28, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.44, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.88, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.28, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.28, 0);
        effector:SetKey(_TRACK_O, 0.36, 1);
        effector:SetKey(_TRACK_O, 1.08, 1);
        effector:SetKey(_TRACK_O, 1.68, 0);
    
        effector:Play();
    
    
        -- Layer Water_17
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_17");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.16, 0.64);
    
        effector:SetKey(_TRACK_X, 0.16, 557);
        effector:SetKey(_TRACK_Y, 0.16, 238);
        effector:SetKey(_TRACK_X, 0.2266796875, 541.53109294774);
        effector:SetKey(_TRACK_Y, 0.2266796875, 231.911208958539);
        effector:SetKey(_TRACK_X, 0.2933203125, 525.01438930347);
        effector:SetKey(_TRACK_Y, 0.2933203125, 230.55167328689);
        effector:SetKey(_TRACK_X, 0.36, 509.073520670228);
        effector:SetKey(_TRACK_Y, 0.36, 235.083585429153);
        effector:SetKey(_TRACK_X, 0.4266796875, 495.435030354823);
        effector:SetKey(_TRACK_Y, 0.4266796875, 244.557037393692);
        effector:SetKey(_TRACK_X, 0.4933203125, 484.453063832619);
        effector:SetKey(_TRACK_Y, 0.4933203125, 257.040935542081);
        effector:SetKey(_TRACK_X, 0.56, 475.693463037061);
        effector:SetKey(_TRACK_Y, 0.56, 271.194471814544);
        effector:SetKey(_TRACK_X, 0.6266796875, 468.676589343666);
        effector:SetKey(_TRACK_Y, 0.6266796875, 286.299426913685);
        effector:SetKey(_TRACK_X, 0.6933203125, 463.042211948025);
        effector:SetKey(_TRACK_Y, 0.6933203125, 301.967851484607);
        effector:SetKey(_TRACK_X, 0.76, 458.52925436071);
        effector:SetKey(_TRACK_Y, 0.76, 317.996736446706);
        effector:SetKey(_TRACK_X, 0.8266796875, 454.954548052444);
        effector:SetKey(_TRACK_Y, 0.8266796875, 334.263952107269);
        effector:SetKey(_TRACK_X, 0.8933203125, 452.187440716506);
        effector:SetKey(_TRACK_Y, 0.8933203125, 350.681533177073);
        effector:SetKey(_TRACK_X, 0.96, 450.126802225343);
        effector:SetKey(_TRACK_Y, 0.96, 367.216937428293);
        effector:SetKey(_TRACK_X, 1.0266796875, 448.700291777661);
        effector:SetKey(_TRACK_Y, 1.0266796875, 383.824833124498);
        effector:SetKey(_TRACK_X, 1.0933203125, 447.851016129359);
        effector:SetKey(_TRACK_Y, 1.0933203125, 400.470664508686);
        effector:SetKey(_TRACK_X, 1.12, 447.662158371113);
        effector:SetKey(_TRACK_Y, 1.12, 407.144953398004);
        effector:SetKey(_TRACK_X, 2.16, 470.5);
        effector:SetKey(_TRACK_Y, 2.16, 671);
        effector:SetKey(_TRACK_SX, 0.16, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0.16, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 0.92, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.92, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2.16, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2.16, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0.16, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.32, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.76, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2.16, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0.16, 0);
        effector:SetKey(_TRACK_O, 0.24, 1);
        effector:SetKey(_TRACK_O, 0.96, 1);
        effector:SetKey(_TRACK_O, 1.56, 0);
    
        effector:Play();
    
    
        -- Layer Water_18
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_18");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 557);
        effector:SetKey(_TRACK_Y, 0, 238);
        effector:SetKey(_TRACK_X, 0.0666796875, 543.365903311584);
        effector:SetKey(_TRACK_Y, 0.0666796875, 227.557337222883);
        effector:SetKey(_TRACK_X, 0.1333203125, 527.495512371555);
        effector:SetKey(_TRACK_Y, 0.1333203125, 221.258966148259);
        effector:SetKey(_TRACK_X, 0.2, 510.890627725101);
        effector:SetKey(_TRACK_Y, 0.2, 224.194517042185);
        effector:SetKey(_TRACK_X, 0.2666796875, 498.60787326287);
        effector:SetKey(_TRACK_Y, 0.2666796875, 236.0205058424);
        effector:SetKey(_TRACK_X, 0.3333203125, 490.478324365732);
        effector:SetKey(_TRACK_Y, 0.3333203125, 251.126423453639);
        effector:SetKey(_TRACK_X, 0.4, 484.748006879561);
        effector:SetKey(_TRACK_Y, 0.4, 267.330900752915);
        effector:SetKey(_TRACK_X, 0.4666796875, 480.501204227741);
        effector:SetKey(_TRACK_Y, 0.4666796875, 283.978690167902);
        effector:SetKey(_TRACK_X, 0.5333203125, 477.259091371092);
        effector:SetKey(_TRACK_Y, 0.5333203125, 300.846399362468);
        effector:SetKey(_TRACK_X, 0.6, 474.747431085502);
        effector:SetKey(_TRACK_Y, 0.6, 317.852623299854);
        effector:SetKey(_TRACK_X, 0.6666796875, 472.799513808988);
        effector:SetKey(_TRACK_Y, 0.6666796875, 334.937769007456);
        effector:SetKey(_TRACK_X, 0.7333203125, 471.304001625484);
        effector:SetKey(_TRACK_Y, 0.7333203125, 352.059654944586);
        effector:SetKey(_TRACK_X, 0.8, 470.180039605852);
        effector:SetKey(_TRACK_Y, 0.8, 369.222972937357);
        effector:SetKey(_TRACK_X, 0.8666796875, 469.370990688363);
        effector:SetKey(_TRACK_Y, 0.8666796875, 386.408846579066);
        effector:SetKey(_TRACK_X, 0.88, 469.243102541789);
        effector:SetKey(_TRACK_Y, 0.88, 389.844473182201);
        effector:SetKey(_TRACK_X, 2, 470.5);
        effector:SetKey(_TRACK_Y, 2, 671);
        effector:SetKey(_TRACK_SX, 0, 0.21364406920267);
        effector:SetKey(_TRACK_SY, 0, 0.21364406920267);
        effector:SetKey(_TRACK_SX, 0.76, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.76, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 2, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 2, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 2.37777056943697);
        effector:SetKey(_TRACK_A, 0.16, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.6, 0.07748733241932);
        effector:SetKey(_TRACK_A, 2, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0);
        effector:SetKey(_TRACK_O, 0.08, 1);
        effector:SetKey(_TRACK_O, 0.8, 1);
        effector:SetKey(_TRACK_O, 1.4, 0);
    
        effector:Play();
    
    
        -- Layer Water_19
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_19");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 519.52071608464);
        effector:SetKey(_TRACK_Y, 0, 236.992762505787);
        effector:SetKey(_TRACK_X, 0.04, 511.375534819884);
        effector:SetKey(_TRACK_Y, 0.04, 242.759181600615);
        effector:SetKey(_TRACK_X, 0.1066796875, 501.643632061806);
        effector:SetKey(_TRACK_Y, 0.1066796875, 256.407298554776);
        effector:SetKey(_TRACK_X, 0.1733203125, 494.51087961931);
        effector:SetKey(_TRACK_Y, 0.1733203125, 271.596505405228);
        effector:SetKey(_TRACK_X, 0.24, 489.056227895917);
        effector:SetKey(_TRACK_Y, 0.24, 287.484671049067);
        effector:SetKey(_TRACK_X, 0.3066796875, 484.772243174929);
        effector:SetKey(_TRACK_Y, 0.3066796875, 303.73038028028);
        effector:SetKey(_TRACK_X, 0.3733203125, 481.361756378411);
        effector:SetKey(_TRACK_Y, 0.3733203125, 320.162116706172);
        effector:SetKey(_TRACK_X, 0.44, 478.628506571087);
        effector:SetKey(_TRACK_Y, 0.44, 336.733631077982);
        effector:SetKey(_TRACK_X, 0.5066796875, 476.448734226512);
        effector:SetKey(_TRACK_Y, 0.5066796875, 353.392417569524);
        effector:SetKey(_TRACK_X, 0.5733203125, 474.736066938992);
        effector:SetKey(_TRACK_Y, 0.5733203125, 370.096701693413);
        effector:SetKey(_TRACK_X, 0.64, 473.424818198316);
        effector:SetKey(_TRACK_Y, 0.64, 386.849213254676);
        effector:SetKey(_TRACK_X, 0.7066796875, 472.468980195445);
        effector:SetKey(_TRACK_Y, 0.7066796875, 403.628862121177);
        effector:SetKey(_TRACK_X, 0.7733203125, 471.833342277291);
        effector:SetKey(_TRACK_Y, 0.7733203125, 420.418391932314);
        effector:SetKey(_TRACK_X, 0.8, 471.662158371113);
        effector:SetKey(_TRACK_Y, 0.8, 427.144953398004);
        effector:SetKey(_TRACK_X, 1.84, 470.5);
        effector:SetKey(_TRACK_Y, 1.84, 671);
        effector:SetKey(_TRACK_SX, 0, 0.449880388681);
        effector:SetKey(_TRACK_SY, 0, 0.449880388681);
        effector:SetKey(_TRACK_SX, 0.6, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.6, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.84, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.84, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 1.34155152992952);
        effector:SetKey(_TRACK_A, 0.44, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.84, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.64, 1);
        effector:SetKey(_TRACK_O, 1.24, 0);
    
        effector:Play();
    
    
        -- Layer Water_20
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_20");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0.0133203125, 507.141354492523);
        effector:SetKey(_TRACK_Y, 0.0133203125, 250.171088889362);
        effector:SetKey(_TRACK_X, 0.08, 502.996658840495);
        effector:SetKey(_TRACK_Y, 0.08, 266.61804675846);
        effector:SetKey(_TRACK_X, 0.1466796875, 499.701407912033);
        effector:SetKey(_TRACK_Y, 0.1466796875, 283.249998714311);
        effector:SetKey(_TRACK_X, 0.2133203125, 497.016515191119);
        effector:SetKey(_TRACK_Y, 0.2133203125, 299.981636423594);
        effector:SetKey(_TRACK_X, 0.28, 494.804837395366);
        effector:SetKey(_TRACK_Y, 0.28, 316.794169236863);
        effector:SetKey(_TRACK_X, 0.3466796875, 492.985732323173);
        effector:SetKey(_TRACK_Y, 0.3466796875, 333.660053678695);
        effector:SetKey(_TRACK_X, 0.4133203125, 491.508161290326);
        effector:SetKey(_TRACK_Y, 0.4133203125, 350.548381495544);
        effector:SetKey(_TRACK_X, 0.48, 490.335881265363);
        effector:SetKey(_TRACK_Y, 0.48, 367.471244786168);
        effector:SetKey(_TRACK_X, 0.5466796875, 489.448144955589);
        effector:SetKey(_TRACK_Y, 0.5466796875, 384.412798670936);
        effector:SetKey(_TRACK_X, 0.6133203125, 488.833194655385);
        effector:SetKey(_TRACK_Y, 0.6133203125, 401.358068906636);
        effector:SetKey(_TRACK_X, 0.64, 488.662158371113);
        effector:SetKey(_TRACK_Y, 0.64, 408.144953398004);
        effector:SetKey(_TRACK_X, 1.68, 470.5);
        effector:SetKey(_TRACK_Y, 1.68, 671);
        effector:SetKey(_TRACK_SX, 0, 0.68611670815933);
        effector:SetKey(_TRACK_SY, 0, 0.68611670815933);
        effector:SetKey(_TRACK_SX, 0.44, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.44, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.68, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.68, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.881891821744);
        effector:SetKey(_TRACK_A, 0.28, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.68, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.48, 1);
        effector:SetKey(_TRACK_O, 1.08, 0);
    
        effector:Play();
    
    
        -- Layer Water_21
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_21");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 471.490689836008);
        effector:SetKey(_TRACK_Y, 0, 280.241620625779);
        effector:SetKey(_TRACK_X, 0.0266796875, 468.676589343666);
        effector:SetKey(_TRACK_Y, 0.0266796875, 286.299426913685);
        effector:SetKey(_TRACK_X, 0.0933203125, 463.042211948025);
        effector:SetKey(_TRACK_Y, 0.0933203125, 301.967851484607);
        effector:SetKey(_TRACK_X, 0.16, 458.52925436071);
        effector:SetKey(_TRACK_Y, 0.16, 317.996736446706);
        effector:SetKey(_TRACK_X, 0.2266796875, 454.954548052444);
        effector:SetKey(_TRACK_Y, 0.2266796875, 334.263952107269);
        effector:SetKey(_TRACK_X, 0.2933203125, 452.187440716506);
        effector:SetKey(_TRACK_Y, 0.2933203125, 350.681533177073);
        effector:SetKey(_TRACK_X, 0.36, 450.126802225343);
        effector:SetKey(_TRACK_Y, 0.36, 367.216937428293);
        effector:SetKey(_TRACK_X, 0.4266796875, 448.700291777661);
        effector:SetKey(_TRACK_Y, 0.4266796875, 383.824833124498);
        effector:SetKey(_TRACK_X, 0.4933203125, 447.851016129359);
        effector:SetKey(_TRACK_Y, 0.4933203125, 400.470664508686);
        effector:SetKey(_TRACK_X, 0.52, 447.662158371113);
        effector:SetKey(_TRACK_Y, 0.52, 407.144953398004);
        effector:SetKey(_TRACK_X, 1.56, 470.5);
        effector:SetKey(_TRACK_Y, 1.56, 671);
        effector:SetKey(_TRACK_SX, 0, 0.86329394776807);
        effector:SetKey(_TRACK_SY, 0, 0.86329394776807);
        effector:SetKey(_TRACK_SX, 0.32, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.32, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.56, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.56, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.53714704060485);
        effector:SetKey(_TRACK_A, 0.16, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.56, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.36, 1);
        effector:SetKey(_TRACK_O, 0.96, 0);
    
        effector:Play();
    
    
        -- Layer Water_22
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_22");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 474.747431085502);
        effector:SetKey(_TRACK_Y, 0, 317.852623299854);
        effector:SetKey(_TRACK_X, 0.0666796875, 472.799513808988);
        effector:SetKey(_TRACK_Y, 0.0666796875, 334.937769007456);
        effector:SetKey(_TRACK_X, 0.1333203125, 471.304001625484);
        effector:SetKey(_TRACK_Y, 0.1333203125, 352.059654944586);
        effector:SetKey(_TRACK_X, 0.2, 470.180039605852);
        effector:SetKey(_TRACK_Y, 0.2, 369.222972937357);
        effector:SetKey(_TRACK_X, 0.2666796875, 469.370990688363);
        effector:SetKey(_TRACK_Y, 0.2666796875, 386.408846579066);
        effector:SetKey(_TRACK_X, 0.28, 469.243102541789);
        effector:SetKey(_TRACK_Y, 0.28, 389.844473182201);
        effector:SetKey(_TRACK_X, 1.4, 470.5);
        effector:SetKey(_TRACK_Y, 1.4, 671);
        effector:SetKey(_TRACK_SX, 0, 1.0995302672464);
        effector:SetKey(_TRACK_SY, 0, 1.0995302672464);
        effector:SetKey(_TRACK_SX, 0.16, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0.16, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.4, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.4, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.07748733241932);
        effector:SetKey(_TRACK_A, 1.4, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.2, 1);
        effector:SetKey(_TRACK_O, 0.8, 0);
    
        effector:Play();
    
    
        -- Layer Water_23
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_23");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 474.211469255968);
        effector:SetKey(_TRACK_Y, 0, 376.798960751702);
        effector:SetKey(_TRACK_X, 0.04, 473.424818198316);
        effector:SetKey(_TRACK_Y, 0.04, 386.849213254676);
        effector:SetKey(_TRACK_X, 0.1066796875, 472.468980195445);
        effector:SetKey(_TRACK_Y, 0.1066796875, 403.628862121177);
        effector:SetKey(_TRACK_X, 0.1733203125, 471.833342277291);
        effector:SetKey(_TRACK_Y, 0.1733203125, 420.418391932314);
        effector:SetKey(_TRACK_X, 0.2, 471.662158371113);
        effector:SetKey(_TRACK_Y, 0.2, 427.144953398004);
        effector:SetKey(_TRACK_X, 1.24, 470.5);
        effector:SetKey(_TRACK_Y, 1.24, 671);
        effector:SetKey(_TRACK_SX, 0, 1.33576658672473);
        effector:SetKey(_TRACK_SY, 0, 1.33576658672473);
        effector:SetKey(_TRACK_SX, 1.24, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.24, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.07230263782771);
        effector:SetKey(_TRACK_A, 1.24, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 1);
        effector:SetKey(_TRACK_O, 0.04, 1);
        effector:SetKey(_TRACK_O, 0.64, 0);
    
        effector:Play();
    
    
        -- Layer Water_24
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_24");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0.0133203125, 488.833194655385);
        effector:SetKey(_TRACK_Y, 0.0133203125, 401.358068906636);
        effector:SetKey(_TRACK_X, 0.04, 488.662158371113);
        effector:SetKey(_TRACK_Y, 0.04, 408.144953398004);
        effector:SetKey(_TRACK_X, 1.08, 470.5);
        effector:SetKey(_TRACK_Y, 1.08, 671);
        effector:SetKey(_TRACK_SX, 0, 1.46164973135229);
        effector:SetKey(_TRACK_SY, 0, 1.46164973135229);
        effector:SetKey(_TRACK_SX, 1.08, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 1.08, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.06711794323609);
        effector:SetKey(_TRACK_A, 1.08, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0.8);
        effector:SetKey(_TRACK_O, 0.48, 0);
    
        effector:Play();
    
    
        -- Layer Water_25
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_25");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 450.197836544908);
        effector:SetKey(_TRACK_Y, 0, 427.386595189655);
        effector:SetKey(_TRACK_X, 0.96, 470.5);
        effector:SetKey(_TRACK_Y, 0.96, 671);
        effector:SetKey(_TRACK_SX, 0, 1.55606208982296);
        effector:SetKey(_TRACK_SY, 0, 1.55606208982297);
        effector:SetKey(_TRACK_SX, 0.96, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 0.96, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.06322942229238);
        effector:SetKey(_TRACK_A, 0.96, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0.6);
        effector:SetKey(_TRACK_O, 0.36, 0);
    
        effector:Play();
    
    
        -- Layer Water_26
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water.png");
        element:SetName("Water_26");
        compositionwater_Cycle:AddElement(element);
        element:SetHotSpot(128, 128);
        element:SetParentElement(compositionwater_Cycle);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_X, 0, 471.55155113739);
        effector:SetKey(_TRACK_Y, 0, 470.191976056666);
        effector:SetKey(_TRACK_X, 0.8, 470.5);
        effector:SetKey(_TRACK_Y, 0.8, 671);
        effector:SetKey(_TRACK_SX, 0, 1.68194523445053);
        effector:SetKey(_TRACK_SY, 0, 1.68194523445053);
        effector:SetKey(_TRACK_SX, 0.8, 2.31136095758836);
        effector:SetKey(_TRACK_SY, 0.8, 2.31136095758836);
        effector:SetKey(_TRACK_A, 0, 0.05804472770076);
        effector:SetKey(_TRACK_A, 0.8, 0.03212125474268);
        effector:SetKey(_TRACK_O, 0, 0.33333333333333);
        effector:SetKey(_TRACK_O, 0.2, 0);
    
        effector:Play();
    
        compositionwater_Cycle:Play();
    
        return compositionwater_Cycle;
end

function BuildFountainComposition()

    local lowerSplashesEnabled = false;

    createCompositionwater_Cycle = function()
    
        return BuildWaterCycleComposition();
        
    end
    
    createCompositionZoom_Fountain = function()
    
        local compositionZoom_Fountain = CreateCompositionSequence();
        local compositionDuration = 0.62;
        compositionZoom_Fountain:SetDuration(compositionDuration);
    
    
        -- Layer Water_splash_1
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water_splash_1.png");
        element:SetName("Water_splash_1");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(137.5, 37.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(557.016067504883, 641.828689575195);
    
        element:SetScaleX(0.71031271812584);
        element:SetScaleY(0.33582083104397);
        element:SetAngle(0.01141492469925);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_O, 0, 0.4660473437096);
        effector:SetKey(_TRACK_O, 0.2, 0);
        effector:SetKey(_TRACK_O, 0.44, 0);
        effector:SetKey(_TRACK_O, 0.64, 0.4660473437096);
    
        effector:Play();
    
    
        -- Layer Water_splash_2
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water_splash_2.png");
        element:SetName("Water_splash_2");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(138, 37);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(557.016067504883, 641.828689575195);
    
        element:SetScaleX(0.71031271812584);
        element:SetScaleY(0.33582083104397);
        element:SetAngle(0.01141492469925);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_O, 0, 0);
        effector:SetKey(_TRACK_O, 0.2, 0.4660473437096);
        effector:SetKey(_TRACK_O, 0.44, 0);
        effector:SetKey(_TRACK_O, 0.64, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_3
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/water_splash_3.png");
        element:SetName("Water_splash_3");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(138, 35.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(557.016067504883, 641.828689575195);
    
        element:SetScaleX(0.71031271812584);
        element:SetScaleY(0.33582083104397);
        element:SetAngle(0.01141492469925);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
        effector:SetKey(_TRACK_O, 0, 0);
        effector:SetKey(_TRACK_O, 0.2, 0);
        effector:SetKey(_TRACK_O, 0.44, 0.4660473437096);
        effector:SetKey(_TRACK_O, 0.64, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_4
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_4");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(485, 649.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.2, 0.52);
    
        effector:SetKey(_TRACK_SX, 0.2, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.2, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.28, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.28, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.48, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.48, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.2, 0);
        effector:SetKey(_TRACK_O, 0.24, 1);
        effector:SetKey(_TRACK_O, 0.36, 1);
        effector:SetKey(_TRACK_O, 0.48, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_5
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_5");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(512, 611.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.08, 0.4);
    
        effector:SetKey(_TRACK_SX, 0.08, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.08, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.16, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.16, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.36, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.36, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.08, 0);
        effector:SetKey(_TRACK_O, 0.12, 1);
        effector:SetKey(_TRACK_O, 0.24, 1);
        effector:SetKey(_TRACK_O, 0.36, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_6
        if (lowerSplashesEnabled)
        then 
        
            local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
            element:SetName("Water_splash_6");
            compositionZoom_Fountain:AddElement(element);
            element:SetHotSpot(76.5, 93.5);
            element:SetParentElement(compositionZoom_Fountain);
            element:SetXY(615, 722.5);
        
            element:SetAngle(0);
        
            effector = element:GetEffector();
            effector:SetLifeTime(0.32, 0.64);
        
            effector:SetKey(_TRACK_SX, 0.32, 0.18330575927662);
            effector:SetKey(_TRACK_SY, 0.32, 0.13500737293644);
            effector:SetKey(_TRACK_SX, 0.4, 0.30422079195636);
            effector:SetKey(_TRACK_SY, 0.4, 0.50131753336424);
            effector:SetKey(_TRACK_SX, 0.6, 0.40879595535505);
            effector:SetKey(_TRACK_SY, 0.6, 0.17244052801665);
            effector:SetKey(_TRACK_O, 0.32, 0);
            effector:SetKey(_TRACK_O, 0.36, 1);
            effector:SetKey(_TRACK_O, 0.48, 1);
            effector:SetKey(_TRACK_O, 0.6, 0);
        
            effector:Play();
        
        
            -- Layer Water_splash_7
            local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
            element:SetName("Water_splash_7");
            compositionZoom_Fountain:AddElement(element);
            element:SetHotSpot(76.5, 93.5);
            element:SetParentElement(compositionZoom_Fountain);
            element:SetXY(683, 693.5);
        
            element:SetAngle(0);
        
            effector = element:GetEffector();
            effector:SetLifeTime(0, 0.32);
        
            effector:SetKey(_TRACK_SX, 0, 0.18330575927662);
            effector:SetKey(_TRACK_SY, 0, 0.13500737293644);
            effector:SetKey(_TRACK_SX, 0.08, 0.30422079195636);
            effector:SetKey(_TRACK_SY, 0.08, 0.50131753336424);
            effector:SetKey(_TRACK_SX, 0.28, 0.40879595535505);
            effector:SetKey(_TRACK_SY, 0.28, 0.17244052801665);
            effector:SetKey(_TRACK_O, 0, 0);
            effector:SetKey(_TRACK_O, 0.04, 1);
            effector:SetKey(_TRACK_O, 0.16, 1);
            effector:SetKey(_TRACK_O, 0.28, 0);
        
            effector:Play();
        
        end
    
    
        -- Layer Water_splash_8
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_8");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(664, 634.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.12, 0.44);
    
        effector:SetKey(_TRACK_SX, 0.12, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.12, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.2, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.2, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.4, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.4, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.12, 0);
        effector:SetKey(_TRACK_O, 0.16, 1);
        effector:SetKey(_TRACK_O, 0.28, 1);
        effector:SetKey(_TRACK_O, 0.4, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_9
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_9");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(457, 635.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.28, 0.6);
    
        effector:SetKey(_TRACK_SX, 0.28, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.28, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.36, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.36, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.56, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.56, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.28, 0);
        effector:SetKey(_TRACK_O, 0.32, 1);
        effector:SetKey(_TRACK_O, 0.44, 1);
        effector:SetKey(_TRACK_O, 0.56, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_10
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_10");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(580, 655.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.04, 0.36);
    
        effector:SetKey(_TRACK_SX, 0.04, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.04, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.12, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.12, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.32, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.32, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.04, 0);
        effector:SetKey(_TRACK_O, 0.08, 1);
        effector:SetKey(_TRACK_O, 0.2, 1);
        effector:SetKey(_TRACK_O, 0.32, 0);
    
        effector:Play();
    
        if (lowerSplashesEnabled)
        then 
            -- Layer Water_splash_11
            local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
            element:SetName("Water_splash_11");
            compositionZoom_Fountain:AddElement(element);
            element:SetHotSpot(76.5, 93.5);
            element:SetParentElement(compositionZoom_Fountain);
            element:SetXY(648, 703.5);
        
            element:SetAngle(0);
        
            effector = element:GetEffector();
            effector:SetLifeTime(0.16, 0.48);
        
            effector:SetKey(_TRACK_SX, 0.16, 0.18330575927662);
            effector:SetKey(_TRACK_SY, 0.16, 0.13500737293644);
            effector:SetKey(_TRACK_SX, 0.24, 0.30422079195636);
            effector:SetKey(_TRACK_SY, 0.24, 0.50131753336424);
            effector:SetKey(_TRACK_SX, 0.44, 0.40879595535505);
            effector:SetKey(_TRACK_SY, 0.44, 0.17244052801665);
            effector:SetKey(_TRACK_O, 0.16, 0);
            effector:SetKey(_TRACK_O, 0.2, 1);
            effector:SetKey(_TRACK_O, 0.32, 1);
            effector:SetKey(_TRACK_O, 0.44, 0);
        
            effector:Play();
        end
    
        -- Layer Water_splash_12
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_12");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(621, 651.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.36, 0.68);
    
        effector:SetKey(_TRACK_SX, 0.36, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.36, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.44, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.44, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.64, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.64, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.36, 0);
        effector:SetKey(_TRACK_O, 0.4, 1);
        effector:SetKey(_TRACK_O, 0.52, 1);
        effector:SetKey(_TRACK_O, 0.64, 0);
    
        effector:Play();
    
        if lowerSplashesEnabled
        then
            -- Layer Water_splash_13
            local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
            element:SetName("Water_splash_13");
            compositionZoom_Fountain:AddElement(element);
            element:SetHotSpot(76.5, 93.5);
            element:SetParentElement(compositionZoom_Fountain);
            element:SetXY(428, 694.5);
        
            element:SetAngle(0);
        
            effector = element:GetEffector();
            effector:SetLifeTime(0, 0.32);
        
            effector:SetKey(_TRACK_SX, 0, 0.18330575927662);
            effector:SetKey(_TRACK_SY, 0, 0.13500737293644);
            effector:SetKey(_TRACK_SX, 0.08, 0.30422079195636);
            effector:SetKey(_TRACK_SY, 0.08, 0.50131753336424);
            effector:SetKey(_TRACK_SX, 0.28, 0.40879595535505);
            effector:SetKey(_TRACK_SY, 0.28, 0.17244052801665);
            effector:SetKey(_TRACK_O, 0, 0);
            effector:SetKey(_TRACK_O, 0.04, 1);
            effector:SetKey(_TRACK_O, 0.16, 1);
            effector:SetKey(_TRACK_O, 0.28, 0);
        
            effector:Play();
        
        
            -- Layer Water_splash_14
            local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
            element:SetName("Water_splash_14");
            compositionZoom_Fountain:AddElement(element);
            element:SetHotSpot(76.5, 93.5);
            element:SetParentElement(compositionZoom_Fountain);
            element:SetXY(545, 719.5);
        
            element:SetAngle(0);
        
            effector = element:GetEffector();
            effector:SetLifeTime(0.16, 0.48);
        
            effector:SetKey(_TRACK_SX, 0.16, 0.18330575927662);
            effector:SetKey(_TRACK_SY, 0.16, 0.13500737293644);
            effector:SetKey(_TRACK_SX, 0.24, 0.30422079195636);
            effector:SetKey(_TRACK_SY, 0.24, 0.50131753336424);
            effector:SetKey(_TRACK_SX, 0.44, 0.40879595535505);
            effector:SetKey(_TRACK_SY, 0.44, 0.17244052801665);
            effector:SetKey(_TRACK_O, 0.16, 0);
            effector:SetKey(_TRACK_O, 0.2, 1);
            effector:SetKey(_TRACK_O, 0.32, 1);
            effector:SetKey(_TRACK_O, 0.44, 0);
        
            effector:Play();
        end
    
    
        -- Layer Water_splash_15
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_15");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(531, 656.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.28, 0.6);
    
        effector:SetKey(_TRACK_SX, 0.28, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.28, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.36, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.36, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.56, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.56, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.28, 0);
        effector:SetKey(_TRACK_O, 0.32, 1);
        effector:SetKey(_TRACK_O, 0.44, 1);
        effector:SetKey(_TRACK_O, 0.56, 0);
    
        effector:Play();
    
    
        -- Layer Water_splash_16
        local element = CreateCompositionElement("data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/FountainWorking/spl_2.png");
        element:SetName("Water_splash_16");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(76.5, 93.5);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(482, 651.5);
    
        element:SetAngle(0);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0.12, 0.44);
    
        effector:SetKey(_TRACK_SX, 0.12, 0.18330575927662);
        effector:SetKey(_TRACK_SY, 0.12, 0.13500737293644);
        effector:SetKey(_TRACK_SX, 0.2, 0.30422079195636);
        effector:SetKey(_TRACK_SY, 0.2, 0.50131753336424);
        effector:SetKey(_TRACK_SX, 0.4, 0.40879595535505);
        effector:SetKey(_TRACK_SY, 0.4, 0.17244052801665);
        effector:SetKey(_TRACK_O, 0.12, 0);
        effector:SetKey(_TRACK_O, 0.16, 1);
        effector:SetKey(_TRACK_O, 0.28, 1);
        effector:SetKey(_TRACK_O, 0.4, 0);
    
        effector:Play();
    
    
        -- Layer Water_17
        local element = createCompositionwater_Cycle();
        element:SetName("Water_17");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(535, 492.993591308594);
    
        element:SetScaleX(0.69758631534006);
        element:SetScaleY(0.56864219278152);
        element:SetAngle(-0.08898652851475);
        --element:SetOpacity(1);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_18
        local element = createCompositionwater_Cycle();
        element:SetName("Water_18");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(594, 473.993591308594);
    
        element:SetScaleX(-0.70629638877855);
        element:SetScaleY(0.56864219278152);
        element:SetAngle(0.15127516350444);
        --element:SetOpacity(1);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_19
        local element = createCompositionwater_Cycle();
        element:SetName("Water_19");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(558, 442.993591308594);
    
        element:SetScaleX(-0.28780370144337);
        element:SetScaleY(0.46532158878979);
        element:SetAngle(-0.02960400656707);
        element:SetOpacity(0.35);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_20
        local element = createCompositionwater_Cycle();
        element:SetName("Water_20");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(598, 471.993591308594);
    
        element:SetScaleX(-0.28780370144337);
        element:SetScaleY(0.46532158878979);
        element:SetAngle(-0.02960400656707);
        element:SetOpacity(0.35);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_21
        local element = createCompositionwater_Cycle();
        element:SetName("Water_21");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(551, 394.993591308594);
    
        element:SetScaleX(0.23708546325195);
        element:SetScaleY(0.23708546325195);
        element:SetAngle(-0.02960400656707);
        element:SetOpacity(0.35);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_22
        local element = createCompositionwater_Cycle();
        element:SetName("Water_22");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(505, 427.993591308594);
    
        element:SetScaleX(0.23708546325195);
        element:SetScaleY(0.23708546325195);
        element:SetAngle(-0.02960400656707);
        element:SetOpacity(0.35);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_23
        local element = createCompositionwater_Cycle();
        element:SetName("Water_23");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(624, 394.993591308594);
    
        element:SetScaleX(-0.4383790165738);
        element:SetScaleY(0.3903141208311);
        element:SetAngle(-0.02960400656707);
        element:SetOpacity(0.35);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        -- Layer Water_24
        local element = createCompositionwater_Cycle();
        element:SetName("Water_24");
        compositionZoom_Fountain:AddElement(element);
        element:SetHotSpot(512, 384);
        element:SetParentElement(compositionZoom_Fountain);
        element:SetXY(491, 382.993591308594);
    
        element:SetScaleX(0.3903141208311);
        element:SetScaleY(0.3903141208311);
        element:SetAngle(0.16834987282232);
        --element:SetOpacity(1);
    
        effector = element:GetEffector();
        effector:SetLifeTime(0, 0.64);
    
    
        effector:Play();
    
    
        compositionZoom_Fountain:Play();
    
        return compositionZoom_Fountain;
    end
    
    local result = createCompositionZoom_Fountain();
    result:SetCyclic(true);
    
    return result;
    
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/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(6,2)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_workshop_street',anim,174,483,100,0,30,20)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_Theatre_Gate',anim,629,745,100,0,60,12)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(1,5)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_Dead_End',anim,641,505,100,0,20,20)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_Theatre_Entrance',anim,453,536,100,0,12,14)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_ho',anim,558,649,100,0,30,8)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_Zoom_Fontain',anim,558,649,99,0,30,8)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Layers/BG_Fountain.JPG',0,0,1024,768,1,0)
	anim:SetHotSpot(512,384)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('BG_Fountain',anim,512,384,40,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('area_Theatre_Fountain',anim,159,530,160,0,40,60)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('area_Workshop_Street',anim,942,358,160,0,20,10)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('area_Theatre_Entrance2',anim,946,509,160,0,20,10)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('area_Dead_End2',anim,885,642,160,0,35,10)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('area_minigame',anim,576,434,201,30,20,35)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Zoom_Mask/Zoom_Mask.jpg',0,0,640,480,1,0)
	anim:SetHotSpot(320,240)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('Zoom_Mask',anim,512,384,200,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Zoom_Mask/Layers/mask_open.png',0,0,184,288,1,0)
	anim:SetHotSpot(92,144)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('mask_open',anim,396,359,201,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Zoom_Mask/Layers/mask_mid.png',0,0,232,308,1,0)
	anim:SetHotSpot(116,154)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('mask_mid',anim,482,409,202,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Zoom_Mask/Layers/mask_closed.png',0,0,271,293,1,0)
	anim:SetHotSpot(135,146)
	anim:SetBlendMode(2)
	anim:SetColor('0x00FFFFFF')
	screen:CreateObject('mask_closed',anim,565,433,203,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Layers/Layer_Top.PNG',0,0,1024,407,1,0)
	anim:SetHotSpot(512,0)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('Layer_Top',anim,512,0,45,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/Common/Sky.JPG',0,0,1024,400,1,0)
	anim:SetHotSpot(512,0)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('Sky',anim,512,-9,41,0,1,1.028)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Layers/Layer_mask_open.PNG',0,0,58,46,1,0)
	anim:SetHotSpot(29,23)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('Layer_mask_open',anim,539,635,90,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Animations/Fountain_Main/lenta.png',0,0,99,98,17,7)
	anim:SetHotSpot(49,49)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('dolls',anim,556,368,100,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/13_Thearre_Fountain/Zone_Main/Layers/Layer_font.png',0,0,103,97,1,0)
	anim:SetHotSpot(51,48)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('Layer_font',anim,562,368,105,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/Common/Moon.PNG',0,0,340,320,1,0)
	anim:SetHotSpot(170,160)
	anim:SetBlendMode(2)
	anim:SetColor('0xFFFFFFFF')
	screen:CreateObject('Moon',anim,119,78,100,0,1,1)
	local anim = CreateAnimation('data/Texture/Scenes/Common/radial_glow.png',0,0,97,99,1,0)
	anim:SetHotSpot(48,49)
	anim:SetBlendMode(0)
	anim:SetColor('0xFFFFFF66')
	screen:CreateObject('glow1',anim,256,480,105,0,3,3)
	local anim = CreateAnimation('data/Texture/Scenes/Common/radial_glow.png',0,0,97,99,1,0)
	anim:SetHotSpot(48,49)
	anim:SetBlendMode(0)
	anim:SetColor('0xFFFFFF33')
	screen:CreateObject('glow2',anim,816,475,105,0,1.6,1.6)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_fountain_top',anim,557,374,107,0,15,15)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_lamp1',anim,257,479,106,0,7,7)
	local anim = CreateAnimation('data/Texture/Scenes/Common/area.png',0,0,8,8,1,0)
	anim:SetHotSpot(4,4)
	anim:SetBlendMode(2)
	anim:SetColor('0x01FFFFFF')
	screen:CreateObject('area_lamp2',anim,820,478,106,0,7,7)
end

function FreeData(screen)
end
-- CLEAR_ON_SAVE_END
