Code: Select all
<mamecheat version="1">
<cheat desc="Infinite Health">
<script state="on">
<action>temp0 =maincpu.pb@047d</action>
</script>
<script state="run">
<action>maincpu.pb@047d=1f</action>
</script>
<script state="off">
<action>maincpu.pb@047d=temp0 </action>
</script>
</cheat>
<cheat desc="Infinite Time">
<script state="on">
<action>temp0 =maincpu.pb@07d2c</action>
<action>maincpu.pb@07d2c=00</action>
</script>
<script state="off">
<action>maincpu.pb@07d2c=temp0 </action>
</script>
</cheat>
<cheat desc="Set boss health low">
<script state="on">
<action>temp0 =maincpu.pb@047e</action>
<action>temp1 =maincpu.pb@047f</action>
<action>temp2 =maincpu.pb@0480</action>
<action>maincpu.pb@047e=2</action>
<action>maincpu.pb@047f=2</action>
<action>maincpu.pb@0480=2</action>
</script>
<script state="off">
<action>maincpu.pb@047e=temp0 </action>
<action>maincpu.pb@047f=temp1 </action>
<action>maincpu.pb@0480=temp2 </action>
</script>
<comment>Last boss (Mr. X) needs to be killed quickly - he'll be unkillable after some time.</comment>
</cheat>
</mamecheat>