Page 1 of 1

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

Posted: Tue Jan 21, 2020 7:46 pm
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>

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

Posted: Fri Jun 19, 2020 12:21 am
by Pugsy
Updated, thanks.