1942b hit anywhere
Posted: Sun Feb 21, 2016 2:58 am
In 1942.xml, there's a hit anywhere code. I took a shot at porting it, but it fails (with quite amusing results)
The 3rd, 5th, 6th and 7th addresses are guesses based on the relative bytes, but they're quite obviously incorrect. I've left my meagre notes in the comments next to the addresses.
Code: Select all
<cheat desc="Hit Anywhere">
<script state="on">
<action>temp0 =maincpu.mb@3489</action> <!-- / -->
<action>temp1 =maincpu.mb@34B4</action> <!-- / -->
<action>temp2 =maincpu.mb@34EE</action> <!-- ? *DA* 3E 34 CD -->
<action>temp3 =maincpu.mb@34FE</action> <!-- / -->
<action>temp4 =maincpu.mb@3537</action> <!-- ? *DA* 3E 34 DD -->
<action>temp5 =maincpu.mb@356F</action> <!-- ? *C6* CD 76 36 -->
<action>temp6 =maincpu.mb@358B</action> <!-- ? *D6* 21 63 38 -->
</script>
<script state="run">
<action>maincpu.mb@3489=00</action> <!-- This ROM cheat was made by nolberto82 -->
<action>maincpu.mb@34B4=86</action>
<action>maincpu.mb@34EE=3A</action>
<action>maincpu.mb@34FE=86</action>
<action>maincpu.mb@3537=3A</action>
<action>maincpu.mb@356F=86</action>
<action>maincpu.mb@358B=C6</action>
</script>
<script state="off">
<action>maincpu.mb@3489=temp0 </action>
<action>maincpu.mb@34B4=temp1 </action>
<action>maincpu.mb@34EE=temp2 </action>
<action>maincpu.mb@34FE=temp3 </action>
<action>maincpu.mb@3537=temp4 </action>
<action>maincpu.mb@356F=temp5 </action>
<action>maincpu.mb@358B=temp6 </action>
</script>
</cheat>