Mmm, well it does work........
But,
you cannot NOP out two 3 byte jump instructions with two single NOPs....It may work but it's simple wrong and bad practice.
The standard method is to either NOP out all the bytes in the instructions, jump past it or replace it with a new instructions that will do no harm.
So for example replacing it with 3A instead of 00, it will write to the A register which in this case doesn't matter as the A register is overwritten by the instruction after the two JMPs
so this would be more correct:-
Code: Select all
<cheat desc="Skip RAM/ROM Check">
<script state="on">
<action>temp0=maincpu.mb@00E5</action>
<action>temp1=maincpu.mb@00E8</action>
</script>
<script state="run">
<action>maincpu.mb@00E5=3A</action>
<action>maincpu.mb@00E8=3A</action>
</script>
<script state="off">
<action>maincpu.mb@00E5=temp0</action>
<action>maincpu.mb@00E8=temp1</action>
</script>
</cheat>
Though I don't know if you even need to write to 00E5 to start with, maincpu.mb@00E8=3A would possibly suffice. Going to leave this for now.