<mamecheat version="1">

  <cheat desc="Infinite Shop Time">
    <script state="run">
      <action>maincpu.pb@FFE1D2=21</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Stage"> <comment>Turn this cheat off otherwise the stages will loop back to this stage after finishing the last stage instead of back to the first stage.</comment>
    <parameter min="1" max="9" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@FFB2B2==00)">maincpu.pb@FFB2B2=(param-1)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@FF9035=38</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL1">
    <script state="run">
      <action>maincpu.pb@FFB342=02</action>
      <action>maincpu.pb@FFB38C=01</action>
      <action>maincpu.pb@FF9035=38|(maincpu.pb@FF9035 BAND ~38)</action>
      <action>maincpu.pb@FF9035=00|(maincpu.pb@FF9035 BAND ~C7)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Zenny PL1">
    <script state="run">
      <action>maincpu.pb@FFE192=99</action>
      <action>maincpu.pb@FFE193=99</action>
      <action>maincpu.pb@FFE194=99</action>
    </script>
  </cheat>

  <cheat desc="Reduce Zenny Now! PL1">
    <script state="on">
      <action>maincpu.pb@FFE192=01</action>
      <action>maincpu.pb@FFE193=01</action>
      <action>maincpu.pb@FFE194=01</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon PL1">
    <parameter>
      <item value="0x01">Laser</item>
      <item value="0x02">Beam</item>
      <item value="0x03">Missile</item>
      <item value="0x04">Balcan Cannon</item>
      <item value="0x05">Napalm Bomb</item>
      <item value="0x06">V-Cannon</item>
      <item value="0x07">Burner</item>
      <item value="0x08">Multi-Way</item>
      <item value="0x09">Bound Shot</item>
      <item value="0x10">Power Laser</item>
      <item value="0x11">Homing Laser</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==01)">maincpu.pb@FFCF18=00</action>
      <action condition="(param==02)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==02)">maincpu.pb@FFCF18=02</action>
      <action condition="(param==03)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==03)">maincpu.pb@FFCF18=04</action>
      <action condition="(param==04)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==04)">maincpu.pb@FFCF18=06</action>
      <action condition="(param==05)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==05)">maincpu.pb@FFCF18=08</action>
      <action condition="(param==06)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==06)">maincpu.pb@FFCF18=0A</action>
      <action condition="(param==07)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==07)">maincpu.pb@FFCF18=0C</action>
      <action condition="(param==08)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==08)">maincpu.pb@FFCF18=0E</action>
      <action condition="(param==09)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==09)">maincpu.pb@FFCF18=10</action>
      <action condition="(param==10)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==10)">maincpu.pb@FFCF18=12</action>
      <action condition="(param==11)">maincpu.pb@FFCEE2=01</action>
      <action condition="(param==11)">maincpu.pb@FFCF18=14</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@FF9055=38</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL2">
    <script state="run">
      <action>maincpu.pb@FFB392=02</action>
      <action>maincpu.pb@FFB3DC=01</action>
      <action>maincpu.pb@FF9055=38|(maincpu.pb@FF9055 BAND ~38)</action>
      <action>maincpu.pb@FF9055=00|(maincpu.pb@FF9055 BAND ~C7)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Zenny PL2">
    <script state="run">
      <action>maincpu.pb@FFE196=99</action>
      <action>maincpu.pb@FFE197=99</action>
      <action>maincpu.pb@FFE198=99</action>
    </script>
  </cheat>

  <cheat desc="Reduce Zenny Now! PL2">
    <script state="on">
      <action>maincpu.pb@FFE196=01</action>
      <action>maincpu.pb@FFE197=01</action>
      <action>maincpu.pb@FFE198=01</action>
    </script>
  </cheat>

  <cheat desc="Select Weapon PL2">
    <parameter>
      <item value="0x01">Laser</item>
      <item value="0x02">Beam</item>
      <item value="0x03">Missile</item>
      <item value="0x04">Balcan Cannon</item>
      <item value="0x05">Napalm Bomb</item>
      <item value="0x06">V-Cannon</item>
      <item value="0x07">Burner</item>
      <item value="0x08">Multi-Way</item>
      <item value="0x09">Bound Shot</item>
      <item value="0x10">Power Laser</item>
      <item value="0x11">Homing Laser</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==01)">maincpu.pb@FFCF68=00</action>
      <action condition="(param==02)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==02)">maincpu.pb@FFCF68=02</action>
      <action condition="(param==03)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==03)">maincpu.pb@FFCF68=04</action>
      <action condition="(param==04)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==04)">maincpu.pb@FFCF68=06</action>
      <action condition="(param==05)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==05)">maincpu.pb@FFCF68=08</action>
      <action condition="(param==06)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==06)">maincpu.pb@FFCF68=0A</action>
      <action condition="(param==07)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==07)">maincpu.pb@FFCF68=0C</action>
      <action condition="(param==08)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==08)">maincpu.pb@FFCF68=0E</action>
      <action condition="(param==09)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==09)">maincpu.pb@FFCF68=10</action>
      <action condition="(param==10)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==10)">maincpu.pb@FFCF68=12</action>
      <action condition="(param==11)">maincpu.pb@FFCF32=01</action>
      <action condition="(param==11)">maincpu.pb@FFCF68=14</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Sound Test">
    <parameter min="1" max="255" step="1"/>
    <script state="change">
      <action>maincpu.pb@800181=param</action>
    </script>
  </cheat>

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