[dorachan] Dora-chan

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

[dorachan] Dora-chan

Post by jman »

Code: Select all

<cheat desc="invincibility">
    <script state="on">
        <action>maincpu.md@0132 =         f171d0cd</action>
        <action>maincpu.mq@71D0 = 32033857FE185C3A</action>
        <action>maincpu.mq@71D8 = 0000000000C918F6</action>
        <!--
        71d0 | 3a 5c 18 : ld  a,($185C)
        71d3 | fe 57    : cp  $57
        71d5 | 38 03    : jr  c,$71DA
        71d7 | 32 f6 18 : ld  ($18F6),a
        71da | c9       : ret
        -->
    </script>
    <script state="off">
        <action>maincpu.md@0132 =         f118f632</action>
        <action>maincpu.mq@71D0 = 0000000000000000</action>
        <action>maincpu.mq@71D8 = 0000000000000000</action>
    </script>
</cheat>

<cheat desc="timer speed">
    <parameter>
        <item value="0xff">01 (slow)</item>
        <item value="0x80">02       </item>
        <item value="0x40">03       </item>
        <item value="0x10">04       </item>
        <item value="0x01">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>maincpu.mb@0f0b = param</action>
    </script>
    <script state="off">
        <action>maincpu.mb@0f0b = 37</action>
    </script>
</cheat>
"invincibility" is not "no hit" because objects (enemy, tree, wall) disappear unilaterally on hitting.
Post Reply