Page 1 of 1

[irrmaze] Invalid memory name

Posted: Sun Oct 09, 2016 10:31 pm
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?