[mspacman] Revised to Select fruits on multifruit levels w/8th Fruit Jr added

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
pac_man_fan2
Posts: 66
Joined: Fri Dec 06, 2019 1:49 pm

[mspacman] Revised to Select fruits on multifruit levels w/8th Fruit Jr added

Post by pac_man_fan2 »

Code: Select all

<cheat desc="Choose Fruit for the MultiFruit Levels"> <comment>Dictates which Fruit appears on MultiFruit Levels</comment>
  <parameter>
    <item value="0x00">Cherry</item>
    <item value="0x01">Strawberry</item>
    <item value="0x02">Orange</item>
    <item value="0x03">Pretzel</item>
    <item value="0x04">Apple</item>
    <item value="0x05">Pear</item>
    <item value="0x06">Banana</item>
    <item value="0x07">Junior!</item>
  </parameter>
  <script state="run">
    <action>maincpu.mb@18767=08</action>	<!-- Random to Include 8th Fruit -->
    <action>maincpu.mb@18768=3E</action>
    <action>maincpu.mb@18769=param</action>
    <action>maincpu.mb@187B3=16</action>	<!-- Jr Fruit Color 16=Lt.Blue; Invisible 00 -->
    <action>maincpu.mb@187B4=0C</action>	<!-- Jr Fruit Score Sprite Correction -->
  </script>
  <script state="off">
    <action>maincpu.mb@18767=07</action>	<!-- Restore Random Code -->
    <action>maincpu.mw@18768=5FED</action>
    <action>maincpu.mb@187B3=00</action>	<!-- Jr Fruit Color Normally Invisible 00 -->
    <action>maincpu.mb@187B4=0D</action>	<!-- Jr Fruit Score Sprite -->
  </script>
</cheat>
jman
Posts: 1129
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 8 times

Re: [mspacman] Revised to Select fruits on multifruit levels w/8th Fruit Jr added

Post by jman »

Code: Select all

    <cheat desc="Choose Fruit for the MultiFruit Levels">
        <comment>Dictates which Fruit appears on MultiFruit Levels</comment>
        <parameter>
            <item value="0x00">Cherry</item>
            <item value="0x01">Strawberry</item>
            <item value="0x02">Orange</item>
            <item value="0x03">Pretzel</item>
            <item value="0x04">Apple</item>
            <item value="0x05">Pear</item>
            <item value="0x06">Banana</item>
            <item value="0x07">Junior?</item>
        </parameter>
        <script state="on">
            <action>temp0 = maincpu.md@18767</action>
            <action>temp1 = maincpu.mw@187B3</action>
        </script>
        <script state="run">
            <action>maincpu.mw@18767 = 3E08</action> <!-- Random to Include 8th Fruit -->
            <action>maincpu.mb@18769 = param</action>
            <action>maincpu.mw@187B3 = 0C16</action> <!-- $87B3 : Jr Fruit Color, $87B4 : Jr Fruit Score Sprite Correction -->
        </script>
        <script state="off">
            <action>maincpu.md@18767 = temp0</action>
            <action>maincpu.mw@187B3 = temp1</action>
        </script>
    </cheat>
jman

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