<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@C019=63</action>
    </script>
  </cheat>

  <cheat desc="Invincibility" tempvariables="15"> <comment>Much better than the Dip Switch cheat which doesn't allow you to pick weapons up and protects you against just the really basic collisions</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@1A09</action>
      <action>temp1 =maincpu.mb@196C</action>
      <action>temp2 =maincpu.mb@2F18</action>
      <action>temp3 =maincpu.mb@2DDB</action>
      <action>temp4 =maincpu.mb@9B6A</action>
      <action>temp5 =maincpu.mb@9A85</action>
      <action>temp6 =maincpu.mb@1C3B</action>
      <action>temp7 =maincpu.mb@1C61</action>
      <action>temp8 =maincpu.mb@1ECA</action>
      <action>temp9 =maincpu.mb@1EF4</action>
      <action>temp10=maincpu.mb@1F11</action>
      <action>temp11=maincpu.mb@1E43</action>
      <action>temp12=maincpu.mb@2CF2</action>
      <action>temp13=maincpu.mb@2BD7</action>
      <action>temp14=maincpu.mb@1F2A</action>
    </script>
    <script state="run">
      <action>maincpu.mb@1A09=C3</action> <!-- Most Collisions -->
      <action>maincpu.mb@196C=C3</action> <!-- Bullets -->
      <action>maincpu.mb@2F18=C3</action> <!-- Big Ship #1 -->
      <action>maincpu.mb@2DDB=C9</action> <!-- Big Ship #2 (Flame) -->
      <action>maincpu.mb@9B6A=C9</action> <!-- Ceiling -->
      <action>maincpu.mb@9A85=18</action> <!-- Floor -->
      <action>maincpu.mb@1C3B=C3</action> <!-- Misc W4 Deaths -->
      <action>maincpu.mb@1C61=C3</action> <!-- W4 Rock Beacon -->
      <action>maincpu.mb@1ECA=C3</action> <!-- W4 Pterodactyl -->
      <action>maincpu.mb@1EF4=C3</action> <!-- W4 Back Wall -->
      <action>maincpu.mb@1F11=C3</action> <!-- W4 Front Wall -->
      <action>maincpu.mb@1E43=C3</action> <!-- W4 Dinosaur Skeleton -->
      <action>maincpu.mb@2CF2=C3</action> <!-- Big Ship #3 (Transmitter) -->
      <action>maincpu.mb@2BD7=C3</action> <!-- Big Ship #4 -->
      <action>maincpu.mb@1F2A=C3</action> <!-- The End -->
    </script>
    <script state="off">
      <action>maincpu.mb@1A09=temp0 </action>
      <action>maincpu.mb@196C=temp1 </action>
      <action>maincpu.mb@2F18=temp2 </action>
      <action>maincpu.mb@2DDB=temp3 </action>
      <action>maincpu.mb@9B6A=temp4 </action>
      <action>maincpu.mb@9A85=temp5 </action>
      <action>maincpu.mb@1C3B=temp6 </action>
      <action>maincpu.mb@1C61=temp7 </action>
      <action>maincpu.mb@1ECA=temp8 </action>
      <action>maincpu.mb@1EF4=temp9 </action>
      <action>maincpu.mb@1F11=temp10</action>
      <action>maincpu.mb@1E43=temp11</action>
      <action>maincpu.mb@2CF2=temp12</action>
      <action>maincpu.mb@2BD7=temp13</action>
      <action>maincpu.mb@1F2A=temp14</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Power">
    <script state="run">
      <action>maincpu.pw@C5F6=6363</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x10">3-Way</item>
      <item value="0x20">Beam</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@C5F9=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@C673=05</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@C674=05</action>
    </script>
  </cheat>

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