Page 1 of 1

[popeyeman]+ FIxed "Invincibility" and "Move Manually" cheats

Posted: Fri Jan 24, 2020 7:36 pm
by pac_man_fan2
The memory addresses were stopping onto valid code in popeye man, and hanglyman and it's clones.

I found some good open space to move both of these cheats for:
popeyeman, hangly, hangly2, hangly3

Code: Select all

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0=maincpu.md@1774</action>
      <action>temp1=maincpu.md@3FD0</action>
      <action>temp2=maincpu.md@3FD4</action>
      <action>temp3=maincpu.md@3FD8</action>
    </script>
    <script state="run">
      <action>maincpu.md@1774=003FD0C3|(maincpu.md@1774 BAND ~00FFFFFF)</action>
      <action>maincpu.md@3FD0=000420A7|(maincpu.md@3FD0 BAND ~00FFFFFF)</action> <!-- 1st = jp $3FD0, 2nd = and a/jp nz, $3FD7 -->
      <action>maincpu.md@3FD4=1764C3AF</action> <!-- xor a/jp $1764 (Normal Ghost) -->
      <action>maincpu.md@3FD8=1777C3AF</action> <!-- xor a/jp $1777 (Blue Ghost) -->
    </script>
    <script state="off">
      <action>maincpu.md@1774=temp0</action>
      <action>maincpu.md@3FD0=temp1</action>
      <action>maincpu.md@3FD4=temp2</action>
      <action>maincpu.md@3FD8=temp3</action>
    </script>
  </cheat>

  <cheat desc="Move Manually">
    <script state="on">
      <action>temp0=maincpu.md@18C5</action>
      <action>temp1=maincpu.md@3FE0</action>
      <action>temp2=maincpu.md@3FE4</action>
      <action>temp3=maincpu.md@3FE8</action>
      <action>temp4=maincpu.md@3FEC</action>
    </script>
    <script state="run">
      <action>maincpu.md@18C5=CB3FE0C3</action> <!-- This ROM cheat was made by nolberto82 -->
      <action>maincpu.md@3FE0=2F50003A</action>
      <action>maincpu.md@3FE4=04280FE6</action>
      <action>maincpu.md@3FE8=18C8C32F</action>
      <action>maincpu.md@3FEC=001A13C3</action>
    </script>
    <script state="off">
      <action>maincpu.md@18C5=temp0</action>
      <action>maincpu.md@3FE0=temp1</action>
      <action>maincpu.md@3FE4=temp2</action>
      <action>maincpu.md@3FE8=temp3</action>
      <action>maincpu.md@3FEC=temp4</action>
    </script>
  </cheat>

Re: [popeyeman]+ FIxed "Invincibility" and "Move Manually" cheats

Posted: Fri Jun 19, 2020 12:41 am
by Pugsy
Thanks, updated