[valtric] Invincibility (replaces previously buggy cheat)

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
dink
Posts: 4
Joined: Sat Jul 07, 2018 4:12 am

[valtric] Invincibility (replaces previously buggy cheat)

Post by dink » Thu Oct 04, 2018 5:31 am

Valtric
This invincibility cheat has no problems in-game, the one it replaces has tons of problems (game corruption, sprite corruption, sound issues....)

edited Old MAME/FBAlpha cheat October 9, 2018 to fix a glitch when disabling the cheat.
Old MAME, FBAlpha:

Code: Select all

:valtric:00800000:E090:00000020:FFFFFFFF:Invincibility
Current MAME:

Code: Select all

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 = maincpu.rb@0E090</action>
    </script>
    <script state="run">
      <action>maincpu.pb@E090=20</action> <!-- This cheat by dink of FBAlpha project -->
    </script>
    <script state="off">
      <action>maincpu.pb@E090 = temp0 </action>
    </script>
  </cheat>
Remove the old buggy cheat:

Code: Select all

  <cheat desc=" "/>
  <cheat desc="Do not touch or land on top of active turrets when you have"/>
  <cheat desc="Invincibility enabled or the main sprite will become corrupt"/>
  <cheat desc=" "/>

  <cheat desc="Invincibility Buggy!"> <comment>See the Dip Switch Menu to enable an alternate Invincibility cheat.</comment>
    <script state="run">
      <action>maincpu.pb@E090=00|(maincpu.pb@E090 BAND ~01)</action>
    </script>
  </cheat>
best regards,
- dink (FBAlpha dev)

dink
Posts: 4
Joined: Sat Jul 07, 2018 4:12 am

Re: [valtric] Invincibility (replaces previously buggy cheat)

Post by dink » Wed Oct 10, 2018 3:49 am

The old MAME / FBAlpha version of my cheat needed the 0x800000 flag to properly disable the cheat. sorry about that!

The current MAME version of my cheat was/is fine.

have fun :)
- dink

Post Reply