[theend] The End

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

[theend] The End

Post by jman »

theend.xml

Code: Select all

<!-- The End -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@17E0 = C9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@17E0 = C8</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mb@16CC = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@16CC = A0</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@1155 = 2910            </action> <!-- alien scene -->
            <action>maincpu.mw@258C = 2910            </action> <!-- ufo scene -->
            <action>maincpu.mq@2910 = 10C115A3CDC50006</action>
            <action>maincpu.mq@2918 = FFFFFFFFFFFFC9F9</action>
            <!--
            2910 | 06 xx    : ld   b,$xx
            2912 | C5       : push bc
            2913 | CD A3 15 : call $15A3
            2916 | C1       : pop  bc
            2917 | 10 F9    : djnz $2912
            2919 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2911 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@1155 = 15A3            </action>
            <action>maincpu.mw@258C = 15A3            </action>
            <action>maincpu.mq@2910 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@2918 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x06">03       </item>
            <item value="0x08">04       </item>
            <item value="0x0c">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@1603 =      param</action>
            <action>maincpu.mb@1861 = 06 + param</action> <!-- collision range against alien -->
            <action>maincpu.mb@25FD = 69 - param</action> <!-- collision range against ufo -->
        </script>
        <script state="off">
            <action>maincpu.mb@1603 = 05</action>
            <action>maincpu.mb@1861 = 06</action>
            <action>maincpu.mb@25FD = 69</action>
        </script>
    </cheat>

    <cheat desc="wipe out mode (test)">
        <comment>alien scene only. erases player bullet too</comment>
        <script state="on">
            <action>maincpu.mb@1839 = 00</action>
            <action>maincpu.mb@1862 = 00</action>
            <action>maincpu.mb@186B = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@1839 = D0</action>
            <action>maincpu.mb@1862 = D0</action>
            <action>maincpu.mb@186B = D0</action>
        </script>
    </cheat>

</mamecheat>
theends.xml

Code: Select all

<!-- The End (Stern Electronics) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1908 = C9</action> <!-- bullet -->
            <action>maincpu.mb@2B29 = C9</action> <!-- enemy -->
        </script>
        <script state="off">
            <action>maincpu.mb@1908 = C8</action>
            <action>maincpu.mb@2B29 = C8</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mb@17F4 = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@17F4 = A0</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@122C = 2B60            </action> <!-- alien scene -->
            <action>maincpu.mw@270B = 2B60            </action> <!-- ufo scene -->
            <action>maincpu.mq@2B60 = 10C116CBCDC50006</action>
            <action>maincpu.mq@2B68 = FFFFFFFFFFFFC9F9</action>
            <!--
            2B60 | 06 xx    : ld   b,$xx
            2B62 | C5       : push bc
            2B63 | CD CB 16 : call $16CB
            2B66 | C1       : pop  bc
            2B67 | 10 F9    : djnz $2B62
            2B69 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2B61 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@122C = 16CB            </action>
            <action>maincpu.mw@270B = 16CB            </action>
            <action>maincpu.mq@2B60 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@2B68 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x06">03       </item>
            <item value="0x08">04       </item>
            <item value="0x0c">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@172B =      param</action>
            <action>maincpu.mb@1989 = 06 + param</action> <!-- collision range against alien -->
            <action>maincpu.mb@277C = 69 - param</action> <!-- collision range against ufo -->
        </script>
        <script state="off">
            <action>maincpu.mb@172B = 05</action>
            <action>maincpu.mb@1989 = 06</action>
            <action>maincpu.mb@277C = 69</action>
        </script>
    </cheat>

    <cheat desc="wipe out mode (test)">
        <comment>alien scene only. erases player bullet too</comment>
        <script state="on">
            <action>maincpu.mb@1961 = 00</action>
            <action>maincpu.mb@198A = 00</action>
            <action>maincpu.mb@1993 = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@1961 = D0</action>
            <action>maincpu.mb@198A = D0</action>
            <action>maincpu.mb@1993 = D0</action>
        </script>
    </cheat>

</mamecheat>
theendss.xml

Code: Select all

<!-- The End (SegaSA / Sonic) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1908 = C9</action> <!-- bullet -->
            <action>maincpu.mb@2B29 = C9</action> <!-- enemy -->
        </script>
        <script state="off">
            <action>maincpu.mb@1908 = C8</action>
            <action>maincpu.mb@2B29 = C8</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mb@17F4 = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@17F4 = A0</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@122C = 2B60            </action> <!-- alien scene -->
            <action>maincpu.mw@270B = 2B60            </action> <!-- ufo scene -->
            <action>maincpu.mq@2B60 = 10C116CBCDC50006</action>
            <action>maincpu.mq@2B68 = FFFFFFFFFFFFC9F9</action>
            <!--
            2B60 | 06 xx    : ld   b,$xx
            2B62 | C5       : push bc
            2B63 | CD CB 16 : call $16CB
            2B66 | C1       : pop  bc
            2B67 | 10 F9    : djnz $2B62
            2B69 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2B61 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@122C = 16CB            </action>
            <action>maincpu.mw@270B = 16CB            </action>
            <action>maincpu.mq@2B60 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@2B68 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x06">03       </item>
            <item value="0x08">04       </item>
            <item value="0x0c">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@172B =      param</action>
            <action>maincpu.mb@1989 = 06 + param</action> <!-- collision range against alien -->
            <action>maincpu.mb@277C = 69 - param</action> <!-- collision range against ufo -->
        </script>
        <script state="off">
            <action>maincpu.mb@172B = 07</action>
            <action>maincpu.mb@1989 = 06</action>
            <action>maincpu.mb@277C = 69</action>
        </script>
    </cheat>

    <cheat desc="wipe out mode (test)">
        <comment>alien scene only. erases player bullet too</comment>
        <script state="on">
            <action>maincpu.mb@1961 = 00</action>
            <action>maincpu.mb@198A = 00</action>
            <action>maincpu.mb@1993 = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@1961 = D0</action>
            <action>maincpu.mb@198A = D0</action>
            <action>maincpu.mb@1993 = D0</action>
        </script>
    </cheat>

</mamecheat>
takeoff.xml

Code: Select all

<!-- Take Off (bootleg of The End) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@1908 = C9</action> <!-- bullet -->
            <action>maincpu.mb@2B29 = C9</action> <!-- enemy -->
        </script>
        <script state="off">
            <action>maincpu.mb@1908 = C8</action>
            <action>maincpu.mb@2B29 = C8</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mb@17F4 = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@17F4 = A0</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@122C = 2E90            </action> <!-- alien scene -->
            <action>maincpu.mw@270B = 2E90            </action> <!-- ufo scene -->
            <action>maincpu.mq@2E90 = 10C116CBCDC50006</action>
            <action>maincpu.mq@2E98 = FFFFFFFFFFFFC9F9</action>
            <!--
            2E90 | 06 xx    : ld   b,$xx
            2E92 | C5       : push bc
            2E93 | CD CB 16 : call $16CB
            2E96 | C1       : pop  bc
            2E97 | 10 F9    : djnz $2E92
            2E99 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2E91 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@122C = 16CB            </action>
            <action>maincpu.mw@270B = 16CB            </action>
            <action>maincpu.mq@2E90 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@2E98 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x06">03       </item>
            <item value="0x08">04       </item>
            <item value="0x0c">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@172B =      param</action>
            <action>maincpu.mb@1989 = 06 + param</action> <!-- collision range against alien -->
            <action>maincpu.mb@277C = 69 - param</action> <!-- collision range against ufo -->
        </script>
        <script state="off">
            <action>maincpu.mb@172B = 05</action>
            <action>maincpu.mb@1989 = 06</action>
            <action>maincpu.mb@277C = 69</action>
        </script>
    </cheat>

    <cheat desc="wipe out mode (test)">
        <comment>alien scene only. erases player bullet too</comment>
        <script state="on">
            <action>maincpu.mb@198A = 00</action>
            <action>maincpu.mb@1993 = 00</action>
            <action>maincpu.mb@2E1F = CD</action>
        </script>
        <script state="off">
            <action>maincpu.mb@198A = D0</action>
            <action>maincpu.mb@1993 = D0</action>
            <action>maincpu.mb@2E1F = C4</action>
        </script>
    </cheat>

</mamecheat>
omegab.xml

Code: Select all

<!-- Omega (bootleg?) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@0FAD = C9</action> <!-- enemy -->
            <action>maincpu.mb@1A10 = C9</action> <!-- bullet -->
        </script>
        <script state="off">
            <action>maincpu.mb@0FAD = C8</action>
            <action>maincpu.mb@1A10 = C8</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mb@18FA = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@18FA = A0</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@12FE = 2EA0            </action> <!-- alien scene -->
            <action>maincpu.mw@280E = 2EA0            </action> <!-- ufo scene -->
            <action>maincpu.mq@2EA0 = 10C117C5CDC50006</action>
            <action>maincpu.mq@2EA8 = FFFFFFFFFFFFC9F9</action>
            <!--
            2EA0 | 06 xx    : ld   b,$xx
            2EA2 | C5       : push bc
            2EA3 | CD C5 17 : call $17C5
            2EA6 | C1       : pop  bc
            2EA7 | 10 F9    : djnz $2EA2
            2EA9 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2EA1 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@12FE = 17C5            </action>
            <action>maincpu.mw@280E = 17C5            </action>
            <action>maincpu.mq@2EA0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@2EA8 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x04">02       </item>
            <item value="0x06">03       </item>
            <item value="0x08">04       </item>
            <item value="0x0c">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@182B =      param</action>
            <action>maincpu.mb@1A91 = 06 + param</action> <!-- collision range against alien -->
            <action>maincpu.mb@2881 = 69 - param</action> <!-- collision range against ufo -->
        </script>
        <script state="off">
            <action>maincpu.mb@182B = 05</action>
            <action>maincpu.mb@1A91 = 06</action>
            <action>maincpu.mb@2881 = 69</action>
        </script>
    </cheat>

    <cheat desc="wipe out mode (test)">
        <comment>alien scene only. erases player bullet too</comment>
        <script state="on">
            <action>maincpu.mb@1A69 = 00</action>
            <action>maincpu.mb@1A92 = 00</action>
            <action>maincpu.mb@1A9B = 00</action>
        </script>
        <script state="off">
            <action>maincpu.mb@1A69 = D0</action>
            <action>maincpu.mb@1A92 = D0</action>
            <action>maincpu.mb@1A9B = D0</action>
        </script>
    </cheat>

</mamecheat>
Post Reply