[skylove] Sky Love

This forum is for posting M.A.M.E. Work In Progress "Arcade"cheats that are not quite ready for the prime time. If the cheats are buggy or the cheat descriptions are non-standard then please post them here. Help maybe given but there are no guarantees and they will only be added to the cheat file when the cheat file maintainer is happy with them.
Post Reply
jman
Posts: 874
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 3 times

[skylove] Sky Love

Post by jman »

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>
Post Reply