[sandscrp]+ Sand Scorpion

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
jman
Posts: 1254
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 9 times

[sandscrp]+ Sand Scorpion

Post by jman »

Basic RAM codes collection.

Code: Select all

    <cheat desc="Finish this Stage Now">
        <script state="on">
            <action>maincpu.pw@70002E = 0003</action>
        </script>
    </cheat>

    <cheat desc="Select Starting Stage">
        <parameter min="01" max="07" step="01" />
        <script state="run">
            <action condition="(maincpu.pb@700121 == 00) and (maincpu.pb@70011B == 00)">maincpu.pb@70011B = param - 1</action>
        </script>
    </cheat>

    <cheat desc="P1 Select Shot">
        <parameter>
            <item value="0x88">Blue</item>
            <item value="0x08">Red</item>
            <item value="0x80">Green</item>
        </parameter>
        <script state="change">
            <action>maincpu.pb@706009 &amp;= ~88</action>
        </script>
        <script state="run">
            <action condition="param != 88">maincpu.pb@706009 |= param</action>
        </script>
    </cheat>

    <cheat desc="P2 Select Shot">
        <parameter>
            <item value="0x88">Blue</item>
            <item value="0x08">Red</item>
            <item value="0x80">Green</item>
        </parameter>
        <script state="change">
            <action>maincpu.pb@70D009 &amp;= ~88</action>
        </script>
        <script state="run">
            <action condition="param != 88">maincpu.pb@70D009 |= param</action>
        </script>
    </cheat>

    <cheat desc="P1 Select Missile">
        <parameter>
            <item value="0x00">None</item>
            <item value="0x20">Missile</item>
            <item value="0x60">Homing</item>
        </parameter>
        <script state="change">
            <action>maincpu.pb@706009 &amp;= ~60</action>
        </script>
        <script state="run">
            <action condition="param != 00">maincpu.pb@706009 |= param</action>
        </script>
    </cheat>

    <cheat desc="P2 Select Missile">
        <parameter>
            <item value="0x00">None</item>
            <item value="0x20">Missile</item>
            <item value="0x60">Homing</item>
        </parameter>
        <script state="change">
            <action>maincpu.pb@70D009 &amp;= ~60</action>
        </script>
        <script state="run">
            <action condition="param != 00">maincpu.pb@70D009 |= param</action>
        </script>
    </cheat>

    <cheat desc="P1 Maximum Shot Power">
        <script state="run">
            <action>maincpu.pb@70603F |= 07</action>
        </script>
    </cheat>

    <cheat desc="P2 Maximum Shot Power">
        <script state="run">
            <action>maincpu.pb@70D03F |= 07</action>
        </script>
    </cheat>

    <cheat desc="P1 Maximum Missile Power">
        <script state="run">
            <action>maincpu.pb@70603F |= 30</action>
        </script>
    </cheat>

    <cheat desc="P2 Maximum Missile Power">
        <script state="run">
            <action>maincpu.pb@70D03F |= 30</action>
        </script>
    </cheat>

    <cheat desc="P1 Always Have Maximum Medals">
        <script state="run">
            <action>maincpu.pb@70602D = 63</action>
        </script>
    </cheat>

    <cheat desc="P2 Always Have Maximum Medals">
        <script state="run">
            <action>maincpu.pb@70D02D = 63</action>
        </script>
    </cheat>
"Maximum Shot Power" : Current "Maximum Weapon Power" in the database based on 0.264 is incomplete. Because "Missile Power" uses the same address (lower is for shot, upper is for missile).
So I fix it and add "Maximum Missile Power" code. (Also "Shot" and "Missile" share with the same address)
jman

my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
Post Reply