Code: Select all
<cheat desc="Walk trough walls">
<script state="on">
<action>temp0 =maincpu.pb@BD16</action>
</script>
<script state="run">
<action>maincpu.pb@BD16=20</action> <!-- BRA $BD1D -->
</script>
<script state="off">
<action>maincpu.pb@BD16=temp0 </action>
</script>
</cheat>

I think it should be maincpu.mb but it's not really accepted.

Attached an image.


EDIT - It works using the program space poking mode:
Code: Select all
<cheat desc="Walk trough walls">
<script state="on">
<action>temp0 =maincpu.rb@BD16</action>
</script>
<script state="run">
<action>maincpu.rb@BD16=20</action> <!-- BRA $BD1D -->
</script>
<script state="off">
<action>maincpu.rb@BD16=temp0 </action>
</script>
</cheat>
