[rkjanoh2] Royal King Jang Oh 2

This forum is for posting M.A.M.E. Work In Progress "Arcade"cheats that are not quite ready for the prime time. If the cheats are buggy or the cheat descriptions are non-standard then please post them here. Help maybe given but there are no guarantees and they will only be added to the cheat file when the cheat file maintainer is happy with them.
Post Reply
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

[rkjanoh2] Royal King Jang Oh 2

Post by jman »

rkjanoh2 is playable in 0.235.

Code: Select all

<cheat desc="winning hand">
    <script state="on">
        <action>maincpu.mw@357d =             69a0</action> <!-- tsumo -->
        <action>maincpu.mw@37de =             69a7</action> <!-- ron -->
        <action>maincpu.mq@69a0 = cdc94488cd69aecd</action>
        <action>maincpu.mq@69a8 = c521c94aa4cd69ae</action>
        <action>maincpu.mq@69b0 = ed000e0170011169</action>
        <action>maincpu.mq@69b8 = 0170c01169d321b0</action>
        <action>maincpu.mq@69c0 = 313131c9b0ed0004</action>
        <action>maincpu.mq@69c8 = 3b3b3b3a3a3a3232</action>
        <action>maincpu.mq@69d0 = ff3c3b3a313c3c3c</action>
        <!--
        69a0 | cd ae 69 : call $69ae    // tsumo
        69a3 | cd 88 44 : call $4488
        69a6 | c9       : ret
        69a7 | cd ae 69 : call $69ae    // ron
        69aa | cd a4 4a : call $4aa4
        69ad | c9       : ret
        69ae | 21 c5 69 : ld   hl,$69c5 // tile data copied from table 1
        69b1 | 11 01 70 : ld   de,$7001
        69b4 | 01 0e 00 : ld   bc,$000e
        69b7 | ed b0    : ldir
        69b9 | 21 d3 69 : ld   hl,$69d3 // tile data copied from table 2
        69bc | 11 c0 70 : ld   de,$70c0
        69bf | 01 04 00 : ld   bc,$0004
        69c2 | ed b0    : ldir
        69c4 | c9       : ret
        69c5 - 69d2     : table 1
        69d3 - 69d6     : table 2
        -->
    </script>
    <script state="off">
        <action>maincpu.mw@357d =             4488</action>
        <action>maincpu.mw@37de =             4aa4</action>
        <action>maincpu.mq@69a0 = ffffffffffffffff</action>
        <action>maincpu.mq@69a8 = ffffffffffffffff</action>
        <action>maincpu.mq@69b0 = ffffffffffffffff</action>
        <action>maincpu.mq@69b8 = ffffffffffffffff</action>
        <action>maincpu.mq@69c0 = ffffffffffffffff</action>
        <action>maincpu.mq@69c8 = ffffffffffffffff</action>
        <action>maincpu.mq@69d0 = ffffffffffffffff</action>
    </script>
</cheat>
Post Reply