<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@0208C=63</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Round">
    <parameter>
      <item value="0x01">Round 1</item>
      <item value="0x02">Round 2</item>
      <item value="0x03">Round 3</item>
      <item value="0x04">Round 4</item>
      <item value="0x05">Round 5</item>
      <item value="0x06">Round 6</item>
      <item value="0x07">Round 7</item>
      <item value="0x08">Round 8</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=00</action>
      <action condition="(param==01) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=00</action>
      <action condition="(param==02) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=01</action>
      <action condition="(param==02) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=01</action>
      <action condition="(param==03) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=02</action>
      <action condition="(param==03) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=02</action>
      <action condition="(param==04) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=04</action>
      <action condition="(param==04) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=03</action>
      <action condition="(param==05) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=05</action>
      <action condition="(param==05) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=04</action>
      <action condition="(param==06) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=06</action>
      <action condition="(param==06) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=05</action>
      <action condition="(param==07) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=08</action>
      <action condition="(param==07) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=06</action>
      <action condition="(param==08) AND (maincpu.pb@020A2==00)">maincpu.pb@020A2=09</action>
      <action condition="(param==08) AND (maincpu.pb@020A4==00)">maincpu.pb@020A4=07</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives">
    <script state="run">
      <action>maincpu.pb@02098=FF</action>
    </script>
  </cheat>

  <cheat desc="Infinite POWs">
    <script state="run">
      <action>maincpu.pb@0580C=09|(maincpu.pb@0580C BAND ~0F)</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@12213</action>
      <action>temp1 =maincpu.mb@125F8</action>
      <action>temp2 =maincpu.mb@12677</action>
    </script>
    <script state="run">
      <action>maincpu.mb@12213=60</action>
      <action>maincpu.mb@125F8=60</action> <!-- 1st = Enemy, 2nd = Fire -->
      <action>maincpu.mb@12677=60</action> <!-- Missile in 3D scene -->
    </script>
    <script state="off">
      <action>maincpu.mb@12213=temp0 </action>
      <action>maincpu.mb@125F8=temp1 </action>
      <action>maincpu.mb@12677=temp2 </action>
    </script>
  </cheat>

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

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

  <cheat desc="Select Power Up">
    <parameter>
      <item value="0x01">Bomb 1</item>
      <item value="0x02">Bomb 2</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@0558E=param</action>
    </script>
  </cheat>

  <cheat desc="Always have 2nd Heli">
    <script state="run">
      <action>maincpu.pb@0558C=01</action>
    </script>
  </cheat>

  <cheat desc="Get 2nd Heli Now!">
    <script state="on">
      <action>maincpu.pb@0558C=01</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Helicopter Weapon">
    <parameter>
      <item value="0x00">Normal Shot</item>
      <item value="0x01">Vulcan Shot</item>
      <item value="0x02">3-Way Shot</item>
      <item value="0x04">Triple Shot</item>
      <item value="0x05">Laser Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@0558D=param</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Helicopter Weapon">
    <parameter>
      <item value="0x00">Normal Shot</item>
      <item value="0x01">Vulcan Shot</item>
      <item value="0x02">3-Way Shot</item>
      <item value="0x04">Triple Shot</item>
      <item value="0x05">Laser Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@055ED=param</action>
    </script>
  </cheat>

  <cheat desc="Lose a Life Now!">
    <script state="on">
      <action>maincpu.pb@05809=04</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test Timer Stop"> <comment>[PL1 Shot1]Next Code</comment>
    <script state="run">
      <action>maincpu.pb@02809=F0</action>
    </script>
  </cheat>

  <cheat desc="Sound Test">
    <parameter min="1" max="146" step="1"/>
    <script state="change">
      <action>maincpu.pb@2198=param</action>
      <action>maincpu.pw@2012=2198</action>
      <action>maincpu.pw@2010=2199</action>
    </script>
  </cheat>

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