<mamecheat version="1">

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

  <cheat desc="Select Starting Stage"> <comment>For the best effect enable before starting a game and it's best to turn this off after you've started to allow the game to loop back to level 1 after finishing level 12.</comment>
    <parameter>
      <item value="0x0000">1</item>
      <item value="0x0101">2</item>
      <item value="0x0202">3</item>
      <item value="0x0303">4</item>
      <item value="0x0404">5</item>
      <item value="0x0505">6</item>
      <item value="0x0606">7</item>
      <item value="0x0707">8</item>
      <item value="0x0808">9</item>
      <item value="0x0909">10</item>
      <item value="0x0A0A">11</item>
      <item value="0x0B0B">12</item>
    </parameter>
    <script state="run">
      <action condition="(maincpu.pw@0002==0000)">maincpu.pw@0002=param</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@9B97</action>
      <action>temp1 =maincpu.mb@A57E</action>
    </script>
    <script state="run">
      <action>maincpu.mb@9B97=20</action>
      <action>maincpu.mb@A57E=20</action> <!-- Pt 1 Cars, Pt 2 the Cat -->
    </script>
    <script state="off">
      <action>maincpu.mb@9B97=temp0 </action>
      <action>maincpu.mb@A57E=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Finish Stage Now!">
    <script state="on">
      <action>maincpu.pb@0000=07</action> <!-- It's a legal zero address! -->
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@004C=03</action>
    </script>
  </cheat>

  <cheat desc="Infinite Oil PL1">
    <script state="run">
      <action>maincpu.pb@00AE=01</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@004D=03</action>
    </script>
  </cheat>

  <cheat desc="Infinite Oil PL2">
    <script state="run">
      <action>maincpu.pb@00AF=01</action>
    </script>
  </cheat>

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