<mamecheat version="1">

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

  <cheat desc="Infinite Time (F6)"> <comment>This cheat is buggy</comment>
    <script state="run">
      <action>maincpu.pb@226E=99</action>
      <action>maincpu.pb@226F=99</action>
    </script>
  </cheat>

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

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@7A64</action>
      <action>temp1 =maincpu.mb@86CA</action>
      <action>temp2 =maincpu.mb@8E70</action>
      <action>temp3 =maincpu.mb@9002</action>
      <action>temp4 =maincpu.mb@91F4</action>
      <action>temp5 =maincpu.mb@932B</action>
      <action>temp6 =maincpu.mb@9579</action>
      <action>temp7 =maincpu.mb@96A6</action>
    </script>
    <script state="run">
      <action>maincpu.mb@7A64=C9</action>
      <action>maincpu.mb@86CA=C9</action> <!-- 1st = Jetcoaster, 2nd = Rolling Iron Ball -->
      <action>maincpu.mb@8E70=18</action> <!-- Horse -->
      <action>maincpu.mb@9002=00</action> <!-- Iron Ball -->
      <action>maincpu.mb@91F4=C9</action> <!-- Small Iron Ball -->
      <action>maincpu.mb@932B=C9</action> <!-- Falling Box -->
      <action>maincpu.mb@9579=C9</action> <!-- Spring Iron Ball -->
      <action>maincpu.mb@96A6=C9</action> <!-- Pirate Ship -->
    </script>
    <script state="off">
      <action>maincpu.mb@7A64=temp0 </action>
      <action>maincpu.mb@86CA=temp1 </action>
      <action>maincpu.mb@8E70=temp2 </action>
      <action>maincpu.mb@9002=temp3 </action>
      <action>maincpu.mb@91F4=temp4 </action>
      <action>maincpu.mb@932B=temp5 </action>
      <action>maincpu.mb@9579=temp6 </action>
      <action>maincpu.mb@96A6=temp7 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test">
    <script state="on">
      <action condition="maincpu.pb@2012==00">maincpu.pb@2012=01</action>
    </script>
    <parameter min="1" max="31" step="1"/>
    <script state="change">
      <action condition="(temp1==0)">temp1=8051</action>
      <action>temp0=8050+param</action>
      <action>slave.pb@temp1=FF</action>
      <action>slave.pb@temp0=01</action>
      <action>temp1=temp0</action>
    </script>
  </cheat>

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