<?xml version="1.0" encoding="utf-8" ?>
<Layout x="140" y="-40" width="1024" height="768" animate="EfxPopup">
    <Image name="bkg" x="-20" y="40" image="dialog_big.png"/>
    
    <!-- <Button name="middle" x="100" y="375" image="/demon_battle/btn_change.png">
        <Text name="middle_text" x="0" y="6" width="123" height="48" font="font" align="C" text="" color="FFFFFFFF" />
    </Button> -->
	
    <Image name="glow" x="138" y="562" image="/demon_battle/glow_btn_long.png" />
    
    <Button name="middle" x="138" y="562">
        <Image name="btn" x="136" y="18" width="171" height="88" image="/demon_battle/btn_change.png" />
        <Text name="btn_text" x="150" y="45" width="144" height="25" font="medium" align="C" text="DEMON_START_BATTLE"/>
        
        <SelectorController>
            <Action type="0" btn="12" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_a" offset="340 25"/>
        </SelectorController>
    </Button>
    
	<Image name="arrow" x="400" y="555" image="/demon_battle/attack_arrow.png" >
		<AnimController autoPlay="1" >
			<ActionRepeat repeat="-1">
				<ActionChain>
					<EfxScaleXY duration="1" from_x="0.8" from_y="0.8" to_x="0.9" to_y="0.9" modifier="sindiminish" />
					<EfxScaleXY duration="1" from_x="0.9" from_y="0.9" to_x="0.8" to_y="0.8" modifier="sindiminish" />
			</ActionChain>
				</ActionRepeat>
		</AnimController>
	</Image>
	
	
    <Button name="close" x="541" y="104" image="close_devil.png" />
    
    <Text name="title" x="228" y="175" width="285" height="24" font="font" align="C" text="DEMON_START_BATTLE_TITLE" color="FFFFFFFF"/>
    
    <Widget name="human" x="135" y="199">
        <Image name="border_icon" x="0" y="0" image="/demon_battle/border_dialog_battle.png"/>
        <Image name="icon" x="-44" y="-45" scale="0.5"/>
        <Image name="demon_name" x="-17" y="173" scale="0.6" image="/demon_list/board_name.png">
            <Text name="name" x="70" y="19" width="116" height="12" font="font" text="NAME" align="C" color="FFFFFFFF"/>
        </Image>
        <Widget name="attack" x="-6" y="220">
            <Text name="text" x="70" y="6" width="94" height="10" font="small" text="DEMON_ATTACK_TITLE" align="C" color="FFF6982D" />
            <Image name="border" x="-2" y="8" image="/demon_battle/attack_board_01.png" />
            <Text name="value_text" x="73" y="27" width="90" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
        </Widget>
        <Widget name="hp" x="-8" y="263">
            <Text name="text" x="70" y="8" width="94" height="10" font="small" text="DEMON_HP_TITLE" align="C" color="FFF6982D" />
            <Image name="border" x="0" y="11" image="/demon_battle/hp_board_01.png" />
            <Image name="value" x="44" y="27" width="154" height="20" image="/demon_battle/hp_board_02.png" />
            <Text name="value_text" x="71" y="28" width="90" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
        </Widget>
        <Widget name="mana" x="-8" y="308">
            <Text name="text" x="70" y="8" width="94" height="10" font="small" text="DEMON_MANA_TITLE" align="C" color="FFF6982D" />
            <Image name="border" x="0" y="11" image="/demon_battle/mana_board_01.png" />
            <Image name="value" x="44" y="27" width="154" height="20" image="/demon_battle/mana_board_02.png" />
            <Text name="value_text" x="73" y="28" width="90" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
        </Widget>
    </Widget>
    
    <Widget name="ai" x="368" y="199">
        <Image name="border_icon" x="0" y="0" image="/demon_battle/border_dialog_battle.png"/>
        <Image name="icon" x="-44" y="-45" scale="0.5"/>
        <Image name="demon_name" x="-17" y="173" scale="0.6" image="/demon_list/board_name.png">
            <Text name="name" x="70" y="19" width="116" height="12" font="font" text="NAME" align="C" color="FFFFFFFF"/>
        </Image>
        
        <Widget name="attack" x="1" y="220">
            <Text name="text" x="70" y="6" width="94" height="10" font="small" text="DEMON_ATTACK_TITLE" align="C" color="FFF6982D" />
            <Image name="border" x="-2" y="8" image="/demon_battle/attack_board_01.png" />
            <Text name="value_text" x="73" y="27" width="90" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
        </Widget>
        <Widget name="hp" x="-2" y="263">
            <Text name="text" x="70" y="8" width="94" height="10" font="small" text="DEMON_HP_TITLE" align="C" color="FFF6982D" />
            <Image name="border" x="0" y="11" image="/demon_battle/hp_board_01.png" />
            <Image name="value" x="44" y="27" width="154" height="20" image="/demon_battle/hp_board_02.png" />
            <Text name="value_text" x="71" y="28" width="90" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
        </Widget>
        <Widget name="mana" x="-2" y="308">
            <Text name="text" x="70" y="8" width="94" height="10" font="small" text="DEMON_MANA_TITLE" align="C" color="FFF6982D" />
            <Image name="border" x="0" y="11" image="/demon_battle/mana_board_01.png" />
            <Image name="value" x="44" y="27" width="154" height="20" image="/demon_battle/mana_board_02.png" />
            <Text name="value_text" x="73" y="28" width="90" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
        </Widget>
        
        <Widget name="all_icons" x="170" y="49" width="45" height="120" visible="0">
            <Widget name="d_1" x="0" y="0" width="45" height="45" visible="0">
                <RadioButton x="0" y="0" name="rb_d_1" group="all_icons">
                    <Image name="on" x="0" y="0" width="45" height="45" visible="0">
                        <Image name="border" x="-5" y="-5" width="55" height="55" image="/demon_battle/avatar_border/selected.png" />
						<Text name="number" x="2" y="26" width="15" height="15" font="author" text="1" align="C" color="FFfef338"/>
                    </Image>
                    <Image name="off" x="5" y="5" width="35" height="35">
                        <Image name="border" x="-5" y="-5" width="45" height="45" image="/demon_battle/avatar_border/default.png"/>
                        <Image name="glass" x="0" y="0" width="35" height="35" image="/demon_battle/avatar_border/glass.png"/>
						<Text name="number" x="-1" y="19" width="15" height="15" font="author" text="1" align="C" color="FFfef338"/>
                    </Image>
                </RadioButton>
            </Widget>
            <Widget name="d_2" x="0" y="40" width="45" height="45" visible="0">
                <RadioButton x="0" y="0" name="rb_d_2" group="all_icons">
                    <Image name="on" x="0" y="0" width="45" height="45" visible="0">
                        <Image name="border" x="-5" y="-5" width="55" height="55" image="/demon_battle/avatar_border/selected.png" />
						<Text name="number" x="2" y="26" width="15" height="15" font="author" text="2" align="C" color="FFfef338"/>
                    </Image>
                    <Image name="off" x="5" y="5" width="35" height="35" >
                        <Image name="border" x="-5" y="-5" width="45" height="45" image="/demon_battle/avatar_border/default.png"/>
                        <Image name="glass" x="0" y="0" width="35" height="35" image="/demon_battle/avatar_border/glass.png"/>
						<Text name="number" x="-1" y="19" width="15" height="15" font="author" text="2" align="C" color="FFfef338"/>
                    </Image>
                </RadioButton>
            </Widget>
            <Widget name="d_3" x="0" y="80" width="45" height="45" visible="0">
                <RadioButton x="0" y="0" name="rb_d_3" group="all_icons">
                    <Image name="on" x="0" y="0" width="45" height="45" visible="0">
                        <Image name="border" x="-5" y="-5" width="55" height="55" image="/demon_battle/avatar_border/selected.png" />
						<Text name="number" x="2" y="26" width="15" height="15" font="author" text="3" align="C" color="FFfef338"/>
                    </Image>
                    <Image name="off" x="5" y="5" width="35" height="35">
                        <Image name="border" x="-5" y="-5" width="45" height="45" image="/demon_battle/avatar_border/default.png"/>
                        <Image name="glass" x="0" y="0" width="35" height="35" image="/demon_battle/avatar_border/glass.png"/>
						<Text name="number" x="-1" y="19" width="15" height="15" font="author" text="3" align="C" color="FFfef338"/>
                    </Image>
                </RadioButton>
            </Widget>
        </Widget>
    </Widget>
    
    <Image name="vs" x="320" y="360" image="/demon_battle/vs.png" />
    
</Layout>