<?xml version="1.0" encoding="utf-8" ?>
<Layout stage_time="5" skip="1" intermediate="true">
    <Image x="0" y="-161" image="/interface/bkg_4_3_book.jpg"/>
    
    <GPPanel x="1235" y="635">
        <GPPanelIcon x="0" y="0" alias="btn_a" auto_visible="0"/>
    </GPPanel>
    
    <Text name="caption" text="QUESTS_SCR_DGIFTS" font="medium" color="FFFFFFFF" x="775" y="220" width="490" height="30" align="C"/>
    <TeaserTextAlpha name="teaser_text" font="font" color="FFFFFFFF" align="C" x="775" y="370" width="490" height="64" amp="5" speed="0.2" duration="0.5"/>

    <Widget name="widget" x="180" y="50">
    <Image name="stage_1" x="50" y="120" >
        <Image name="start1" x="-10" y="-10" image="quest_halloween/start1.png"/>
        <Image name="disco_light" x="55" y="50" image="quest_halloween/disco_light.png">
            <AnimController autoPlay="0">
                <ActionChain>
                    <EfxColor duration="2" from="64FFFFFF" to="FFFFFFFF" />    
                    <EfxColor duration="2" from="FFFFFFFF" to="64FFFFFF" />
                    <EfxColor duration="2" from="64FFFFFF" to="FFFFFFFF" />
                </ActionChain>
            </AnimController>
        </Image>
    </Image>
    
    <Image name="stage_2" x="50" y="115" visible="0" >
        <Image name="start2_mind" x="105" y="5" image="quest_halloween/start2_mind.png">
            <AnimController autoPlay="0">
                <ActionGroup>
                    <EfxScaleXY delay="0" duration="5" from_x="1" from_y="1" to_x="1.1" to_y="1.1" modifier="fullarc"/>
                </ActionGroup>
            </AnimController>
        </Image>
        <Image name="start2_pers" x="5" y="155" image="quest_halloween/start2_pers.png"/>
    </Image>
    </Widget>
    
    <BlinkFullScreen name="blink" x="0" y="0" width="320" height="480" time="0.5"/>
    
    <Stage name="1" text="TEASER_DGIFTS_1">
        <Action name="show" item="stage_1"/>
        <Action name="hide" item="stage_2"/>
        
        <Action name="move_speed" id="start2_mind" item="start2_mind" speed_x="-1" speed_y="-1"/>
        <Action name="scale_speed" id="start2_mind" item="start2_mind" speed="2"/>        
    </Stage>

    <Stage name="2" text="TEASER_DGIFTS_2">
        <Action name="hide" item="stage_1"/>
        <Action name="show" item="stage_2"/>
        
        <Action name="move_speed" id="2_cave" item="2_cave" speed_x="1" speed_y="0"/>

    </Stage>
    
    <Stage name="finish">
        <Action name="command" cmd="game_layout"/>
    </Stage>
    
    <AnimController autoPlay="1">
        <ActionGroup>
            <EfxSendCmd cmd="music_set_pl" param="Game"/>
        </ActionGroup>
    </AnimController>
</Layout>
