Code: Select all
<cheat desc="winning hand">
<script state="on">
<action>maincpu.mw@313b = 5200</action>
<action>maincpu.pq@5200 = 0e01509f11520f21</action>
<action>maincpu.pq@5208 = 1fc930b4cdb0ed00</action>
<action>maincpu.pq@5210 = 2423232320201f1f</action>
<action>maincpu.pq@5218 = 0000002525252424</action>
<!--
5200 | 21 0f 52 : ld hl,$520F
5203 | 11 9f 50 : ld de,$509F
5206 | 01 0e 00 : ld bc,$000E
5209 | ed b0 : ldir
520b | cd b4 30 : call $30B4
520e | c9 : ret
520f - 521c : tile table
-->
</script>
<script state="off">
<action>maincpu.mw@313b = 30b4</action>
<action>maincpu.pq@5200 = 0000000000000000</action>
<action>maincpu.pq@5208 = 0000000000000000</action>
<action>maincpu.pq@5210 = 0000000000000000</action>
<action>maincpu.pq@5218 = 0000000000000000</action>
</script>
</cheat>
Code: Select all
<cheat desc="infinite time">
<script state="run">
<action>maincpu.pw@5076 = 58f0</action>
</script>
</cheat>
<cheat desc="infinite score">
<script state="run">
<action>maincpu.pw@5078 = 7fff</action>
</script>
</cheat>