tophuntr.xml & tophuntrh.xml
Code: Select all
<cheat desc="Always have Loaded Gun"> <comment>Enable this Cheat before you start the game</comment>
<script state="on">
<action>temp0 =maincpu.md@02780C</action>
<action>temp1 =maincpu.mb@02B47C</action>
<action>temp2 =maincpu.mq@02B764</action>
<action>temp3 =maincpu.mq@07F000</action>
<action>temp4 =maincpu.mq@07F008</action>
</script>
<script state="run">
<action>maincpu.md@02780C=4E714E71</action> <!-- Ammo Decrement -->
<action>maincpu.mb@02B47C=60</action> <!-- Keep Gun on Collision -->
<action>maincpu.mq@02B764=4E714EB90007F000</action> <!-- Start/Continue with Gun and 4 Bullets JSR to seperate routine - jsr $7f000 -->
<action>maincpu.mq@07F000=197C000100AC197C</action> <!-- Start with Gun - move.b #$1, ($ac,A4) {197C 0001 00AC} -->
<action>maincpu.mq@07F008=000400674E75FFFF</action> <!-- Start with 4 Ammo - move.b #$4, ($67,A4) {197C 0004 0067} , RTS {4E75} -->
</script>
<script state="off">
<action>maincpu.md@02780C=temp0 </action>
<action>maincpu.mb@02B47C=temp1 </action>
<action>maincpu.mq@02B764=temp2 </action>
<action>maincpu.mq@07F000=temp3 </action>
<action>maincpu.mq@07F008=temp4 </action>
</script>
</cheat>