[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.
CheatFinder Private
Posts: 4
Joined: Tue Mar 10, 2015 10:25 pm

[irrmaze] Invalid memory name

Postby andrewrae » Sun Oct 09, 2016 10:31 pm

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 state="run">
      <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 state="off">
      <action>maincpu.mb@004E18=temp0 </action>
      <action>maincpu.mb@004FDF=temp1 </action>

What can I do?