[twinbrat]+ Twin Brats

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

[twinbrat]+ Twin Brats

Post by jman »

twinbrat.xml

Code: Select all

<!-- Twin Brats (set 1) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@3f6e = 60</action> <!-- P1 enemy -->
            <action>maincpu.mb@3fae = 60</action> <!-- P2 enemy -->
            <action>maincpu.mb@6a2f = 02</action> <!-- P1 skull -->
            <action>maincpu.mb@6e8f = 02</action> <!-- P2 skull -->
        </script>
        <script state="off">
            <action>maincpu.mb@3f6e = 67</action>
            <action>maincpu.mb@3fae = 67</action>
            <action>maincpu.mb@6a2f = 18</action>
            <action>maincpu.mb@6e8f = 18</action>
        </script>
    </cheat>

    <cheat desc="auto fire">
        <script state="on">
            <action>maincpu.mb@1a77 = 02</action> <!-- P1 -->
            <action>maincpu.mb@2021 = 02</action> <!-- P2 -->
        </script>
        <script state="off">
            <action>maincpu.mb@1a77 = 10</action>
            <action>maincpu.mb@2021 = 10</action>
        </script>
    </cheat>

    <cheat desc="walk through wall">
        <comment>the game crashes when you go to out of maze</comment>
        <script state="on">
            <action>maincpu.mb@29cf = 02</action> <!-- P1 up -->
            <action>maincpu.mb@2b37 = 02</action> <!-- P1 down -->
            <action>maincpu.mb@2cad = 02</action> <!-- P1 left -->
            <action>maincpu.mb@2e23 = 02</action> <!-- P1 right -->
            <action>maincpu.mb@2fcd = 02</action> <!-- P2 up -->
            <action>maincpu.mb@312f = 02</action> <!-- P2 down -->
            <action>maincpu.mb@329f = 02</action> <!-- P2 left -->
            <action>maincpu.mb@340f = 02</action> <!-- P2 right -->
        </script>
        <script state="off">
            <action>maincpu.mb@29cf = 80</action>
            <action>maincpu.mb@2b37 = 8c</action>
            <action>maincpu.mb@2cad = 90</action>
            <action>maincpu.mb@2e23 = 90</action>
            <action>maincpu.mb@2fcd = 80</action>
            <action>maincpu.mb@312f = 8c</action>
            <action>maincpu.mb@329f = 90</action>
            <action>maincpu.mb@340f = 8e</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <!-- P1 -->
            <action>maincpu.mw@1a52 =             d710</action>
            <action>maincpu.mq@d710 = 70003f004eb828fc</action>
            <action>maincpu.mq@d718 = 301f51c8fff64e75</action>
            <!--
            d710 | 70xx      : moveq  #$xx,D0
            d712 | 3f00      : move.w D0,-(A7)
            d714 | 4eb8 28fc : jsr    $28fc.w
            d718 | 301f      : move.w (A7)+,D0
            d71a | 51c8 fff6 : dbra   D0,$d712
            d71e | 4e75      : rts
            -->
            <!-- P2 -->
            <action>maincpu.mw@1ffc =             d720</action>
            <action>maincpu.mq@d720 = 70003f004eb82efa</action>
            <action>maincpu.mq@d728 = 301f51c8fff64e75</action>
            <!--
            d720 | 70xx      : moveq  #$xx,D0
            d722 | 3f00      : move.w D0,-(A7)
            d724 | 4eb8 2efa : jsr    $2efa.w
            d728 | 301f      : move.w (A7)+,D0
            d72a | 51c8 fff6 : dbra   D0,$d722
            d72e | 4e75      : rts
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@d711 = param - 1</action>
            <action>maincpu.mb@d721 = param - 1</action>
        </script>
        <script state="off">
            <action>maincpu.mw@1a52 =             28fc</action>
            <action>maincpu.mq@d710 = ffffffffffffffff</action>
            <action>maincpu.mq@d718 = ffffffffffffffff</action>
            <action>maincpu.mw@1ffc =             2efa</action>
            <action>maincpu.mq@d720 = ffffffffffffffff</action>
            <action>maincpu.mq@d728 = ffffffffffffffff</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>maincpu.mw@01c8 =             d730</action>
            <action>maincpu.mq@d730 = 4eb80bee41ed0100</action>
            <action>maincpu.mq@d738 = 43ed01e612001039</action>
            <action>maincpu.mq@d740 = 00400001b20067f4</action>
            <action>maincpu.mq@d748 = 0c0000fb66025310</action>
            <action>maincpu.mq@d750 = 0c0000f766025210</action>
            <action>maincpu.mq@d758 = 0c0000fd66040410</action>
            <action>maincpu.mq@d760 = 00100c0000fe6604</action>
            <action>maincpu.mq@d768 = 061000100c0000ef</action>
            <action>maincpu.mq@d770 = 6604129060080c00</action>
            <action>maincpu.mq@d778 = 00df660842114eb9</action>
            <action>maincpu.mq@d780 = 0000963660b6ffff</action>
            <!--
            d730 | 4eb8 0bee      : jsr    $bee.w       // initialize sound parameter
            d734 | 41ed 0100      : lea    ($100,A5),A0 // sound code address
            d738 | 43ed 01e6      : lea    ($1e6,A5),A1 // sound latch address
            d73c | 1200           : move.b D0,D1
            d73e | 1039 0040 0001 : move.b $400001.l,D0 // read input
            d744 | b200           : cmp.b  D0,D1
            d746 | 67f4           : beq    $d73c
            d748 | 0c00 00fb      : cmpi.b #-$5,D0
            d74c | 6602           : bne    $d750
            d74e | 5310           : subq.b #1,(A0)      // decrease code -01
            d750 | 0c00 00f7      : cmpi.b #-$9,D0
            d754 | 6602           : bne    $d758
            d756 | 5210           : addq.b #1,(A0)      // increase code +01
            d758 | 0c00 00fd      : cmpi.b #-$3,D0
            d75c | 6604           : bne    $d762
            d75e | 0410 0010      : subi.b #$10,(A0)    // decrease code -10
            d762 | 0c00 00fe      : cmpi.b #-$2,D0
            d766 | 6604           : bne    $d76c
            d768 | 0610 0010      : addi.b #$10,(A0)    // increase code +10
            d76c | 0c00 00ef      : cmpi.b #-$11,D0
            d770 | 6604           : bne    $d776
            d772 | 1290           : move.b (A0),(A1)    // play sound
            d774 | 6008           : bra    $d77e
            d776 | 0c00 00df      : cmpi.b #-$21,D0
            d77a | 6608           : bne    $d784
            d77c | 4211           : clr.b  (A1)         // stop sound
            d77e | 4eb9 0000 9636 : jsr    $9636.l      // send sound code
            d784 | 60b6           : bra    $d73c
            -->
        </script>
        <script state="run">
            <output format="----- twin brats sound test mode -----" line="10" align="center" />
            <output format="left : decrease code -01"               line="11" align="center" />
            <output format="right : increase code +01"              line="12" align="center" />
            <output format="down : decrease code -10"               line="13" align="center" />
            <output format="up : increase code +10"                 line="14" align="center" />
            <output format="button 1 : play sound"                  line="15" align="center" />
            <output format="button 2 : stop sound"                  line="16" align="center" />
            <output format="----------------------------"           line="17" align="center" />
            <output format="&lt;&lt; sound code %2.2X &gt;&gt;"     line="19" align="center"  >
                <argument>maincpu.pb@112100</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@01c8 =             0918</action>
            <action>maincpu.mq@d730 = ffffffffffffffff</action>
            <action>maincpu.mq@d738 = ffffffffffffffff</action>
            <action>maincpu.mq@d740 = ffffffffffffffff</action>
            <action>maincpu.mq@d748 = ffffffffffffffff</action>
            <action>maincpu.mq@d750 = ffffffffffffffff</action>
            <action>maincpu.mq@d758 = ffffffffffffffff</action>
            <action>maincpu.mq@d760 = ffffffffffffffff</action>
            <action>maincpu.mq@d768 = ffffffffffffffff</action>
            <action>maincpu.mq@d770 = ffffffffffffffff</action>
            <action>maincpu.mq@d778 = ffffffffffffffff</action>
            <action>maincpu.mq@d780 = ffffffffffffffff</action>
        </script>
    </cheat>

</mamecheat>
twinbrata.xml

Code: Select all

<!-- Twin Brats (set 2) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@3920 = 60</action> <!-- P1 enemy -->
            <action>maincpu.mb@3960 = 60</action> <!-- P2 enemy -->
            <action>maincpu.mb@5ffd = 02</action> <!-- P1 skull -->
            <action>maincpu.mb@6443 = 02</action> <!-- P2 skull -->
        </script>
        <script state="off">
            <action>maincpu.mb@3920 = 67</action>
            <action>maincpu.mb@3960 = 67</action>
            <action>maincpu.mb@5ffd = 18</action>
            <action>maincpu.mb@6443 = 18</action>
        </script>
    </cheat>

    <cheat desc="walk through wall">
        <comment>the game crashes when you go to out of maze</comment>
        <script state="on">
            <action>maincpu.mb@28a3 = 02</action> <!-- P1 up -->
            <action>maincpu.mb@2a0b = 02</action> <!-- P1 down -->
            <action>maincpu.mb@2b81 = 02</action> <!-- P1 left -->
            <action>maincpu.mb@2cf7 = 02</action> <!-- P1 right -->
            <action>maincpu.mb@2ea1 = 02</action> <!-- P2 up -->
            <action>maincpu.mb@3003 = 02</action> <!-- P2 down -->
            <action>maincpu.mb@3173 = 02</action> <!-- P2 left -->
            <action>maincpu.mb@32e3 = 02</action> <!-- P2 right -->
        </script>
        <script state="off">
            <action>maincpu.mb@28a3 = 80</action>
            <action>maincpu.mb@2a0b = 8c</action>
            <action>maincpu.mb@2b81 = 90</action>
            <action>maincpu.mb@2cf7 = 90</action>
            <action>maincpu.mb@2ea1 = 80</action>
            <action>maincpu.mb@3003 = 8c</action>
            <action>maincpu.mb@3173 = 90</action>
            <action>maincpu.mb@32e3 = 8e</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <!-- P1 -->
            <action>maincpu.mw@19c2 =             cc90</action>
            <action>maincpu.mq@cc90 = 70003f004eb827d0</action>
            <action>maincpu.mq@cc98 = 301f51c8fff64e75</action>
            <!--
            cc90 | 70xx      : moveq  #$xx,D0
            cc92 | 3f00      : move.w D0,-(A7)
            cc94 | 4eb8 27d0 : jsr    $27d0.w
            cc98 | 301f      : move.w (A7)+,D0
            cc9a | 51c8 fff6 : dbra   D0,$cc92
            cc9e | 4e75      : rts
            -->
            <!-- P2 -->
            <action>maincpu.mw@1f1a =             cca0</action>
            <action>maincpu.mq@cca0 = 70003f004eb82dce</action>
            <action>maincpu.mq@cca8 = 301f51c8fff64e75</action>
            <!--
            cca0 | 70xx      : moveq  #$xx,D0
            cca2 | 3f00      : move.w D0,-(A7)
            cca4 | 4eb8 2dce : jsr    $2dce.w
            cca8 | 301f      : move.w (A7)+,D0
            ccaa | 51c8 fff6 : dbra   D0,$cca2
            ccae | 4e75      : rts
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@cc91 = param - 1</action>
            <action>maincpu.mb@cca1 = param - 1</action>
        </script>
        <script state="off">
            <action>maincpu.mw@19c2 =             27d0</action>
            <action>maincpu.mq@cc90 = ffffffffffffffff</action>
            <action>maincpu.mq@cc98 = ffffffffffffffff</action>
            <action>maincpu.mw@1f1a =             2dce</action>
            <action>maincpu.mq@cca0 = ffffffffffffffff</action>
            <action>maincpu.mq@cca8 = ffffffffffffffff</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>maincpu.mw@01c8 =             ccb0</action>
            <action>maincpu.mq@ccb0 = 4eb80bee41ed0100</action>
            <action>maincpu.mq@ccb8 = 43ed043212001039</action>
            <action>maincpu.mq@ccc0 = 00400001b20067f4</action>
            <action>maincpu.mq@ccc8 = 0c0000fb66025310</action>
            <action>maincpu.mq@ccd0 = 0c0000f766025210</action>
            <action>maincpu.mq@ccd8 = 0c0000fd66040410</action>
            <action>maincpu.mq@cce0 = 00100c0000fe6604</action>
            <action>maincpu.mq@cce8 = 061000100c0000ef</action>
            <action>maincpu.mq@ccf0 = 6604129060080c00</action>
            <action>maincpu.mq@ccf8 = 00df660842114eb9</action>
            <action>maincpu.mq@cd00 = 00008bd060b6ffff</action>
            <!--
            ccb0 | 4eb8 0bee      : jsr    $bee.w       // initialize sound parameter
            ccb4 | 41ed 0100      : lea    ($100,A5),A0 // sound code address
            ccb8 | 43ed 0432      : lea    ($432,A5),A1 // sound latch address
            ccbc | 1200           : move.b D0,D1
            ccbe | 1039 0040 0001 : move.b $400001.l,D0 // read input
            ccc4 | b200           : cmp.b  D0,D1
            ccc6 | 67f4           : beq    $ccbc
            ccc8 | 0c00 00fb      : cmpi.b #-$5,D0
            cccc | 6602           : bne    $ccd0
            ccce | 5310           : subq.b #1,(A0)      // decrease code -01
            ccd0 | 0c00 00f7      : cmpi.b #-$9,D0
            ccd4 | 6602           : bne    $ccd8
            ccd6 | 5210           : addq.b #1,(A0)      // increase code +01
            ccd8 | 0c00 00fd      : cmpi.b #-$3,D0
            ccdc | 6604           : bne    $cce2
            ccde | 0410 0010      : subi.b #$10,(A0)    // decrease code -10
            cce2 | 0c00 00fe      : cmpi.b #-$2,D0
            cce6 | 6604           : bne    $ccec
            cce8 | 0610 0010      : addi.b #$10,(A0)    // increase code +10
            ccec | 0c00 00ef      : cmpi.b #-$11,D0
            ccf0 | 6604           : bne    $ccf6
            ccf2 | 1290           : move.b (A0),(A1)    // play sound
            ccf4 | 6008           : bra    $ccfe
            ccf6 | 0c00 00df      : cmpi.b #-$21,D0
            ccfa | 6608           : bne    $cd04
            ccfc | 4211           : clr.b  (A1)         // stop sound
            ccfe | 4eb9 0000 8bd0 : jsr    $8bd0.l      // send sound code
            cd04 | 60b6           : bra    $ccbc
            -->
        </script>
        <script state="run">
            <output format="----- twin brats sound test mode -----" line="10" align="center" />
            <output format="left : decrease code -01"               line="11" align="center" />
            <output format="right : increase code +01"              line="12" align="center" />
            <output format="down : decrease code -10"               line="13" align="center" />
            <output format="up : increase code +10"                 line="14" align="center" />
            <output format="button 1 : play sound"                  line="15" align="center" />
            <output format="button 2 : stop sound"                  line="16" align="center" />
            <output format="----------------------------"           line="17" align="center" />
            <output format="&lt;&lt; sound code %2.2X &gt;&gt;"     line="19" align="center"  >
                <argument>maincpu.pb@112100</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@01c8 =             0918</action>
            <action>maincpu.mq@ccb0 = ffffffffffffffff</action>
            <action>maincpu.mq@ccb8 = ffffffffffffffff</action>
            <action>maincpu.mq@ccc0 = ffffffffffffffff</action>
            <action>maincpu.mq@ccc8 = ffffffffffffffff</action>
            <action>maincpu.mq@ccd0 = ffffffffffffffff</action>
            <action>maincpu.mq@ccd8 = ffffffffffffffff</action>
            <action>maincpu.mq@cce0 = ffffffffffffffff</action>
            <action>maincpu.mq@cce8 = ffffffffffffffff</action>
            <action>maincpu.mq@ccf0 = ffffffffffffffff</action>
            <action>maincpu.mq@ccf8 = ffffffffffffffff</action>
            <action>maincpu.mq@cd00 = ffffffffffffffff</action>
        </script>
    </cheat>

</mamecheat>
twinbratb.xml

Code: Select all

<!-- Twin Brats (set 3) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>maincpu.mb@36ec = 60</action> <!-- P1 enemy -->
            <action>maincpu.mb@372c = 60</action> <!-- P2 enemy -->
            <action>maincpu.mb@5d83 = 02</action> <!-- P1 skull -->
            <action>maincpu.mb@61c5 = 02</action> <!-- P2 skull -->
        </script>
        <script state="off">
            <action>maincpu.mb@36ec = 67</action>
            <action>maincpu.mb@372c = 67</action>
            <action>maincpu.mb@5d83 = 18</action>
            <action>maincpu.mb@61c5 = 18</action>
        </script>
    </cheat>

    <cheat desc="walk through wall">
        <comment>the game crashes when you go to out of maze</comment>
        <script state="on">
            <action>maincpu.mb@26d7 = 02</action> <!-- P1 up -->
            <action>maincpu.mb@283f = 02</action> <!-- P1 down -->
            <action>maincpu.mb@29b5 = 02</action> <!-- P1 left -->
            <action>maincpu.mb@2b2b = 02</action> <!-- P1 right -->
            <action>maincpu.mb@2cd5 = 02</action> <!-- P2 up -->
            <action>maincpu.mb@2e37 = 02</action> <!-- P2 down -->
            <action>maincpu.mb@2fa7 = 02</action> <!-- P2 left -->
            <action>maincpu.mb@3117 = 02</action> <!-- P2 right -->
        </script>
        <script state="off">
            <action>maincpu.mb@26d7 = 80</action>
            <action>maincpu.mb@283f = 8c</action>
            <action>maincpu.mb@29b5 = 90</action>
            <action>maincpu.mb@2b2b = 90</action>
            <action>maincpu.mb@2cd5 = 80</action>
            <action>maincpu.mb@2e37 = 8c</action>
            <action>maincpu.mb@2fa7 = 90</action>
            <action>maincpu.mb@3117 = 8e</action>
        </script>
    </cheat>

    <cheat desc="player speed">
        <parameter min="0x01" max="0x05" step="0x01" />
        <script state="on">
            <!-- P1 -->
            <action>maincpu.mw@18d6 =             c790</action>
            <action>maincpu.mq@c790 = 70003f004eb82604</action>
            <action>maincpu.mq@c798 = 301f51c8fff64e75</action>
            <!--
            c790 | 70xx      : moveq  #$xx,D0
            c792 | 3f00      : move.w D0,-(A7)
            c794 | 4eb8 2604 : jsr    $2604.w
            c798 | 301f      : move.w (A7)+,D0
            c79a | 51c8 fff6 : dbra   D0,$c792
            c79e | 4e75      : rts
            -->
            <!-- P2 -->
            <action>maincpu.mw@1e2e =             c7a0</action>
            <action>maincpu.mq@d720 = 70003f004eb82c02</action>
            <action>maincpu.mq@d728 = 301f51c8fff64e75</action>
            <!--
            c7a0 | 70xx      : moveq  #$xx,D0
            c7a2 | 3f00      : move.w D0,-(A7)
            c7a4 | 4eb8 2c02 : jsr    $2c02.w
            c7a8 | 301f      : move.w (A7)+,D0
            c7aa | 51c8 fff6 : dbra   D0,$c7a2
            c7ae | 4e75      : rts
            -->
        </script>
        <script state="change">
            <action>maincpu.mb@c791 = param - 1</action>
            <action>maincpu.mb@c7a1 = param - 1</action>
        </script>
        <script state="off">
            <action>maincpu.mw@18d6 =             2604</action>
            <action>maincpu.mq@c790 = ffffffffffffffff</action>
            <action>maincpu.mq@c798 = ffffffffffffffff</action>
            <action>maincpu.mw@1e2e =             2c02</action>
            <action>maincpu.mq@c7a0 = ffffffffffffffff</action>
            <action>maincpu.mq@c7a8 = ffffffffffffffff</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>maincpu.mw@01c0 =             c7b0</action>
            <action>maincpu.mq@c7b0 = 4eb80be241ed0100</action>
            <action>maincpu.mq@c7b8 = 43ed043212001039</action>
            <action>maincpu.mq@c7c0 = 00400001b20067f4</action>
            <action>maincpu.mq@c7c8 = 0c0000fb66025310</action>
            <action>maincpu.mq@c7d0 = 0c0000f766025210</action>
            <action>maincpu.mq@c7d8 = 0c0000fd66040410</action>
            <action>maincpu.mq@c7e0 = 00100c0000fe6604</action>
            <action>maincpu.mq@c7e8 = 061000100c0000ef</action>
            <action>maincpu.mq@c7f0 = 6604129060080c00</action>
            <action>maincpu.mq@c7f8 = 00df660842114eb9</action>
            <action>maincpu.mq@c800 = 0000890460b6ffff</action>
            <!--
            c7b0 | 4eb8 0be2      : jsr    $be2.w       // initialize sound parameter
            c7b4 | 41ed 0100      : lea    ($100,A5),A0 // sound code address
            c7b8 | 43ed 0432      : lea    ($432,A5),A1 // sound latch address
            c7bc | 1200           : move.b D0,D1
            c7be | 1039 0040 0001 : move.b $400001.l,D0 // read input
            c7c4 | b200           : cmp.b  D0,D1
            c7c6 | 67f4           : beq    $c7bc
            c7c8 | 0c00 00fb      : cmpi.b #-$5,D0
            c7cc | 6602           : bne    $c7d0
            c7ce | 5310           : subq.b #1,(A0)      // decrease code -01
            c7d0 | 0c00 00f7      : cmpi.b #-$9,D0
            c7d4 | 6602           : bne    $c7d8
            c7d6 | 5210           : addq.b #1,(A0)      // increase code +01
            c7d8 | 0c00 00fd      : cmpi.b #-$3,D0
            c7dc | 6604           : bne    $c7e2
            c7de | 0410 0010      : subi.b #$10,(A0)    // decrease code -10
            c7e2 | 0c00 00fe      : cmpi.b #-$2,D0
            c7e6 | 6604           : bne    $c7ec
            c7e8 | 0610 0010      : addi.b #$10,(A0)    // increase code +10
            c7ec | 0c00 00ef      : cmpi.b #-$11,D0
            c7f0 | 6604           : bne    $c7f6
            c7f2 | 1290           : move.b (A0),(A1)    // play sound
            c7f4 | 6008           : bra    $c7fe
            c7f6 | 0c00 00df      : cmpi.b #-$21,D0
            c7fa | 6608           : bne    $8044
            c7fc | 4211           : clr.b  (A1)         // stop sound
            c7fe | 4eb9 0000 8904 : jsr    $8904.l      // send sound code
            c804 | 60b6           : bra    $c7bc
            -->
        </script>
        <script state="run">
            <output format="----- twin brats sound test mode -----" line="10" align="center" />
            <output format="left : decrease code -01"               line="11" align="center" />
            <output format="right : increase code +01"              line="12" align="center" />
            <output format="down : decrease code -10"               line="13" align="center" />
            <output format="up : increase code +10"                 line="14" align="center" />
            <output format="button 1 : play sound"                  line="15" align="center" />
            <output format="button 2 : stop sound"                  line="16" align="center" />
            <output format="----------------------------"           line="17" align="center" />
            <output format="&lt;&lt; sound code %2.2X &gt;&gt;"     line="19" align="center"  >
                <argument>maincpu.pb@112100</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@01c0 =             090c</action>
            <action>maincpu.mq@c7b0 = ffffffffffffffff</action>
            <action>maincpu.mq@c7b8 = ffffffffffffffff</action>
            <action>maincpu.mq@c7c0 = ffffffffffffffff</action>
            <action>maincpu.mq@c7c8 = ffffffffffffffff</action>
            <action>maincpu.mq@c7d0 = ffffffffffffffff</action>
            <action>maincpu.mq@c7d8 = ffffffffffffffff</action>
            <action>maincpu.mq@c7e0 = ffffffffffffffff</action>
            <action>maincpu.mq@c7e8 = ffffffffffffffff</action>
            <action>maincpu.mq@c7f0 = ffffffffffffffff</action>
            <action>maincpu.mq@c7f8 = ffffffffffffffff</action>
            <action>maincpu.mq@c800 = ffffffffffffffff</action>
        </script>
    </cheat>

</mamecheat>
  • "auto fire" : twinbrat only. Because twinbrata and twinbratb don't have "shot" weapon.
  • "walk through wall" : The game crashes when you go to out of maze.
BTW, "ALL" codes for twinbrat in the database based on 0.257 don't work due to different address.
Anyway I fix "credit", "life" and "invincibility" soon. But I don't have motivation to fix other codes. Sorry...

Code: Select all

    <cheat desc="infinite credits">
        <script state="run">
            <action>maincpu.pb@1121ca = 09</action>
        </script>
    </cheat>

    <cheat desc="P1 infinite lives">
        <script state="run">
            <action>maincpu.pb@1123a2 = 09</action>
        </script>
    </cheat>

    <cheat desc="P1 invincibility">
        <script state="run">
            <action>maincpu.pb@11215d = 02</action> <!-- flicker timer -->
            <action>maincpu.pb@11238b = 01</action> <!-- flicker flag -->
        </script>
    </cheat>

    <cheat desc="P2 infinite lives">
        <script state="run">
            <action>maincpu.pb@1123cc = 09</action>
        </script>
    </cheat>

    <cheat desc="P2 invincibility">
        <script state="run">
            <action>maincpu.pb@11215f = 02</action> <!-- flicker timer -->
            <action>maincpu.pb@1123b5 = 01</action> <!-- flicker flag -->
        </script>
    </cheat>
Post Reply