<?xml version="1.0" encoding="utf-8" ?>
<Layout>
	<BkgImage name="bkg" x="0" y="0" image="/interface/bkg_4_3_book.jpg"/>
	<Image name="planet_slots" x="195" y="636" image="/interface/planet_slots.png"/>
    
	<Button name="back" x="202" y="643">
		<Image x="2" y="-1" image="/toolbar/button_toolbar_2.png"/>
		<Image x="0" y="0" image="/toolbar/back.png"/>
		<Click handler="cur_layout" cmd="try_to_exit">
			<Param value="crossfade"/>
		</Click>

		<AnimController autoPlay="1">
			<ActionChain>
				<EfxColor duration="0" to="00FFFFFF" />
				<EfxWait delay="0.3"/>
				<ActionGroup>
					<EfxScaleXY duration="0.3" from_x="0.3" from_y="0.3" to_x="1" to_y="1" modifier="bounce" />
					<EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF" />
				</ActionGroup>
			</ActionChain>
		</AnimController>
        
        <SelectorController>
            <Action type="0" btn="13" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_b" offset="-12 10"/>
        </SelectorController>
	</Button>

	<Image image="/demon_battle/pentagramm_mix.png" x="65" y="150" />
	<Image image="/demon_battle/pentagramm_mix.png" x="550" y="150" />

	<Image image="/demon_battle/pentagramm_mix.png" x="330" y="275" scale="0.8" />

	<!-- HUMAN demon -->
	<Widget name="human" x="0" y="-6" xml="battle_item_template_human.xml">

		<Text name="healed" x="110" y="200" width="250" height="60" font="medium" align="C" text="DEMON_BATTLE_HEALED" visible="1">

			<AnimController autoPlay="1" events="e_human_healed_init">
				<ActionGroup>
					<EfxVisible delay="0" visible="0"/>
				</ActionGroup>
			</AnimController>

			<AnimController autoPlay="0" events="event_protection_human" >
				<ActionGroup>
					<EfxVisible delay="0" visible="1"/>
					<EfxMove duration="1" from_x="110" from_y="200" to_x="110" to_y="100" modifier="fullarc"/>
					<EfxColor duration="1" from="00FFFFFF" to="FFFFFFFF" />
					<EfxColor delay="2" duration="0.5" from="ffFFFFFF" to="00FFFFFF" />
					<EfxSendEvent delay="2.5" event="e_human_healed_init"/>
				</ActionGroup>
			</AnimController>
		</Text>

		<Text name="stunned" x="110" y="200" width="250" height="60" font="medium" align="C" text="DEMON_BATTLE_STUNNED" visible="0">
			<AnimController autoPlay="1" events="e_human_stunned_init">
				<ActionGroup>
					<EfxVisible delay="0" visible="0"/>
				</ActionGroup>
			</AnimController>

			<AnimController autoPlay="0" events="event_stan_ai" >
				<ActionGroup>
					<EfxVisible delay="0" visible="1"/>
					<EfxMove duration="1" from_x="110" from_y="200" to_x="110" to_y="100" modifier="fullarc"/>
					<EfxColor duration="1" from="00FFFFFF" to="FFFFFFFF" />
					<EfxColor delay="2" duration="0.5" from="ffFFFFFF" to="00FFFFFF" />
					<EfxSendEvent delay="2.5" event="e_human_stunned_init"/>
				</ActionGroup>
			</AnimController>
		</Text>

	</Widget>

	<Widget name="regeneration_info" x="0" y="0" width="500" height="500">

		<Image name="fog" x="56" y="104" width="370" height="310" image="/demon_battle/border_demon_fog.png" />
		<Text name="info_text" x="110" y="200" width="250" height="60" font="author" align="C" text="DEMON_REGENERATION_TITLE" />
        <Widget  show_if="$device.getStore != steam * $device.getStore != humblebundle">
		<Button name="regeneration_button" x="70" y="285" >
			<Image name="glow"  x="3" y="-13" image="/demon_battle/glow_btn.png" scale="0.9" />
			<Image name="button" x="20" y="12" image="/demon_battle/btn_change.png" scale="0.9" />
			<Text name="button_text" x="80" y="45" width="100" height="20" align="C" font="author" text="DEMON_REGENERATION_BTN" />
			<Event id="event_force_regeneration_hp"/>
            
            <SelectorController>
                <Action type="0" btn="15" cmd="press"/>
                <Container class="GPOnceContainer"/>
                <Item path=".." scale="1 1" alias="btn_y" offset="-12 10"/>
            </SelectorController>
		</Button>
      
		<Image name="coins" x="320" y="310" image="/shop/lightning.png" />
		<Text name="amount" x="315" y="345" width="50" height="25" align="C" font="author" text="9999"/>
        </Widget>
        
        <Widget  show_if="$device.getStore == steam || $device.getStore == humblebundle">
		<Button name="regeneration_button_steam" x="100" y="285" visible="0">
			<Image name="glow"  x="3" y="-13" image="/demon_battle/glow_btn.png" scale="0.9" />
			<Image name="button" x="20" y="12" image="/demon_battle/btn_change.png" scale="0.9" />
			<Text name="button_text" x="80" y="45" width="100" height="20" align="C" font="author" text="DEMON_START_BATTLE" />
			<Event id="event_force_regeneration_hp"/>
            
            <SelectorController>
                <Action type="0" btn="15" cmd="press"/>
                <Container class="GPOnceContainer"/>
                <Item path=".." scale="1 1" alias="btn_y" offset="-12 10"/>
            </SelectorController>
		</Button>
        </Widget>
        
        
	</Widget>

	<!-- AI demons -->

	<Widget name="ai" x="544" y="-6" xml="battle_item_template_ai.xml">

		<Text name="healed" x="110" y="200" width="250" height="60" font="medium" align="C" text="DEMON_BATTLE_HEALED" visible="1">

			<AnimController autoPlay="1" events="e_ai_healed_init">
				<ActionGroup>
					<EfxVisible delay="0" visible="0"/>
				</ActionGroup>
			</AnimController>

			<AnimController autoPlay="0" events="event_protection_ai" >
				<ActionGroup>
					<EfxVisible delay="0" visible="1"/>
					<EfxMove duration="1" from_x="110" from_y="200" to_x="110" to_y="100" modifier="fullarc"/>
					<EfxColor duration="1" from="00FFFFFF" to="FFFFFFFF" />
					<EfxColor delay="2" duration="0.5" from="ffFFFFFF" to="00FFFFFF" />
					<EfxSendEvent delay="2.5" event="e_ai_healed_init"/>
				</ActionGroup>
			</AnimController>
		</Text>

		<Text name="stunned" x="110" y="200" width="250" height="60" font="medium" align="C" text="DEMON_BATTLE_STUNNED" visible="0">
			<AnimController autoPlay="1" events="e_ai_stunned_init">
				<ActionGroup>
					<EfxVisible delay="0" visible="0"/>
				</ActionGroup>
			</AnimController>

			<AnimController autoPlay="0" events="event_stan_human" >
				<ActionGroup>
					<EfxVisible delay="0" visible="1"/>
					<EfxMove duration="1" from_x="110" from_y="200" to_x="110" to_y="100" modifier="fullarc"/>
					<EfxColor duration="1" from="00FFFFFF" to="FFFFFFFF" />
					<EfxColor delay="2" duration="0.5" from="ffFFFFFF" to="00FFFFFF" />
					<EfxSendEvent delay="2.5" event="e_ai_stunned_init"/>
				</ActionGroup>
			</AnimController>
		</Text>

	</Widget>

	<SkeletonWidget x="782" y="282" name="ai_stun_tornado" data="data/spine/stun_tornado.json" atlas="demon_battle/spine/stun_tornado.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="300" y="282" name="human_stun_tornado" data="data/spine/stun_tornado.json" atlas="demon_battle/spine/stun_tornado.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": true,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="782" y="282" name="ai_attack_arrow" data="data/spine/attack_arrow.json" atlas="demon_battle/spine/attack_arrow.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="300" y="282" name="human_attack_arrow" data="data/spine/attack_arrow.json" atlas="demon_battle/spine/attack_arrow.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": true,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="782" y="282" name="ai_magic_arrow" data="data/spine/magic_arrow.json" atlas="demon_battle/spine/magic_arrow.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="300" y="282" name="human_magic_arrow" data="data/spine/magic_arrow.json" atlas="demon_battle/spine/magic_arrow.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": true,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="782" y="282" name="ai_attack_boom" data="data/spine/attack_boom.json" atlas="demon_battle/spine/attack_boom.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>


	<SkeletonWidget x="300" y="282" name="human_attack_boom" data="data/spine/attack_boom.json" atlas="demon_battle/spine/attack_boom.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>



	<SkeletonWidget x="782" y="282" name="ai_magic_boom" data="data/spine/magic_boom.json" atlas="demon_battle/spine/magic_boom.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>


	<SkeletonWidget x="300" y="282" name="human_magic_boom" data="data/spine/magic_boom.json" atlas="demon_battle/spine/magic_boom.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>
		
		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<!--

	human
	250 300

	ai
	800 300

	-->

	<!-- AI magic  -->
	<!-- for attack magic (lava) -->
	<!-- for stan magic (dust) -->
	<!--Particles name="ps_fire_ai" x="800" y="300" file="/particles/battlemode_fireball_dd.ps" visible="0">
		<AnimController autoPlay="0" events="event_attack_ai">
			<ActionChain>
				<EfxVisible visible="1"/>
				<EfxMove from_x="800" from_y="300" to_x="250" to_y="300" delay="0" duration="0.8" modifier="fullarc"/>
				<EfxVisible visible="0"/>
				<EfxSendEvent event="event_long_damages_human"/>
				<EfxSendEvent event="event_long_damages_human_show"/>
				<EfxSendEvent event="event_update_demons"/>
			</ActionChain>
		</AnimController>

		<AnimController autoPlay="0" events="event_stan_ai">
			<ActionChain>
				<EfxVisible visible="1"/>
				<EfxMove from_x="800" from_y="300" to_x="250" to_y="300" delay="0" duration="0.8" modifier="fullarc"/>
				<EfxVisible visible="0"/>
				<EfxSendEvent event="event_long_damages_human"/>
				<EfxSendEvent event="event_update_demons"/>
			</ActionChain>
		</AnimController>		
	</Particles-->

	<!-- for protection magic (energy) -->
	<!--Particles x="800" y="300" file="/particles/battlemode_health_boom_dd.ps" scale="0.5" visible="0">
		<AnimController autoPlay="0" events="event_protection_ai">
			<ActionChain>
				<EfxVisible visible="1"/>
				<EfxWait delay="0.8"/>
				<EfxVisible visible="0"/>
				<EfxSendEvent event="event_end_step"/>
			</ActionChain>
		</AnimController>
	</Particles-->

	<AnimPlayer name="ai_ani" auto="" event="e_ai_ani">
		<Anim name="attack">
			<Target name="ai_attack_bkg">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="2" visible="0"/>
			</Target>

			<Target name="ai_attack_bkg">
				<SkeletonFrame time="0" cmd="play" param="attack_start"/>
			</Target>

			<Target name="ai_attack_arrow">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_attack_arrow">
				<SkeletonFrame time="0.0" cmd="play" param="attack_arrow"/>
			</Target>

			<Target name="human_attack_boom">
				<VisibleFrame time="1.5" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_attack_boom">
				<SkeletonFrame time="1.5" cmd="play" param="attack_boom"/>
			</Target>
		</Anim>

		<Anim name="stun">
			<Target name="ai_stun_start">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="2" visible="0"/>
			</Target>

			<Target name="ai_stun_start">
				<SkeletonFrame time="0" cmd="play" param="stun_start"/>
			</Target>

			<Target name="ai_stun_tornado">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_stun_tornado">
				<SkeletonFrame time="0.0" cmd="play" param="stun_tornado"/>
			</Target>

			<Target name="human_stun_boom_down">
				<VisibleFrame time="1.5" visible="1"/>
			</Target>

			<Target name="human_stun_boom_down">
				<SkeletonFrame time="1.5" cmd="play" param="stun_boom_down"/>
			</Target>

			<Target name="human_stun_boom_up">
				<VisibleFrame time="1.5" visible="1"/>
			</Target>

			<Target name="human_stun_boom_up">
				<SkeletonFrame time="1.5" cmd="play" param="stun_boom_up"/>
			</Target>
			
			<Target name="">
				<EventFrame time="1.5" id="e_human_stunt_show"/>
			</Target>
		</Anim>

		<Anim name="magic">
			<Target name="ai_magic_start">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="2" visible="0"/>
			</Target>

			<Target name="ai_magic_start">
				<SkeletonFrame time="0" cmd="play" param="magic_start"/>
			</Target>

			<Target name="ai_magic_arrow">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_magic_arrow">
				<SkeletonFrame time="0.0" cmd="play" param="magic_arrow"/>
			</Target>

			<Target name="human_magic_boom">
				<VisibleFrame time="1.5" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_magic_boom">
				<SkeletonFrame time="1.5" cmd="play" param="magic_boom"/>
			</Target>
		</Anim>

		<Anim name="healing">
			<Target name="ai_healing_down">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_healing_down">
				<SkeletonFrame time="0" cmd="play" param="healing_down"/>
			</Target>

			<Target name="ai_healing_up">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_healing_up">
				<SkeletonFrame time="0.0" cmd="play" param="healing_up"/>
			</Target>
		</Anim>
	</AnimPlayer>

	<AnimPlayer name="human_ani" event="e_human_low_ani">
		<Anim name="attack">
			<Target name="human_attack_bkg">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="2" visible="0"/>
			</Target>

			<Target name="human_attack_bkg">
				<SkeletonFrame time="0" cmd="play" param="attack_start"/>
			</Target>

			<Target name="human_attack_arrow">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_attack_arrow">
				<SkeletonFrame time="0.0" cmd="play" param="attack_arrow"/>
			</Target>

			<Target name="ai_attack_boom">
				<VisibleFrame time="1.5" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_attack_boom">
				<SkeletonFrame time="1.5" cmd="play" param="attack_boom"/>
			</Target>
		</Anim>
	</AnimPlayer>

	<AnimPlayer name="human_ani" event="e_human_ani">

		<Anim name="stun">
			<Target name="human_stun_start">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="2" visible="0"/>
			</Target>

			<Target name="human_stun_start">
				<SkeletonFrame time="0" cmd="play" param="stun_start"/>
			</Target>

			<Target name="human_stun_tornado">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_stun_tornado">
				<SkeletonFrame time="0.0" cmd="play" param="stun_tornado"/>
			</Target>

			<Target name="ai_stun_boom_down">
				<VisibleFrame time="1.5" visible="1"/>
			</Target>

			<Target name="ai_stun_boom_down">
				<SkeletonFrame time="1.5" cmd="play" param="stun_boom_down"/>
			</Target>

			<Target name="ai_stun_boom_up">
				<VisibleFrame time="1.5" visible="1"/>
			</Target>

			<Target name="ai_stun_boom_up">
				<SkeletonFrame time="1.5" cmd="play" param="stun_boom_up"/>
			</Target>
			
			<Target name="">
				<EventFrame time="1.5" id="e_ai_stunt_show"/>
			</Target>
		</Anim>

		<Anim name="magic">
			<Target name="human_magic_start">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="2" visible="0"/>
			</Target>

			<Target name="human_magic_start">
				<SkeletonFrame time="0" cmd="play" param="magic_start"/>
			</Target>

			<Target name="human_magic_arrow">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_magic_arrow">
				<SkeletonFrame time="0.0" cmd="play" param="magic_arrow"/>
			</Target>

			<Target name="ai_magic_boom">
				<VisibleFrame time="1.5" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="ai_magic_boom">
				<SkeletonFrame time="1.5" cmd="play" param="magic_boom"/>
			</Target>
		</Anim>

		<Anim name="healing">
			<Target name="human_healing_down">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_healing_down">
				<SkeletonFrame time="0" cmd="play" param="healing_down"/>
			</Target>

			<Target name="human_healing_up">
				<VisibleFrame time="0.05" visible="1"/>
				<VisibleFrame time="3" visible="0"/>
			</Target>

			<Target name="human_healing_up">
				<SkeletonFrame time="0.0" cmd="play" param="healing_up"/>
			</Target>
		</Anim>
	</AnimPlayer>

	<Widget>
		<AnimController autoPlay="0" events="event_attack_ai">
			<ActionGroup>
				<EfxSendEvent event="e_ai_ani">{"name":"magic", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_long_damages_human"/>
				<EfxSendEvent delay="2" event="event_long_damages_human_show"/>
				<EfxSendEvent delay="2" event="event_update_demons"/>
				<EfxSendEvent delay="3" event="event_end_step"/>
			</ActionGroup>
		</AnimController>

		<AnimController autoPlay="0" events="event_stan_ai">
			<ActionGroup>
				<EfxSendEvent event="e_ai_ani">{"name":"stun", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_long_damages_human"/>
				<EfxSendEvent delay="2" event="event_update_demons"/>
				<EfxSendEvent delay="3" event="event_end_step"/>
			</ActionGroup>
		</AnimController>

		<AnimController autoPlay="0" events="event_protection_ai">
			<ActionGroup>
				<EfxSendEvent event="e_ai_ani">{"name":"healing", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_update_demons"/>
				<EfxSendEvent delay="3" event="event_end_step"/>
			</ActionGroup>
		</AnimController>

		<AnimController autoPlay="0" events="event_ai_low_attack">
			<ActionGroup>
				<EfxSendEvent event="e_ai_ani">{"name":"attack", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_ai_low_attack_show"/>
				<EfxSendEvent delay="3" event="event_end_step"/>
			</ActionGroup>
		</AnimController>
	</Widget>

	<Widget>
		<AnimController autoPlay="0" events="event_attack_human">
			<ActionGroup>
				<EfxSendEvent event="e_human_ani">{"name":"magic", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_long_damages_ai"/>
				<EfxSendEvent delay="2" event="event_long_damages_ai_show"/>
				<EfxSendEvent delay="2" event="event_update_demons"/>
			</ActionGroup>
		</AnimController>

		<AnimController autoPlay="0" events="event_stan_human">
			<ActionGroup>
				<EfxSendEvent event="e_human_ani">{"name":"stun", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="3" event="event_long_damages_ai"/>
				<EfxSendEvent delay="3" event="event_update_demons"/>
			</ActionGroup>
		</AnimController>
		
		<AnimController autoPlay="0" events="event_protection_human">
			<ActionGroup>
				<EfxSendEvent event="e_human_ani">{"name":"healing", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_update_demons"/>
			</ActionGroup>
		</AnimController>

		<AnimController autoPlay="0" events="event_human_low_attack">
			<ActionGroup>
				<EfxSendEvent event="e_human_low_ani">{"name":"attack", "loop":false}</EfxSendEvent>
				<EfxSendEvent delay="2" event="event_human_low_attack_show"/>
				<EfxSendEvent delay="3" event="event_end_step"/>
			</ActionGroup>
		</AnimController>
	</Widget>

	<!-- -->
	<!-- elements field -->
	<BattleFieldWidget name="battle_field" x="405" y="370" width="220" height="220" xml="battle_field.xml"/>

	
	<Widget name="status_bar" x="0" y="12" xml="/status_bar/battle_layout_status_bar.xml"/>

	<SkeletonWidget x="480" y="300" name="start_fight" data="data/spine/fight.json" atlas="demon_battle/spine/fight.atlas" base_scale="2">
		<Scenario>
		[
			<!--{
				"id": "play",
				"ani": "idle",
			},-->
		]
		</Scenario>
	</SkeletonWidget>
    
    <AnimController autoPlay="1">
        <ActionGroup>
            <EfxSendCmd cmd="music_set_pl" param="Battle"/>
        </ActionGroup>
    </AnimController>
    
    <GPPanel x="605" y="560">
        <GPPanelIcon x="0" y="0" alias="ls" auto_visible="0"/>
        <GPPanelIcon x="40" y="0" alias="btn_a" auto_visible="0"/>
    </GPPanel>

</Layout>
