<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pb@10836B=3C</action>
    </script>
  </cheat>

  <cheat desc="Finish this Round Now!">
    <script state="on">
      <action>maincpu.pb@10836B=00</action>
    </script>
  </cheat>

  <cheat desc="Select Starting Stage"> <comment>Only by killing Mizuki will you see the true ending. 06 = Amakusa, 07 = Zankuro, 08 = Gaoh, 09 = Mizuki</comment>
    <parameter min="1" max="10" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@10836C==00)">maincpu.pb@10836C=(param-1)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@108445=7D</action>
    </script>
  </cheat>

  <cheat desc="Drain All Energy Now! PL1">
    <script state="on">
      <action>maincpu.pb@108445=00</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Power PL1">
    <script state="run">
      <action>maincpu.pb@10844E=40</action>
    </script>
  </cheat>

  <cheat desc="Always have Minimum Power PL1">
    <script state="run">
      <action>maincpu.pb@10844E=00</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Sword Power PL1">
    <script state="run">
      <action>maincpu.pb@1085F8=78</action>
    </script>
  </cheat>

  <cheat desc="Always have Minimum Sword Power PL1">
    <script state="run">
      <action>maincpu.pb@1085F8=00</action>
    </script>
  </cheat>

  <cheat desc="Blue Energy Gauge Length PL1">
    <script state="run">
      <action>maincpu.pb@1085FE=7C</action>
    </script>
  </cheat>

  <cheat desc="Longer Sword Power Gauge PL1">
    <script state="run">
      <action>maincpu.pb@108554=82</action>
    </script>
  </cheat>

  <cheat desc="Select Character PL1">
    <parameter>
      <item value="0x00">Haohmaru</item>
      <item value="0x01">Nakoruru</item>
      <item value="0x02">Rimururu</item>
      <item value="0x03">Hanzo</item>
      <item value="0x04">Galford</item>
      <item value="0x05">Senryu Kyoshiro</item>
      <item value="0x06">Ukyo</item>
      <item value="0x07">Genjuro</item>
      <item value="0x08">Basara</item>
      <item value="0x09">Shizumaru</item>
      <item value="0x0A">Gaira</item>
      <item value="0x0B">Yumeji *</item>
      <item value="0x0C">Jubei</item>
      <item value="0x0D">Sankuro *</item>
      <item value="0x0E">Charlotte</item>
      <item value="0x0F">Tam Tam</item>
      <item value="0x10">Kazuki</item>
      <item value="0x11">Sogetsu</item>
      <item value="0x12">Rasetsumaru</item>
      <item value="0x13">Rera</item>
      <item value="0x14">Enja</item>
      <item value="0x15">Suija</item>
      <item value="0x16">Yoshitora</item>
      <item value="0x17">Yunfei</item>
      <item value="0x18">Mina</item>
      <item value="0x19">Kusare-Gedou</item>
      <item value="0x1A">Gaoh Kyougoku *</item>
      <item value="0x1B">Poppy **</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@108322=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@108655=7D</action>
    </script>
  </cheat>

  <cheat desc="Drain All Energy Now! PL2">
    <script state="on">
      <action>maincpu.pb@108655=00</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Power PL2">
    <script state="run">
      <action>maincpu.pb@10865E=40</action>
    </script>
  </cheat>

  <cheat desc="Always have Minimum Power PL2">
    <script state="run">
      <action>maincpu.pb@10865E=00</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Sword Power PL2">
    <script state="run">
      <action>maincpu.pb@108808=78</action>
    </script>
  </cheat>

  <cheat desc="Always have Minimum Sword Power PL2">
    <script state="run">
      <action>maincpu.pb@108808=00</action>
    </script>
  </cheat>

  <cheat desc="Blue Energy Gauge Length PL2">
    <script state="run">
      <action>maincpu.pb@10880E=7C</action>
    </script>
  </cheat>

  <cheat desc="Longer Sword Power Gauge PL2">
    <script state="run">
      <action>maincpu.pb@108764=82</action>
    </script>
  </cheat>

  <cheat desc="Select Character PL2">
    <parameter>
      <item value="0x00">Haohmaru</item>
      <item value="0x01">Nakoruru</item>
      <item value="0x02">Rimururu</item>
      <item value="0x03">Hanzo</item>
      <item value="0x04">Galford</item>
      <item value="0x05">Senryu Kyoshiro</item>
      <item value="0x06">Ukyo</item>
      <item value="0x07">Genjuro</item>
      <item value="0x08">Basara</item>
      <item value="0x09">Shizumaru</item>
      <item value="0x0A">Gaira</item>
      <item value="0x0B">Yumeji *</item>
      <item value="0x0C">Jubei</item>
      <item value="0x0D">Sankuro *</item>
      <item value="0x0E">Charlotte</item>
      <item value="0x0F">Tam Tam</item>
      <item value="0x10">Kazuki</item>
      <item value="0x11">Sogetsu</item>
      <item value="0x12">Rasetsumaru</item>
      <item value="0x13">Rera</item>
      <item value="0x14">Enja</item>
      <item value="0x15">Suija</item>
      <item value="0x16">Yoshitora</item>
      <item value="0x17">Yunfei</item>
      <item value="0x18">Mina</item>
      <item value="0x19">Kusare-Gedou</item>
      <item value="0x1A">Gaoh Kyougoku *</item>
      <item value="0x1B">Poppy **</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@108323=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Hide Background"> <comment>Activate before match start</comment>
    <script state="on">
      <action>
        temp0=maincpu.ow@0048E2, maincpu.ow@0048E2=4E71,
        temp1=maincpu.ow@0048EE, maincpu.ow@0048EE=4E71,
        temp2=maincpu.od@0048F4, maincpu.od@0048F4=4E714E71, <!--solid shadows-->
        temp3=maincpu.od@03C2D2, maincpu.od@03C2D2=60464E71 <!--HUD-->
      </action>
    </script>
    <script state="run">
      <action condition="maincpu.pw@1080C4 == B"> <!--activate only during match-->
        maincpu.pw@108314=0000, <!--flashing text-->
        maincpu.pb@10921B=02, <!--BG layers-->
        maincpu.pd@109222=8F8F8F8F <!--BG color (pink)-->
      </action>
    </script>
    <script state="off">
      <action>
        maincpu.ow@0048E2=temp0, maincpu.ow@0048EE=temp1,
        maincpu.od@0048F4=temp2, maincpu.od@03C2D2=temp3
      </action>
    </script>
  </cheat>

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pb@FD89=00</action>
    </script>
  </cheat>

  <cheat desc="Select Cartridge/NeoGeo Type"> <comment>Use in conjuction with the 'Skip RAM/ROM Checks' cheat for the best effect, then enable it and reset. The Home (NEOGEO) setting may open up other aspects of the game or it may even make the game unplayable.</comment>
    <parameter>
      <item value="0x80">Arcade (MVS)</item>
      <item value="0x00">Home (NEOGEO)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10FD82=param</action>
    </script>
  </cheat>

  <cheat desc="Skip RAM/ROM Checks"> <comment>Also allows a quicker start-up without the green screens. It's better to use together with Pre-Enable.</comment>
    <script state="on">
      <action>temp0 =maincpu.rd@C1315C</action>
      <action>temp1 =maincpu.rd@C1314E</action>
      <action>temp2 =maincpu.rd@C131E8</action>
      <action>temp3 =maincpu.rd@C13184</action>
      <action>temp4 =maincpu.rd@C1212E</action>
      <action>temp5 =maincpu.rd@C134FA</action>
    </script>
    <script state="run">
      <action condition="(maincpu.rd@C1315C==51CFFFF2)">maincpu.rd@C1315C=6000EB08</action> <!-- Euro + Japan-S2 BIOSs -->
      <action condition="(maincpu.rd@C1314E==51CFFFF2)">maincpu.rd@C1314E=6000EB16</action> <!-- Euro-S1 + Japan-S1 BIOSs -->
      <action condition="(maincpu.rd@C131E8==51CFFFF2)">maincpu.rd@C131E8=6000EA52</action> <!-- US BIOS -->
      <action condition="(maincpu.rd@C13184==51CFFFF2)">maincpu.rd@C13184=6000EAB6</action> <!-- US-E BIOS -->
      <action condition="(maincpu.rd@C1212E==51CFFFF2)">maincpu.rd@C1212E=6000EB36</action> <!-- Asia BIOS -->
      <action condition="(maincpu.rd@C134FA==51CFFFF2)">maincpu.rd@C134FA=6000E892</action> <!-- Japan BIOS -->
    </script>
    <script state="off">
      <action>maincpu.rd@C1315C=temp0 </action>
      <action>maincpu.rd@C1314E=temp1 </action>
      <action>maincpu.rd@C131E8=temp2 </action>
      <action>maincpu.rd@C13184=temp3 </action>
      <action>maincpu.rd@C1212E=temp4 </action>
      <action>maincpu.rd@C134FA=temp5 </action>
    </script>
  </cheat>

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