Code: Select all
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@6515 = 02</action> <!-- enemy -->
<action>maincpu.mb@6597 = 02</action> <!-- enemy -->
<action>maincpu.mb@d854 = 60</action> <!-- bullet (boss) -->
<action>maincpu.mb@e7fb = 02</action> <!-- bullet -->
</script>
<script state="off">
<action>maincpu.mb@6515 = b6</action>
<action>maincpu.mb@6597 = 24</action>
<action>maincpu.mb@d854 = 6d</action>
<action>maincpu.mb@e7fb = 0c</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@6a3f = 68</action>
</script>
<script state="off">
<action>maincpu.mb@6a3f = 6a</action>
</script>
</cheat>
<cheat desc="player speed">
<parameter>
<item value="0x00008000">01 (slow)</item>
<item value="0x00018000">02 </item>
<item value="0x00028000">03 </item>
<item value="0x00048000">04 </item>
<item value="0x00068000">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@06e62 = 4eb9000149a044ae</action> <!-- left -->
<action>maincpu.mq@06e7e = 4eb9000149a03200</action> <!-- right -->
<action>maincpu.mq@06e92 = 4eb9000149aa44ae</action> <!-- up -->
<action>maincpu.mq@06eae = 4eb9000149aa4a45</action> <!-- down -->
<action>maincpu.mq@149a0 = 2d7c00000000002c</action>
<action>maincpu.mq@149a8 = 4e752d7c00000000</action>
<action>maincpu.mq@149b0 = 00304e75ffffffff</action>
<!--
149a0 | 2d7c xxxx xxxx 002c : move.l #$xxxx,($2c,A6)
149a8 | 4e75 : rts
149aa | 2d7c xxxx xxxx 0030 : move.l #$xxxx,($30,A6)
149b2 | 4e75 : rts
-->
</script>
<script state="change">
<action>maincpu.md@149a2 = param</action>
<action>maincpu.md@149ac = param</action>
</script>
<script state="off">
<action>maincpu.mq@06e62 = 2d6e0034002c44ae</action>
<action>maincpu.mq@06e7e = 2d6e0034002c3200</action>
<action>maincpu.mq@06e92 = 2d6e0038003044ae</action>
<action>maincpu.mq@06eae = 2d6e003800304a45</action>
<action>maincpu.mq@149a0 = ffffffffffffffff</action>
<action>maincpu.mq@149a8 = ffffffffffffffff</action>
<action>maincpu.mq@149b0 = ffffffffffffffff</action>
</script>
</cheat>
<cheat desc="bullet speed">
<parameter>
<item value="0x00010000">01 (slow)</item>
<item value="0x00060000">02 </item>
<item value="0x00088000">03 </item>
<item value="0x000a8000">04 </item>
<item value="0x000c8000">05 (fast)</item>
</parameter>
<script state="on">
<action>maincpu.mq@06b30 = 4eb9000149c04e71</action>
<action>maincpu.mq@149c0 = 2b40002c2b7c0000</action>
<action>maincpu.mq@149c8 = 000000304e75ffff</action>
<!--
149c0 | 2b40 002c : move.l D0,($2c,A5)
149c4 | 2b7c xxxx xxxx 0030 : move.l #$xxxx,($30,A5)
-->
</script>
<script state="change">
<action>maincpu.md@149c6 = -param</action>
</script>
<script state="off">
<action>maincpu.mq@06b30 = 2b40002c2b410030</action>
<action>maincpu.mq@149c0 = ffffffffffffffff</action>
<action>maincpu.mq@149c8 = ffffffffffffffff</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>reset the game (F3) to enter sound test mode</comment>
<script state="on">
<action>maincpu.md@137b8 = 000149d0</action>
<action>maincpu.mq@149d0 = 41f900ff100043e8</action>
<action>maincpu.mq@149d8 = 4001120010390084</action>
<action>maincpu.mq@149e0 = 0001b20067f40c00</action>
<action>maincpu.mq@149e8 = 007f660253100c00</action>
<action>maincpu.mq@149f0 = 00bf660252100c00</action>
<action>maincpu.mq@149f8 = 00ef660404100010</action>
<action>maincpu.mq@14a00 = 0c0000df66040610</action>
<action>maincpu.mq@14a08 = 00100c0000fe6602</action>
<action>maincpu.mq@14a10 = 12900c0000fd6604</action>
<action>maincpu.mq@14a18 = 12bc008060bcffff</action>
<!--
149d0 | 41f9 00ff 1000 : lea $ff1000.l,A0 // sound code address
149d6 | 43e8 4001 : lea ($4001,A0),A1 // sound latch address
149da | 1200 : move.b D0,D1
149dc | 1039 0084 0001 : move.b $840001.l,D0 // read input
149e2 | b200 : cmp.b D0,D1
149e4 | 67f4 : beq $149da
149e6 | 0c00 007f : cmpi.b #$7f,D0
149ea | 6602 : bne $149ee
149ec | 5310 : subq.b #1,(A0) // decrease code -01
149ee | 0c00 00bf : cmpi.b #-$41,D0
149f2 | 6602 : bne $149f6
149f4 | 5210 : addq.b #1,(A0) // increase code +01
149f6 | 0c00 00ef : cmpi.b #-$11,D0
149fa | 6604 : bne $14a00
149fc | 0410 0010 : subi.b #$10,(A0) // decrease code -10
14a00 | 0c00 00df : cmpi.b #-$21,D0
14a04 | 6604 : bne $14a0a
14a06 | 0610 0010 : addi.b #$10,(A0) // increase code +10
14a0a | 0c00 00fe : cmpi.b #-$2,D0
14a0e | 6602 : bne $14a12
14a10 | 1290 : move.b (A0),(A1) // play sound
14a12 | 0c00 00fd : cmpi.b #-$3,D0
14a16 | 6604 : bne $14a1c
14a18 | 12bc 0080 : move.b #$80,(A1) // stop sound
14a1c | 60bc : bra $149da
-->
</script>
<script state="run">
<output format="----- zunzunkyou no yabou sound test mode -----" line="10" align="center" />
<output format="left : decrease code -01" line="11" align="center" />
<output format="right : increase code +01" line="12" align="center" />
<output format="up : increase code +10" line="13" align="center" />
<output format="down : decrease code -10" line="14" align="center" />
<output format="button 1 : play sound" line="15" align="center" />
<output format="start : stop sound" line="16" align="center" />
<output format="----------------------------" line="17" align="center" />
<output format="<< sound code %2.2X >>" line="19" align="center">
<argument>maincpu.pb@ff1000</argument>
</output>
</script>
<script state="off">
<action>maincpu.md@137b8 = 0000574a</action>
<action>maincpu.mq@149d0 = ffffffffffffffff</action>
<action>maincpu.mq@149d8 = ffffffffffffffff</action>
<action>maincpu.mq@149e0 = ffffffffffffffff</action>
<action>maincpu.mq@149e8 = ffffffffffffffff</action>
<action>maincpu.mq@149f0 = ffffffffffffffff</action>
<action>maincpu.mq@149f8 = ffffffffffffffff</action>
<action>maincpu.mq@14a00 = ffffffffffffffff</action>
<action>maincpu.mq@14a08 = ffffffffffffffff</action>
<action>maincpu.mq@14a10 = ffffffffffffffff</action>
<action>maincpu.mq@14a18 = ffffffffffffffff</action>
</script>
</cheat>
Code: Select all
<cheat desc="max bullets up (test)">
<script state="on">
<action>maincpu.mw@06a8c = 7c01</action> <!-- disable bullet count -->
<action>maincpu.mq@06ae0 = 4ef900014a203b7c</action>
<action>maincpu.mq@14a20 = 4bed0060bbfc00ff</action>
<action>maincpu.mq@14a28 = 2a8064064ef90000</action>
<action>maincpu.mq@14a30 = 6ad84e75ffffffff</action>
<!--
14a20 | 4bed 0060 : lea ($60,A5),A5
14a24 | bbfc 00ff 2a80 : cmpa.l #$ff2a80,A5
14a2a | 6406 : bcc $14a32
14a2c | 4ef9 0000 6ad8 : jmp $6ad8.l
14a32 | 4e75 : rts
-->
</script>
<script state="off">
<action>maincpu.mw@06a8c = bc44</action>
<action>maincpu.mq@06ae0 = 4bed006060f23b7c</action>
<action>maincpu.mq@14a20 = ffffffffffffffff</action>
<action>maincpu.mq@14a28 = ffffffffffffffff</action>
<action>maincpu.mq@14a30 = ffffffffffffffff</action>
</script>
</cheat>
"max bullets up" + "bullet speed" (slow) + "auto fire" (shot level is 1).