[tmkombat] Mortal Kombat (handheld)
Posted: Sun May 03, 2020 10:47 pm
Hi, this is my first contribution to the code database, so any comments or recommendations are welcome.
File: tmkombat.xml
File: tmkombat.xml
Code: Select all
<mamecheat version="1">
<cheat desc="Infinite Time">
<script state="on">
<action>temp0 =maincpu.dw@0000103B</action>
</script>
<script state="run">
<action>maincpu.dw@0000103B=0909</action>
</script>
<script state="off">
<action>maincpu.dw@0000103B=temp0 </action>
</script>
</cheat>
<cheat desc="Left Player Infinite Health"> <comment>Sub-Zero, Kano, Rayden, Scorpion.</comment>
<script state="on">
<action>temp0 =maincpu.dw@00001001</action>
</script>
<script state="run">
<action>maincpu.dw@00001001=0505</action>
</script>
<script state="off">
<action>maincpu.dw@00001001=temp0 </action>
</script>
</cheat>
<cheat desc="Right Player Infinite Health"> <comment>Liu Kang, Sonya, Johnny Cage, Goro, Shang Tsung.</comment>
<script state="on">
<action>temp0 =maincpu.dw@00001011</action>
</script>
<script state="run">
<action>maincpu.dw@00001011=0505</action>
</script>
<script state="off">
<action>maincpu.dw@00001011=temp0 </action>
</script>
</cheat>
<cheat desc="Left Player Drain All Energy Now!"> <comment>Sub-Zero, Kano, Rayden, Scorpion.</comment>
<script state="on">
<action>maincpu.dw@00001001=0000</action>
</script>
</cheat>
<cheat desc="Right Player Drain All Energy Now!"> <comment>Liu Kang, Sonya, Johnny Cage, Goro.</comment>
<script state="on">
<action>maincpu.dw@00001011=0000</action>
</script>
</cheat>
<cheat desc="P1 Select Character"> <comment>This code makes sense to activate before the game.</comment>
<parameter>
<item value="0x00">Sub-Zero</item>
<item value="0x01">Kano</item>
<item value="0x02">Rayden</item>
<item value="0x03">Scorpion</item>
<item value="0x04">Liu Kang</item>
<item value="0x05">Sonya Blade</item>
<item value="0x06">Johnny Cage</item>
<item value="0x07">#Goro</item>
</parameter>
<script state="on">
<action>temp0 =maincpu.db@00001022</action>
</script>
<script state="run">
<action>maincpu.db@00001022=param</action>
</script>
<script state="off">
<action>maincpu.db@00001022=temp0 </action>
</script>
</cheat>
<cheat desc="Select Opponent Character"> <comment>This code makes sense to activate before the game. Choose from opposite team.</comment>
<parameter>
<item value="0x00">Sub-Zero</item>
<item value="0x01">Kano</item>
<item value="0x02">Rayden</item>
<item value="0x03">Scorpion</item>
<item value="0x04">Liu Kang</item>
<item value="0x05">Sonya Blade</item>
<item value="0x06">Johnny Cage</item>
<item value="0x07">#Goro</item>
</parameter>
<script state="on">
<action>temp0 =maincpu.db@00001023</action>
</script>
<script state="run">
<action>maincpu.db@00001023=param</action>
</script>
<script state="off">
<action>maincpu.db@00001023=temp0 </action>
</script>
</cheat>
<cheat desc="Status Display">
<parameter>
<item value="0x00">Time/Score</item>
<item value="0x02">Score only</item>
<item value="0x08">Time only</item>
</parameter>
<script state="run">
<action>maincpu.db@00001000=param</action>
</script>
<script state="off">
<action>maincpu.db@00001000=0 </action>
</script>
</cheat>
<cheat desc="Set Maximal Score">
<script state="on">
<action>maincpu.db@00001028=09</action>
<action>maincpu.dw@00001029=0909</action>
</script>
</cheat>
</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->