<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@401FF5=19</action>
    </script>
  </cheat>

  <cheat desc="Invincibility (Walking Levels)"> <comment>No protection against falling off platforms or into lava or against the conveyor belt crushers</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@01EF88</action>
      <action>temp1 =maincpu.mb@01192A</action>
      <action>temp2 =maincpu.mb@018276</action>
      <action>temp3 =maincpu.mb@017DDC</action>
      <action>temp4 =maincpu.mb@0199C6</action>
      <action>temp5 =maincpu.mb@01AACC</action>
    </script>
    <script state="run">
      <action>maincpu.mb@01EF88=60</action>
      <action>maincpu.mb@01192A=60</action> <!-- Pt 1 Thugee Guards, Pt 2 Snakes/Spikes/Gas -->
      <action>maincpu.mb@018276=60</action> <!-- Fireball -->
      <action>maincpu.mb@017DDC=60</action> <!-- Mola -->
      <action>maincpu.mb@0199C6=60</action> <!-- Rope Bridge Thugee Guards -->
      <action>maincpu.mb@01AACC=60</action> <!-- Voodoo -->
    </script>
    <script state="off">
      <action>maincpu.mb@01EF88=temp0 </action>
      <action>maincpu.mb@01192A=temp1 </action>
      <action>maincpu.mb@018276=temp2 </action>
      <action>maincpu.mb@017DDC=temp3 </action>
      <action>maincpu.mb@0199C6=temp4 </action>
      <action>maincpu.mb@01AACC=temp5 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@4005EB=06</action>
    </script>
  </cheat>

  <cheat desc="All Children Rescued PL1"> <comment>You MUST rescue at least one kid for the game to re-read the value though</comment>
    <script state="run">
      <action>maincpu.pb@400C91=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@4005EF=06</action>
    </script>
  </cheat>

  <cheat desc="All Children Rescued PL2"> <comment>You MUST rescue at least one kid for the game to re-read the value though</comment>
    <script state="run">
      <action>maincpu.pb@400C95=00</action>
    </script>
  </cheat>

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