<ActorFrame> <children>

<Layer
   Type="ActorFrame"
   InitCommand="zoom,1;zoomy,0.995;y,SCREEN_CENTER_Y-118"
   GainFocusCommand="linear,0.1;x,SCREEN_CENTER_X+156;y,SCREEN_CENTER_Y-118-10"
   LoseFocusCommand="linear,0.1;x,SCREEN_CENTER_X+156;y,SCREEN_CENTER_Y-118"
   MadeChoiceP1MessageCommand="playcommand,GoOff"
   MadeChoiceP2MessageCommand="playcommand,GoOff"
   GoOffCommand="%function(self)
   local loc = self:GetX();
      if loc == 320+152-18 then
         self:bounceend(0.09);
         self:zoom(1.1);
         self:bouncebegin(0.09);
         self:zoom(0.995);
         self:sleep(0.3);
         self:accelerate(0.3);
         self:addx(-400);
      else
         self:accelerate(0.3);
         self:addx(-400);
      end
   self:sleep(5)
end"
><children> off
<Layer
   File="battle"
   GainFocusCommand="linear,0.1;diffusealpha,0.8;zoom,0.65;zoomx,0.5"
   LoseFocusCommand="linear,0.1;diffusealpha,0.8;zoom,0.65;zoomx,0.5"
   InitCommand="x,-300;y,+237;draworder,10;horizalign,left;zoom,0.65;zoomx,0.5"
/>
<Layer
   File="battle"
   GainFocusCommand=";linear,0.1;diffusealpha,1;zoom,0.65;zoomx,0.5"
   LoseFocusCommand=";linear,0.1;diffusealpha,0;zoom,0.65;zoomx,0.5"
   InitCommand="x,-300;y,+237;draworder,20;horizalign,left;zoom,0.65;zoomx,0.5"
/>

<Layer
   File="arrow.model"
   GainFocusCommand="linear,0.1;diffusealpha,1;zoom,1.2;rotationz,180"
   LoseFocusCommand="linear,0.1;diffusealpha,0;zoom,1.2"
   InitCommand="x,-230;y,250;draworder,10;;spin;effectmagnitude,50,00,00;;;"
/>
</children></Layer>

<Layer
   File="frame"
   InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-15;zoom,0.65;draworder,1"
   GainFocusCommand="x,SCREEN_CENTER_X;zoom,0;bounceend,0.1;zoom,0.88"
   LoseFocusCommand="x,SCREEN_CENTER_X;bouncebegin,0.1;zoom,0"
   MadeChoiceP1MessageCommand="playcommand,GoOff"
   MadeChoiceP2MessageCommand="playcommand,GoOff"
   GoOffCommand="%function(self)
   local loc = self:GetX();
      if loc == 320-86 then
         self:bounceend(0.09);
         self:zoom(1.1);
         self:bouncebegin(0.09);
         self:zoom(0.995);
         self:sleep(0.3);
         self:accelerate(0.3);
         self:addy(-600);
      else
         self:accelerate(0.3);
         self:addy(-600);
      end
   self:sleep(5)
end"
/>

<Layer
   File="title"
   InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-45;zoom,0"
   GainFocusCommand="x,SCREEN_CENTER_X;;zoom,0;bounceend,0.1;zoom,0.71"
   LoseFocusCommand="x,SCREEN_CENTER_X;;bouncebegin,0.1;zoom,0"
   MadeChoiceP1MessageCommand="playcommand,GoOff"
   MadeChoiceP2MessageCommand="playcommand,GoOff"
   GoOffCommand="%function(self)
   local loc = self:GetX();
      if loc == 320-87 then
         self:bounceend(0.09);
         self:zoom(1.0);
         self:bouncebegin(0.09);
         self:zoom(0.8);
         self:sleep(0.3);
         self:accelerate(0.3);
         self:addy(-600);
      else
         self:accelerate(0.3);
         self:addy(-600);
      end
   self:sleep(5)
end"
/>
</children> </ActorFrame>
