Code: Select all
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@1223 = af</action>
</script>
<script state="off">
<action>maincpu.mb@1223 = 84</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@083f = c3</action>
</script>
<script state="off">
<action>maincpu.mb@083f = c2</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter min="0x01" max="0x05" step="0x01" />
<script state="on">
<action>maincpu.mw@0740 = 1ed0</action>
<action>maincpu.mq@1ed0 = 05c1075acdc50006</action>
<action>maincpu.mq@1ed8 = ffffffffc91ed2c2</action>
<!--
1ed0 | 06 xx : mvi b,$xx
1ed2 | c5 : push b
1ed3 | cd 5a 07 : call $075a
1ed6 | c1 : pop b
1ed7 | 05 : dcr b
1ed8 | c2 d2 1e : jnz $1ed2
1edb | c9 : ret
-->
</script>
<script state="change">
<action>maincpu.mb@1ed1 = param</action>
</script>
<script state="off">
<action>maincpu.mw@0740 = 075a</action>
<action>maincpu.mq@1ed0 = ffffffffffffffff</action>
<action>maincpu.mq@1ed8 = ffffffffffffffff</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter min="0x01" max="0x05" step="0x01" />
<script state="on">
<action>maincpu.mw@0743 = 1ee0</action>
<action>maincpu.mq@1ee0 = 05c107f4cdc50006</action>
<action>maincpu.mq@1ee8 = ffffffffc91ee2c2</action>
<!--
1ee0 | 06 xx : mvi b,$xx
1ee2 | c5 : push b
1ee3 | cd f4 07 : call $07f4
1ee6 | c1 : pop b
1ee7 | 05 : dcr b
1ee8 | c2 e2 1e : jnz $1ee2
1eeb | c9 : ret
-->
</script>
<script state="change">
<action>maincpu.mb@1ee1 = param</action>
</script>
<script state="off">
<action>maincpu.mw@0743 = 07f4</action>
<action>maincpu.mq@1ee0 = ffffffffffffffff</action>
<action>maincpu.mq@1ee8 = ffffffffffffffff</action>
</script>
</cheat>