<mamecheat version="1">

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

  <cheat desc="Pause/Unpause Shop Timer">
    <script state="run">
      <action>maincpu.pb@FFE00B=02</action>
    </script>
  </cheat>

  <cheat desc="Infinite Shield">
    <script state="run">
      <action>maincpu.pb@FF2F00=05</action>
      <action>maincpu.pb@FF2F03=05</action>
      <action>maincpu.pb@FF15D7=02</action>
      <action>maincpu.pb@FF2EA0=05</action>
      <action>maincpu.pb@FF2EA3=05</action>
      <action>maincpu.pb@FF1657=02</action>
    </script>
  </cheat>

  <cheat desc="Always face to the Right">
    <script state="run">
      <action>maincpu.pb@FF10D6=00</action>
    </script>
  </cheat>

  <cheat desc="Always face to the Left">
    <script state="run">
      <action>maincpu.pb@FF10D6=04</action>
    </script>
  </cheat>

  <cheat desc="Flip to face to the Right Now!"> <comment>Best used with an activation key - Can cause scrolling problems</comment>
    <script state="on">
      <action>maincpu.pb@FF10D6=00</action>
    </script>
  </cheat>

  <cheat desc="Flip to face to the Left Now!"> <comment>Best used with an activation key - Can cause scrolling problems</comment>
    <script state="on">
      <action>maincpu.pb@FF10D6=04</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Infinite Money PL1">
    <script state="run">
      <action>maincpu.pb@FF160B=09</action>
    </script>
  </cheat>

  <cheat desc="Always have Max 2nd Weapon (level 7) PL1">
    <script state="run">
      <action>maincpu.pb@FF15D3=06</action>
    </script>
  </cheat>

  <cheat desc="Infinite Second Weapon PL1">
    <script state="run">
      <action>maincpu.pb@FF15E3=63</action>
    </script>
  </cheat>

  <cheat desc="Always have Phoenix as 2nd Weapon PL1">
    <script state="run">
      <action>maincpu.pb@FF15E1=00</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Main Shot PL1">
    <script state="run">
      <action>maincpu.pw@FF15D9=0011</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Extra Weapon PL1">
    <script state="run">
      <action>maincpu.pw@FF15DF=0100</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Weapon PL1"> <comment>The TEXT display may NOT be updated between stages though</comment>
    <parameter>
      <item value="0x00">Phoenix</item>
      <item value="0x04">Falcon</item>
      <item value="0x08">Bomb</item>
      <item value="0x0C">Bomb II</item>
      <item value="0x10">Napalm</item>
      <item value="0x14">Napalm II</item>
      <item value="0x1C">Bullpup</item>
      <item value="0x20">Bullpup II</item>
      <item value="0x34">Super Shell</item>
      <item value="0x38">Super Shell II</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF15E1=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Infinite Money PL2">
    <script state="run">
      <action>maincpu.pb@FF168B=09</action>
    </script>
  </cheat>

  <cheat desc="Always have Max 2nd Weapon (level 7) PL2">
    <script state="run">
      <action>maincpu.pb@FF1653=06</action>
    </script>
  </cheat>

  <cheat desc="Infinite Second Weapon PL2">
    <script state="run">
      <action>maincpu.pb@FF1663=63</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Main Shot PL2">
    <script state="run">
      <action>maincpu.pw@FF1659=0011</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Extra Weapon PL2">
    <script state="run">
      <action>maincpu.pw@FF165F=0100</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Weapon PL2"> <comment>The TEXT display may NOT be updated between stages though</comment>
    <parameter>
      <item value="0x00">Phoenix</item>
      <item value="0x04">Falcon</item>
      <item value="0x08">Bomb</item>
      <item value="0x0C">Bomb II</item>
      <item value="0x10">Napalm</item>
      <item value="0x14">Napalm II</item>
      <item value="0x1C">Bullpup</item>
      <item value="0x20">Bullpup II</item>
      <item value="0x34">Super Shell</item>
      <item value="0x38">Super Shell II</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF1661=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test">
    <parameter min="1" max="255" step="1"/>
    <script state="change">
      <action>maincpu.pb@800181=param</action>
    </script>
  </cheat>

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