<mamecheat version="1">

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mw@13B8A</action>
      <action>temp1 =maincpu.mw@13B90</action>
      <action>temp2 =maincpu.mb@13B96</action>
    </script>
    <script state="run">
      <action>maincpu.mw@13B8A=42B9</action>
      <action>maincpu.mw@13B90=42B9</action>
      <action>maincpu.mb@13B96=60</action>
    </script>
    <script state="off">
      <action>maincpu.mw@13B8A=temp0 </action>
      <action>maincpu.mw@13B90=temp1 </action>
      <action>maincpu.mb@13B96=temp2 </action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire"> <comment>Turn it OFF on the name entry screen</comment>
    <script state="run">
      <action>maincpu.pb@F3123=00|(maincpu.pb@F3123 BAND ~10)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Special Shots">
    <script state="run">
      <action>maincpu.pb@F3131=09</action>
    </script>
  </cheat>

  <cheat desc="Select Shot Type">
    <parameter>
      <item value="0x00">2 Shot</item>
      <item value="0x01">2 Shot +1</item>
      <item value="0x02">Blade +1</item>
      <item value="0x03">Blade +2</item>
      <item value="0x04">4 Shot +1</item>
      <item value="0x05">4 Shot +3</item>
      <item value="0x06">2 Blade+3</item>
      <item value="0x07">2 Blade+3</item>
      <item value="0x08">2 Shot +Wide [NOT FOR PLANE]</item>
      <item value="0x09">2 Shot +Balls [NOT FOR JET OR HELI]</item>
      <item value="0x0A">Blade +Balls [NOT FOR JET OR HELI]</item>
      <item value="0x0B">?1 [NOT FOR PLANE,JET OR HELI]</item>
      <item value="0x0C">?2 [NOT FOR PLANE,JET OR HELI]</item>
      <item value="0x0D">?3 [NOT FOR PLANE,JET OR HELI]</item>
      <item value="0x0E">?4 [NOT FOR PLANE,JET OR HELI]</item>
      <item value="0x0F">4Shot +Wide [NOT FOR JET OR HELI]</item>
      <item value="0x10">Ray</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@F312B=param</action>
    </script>
  </cheat>

  <cheat desc="Select Ship Type"> <comment>Make sure you don't pick a Shot Type which is not suitable</comment>
    <parameter>
      <item value="0x00">Plane (Shots)</item>
      <item value="0x01">Jet (Balls)</item>
      <item value="0x02">Heli (Triangles)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@F30C7=param</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Level">
    <parameter>
      <item value="0x01">1</item>
      <item value="0x02">2</item>
      <item value="0x03">3</item>
      <item value="0x04">4</item>
      <item value="0x05">5</item>
      <item value="0x06">6</item>
      <item value="0x07">7</item>
    </parameter>
    <script state="run">
      <action condition="(maincpu.pb@F2EE5==01)">maincpu.pb@F2EE5=param</action>
    </script>
  </cheat>

  <cheat desc="Always Open Secret Bomb">
    <script state="on">
      <action>temp0 =maincpu.mb@2BD6F</action>
      <action>temp1 =maincpu.mb@2BD7D</action>
    </script>
    <script state="run">
      <action>maincpu.mb@2BD6F=02</action>
      <action>maincpu.mb@2BD7D=02</action>
    </script>
    <script state="off">
      <action>maincpu.mb@2BD6F=temp0 </action>
      <action>maincpu.mb@2BD7D=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Always Mark Secret Character">
    <script state="on">
      <action>temp0 =maincpu.md@2BC52</action>
      <action>temp1 =maincpu.mw@2BC56</action>
    </script>
    <script state="run">
      <action>maincpu.md@2BC52=58680008</action>
      <action>maincpu.mw@2BC56=6048</action>
    </script>
    <script state="off">
      <action>maincpu.md@2BC52=temp0 </action>
      <action>maincpu.mw@2BC56=temp1 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@F30A1=05</action>
    </script>
  </cheat>

  <cheat desc="Change Colour PL1">
    <script state="run">
      <action>maincpu.pb@F30BD=02</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@F30A3=05</action>
    </script>
  </cheat>

  <cheat desc="Change Colour PL2">
    <script state="run">
      <action>maincpu.pb@F30BD=01</action>
    </script>
  </cheat>

</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->
