[robocop] invincibility non-flickering

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
AmigaFan
Posts: 7
Joined: Wed Dec 22, 2021 7:09 pm

[robocop] invincibility non-flickering

Post by AmigaFan »

Been playing the various home computer versions, and I found the flickering invincibility annoying so decided to fix it. Have to say the MAME debugger is nice, disappointed with the game though as I was expecting more..

Code: Select all

  <cheat desc="Invincibility (Flickerfree)">
      <script state="run">
            <action>maincpu.mb@569a=60, sub.pb@2405=00, maincpu.mb@1da58=60, maincpu.mb@5ba0=60</action>
      </script>
      <script state="off">
            <action>maincpu.mb@569a=67, sub.pb@2405=33, maincpu.mb@1da58=66, maincpu.mb@5ba0=67</action>
      </script>    
  </cheat>
jman
Posts: 843
Joined: Tue Dec 01, 2020 1:24 pm

Re: [robocop] invincibility non-flickering

Post by jman »

I have searched "no hit" code for robocopj and the following is test codes.

Code: Select all

<cheat desc="no hit">
    <script state="on">
        <action>maincpu.mb@56a0 =   60</action> <!-- enemy -->
        <action>maincpu.mw@5ba4 = 7e00</action> <!-- bomb -->
        <action>maincpu.mb@d875 =   80</action> <!-- bullet : copy to sub cpu -->
        <action>    sub.pb@22ff =   80</action> <!-- bullet : copy from main cpu -->
    </script>
    <script state="off">
        <action>maincpu.mb@56a0 =   67</action>
        <action>maincpu.mw@5ba4 = 4e71</action>
        <action>maincpu.mb@d875 =   f0</action>
        <action>    sub.pb@22ff =   f0</action>
    </script>
</cheat>
I understand about $569a (enemy?), $2405 (bullet?) and $5ba0 (bomb?) but I don't know $1da58 you posted.
Please tell me what is this address.
AmigaFan
Posts: 7
Joined: Wed Dec 22, 2021 7:09 pm

Re: [robocop] invincibility non-flickering

Post by AmigaFan »

There is a clamping trap, 1da58 avoids you getting trapped between them and squeezed to death. Look at this yt video around the 9 minute mark.

https://m.youtube.com/watch?v=vFZQk0MjFHw
AmigaFan
Posts: 7
Joined: Wed Dec 22, 2021 7:09 pm

Re: [robocop] invincibility non-flickering

Post by AmigaFan »

Ive been playing the game some more looking at the other versions, they all look more or less the same although some of the other versions don't have a sub cpu - wish I'd looked at them first I spend ages on making the bullet cheat because i couldnt find the code in the 68000 and they have the code in there. I spotted that one of the bosses has clamps so that needed a new cheat. So I've fixed that and added the cheats for all the other versions.

Code: Select all

robocop
    <cheat desc="Invincibility (Flickerfree)">
        <script state="run">
              <action>maincpu.mb@569a=60, sub.pb@2405=00, maincpu.mb@1da58=60, maincpu.mb@5ba0=60, maincpu.mb@adfa=60</action>
        </script>
        <script state="off">
              <action>maincpu.mb@569a=67, sub.pb@2405=33, maincpu.mb@1da58=66, maincpu.mb@5ba0=67, maincpu.mb@adfa=64</action>
        </script>    
    </cheat>

robocopb & automat
    <cheat desc="Invincibility (Flickerfree)">
        <script state="run">
            <action>maincpu.mb@569e=60, maincpu.mb@75e0=60, maincpu.mb@1da5c=60, maincpu.mb@5ba4=60, maincpu.mb@adfe=60</action>
        </script>                                                                                  
        <script state="off">                                                                       
            <action>maincpu.mb@569e=67, maincpu.mb@75e0=67, maincpu.mb@1da5c=66, maincpu.mb@5ba4=67, maincpu.mb@adfe=64</action>
        </script>
    </cheat>

robocopj
    <cheat desc="Invincibility (Flickerfree)">
        <script state="run">
            <action>maincpu.mb@56a0=60, sub.pb@2405=00, maincpu.mb@1de66=60, maincpu.mb@5ba6=60, maincpu.mb@ae00=60</action>
        </script>                                                                              
        <script state="off">                                                                   
            <action>maincpu.mb@56a0=67, sub.pb@2405=33, maincpu.mb@1de66=66, maincpu.mb@5ba6=67, maincpu.mb@ae00=64</action>
        </script>
    </cheat>

robocopu
    <cheat desc="Invincibility (Flickerfree)">
        <script state="run">
            <action>maincpu.mb@5618=60, sub.pb@2405=00, maincpu.mb@1d9de=60, maincpu.mb@5b1e=60, maincpu.mb@ad90=60</action>
        </script>                                                                              
        <script state="off">                                                                   
            <action>maincpu.mb@5618=67, sub.pb@2405=33, maincpu.mb@1d9de=66, maincpu.mb@5b1e=67, maincpu.mb@ad90=64</action>
        </script>
    </cheat>

robocopu0
    <cheat desc="Invincibility (Flickerfree)">
        <script state="run">
            <action>maincpu.mb@561c=60, sub.pb@2405=00, maincpu.mb@1d9ec=60, maincpu.mb@5b22=60, maincpu.mb@ad9e=60</action>
        </script>                                                                              
        <script state="off">                                                                   
            <action>maincpu.mb@561c=67, sub.pb@2405=33, maincpu.mb@1d9ec=66, maincpu.mb@5b22=67, maincpu.mb@ad9e=64</action>
        </script>
    </cheat>

robocopw
    <cheat desc="Invincibility (Flickerfree)">
        <script state="run">
            <action>maincpu.mb@569e=60, sub.pb@2405=00, maincpu.mb@1da5c=60, maincpu.mb@5ba4=60, maincpu.mb@adfe=60</action>
        </script>                                                                              
        <script state="off">                                                                   
            <action>maincpu.mb@569e=67, sub.pb@2405=33, maincpu.mb@1da5c=66, maincpu.mb@5ba4=67, maincpu.mb@adfe=64</action>
        </script>
    </cheat>
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: [robocop] invincibility non-flickering

Post by Pugsy »

Thanks, added. Nice work and thanks for doing the clones as well.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
Post Reply