<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pw@60179=0000</action>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="If you 'always' have an Extra Weapon 1 then the Extra Weapons"/>
  <cheat desc="2, 3 + 4 will not be effectively selectable (and so on)."/>
  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@60006=0D</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL1">
    <script state="run">
      <action>maincpu.pb@60015=78</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 1 PL1"> <comment>Makes Infinite Ammo Extra Weapon 2-4 pointless.</comment>
    <script state="run">
      <action>maincpu.pb@60019=64</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 1 PL1">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@60018=param</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 2 PL1"> <comment>Pointless with Infinite Ammo Extra Weapon 1</comment>
    <script state="run">
      <action>maincpu.pb@6001B=63</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 2 PL1">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@6001A=param</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 3 PL1"> <comment>Pointless with Infinite Ammo Extra Weapon 1-2</comment>
    <script state="run">
      <action>maincpu.pb@6001D=63</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 3 PL1">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@6001C=param</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 4 PL1"> <comment>Pointless with Infinite Ammo Extra Weapon 1-3</comment>
    <script state="run">
      <action>maincpu.pb@6001F=63</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 4 PL1">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@6001E=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@60086=0D</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL2">
    <script state="run">
      <action>maincpu.pb@60095=78</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 1 PL2"> <comment>Makes Infinite Ammo Extra Weapon 2-4 pointless.</comment>
    <script state="run">
      <action>maincpu.pb@60099=64</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 1 PL2">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@60098=param</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 2 PL2"> <comment>Pointless with Infinite Ammo Extra Weapon 1</comment>
    <script state="run">
      <action>maincpu.pb@6009B=63</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 2 PL2">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@6009A=param</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 3 PL2"> <comment>Pointless with Infinite Ammo Extra Weapon 1-2</comment>
    <script state="run">
      <action>maincpu.pb@6009D=63</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 3 PL2">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@6009C=param</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ammo Extra Weapon 4 PL2"> <comment>Pointless with Infinite Ammo Extra Weapon 1-3</comment>
    <script state="run">
      <action>maincpu.pb@6009F=63</action>
    </script>
  </cheat>

  <cheat desc="Select Extra Weapon 4 PL2">
    <parameter>
      <item value="0x00">None</item>
      <item value="0x01">Grenade</item>
      <item value="0x02">Rifle</item>
      <item value="0x03">Bazooka</item>
      <item value="0x04">Flamethrower</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@6009E=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test Timer Stop"> <comment>[PL2 Start]Next Code</comment>
    <script state="run">
      <action condition="(frame % 60 == 0)">maincpu.pb@62037=00</action>
    </script>
  </cheat>

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