<mamecheat version="1">

  <cheat desc="Infinite Lives + Magic"> <comment>This gives infinite lives and magic to both players as long as they have at least 1 life and/or magic left.</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@07D0</action>
    </script>
    <script state="run">
      <action>maincpu.mb@07D0=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@07D0=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@AF10</action>
      <action>temp1 =maincpu.mb@9BEF</action>
    </script>
    <script state="run">
      <action>maincpu.mb@AF10=18</action>
      <action>maincpu.mb@9BEF=18</action> <!-- 1st code is for player character, 2nd is for a hostage. -->
    </script>
    <script state="off">
      <action>maincpu.mb@AF10=temp0 </action>
      <action>maincpu.mb@9BEF=temp1 </action>
    </script>
  </cheat>

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