[jumpbug]+ Jump Bug

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: 903
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 4 times

[jumpbug]+ Jump Bug

Post by jman »

jumpbug.xml

Code: Select all

<!-- Jump Bug -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1506 = 08</action> <!-- background -->
            <action>maincpu.mb@8115 = 00</action> <!-- enemy -->
            <action>maincpu.mb@9931 = 18</action> <!-- joker -->
        </script>
        <script state="off">
            <action>maincpu.mb@1506 = 1F</action>
            <action>maincpu.mb@8115 = 01</action>
            <action>maincpu.mb@9931 = 30</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.md@3AB8 = 00A800CD        </action>
            <action>maincpu.mq@A800 = 2860003AA72C51CD</action>
            <action>maincpu.mq@A808 = 00C910E668003A03</action>
            <!--
            A800 | CD 51 2C : call $2C51
            A803 | A7       : and  a
            A804 | 3A 00 60 : ld   a,($6000)
            A807 | 28 03    : jr   z,$A80C
            A809 | 3A 00 68 : ld   a,($6800)
            A80C | E6 10    : and  $10
            A80E | C9       : ret
            -->
        </script>
        <script state="off">
            <action>maincpu.md@3AB8 = A040003A        </action>
            <action>maincpu.mq@A800 = 0000000000000000</action>
            <action>maincpu.mq@A808 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x10">04       </item>
            <item value="0x18">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@3AAE = F2 - (param / 2)</action> <!-- range -->
            <action>maincpu.mb@3AC5 = param           </action> <!-- speed -->
        </script>
        <script state="off">
            <action>maincpu.mb@3AAE = F2</action>
            <action>maincpu.mb@3AC5 = 08</action>
        </script>
    </cheat>

    <cheat desc="skip rom check">
        <script state="on">
            <action>maincpu.md@A7DD = EB5D0E11</action>
            <action>maincpu.md@A7EA = EB34FE11</action>
        </script>
        <script state="off">
            <action>maincpu.md@A7DD = EB8D72CD</action>
            <action>maincpu.md@A7EA = EB8D72CD</action>
        </script>
    </cheat>

</mamecheat>
jumpbugb.xml

Code: Select all

<!-- Jump Bug (bootleg, set 1) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1506 = 08</action> <!-- background -->
            <action>maincpu.mb@8115 = 00</action> <!-- enemy -->
            <action>maincpu.mb@9931 = 18</action> <!-- joker -->
        </script>
        <script state="off">
            <action>maincpu.mb@1506 = 1F</action>
            <action>maincpu.mb@8115 = 01</action>
            <action>maincpu.mb@9931 = 30</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.md@3AB8 = 00A800CD        </action>
            <action>maincpu.mq@A800 = 2860003AA72C51CD</action>
            <action>maincpu.mq@A808 = 00C910E668003A03</action>
            <!--
            A800 | CD 51 2C : call $2C51
            A803 | A7       : and  a
            A804 | 3A 00 60 : ld   a,($6000)
            A807 | 28 03    : jr   z,$A80C
            A809 | 3A 00 68 : ld   a,($6800)
            A80C | E6 10    : and  $10
            A80E | C9       : ret
            -->
        </script>
        <script state="off">
            <action>maincpu.md@3AB8 = A040003A        </action>
            <action>maincpu.mq@A800 = 0000000000000000</action>
            <action>maincpu.mq@A808 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x10">04       </item>
            <item value="0x18">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@3AAE = F2 - (param / 2)</action> <!-- range -->
            <action>maincpu.mb@3AC5 = param           </action> <!-- speed -->
        </script>
        <script state="off">
            <action>maincpu.mb@3AAE = F2</action>
            <action>maincpu.mb@3AC5 = 08</action>
        </script>
    </cheat>

    <cheat desc="skip rom check">
        <script state="on">
            <action>maincpu.md@A7DD = EBAC0711</action>
            <action>maincpu.md@A7EA = EB34FE11</action>
        </script>
        <script state="off">
            <action>maincpu.md@A7DD = EB8D72CD</action>
            <action>maincpu.md@A7EA = EB8D72CD</action>
        </script>
    </cheat>

</mamecheat>
jumpbugbrf.xml. This set will be added in 0.266.

Code: Select all

<!-- Jump Bug (bootleg, set 2) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1506 = 08</action> <!-- background -->
            <action>maincpu.mb@8115 = 00</action> <!-- enemy -->
            <action>maincpu.mb@9931 = 18</action> <!-- joker -->
        </script>
        <script state="off">
            <action>maincpu.mb@1506 = 1F</action>
            <action>maincpu.mb@8115 = 01</action>
            <action>maincpu.mb@9931 = 30</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.md@3AB8 = 008670CD        </action>
            <action>maincpu.mq@8670 = 2860003AA72C51CD</action>
            <action>maincpu.mq@8678 = 00C910E668003A03</action>
            <!--
            8670 | CD 51 2C : call $2C51
            8673 | A7       : and  a
            8674 | 3A 00 60 : ld   a,($6000)
            8677 | 28 03    : jr   z,$867C
            8679 | 3A 00 68 : ld   a,($6800)
            867C | E6 10    : and  $10
            867E | C9       : ret
            -->
        </script>
        <script state="off">
            <action>maincpu.md@3AB8 = A040003A        </action>
            <action>maincpu.mq@8670 = 0000000000000000</action>
            <action>maincpu.mq@8678 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x10">04       </item>
            <item value="0x18">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@3AAE = F2 - (param / 2)</action> <!-- range -->
            <action>maincpu.mb@3AC5 = param           </action> <!-- speed -->
        </script>
        <script state="off">
            <action>maincpu.mb@3AAE = F2</action>
            <action>maincpu.mb@3AC5 = 08</action>
        </script>
    </cheat>

    <cheat desc="skip rom check">
        <script state="on">
            <action>maincpu.md@A7DD = EBAC0711</action>
            <action>maincpu.md@A7EA = EBEFFD11</action>
        </script>
        <script state="off">
            <action>maincpu.md@A7DD = EB8D72CD</action>
            <action>maincpu.md@A7EA = EB8D72CD</action>
        </script>
    </cheat>

</mamecheat>
olibug.xml

Code: Select all

<!-- Oli Bug (bootleg of Jump Bug) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1506 = 08</action> <!-- background -->
            <action>maincpu.mb@8115 = 00</action> <!-- enemy -->
            <action>maincpu.mb@9931 = 18</action> <!-- joker -->
        </script>
        <script state="off">
            <action>maincpu.mb@1506 = 1F</action>
            <action>maincpu.mb@8115 = 01</action>
            <action>maincpu.mb@9931 = 30</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.md@3AB8 = 009690CD        </action>
            <action>maincpu.mq@9690 = 2860003AA72C51CD</action>
            <action>maincpu.mq@9698 = 00C910E668003A03</action>
            <!--
            9690 | CD 51 2C : call $2C51
            9693 | A7       : and  a
            9694 | 3A 00 60 : ld   a,($6000)
            9697 | 28 03    : jr   z,$969C
            9699 | 3A 00 68 : ld   a,($6800)
            969C | E6 10    : and  $10
            969E | C9       : ret
            -->
        </script>
        <script state="off">
            <action>maincpu.md@3AB8 = A040003A        </action>
            <action>maincpu.mq@9690 = 0000000000000000</action>
            <action>maincpu.mq@9698 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x08">03       </item>
            <item value="0x10">04       </item>
            <item value="0x18">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@3AAE = F2 - (param / 2)</action> <!-- range -->
            <action>maincpu.mb@3AC5 = param           </action> <!-- speed -->
        </script>
        <script state="off">
            <action>maincpu.mb@3AAE = F2</action>
            <action>maincpu.mb@3AC5 = 08</action>
        </script>
    </cheat>

    <cheat desc="skip rom check">
        <script state="on">
            <action>maincpu.md@A7DD = EBAC0711</action>
            <action>maincpu.md@A7EA = EBC86511</action>
        </script>
        <script state="off">
            <action>maincpu.md@A7DD = EB8D72CD</action>
            <action>maincpu.md@A7EA = EB8D72CD</action>
        </script>
    </cheat>

</mamecheat>
Post Reply