<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@2B51DC=09</action>
    </script>
  </cheat>

  <cheat desc="Always See Through Mode">
    <script state="run">
      <action>maincpu.pb@2B51A0=01</action>
    </script>
  </cheat>

  <cheat desc="Select Stage">
    <parameter min="1" max="14" step="1"/>
    <script state="run">
      <action>maincpu.pb@21F064=(param)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pw@21F068=7FFF</action>
    </script>
  </cheat>

  <cheat desc="Infinite Show Time"> <comment>ONLY use during the Show Time because the game crash otherwise</comment>
    <script state="run">
      <action>maincpu.pw@((maincpu.pd@2157E0)+30)=752F</action>
    </script>
  </cheat>

  <cheat desc="Finish Show Time Now!">
    <script state="on">
      <action>maincpu.pw@((maincpu.pd@2157E0)+30)=0000</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="run">
      <action>maincpu.pw@((maincpu.pd@2157E8)+DC)=0003</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives">
    <script state="run">
      <action>maincpu.pb@((maincpu.pd@2157E0)+3C)=05</action>
    </script>
  </cheat>

  <cheat desc="Select Speed Up">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E2)=01|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~01)</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E2)=00|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~01)</action>
    </script>
  </cheat>

  <cheat desc="Select Invincibility Attack">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E2)=02|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~02)</action>
      <action condition="(param==01)">maincpu.pw@((maincpu.pd@2157E8)+DC)=0003</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E2)=00|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~02)</action>
      <action condition="(param==02)">maincpu.pw@((maincpu.pd@2157E8)+DC)=0000</action>
    </script>
  </cheat>

  <cheat desc="Select Paralyze">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E2)=08|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~08)</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E2)=00|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~08)</action>
    </script>
  </cheat>

  <cheat desc="Select Time Stop">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E2)=20|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~20)</action>
      <action condition="(param==01)">maincpu.pw@((maincpu.pd@2157E8)+F2)=0002</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E2)=00|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~20)</action>
      <action condition="(param==02)">maincpu.pw@((maincpu.pd@2157E8)+F2)=0000</action>
    </script>
  </cheat>

  <cheat desc="Select X-Attack">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E2)=40|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~40)</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E2)=00|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~40)</action>
    </script>
  </cheat>

  <cheat desc="Select Y-Attack">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E2)=80|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~80)</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E2)=00|(maincpu.pb@((maincpu.pd@2157E8)+E2) BAND ~80)</action>
    </script>
  </cheat>

  <cheat desc="Select Wide Attack">
    <parameter>
      <item value="0x01">Enabled</item>
      <item value="0x02">Disabled</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@((maincpu.pd@2157E8)+E3)=02|(maincpu.pb@((maincpu.pd@2157E8)+E3) BAND ~02)</action>
      <action condition="(param==02)">maincpu.pb@((maincpu.pd@2157E8)+E3)=00|(maincpu.pb@((maincpu.pd@2157E8)+E3) BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc="Lose All Items Now!">
    <script state="on">
      <action>maincpu.pw@((maincpu.pd@2157E8)+E2)=0000</action>
    </script>
  </cheat>

  <cheat desc="Finish Current Stage Now!">
    <script state="on">
      <action>maincpu.pb@((maincpu.pd@2157E0)+32)=00</action>
    </script>
  </cheat>

  <cheat desc="Kansai-ben Mode (Untested)"> <comment>Voice change</comment>
    <script state="on">
      <action>temp0 =maincpu.pb@2157EC</action>
    </script>
    <script state="run">
      <action>maincpu.pb@2157EC=01</action>
    </script>
    <script state="off">
      <action>maincpu.pb@2157EC=temp0 </action>
    </script>
  </cheat>

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