[battlera]+ Battle Rangers/Bloody Wolf

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

[battlera]+ Battle Rangers/Bloody Wolf

Post by jman »

battlera.xml

Code: Select all

<!-- Battle Rangers (World) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <!-- 1P -->
            <action>maincpu.mb@214C = 60</action> <!-- enemy ($614C) -->
            <action>maincpu.mb@27E9 = 80</action> <!-- bullet ($67E9) -->
            <!-- 2P -->
            <action>maincpu.mb@21C6 = 60</action> <!-- enemy ($61C6) -->
            <action>maincpu.mb@2861 = 80</action> <!-- bullet ($6861) -->
            <!-- common -->
            <action>maincpu.mb@4CDD = 00</action> <!-- sea - scene 1 boss ($8CDD) -->
            <action>maincpu.mb@4DCD = 3C</action> <!-- sea - scene 1 boss [jump] ($8DCD) -->
        </script>
        <script state="off">
            <action>maincpu.mb@214C = AA</action>
            <action>maincpu.mb@27E9 = D0</action>
            <action>maincpu.mb@21C6 = AA</action>
            <action>maincpu.mb@2861 = D0</action>
            <action>maincpu.mb@4CDD = 03</action>
            <action>maincpu.mb@4DCD = 28</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>maincpu.mw@4703 = ABB0            </action> <!-- common ($8703) -->
            <action>maincpu.mq@6BB0 = 04F00DC90F2986A5</action>
            <action>maincpu.mq@6BB8 = A5834B2019B008C9</action>
            <action>maincpu.mq@6BC0 = 86A5A7851A01D0C8</action>
            <action>maincpu.mq@6BC8 = FF8550A902D0F029</action>
            <action>maincpu.mq@6BD0 = 82E94C8685FF0562</action>
            <!--
            ABB0 | A5 86    : lda  $86
            ABB2 | 29 0F    : and  #$0F
            ABB4 | C9 0D    : cmp  #$0D
            ABB6 | F0 04    : beq  $ABBC
            ABB8 | C9 08    : cmp  #$08
            ABBA | B0 19    : bcs  $ABD5
            ABBC | 20 4B 83 : jsr  $834B
            ABBF | A5 C8    : lda  $C8
            ABC1 | D0 01    : bne  $ABC4
            ABC3 | 1A       : ina
            ABC4 | 85 A7    : sta  $A7
            ABC6 | A5 86    : lda  $86
            ABC8 | 29 F0    : and  #$F0
            ABCA | D0 02    : bne  $ABCE
            ABCC | A9 50    : lda  #$50
            ABCE | 85 FF    : sta  $FF
            ABD0 | 62       : cla
            ABD1 | 05 FF    : ora  $FF
            ABD3 | 85 86    : sta  $86
            ABD5 | 4C E9 82 : jmp  $82E9
            -->
            <action>maincpu.mb@04DD1 = 12</action> <!-- jump ($8DD1) -->
            <action>maincpu.mb@04DD5 = 0E</action> <!-- jump ($8DD5) -->
            <action>maincpu.mb@1D7AD = 80</action> <!-- trap [scene 5] ($97AD) -->
        </script>
        <script state="off">
            <action>maincpu.mw@04703 = 82E9            </action>
            <action>maincpu.mq@06BB0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BB8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BC0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BC8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BD0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mb@04DD1 = 14              </action>
            <action>maincpu.mb@04DD5 = 10              </action>
            <action>maincpu.mb@1D7AD = D0              </action>
        </script>
    </cheat>

    <cheat desc="rapid fire">
        <script state="on">
            <action>maincpu.mb@4EED = 93</action> <!-- weapon 1 ($8EED) -->
            <action>maincpu.mb@4EF0 = 93</action> <!-- weapon 2 ($8EF0) -->
        </script>
        <script state="off">
            <action>maincpu.mb@4EED = 94</action>
            <action>maincpu.mb@4EF0 = 94</action>
        </script>
    </cheat>

    <cheat desc="knife mode (test)">
        <script state="on">
            <action>maincpu.mb@2B59 = 00</action> <!-- ($6B59) -->
        </script>
        <script state="off">
            <action>maincpu.mb@2B59 = 04</action>
        </script>
    </cheat>

    <cheat desc="knife attack speed up">
        <script state="on">
            <action>maincpu.mb@547E = 01</action> <!-- ($947E) -->
        </script>
        <script state="off">
            <action>maincpu.mb@547E = 02</action>
        </script>
    </cheat>

    <cheat desc="timer speed">
        <parameter>
            <item value="0x7F">01 (slow)</item>
            <item value="0x3F">02       </item>
            <item value="0x1F">03       </item>
            <item value="0x0F">04       </item>
            <item value="0x00">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@1CD6 = param</action> <!-- ($FCD6) -->
        </script>
        <script state="off">
            <action>maincpu.mb@1CD6 = 0F</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <!-- you can't stop sfxs (code 0x15 or later) by sound stop button -->
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>maincpu.mw@003C = ABD8            </action> <!-- ($E03C) -->
            <action>maincpu.mq@6BD8 = AA2200AD818600F7</action>
            <action>maincpu.mq@6BE0 = 04E080A5F6F081C5</action>
            <action>maincpu.mq@6BE8 = 1A01D008E03A01D0</action>
            <action>maincpu.mq@6BF0 = E010E93803D002E0</action>
            <action>maincpu.mq@6BF8 = 808510691803D001</action>
            <action>maincpu.mq@6C00 = 0AD020E005F010E0</action>
            <action>maincpu.mq@6C08 = 8D680453F0A94862</action>
            <action>maincpu.mq@6C10 = FFFFFFFFC6804800</action>
            <!--
            ABD8 | F7 00    : smb7 $00   // set input check flag
            ABDA | 86 81    : stx  $81
            ABDC | AD 00 22 : lda  $2200 // read input
            ABDF | AA       : tax
            ABE0 | C5 81    : cmp  $81
            ABE2 | F0 F6    : beq  $ABDA
            ABE4 | A5 80    : lda  $80
            ABE6 | E0 04    : cpx  #$04
            ABE8 | D0 01    : bne  $ABEB
            ABEA | 3A       : dea        // decrease code -01
            ABEB | E0 08    : cpx  #$08
            ABED | D0 01    : bne  $ABF0
            ABEF | 1A       : ina        // increase code +01
            ABF0 | E0 02    : cpx  #$02
            ABF2 | D0 03    : bne  $ABF7
            ABF4 | 38       : sec        // decrease code -10
            ABF5 | E9 10    : sbc  #$10
            ABF7 | E0 01    : cpx  #$01
            ABF9 | D0 03    : bne  $ABFE
            ABFB | 18       : clc        // increase code +10
            ABFC | 69 10    : adc  #$10
            ABFE | 85 80    : sta  $80
            AC00 | E0 10    : cpx  #$10
            AC02 | F0 05    : beq  $AC09 // play sound
            AC04 | E0 20    : cpx  #$20
            AC06 | D0 0A    : bne  $AC12
            AC08 | 62       : cla        // stop sound
            AC09 | 48       : pha
            AC0A | A9 F0    : lda  #$F0  // set memory mapper
            AC0C | 53 04    : tam  #$04
            AC0E | 68       : pla
            AC0F | 8D 00 48 : sta  $4800 // send sound code
            AC12 | 80 C6    : bra  $ABDA
            -->
        </script>
        <script state="run">
            <output format="----- 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 %02X &gt;&gt;" line="19" align="center"  >
                <argument>maincpu.pb@2080</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@003C = E2C2            </action>
            <action>maincpu.mq@6BD8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BE0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BE8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BF0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BF8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C00 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C08 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C10 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
bldwolf.xml

Code: Select all

<!-- Bloody Wolf (US) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <!-- 1P -->
            <action>maincpu.mb@214C = 60</action> <!-- enemy ($614C) -->
            <action>maincpu.mb@27E9 = 80</action> <!-- bullet ($67E9) -->
            <!-- 2P -->
            <action>maincpu.mb@21C6 = 60</action> <!-- enemy ($61C6) -->
            <action>maincpu.mb@2861 = 80</action> <!-- bullet ($6861) -->
            <!-- common -->
            <action>maincpu.mb@4CDD = 00</action> <!-- sea - scene 1 boss ($8CDD) -->
            <action>maincpu.mb@4DCD = 3C</action> <!-- sea - scene 1 boss [jump] ($8DCD) -->
        </script>
        <script state="off">
            <action>maincpu.mb@214C = AA</action>
            <action>maincpu.mb@27E9 = D0</action>
            <action>maincpu.mb@21C6 = AA</action>
            <action>maincpu.mb@2861 = D0</action>
            <action>maincpu.mb@4CDD = 03</action>
            <action>maincpu.mb@4DCD = 28</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>maincpu.mw@4703 = ABB0            </action> <!-- common ($8703) -->
            <action>maincpu.mq@6BB0 = 04F00DC90F2986A5</action>
            <action>maincpu.mq@6BB8 = A5834B2019B008C9</action>
            <action>maincpu.mq@6BC0 = 86A5A7851A01D0C8</action>
            <action>maincpu.mq@6BC8 = FF8550A902D0F029</action>
            <action>maincpu.mq@6BD0 = 82E94C8685FF0562</action>
            <!--
            ABB0 | A5 86    : lda  $86
            ABB2 | 29 0F    : and  #$0F
            ABB4 | C9 0D    : cmp  #$0D
            ABB6 | F0 04    : beq  $ABBC
            ABB8 | C9 08    : cmp  #$08
            ABBA | B0 19    : bcs  $ABD5
            ABBC | 20 4B 83 : jsr  $834B
            ABBF | A5 C8    : lda  $C8
            ABC1 | D0 01    : bne  $ABC4
            ABC3 | 1A       : ina
            ABC4 | 85 A7    : sta  $A7
            ABC6 | A5 86    : lda  $86
            ABC8 | 29 F0    : and  #$F0
            ABCA | D0 02    : bne  $ABCE
            ABCC | A9 50    : lda  #$50
            ABCE | 85 FF    : sta  $FF
            ABD0 | 62       : cla
            ABD1 | 05 FF    : ora  $FF
            ABD3 | 85 86    : sta  $86
            ABD5 | 4C E9 82 : jmp  $82E9
            -->
            <action>maincpu.mb@04DD1 = 12</action> <!-- jump ($8DD1) -->
            <action>maincpu.mb@04DD5 = 0E</action> <!-- jump ($8DD5) -->
            <action>maincpu.mb@1D7AD = 80</action> <!-- trap [scene 5] ($97AD) -->
        </script>
        <script state="off">
            <action>maincpu.mw@04703 = 82E9            </action>
            <action>maincpu.mq@06BB0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BB8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BC0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BC8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BD0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mb@04DD1 = 14              </action>
            <action>maincpu.mb@04DD5 = 10              </action>
            <action>maincpu.mb@1D7AD = D0              </action>
        </script>
    </cheat>

    <cheat desc="rapid fire">
        <script state="on">
            <action>maincpu.mb@4EED = 93</action> <!-- weapon 1 ($8EED) -->
            <action>maincpu.mb@4EF0 = 93</action> <!-- weapon 2 ($8EF0) -->
        </script>
        <script state="off">
            <action>maincpu.mb@4EED = 94</action>
            <action>maincpu.mb@4EF0 = 94</action>
        </script>
    </cheat>

    <cheat desc="knife mode (test)">
        <script state="on">
            <action>maincpu.mb@2B59 = 00</action> <!-- ($6B59) -->
        </script>
        <script state="off">
            <action>maincpu.mb@2B59 = 04</action>
        </script>
    </cheat>

    <cheat desc="knife attack speed up">
        <script state="on">
            <action>maincpu.mb@547E = 01</action> <!-- ($947E) -->
        </script>
        <script state="off">
            <action>maincpu.mb@547E = 02</action>
        </script>
    </cheat>

    <cheat desc="timer speed">
        <parameter>
            <item value="0x7F">01 (slow)</item>
            <item value="0x3F">02       </item>
            <item value="0x1F">03       </item>
            <item value="0x0F">04       </item>
            <item value="0x00">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@1CD6 = param</action> <!-- ($FCD6) -->
        </script>
        <script state="off">
            <action>maincpu.mb@1CD6 = 0F</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <!-- you can't stop sfxs (code 0x15 or later) by sound stop button -->
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>maincpu.mw@003C = ABD8            </action> <!-- ($E03C) -->
            <action>maincpu.mq@6BD8 = AA2200AD818600F7</action>
            <action>maincpu.mq@6BE0 = 04E080A5F6F081C5</action>
            <action>maincpu.mq@6BE8 = 1A01D008E03A01D0</action>
            <action>maincpu.mq@6BF0 = E010E93803D002E0</action>
            <action>maincpu.mq@6BF8 = 808510691803D001</action>
            <action>maincpu.mq@6C00 = 0AD020E005F010E0</action>
            <action>maincpu.mq@6C08 = 8D680453F0A94862</action>
            <action>maincpu.mq@6C10 = FFFFFFFFC6804800</action>
            <!--
            ABD8 | F7 00    : smb7 $00   // set input check flag
            ABDA | 86 81    : stx  $81
            ABDC | AD 00 22 : lda  $2200 // read input
            ABDF | AA       : tax
            ABE0 | C5 81    : cmp  $81
            ABE2 | F0 F6    : beq  $ABDA
            ABE4 | A5 80    : lda  $80
            ABE6 | E0 04    : cpx  #$04
            ABE8 | D0 01    : bne  $ABEB
            ABEA | 3A       : dea        // decrease code -01
            ABEB | E0 08    : cpx  #$08
            ABED | D0 01    : bne  $ABF0
            ABEF | 1A       : ina        // increase code +01
            ABF0 | E0 02    : cpx  #$02
            ABF2 | D0 03    : bne  $ABF7
            ABF4 | 38       : sec        // decrease code -10
            ABF5 | E9 10    : sbc  #$10
            ABF7 | E0 01    : cpx  #$01
            ABF9 | D0 03    : bne  $ABFE
            ABFB | 18       : clc        // increase code +10
            ABFC | 69 10    : adc  #$10
            ABFE | 85 80    : sta  $80
            AC00 | E0 10    : cpx  #$10
            AC02 | F0 05    : beq  $AC09 // play sound
            AC04 | E0 20    : cpx  #$20
            AC06 | D0 0A    : bne  $AC12
            AC08 | 62       : cla        // stop sound
            AC09 | 48       : pha
            AC0A | A9 F0    : lda  #$F0  // set memory mapper
            AC0C | 53 04    : tam  #$04
            AC0E | 68       : pla
            AC0F | 8D 00 48 : sta  $4800 // send sound code
            AC12 | 80 C6    : bra  $ABDA
            -->
        </script>
        <script state="run">
            <output format="----- 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 %02X &gt;&gt;" line="19" align="center"  >
                <argument>maincpu.pb@2080</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@003C = E2C2            </action>
            <action>maincpu.mq@6BD8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BE0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BE8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BF0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BF8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C00 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C08 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C10 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
bldwolfj.xml

Code: Select all

<!-- Narazumono Sentoubutai Bloody Wolf (Japan) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <!-- 1P -->
            <action>maincpu.mb@214C = 60</action> <!-- enemy ($614C) -->
            <action>maincpu.mb@27E9 = 80</action> <!-- bullet ($67E9) -->
            <!-- 2P -->
            <action>maincpu.mb@21C6 = 60</action> <!-- enemy ($61C6) -->
            <action>maincpu.mb@2861 = 80</action> <!-- bullet ($6861) -->
            <!-- common -->
            <action>maincpu.mb@4CDD = 00</action> <!-- sea - scene 1 boss ($8CDD) -->
            <action>maincpu.mb@4DCD = 3C</action> <!-- sea - scene 1 boss [jump] ($8DCD) -->
        </script>
        <script state="off">
            <action>maincpu.mb@214C = AA</action>
            <action>maincpu.mb@27E9 = D0</action>
            <action>maincpu.mb@21C6 = AA</action>
            <action>maincpu.mb@2861 = D0</action>
            <action>maincpu.mb@4CDD = 03</action>
            <action>maincpu.mb@4DCD = 28</action>
        </script>
    </cheat>

    <cheat desc="walk through wall (test)">
        <script state="on">
            <action>maincpu.mw@4703 = ABC8            </action> <!-- common ($8703) -->
            <action>maincpu.mq@6BC8 = 04F00DC90F2986A5</action>
            <action>maincpu.mq@6BD0 = A5834B2019B008C9</action>
            <action>maincpu.mq@6BD8 = 86A5A7851A01D0C8</action>
            <action>maincpu.mq@6BE0 = FF8550A902D0F029</action>
            <action>maincpu.mq@6BE8 = 82E94C8685FF0562</action>
            <!--
            ABC8 | A5 86    : lda  $86
            ABCA | 29 0F    : and  #$0F
            ABCC | C9 0D    : cmp  #$0D
            ABCE | F0 04    : beq  $ABD4
            ABD0 | C9 08    : cmp  #$08
            ABD2 | B0 19    : bcs  $ABED
            ABD4 | 20 4B 83 : jsr  $834B
            ABD7 | A5 C8    : lda  $C8
            ABD9 | D0 01    : bne  $ABDC
            ABDB | 1A       : ina
            ABDC | 85 A7    : sta  $A7
            ABDE | A5 86    : lda  $86
            ABE0 | 29 F0    : and  #$F0
            ABE2 | D0 02    : bne  $ABE6
            ABE4 | A9 50    : lda  #$50
            ABE6 | 85 FF    : sta  $FF
            ABF8 | 62       : cla
            ABE9 | 05 FF    : ora  $FF
            ABEB | 85 86    : sta  $86
            ABED | 4C E9 82 : jmp  $82E9
            -->
            <action>maincpu.mb@04DD1 = 12</action> <!-- jump ($8DD1) -->
            <action>maincpu.mb@04DD5 = 0E</action> <!-- jump ($8DD5) -->
            <action>maincpu.mb@1D7AD = 80</action> <!-- trap [scene 5] ($97AD) -->
        </script>
        <script state="off">
            <action>maincpu.mw@04703 = 82E9            </action>
            <action>maincpu.mq@06BC8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BD0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BD8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BE0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@06BE8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mb@04DD1 = 14              </action>
            <action>maincpu.mb@04DD5 = 10              </action>
            <action>maincpu.mb@1D7AD = D0              </action>
        </script>
    </cheat>

    <cheat desc="rapid fire">
        <script state="on">
            <action>maincpu.mb@4EED = 93</action> <!-- weapon 1 ($8EED) -->
            <action>maincpu.mb@4EF0 = 93</action> <!-- weapon 2 ($8EF0) -->
        </script>
        <script state="off">
            <action>maincpu.mb@4EED = 94</action>
            <action>maincpu.mb@4EF0 = 94</action>
        </script>
    </cheat>

    <cheat desc="knife mode (test)">
        <script state="on">
            <action>maincpu.mb@2B59 = 00</action> <!-- ($6B59) -->
        </script>
        <script state="off">
            <action>maincpu.mb@2B59 = 04</action>
        </script>
    </cheat>

    <cheat desc="knife attack speed up">
        <script state="on">
            <action>maincpu.mb@547E = 01</action> <!-- ($947E) -->
        </script>
        <script state="off">
            <action>maincpu.mb@547E = 02</action>
        </script>
    </cheat>

    <cheat desc="timer speed">
        <parameter>
            <item value="0x7F">01 (slow)</item>
            <item value="0x3F">02       </item>
            <item value="0x1F">03       </item>
            <item value="0x0F">04       </item>
            <item value="0x00">05 (fast)</item>
        </parameter>
        <script state="change">
            <action>maincpu.mb@1CD9 = param</action> <!-- ($FCD6) -->
        </script>
        <script state="off">
            <action>maincpu.mb@1CD9 = 0F</action>
        </script>
    </cheat>

    <cheat desc="sound test mode">
        <!-- you can't stop sfxs (code 0x15 or later) by sound stop button -->
        <comment>reset the game (F3) to enter sound test mode</comment>
        <script state="on">
            <action>maincpu.mw@003C = ABF0            </action> <!-- ($E03C) -->
            <action>maincpu.mq@6BF0 = AA2200AD818600F7</action>
            <action>maincpu.mq@6BF8 = 04E080A5F6F081C5</action>
            <action>maincpu.mq@6C00 = 1A01D008E03A01D0</action>
            <action>maincpu.mq@6C08 = E010E93803D002E0</action>
            <action>maincpu.mq@6C10 = 808510691803D001</action>
            <action>maincpu.mq@6C18 = 0AD020E005F010E0</action>
            <action>maincpu.mq@6C20 = 8D680453F0A94862</action>
            <action>maincpu.mq@6C28 = FFFFFFFFC6804800</action>
            <!--
            ABF0 | F7 00    : smb7 $00   // set input check flag
            ABF2 | 86 81    : stx  $81
            ABF4 | AD 00 22 : lda  $2200 // read input
            ABF7 | AA       : tax
            ABF8 | C5 81    : cmp  $81
            ABFA | F0 F6    : beq  $ABF2
            ABFC | A5 80    : lda  $80
            ABFE | E0 04    : cpx  #$04
            AC00 | D0 01    : bne  $AC03
            AC02 | 3A       : dea        // decrease code -01
            AC03 | E0 08    : cpx  #$08
            AC05 | D0 01    : bne  $AC08
            AC07 | 1A       : ina        // increase code +01
            AC08 | E0 02    : cpx  #$02
            AC0A | D0 03    : bne  $AC0F
            AC0C | 38       : sec        // decrease code -10
            AC0D | E9 10    : sbc  #$10
            AC0F | E0 01    : cpx  #$01
            AC11 | D0 03    : bne  $AC16
            AC13 | 18       : clc        // increase code +10
            AC14 | 69 10    : adc  #$10
            AC16 | 85 80    : sta  $80
            AC18 | E0 10    : cpx  #$10
            AC1A | F0 05    : beq  $AC21 // play sound
            AC1C | E0 20    : cpx  #$20
            AC1E | D0 0A    : bne  $AC2A
            AC20 | 62       : cla        // stop sound
            AC21 | 48       : pha
            AC22 | A9 F0    : lda  #$F0  // set memory mapper
            AC24 | 53 04    : tam  #$04
            AC26 | 68       : pla
            AC27 | 8D 00 48 : sta  $4800 // send sound code
            AC2A | 80 C6    : bra  $ABF2
            -->
        </script>
        <script state="run">
            <output format="----- 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 %02X &gt;&gt;" line="19" align="center"  >
                <argument>maincpu.pb@2080</argument>
            </output>
        </script>
        <script state="off">
            <action>maincpu.mw@003C = E2BC            </action>
            <action>maincpu.mq@6BF0 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6BF8 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C00 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C08 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C10 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C18 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C20 = FFFFFFFFFFFFFFFF</action>
            <action>maincpu.mq@6C28 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

</mamecheat>
  • "no hit" : Player character will die after he falls down from high platform.
  • "walk through wall" : Test code. Some troubles happen in some scenes (for example, boss scene).
  • "knife mode" : Test code. Player character use a gun in some situations (for example, no enemy on screen, boss sceen).
  • "sound test mode" : You can't stop sfxs (code 0x15 or later) by sound stop button.
jman

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