<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pb@0527=9A</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@052B=0A</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@0562=20</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL1"> <comment>Only in 'fair' fights</comment>
    <script state="run">
      <action>maincpu.pb@093C=FF</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon PL1">
    <parameter>
      <item value="0x01">Knife</item>
      <item value="0x02">Pipe</item>
      <item value="0x03">Gun</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0918=01</action>
      <action condition="(param==01)">maincpu.pb@04E0=60</action>
      <action condition="(param==01)">maincpu.pb@04E1=84</action>
      <action condition="(param==02)">maincpu.pb@0918=02</action>
      <action condition="(param==02)">maincpu.pb@04E0=61</action>
      <action condition="(param==02)">maincpu.pb@04E1=02</action>
      <action condition="(param==03)">maincpu.pb@0918=03</action>
      <action condition="(param==03)">maincpu.pb@04E0=61</action>
      <action condition="(param==03)">maincpu.pb@04E1=80</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@052C=0A</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@0564=20</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL2"> <comment>Only in 'fair' fights</comment>
    <script state="run">
      <action>maincpu.pb@097C=FF</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon PL2">
    <parameter>
      <item value="0x01">Knife</item>
      <item value="0x02">Pipe</item>
      <item value="0x03">Gun</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0958=01</action>
      <action condition="(param==01)">maincpu.pb@04E2=60</action>
      <action condition="(param==01)">maincpu.pb@04E3=84</action>
      <action condition="(param==02)">maincpu.pb@0958=02</action>
      <action condition="(param==02)">maincpu.pb@04E2=61</action>
      <action condition="(param==02)">maincpu.pb@04E3=02</action>
      <action condition="(param==03)">maincpu.pb@0958=03</action>
      <action condition="(param==03)">maincpu.pb@04E2=61</action>
      <action condition="(param==03)">maincpu.pb@04E3=80</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Sound Test">
    <parameter min="1" max="146" step="1"/>
    <script state="change">
      <action>maincpu.pb@0480=param</action>
      <action>maincpu.pw@0416=0481</action>
      <action>maincpu.pw@0418=0480</action>
    </script>
  </cheat>

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