<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pb@1F13=59</action>
    </script>
  </cheat>

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

  <cheat desc="Invincibility">
    <script state="run">
      <action>maincpu.pb@1012=FF</action>
    </script>
  </cheat>

  <cheat desc="Hit Anywhere" tempvariables="12">
    <script state="on">
      <action>temp0 =maincpu.ob@E54F</action>
      <action>temp1 =maincpu.ob@E554</action>
      <action>temp2 =maincpu.ob@E56F</action>
      <action>temp3 =maincpu.ob@E577</action>
      <action>temp4 =maincpu.ob@E57D</action>
      <action>temp5 =maincpu.ob@E5B1</action>
      <action>temp6 =maincpu.ob@E5B6</action>
      <action>temp7 =maincpu.ob@E5C7</action>
      <action>temp8 =maincpu.ob@E5D8</action>
      <action>temp9 =maincpu.ob@E5DD</action>
      <action>temp10=maincpu.ob@E5E2</action>
      <action>temp11=maincpu.ob@E5E5</action>
    </script>
    <script state="run">
      <action>maincpu.ob@E54F=00</action> <!-- This ROM cheat was made by Abystus -->
      <action>maincpu.ob@E554=60</action>
      <action>maincpu.ob@E56F=00</action>
      <action>maincpu.ob@E577=00</action>
      <action>maincpu.ob@E57D=00</action>
      <action>maincpu.ob@E5B1=00</action>
      <action>maincpu.ob@E5B6=00</action>
      <action>maincpu.ob@E5C7=00</action>
      <action>maincpu.ob@E5D8=00</action>
      <action>maincpu.ob@E5DD=00</action>
      <action>maincpu.ob@E5E2=00</action>
      <action>maincpu.ob@E5E5=00</action>
    </script>
    <script state="off">
      <action>maincpu.ob@E54F=temp0 </action>
      <action>maincpu.ob@E554=temp1 </action>
      <action>maincpu.ob@E56F=temp2 </action>
      <action>maincpu.ob@E577=temp3 </action>
      <action>maincpu.ob@E57D=temp4 </action>
      <action>maincpu.ob@E5B1=temp5 </action>
      <action>maincpu.ob@E5B6=temp6 </action>
      <action>maincpu.ob@E5C7=temp7 </action>
      <action>maincpu.ob@E5D8=temp8 </action>
      <action>maincpu.ob@E5DD=temp9 </action>
      <action>maincpu.ob@E5E2=temp10</action>
      <action>maincpu.ob@E5E5=temp11</action>
    </script>
  </cheat>

  <cheat desc="Infinite Hearts">
    <script state="run">
      <action>maincpu.pb@0819=99</action>
    </script>
  </cheat>

  <cheat desc="Finish this Stage Now!">
    <script state="on">
      <action>maincpu.pb@080F=01</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire"> <comment>Turn it OFF on the name entry screen</comment>
    <script state="run">
      <action>maincpu.pw@18F4=0000|(maincpu.pw@18F4 BAND ~1010)</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon">
    <parameter>
      <item value="0x00">Whip</item>
      <item value="0x01">Hammer</item>
      <item value="0x02">Sword</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1010=param</action>
    </script>
  </cheat>

  <cheat desc="Select Item Window">
    <parameter>
      <item value="0x00">Empty</item>
      <item value="0x01">Bomb</item>
      <item value="0x02">Fire</item>
      <item value="0x03">Boomerang</item>
      <item value="0x04">Cross</item>
      <item value="0x05">Clock</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1E99=param</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Level"> <comment>Enable before you start the game for the best effect</comment>
    <parameter min="1" max="6" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@0806==00)">maincpu.pb@0806=(param-1)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test Timer Stop"> <comment>[PL2 Start]Next Code</comment>
    <script state="run">
      <action>maincpu.pb@18CC=FF</action>
    </script>
  </cheat>

  <cheat desc="Sound Test">
    <parameter min="1" max="83" step="1"/>
    <script state="change">
      <action>maincpu.pb@1890=param+10</action>
      <action>maincpu.pw@18DE=1891</action>
      <action>maincpu.pw@18E0=1890</action>
    </script>
  </cheat>

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