Code: Select all
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@ae1c = 20</action> <!-- objects -->
<action>maincpu.mb@d240 = 20</action> <!-- dragon fire -->
</script>
<script state="off">
<action>maincpu.mb@ae1c = 24</action>
<action>maincpu.mb@d240 = 25</action>
</script>
</cheat>
Code: Select all
<cheat desc="walk through wall">
<script state="on">
<action>maincpu.mw@abbb = 1cfb</action>
</script>
<script state="off">
<action>maincpu.mw@abbb = a517</action>
</script>
</cheat>
Code: Select all
<cheat desc="player speed">
<parameter>
<item value="0x2008">01 (slow)</item>
<item value="0x200f">02 </item>
<item value="0x201b">03 (fast)</item>
<item value="0x2027">04 (????)</item>
</parameter>
<script state="change">
<action>maincpu.mw@ab62 = param</action>
</script>
<script state="off">
<action>maincpu.mw@ab62 = 6ed6</action>
</script>
</cheat>
Code: Select all
<cheat desc="unlock floor select mode">
<comment>push start button after inserted a coin</comment>
<script state="on">
<action>maincpu.md@deca = 7e90a2c4</action> <!-- button -->
<action>maincpu.mb@918f = 00</action> <!-- floor -->
</script>
<script state="off">
<action>maincpu.md@deca = f64805c4</action>
<action>maincpu.mb@918f = 99</action>
</script>
</cheat>