This alters ghost/monster behavior to allow travel up the passages they normally are restricted from using:
Code: Select all
:puckman:20800000:1C15:00000000:FFFFFFFF:Ghosts Go Up All Passages
:puckman:20810000:1CEC:00000000:FFFFFFFF:Ghosts Go Up All Passages (2/4)
:puckman:20810000:1DC3:00000000:FFFFFFFF:Ghosts Go Up All Passages (3/4)
:puckman:20810000:1E9A:00000000:FFFFFFFF:Ghosts Go Up All Passages (4/4)
Code: Select all
<cheat desc="Ghosts Go Up All Passages"> <comment>Ghosts can travel up restricted passages in chase/scatter modes</comment>
<script state="on">
<action>temp0 =maincpu.mb@1C15</action>
<action>temp1 =maincpu.mb@1CEC</action>
<action>temp2 =maincpu.mb@1DC3</action>
<action>temp3 =maincpu.mb@1E9A</action>
</script>
<script state="run">
<action>maincpu.mb@1C15=00</action>
<action>maincpu.mb@1CEC=00</action>
<action>maincpu.mb@1DC3=00</action>
<action>maincpu.mb@1E9A=00</action>
</script>
<script state="off">
<action>maincpu.mb@1C15=temp0 </action>
<action>maincpu.mb@1CEC=temp1 </action>
<action>maincpu.mb@1DC3=temp2 </action>
<action>maincpu.mb@1E9A=temp3 </action>
</script>
</cheat>
It has been tested with the puckman, pacman, puckmanf, and pacmanf ROM sets but should work with most any clone of Puckman.