<mamecheat version="1">

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

  <cheat desc="Finish this Round Now!">
    <script state="run">
      <action condition="(frame % 60 == 0)">maincpu.pb@FF4008=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Char Select Time">
    <script state="run">
      <action>maincpu.pb@FF416E=13</action>
    </script>
  </cheat>

  <cheat desc="Select Backdrop Now!"> <comment>Will not update till the next round - use it before the backdrop displays</comment>
    <parameter min="1" max="10" step="1"/>
    <script state="change">
      <action>maincpu.pb@FF4113=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Select Current Stage Now!">
    <parameter min="1" max="10" step="1"/>
    <script state="change">
      <action>maincpu.pb@FF4081=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Go to Final Stage Now!">
    <script state="on">
      <action>maincpu.pb@FF4081=09</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy (1st Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF3271=90</action>
      <action>maincpu.pb@FF327B=90</action>
    </script>
  </cheat>

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

  <cheat desc="Infinite Energy (2nd Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF3A71=90</action>
      <action>maincpu.pb@FF3A7B=90</action>
    </script>
  </cheat>

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

  <cheat desc="Infinite Strikers PL1">
    <script state="run">
      <action>maincpu.pb@FF32C6=09</action>
    </script>
  </cheat>

  <cheat desc="Always have Max Super PL1">
    <script state="run">
      <action>maincpu.pb@FF3274=03</action>
      <action>maincpu.pb@FF3A74=03</action>
    </script>
  </cheat>

  <cheat desc="Enable All Chars PL1"> <comment>Roll is Right from Megaman/Rockman, Fast-Venom is Up from Chun-Li, MSH-Hulk is Up from Ryu, Armor-War Machine is Up from Zangief,Shadow Lady is Down from Gambit + Alt-Morrigan is Down from War Machine</comment>
    <script state="run">
      <action>maincpu.pb@FF4199=40</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Char PL1">
    <parameter>
      <item value="0x02">War Machine</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Gambit</item>
      <item value="0x0C">Venom</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Roll</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Captain Commando</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Jin</item>
      <item value="0x1A">Zangeif</item>
      <item value="0x1C">Strider Hiryu</item>
      <item value="0x1E">Morrigan</item>
      <item value="0x20">Rockman</item>
      <item value="0x22">Onslaught</item>
      <item value="0x24">Alt-Venom</item>
      <item value="0x26">Alt-Hulk</item>
      <item value="0x28">Alt-War-Machine</item>
      <item value="0x2A">Shadow Lady</item>
      <item value="0x2C">Alt-Morrigan</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3053=param</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Char PL1">
    <parameter>
      <item value="0x02">War Machine</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Gambit</item>
      <item value="0x0C">Venom</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Roll</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Captain Commando</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Jin</item>
      <item value="0x1A">Zangeif</item>
      <item value="0x1C">Strider Hiryu</item>
      <item value="0x1E">Morrigan</item>
      <item value="0x20">Rockman</item>
      <item value="0x22">Onslaught</item>
      <item value="0x24">Alt-Venom</item>
      <item value="0x26">Alt-Hulk</item>
      <item value="0x28">Alt-War-Machine</item>
      <item value="0x2A">Shadow Lady</item>
      <item value="0x2C">Alt-Morrigan</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3853=param</action>
    </script>
  </cheat>

  <cheat desc="Select Partner PL1">
    <parameter>
      <item value="0x18">Unknown Soldier</item>
      <item value="0x00">Lou</item>
      <item value="0x20">Arthur</item>
      <item value="0x24">Saki</item>
      <item value="0x1C">Ton Pooh</item>
      <item value="0x48">Devilot</item>
      <item value="0x44">Anita</item>
      <item value="0x3C">Pure + Fur</item>
      <item value="0x28">Miechele Heart</item>
      <item value="0x2C">Thor</item>
      <item value="0x10">Cyclops</item>
      <item value="0x08">Magneto</item>
      <item value="0x30">Storm</item>
      <item value="0x4C">Jubilee</item>
      <item value="0x34">Rogue</item>
      <item value="0x0C">Psylocke</item>
      <item value="0x04">Juggernaut</item>
      <item value="0x38">Iceman</item>
      <item value="0x14">Colossus</item>
      <item value="0x40">U.S. Agent</item>
      <item value="0x50">Shadow</item>
      <item value="0x54">Sentinel</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF40D9=param</action>
    </script>
  </cheat>

  <cheat desc="Select Attacks (1st Char) Now! PL1"> <comment>Useful for when you select Ryu and want to switch between Ryu, Ken and Akuma in game. Doesn't cost any Supers either.</comment>
    <parameter>
      <item value="0x01">Ryu's Attacks</item>
      <item value="0x02">Ken's Attacks</item>
      <item value="0x03">Akuma's Attacks</item>
    </parameter>
    <script state="change">
      <action condition="(param==01)">maincpu.pb@FF30E6=1A</action>
      <action condition="(param==01)">maincpu.pb@FF32CA=87</action>
      <action condition="(param==01)">maincpu.pb@FF32CB=C4</action>
      <action condition="(param==01)">maincpu.pb@FF3385=00</action>
      <action condition="(param==02)">maincpu.pb@FF30E6=30</action>
      <action condition="(param==02)">maincpu.pb@FF32CA=EC</action>
      <action condition="(param==02)">maincpu.pb@FF32CB=44</action>
      <action condition="(param==02)">maincpu.pb@FF3385=02</action>
      <action condition="(param==03)">maincpu.pb@FF30E6=32</action>
      <action condition="(param==03)">maincpu.pb@FF32CA=ED</action>
      <action condition="(param==03)">maincpu.pb@FF32CB=04</action>
      <action condition="(param==03)">maincpu.pb@FF3385=04</action>
    </script>
  </cheat>

  <cheat desc="Play as Onslaught in Vs. Mode PL1"> <comment>Here it is, you can only play as Onslaught in vs. mode. Have a friend start a game as PL1 then activate this cheat (do not insert a coin and start as PL2, just activate the cheat for PL2). Or have a friend start as PL2 and activate the cheat for PL1.</comment>
    <script state="run">
      <action>maincpu.pb@FF40B1=22</action>
      <action>maincpu.pb@FF40B3=22</action>
      <action>maincpu.pb@FF3003=01</action>
      <action>maincpu.pb@FF3803=01</action>
      <action>maincpu.pb@FF415E=22</action>
      <action>maincpu.pb@FF415F=22</action>
    </script>
  </cheat>

  <cheat desc="Infinite Duo Time PL1">
    <script state="run">
      <action>maincpu.pb@FF4035=8F</action>
      <action>maincpu.pb@FF4034=02</action>
    </script>
  </cheat>

  <cheat desc="Infinite Air Jump (1st Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF3152=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Air Jump (2nd Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF3952=00</action>
    </script>
  </cheat>

  <cheat desc="Action Speed Up (1st Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF303F=01</action>
    </script>
  </cheat>

  <cheat desc="Action Speed Up (2nd Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF383F=01</action>
    </script>
  </cheat>

  <cheat desc="No Chain Limit (1st Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF30B7=01</action>
    </script>
  </cheat>

  <cheat desc="No Chain Limit (2nd Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF38B7=01</action>
    </script>
  </cheat>

  <cheat desc="No Hit Stop (1st Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF3085=00</action>
    </script>
  </cheat>

  <cheat desc="No Hit Stop (2nd Char) PL1">
    <script state="run">
      <action>maincpu.pb@FF3885=00</action>
    </script>
  </cheat>

  <cheat desc="Select Control (1st Char) PL1">
    <parameter>
      <item value="0x01">Human Control</item>
      <item value="0x00">CPU Control</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3003=param</action>
    </script>
  </cheat>

  <cheat desc="Select Control (2nd Char) PL1">
    <parameter>
      <item value="0x01">Human Control</item>
      <item value="0x00">CPU Control</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3803=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colours (1st Char) PL1">
    <parameter>
      <item value="0x00">P colours</item>
      <item value="0x01">K colours</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3277=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colours (2nd Char) PL1">
    <parameter>
      <item value="0x00">P colours</item>
      <item value="0x01">K colours</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3A77=param</action>
    </script>
  </cheat>

  <cheat desc="Select Helper 1 Colour PL1">
    <parameter>
      <item value="0x00">Colour 1</item>
      <item value="0x01">Colour 2</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3095=param</action>
    </script>
  </cheat>

  <cheat desc="Select Helper 2 Colour PL1">
    <parameter>
      <item value="0x00">Colour 1</item>
      <item value="0x01">Colour 2</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3895=param</action>
    </script>
  </cheat>

  <cheat desc="-=Cheats just for Captain America=-"/>

  <cheat desc="Select Shield (1st Char) PL1">
    <parameter>
      <item value="0x00">Enabled</item>
      <item value="0x01">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF33B4=param</action>
    </script>
  </cheat>

  <cheat desc="Select Shield (2nd Char) PL1">
    <parameter>
      <item value="0x00">Enabled</item>
      <item value="0x01">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3BB4=param</action>
    </script>
  </cheat>

  <cheat desc="-=Cheats just for Megaman=-"/>

  <cheat desc="Select Charge Type (1st Char) PL1">
    <parameter>
      <item value="0x00">No Charge</item>
      <item value="0x04">Controllable Auto Shot</item>
      <item value="0x06">Auto Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3190=param</action>
    </script>
  </cheat>

  <cheat desc="Select Charge Type (2nd Char) PL1">
    <parameter>
      <item value="0x00">No Charge</item>
      <item value="0x04">Controllable Auto Shot</item>
      <item value="0x06">Auto Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3990=param</action>
    </script>
  </cheat>

  <cheat desc="-=Cheats just for Megaman + Roll=-"/>

  <cheat desc="Infinite Beat Plane + Rush Drill Time PL1">
    <script state="run">
      <action>maincpu.pb@FF339F=B4</action>
      <action>maincpu.pb@FF3B9F=B4</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Char Weapon PL1"> <comment>The Invisible Leaf Shield cheat makes the Leaf Shield invisible and you can't throw it away</comment>
    <parameter>
      <item value="0x01">Rock Ball</item>
      <item value="0x02">Tornado Hold</item>
      <item value="0x03">Leaf Shield</item>
      <item value="0x04">Invisible Leaf Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@FF3381=00</action>
      <action condition="(param==02)">maincpu.pb@FF3381=param</action>
      <action condition="(param==03)">maincpu.pb@FF3381=param</action>
      <action condition="(param==04)">maincpu.pb@FF3381=param</action>
      <action condition="(param==04)">maincpu.pb@FF33AB=01</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Char Weapon PL1"> <comment>The Invisible Leaf Shield cheat makes the Leaf Shield invisible and you can't throw it away</comment>
    <parameter>
      <item value="0x01">Rock Ball</item>
      <item value="0x02">Tornado Hold</item>
      <item value="0x03">Leaf Shield</item>
      <item value="0x04">Invisible Leaf Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@FF3B81=00</action>
      <action condition="(param==02)">maincpu.pb@FF3B81=param</action>
      <action condition="(param==03)">maincpu.pb@FF3B81=param</action>
      <action condition="(param==04)">maincpu.pb@FF3B81=param</action>
      <action condition="(param==04)">maincpu.pb@FF3BAB=01</action>
    </script>
  </cheat>

  <cheat desc="Infinite Heki Hari Tsuki Time for Strider Hiryu PL1"> <comment>Must only be turned on during a Heki Hari Tsuki. The game *might* hang elsewise</comment>
    <script state="run">
      <action>maincpu.pb@FF304E=01</action>
      <action>maincpu.pb@FF304F=28</action>
      <action>maincpu.pb@FF384E=01</action>
      <action>maincpu.pb@FF384F=28</action>
    </script>
  </cheat>

  <cheat desc="Infinite Hikou Time for War Machine PL1">
    <script state="run">
      <action>maincpu.pb@FF33C0=01</action>
      <action>maincpu.pb@FF33C1=DE</action>
      <action>maincpu.pb@FF3BC0=01</action>
      <action>maincpu.pb@FF3BC1=DE</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy (1st Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3671=90</action>
      <action>maincpu.pb@FF367B=90</action>
    </script>
  </cheat>

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

  <cheat desc="Infinite Energy (2nd Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3E71=90</action>
      <action>maincpu.pb@FF3E7B=90</action>
    </script>
  </cheat>

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

  <cheat desc="Infinite Strikers PL2">
    <script state="run">
      <action>maincpu.pb@FF36C6=09</action>
    </script>
  </cheat>

  <cheat desc="Always have Max Super PL2">
    <script state="run">
      <action>maincpu.pb@FF3674=03</action>
      <action>maincpu.pb@FF3E74=03</action>
    </script>
  </cheat>

  <cheat desc="Enable All Chars PL2"> <comment>Roll is Right from Megaman/Rockman, Fast-Venom is Up from Chun-Li, MSH-Hulk is Up from Ryu, Armor-War Machine is Up from Zangief,Shadow Lady is Down from Gambit + Alt-Morrigan is Down from War Machine</comment>
    <script state="run">
      <action>maincpu.pb@FF41C9=40</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Char PL2">
    <parameter>
      <item value="0x02">War Machine</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Gambit</item>
      <item value="0x0C">Venom</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Roll</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Captain Commando</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Jin</item>
      <item value="0x1A">Zangeif</item>
      <item value="0x1C">Strider Hiryu</item>
      <item value="0x1E">Morrigan</item>
      <item value="0x20">Rockman</item>
      <item value="0x22">Onslaught</item>
      <item value="0x24">Alt-Venom</item>
      <item value="0x26">Alt-Hulk</item>
      <item value="0x28">Alt-War-Machine</item>
      <item value="0x2A">Shadow Lady</item>
      <item value="0x2C">Alt-Morrigan</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3453=param</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Char PL2">
    <parameter>
      <item value="0x02">War Machine</item>
      <item value="0x04">Captain America</item>
      <item value="0x06">Hulk</item>
      <item value="0x08">Wolverine</item>
      <item value="0x0A">Gambit</item>
      <item value="0x0C">Venom</item>
      <item value="0x0E">Spider-Man</item>
      <item value="0x10">Roll</item>
      <item value="0x12">Ryu</item>
      <item value="0x14">Captain Commando</item>
      <item value="0x16">Chun-Li</item>
      <item value="0x18">Jin</item>
      <item value="0x1A">Zangeif</item>
      <item value="0x1C">Strider Hiryu</item>
      <item value="0x1E">Morrigan</item>
      <item value="0x20">Rockman</item>
      <item value="0x22">Onslaught</item>
      <item value="0x24">Alt-Venom</item>
      <item value="0x26">Alt-Hulk</item>
      <item value="0x28">Alt-War-Machine</item>
      <item value="0x2A">Shadow Lady</item>
      <item value="0x2C">Alt-Morrigan</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3C53=param</action>
    </script>
  </cheat>

  <cheat desc="Select Partner PL2">
    <parameter>
      <item value="0x18">Unknown Soldier</item>
      <item value="0x00">Lou</item>
      <item value="0x20">Arthur</item>
      <item value="0x24">Saki</item>
      <item value="0x1C">Ton Pooh</item>
      <item value="0x48">Devilot</item>
      <item value="0x44">Anita</item>
      <item value="0x3C">Pure + Fur</item>
      <item value="0x28">Miechele Heart</item>
      <item value="0x2C">Thor</item>
      <item value="0x10">Cyclops</item>
      <item value="0x08">Magneto</item>
      <item value="0x30">Storm</item>
      <item value="0x4C">Jubilee</item>
      <item value="0x34">Rogue</item>
      <item value="0x0C">Psylocke</item>
      <item value="0x04">Juggernaut</item>
      <item value="0x38">Iceman</item>
      <item value="0x14">Colossus</item>
      <item value="0x40">U.S. Agent</item>
      <item value="0x50">Shadow</item>
      <item value="0x54">Sentinel</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF40DB=param</action>
    </script>
  </cheat>

  <cheat desc="Play as Onslaught in Vs. Mode PL2"> <comment>Here it is, you can only play as Onslaught in vs. mode. Have a friend start a game as PL1 then activate this cheat (do not insert a coin and start as PL2, just activate the cheat for PL2). Or have a friend start as PL2 and activate the cheat for PL1.</comment>
    <script state="run">
      <action>maincpu.pb@FF40B5=22</action>
      <action>maincpu.pb@FF40B7=22</action>
      <action>maincpu.pb@FF3403=01</action>
      <action>maincpu.pb@FF3C03=01</action>
      <action>maincpu.pb@FF415E=22</action>
      <action>maincpu.pb@FF415F=22</action>
    </script>
  </cheat>

  <cheat desc="Infinite Duo Time PL2">
    <script state="run">
      <action>maincpu.pb@FF4435=8F</action>
      <action>maincpu.pb@FF4434=02</action>
    </script>
  </cheat>

  <cheat desc="Infinite Air Jump (1st Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3452=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Air Jump (2nd Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3D52=00</action>
    </script>
  </cheat>

  <cheat desc="Action Speed Up (1st Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF343F=01</action>
    </script>
  </cheat>

  <cheat desc="Action Speed Up (2nd Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3C3F=01</action>
    </script>
  </cheat>

  <cheat desc="No Chain Limit (1st Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF34B7=01</action>
    </script>
  </cheat>

  <cheat desc="No Chain Limit (2nd Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3CB7=01</action>
    </script>
  </cheat>

  <cheat desc="No Hit Stop (1st Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3485=00</action>
    </script>
  </cheat>

  <cheat desc="No Hit Stop (2nd Char) PL2">
    <script state="run">
      <action>maincpu.pb@FF3C85=00</action>
    </script>
  </cheat>

  <cheat desc="Select Control (1st Char) PL2">
    <parameter>
      <item value="0x01">Human Control</item>
      <item value="0x00">CPU Control</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3403=param</action>
    </script>
  </cheat>

  <cheat desc="Select Control (2nd Char) PL2">
    <parameter>
      <item value="0x01">Human Control</item>
      <item value="0x00">CPU Control</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3C03=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colours (1st Char) PL2">
    <parameter>
      <item value="0x00">P colours</item>
      <item value="0x01">K colours</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3677=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colours (2nd Char) PL2">
    <parameter>
      <item value="0x00">P colours</item>
      <item value="0x01">K colours</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3E77=param</action>
    </script>
  </cheat>

  <cheat desc="Select Helper 1 Colour PL2">
    <parameter>
      <item value="0x00">Colour 1</item>
      <item value="0x01">Colour 2</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3495=param</action>
    </script>
  </cheat>

  <cheat desc="Select Helper 2 Colour PL2">
    <parameter>
      <item value="0x00">Colour 1</item>
      <item value="0x01">Colour 2</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3C95=param</action>
    </script>
  </cheat>

  <cheat desc="-=Cheats just for Captain America=-"/>

  <cheat desc="Select Shield (1st Char) PL2">
    <parameter>
      <item value="0x00">Enabled</item>
      <item value="0x01">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF37B4=param</action>
    </script>
  </cheat>

  <cheat desc="Select Shield (2nd Char) PL2">
    <parameter>
      <item value="0x00">Enabled</item>
      <item value="0x01">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3FB4=param</action>
    </script>
  </cheat>

  <cheat desc="-=Cheats just for Megaman=-"/>

  <cheat desc="Select Charge Type (1st Char) PL2">
    <parameter>
      <item value="0x00">No Charge</item>
      <item value="0x04">Controllable Auto Shot</item>
      <item value="0x06">Auto Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3590=param</action>
    </script>
  </cheat>

  <cheat desc="Select Charge Type (2nd Char) PL2">
    <parameter>
      <item value="0x00">No Charge</item>
      <item value="0x04">Controllable Auto Shot</item>
      <item value="0x06">Auto Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF3D90=param</action>
    </script>
  </cheat>

  <cheat desc="-=Cheats just for Megaman + Roll=-"/>

  <cheat desc="Infinite Beat Plane + Rush Drill Time PL2">
    <script state="run">
      <action>maincpu.pb@FF379F=B4</action>
      <action>maincpu.pb@FF3F9F=B4</action>
    </script>
  </cheat>

  <cheat desc="Select 1st Char Weapon PL2"> <comment>The Invisible Leaf Shield cheat makes the Leaf Shield invisible and you can't throw it away</comment>
    <parameter>
      <item value="0x01">Rock Ball</item>
      <item value="0x02">Tornado Hold</item>
      <item value="0x03">Leaf Shield</item>
      <item value="0x04">Invisible Leaf Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@FF3781=00</action>
      <action condition="(param==02)">maincpu.pb@FF3781=param</action>
      <action condition="(param==03)">maincpu.pb@FF3781=param</action>
      <action condition="(param==04)">maincpu.pb@FF3781=param</action>
      <action condition="(param==04)">maincpu.pb@FF37AB=01</action>
    </script>
  </cheat>

  <cheat desc="Select 2nd Char Weapon PL2"> <comment>The Invisible Leaf Shield cheat makes the Leaf Shield invisible and you can't throw it away</comment>
    <parameter>
      <item value="0x01">Rock Ball</item>
      <item value="0x02">Tornado Hold</item>
      <item value="0x03">Leaf Shield</item>
      <item value="0x04">Invisible Leaf Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@FF3F81=00</action>
      <action condition="(param==02)">maincpu.pb@FF3F81=param</action>
      <action condition="(param==03)">maincpu.pb@FF3F81=param</action>
      <action condition="(param==04)">maincpu.pb@FF3F81=param</action>
      <action condition="(param==04)">maincpu.pb@FF3FAB=01</action>
    </script>
  </cheat>

  <cheat desc="Infinite Heki Hari Tsuki Time for Strider Hiryu PL2"> <comment>Must only be turned on during a Heki Hari Tsuki. The game *might* hang elsewise</comment>
    <script state="run">
      <action>maincpu.pb@FF344E=01</action>
      <action>maincpu.pb@FF344F=28</action>
      <action>maincpu.pb@FF3C4E=01</action>
      <action>maincpu.pb@FF3C4F=28</action>
    </script>
  </cheat>

  <cheat desc="Infinite Hikou Time for War Machine PL2">
    <script state="run">
      <action>maincpu.pb@FF37C0=01</action>
      <action>maincpu.pb@FF37C1=DE</action>
      <action>maincpu.pb@FF3FC0=01</action>
      <action>maincpu.pb@FF3FC1=DE</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@FF4472, temp1=maincpu.pw@FF4474, temp2=maincpu.pw@FF4476,
        temp3=maincpu.pw@FFF640, temp4=maincpu.pw@FFF642, temp5=maincpu.pw@FFF644
      </action>
    </script>
    <script state="run">
      <action condition="(maincpu.pw@FF4000 == 0800)"> <!--activate only during match-->
        maincpu.pw@FF4472=0, maincpu.pw@FF4474=0, maincpu.pw@FF4476=0, <!--BG layers-->
        maincpu.pw@FFF640=0, maincpu.pw@FFF642=0, maincpu.pw@FFF644=0, <!--HUD-->
        maincpu.pd@FFDA44=0 <!--BG sprites-->
      </action>
    </script>
    <script state="off">
      <action>
        maincpu.pw@FF4472=temp0, maincpu.pw@FF4474=temp1, maincpu.pw@FF4476=temp2,
        maincpu.pw@FFF640=temp3, maincpu.pw@FFF642=temp4, maincpu.pw@FFF644=temp5
      </action>
    </script>
  </cheat>

  <cheat desc="Select Region"> <comment>This sets the machine region - the effectiveness may vary! You have to enable this ASAP- ON or before the ROM check screen! Or enable + RESET.</comment>
    <parameter>
      <item value="0x00">Japan</item>
      <item value="0x02">USA</item>
      <item value="0x04">Euro</item>
      <item value="0x06">Brazil</item>
      <item value="0x08">Hispanic</item>
      <item value="0x0A">Asia</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF44B3=param</action>
    </script>
  </cheat>

  <cheat desc="Sound Test">
    <parameter min="1" max="2143" 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. -->
