First time I've used an output arguement cheat for years....
tm.xml:-
Code: Select all
<mamecheat version="1">
<cheat desc="Infinite Credits">
<script state="run">
<action>maincpu.pb@28127F=63</action>
</script>
</cheat>
<cheat desc="Infinite Time"> <comment>NOTE: When you manually set this cheat OFF it will set the Time to a value so that the game will end quickly, you may need to do this at the start and/or end of certain games to continue.</comment>
<script state="run">
<action condition="(maincpu.pw@20000C GT 0010) AND (maincpu.pw@20000C LT 0FFF)">maincpu.pw@20000C=0000</action>
<action condition="(maincpu.pw@2003BE GT 0010) AND (maincpu.pw@2003BE LT 0FFF)">maincpu.pw@2003BE=0000</action>
<action condition="(maincpu.pw@202056 GT 0010) AND (maincpu.pw@202056 LT 0FFF)">maincpu.pw@202056=0000</action>
<action condition="(maincpu.pw@203068 GT 0010) AND (maincpu.pw@203068 LT 0FFF)">maincpu.pw@203068=0000</action>
</script>
<script state="off">
<action>maincpu.pw@20000C=3FFF</action>
<action>maincpu.pw@2003BE=3FFF</action>
<action>maincpu.pw@202056=3FFF</action>
<action>maincpu.pw@203068=(maincpu.pb@203072)-1</action>
</script>
</cheat>
<cheat desc="Display the Correct Answer"> <comment>Use in the Watch Your Language + Wordz Games, disable in other games so that it doesn't obscure the top of the screen</comment>
<script state="run">
<output format="Solution : %c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c">
<argument count="32">maincpu.pb@(20307D + argindex)</argument>
</output>
<output format=" %c%c%c%c%c%c%c%c%c%c">
<argument count="10">maincpu.pb@(20309D + argindex)</argument>
</output>
</script>
</cheat>
</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->