<mamecheat version="1">

  <cheat desc="Infinite Lives">
    <script state="run">
      <action>maincpu.pb@10C101=03</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy">
    <script state="run">
      <action>maincpu.pb@10C13A=30</action>
    </script>
  </cheat>

  <cheat desc="Invincibility"> <comment>You die though when fall down into the water</comment>
    <script state="on">
      <action>temp0 =maincpu.pw@10C040</action>
    </script>
    <script state="run">
      <action>maincpu.pw@10C040=0040|(maincpu.pw@10C040 BAND ~0040)</action>
    </script>
    <script state="off">
      <action>maincpu.pw@10C040=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Hit Anywhere"> <comment>Jumping hits the enemy too</comment>
    <script state="on">
      <action>temp0 =maincpu.mw@044AF0</action>
    </script>
    <script state="run">
      <action>maincpu.mw@044AF0=4E71</action> <!-- This ROM cheat was made by nolberto82 -->
    </script>
    <script state="off">
      <action>maincpu.mw@044AF0=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Select Starting Round/Sub-Round">
    <parameter>
      <item value="0xFF">Round 1</item>
      <item value="0xDF">Round 1 Castle</item>
      <item value="0xF7">Round 1 Boss</item>
      <item value="0xFE">Round 2</item>
      <item value="0xDE">Round 2 Castle</item>
      <item value="0xF6">Round 2 Boss</item>
      <item value="0xFD">Round 3</item>
      <item value="0xDD">Round 3 Castle</item>
      <item value="0xF5">Round 3 Boss</item>
      <item value="0xFC">Round 4</item>
      <item value="0xDC">Round 4 Castle</item>
      <item value="0xF4">Round 4 Boss</item>
      <item value="0xFB">Round 5</item>
      <item value="0xDB">Round 5 Castle</item>
      <item value="0xF3">Round 5 Boss</item>
      <item value="0xFA">Round 6</item>
      <item value="0xDA">Round 6 Castle</item>
      <item value="0xF2">Round 6 Boss</item>
    </parameter>
    <script state="on">
      <action>temp0 =maincpu.mb@05FF9F</action>
    </script>
    <script state="run">
      <action>maincpu.mb@05FF9F=param</action>
    </script>
    <script state="off">
      <action>maincpu.mb@05FF9F=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Select Weapon">
    <parameter>
      <item value="0x01">Sword</item>
      <item value="0x02">Big Axe</item>
      <item value="0x03">Ball + Chain</item>
      <item value="0x04">Fire Sword</item>
      <item value="0x05">No Weapons</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10D2FB=param</action>
    </script>
  </cheat>

  <cheat desc="Select Armour">
    <parameter>
      <item value="0xFF">No Armour</item>
      <item value="0x00">Shield</item>
      <item value="0x01">Mantel</item>
      <item value="0x02">Armature</item>
      <item value="0x03">Golden Armature</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10D389=param</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire">
    <script state="run">
      <action>maincpu.pb@10D3C9=FF</action>
    </script>
  </cheat>

  <cheat desc="Select Ring Status"> <comment>Having the ring let's you fire faster</comment>
    <parameter>
      <item value="0x01">Have Ring</item>
      <item value="0x02">No Ring</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@10D391=0F</action>
      <action condition="(param==01)">maincpu.pb@10D40F=01</action>
      <action condition="(param==02)">maincpu.pb@10D391=18</action>
      <action condition="(param==02)">maincpu.pb@10D40F=FF</action>
    </script>
  </cheat>

  <cheat desc="Always have the Rod">
    <script state="run">
      <action>maincpu.pb@10D411=01</action>
    </script>
  </cheat>

  <cheat desc="Always have the Necklace">
    <script state="run">
      <action>maincpu.pb@10D40D=01</action>
    </script>
  </cheat>

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