[pacman]+ Starting Level Update. Game Moves Forward as each board is cleared.

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
pac_man_fan2
Posts: 62
Joined: Fri Dec 06, 2019 1:49 pm

[pacman]+ Starting Level Update. Game Moves Forward as each board is cleared.

Post by pac_man_fan2 »

I couldn't leave pacman starting levels alone after I went through all the ms.pac stuff!

The only issue with the pacman starting levels was the game never moved forward, you'd always be on the same level. So here is the similar code as mspacman.

Works for all clones (Except pacplus): pacman, puckman, pacmanfm, pacmansp, pacmanso, pacmanpe, pacmanvg, pacmod, puckmod, pacheart, joyman, abscam, newpuckx, puckmanb, puckmanf, ctrpllrp, newpuc2, newpuc2b, puckmanh, popeyeman, Hangly, Hangly2, Hangly3

Code: Select all

  <cheat desc="Select Starting Level"> <comment>Can Leave ON or OFF, game progresses normally either way.</comment>
    <parameter>
      <item value="0x01">Strawberry</item>
      <item value="0x02">1st Orange</item>
      <item value="0x03">2nd Orange</item>
      <item value="0x04">1st Apple</item>
      <item value="0x05">2nd Apple</item>
      <item value="0x06">1st Pineapple</item>
      <item value="0x07">2nd Pineapple</item>
      <item value="0x08">1st Galaxian</item>
      <item value="0x09">2nd Galaxian</item>
      <item value="0x0A">1st Bell</item>
      <item value="0x0B">2nd Bell</item>
      <item value="0x0C">1st Key</item>
      <item value="0x0D">2nd Key</item>
      <item value="0xFF">Level 255: Split Screen</item>
    </parameter>
    <script state="run">
      <action condition="(maincpu.pb@4E13==00)"> maincpu.pb@4E13=param</action>
      <action condition="(maincpu.pb@4E13==param) AND (maincpu.pb@4E73==68)"> maincpu.pb@4E0A=0x68 + param</action>     <!-- NORMAL Difficulty -->
      <action condition="(maincpu.pb@4E13==param) AND (maincpu.pb@4E73==68) AND (maincpu.pb@4E0A LT 0x68)"> maincpu.pb@4E0A=7C</action>
      <action condition="(maincpu.pb@4E13==param) AND (maincpu.pb@4E73==68) AND (maincpu.pb@4E0A GT 0x7C)"> maincpu.pb@4E0A=7C</action>
      <action condition="(maincpu.pb@4E13==param) AND (maincpu.pb@4E73==7D)"> maincpu.pb@4E0A=0x7D + param</action>     <!-- HARD Difficulty -->
      <action condition="(maincpu.pb@4E13==param) AND (maincpu.pb@4E73==7D) AND (maincpu.pb@4E0A LT 0x7D)"> maincpu.pb@4E0A=8C</action>
      <action condition="(maincpu.pb@4E13==param) AND (maincpu.pb@4E73==7D) AND (maincpu.pb@4E0A GT 0x8C)"> maincpu.pb@4E0A=8C</action>
    </script>
    <script state="off">
      <!-- Dont reset anything, Keeps current level info and lets the game incriment normally -->
    </script>
  </cheat>
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: [pacman]+ Starting Level Update. Game Moves Forward as each board is cleared.

Post by Pugsy »

Updated, 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