<mamecheat version="1">

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

  <cheat desc="Select Starting Stage"> <comment>Also loops back to chosen stage (instead of Stage 1-1) after the Last Boss stage.</comment>
    <parameter>
      <item value="0x01">Stage 1-1</item>
      <item value="0x02">Stage 1-2</item>
      <item value="0x03">Stage 1 Boss</item>
      <item value="0x04">Stage 2-1</item>
      <item value="0x05">Stage 2-2</item>
      <item value="0x06">Stage 2 Boss</item>
      <item value="0x07">Stage 3-1</item>
      <item value="0x08">Stage 3-2</item>
      <item value="0x09">Stage 3 Boss</item>
      <item value="0x0A">Stage 4-1</item>
      <item value="0x0B">Stage 4-2</item>
      <item value="0x0C">Stage 4 Boss</item>
      <item value="0x0D">Stage 5-1</item>
      <item value="0x0E">Stage 5-2</item>
      <item value="0x0F">Stage 6-1</item>
      <item value="0x10">Stage 6-2</item>
      <item value="0x11">Stage 6-3</item>
      <item value="0x12">Stage 6-4</item>
      <item value="0x13">Last Boss</item>
    </parameter>
    <script state="run">
      <action condition="(maincpu.pb@F88F==01)">maincpu.pb@F88F=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Infinite Energy PL1"> <comment>Protects you from collisions with nasties but does not protect against weapon fire which kills you straight away</comment>
    <script state="run">
      <action>maincpu.pb@F925=04</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL1">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@F068==01)">maincpu.pb@F068=84</action>
      <action condition="(param==02) AND (maincpu.pb@F068==84)">maincpu.pb@F068=01</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon PL1">
    <parameter>
      <item value="0x00">Double Arrow Shot (Normal)</item>
      <item value="0x04">Double Bubble Shot</item>
      <item value="0x08">Quad Arrow Shot</item>
      <item value="0x0C">Triple Bubble Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@F918=param</action>
    </script>
  </cheat>

  <cheat desc="Auto Fire Mode PL1">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@F91B==3F)">maincpu.pb@F91B=03</action>
      <action condition="(param==02) AND (maincpu.pb@F91B==03)">maincpu.pb@F91B=3F</action>
    </script>
  </cheat>

  <cheat desc="Roll Mode PL1">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@F068==84)">maincpu.pb@F068=94</action>
      <action condition="(param==02) AND (maincpu.pb@F068==94)">maincpu.pb@F068=84</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire PL1">
    <script state="run">
      <action>maincpu.pb@F00C=00|(maincpu.pb@F00C BAND ~08)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Infinite Energy PL2"> <comment>Protects you from collisions with nasties but does not protect against weapon fire which kills you straight away</comment>
    <script state="run">
      <action>maincpu.pb@F926=04</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL2">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@F069==01)">maincpu.pb@F069=84</action>
      <action condition="(param==02) AND (maincpu.pb@F069==84)">maincpu.pb@F069=01</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon PL2">
    <parameter>
      <item value="0x00">Double Arrow Shot (Normal)</item>
      <item value="0x04">Double Bubble Shot</item>
      <item value="0x08">Quad Arrow Shot</item>
      <item value="0x0C">Triple Bubble Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@F919=param</action>
    </script>
  </cheat>

  <cheat desc="Auto Fire Mode PL2">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@F91C==3F)">maincpu.pb@F91C=03</action>
      <action condition="(param==02) AND (maincpu.pb@F91C==03)">maincpu.pb@F91C=3F</action>
    </script>
  </cheat>

  <cheat desc="Roll Mode PL2">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01) AND (maincpu.pb@F069==84)">maincpu.pb@F069=94</action>
      <action condition="(param==02) AND (maincpu.pb@F069==94)">maincpu.pb@F069=84</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire PL2">
    <script state="run">
      <action>maincpu.pb@F00D=00|(maincpu.pb@F00D BAND ~08)</action>
    </script>
  </cheat>

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