Code: Select all
<cheat desc="no hit">
<script state="on">
<!-- objects -->
<action>maincpu.mw@2a5c = 5000</action>
<action>maincpu.mq@5000 = 2043fec83bfe7ddd</action>
<action>maincpu.mq@5008 = fd10206602cbdd16</action>
<action>maincpu.mq@5010 = 01502321c5e5037e</action>
<action>maincpu.mq@5018 = cdc0e1c1b1ed000b</action>
<action>maincpu.mq@5020 = 400c0b0100c90069</action>
<action>maincpu.mq@5028 = 0000a09080706050</action>
<!--
5000 | dd 7d : ld a,ixl
5002 | fe 3b : cp $3B
5004 | c8 : ret z
5005 | fe 43 : cp $43
5007 | 20 16 : jr nz,$501F
5009 | dd cb 02 66 : bit 4,(ix+$02)
500d | 20 10 : jr nz,$501F
500f | fd 7e 03 : ld a,(iy+$03)
5012 | e5 : push hl
5013 | c5 : push bc
5014 | 21 23 50 : ld hl,$5023
5017 | 01 0b 00 : ld bc,$000B
501a | ed b1 : cpir
501c | c1 : pop bc
501d | e1 : pop hl
501e | c0 : ret nz
501f | cd 69 00 : call $0069
5022 | c9 : ret
5023 - 502d : item/lift table
-->
<!-- jump -->
<action>maincpu.mw@2523 = 2525</action>
<!-- fall down -->
<action>maincpu.mw@2701 = 2703</action>
</script>
<script state="off">
<action>maincpu.mw@2a5c = 0069</action>
<action>maincpu.mq@5000 = 0000000000000000</action>
<action>maincpu.mq@5008 = 0000000000000000</action>
<action>maincpu.mq@5010 = 0000000000000000</action>
<action>maincpu.mq@5018 = 0000000000000000</action>
<action>maincpu.mq@5020 = 0000000000000000</action>
<action>maincpu.mq@5028 = 0000000000000000</action>
<action>maincpu.mw@2523 = 25b7</action>
<action>maincpu.mw@2701 = 25b7</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@266c = 00</action>
</script>
<script state="off">
<action>maincpu.mb@266c = c8</action>
</script>
</cheat>
<cheat desc="attack speed up">
<script state="on">
<action>maincpu.mb@267a = 02</action>
</script>
<script state="off">
<action>maincpu.mb@267a = 0a</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>set ram/rom check skip then reset the game (F3)</comment>
<script state="on">
<action>maincpu.md@0705 = 50105010</action>
<action>maincpu.mq@5010 = 3a4fb8003a810121</action>
<action>maincpu.mq@5018 = 2b1b2877beb1a800</action>
<action>maincpu.mq@5020 = 2080fe35012040fe</action>
<action>maincpu.mq@5028 = 187e032010fe3401</action>
<action>maincpu.mq@5030 = cdf23e052001fe06</action>
<action>maincpu.mq@5038 = 3e800432013e0188</action>
<action>maincpu.mq@5040 = 00079cc3801e32ff</action>
<!--
5010 | 21 01 81 : ld hl,$8101 // sound code address
5013 | 3a 00 b8 : ld a,($B800) // read button input
5016 | 4f : ld c,a
5017 | 3a 00 a8 : ld a,($A800) // read stick input
501a | b1 : or c
501b | be : cp (hl)
501c | 77 : ld (hl),a
501d | 28 1b : jr z,$503A
501f | 2b : dec hl
5020 | fe 40 : cp $40
5022 | 20 01 : jr nz,$5025
5024 | 35 : dec (hl) // decrease code
5025 | fe 80 : cp $80
5027 | 20 01 : jr nz,$502A
5029 | 34 : inc (hl) // increase code
502a | fe 10 : cp $10
502c | 20 03 : jr nz,$5031
502e | 7e : ld a,(hl) // play sound
502f | 18 06 : jr $5037
5031 | fe 01 : cp $01
5033 | 20 05 : jr nz,$503A
5035 | 3e f2 : ld a,$F2 // stop sound
5037 | cd 88 01 : call $0188
503a | 3e 01 : ld a,$01
503c | 32 04 80 : ld ($8004),a // enable sound
503f | 3e ff : ld a,$FF
5041 | 32 1e 80 : ld ($801E),a // prevent from resetting the game
5044 | c3 9c 07 : jp $079C
-->
</script>
<script state="run">
<output format="----- springer sound test mode -----" line="10" align="center" />
<output format="left : decrease code" line="11" align="center" />
<output format="right : increase code" line="12" align="center" />
<output format="button 1 : play sound" line="13" align="center" />
<output format="up : stop sound" line="14" align="center" />
<output format="----------------------------" line="15" align="center" />
<output format="<< sound code %2.2X >>" line="17" align="center">
<argument>maincpu.pb@8100</argument>
</output>
</script>
<script state="off">
<action>maincpu.md@0705 = 070909ca</action>
<action>maincpu.mq@5010 = 0000000000000000</action>
<action>maincpu.mq@5018 = 0000000000000000</action>
<action>maincpu.mq@5020 = 0000000000000000</action>
<action>maincpu.mq@5028 = 0000000000000000</action>
<action>maincpu.mq@5030 = 0000000000000000</action>
<action>maincpu.mq@5038 = 0000000000000000</action>
<action>maincpu.mq@5040 = 0000000000000000</action>
</script>
</cheat>
<cheat desc="skip ram/rom check">
<script state="on">
<action>maincpu.mw@0005 = 05dc</action>
</script>
<script state="off">
<action>maincpu.mw@0005 = 4a25</action>
</script>
</cheat>