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
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>
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>
- dink (FBAlpha dev)