[le2] Stop Screen Flash when Shooting

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
WunderEnrique
Posts: 9
Joined: Thu Sep 23, 2021 5:10 pm

[le2] Stop Screen Flash when Shooting

Post by WunderEnrique »

This cheat is for Lethal Enforcers II: Gun Fighters. This bypasses the flashing screen which is reduntant when using other input than light guns.

Code: Select all

<mamecheat version="1">
  <cheat desc="Stop Screen Flashing on Shooting">
    <script state="on">
      <action>temp0 =maincpu.mq@2017A4</action>
    </script>
    <script state="run">
      <action>
        maincpu.mq@2017A4=4E714E714E716016
      </action>
    </script>
    <script state="off">
      <action>maincpu.mq@2017A4=temp0</action>
    </script>
  </cheat>
</mamecheat>
Should only be enabled after ROM test, otherwise the test fails.

Nothing below this line is relevant for using this cheat, If you do not care about writing cheats, read no further!

I used more or less the same strategy as with /forums/viewtopic.php?f=4&t=13006 but, this time it wasnt a branch that should be flipped. Instead there were wayyyy fewer lines in common between shots, only 36, so I went through them one by one until I found the operation that flashed. This operation was then changed to NOP operations.
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: [le2] Stop Screen Flash when Shooting

Post by Pugsy »

Thnaks, added.
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