<mamecheat version="1">

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

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

  <cheat desc="Invincibility"> <comment>You die though when you fall down a pit</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@05B38</action>
      <action>temp1 =maincpu.mb@05E1F</action>
    </script>
    <script state="run">
      <action>maincpu.mb@05B38=60</action>
      <action>maincpu.mb@05E1F=10</action> <!-- 1st = Enemy, 2nd = Fire -->
    </script>
    <script state="off">
      <action>maincpu.mb@05B38=temp0 </action>
      <action>maincpu.mb@05E1F=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Always Long shot">
    <script state="run">
      <action>maincpu.pb@60191=02</action>
    </script>
  </cheat>

  <cheat desc="Always Power shot">
    <script state="run">
      <action>maincpu.pb@60192=02</action>
    </script>
  </cheat>

  <cheat desc="Always Rapid shot">
    <script state="run">
      <action>maincpu.pb@60193=04</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon">
    <parameter>
      <item value="0x00">Laser</item>
      <item value="0x01">Fireball</item>
      <item value="0x02">Rotating Balls</item>
      <item value="0x03">Boomerangs</item>
      <item value="0x04">Chain</item>
      <item value="0x05">Missile</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@60190=param</action>
    </script>
  </cheat>

  <cheat desc="Select starting level"> <comment>You should enable this cheat on the Press START button screen,  ie. after credits have been inserted!</comment>
    <parameter min="1" max="7" step="1"/>
    <script state="on">
      <action>maincpu.pb@60189=FF</action>
    </script>
    <script state="change">
      <action>maincpu.pb@60189=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Select current level">
    <parameter min="1" max="7" step="1"/>
    <script state="change">
      <action>maincpu.pb@60189=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Select next level">
    <parameter min="1" max="7" step="1"/>
    <script state="change">
      <action>maincpu.pb@60189=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Go to last level next">
    <script state="on">
      <action>maincpu.pb@60189=06</action>
    </script>
  </cheat>

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

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