Page 1 of 1

[wldgunsb] Wild Guns

Posted: Tue Dec 31, 2024 5:46 am
by jman
wldgunsb.xml

Code: Select all

<!-- Wild Guns (SNES bootleg) -->
<mamecheat version="1">

    <cheat desc="no hit">
        <script state="on">
            <action>user3.mb@1DA91 = 80</action> <!-- bullet ($3da91) -->
            <action>user3.mb@1DB0E = 80</action> <!-- others ($3db0e) -->
            <action>user3.mb@1DB8D = 80</action> <!-- rope ($3db8d) -->
            <action>user3.mb@25272 = 80</action> <!-- flame [boss] ($4d272) -->
        </script>
        <script state="off">
            <action>user3.mb@1DA91 = D0</action>
            <action>user3.mb@1DB0E = D0</action>
            <action>user3.mb@1DB8D = D0</action>
            <action>user3.mb@25272 = D0</action>
        </script>
    </cheat>

    <cheat desc="rapid fire">
        <script state="on">
            <action>user3.mb@12C9D = 00</action> <!-- bonus stage ($2ac9c) -->
            <action>user3.mb@2142D = 00</action> <!-- normal ($4942c) -->
            <action>user3.mb@21442 = 00</action> <!-- s-gun ($49442) -->
            <action>user3.mb@2145A = 00</action> <!-- g-gun ($4945a) -->
            <action>user3.mb@21472 = 00</action> <!-- m-gun ($49472) -->
            <action>user3.mb@214A1 = 00</action> <!-- p-gun ($494a1) -->
            <action>user3.mb@214B8 = 00</action> <!-- v-gun ($494b8) -->
        </script>
        <script state="off">
            <action>user3.mb@12C9D = 0D</action>
            <action>user3.mb@2142D = 0E</action>
            <action>user3.mb@21442 = 11</action>
            <action>user3.mb@2145A = 11</action>
            <action>user3.mb@21472 = 28</action>
            <action>user3.mb@214A1 = 10</action>
            <action>user3.mb@214B8 = 0E</action>
        </script>
    </cheat>

    <cheat desc="unlock character selection">
        <script state="on">
            <action>user3.mq@A74F = C0C0890BD02F0089</action> <!-- ($1a74f) -->
            <action>user3.mq@A757 = 6047D010008932D0</action>
        </script>
        <script state="off">
            <action>user3.mq@A74F = FFFF6051D0100089</action>
            <action>user3.mq@A757 = FFFFFFFFFFFFFFFF</action>
        </script>
    </cheat>

    <cheat desc="stop screen flash (test)">
        <script state="on">
            <action>user3.mb@20C0 = 00</action> <!-- ($a0c0) -->
        </script>
        <script state="off">
            <action>user3.mb@20C0 = 0D</action>
        </script>
    </cheat>

</mamecheat>
  • "rapid fire" : You will get "faster" fire than default auto fire.
  • "unlock character selection" : wldgunsb doesn't allow character selection because routine is removed. This code makes you select character and colour though you can't select one colour because of missing button 4.
  • "stop screen flash" : Test code. I stop "red" screen flash with V-gun but others will be unverified ("white" flash etc).