<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pb@227C=07</action>
    </script>
  </cheat>

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

  <cheat desc="Invincibility [SCREEN 1]">
    <script state="on">
      <action>temp0 =maincpu.mw@7331</action>
      <action>temp1 =maincpu.mb@736E</action>
    </script>
    <script state="run">
      <action>maincpu.mw@7331=7366</action>
      <action>maincpu.mb@736E=00</action> <!-- Pt 1 Rings of Fire, Pt 2 Pots of Fire -->
    </script>
    <script state="off">
      <action>maincpu.mw@7331=temp0 </action>
      <action>maincpu.mb@736E=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Invincibility [SCREEN 2]">
    <script state="on">
      <action>temp0 =maincpu.mb@829D</action>
    </script>
    <script state="run">
      <action>maincpu.mb@829D=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@829D=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Invincibility [SCREEN 3]">
    <script state="on">
      <action>temp0 =maincpu.mb@8D27</action>
      <action>temp1 =maincpu.mb@8D8C</action>
      <action>temp2 =maincpu.ob@8DD1</action>
    </script>
    <script state="run">
      <action condition="(maincpu.pb@2437 LT 00) OR (maincpu.pb@2437 GT 03)">maincpu.pb@2437=03</action>
      <action>maincpu.mb@8D27=00</action> <!-- Pt 1 Jumping Too High, Pt 2 Fire Breather -->
      <action>maincpu.mb@8D8C=09</action> <!-- Knife Thrower -->
      <action>maincpu.ob@8DD1=20</action> <!-- Dolphin -->
    </script>
    <script state="off">
      <action>maincpu.mb@8D27=temp0 </action>
      <action>maincpu.mb@8D8C=temp1 </action>
      <action>maincpu.ob@8DD1=temp2 </action>
    </script>
  </cheat>

  <cheat desc="Invincibility [SCREEN 4]"> <comment>If you jump onto the floor you will still die</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@99B8</action>
    </script>
    <script state="run">
      <action>maincpu.pb@2427=00</action>
      <action>maincpu.mb@99B8=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@99B8=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Invincibility [SCREEN 5]"> <comment>Make sure you jump onto the Podium at the end as you will still die if you hit the floor</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@A798</action>
    </script>
    <script state="run">
      <action>maincpu.mb@A798=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@A798=temp0 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test">
    <parameter min="1" max="31" step="1"/>
    <script state="change">
      <action>maincpu.pq@2140=131415161718191A</action>
      <action>maincpu.pq@2148=181C1D4142434445</action>
      <action>maincpu.pq@2150=464748494A4B4C4D</action>
      <action>maincpu.pq@2158=4E4F505152828081</action>
      <action>maincpu.pb@201F=param+3F</action>
      <action>maincpu.pb@201D=param+40</action>
      <action condition="maincpu.pb@2002==00">maincpu.pd@2031=01000001|(maincpu.pd@2031 BAND ~FF0000FF)</action> <!-- insert credit if total credits == 0 -->
    </script>
  </cheat>

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