<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@FF2389=09</action>
    </script>
  </cheat>

  <cheat desc="Set Current Loop"> <comment>Enable after you've started the game</comment>
    <parameter>
      <item value="0x00">1st Loop</item>
      <item value="0x01">2nd Loop</item>
    </parameter>
    <script state="change">
      <action>maincpu.pb@FF3FA9=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@FF3F73=0A</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL1">
    <script state="run">
      <action>maincpu.pb@FF4320=02</action>
    </script>
  </cheat>

  <cheat desc="Infinite Bombs PL1">
    <script state="run">
      <action>maincpu.pb@FF4305=03</action>
    </script>
  </cheat>

  <cheat desc="Always Maximum Shot Power PL1">
    <script state="run">
      <action>maincpu.pb@FF4303=08</action>
    </script>
  </cheat>

  <cheat desc="Always Maximum Jewel Symbol PL1">
    <script state="run">
      <action>maincpu.pb@FF4187=A0</action>
      <action>maincpu.pb@FF419B=78</action>
    </script>
  </cheat>

  <cheat desc="Always Have Maximum Jewels PL1">
    <script state="run">
      <action>maincpu.pd@FF4177=0F423F00|(maincpu.pd@FF4177 BAND ~FFFFFF00)</action>
      <action>maincpu.pb@FF4195=99</action>
    </script>
  </cheat>

  <cheat desc="Always Have Double Rate Item PL1">
    <script state="run">
      <action>maincpu.pb@FF42E2=02|(maincpu.pb@FF42E2 BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc="Select Fighter PL1"> <comment>Works after you die or finish the stage</comment>
    <parameter>
      <item value="0x00">Gambler</item>
      <item value="0x01">Militant</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF39E5=param</action>
    </script>
  </cheat>

  <cheat desc="Select Gunner PL1">
    <parameter>
      <item value="0x00">Type-Alpha (Missile)</item>
      <item value="0x01">Type-Beta (Mine)</item>
      <item value="0x02">Type-Gumma (Homing)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF39E9=param</action>
    </script>
  </cheat>

  <cheat desc="Select Fighter Mode Maximum Speed PL1">
    <parameter min="0" max="64" step="1"/>
    <script state="run">
      <action>maincpu.pb@FF430B=(param)</action>
    </script>
  </cheat>

  <cheat desc="Select Gunner Mode Minimum Speed PL1">
    <parameter min="0" max="64" step="1"/>
    <script state="run">
      <action>maincpu.pb@FF430A=(param)</action>
    </script>
  </cheat>

  <cheat desc="Select Gun-flyer Formation PL1">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Extra</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3EFF=param</action>
    </script>
  </cheat>

  <cheat desc="Select Character Colour PL1">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Extra</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF2342=param|(maincpu.pb@FF2342 BAND ~01)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@FF3F75=0A</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL2">
    <script state="run">
      <action>maincpu.pb@FF4380=02</action>
    </script>
  </cheat>

  <cheat desc="Infinite Bombs PL2">
    <script state="run">
      <action>maincpu.pb@FF4365=03</action>
    </script>
  </cheat>

  <cheat desc="Always Maximum Shot Power PL2">
    <script state="run">
      <action>maincpu.pb@FF4363=08</action>
    </script>
  </cheat>

  <cheat desc="Always Maximum Jewel Symbol PL2">
    <script state="run">
      <action>maincpu.pb@FF418B=A0</action>
      <action>maincpu.pb@FF419D=78</action>
    </script>
  </cheat>

  <cheat desc="Always Have Maximum Jewels PL2">
    <script state="run">
      <action>maincpu.pd@FF417B=0F423F00|(maincpu.pd@FF417B BAND ~FFFFFF00)</action>
      <action>maincpu.pb@FF4199=99</action>
    </script>
  </cheat>

  <cheat desc="Always Have Double Rate Item PL2">
    <script state="run">
      <action>maincpu.pb@FF4342=02|(maincpu.pb@FF4342 BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc="Select Fighter PL2"> <comment>Works after you die or finish the stage</comment>
    <parameter>
      <item value="0x00">Gambler</item>
      <item value="0x01">Militant</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF39E7=param</action>
    </script>
  </cheat>

  <cheat desc="Select Gunner PL2">
    <parameter>
      <item value="0x00">Type-Alpha (Missile)</item>
      <item value="0x01">Type-Beta (Mine)</item>
      <item value="0x02">Type-Gumma (Homing)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF39EB=param</action>
    </script>
  </cheat>

  <cheat desc="Select Fighter Mode Speed PL2">
    <parameter min="0" max="64" step="1"/>
    <script state="run">
      <action>maincpu.pb@FF436B=(param)</action>
    </script>
  </cheat>

  <cheat desc="Select Gunner Mode Speed PL2">
    <parameter min="0" max="64" step="1"/>
    <script state="run">
      <action>maincpu.pb@FF436A=(param)</action>
    </script>
  </cheat>

  <cheat desc="Select Gun-flyer Formation PL2">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Extra</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3F01=param</action>
    </script>
  </cheat>

  <cheat desc="Select Character Colour PL2">
    <parameter>
      <item value="0x02">Normal</item>
      <item value="0x00">Extra</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF2342=param|(maincpu.pb@FF2342 BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pw@F026=0000</action>
    </script>
  </cheat>

  <cheat desc="Select Region"> <comment>This cheat sets the machine region - the effectiveness may vary! You have to enable this ASAP - ON or before the ROM check screen! Or enable + RESET</comment>
    <parameter>
      <item value="0x00">Japan</item>
      <item value="0x02">USA</item>
      <item value="0x04">Hispanic</item>
      <item value="0x06">Asia</item>
      <item value="0x08">Euro</item>
      <item value="0x0A">Brazil</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF23A3=param</action>
    </script>
  </cheat>

  <cheat desc="Sound Test">
    <parameter min="1" max="2352" step="1"/>
    <script state="change">
      <action>audiocpu.pw@F015=0000</action>
      <action>audiocpu.pq@F100=00009900000000FF</action>
      <action>audiocpu.pq@F108=0099990000000000</action>
      <action>audiocpu.pq@F110=1000990000000000</action>
      <action>audiocpu.pq@F118=0099990000000000</action>
      <action condition="(param LT 100)">audiocpu.pb@F111=param</action>
      <action>temp0=param/100</action>
      <action condition="(param GE 100)">audiocpu.pb@F110=temp0</action>
      <action condition="(param GE 100)">audiocpu.pb@F111=param-(temp0*100)</action>
      <action>audiocpu.pb@F015=20</action>
    </script>
  </cheat>

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