[runaways] Runaway (Sun Electronics)

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

[runaways] Runaway (Sun Electronics)

Post by jman »

Code: Select all

<cheat desc="no hit">
    <script state="on">
        <action>maincpu.mb@0f89 = a6</action>
    </script>
    <script state="off">
        <action>maincpu.mb@0f89 = e6</action>
    </script>
</cheat>

<cheat desc="player speed">
    <parameter>
        <item value="0x10">01 (slow)</item>
        <item value="0x0c">02       </item>
        <item value="0x08">03       </item>
        <item value="0x04">04       </item>
        <item value="0x01">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>maincpu.mb@0b9a = param</action>
        <action>maincpu.mb@0ba0 = param</action>
    </script>
    <script state="off">
        <action>maincpu.mb@0b9a = 02</action>
        <action>maincpu.mb@0ba0 = 05</action>
    </script>
</cheat>

<cheat desc="enemy speed">
    <parameter>
        <item value="0x10">01 (slow)</item>
        <item value="0x0c">02       </item>
        <item value="0x08">03       </item>
        <item value="0x04">04       </item>
        <item value="0x01">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>maincpu.mb@0f17 = param</action>
        <action>maincpu.mb@0f1b = param</action>
        <action>maincpu.mb@0f21 = param</action>
    </script>
    <script state="off">
        <action>maincpu.mb@0f17 = 04</action>
        <action>maincpu.mb@0f1b = 06</action>
        <action>maincpu.mb@0f21 = 02</action>
    </script>
</cheat>
Other addresses are ...
  • $200f : credit
  • $200d : P1 life
  • $200e : P2 life
  • $2010 : P1 score (BCD, 3-bytes)
  • $2014 : P2 score (BCD, 3-bytes)
  • $2000 : y-position
  • $2001 : x-position
  • $2013 : level (0x00 - 0x07)
Post Reply