[smsj/astrofl] TransBot/Astro Flash

This forum is for posting cheats for any non-arcade game in M.A.M.E. ( aka the M.E.S.S. games ) including any softwarelist game. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

[smsj/astrofl] TransBot/Astro Flash

Post by jman »

Code: Select all

<cheat desc="no hit (wip)">
    <script state="on">
        <action>mycard:cart:rom.mb@10ee = c9</action> <!-- enemy -->
        <action>mycard:cart:rom.mb@1151 = c9</action> <!-- bullet -->
    </script>
    <script state="off">
        <action>mycard:cart:rom.mb@10ee = fe</action>
        <action>mycard:cart:rom.mb@1151 = c8</action>
    </script>
</cheat>

<cheat desc="auto fire (wip)">
    <script state="on">
        <action>mycard:cart:rom.mb@0cdd = 00</action>
    </script>
    <script state="off">
        <action>mycard:cart:rom.mb@0cdd = c0</action>
    </script>
</cheat>

<cheat desc="player speed (wip)">
    <parameter>
        <item value="0x0080">01 (slow)</item>
        <item value="0x0100">02       </item>
        <item value="0x0200">03       </item>
        <item value="0x0300">04       </item>
        <item value="0x0400">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>mycard:cart:rom.mw@0d05 = param</action> <!-- up -->
        <action>mycard:cart:rom.mw@0d0b = param</action> <!-- down -->
        <action>mycard:cart:rom.mw@0d11 = param</action> <!-- left -->
        <action>mycard:cart:rom.mw@0d17 = param</action> <!-- right -->
    </script>
    <script state="off">
        <action>mycard:cart:rom.mw@0d05 = 0100</action>
        <action>mycard:cart:rom.mw@0d0b = 0100</action>
        <action>mycard:cart:rom.mw@0d11 = 0200</action>
        <action>mycard:cart:rom.mw@0d17 = 0200</action>
    </script>
</cheat>

<cheat desc="bullet speed (wip)">
    <parameter>
        <item value="0x0200">01 (slow)</item>
        <item value="0x0400">02       </item>
        <item value="0x0800">03       </item>
        <item value="0x0c00">04       </item>
        <item value="0x1000">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>mycard:cart:rom.mw@0d53 = param</action> <!-- A -->
        <action>mycard:cart:rom.mw@0d93 = param</action> <!-- B -->
        <action>mycard:cart:rom.mw@0dd0 = param</action> <!-- C -->
        <action>mycard:cart:rom.mw@0e0d = param</action> <!-- D -->
        <action>mycard:cart:rom.mw@0e57 = param</action> <!-- E 1 -->
        <action>mycard:cart:rom.mw@0e92 = param</action> <!-- E 2 -->
        <action>mycard:cart:rom.mw@0ec4 = param</action> <!-- E 3 -->
        <action>mycard:cart:rom.mw@0f1b = param</action> <!-- F 1 -->
        <action>mycard:cart:rom.mw@0f49 = param</action> <!-- F 2 -->
    </script>
    <script state="off">
        <action>mycard:cart:rom.mw@0d53 = 0480</action>
        <action>mycard:cart:rom.mw@0d93 = 0600</action>
        <action>mycard:cart:rom.mw@0dd0 = 0500</action>
        <action>mycard:cart:rom.mw@0e0d = 0800</action>
        <action>mycard:cart:rom.mw@0e57 = 0459</action>
        <action>mycard:cart:rom.mw@0e92 = 0500</action>
        <action>mycard:cart:rom.mw@0ec4 = 0459</action>
        <action>mycard:cart:rom.mw@0f1b = 0600</action>
        <action>mycard:cart:rom.mw@0f49 = 0600</action>
    </script>
</cheat>

<cheat desc="infinite weapon (wip)">
    <script state="on">
        <action>mycard:cart:rom.mb@0bb5 = 00</action>
    </script>
    <script state="off">
        <action>mycard:cart:rom.mb@0bb5 = 03</action>
    </script>
</cheat>

<cheat desc="roulette speed (wip)">
    <parameter>
        <item value="0x36">01 (slow)</item>
        <item value="0x24">02       </item>
        <item value="0x12">03       </item>
        <item value="0x06">04       </item>
        <item value="0x01">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>mycard:cart:rom.mb@0ad8 = param</action>
    </script>
    <script state="off">
        <action>mycard:cart:rom.mb@0ad8 = 06</action>
    </script>
</cheat>

<cheat desc="sound test mode (wip)">
    <comment>reset the game (F3) to enter sound test mode</comment>
    <script state="on">
        <action>mycard:cart:rom.mw@0107 =             7fd0</action>
        <action>mycard:cart:rom.mq@7fd0 = 22d57fd311800021</action>
        <action>mycard:cart:rom.mq@7fd8 = fec86fbddcdbc100</action>
        <action>mycard:cart:rom.mq@7fe0 = 0120f7fe250120fb</action>
        <action>mycard:cart:rom.mq@7fe8 = 04187c0320effe24</action>
        <action>mycard:cart:rom.mq@7ff0 = c9de0032afc0dffe</action>
        <!--
        7fd0 | 21 00 80 : ld   hl,$8000
        7fd3 | 11 d3 7f : ld   de,$7fd3
        7fd6 | d5       : push de
        7fd7 | 22 00 c1 : ld   ($c100),hl
        7fda | db dc    : in   a,($dc)
        7fdc | bd       : cp   l
        7fdd | 6f       : ld   l,a
        7fde | c8       : ret  z
        7fdf | fe fb    : cp   $fb
        7fe1 | 20 01    : jr   nz,$7fe4
        7fe3 | 25       : dec  h
        7fe4 | fe f7    : cp   $f7
        7fe6 | 20 01    : jr   nz,$7fe9
        7fe8 | 24       : inc  h
        7fe9 | fe ef    : cp   $ef
        7feb | 20 03    : jr   nz,$7ff0
        7fed | 7c       : ld   a,h
        7fee | 18 04    : jr   $7ff4
        7ff0 | fe df    : cp   $df
        7ff2 | c0       : ret  nz
        7ff3 | af       : xor  a
        7ff4 | 32 00 de : ld   ($de00),a
        7ff7 | c9       : ret
        -->
    </script>
    <script state="run">
        <output format="----- astro flash sound test mode -----" line="10" align="center" />
        <output format="left : code decrement"                   line="11" align="center" />
        <output format="right : code increment"                  line="12" align="center" />
        <output format="button 1 : play sound"                   line="13" align="center" />
        <output format="button 2 : stop sound"                   line="14" align="center" />
        <output format="----------------------------"            line="15" align="center" />
        <output format="&lt;&lt; sound code %2.2X &gt;&gt;"      line="17" align="center">
            <argument>maincpu.pb@c101</argument>
        </output>
    </script>
    <script state="off">
        <action>mycard:cart:rom.mw@0107 =             0235</action>
        <action>mycard:cart:rom.mq@7fd0 = 215d813700625c59</action>
        <action>mycard:cart:rom.mq@7fd8 = 767257615c597663</action>
        <action>mycard:cart:rom.mq@7fe0 = 21478137006e6476</action>
        <action>mycard:cart:rom.mq@7fe8 = 5b5957615c597663</action>
        <action>mycard:cart:rom.mq@7ff0 = 597663213a817200</action>
    </script>
</cheat>
Post Reply