<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pb@10092A=99</action>
    </script>
  </cheat>

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

  <cheat desc="Always Enable Special Move">
    <script state="on">
      <action>temp0 =maincpu.mb@024103</action>
    </script>
    <script state="run">
      <action>maincpu.mb@024103=02</action>
    </script>
    <script state="off">
      <action>maincpu.mb@024103=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Unlock Ryo Sakazaki">
    <script state="on">
      <action>temp0 =maincpu.mw@02094E</action>
      <action>temp1 =maincpu.mw@020BD2</action>
    </script>
    <script state="run">
      <action>maincpu.pb@10E063=FF</action>
      <action>maincpu.mw@02094E=4E71</action>
      <action>maincpu.mw@020BD2=4E71</action>
    </script>
    <script state="off">
      <action>maincpu.mw@02094E=temp0 </action>
      <action>maincpu.mw@020BD2=temp1 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@10049A=60</action>
    </script>
  </cheat>

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

  <cheat desc="Rapid Fire - Quick Punch PL1">
    <script state="run">
      <action>maincpu.pb@10FD96=00|(maincpu.pb@10FD96 BAND ~10)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Quick Kick PL1">
    <script state="run">
      <action>maincpu.pb@10FD96=00|(maincpu.pb@10FD96 BAND ~20)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Strong Punch PL1">
    <script state="run">
      <action>maincpu.pb@10FD96=00|(maincpu.pb@10FD96 BAND ~40)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Strong Kick PL1">
    <script state="run">
      <action>maincpu.pb@10FD96=00|(maincpu.pb@10FD96 BAND ~80)</action>
    </script>
  </cheat>

  <cheat desc="Play with Ryo Sakazaki PL1"> <comment>Free player selection - Use it on the selection screen.</comment>
    <script state="on">
      <action>maincpu.pb@101E93=10</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@10059A=60</action>
    </script>
  </cheat>

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

  <cheat desc="Rapid Fire - Quick Punch PL2">
    <script state="run">
      <action>maincpu.pb@10FD9C=00|(maincpu.pb@10FD9C BAND ~10)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Quick Kick PL2">
    <script state="run">
      <action>maincpu.pb@10FD9C=00|(maincpu.pb@10FD9C BAND ~20)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Strong Punch PL2">
    <script state="run">
      <action>maincpu.pb@10FD9C=00|(maincpu.pb@10FD9C BAND ~40)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Strong Kick PL2">
    <script state="run">
      <action>maincpu.pb@10FD9C=00|(maincpu.pb@10FD9C BAND ~80)</action>
    </script>
  </cheat>

  <cheat desc="Play with Ryo Sakazaki PL2"> <comment>Free player selection - Use it on the selection screen.</comment>
    <script state="on">
      <action>maincpu.pb@101F93=10</action>
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Hide Background"> <comment>Activate before match start</comment>
    <script state="run">
      <action>
        maincpu.pb@1051E1=maincpu.pb@1051E0 band 7F,
        maincpu.pw@401FFE=0000
      </action>
      <action condition="((maincpu.pb@100003 band 9F) gt 90 and (maincpu.pb@100003 band 40) == 00)"> <!--activate only during match-->
        maincpu.pb@1051E1=10, <!--BG layers-->
        maincpu.pb@100920=20, maincpu.pb@10092B=3C, <!--HUD-->
        maincpu.pb@1041D9=40, <!--flashing text-->
        maincpu.pw@1041DA=00, <!--solid shadows-->
        maincpu.pw@401FFE=8F8F <!--BG color (pink)-->
      </action>
    </script>
    <script state="off">
      <action>
        maincpu.pb@100920=40,
        maincpu.pb@1051E1=maincpu.pb@1051E0 band 7F,
        maincpu.pw@401FFE=0000
      </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. -->
