<mamecheat version="1">

  <cheat desc="Infinite Time">
    <script state="on">
      <action>temp0 =maincpu.md@000169C</action>
    </script>
    <script state="run">
      <action>maincpu.md@000169C=0300C0D7</action>
    </script>
    <script state="off">
      <action>maincpu.md@000169C=temp0 </action>
    </script>
  </cheat>

  <!--  Unlock Codes not working use Character Selection instead -->
  <!--  :mk3r20:40800001:281084:000000ED:FFFFFFFF:Unlock Smoke:Delete your nvram/mk3r20.nv before you use this. Ignore warning then apply cheat and reset. Voila! -->
  <!--  :mk3r20:40810001:281086:000000B0:FFFFFFFF:Unlock Smoke (2/4) -->
  <!--  :mk3r20:40810001:281160:000000FD:FFFFFFFF:Unlock Smoke (3/4):Checksum for default nvram + Smoke -->
  <!--  :mk3r20:40810001:281162:000000C5:FFFFFFFF:Unlock Smoke (4/4):Checksum -->
  <cheat desc="Select Kombat Code"> <comment>It may cause palette corruption if enabled before the battle screen.</comment>
    <parameter>
      <item value="0x01">Galaxian</item>
      <item value="0x02">Half Energy PL1</item>
      <item value="0x03">Quarter Energy PL1</item>
      <item value="0x04">Half Energy PL2</item>
      <item value="0x05">Quarter Energy PL2</item>
      <item value="0x06">Blocking Disabled</item>
      <item value="0x07">Throwing Disabled</item>
      <item value="0x08">No Powerbars</item>
      <item value="0x09">No Fear</item>
      <item value="0x10">Infinite Run</item>
      <item value="0x11">Dark Kombat</item>
      <item value="0x12">Randper Kombat (Method 1)</item>
      <item value="0x13">Psycho Kombat</item>
      <item value="0x14">Winner Battles Shao Kahn</item>
      <item value="0x15">Winner Battles Smoke</item>
      <item value="0x16">Winner Battles Noob Saibot</item>
      <item value="0x17">Winner Battles Montaro</item>
      <item value="0x18">Message - There's No Knowledge That's Not Power</item>
      <item value="0x19">Message - Hold Flippers During Casino Run</item>
    </parameter>
    <script state="on">
      <action>temp0 =maincpu.mw@0001BE4</action>
      <action>temp1 =maincpu.md@0001BE6</action>
      <action>temp2 =maincpu.mw@0001BEC</action>
    </script>
    <script state="run">
      <action>maincpu.mw@0001BE4=09E5</action> <!-- This piece of the code is the write instructions -->
      <action>maincpu.mw@0001BEC=0300</action> <!-- A 'NOP' -->
      <action condition="(param==01)">maincpu.md@0001BE6=00642468</action> <!-- This is the kombat kode, easy-ified -->
      <action condition="(param==02)">maincpu.md@0001BE6=00033000</action>
      <action condition="(param==03)">maincpu.md@0001BE6=00707000</action>
      <action condition="(param==04)">maincpu.md@0001BE6=00000033</action>
      <action condition="(param==05)">maincpu.md@0001BE6=00000707</action>
      <action condition="(param==06)">maincpu.md@0001BE6=00020020</action>
      <action condition="(param==07)">maincpu.md@0001BE6=00100100</action>
      <action condition="(param==08)">maincpu.md@0001BE6=00987123</action>
      <action condition="(param==09)">maincpu.md@0001BE6=00282282</action>
      <action condition="(param==10)">maincpu.md@0001BE6=00466466</action>
      <action condition="(param==11)">maincpu.md@0001BE6=00688422</action>
      <action condition="(param==12)">maincpu.md@0001BE6=00460460</action>
      <action condition="(param==13)">maincpu.md@0001BE6=00985125</action>
      <action condition="(param==14)">maincpu.md@0001BE6=00033564</action>
      <action condition="(param==15)">maincpu.md@0001BE6=00205205</action>
      <action condition="(param==16)">maincpu.md@0001BE6=00769342</action>
      <action condition="(param==17)">maincpu.md@0001BE6=00969141</action>
      <action condition="(param==18)">maincpu.md@0001BE6=00123926</action>
      <action condition="(param==19)">maincpu.md@0001BE6=00987666</action>
    </script>
    <script state="off">
      <action>maincpu.mw@0001BE4=temp0 </action>
      <action>maincpu.md@0001BE6=temp1 </action>
      <action>maincpu.mw@0001BEC=temp2 </action>
    </script>
  </cheat>


  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@1060A40=A6</action>
    </script>
  </cheat>

  <cheat desc="Drain all Energy Now! PL1"> <comment>(Use AFTER fight start!)</comment>
    <script state="on">
      <action>maincpu.pb@1060A40=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Turbo PL1">
    <script state="run">
      <action>maincpu.pb@1060A50=30</action>
    </script>
  </cheat>

  <cheat desc="Select Character PL1">
    <parameter>
      <item value="0x00">Kano</item>
      <item value="0x01">Sonya</item>
      <item value="0x02">Jax</item>
      <item value="0x03">Nightwolf</item>
      <item value="0x04">Sub-Zero</item>
      <item value="0x05">Stryker</item>
      <item value="0x06">Sindel</item>
      <item value="0x07">Sektor</item>
      <item value="0x08">Cyrax</item>
      <item value="0x09">Kung Lao</item>
      <item value="0x0A">Kabal</item>
      <item value="0x0B">Sheeva</item>
      <item value="0x0C">Shang Tsung</item>
      <item value="0x0D">Liu Kang</item>
      <item value="0x0E">#Smoke#</item>
      <item value="0x0F">Motaro</item>
      <item value="0x10">Shao Kahn</item>
      <item value="0x11">Noob Saibot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1060A10=param</action>
    </script>
  </cheat>

  <cheat desc="Select Body Move Set PL1">
    <parameter>
      <item value="0x00">Kano</item>
      <item value="0x01">Sonya</item>
      <item value="0x02">Jax</item>
      <item value="0x03">Nightwolf</item>
      <item value="0x04">Sub-Zero</item>
      <item value="0x05">Stryker</item>
      <item value="0x06">Sindel</item>
      <item value="0x07">Sektor</item>
      <item value="0x08">Cyrax</item>
      <item value="0x09">Kung Lao</item>
      <item value="0x0A">Kabal</item>
      <item value="0x0B">Sheeva</item>
      <item value="0x0C">Shang Tsung</item>
      <item value="0x0D">Liu Kang</item>
      <item value="0x0E">#Smoke#</item>
      <item value="0x0F">Motaro</item>
      <item value="0x10">Shao Kahn</item>
      <item value="0x11">Noob Saibot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1030640=param</action>
      <action>maincpu.pb@102F7D0=param</action>
      <action>maincpu.pb@1031AE0=param</action>
      <action>maincpu.pb@102FBF0=param</action>
      <action>maincpu.pb@1038E60=param</action>
      <action>maincpu.pb@10335B0=param</action>
      <action>maincpu.pb@1030C70=param</action>
      <action>maincpu.pb@10318D0=param</action>
      <action>maincpu.pb@1036940=param</action>
      <action>maincpu.pb@1033BE0=param</action>
      <action>maincpu.pb@10398B0=param</action>
      <action>maincpu.pb@1036F70=param</action>
      <action>maincpu.pb@10316C0=param</action>
      <action>maincpu.pb@1030220=param</action>
      <action>maincpu.pb@102F1A0=param</action>
      <action>maincpu.pb@102E330=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@10615F0=A6</action>
    </script>
  </cheat>

  <cheat desc="Drain all Energy Now! PL2"> <comment>(Use AFTER fight start!)</comment>
    <script state="on">
      <action>maincpu.pb@10615F0=00</action>
    </script>
  </cheat>

  <cheat desc="Infinite Turbo PL2">
    <script state="run">
      <action>maincpu.pb@1061600=30</action>
    </script>
  </cheat>

  <cheat desc="Select Character PL2">
    <parameter>
      <item value="0x00">Kano</item>
      <item value="0x01">Sonya</item>
      <item value="0x02">Jax</item>
      <item value="0x03">Nightwolf</item>
      <item value="0x04">Sub-Zero</item>
      <item value="0x05">Stryker</item>
      <item value="0x06">Sindel</item>
      <item value="0x07">Sektor</item>
      <item value="0x08">Cyrax</item>
      <item value="0x09">Kung Lao</item>
      <item value="0x0A">Kabal</item>
      <item value="0x0B">Sheeva</item>
      <item value="0x0C">Shang Tsung</item>
      <item value="0x0D">Liu Kang</item>
      <item value="0x0E">#Smoke#</item>
      <item value="0x0F">Motaro</item>
      <item value="0x10">Shao Kahn</item>
      <item value="0x11">Noob Saibot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10615C0=param</action>
    </script>
  </cheat>

  <cheat desc="Select Body Move Set PL2">
    <parameter>
      <item value="0x00">Kano</item>
      <item value="0x01">Sonya</item>
      <item value="0x02">Jax</item>
      <item value="0x03">Nightwolf</item>
      <item value="0x04">Sub-Zero</item>
      <item value="0x05">Stryker</item>
      <item value="0x06">Sindel</item>
      <item value="0x07">Sektor</item>
      <item value="0x08">Cyrax</item>
      <item value="0x09">Kung Lao</item>
      <item value="0x0A">Kabal</item>
      <item value="0x0B">Sheeva</item>
      <item value="0x0C">Shang Tsung</item>
      <item value="0x0D">Liu Kang</item>
      <item value="0x0E">#Smoke#</item>
      <item value="0x0F">Motaro</item>
      <item value="0x10">Shao Kahn</item>
      <item value="0x11">Noob Saibot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1030850=param</action>
      <action>maincpu.pb@102F9E0=param</action>
      <action>maincpu.pb@1031CF0=param</action>
      <action>maincpu.pb@102FE00=param</action>
      <action>maincpu.pb@1039070=param</action>
      <action>maincpu.pb@10337C0=param</action>
      <action>maincpu.pb@1030E80=param</action>
      <action>maincpu.pb@1036730=param</action>
      <action>maincpu.pb@10339D0=param</action>
      <action>maincpu.pb@10396A0=param</action>
      <action>maincpu.pb@1036D60=param</action>
      <action>maincpu.pb@10314B0=param</action>
      <action>maincpu.pb@1030010=param</action>
      <action>maincpu.pb@102EF90=param</action>
      <action>maincpu.pb@102E120=param</action>
      <action>maincpu.pb@102F3B0=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="---------------------------------------------------"/>
  <cheat desc="Start a 2 Player game after activating this cheat"/>
  <cheat desc="---------------------------------------------------"/>

  <cheat desc="Always Play Galaxian Before Match">
    <script state="run">
      <action>maincpu.pb@1062290=64</action>
    </script>
  </cheat>

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