[irrmaze] Invalid memory name

If you are having problems finding or using cheats for an Emulator (particularly MAME/MESS) or have found a trick that you wish to share this is the place to do it. But please read the Cheat FAQ first.
Post Reply
andrewrae
Posts: 8
Joined: Tue Mar 10, 2015 10:25 pm

[irrmaze] Invalid memory name

Post by andrewrae »

Okay, so one of these codes, Invincibility, causes an error and prevents the cheat list from loading with this game.

irrmaze.xml(25): error parsing cheat expression "temp0 =maincpu.mb@004E18" (invalid memory name)

And here is the offending code in full:

Code: Select all

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@004E18</action>
      <action>temp1 =maincpu.mb@004FDF</action>
    </script>
    <script state="run">
      <action>maincpu.mb@004E18=60</action>
      <action>maincpu.mb@004FDF=02</action> <!-- Part 1 takes care of sprite to backround collisions + Part 2 takes care of sprite to sprite collisions -->
    </script>
    <script state="off">
      <action>maincpu.mb@004E18=temp0 </action>
      <action>maincpu.mb@004FDF=temp1 </action>
    </script>
  </cheat>
What can I do?
Post Reply