<container fillParent="1" visible="0">
  <state name="lose_no_turns" visible="1"/>
  <state name="lose" visible="0"/>


		
		
  <container w="640" h="640" parentAlign="center" y="-1080">
    <state name="lose_no_turns" visible="1" y="192" easing="back_inout"/>
    <state name="lose" visible="0" y="-1080" easing="back_inout"/>
    <state name="gold_shop" visible="0" y="1580" easing="back_inout"/>
            
    <image9 x='20' y='0' w="600" h="690" filename="data/gui/composit1.png" corner="20"/>
      
    <text parentAlign="center" y="170" text="No more moves" w="250" align="center" font="clearsans_medium.ttf" font_size="75" />
    
	
    <button x="210" y="400" w="300" h="163" on_click="secondChance()" >
      
			<container name="default" w="300" h="180">
        <image filename="data/gui/but_main_d.png" w="300" h="180" />
        <text parentAlign="center" y='75' font="clearsans_medium.ttf" font_size="50" color="3d3d3d" dataSource="secondChanceMoves" template="+ {{text}} moves"/>
				<image x='80' y='80' w="60" h="60" filename="data/gui/icon_gold.png" />        
        <text  x='150' y="120" font="clearsans_medium.ttf" font_size="42" align="left" color="3d3d3d" dataSource="secondChancePrice"/>                
      </container>
     
		 <container name="active" w="300" h="180" >
  		  <image filename="data/gui/but_main_a.png" w="300" h="180" />
          <text parentAlign="center" y='75' font="clearsans_medium.ttf" font_size="50"  color="3d3d3d" dataSource="secondChanceMoves" template="+ {{text}} moves"/>
					<image x='80' y='80' w="60" h="60" filename="data/gui/icon_gold.png" />            
          <text x='150' y="120" font="clearsans_medium.ttf" font_size="42" align="left" color="3d3d3d" dataSource="secondChancePrice"/>        
      </container>
      
			<container name="pressed" w="300" h="180" x="5" y="5">
        <image filename="data/gui/but_main_a.png" w="300" h="180" />
        <text parentAlign="center" y='75' font="clearsans_medium.ttf" font_size="50"  color="3d3d3d" dataSource="secondChanceMoves" template="+ {{text}} moves"/>
				<image x='80' y='80' w="60" h="60" filename="data/gui/icon_gold.png" />  				
        <text  x='150' y="120" font="clearsans_medium.ttf" font_size="42" align="left" color="3d3d3d" dataSource="secondChancePrice"/>        
      </container>
    </button>

		
		 	<button x="520" y="15" w="80" h="80"  on_click="setState('lose')">
  			<container name="default" w="80" h="80" >
  				<image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
  				<text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
  			</container>
			
  			<container name="active" w="80" h="80" >
  				<image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
  				<image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
  				<text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
  			</container>
			
  			<container name="pressed"  w="80" h="80" x="5" y="5" >
  				<image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
  				<image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
  				<text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
  			</container>
  	</button> 
		
     

    
      
  </container>
 


    <container w="1" h="1" parentAlign="center" y="0">
		<container w="1" h="1" x="110" y="1580">
			<state name="lose_no_turns" visible="1" y="250" easing="back_inout"/>
			<state name="lose" visible="1" y="1580" easing="back_inout"/>
			<image  x="-730" y="0"  w="554" flip_x="1" h="1000"  filename="data/gfx/characters/02_old.png" />
		</container>	
    </container>	
    
</container>