<mamecheat version="1">

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

  <cheat desc="Select starting level"> <comment>You should enable this cheat on the title screen and press 1 or 2 before it enters the demo mode which would disable the cheat.</comment>
    <parameter min="1" max="5" step="1"/>
    <script state="on">
      <action>maincpu.pb@040E=FF</action>
    </script>
    <script state="change">
      <action>maincpu.pb@040E=(param-1)</action>
    </script>
  </cheat>

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

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

  <cheat desc="Infinite Lives">
    <script state="run">
      <action>maincpu.pb@040F=99</action>
    </script>
  </cheat>

  <cheat desc="Infinite Powerup Time">
    <script state="run">
      <action>maincpu.pb@0492=63</action>
    </script>
  </cheat>

  <cheat desc="Always 3-Way Powerup">
    <script state="run">
      <action>maincpu.pb@05A3=80</action>
    </script>
  </cheat>

  <cheat desc="Get 3-Way Powerup Now!">
    <script state="on">
      <action>maincpu.pb@05A3=80</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@6803</action>
      <action>temp1 =maincpu.mb@69FB</action>
      <action>temp2 =maincpu.mb@6A56</action>
      <action>temp3 =maincpu.mb@6B91</action>
      <action>temp4 =maincpu.mb@6C0E</action>
    </script>
    <script state="run">
      <action>maincpu.mb@6803=39</action>
      <action>maincpu.mb@69FB=39</action> <!-- 1st = Fire, 2nd = Enemy -->
      <action>maincpu.mb@6A56=39</action> <!-- Scenery -->
      <action>maincpu.mb@6B91=39</action> <!-- Rock -->
      <action>maincpu.mb@6C0E=39</action> <!-- Missile -->
    </script>
    <script state="off">
      <action>maincpu.mb@6803=temp0 </action>
      <action>maincpu.mb@69FB=temp1 </action>
      <action>maincpu.mb@6A56=temp2 </action>
      <action>maincpu.mb@6B91=temp3 </action>
      <action>maincpu.mb@6C0E=temp4 </action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire">
    <script state="run">
      <action>maincpu.pb@0419=00|(maincpu.pb@0419 BAND ~01)</action>
    </script>
  </cheat>

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