[kingball]+ King & Balloon

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

[kingball]+ King & Balloon

Post by jman »

kingball.xml

Code: Select all

<!-- King & Balloon (US) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@11ec = c9</action>
            <action>maincpu.mb@1204 = c9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@11ec = d0</action>
            <action>maincpu.mb@1204 = d8</action>
        </script>
    </cheat>

    <cheat desc="no hit - king">
        <script state="on">
            <action>maincpu.mb@0cdb = c9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@0cdb = d0</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mw@059e = 00fe</action>
        </script>
        <script state="off">
            <action>maincpu.mw@059e = 0cd6</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@013d =             2800</action>
            <action>maincpu.mq@2800 = 10c10472cdc50506</action>
            <action>maincpu.mq@2808 = 000000000000c9f9</action>
            <!--
            2800 | 06 xx    : ld   b,$xx
            2802 | c5       : push bc
            2803 | cd 72 04 : call $0472
            2806 | c1       : pop  bc
            2807 | 10 f9    : djnz $2802
            2809 | c9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2801 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@013d =             0472</action>
            <action>maincpu.mq@2800 = 0000000000000000</action>
            <action>maincpu.mq@2808 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x05">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>maincpu.md@05b5 =         3a2810cd</action>
            <action>maincpu.mq@2810 = 0000c9f026292929</action>
            <!--
            2810 | 29    : add hl,hl
            2811 | 29    : add hl,hl
            2812 | 29    : add hl,hl
            2813 | 26 xx : ld  h,$xx
            2815 | C9    : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2814 = -param</action>
        </script>
        <script state="off">
            <action>maincpu.md@05b5 =         3a292929</action>
            <action>maincpu.mq@2810 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="no wait next level">
        <script state="on">
            <action>maincpu.mb@18c5 = 08</action>
        </script>
        <script state="off">
            <action>maincpu.mb@18c5 = b4</action>
        </script>
    </cheat>

    <cheat desc="skip ram/rom check">
        <script state="on">
            <action>maincpu.mw@0005 = 24e5</action>
        </script>
        <script state="off">
            <action>maincpu.mw@0005 = 1322</action>
        </script>
    </cheat>

</mamecheat>
kingballj.xml

Code: Select all

<!-- King & Balloon (Japan) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@11ec = c9</action>
            <action>maincpu.mb@1204 = c9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@11ec = d0</action>
            <action>maincpu.mb@1204 = d8</action>
        </script>
    </cheat>

    <cheat desc="no hit - king">
        <script state="on">
            <action>maincpu.mb@0cdb = c9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@0cdb = d0</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mw@059e = 00fe</action>
        </script>
        <script state="off">
            <action>maincpu.mw@059e = 0cd6</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@013d =             2800</action>
            <action>maincpu.mq@2800 = 10c10472cdc50506</action>
            <action>maincpu.mq@2808 = 000000000000c9f9</action>
            <!--
            2800 | 06 xx    : ld   b,$xx
            2802 | c5       : push bc
            2803 | cd 72 04 : call $0472
            2806 | c1       : pop  bc
            2807 | 10 f9    : djnz $2802
            2809 | c9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2801 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@013d =             0472</action>
            <action>maincpu.mq@2800 = 0000000000000000</action>
            <action>maincpu.mq@2808 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x05">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>maincpu.md@05b5 =         3a2810cd</action>
            <action>maincpu.mq@2810 = 0000c9f026292929</action>
            <!--
            2810 | 29    : add hl,hl
            2811 | 29    : add hl,hl
            2812 | 29    : add hl,hl
            2813 | 26 xx : ld  h,$xx
            2815 | c9    : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2814 = -param</action>
        </script>
        <script state="off">
            <action>maincpu.md@05b5 =         3a292929</action>
            <action>maincpu.mq@2810 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="no wait next level">
        <script state="on">
            <action>maincpu.mb@18c5 = 08</action>
        </script>
        <script state="off">
            <action>maincpu.mb@18c5 = b4</action>
        </script>
    </cheat>

    <cheat desc="skip ram/rom check">
        <script state="on">
            <action>maincpu.mw@0005 = 24e5</action>
        </script>
        <script state="off">
            <action>maincpu.mw@0005 = 1322</action>
        </script>
    </cheat>

</mamecheat>
jman

my wip cheat database back-up (06/01/2025 ver.)
https://u3.getuploader.com/...../download/58
downloadpass : jman2020
jman
Posts: 1318
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 10 times

[kingball]+ King & Balloon

Post by jman »

kingball.xml

Code: Select all

<!-- King & Balloon (US) -->
<mamecheat version="1">

    <cheat desc="no hit - player">
        <script state="on">
            <action>maincpu.mb@11EC = C9</action>
            <action>maincpu.mb@1204 = C9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@11EC = D0</action>
            <action>maincpu.mb@1204 = D8</action>
        </script>
    </cheat>

    <cheat desc="no hit - king">
        <script state="on">
            <action>maincpu.mb@0CDB = C9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@0CDB = D0</action>
        </script>
    </cheat>

    <cheat desc="rapid fire">
        <script state="on">
            <action>maincpu.mw@059E = 00FE</action>
        </script>
        <script state="off">
            <action>maincpu.mw@059E = 0CD6</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@013D = 2800            </action>
            <action>maincpu.mq@2800 = 10C10472CDC50506</action>
            <action>maincpu.mq@2808 = 000000000000C9F9</action>
            <!--
            2800 | 06 xx    : ld   b,$xx
            2802 | C5       : push bc
            2803 | CD 72 04 : call $0472
            2806 | C1       : pop  bc
            2807 | 10 F9    : djnz $2802
            2809 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2801 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@013D = 0472            </action>
            <action>maincpu.mq@2800 = 0000000000000000</action>
            <action>maincpu.mq@2808 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x05">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>maincpu.md@05B5 = 3A2810CD        </action>
            <action>maincpu.mq@2810 = 0000C9F026292929</action>
            <!--
            2810 | 29    : add  hl,hl
            2811 | 29    : add  hl,hl
            2812 | 29    : add  hl,hl
            2813 | 26 xx : ld   h,$xx
            2815 | C9    : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2814 = -param</action>
        </script>
        <script state="off">
            <action>maincpu.md@05B5 = 3A292929        </action>
            <action>maincpu.mq@2810 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="short balloon landing">
        <script state="on">
            <action>maincpu.mw@0953 = 2820            </action>
            <action>maincpu.mq@2820 = 0000C9013E1D33CD</action>
            <!--
            2820 | CD 33 1D : call $1D33
            2823 | 3E 01    : ld   a,$01
            2825 | C9       : ret
            -->
        </script>
        <script state="off">
            <action>maincpu.mw@0953 = 1D33            </action>
            <action>maincpu.mq@2820 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="no wait next level">
        <script state="on">
            <action>maincpu.mb@18C5 = 08</action>
        </script>
        <script state="off">
            <action>maincpu.mb@18C5 = B4</action>
        </script>
    </cheat>

    <cheat desc="skip ram/rom check">
        <script state="on">
            <action>maincpu.mw@0005 = 24E5</action>
        </script>
        <script state="off">
            <action>maincpu.mw@0005 = 1322</action>
        </script>
    </cheat>

</mamecheat>
kingballj.xml

Code: Select all

<!-- King & Balloon (Japan) -->
<mamecheat version="1">

    <cheat desc="no hit - player">
        <script state="on">
            <action>maincpu.mb@11EC = C9</action>
            <action>maincpu.mb@1204 = C9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@11EC = D0</action>
            <action>maincpu.mb@1204 = D8</action>
        </script>
    </cheat>

    <cheat desc="no hit - king">
        <script state="on">
            <action>maincpu.mb@0CDB = C9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@0CDB = D0</action>
        </script>
    </cheat>

    <cheat desc="rapid fire">
        <script state="on">
            <action>maincpu.mw@059E = 00FE</action>
        </script>
        <script state="off">
            <action>maincpu.mw@059E = 0CD6</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <action>maincpu.mw@013D = 2800            </action>
            <action>maincpu.mq@2800 = 10C10472CDC50506</action>
            <action>maincpu.mq@2808 = 000000000000C9F9</action>
            <!--
            2800 | 06 xx    : ld   b,$xx
            2802 | C5       : push bc
            2803 | CD 72 04 : call $0472
            2806 | C1       : pop  bc
            2807 | 10 F9    : djnz $2802
            2809 | C9       : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2801 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@013D = 0472            </action>
            <action>maincpu.mq@2800 = 0000000000000000</action>
            <action>maincpu.mq@2808 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="bullet speed">
        <parameter>
            <item value="0x01">01 (slow)</item>
            <item value="0x05">02       </item>
            <item value="0x08">03       </item>
            <item value="0x0c">04       </item>
            <item value="0x10">05 (fast)</item>
        </parameter>
        <script state="on">
            <action>maincpu.md@05B5 = 3A2810CD        </action>
            <action>maincpu.mq@2810 = 0000C9F026292929</action>
            <!--
            2810 | 29    : add  hl,hl
            2811 | 29    : add  hl,hl
            2812 | 29    : add  hl,hl
            2813 | 26 xx : ld   h,$xx
            2815 | C9    : ret
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@2814 = -param</action>
        </script>
        <script state="off">
            <action>maincpu.md@05B5 = 3A292929        </action>
            <action>maincpu.mq@2810 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="short balloon landing">
        <script state="on">
            <action>maincpu.mw@0953 = 2820            </action>
            <action>maincpu.mq@2820 = 0000C9013E1D33CD</action>
            <!--
            2820 | CD 33 1D : call $1D33
            2823 | 3E 01    : ld   a,$01
            2825 | C9       : ret
            -->
        </script>
        <script state="off">
            <action>maincpu.mw@0953 = 1D33            </action>
            <action>maincpu.mq@2820 = 0000000000000000</action>
        </script>
    </cheat>

    <cheat desc="no wait next level">
        <script state="on">
            <action>maincpu.mb@18C5 = 08</action>
        </script>
        <script state="off">
            <action>maincpu.mb@18C5 = B4</action>
        </script>
    </cheat>

    <cheat desc="skip ram/rom check">
        <script state="on">
            <action>maincpu.mw@0005 = 24E5</action>
        </script>
        <script state="off">
            <action>maincpu.mw@0005 = 1322</action>
        </script>
    </cheat>

</mamecheat>
"short balloon landing" : Added new.
jman

my wip cheat database back-up (06/01/2025 ver.)
https://u3.getuploader.com/...../download/58
downloadpass : jman2020
Post Reply