<mamecheat version="1">

  <cheat desc="Invaders never drop">
    <script state="run">
      <action>maincpu.pb@2009=78</action>
    </script>
  </cheat>

  <cheat desc="Invaders don't fire">
    <script state="run">
      <action>maincpu.pw@2069=3000</action>
    </script>
  </cheat>

  <cheat desc="Bullet Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@0663</action>
    </script>
    <script state="run">
      <action>maincpu.mb@0663=C3</action>
    </script>
    <script state="off">
      <action>maincpu.mb@0663=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Bullet Speed always =">
    <parameter>
      <item value="0x02">Slow</item>
      <item value="0x04">Normal</item>
      <item value="0x06">Fast</item>
      <item value="0x08">V Fast</item>
      <item value="0x0A">Turbo</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@202C=param</action>
    </script>
  </cheat>

  <cheat desc="Autofire Mode">
    <script state="on">
      <action>temp0 =maincpu.mb@1424</action>
    </script>
    <script state="run">
      <action>maincpu.mb@1424=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@1424=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Always have Full Shields"> <comment>The Shields will always be onscreen, so only enable this during play - note Invaders will pass through them still!</comment>
    <script state="run">
      <action>maincpu.pw@2806=0FFF, maincpu.pw@2826=1FFF, maincpu.pw@2846=3FFF, maincpu.pw@2866=7FFF,
              maincpu.pw@2886=FFFF, maincpu.pw@28A6=FFFC, maincpu.pw@28C6=FFF8, maincpu.pw@28E6=FFF0,
              maincpu.pw@2906=FFF0, maincpu.pw@2926=FFF0, maincpu.pw@2946=FFF0, maincpu.pw@2966=FFF0,
              maincpu.pw@2986=FFF0, maincpu.pw@29A6=FFF0, maincpu.pw@29C6=FFF8, maincpu.pw@29E6=FFFC,
              maincpu.pw@2A06=FFFF, maincpu.pw@2A26=FFFF, maincpu.pw@2A46=7FFF, maincpu.pw@2A66=3FFF,
              maincpu.pw@2A86=1FFF, maincpu.pw@2AA6=0FFF, maincpu.pw@2DA6=0FFF, maincpu.pw@2DC6=1FFF,
              maincpu.pw@2DE6=3FFF, maincpu.pw@2E06=7FFF, maincpu.pw@2E26=FFFF, maincpu.pw@2E46=FFFC,
              maincpu.pw@2E66=FFF8, maincpu.pw@2E86=FFF0, maincpu.pw@2EA6=FFF0, maincpu.pw@2EC6=FFF0,
              maincpu.pw@2EE6=FFF0, maincpu.pw@2F06=FFF0, maincpu.pw@2F26=FFF0, maincpu.pw@2F46=FFF0,
              maincpu.pw@2F66=FFF8, maincpu.pw@2F86=FFFC, maincpu.pw@2FA6=FFFF, maincpu.pw@2FC6=FFFF,
              maincpu.pw@2FE6=7FFF, maincpu.pw@3006=3FFF, maincpu.pw@3026=1FFF, maincpu.pw@3046=0FFF,
              maincpu.pw@3346=0FFF, maincpu.pw@3366=1FFF, maincpu.pw@3386=3FFF, maincpu.pw@33A6=7FFF,
              maincpu.pw@33C6=FFFF, maincpu.pw@33E6=FFFC, maincpu.pw@3406=FFF8, maincpu.pw@3426=FFF0,
              maincpu.pw@3446=FFF0, maincpu.pw@3466=FFF0, maincpu.pw@3486=FFF0, maincpu.pw@34A6=FFF0,
              maincpu.pw@34C6=FFF0, maincpu.pw@34E6=FFF0, maincpu.pw@3506=FFF8, maincpu.pw@3526=FFFC,
              maincpu.pw@3546=FFFF, maincpu.pw@3566=FFFF, maincpu.pw@3586=7FFF, maincpu.pw@35A6=3FFF,
              maincpu.pw@35C6=1FFF, maincpu.pw@35E6=0FFF, maincpu.pw@38E6=0FFF, maincpu.pw@3906=1FFF,
              maincpu.pw@3926=3FFF, maincpu.pw@3946=7FFF, maincpu.pw@3966=FFFF, maincpu.pw@3986=FFFC,
              maincpu.pw@39A6=FFF8, maincpu.pw@39C6=FFF0, maincpu.pw@39E6=FFF0, maincpu.pw@3A06=FFF0,
              maincpu.pw@3A26=FFF0, maincpu.pw@3A46=FFF0, maincpu.pw@3A66=FFF0, maincpu.pw@3A86=FFF0,
              maincpu.pw@3AA6=FFF8, maincpu.pw@3AC6=FFFC, maincpu.pw@3AE6=FFFF, maincpu.pw@3B06=FFFF,
              maincpu.pw@3B26=7FFF, maincpu.pw@3B46=3FFF, maincpu.pw@3B66=1FFF, maincpu.pw@3B86=0FFF</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@21FF=07</action>
    </script>
  </cheat>

  <cheat desc="Kill All Invaders Now! PL1">
    <script state="on">
      <action>maincpu.pq@2100=0000000000000000</action> <!-- 1st Line 2100 to 210A -->
      <action>maincpu.pq@2108=0000000000000000</action> <!-- 2nd Line 210B to 2115 -->
      <action>maincpu.pq@2110=0000000000000000</action> <!-- 3rd Line 2116 to 2120 -->
      <action>maincpu.pq@2118=0000000000000000</action> <!-- 4th Line 2121 to 212B -->
      <action>maincpu.pq@2120=0000000000000000</action> <!-- Top Line 212C to 2136 -->
      <action>maincpu.pq@2128=0000000000000000</action>
      <action>maincpu.pq@2130=0000000000000000|(maincpu.pq@2130 BAND ~00FFFFFFFFFFFFFF)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@22FF=07</action>
    </script>
  </cheat>

  <cheat desc="Kill All Invaders Now! PL2">
    <script state="on">
      <action>maincpu.pq@2200=0000000000000000</action> <!-- 1st Line 2200 to 220A -->
      <action>maincpu.pq@2208=0000000000000000</action> <!-- 2nd Line 220B to 2215 -->
      <action>maincpu.pq@2210=0000000000000000</action> <!-- 3rd Line 2216 to 2220 -->
      <action>maincpu.pq@2218=0000000000000000</action> <!-- 4th Line 2221 to 222B -->
      <action>maincpu.pq@2220=0000000000000000</action> <!-- Top Line 222C to 2236 -->
      <action>maincpu.pq@2228=0000000000000000</action>
      <action>maincpu.pq@2230=0000000000000000|(maincpu.pq@2230 BAND ~00FFFFFFFFFFFFFF)</action>
    </script>
  </cheat>

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