[cryptklr] Crypt Killer weapon select

This forum is for posting M.A.M.E. Work In Progress "Arcade"cheats that are not quite ready for the prime time. If the cheats are buggy or the cheat descriptions are non-standard then please post them here. Help maybe given but there are no guarantees and they will only be added to the cheat file when the cheat file maintainer is happy with them.
Post Reply
pasky13
Posts: 27
Joined: Wed Nov 08, 2006 8:31 am

[cryptklr] Crypt Killer weapon select

Post by pasky13 »

Code: Select all

  <cheat desc="Select Weapon PL1">
    <parameter>
      <item value="0x00">Normal Gun</item>
      <item value="0x01">Shotgun</item>
      <item value="0x02">Grenade Launcher</item>
      <item value="0x03">Gatling Gun</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@2377D0=param</action>
    </script>
</cheat>

  <cheat desc="Select Weapon PL2">
    <parameter>
      <item value="0x00">Normal Gun</item>
      <item value="0x01">Shotgun</item>
      <item value="0x02">Grenade Launcher</item>
      <item value="0x03">Gatling Gun</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@237828=param</action>
    </script>
</cheat>

<cheat desc="Select Weapon PL3">
    <parameter>
      <item value="0x00">Normal Gun</item>
      <item value="0x01">Shotgun</item>
      <item value="0x02">Grenade Launcher</item>
      <item value="0x03">Gatling Gun</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@237880=param</action>
    </script>
</cheat>
The code works fine, it's just I can't find the sprite addresses for the gun and ammo. So even when the cheat is set, your shots will be from the selected weapon, but the HUD will still show whatever current weapon you had before the cheat was activated.
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: [cryptklr] Crypt Killer weapon select

Post by Pugsy »

I know it's in the WIP Cheat section though it seems to work fine. Added it with a comment about the weapon display being incorrect, thanks
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