Page 1 of 1

[le2] Stop Screen Flash when Shooting

Posted: Sun Sep 26, 2021 2:58 pm
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.

Re: [le2] Stop Screen Flash when Shooting

Posted: Sat Jul 09, 2022 2:41 pm
by Pugsy
Thnaks, added.