<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="on">
      <action>temp0 =maincpu.pb@10A83A</action>
    </script>
    <script state="run">
      <action condition="(frame % 120 == 0) AND (maincpu.pb@10A83A!=temp0 )">maincpu.pb@10A83A=60</action>
    </script>
  </cheat>

  <cheat desc="Boss code + Timer stop"> <comment>Debug Dip 1-3, does not enable Orochi</comment>
    <script state="on">
      <action>temp0 =maincpu.pb@100000</action>
    </script>
    <script state="run">
      <action>maincpu.pb@100000=04|(maincpu.pb@100000 BAND ~04)</action>
    </script>
    <script state="off">
      <action>maincpu.pb@100000=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Enable hidden characters (except Orochi)"> <comment>Adds Orochi Iori, Orochi Leona, and the Orochi New Face Team to the selection screen</comment>
    <script state="run">
      <action>maincpu.pb@10EC34=1F</action>
    </script>
  </cheat>

  <cheat desc="Select Current Round">
    <parameter min="1" max="6" step="1"/>
    <script state="run">
      <action>maincpu.pb@10A7F1=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Select Backdrop">
    <parameter>
      <item value="0x00">Koshien Stadium, Japan</item>
      <item value="0x01">Adventureland, USA</item>
      <item value="0x02">Tuban, Bali</item>
      <item value="0x03">Kowloon, China</item>
      <item value="0x04">Kyong Bock Kung, Korea</item>
      <item value="0x05">Ruccass Corner, Monaco</item>
      <item value="0x06">Orochi Team</item>
      <item value="0x07">Orochi</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A7EA=param</action>
    </script>
  </cheat>

  <cheat desc="Backdrop Always Red"> <comment>Makes the backdrop turn red (like how the stage would change in 1P mode when you face Orochi Iori or Orochi Leona).</comment>
    <script state="run">
      <action>maincpu.pb@10EC35=01</action>
    </script>
  </cheat>

  <cheat desc="Backdrop Turns Red Now!"> <comment>Activate between matches for best effect. Makes the backdrop turn red (like how the stage would change in 1P mode when you face Orochi Iori or Orochi Leona).</comment>
    <script state="on">
      <action>maincpu.pb@10EC35=01</action>
    </script>
  </cheat>

  <cheat desc="No Damage Dealt While Defending"> <comment>Affects both players. ALL attacks do no damage when blocked - hence, a player takes no block damage.</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@01436E</action>
      <action>temp1 =maincpu.mb@014377</action>
    </script>
    <script state="run">
      <action>maincpu.mb@01436E=EC</action>
      <action>maincpu.mb@014377=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@01436E=temp0 </action>
      <action>maincpu.mb@014377=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Hit Anywhere (Both Players)">
    <script state="on">
      <action>temp0 =maincpu.mw@00377E</action>
    </script>
    <script state="run">
      <action>maincpu.mw@00377E=6002</action> <!-- This ROM cheat was made by nolberto82 -->
    </script>
    <script state="off">
      <action>maincpu.mw@00377E=temp0 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@108239=67</action>
    </script>
  </cheat>

  <cheat desc="-= 'Advanced' Mode Cheats =-"/>

  <cheat desc="Infinite Power PL1">
    <script state="run">
      <action>maincpu.pb@1082E3=03</action>
      <action>maincpu.pb@1081EA=40</action>
      <action>maincpu.pb@10825F=23</action>
      <action>maincpu.pb@1081E0=10|(maincpu.pb@1081E0 BAND ~10)</action>
    </script>
  </cheat>

  <cheat desc="-= 'Extra' Mode cheats =-"/>

  <cheat desc="Maximum Power PL1">
    <script state="run">
      <action>maincpu.pb@1081E0=10|(maincpu.pb@1081E0 BAND ~10)</action>
      <action>maincpu.pb@1081E8=81</action>
      <action>maincpu.pb@1081EA=3F</action>
      <action>maincpu.pb@10824D=04</action>
    </script>
  </cheat>

  <cheat desc="Never Get Dizzied PL1">
    <script state="run">
      <action>maincpu.pb@10823F=67</action>
    </script>
  </cheat>

  <cheat desc="Every Hit Will Dizzy PL1">
    <script state="run">
      <action>maincpu.pb@10823F=00</action>
    </script>
  </cheat>

  <cheat desc="Never Get Guard Crushed PL1">
    <script state="run">
      <action>maincpu.pb@108247=67</action>
    </script>
  </cheat>

  <cheat desc="Every Block Will Guard Crush PL1">
    <script state="run">
      <action>maincpu.pb@108247=00</action>
    </script>
  </cheat>

  <cheat desc="Select Mode PL1">
    <parameter>
      <item value="0x00">Advanced Mode</item>
      <item value="0x01">Extra Mode</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A849=param</action>
    </script>
  </cheat>

  <!--   Apply following cheat after team order selection or between rounds -->
  <!--   In team play, will determine which member in your team fights -->
  <!--   ie. 0 - first in team order fights, 2 - third in team order fights -->

  <cheat desc="Select Rounds Lost PL1">
    <parameter min="0" max="2" step="1"/>
    <script state="run">
      <action>maincpu.pb@10A84A=(param)</action>
    </script>
  </cheat>

  <cheat desc="Select Character (A) PL1"> <comment>This refers to the first character selected.</comment>
    <parameter>
      <item value="0x00">Kyo Kusanagi</item>
      <item value="0x01">Benimaru Nikaido</item>
      <item value="0x02">Goro Daimon</item>
      <item value="0x03">Terry Bogard</item>
      <item value="0x04">Andy Bogard</item>
      <item value="0x05">Joe Higashi</item>
      <item value="0x06">Ryo Sakazaki</item>
      <item value="0x07">Robert Garcia</item>
      <item value="0x08">Yuri Sakazaki</item>
      <item value="0x09">Leona</item>
      <item value="0x0A">Ralf Jones</item>
      <item value="0x0B">Clark Steel</item>
      <item value="0x0C">Athena Asamiya</item>
      <item value="0x0D">Sie Kensou</item>
      <item value="0x0E">Chin Gentsai</item>
      <item value="0x0F">Chizuru Kagura</item>
      <item value="0x10">Mai Shiranui</item>
      <item value="0x11">King</item>
      <item value="0x12">Kim Kaphwan</item>
      <item value="0x13">Chang Koehan</item>
      <item value="0x14">Choi Bounge</item>
      <item value="0x15">Yashiro Nanakase</item>
      <item value="0x16">Shermie</item>
      <item value="0x17">Chris</item>
      <item value="0x18">Ryuji Yamazaki</item>
      <item value="0x19">Blue Mary</item>
      <item value="0x1A">Billy Kane</item>
      <item value="0x1B">Iori Yagami</item>
      <item value="0x1C">#Orochi Iori</item>
      <item value="0x1D">#Orochi Leona</item>
      <item value="0x1E">#Orochi</item>
      <item value="0x1F">Shingo Yabuki</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A84B=param</action>
    </script>
  </cheat>

  <cheat desc="Select Character (B) PL1"> <comment>This refers to the second character selected.</comment>
    <parameter>
      <item value="0x00">Kyo Kusanagi</item>
      <item value="0x01">Benimaru Nikaido</item>
      <item value="0x02">Goro Daimon</item>
      <item value="0x03">Terry Bogard</item>
      <item value="0x04">Andy Bogard</item>
      <item value="0x05">Joe Higashi</item>
      <item value="0x06">Ryo Sakazaki</item>
      <item value="0x07">Robert Garcia</item>
      <item value="0x08">Yuri Sakazaki</item>
      <item value="0x09">Leona</item>
      <item value="0x0A">Ralf Jones</item>
      <item value="0x0B">Clark Steel</item>
      <item value="0x0C">Athena Asamiya</item>
      <item value="0x0D">Sie Kensou</item>
      <item value="0x0E">Chin Gentsai</item>
      <item value="0x0F">Chizuru Kagura</item>
      <item value="0x10">Mai Shiranui</item>
      <item value="0x11">King</item>
      <item value="0x12">Kim Kaphwan</item>
      <item value="0x13">Chang Koehan</item>
      <item value="0x14">Choi Bounge</item>
      <item value="0x15">Yashiro Nanakase</item>
      <item value="0x16">Shermie</item>
      <item value="0x17">Chris</item>
      <item value="0x18">Ryuji Yamazaki</item>
      <item value="0x19">Blue Mary</item>
      <item value="0x1A">Billy Kane</item>
      <item value="0x1B">Iori Yagami</item>
      <item value="0x1C">#Orochi Iori</item>
      <item value="0x1D">#Orochi Leona</item>
      <item value="0x1E">#Orochi</item>
      <item value="0x1F">Shingo Yabuki</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A84C=param</action>
    </script>
  </cheat>

  <cheat desc="Select Character (C) PL1"> <comment>This refers to the third character selected.</comment>
    <parameter>
      <item value="0x00">Kyo Kusanagi</item>
      <item value="0x01">Benimaru Nikaido</item>
      <item value="0x02">Goro Daimon</item>
      <item value="0x03">Terry Bogard</item>
      <item value="0x04">Andy Bogard</item>
      <item value="0x05">Joe Higashi</item>
      <item value="0x06">Ryo Sakazaki</item>
      <item value="0x07">Robert Garcia</item>
      <item value="0x08">Yuri Sakazaki</item>
      <item value="0x09">Leona</item>
      <item value="0x0A">Ralf Jones</item>
      <item value="0x0B">Clark Steel</item>
      <item value="0x0C">Athena Asamiya</item>
      <item value="0x0D">Sie Kensou</item>
      <item value="0x0E">Chin Gentsai</item>
      <item value="0x0F">Chizuru Kagura</item>
      <item value="0x10">Mai Shiranui</item>
      <item value="0x11">King</item>
      <item value="0x12">Kim Kaphwan</item>
      <item value="0x13">Chang Koehan</item>
      <item value="0x14">Choi Bounge</item>
      <item value="0x15">Yashiro Nanakase</item>
      <item value="0x16">Shermie</item>
      <item value="0x17">Chris</item>
      <item value="0x18">Ryuji Yamazaki</item>
      <item value="0x19">Blue Mary</item>
      <item value="0x1A">Billy Kane</item>
      <item value="0x1B">Iori Yagami</item>
      <item value="0x1C">#Orochi Iori#</item>
      <item value="0x1D">#Orochi Leona#</item>
      <item value="0x1E">#Orochi#</item>
      <item value="0x1F">Shingo Yabuki</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A84D=param</action>
    </script>
  </cheat>

  <!--  Use only for Kyo, Yashiro, Shermie, or Chris -->
  <!--  Assumes that the regular version character is selected.  IE, select Kyo, turn on the cheat, and Kyo becomes 94-Kyo.  Changes take effect between rounds. -->

  <cheat desc="Use Alternate Version Character PL1 (A)"> <comment>This refers to the first character selected.</comment>
    <script state="run">
      <action>maincpu.pb@10A857=01|(maincpu.pb@10A857 BAND ~01)</action>
    </script>
  </cheat>

  <cheat desc="Use Alternate Version Character PL1 (B)"> <comment>This refers to the second character selected.</comment>
    <script state="run">
      <action>maincpu.pb@10A857=02|(maincpu.pb@10A857 BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc="Use Alternate Version Character PL1 (C)"> <comment>This refers to the third character selected.</comment>
    <script state="run">
      <action>maincpu.pb@10A857=04|(maincpu.pb@10A857 BAND ~04)</action>
    </script>
  </cheat>

  <cheat desc="Select Colour PL1 (A)"> <comment>This refers to the first character selected.</comment>
    <parameter>
      <item value="0x00">A colour (Advanced Mode)</item>
      <item value="0x01">D colour (Advanced Mode)</item>
      <item value="0x02">A colour (Extra Mode)</item>
      <item value="0x03">D colour (Extra Mode)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A84E=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colour PL1 (B)"> <comment>This refers to the second character selected.</comment>
    <parameter>
      <item value="0x00">A colour (Advanced Mode)</item>
      <item value="0x01">D colour (Advanced Mode)</item>
      <item value="0x02">A colour (Extra Mode)</item>
      <item value="0x03">D colour (Extra Mode)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A84F=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colour PL1 (C)"> <comment>This refers to the third character selected.</comment>
    <parameter>
      <item value="0x00">A colour (Advanced Mode)</item>
      <item value="0x01">D colour (Advanced Mode)</item>
      <item value="0x02">A colour (Extra Mode)</item>
      <item value="0x03">D colour (Extra Mode)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A850=param</action>
    </script>
  </cheat>

  <cheat desc="Select First Character PL1"> <comment>This refers to the character that fights first</comment>
    <parameter>
      <item value="0x00">Character A</item>
      <item value="0x01">Character B</item>
      <item value="0x02">Character C</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A851=param</action> <!-- Second character selected -->
    </script>
  </cheat>

  <cheat desc="Select Second Character PL1"> <comment>This refers to the character that fights second</comment>
    <parameter>
      <item value="0x00">Character A</item>
      <item value="0x01">Character B</item>
      <item value="0x02">Character C</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A852=param</action> <!-- Second character selected -->
    </script>
  </cheat>

  <cheat desc="Select Third Character PL1"> <comment>This refers to the character that fights third</comment>
    <parameter>
      <item value="0x00">Character A</item>
      <item value="0x01">Character B</item>
      <item value="0x02">Character C</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A853=param</action> <!-- Second character selected -->
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@108439=67</action>
    </script>
  </cheat>

  <cheat desc="-= 'Advanced' Mode Cheats =-"/>

  <cheat desc="Infinite Power PL2">
    <script state="run">
      <action>maincpu.pb@1084E3=03</action>
      <action>maincpu.pb@1083EA=40</action>
      <action>maincpu.pb@10845F=23</action>
      <action>maincpu.pb@1083E0=10|(maincpu.pb@1083E0 BAND ~10)</action>
    </script>
  </cheat>

  <cheat desc="-= 'Extra' Mode cheats =-"/>

  <cheat desc="Maximum Power PL2">
    <script state="run">
      <action>maincpu.pb@1083E0=10|(maincpu.pb@1083E0 BAND ~10)</action>
      <action>maincpu.pb@1083E8=81</action>
      <action>maincpu.pb@1083EA=3F</action>
      <action>maincpu.pb@10844D=04</action>
    </script>
  </cheat>

  <cheat desc="Never Get Dizzied PL1">
    <script state="run">
      <action>maincpu.pb@10843F=67</action>
    </script>
  </cheat>

  <cheat desc="Every Hit Will Dizzy PL1">
    <script state="run">
      <action>maincpu.pb@10843F=00</action>
    </script>
  </cheat>

  <cheat desc="Never Get Guard Crushed PL1">
    <script state="run">
      <action>maincpu.pb@108447=67</action>
    </script>
  </cheat>

  <cheat desc="Every Block Will Guard Crush PL1">
    <script state="run">
      <action>maincpu.pb@108447=00</action>
    </script>
  </cheat>

  <cheat desc="Select Mode PL2">
    <parameter>
      <item value="0x00">Advanced Mode</item>
      <item value="0x01">Extra Mode</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A85A=param</action>
    </script>
  </cheat>

  <!--   Apply following cheat after team order selection or between rounds -->
  <!--   In team play, will determine which member in your team fights -->
  <!--   ie. 0 - first in team order fights, 2 - third in team order fights -->

  <cheat desc="Select Rounds Lost PL2">
    <parameter min="0" max="2" step="1"/>
    <script state="run">
      <action>maincpu.pb@10A84A=(param)</action>
    </script>
  </cheat>

  <cheat desc="Select Character (A) PL2"> <comment>This refers to the first character selected.</comment>
    <parameter>
      <item value="0x00">Kyo Kusanagi</item>
      <item value="0x01">Benimaru Nikaido</item>
      <item value="0x02">Goro Daimon</item>
      <item value="0x03">Terry Bogard</item>
      <item value="0x04">Andy Bogard</item>
      <item value="0x05">Joe Higashi</item>
      <item value="0x06">Ryo Sakazaki</item>
      <item value="0x07">Robert Garcia</item>
      <item value="0x08">Yuri Sakazaki</item>
      <item value="0x09">Leona</item>
      <item value="0x0A">Ralf Jones</item>
      <item value="0x0B">Clark Steel</item>
      <item value="0x0C">Athena Asamiya</item>
      <item value="0x0D">Sie Kensou</item>
      <item value="0x0E">Chin Gentsai</item>
      <item value="0x0F">Chizuru Kagura</item>
      <item value="0x10">Mai Shiranui</item>
      <item value="0x11">King</item>
      <item value="0x12">Kim Kaphwan</item>
      <item value="0x13">Chang Koehan</item>
      <item value="0x14">Choi Bounge</item>
      <item value="0x15">Yashiro Nanakase</item>
      <item value="0x16">Shermie</item>
      <item value="0x17">Chris</item>
      <item value="0x18">Ryuji Yamazaki</item>
      <item value="0x19">Blue Mary</item>
      <item value="0x1A">Billy Kane</item>
      <item value="0x1B">Iori Yagami</item>
      <item value="0x1C">#Orochi Iori#</item>
      <item value="0x1D">#Orochi Leona#</item>
      <item value="0x1E">#Orochi#</item>
      <item value="0x1F">Shingo Yabuki</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A85C=param</action>
    </script>
  </cheat>

  <cheat desc="Select Character (B) PL2"> <comment>This refers to the second character selected.</comment>
    <parameter>
      <item value="0x00">Kyo Kusanagi</item>
      <item value="0x01">Benimaru Nikaido</item>
      <item value="0x02">Goro Daimon</item>
      <item value="0x03">Terry Bogard</item>
      <item value="0x04">Andy Bogard</item>
      <item value="0x05">Joe Higashi</item>
      <item value="0x06">Ryo Sakazaki</item>
      <item value="0x07">Robert Garcia</item>
      <item value="0x08">Yuri Sakazaki</item>
      <item value="0x09">Leona</item>
      <item value="0x0A">Ralf Jones</item>
      <item value="0x0B">Clark Steel</item>
      <item value="0x0C">Athena Asamiya</item>
      <item value="0x0D">Sie Kensou</item>
      <item value="0x0E">Chin Gentsai</item>
      <item value="0x0F">Chizuru Kagura</item>
      <item value="0x10">Mai Shiranui</item>
      <item value="0x11">King</item>
      <item value="0x12">Kim Kaphwan</item>
      <item value="0x13">Chang Koehan</item>
      <item value="0x14">Choi Bounge</item>
      <item value="0x15">Yashiro Nanakase</item>
      <item value="0x16">Shermie</item>
      <item value="0x17">Chris</item>
      <item value="0x18">Ryuji Yamazaki</item>
      <item value="0x19">Blue Mary</item>
      <item value="0x1A">Billy Kane</item>
      <item value="0x1B">Iori Yagami</item>
      <item value="0x1C">#Orochi Iori#</item>
      <item value="0x1D">#Orochi Leona#</item>
      <item value="0x1E">#Orochi#</item>
      <item value="0x1F">Shingo Yabuki</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A85D=param</action>
    </script>
  </cheat>

  <cheat desc="Select Character (C) PL2"> <comment>This refers to the third character selected.</comment>
    <parameter>
      <item value="0x00">Kyo Kusanagi</item>
      <item value="0x01">Benimaru Nikaido</item>
      <item value="0x02">Goro Daimon</item>
      <item value="0x03">Terry Bogard</item>
      <item value="0x04">Andy Bogard</item>
      <item value="0x05">Joe Higashi</item>
      <item value="0x06">Ryo Sakazaki</item>
      <item value="0x07">Robert Garcia</item>
      <item value="0x08">Yuri Sakazaki</item>
      <item value="0x09">Leona</item>
      <item value="0x0A">Ralf Jones</item>
      <item value="0x0B">Clark Steel</item>
      <item value="0x0C">Athena Asamiya</item>
      <item value="0x0D">Sie Kensou</item>
      <item value="0x0E">Chin Gentsai</item>
      <item value="0x0F">Chizuru Kagura</item>
      <item value="0x10">Mai Shiranui</item>
      <item value="0x11">King</item>
      <item value="0x12">Kim Kaphwan</item>
      <item value="0x13">Chang Koehan</item>
      <item value="0x14">Choi Bounge</item>
      <item value="0x15">Yashiro Nanakase</item>
      <item value="0x16">Shermie</item>
      <item value="0x17">Chris</item>
      <item value="0x18">Ryuji Yamazaki</item>
      <item value="0x19">Blue Mary</item>
      <item value="0x1A">Billy Kane</item>
      <item value="0x1B">Iori Yagami</item>
      <item value="0x1C">#Orochi Iori#</item>
      <item value="0x1D">#Orochi Leona#</item>
      <item value="0x1E">#Orochi#</item>
      <item value="0x1F">Shingo Yabuki</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A85E=param</action>
    </script>
  </cheat>

  <!--  Use only for Kyo, Yashiro, Shermie, or Chris -->
  <!--  Assumes that the regular version character is selected.  IE, select Kyo, turn on the cheat, and Kyo becomes 94-Kyo.  Changes take effect between rounds. -->

  <cheat desc="Use Alternate Version Character PL2 (A)"> <comment>This refers to the first character selected.</comment>
    <script state="run">
      <action>maincpu.pb@10A868=01|(maincpu.pb@10A868 BAND ~01)</action>
    </script>
  </cheat>

  <cheat desc="Use Alternate Version Character PL2 (B)"> <comment>This refers to the second character selected.</comment>
    <script state="run">
      <action>maincpu.pb@10A868=02|(maincpu.pb@10A868 BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc="Use Alternate Version Character PL2 (C)"> <comment>This refers to the third character selected.</comment>
    <script state="run">
      <action>maincpu.pb@10A868=04|(maincpu.pb@10A868 BAND ~04)</action>
    </script>
  </cheat>

  <cheat desc="Select Colour PL1 (A)"> <comment>This refers to the first character selected.</comment>
    <parameter>
      <item value="0x00">A colour (Advanced Mode)</item>
      <item value="0x01">D colour (Advanced Mode)</item>
      <item value="0x02">A colour (Extra Mode)</item>
      <item value="0x03">D colour (Extra Mode)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A85F=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colour PL1 (B)"> <comment>This refers to the second character selected.</comment>
    <parameter>
      <item value="0x00">A colour (Advanced Mode)</item>
      <item value="0x01">D colour (Advanced Mode)</item>
      <item value="0x02">A colour (Extra Mode)</item>
      <item value="0x03">D colour (Extra Mode)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A860=param</action>
    </script>
  </cheat>

  <cheat desc="Select Colour PL1 (C)"> <comment>This refers to the third character selected.</comment>
    <parameter>
      <item value="0x00">A colour (Advanced Mode)</item>
      <item value="0x01">D colour (Advanced Mode)</item>
      <item value="0x02">A colour (Extra Mode)</item>
      <item value="0x03">D colour (Extra Mode)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A861=param</action>
    </script>
  </cheat>

  <cheat desc="Select First Character PL2"> <comment>This refers to the character that fights first</comment>
    <parameter>
      <item value="0x00">Character A</item>
      <item value="0x01">Character B</item>
      <item value="0x02">Character C</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A862=param</action> <!-- Second character selected -->
    </script>
  </cheat>

  <cheat desc="Select Second Character PL2"> <comment>This refers to the character that fights second</comment>
    <parameter>
      <item value="0x00">Character A</item>
      <item value="0x01">Character B</item>
      <item value="0x02">Character C</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A863=param</action> <!-- Second character selected -->
    </script>
  </cheat>

  <cheat desc="Select Third Character PL2"> <comment>This refers to the character that fights third</comment>
    <parameter>
      <item value="0x00">Character A</item>
      <item value="0x01">Character B</item>
      <item value="0x02">Character C</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10A864=param</action> <!-- Second character selected -->
    </script>
  </cheat>

  <cheat desc=" "/>

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

  <cheat desc="Hide Background"> <comment>Activate before match start</comment>
    <script state="on">
      <action>
        temp0=maincpu.pb@10009B,
        temp1=maincpu.pb@10A788,
        temp2=maincpu.pb@10A83E,
        temp3=maincpu.rw@024884
      </action>
    </script>
    <script state="run">
      <action condition="(maincpu.pb@10A786 != 0 and maincpu.pb@10A83F == 00)"> <!--activate only during match-->
        maincpu.pb@10009B=00, <!--flashing text-->
        maincpu.pb@10A788=temp1 bor 80, <!--BG layers-->
        maincpu.pb@10A83E=temp2 bor 80, <!--portraits-->
        maincpu.ow@024884=008F, <!--HUD-->
        maincpu.pw@10D934=8F8F <!--BG color (pink)-->
      </action>
    </script>
    <script state="off">
      <action>
        maincpu.pb@10009B=temp0,
        maincpu.pb@10A788=temp1,
        maincpu.pb@10A83E=temp2,
        maincpu.ow@024884=temp3
      </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. -->
