<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "../bulletml.dtd">

<bulletml type="vertical"
           >

<action label="top">

  <fire>
   <direction type="absolute">180</direction>
   <speed>3.0</speed>
   <bulletRef label="center">
    <param>0</param>
   </bulletRef>
  </fire>

  <wait>800 - 50 * $rank</wait>

</action>

<bullet label="center"><action>

  <wait>15</wait>

  <fire>
   <direction type="absolute">-10 + $1</direction>
   <speed>2.0</speed>
   <bulletRef label="arm">
   </bulletRef>
  </fire>
  <fire>
   <direction type="absolute">80 + $1</direction>
   <speed>2.0</speed>
   <bulletRef label="arm">
   </bulletRef>
  </fire>
  <fire>
   <direction type="absolute">170 + $1</direction>
   <speed>2.0</speed>
   <bulletRef label="arm">
   </bulletRef>
  </fire>
  <fire>
   <direction type="absolute">260 + $1</direction>
   <speed>2.0</speed>
   <bulletRef label="arm">
   </bulletRef>
  </fire>

  <vanish/>

</action></bullet>

<bullet label="arm"><action>

 <wait>25</wait>
 <changeSpeed>
  <speed>0</speed>
  <term>1</term>
 </changeSpeed>
 <wait>5</wait>

  <fire>
   <bulletRef label="halfwinder">
    <param>330</param>
    <param>-8</param>
   </bulletRef>
  </fire>
  <fire>
   <bulletRef label="halfwinder">
    <param>270</param>
    <param>-5</param>
   </bulletRef>
  </fire>
  <fire>
   <bulletRef label="halfwinder">
    <param>210</param>
    <param>-2</param>
   </bulletRef>
  </fire>

  <fire>
   <bulletRef label="halfwinder">
    <param>150</param>
    <param>2</param>
   </bulletRef>
  </fire>
  <fire>
   <bulletRef label="halfwinder">
    <param>90</param>
    <param>5</param>
   </bulletRef>
  </fire>
  <fire>
   <bulletRef label="halfwinder">
    <param>30</param>
    <param>8</param>
   </bulletRef>
  </fire>

 <vanish/>

</action></bullet>

<bullet label="halfwinder">
<direction type="absolute">0</direction>
<speed>0</speed>
<action>

  <fire>
   <bulletRef label="bit">
    <param>$1</param>
    <param>$2</param>
   </bulletRef>
  </fire>

  <fire>
   <bulletRef label="changecolor">
    <param>$1</param>
    <param>-$2</param>
   </bulletRef>
  </fire>

 <vanish/>

</action></bullet>

<bullet label="changecolor">
<direction type="absolute">0</direction>
<speed>0</speed>
<action>

  <wait>(62 - 50 * $rank)/3</wait>

  <fire>
   <bulletRef label="bit">
    <param>$1</param>
    <param>$2</param>
   </bulletRef>
  </fire>

 <vanish/>

</action></bullet>

<bullet label="bit">
<direction type="absolute">0</direction>
<speed>0</speed>
<action>

  <fire>
   <direction type="absolute">$1</direction>
   <speed>0.7 + 1.1 * $rank</speed>
   <bullet/>
  </fire>

  <wait>62 - 50 * $rank</wait>

 <repeat> <times>600 / (62 - 50 * $rank)</times><action>
  <fire>
   <direction type="sequence">$2</direction>
   <speed>0.7 + 1.1 * $rank</speed>
   <bullet/>
  </fire>

  <wait>62 - 50 * $rank</wait>

 </action></repeat>

 <vanish/>

</action></bullet>

</bulletml>
