<mamecheat version="1">

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

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

  <cheat desc="Go to Final Stage Next">
    <script state="on">
      <action>maincpu.pb@FF4881=08</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy (1st Character) PL1">
    <script state="run">
      <action>maincpu.pb@FF3A51=90</action>
      <action>maincpu.pb@FF3A5B=90</action>
    </script>
  </cheat>

  <cheat desc="Drain All Energy (1st Character) Now! PL1">
    <script state="on">
      <action>maincpu.pb@FF3A51=00</action>
      <action>maincpu.pb@FF3A5B=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy (2nd Character) PL1">
    <script state="run">
      <action>maincpu.pb@FF4251=90</action>
      <action>maincpu.pb@FF425B=90</action>
    </script>
  </cheat>

  <cheat desc="Drain All Energy (2nd Character) Now! PL1">
    <script state="on">
      <action>maincpu.pb@FF4251=00</action>
      <action>maincpu.pb@FF425B=00</action>
    </script>
  </cheat>

  <cheat desc="Always Max Power PL1">
    <script state="run">
      <action>maincpu.pb@FF3A54=03</action>
      <action>maincpu.pb@FF4254=03</action>
    </script>
  </cheat>

  <cheat desc="Play with Apocalypse PL1">
    <script state="run">
      <action>maincpu.pb@FF3853=00</action>
      <action>maincpu.pb@FF4053=00</action>
      <action>maincpu.pb@FF48B1=00</action>
      <action>maincpu.pb@FF48B3=00</action>
      <action>maincpu.pb@FF4913=00</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Character PL1"> <comment>Enable this on the Character selection screen.</comment>
    <parameter>
      <item value="0x02">Cyclops</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Shuma Gorath</item>
      <item value="0x0C">Omega Red</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Blackheart</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Ken</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Dhalsim</item>
      <item value="0x1A">Zangief</item>
      <item value="0x1C">Bison</item>
      <item value="0x1E">Akuma</item>
      <item value="0x20">Sakura</item>
      <item value="0x24">Dan</item>
      <item value="0x22">#Norimaro#</item>
      <item value="0x26">#Mech-Akuma#</item>
      <item value="0x28">#Mech-Zangief#</item>
      <item value="0x2A">#Sunburned Sakura#</item>
      <item value="0x2C">#Shadow#</item>
      <item value="0x2E">#U.S.Agent#</item>
      <item value="0x30">#Mephisto#</item>
      <item value="0x32">#Armor Spider-Man#</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3853=param</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Character PL1"> <comment>Enable this on the Character selection screen.</comment>
    <parameter>
      <item value="0x02">Cyclops</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Shuma Gorath</item>
      <item value="0x0C">Omega Red</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Blackheart</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Ken</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Dhalsim</item>
      <item value="0x1A">Zangief</item>
      <item value="0x1C">Bison</item>
      <item value="0x1E">Akuma</item>
      <item value="0x20">Sakura</item>
      <item value="0x24">Dan</item>
      <item value="0x22">#Norimaro#</item>
      <item value="0x26">#Mech-Akuma#</item>
      <item value="0x28">#Mech-Zangief#</item>
      <item value="0x2A">#Sunburned Sakura#</item>
      <item value="0x2C">#Shadow#</item>
      <item value="0x2E">#U.S.Agent#</item>
      <item value="0x30">#Mephisto#</item>
      <item value="0x32">#Armor Spider-Man#</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF4053=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy (1st Character) PL2">
    <script state="run">
      <action>maincpu.pb@FF3E51=90</action>
      <action>maincpu.pb@FF3E5B=90</action>
    </script>
  </cheat>

  <cheat desc="Drain All Energy (1st Character) Now! PL2">
    <script state="on">
      <action>maincpu.pb@FF3E51=00</action>
      <action>maincpu.pb@FF3E5B=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy (2nd Character) PL2">
    <script state="run">
      <action>maincpu.pb@FF4651=90</action>
      <action>maincpu.pb@FF465B=90</action>
    </script>
  </cheat>

  <cheat desc="Drain All Energy (2nd Character) Now! PL2">
    <script state="on">
      <action>maincpu.pb@FF4651=00</action>
      <action>maincpu.pb@FF465B=00</action>
    </script>
  </cheat>

  <cheat desc="Always Max Power PL2">
    <script state="run">
      <action>maincpu.pb@FF3E54=03</action>
      <action>maincpu.pb@FF4654=03</action>
    </script>
  </cheat>

  <cheat desc="Play with Apocalypse PL2">
    <script state="run">
      <action>maincpu.pb@FF3C53=00</action>
      <action>maincpu.pb@FF4453=00</action>
      <action>maincpu.pb@FF48B5=00</action>
      <action>maincpu.pb@FF48B7=00</action>
      <action>maincpu.pb@FF4913=00</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Character PL2"> <comment>Enable this on the Character selection screen.</comment>
    <parameter>
      <item value="0x02">Cyclops</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Shuma Gorath</item>
      <item value="0x0C">Omega Red</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Blackheart</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Ken</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Dhalsim</item>
      <item value="0x1A">Zangief</item>
      <item value="0x1C">Bison</item>
      <item value="0x1E">Akuma</item>
      <item value="0x20">Sakura</item>
      <item value="0x24">Dan</item>
      <item value="0x22">#Norimaro#</item>
      <item value="0x26">#Mech-Akuma#</item>
      <item value="0x28">#Mech-Zangief#</item>
      <item value="0x2A">#Sunburned Sakura#</item>
      <item value="0x2C">#Shadow#</item>
      <item value="0x2E">#U.S.Agent#</item>
      <item value="0x30">#Mephisto#</item>
      <item value="0x32">#Armor Spider-Man#</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3C53=param</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Character PL2"> <comment>Enable this on the Character selection screen.</comment>
    <parameter>
      <item value="0x02">Cyclops</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Shuma Gorath</item>
      <item value="0x0C">Omega Red</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Blackheart</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Ken</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Dhalsim</item>
      <item value="0x1A">Zangief</item>
      <item value="0x1C">Bison</item>
      <item value="0x1E">Akuma</item>
      <item value="0x20">Sakura</item>
      <item value="0x24">Dan</item>
      <item value="0x22">#Norimaro#</item>
      <item value="0x26">#Mech-Akuma#</item>
      <item value="0x28">#Mech-Zangief#</item>
      <item value="0x2A">#Sunburned Sakura#</item>
      <item value="0x2C">#Shadow#</item>
      <item value="0x2E">#U.S.Agent#</item>
      <item value="0x30">#Mephisto#</item>
      <item value="0x32">#Armor Spider-Man#</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF4453=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pw@F026=0000</action>
    </script>
  </cheat>

  <cheat desc="Hide Background">
    <script state="on">
      <action>
        temp0=maincpu.pw@FF4C50, temp1=maincpu.pw@FF4C52, temp2=maincpu.pw@FF4C54,
        temp3=maincpu.pw@FFFBB8, temp4=maincpu.pw@FFFBBA, temp5=maincpu.pw@FFFBBC
      </action>
    </script>
    <script state="run">
      <action condition="(maincpu.pw@FF4800 == 0800)"> <!--activate only during match-->
        maincpu.pw@FF4C50=0, maincpu.pw@FF4C52=0, maincpu.pw@FF4C54=0, <!--BG layers-->
        maincpu.pw@FFFBB8=0, maincpu.pw@FFFBBA=0, maincpu.pw@FFFBBC=0, <!--HUD-->
        maincpu.pd@FFDE20=0 <!--BG sprites-->
      </action>
    </script>
    <script state="off">
      <action>
        maincpu.pw@FF4C50=temp0, maincpu.pw@FF4C52=temp1, maincpu.pw@FF4C54=temp2,
        maincpu.pw@FFFBB8=temp3, maincpu.pw@FFFBBA=temp4, maincpu.pw@FFFBBC=temp5
      </action>
    </script>
  </cheat>

  <cheat desc="Sound Test">
    <parameter min="1" max="2352" step="1"/>
    <script state="change">
      <action>audiocpu.pw@F015=0000</action>
      <action>audiocpu.pq@F100=00001000000000FF</action>
      <action>audiocpu.pq@F108=0099990000000000</action>
      <action>audiocpu.pq@F110=1000100000000000</action>
      <action>audiocpu.pq@F118=0099990000000000</action>
      <action condition="(param LT 100)">audiocpu.pb@F111=param</action>
      <action>temp0=param/100</action>
      <action condition="(param GE 100)">audiocpu.pb@F110=temp0</action>
      <action condition="(param GE 100)">audiocpu.pb@F111=param-(temp0*100)</action>
      <action>audiocpu.pb@F015=20</action>
    </script>
  </cheat>

  <cheat desc="Sound Test">
    <parameter min="1" max="2352" step="1"/>
    <script state="change">
      <action>audiocpu.pw@F015=0000</action>
      <action>audiocpu.pq@F100=00001000000000FF</action>
      <action>audiocpu.pq@F108=0099990000000000</action>
      <action>audiocpu.pq@F110=1000100000000000</action>
      <action>audiocpu.pq@F118=0099990000000000</action>
      <action condition="(param LT 100)">audiocpu.pb@F111=param</action>
      <action>temp0=param/100</action>
      <action condition="(param GE 100)">audiocpu.pb@F110=temp0</action>
      <action condition="(param GE 100)">audiocpu.pb@F111=param-(temp0*100)</action>
      <action>audiocpu.pb@F015=20</action>
    </script>
  </cheat>

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