[demoneye] Demoneye-X

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

[demoneye] Demoneye-X

Post by jman »

Code: Select all

<cheat desc="no hit">
    <script state="on">
        <action>maincpu.mb@9623 =   00</action> <!-- bullet -->
        <action>maincpu.mw@b7ab = 0590</action> <!-- enemy -->
    </script>
    <script state="off">
        <action>maincpu.mb@9623 =   2e</action>
        <action>maincpu.mw@b7ab = 86e6</action>
    </script>
</cheat>

<cheat desc="auto fire">
    <script state="on">
        <action>maincpu.md@921d =         08688020</action>
        <action>maincpu.mq@6880 = 1d8500a904f00429</action>
        <action>maincpu.mq@6888 = 000000604a4a4a8a</action>
        <!--
        6880 | 29 04 : and #$04
        6882 | f0 04 : beq $6888
        6884 | a9 00 : lda #$00
        6886 | 85 1d : sta $1d
        6888 | 8a    : txa
        6889 | 4a    : lsr a
        688a | 4a    : lsr a
        688b | 4a    : lsr a
        688c | 60    : rts
        -->
    </script>
    <script state="off">
        <action>maincpu.md@921d =         084a4a4a</action>
        <action>maincpu.mq@6880 = 0000000000000000</action>
        <action>maincpu.mq@6888 = 0000000000000000</action>
    </script>
</cheat>

<cheat desc="player speed">
    <parameter min="0x01" max="0x05" step="0x01" />
    <script state="on">
        <action>maincpu.mw@944a =             688f</action>
        <action>maincpu.mw@944c =             689c</action>
        <action>maincpu.mq@6890 = aa68bd02204800a9</action>
        <action>maincpu.mq@6898 = 4800a960f6d08aca</action>
        <action>maincpu.mq@68a0 = d08acaaa68982120</action>
        <action>maincpu.mq@68a8 = 00000000000060f6</action>
        <!--
        6890 | a9 xx    : lda #$xx
        6892 | 48       : pha
        6893 | 20 02 bd : jsr $bd02
        6896 | 68       : pla
        6897 | aa       : tax
        6898 | ca       : dex
        6899 | 8a       : txa
        689a | d0 f6    : bne $6892
        689c | 60       : rts
        689d | a9 xx    : lda #$xx
        689f | 48       : pha
        68a0 | 20 21 98 : jsr $9821
        68a3 | 68       : pla
        68a4 | aa       : tax
        68a5 | ca       : dex
        68a6 | 8a       : txa
        68a7 | d0 f6    : bne $689f
        68a9 | 60       : rts
        -->
    </script>
    <script state="change">
        <action>maincpu.mb@6891 = param</action>
        <action>maincpu.mb@689e = param</action>
    </script>
    <script state="off">
        <action>maincpu.mw@944a =             bd01</action>
        <action>maincpu.mw@944c =             9820</action>
        <action>maincpu.mq@6890 = 0000000000000000</action>
        <action>maincpu.mq@6898 = 0000000000000000</action>
        <action>maincpu.mq@68a0 = 0000000000000000</action>
        <action>maincpu.mq@68a8 = 0000000000000000</action>
    </script>
</cheat>

<cheat desc="bullet speed">
    <parameter min="0x01" max="0x05" step="0x01" />
    <script state="on">
        <action>maincpu.mw@9458 =             68af</action>
        <action>maincpu.mq@68b0 = b002c987a54800a9</action>
        <action>maincpu.mq@68b8 = 8acaaa6897b62003</action>
        <action>maincpu.mq@68c0 = 000000000060f0d0</action>
        <!--
        68b0 | a9 xx    : lda #$xx
        68b2 | 48       : pha
        68b3 | a5 87    : lda $87
        68b5 | c9 02    : cmp #$02
        68b7 | b0 03    : bcs $68bc
        68b9 | 20 b6 97 : jsr $97b6
        68bc | 68       : pla
        68bd | aa       : tax
        68be | ca       : dex
        68bf | 8a       : txa
        68c0 | d0 f0    : bne $68b2
        68c2 | 60       : rts
        -->
    </script>
    <script state="change">
        <action>maincpu.mb@68b1 = param</action>
    </script>
    <script state="off">
        <action>maincpu.mw@9458 =             97b5</action>
        <action>maincpu.mq@68b0 = 0000000000000000</action>
        <action>maincpu.mq@68b8 = 0000000000000000</action>
        <action>maincpu.mq@68c0 = 0000000000000000</action>
    </script>
</cheat>
Post Reply