[galaga] Galaga

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

[galaga] Galaga

Post by jman »

Code: Select all

<cheat desc="auto fire">
    <script state="on">
        <action>maincpu.mb@1f17 = 6e</action>
    </script>
    <script state="off">
        <action>maincpu.mb@1f17 = 66</action>
    </script>
</cheat>

<cheat desc="player speed">
    <parameter min="0x01" max="0x05" step="0x01" />
    <script state="change">
        <action>maincpu.mb@1fb0 = param</action>
    </script>
    <script state="off">
        <action>maincpu.mb@1fb0 = 01</action>
    </script>
</cheat>

<cheat desc="bullet speed">
    <parameter>
        <item value="0x01">01 (slow)</item>
        <item value="0x06">02       </item>
        <item value="0x0c">03       </item>
        <item value="0x12">04       </item>
        <item value="0x18">05 (fast)</item>
    </parameter>
    <script state="change">
        <action>sub.mb@70d =      param</action> <!-- speed -->
        <action>sub.mb@78b = 06 + param</action> <!-- collision range -->
    </script>
    <script state="off">
        <action>sub.mb@70d = 06</action>
        <action>sub.mb@78b = 06</action>
    </script>
</cheat>

<cheat desc="skip ram/rom check">
    <script state="on">
        <!-- ram -->
        <action>maincpu.md@337f = 063435c3</action>
        <action>maincpu.mb@3489 =       c9</action>
        <!-- roms -->
        <action>maincpu.mb@352b =       c9</action>
        <action>    sub.md@0583 = 0e183daf</action>
        <!--
        0583 | af    : xor a
        0584 | 3d    : dec a
        0585 | 18 0e : jr  $0595
        -->
        <action>   sub2.md@0091 = 0e183daf</action>
        <!--
        0096 | af    : xor a
        0097 | 3d    : dec a
        0098 | 18 0e : jr  $00a3
        -->
    </script>
    <script state="off">
        <action>maincpu.md@337f = 06683032</action>
        <action>maincpu.mb@3489 =       06</action>
        <action>maincpu.mb@352b =       e5</action>
        <action>    sub.md@0583 = 10016f67</action>
        <action>   sub2.md@0091 = 10016f67</action>
    </script>
</cheat>
Post Reply