1. "Select Starting Level"
2. "Finish this Level Now!"
Problem 1. I dont know why this cheat doesnt work right, since it should be the same as the mspacman config, which does work fine. But in 20pacgal, its clones, and 25pacman - when starting a mspacman game at a higher level there is a problem.
The maze drawn is board 0, reguardless of what was selected. But the ghosts speed, blue times, and actions are correct for that chosen level, the fruit also follows a path of that chocen level - its just the board doesnt match...until you die, then it changes and the dots are messed up. Once that bad board is cleared, all seems to run good.
I don't know how to go about fixing it.
Problem 2. In 20pacgals and its clones, the F4 value used to max out the board dots eaten value is only good for board 0. Which is the first two mazes. Once then maze changes to any of the other 3 boards, that value doesnt cut it anymore.
In use with 25pacman, pacman itself also has a different value for its maze and dot count.
So I came up with this routine that seems to work fine:
Code: Select all
<cheat desc="Finish this Level Now">
<script state="on">
<action condition="maincpu.pb@0430A==E6" >maincpu.pb@44E0E=F4</action> <!-- Pac-Man Board -->
<action condition="maincpu.pb@0430A==F4" >maincpu.pb@44E0E=E0</action> <!-- Ms. Pac Board 0 -->
<action condition="maincpu.pb@0430A==EB" >maincpu.pb@44E0E=F4</action> <!-- Ms. Pac Board 1 -->
<action condition="maincpu.pb@0430A==E9" >maincpu.pb@44E0E=F2</action> <!-- Ms. Pac Board 2 -->
<action condition="maincpu.pb@0430A==DF" >maincpu.pb@44E0E=EE</action> <!-- Ms. Pac Board 3 -->
</script>
</cheat>