<mamecheat version="1">

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

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@E7EC</action>
      <action>temp1 =maincpu.mb@E7F3</action>
    </script>
    <script state="run">
      <action>maincpu.mb@E7EC=00</action>
      <action>maincpu.mb@E7F3=20</action>
    </script>
    <script state="off">
      <action>maincpu.mb@E7EC=temp0 </action>
      <action>maincpu.mb@E7F3=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Always start and end with 10 defendees"> <comment>You will never go onto space with this cheat but the defendees will disappear as they are captured or destroyed.</comment>
    <script state="run">
      <action>maincpu.pb@A0BD=0A</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Infinite Smart Bombs PL1">
    <script state="run">
      <action>maincpu.pb@A1A6=04</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Attack Wave PL1">
    <parameter min="1" max="98" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@A1A5==01)">maincpu.pb@A1A5=(param)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Infinite Smart Bombs PL2">
    <script state="run">
      <action>maincpu.pb@A1E3=04</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Attack Wave PL2">
    <parameter min="1" max="98" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@A1E2==01)">maincpu.pb@A1E2=(param)</action>
    </script>
  </cheat>

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