[hharry] ROM invincibility + one hit kills

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
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

[hharry] ROM invincibility + one hit kills

Post by Pugsy »

Bit of a tricky one this, might still be possible to get stuck so I updated the infinite time cheat to allow you to die rapidly when the invincibility cheat is disabled incase you get stuck. Also added a One Hit Kills cheat that will kill all bosses and vehicles in one hit - note vehicles that come in two parts will need a hit on each part.

Code: Select all

  <cheat desc="Infinite Time"> <comment>Note if you disable Invincibility then it will temporarily disable Infinite Time forcing a Death</comment>
    <script state="run">
      <action condition="maincpu.pw@A00FD GT 0002">maincpu.pw@A00FD=095A</action>
    </script>
  </cheat>

  <cheat desc="Invincibility"> <comment>If you stop the forklift by the low ceiling you won't be able to get past it - if this happens disable this cheat. If you get stuck anywhere else then disable it to progress.</comment>
    <script state="on">
      <action>temp0 =maincpu.mw@02D60</action>
      <action>temp1 =maincpu.mb@026B9</action>
      <action>temp2 =maincpu.mb@0B6FD</action>
      <action>temp3 =maincpu.mw@01E99</action>
      <action>temp4 =maincpu.mb@0271E</action>
      <action>temp5 =maincpu.mb@02768</action>
      <action condition="maincpu.pw@A00FD LT 0003">maincpu.pw@A00FD=0004</action>
    </script>
    <script state="run">
      <action>maincpu.mw@02D60=C3F9</action> <!-- Normal Collisions -->
      <action>maincpu.mb@026B9=00</action> <!-- Bricks -->
      <action>maincpu.mb@0B6FD=00</action> <!-- Floor -->
      <action>maincpu.mw@01E99=05EB</action> <!-- Boss -->
      <action>maincpu.mb@0271E=00</action> <!-- Manhole cover -->
      <action>maincpu.mb@02768=00</action> <!-- Girder -->
      <action condition="maincpu.pb@A0BF3==20">maincpu.pb@A0BF3=18</action> <!-- Force range cheat to stop getting stuck on water on level 3 -->
    </script>
    <script state="off">
      <action>maincpu.mw@02D60=temp0 </action>
      <action>maincpu.mb@026B9=temp1 </action>
      <action>maincpu.mb@0B6FD=temp2 </action>
      <action>maincpu.mw@01E99=temp3 </action>
      <action>maincpu.mb@0271E=temp4 </action>
      <action>maincpu.mb@02768=temp5 </action>
      <action>maincpu.pw@A00FD=0002</action>
    </script>
  </cheat>

  <cheat desc="One Hit Kills">
    <script state="on">
      <action>temp0 =maincpu.mb@034AC</action>
    </script>
    <script state="run">
      <action>maincpu.mb@034AC=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@034AC=temp0 </action>
    </script>
  </cheat>
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
pepinos
Posts: 130
Joined: Mon Apr 05, 2004 12:47 am

Re: [hharry] ROM invincibility + one hit kills

Post by pepinos »

thank you very much
Post Reply