[mjmyorntr] Mahjong The Mysterious Orient Returns

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: 842
Joined: Tue Dec 01, 2020 1:24 pm

[mjmyorntr] Mahjong The Mysterious Orient Returns

Post by jman »

mjmyorntr is added in 0.244.

Code: Select all

<cheat desc="winning hand">
    <script state="on">
        <action>maincpu.mw@1e1ac =             e800</action> <!-- tsumo -->
        <action>maincpu.mw@1dc25 =             e807</action> <!-- ron -->
        <action>maincpu.mq@1e800 = cdc9ae0ecde80ecd</action>
        <action>maincpu.mq@1e808 = 1f21c9ae97cde80e</action>
        <action>maincpu.mq@1e810 = ed000e0172c011e8</action>
        <action>maincpu.mq@1e818 = 31c9754032373eb0</action>
        <action>maincpu.mq@1e820 = 3635353532323131</action>
        <action>maincpu.mq@1e828 = ffffff3737373636</action>
        <!--
        e800 | cd 0e e8 : call $E80E     // tsumo
        e803 | cd 0e ae : call $AE0E
        e806 | c9       : ret
        e807 | cd 0e e8 : call $E80E     // ron
        e80a | cd 97 ae : call $AE97
        e80d | c9       : ret
        e80e | 21 1f e8 : ld   hl,$E81F  // set player tile from table
        e811 | 11 c0 72 : ld   de,$72C0
        e814 | 01 0e 00 : ld   bc,$000E
        e817 | ed b0    : ldir
        e819 | 3e 37    : ld   a,$37     // set field tile for ron
        e81b | 32 40 75 : ld   ($7540),a
        e81e | c9       : ret
        e81f - e82c     : tile table
        -->
    </script>
    <script state="off">
        <action>maincpu.mw@1e1ac =             ae0e</action>
        <action>maincpu.mw@1dc25 =             ae97</action>
        <action>maincpu.mq@1e800 = ffffffffffffffff</action>
        <action>maincpu.mq@1e808 = ffffffffffffffff</action>
        <action>maincpu.mq@1e810 = ffffffffffffffff</action>
        <action>maincpu.mq@1e818 = ffffffffffffffff</action>
        <action>maincpu.mq@1e820 = ffffffffffffffff</action>
    </script>
</cheat>
Post Reply