Code: Select all
<cheat desc="no hit">
<script state="on">
<action>maincpu.mb@09acd = 20</action> <!-- fire sword -->
<action>maincpu.mb@0fa97 = 20</action> <!-- bullet -->
<action>maincpu.mb@0a12f = 20</action> <!-- enemy -->
<action>maincpu.mb@0da11 = 20</action> <!-- boss explosion -->
<action>maincpu.mb@0fcb2 = 20</action> <!-- bomb explosion -->
<action>maincpu.mb@3b794 = 20</action> <!-- trap ($7794) -->
</script>
<script state="off">
<action>maincpu.mb@09acd = 25</action>
<action>maincpu.mb@0fa97 = 27</action>
<action>maincpu.mb@0a12f = 2d</action>
<action>maincpu.mb@0da11 = 26</action>
<action>maincpu.mb@0fcb2 = 26</action>
<action>maincpu.mb@3b794 = 27</action>
</script>
</cheat>
<cheat desc="auto fire">
<script state="on">
<action>maincpu.mb@39f79 = 00</action> <!-- ($5f79) -->
</script>
<script state="off">
<action>maincpu.mb@39f79 = 11</action>
</script>
</cheat>
<cheat desc="walk through wall">
<script state="on">
<action>maincpu.mb@a576 = 00</action> <!-- background -->
<action>maincpu.mb@a57a = 20</action> <!-- objects -->
</script>
<script state="off">
<action>maincpu.mb@a576 = 05</action>
<action>maincpu.mb@a57a = 27</action>
</script>
</cheat>
<cheat desc="sound test mode">
<comment>reset the game (F3) to enter sound test mode</comment>
<script state="on">
<action>maincpu.mw@08832 = 7190</action>
<action>maincpu.mq@3b190 = d711f63800d11127</action>
<action>maincpu.mq@3b198 = f7c1fb26020a10c1</action>
<action>maincpu.mq@3b1a0 = f726020c10c1ef26</action>
<action>maincpu.mq@3b1a8 = 0496102006c1df26</action>
<action>maincpu.mq@3b1b0 = 058601b7380020d8</action>
<!--
7190 | d7 11 : STB $11
7192 | f6 38 00 : LDB $3800 // read input
7195 | d1 11 : CMPB $11
7197 | 27 f7 : BEQ $7190
7199 | c1 fb : CMPB #$FB
719b | 26 02 : BNE $719F
719d | 0a 10 : DEC $10 // decrease code
719f | c1 f7 : CMPB #$F7
71a1 | 26 02 : BNE $71A5
71a3 | 0c 10 : INC $10 // increase code
71a5 | c1 ef : CMPB #$EF
71a7 | 26 04 : BNE $71AD
71a9 | 96 10 : LDA $10 // play sound
71ab | 20 06 : BRA $71B3
71ad | c1 df : CMPB #$DF
71af | 26 05 : BNE $71B6
71b1 | 86 01 : LDA #$01 // stop sound
71b3 | b7 38 00 : STA $3800
71b6 | 20 d8 : BRA $7190
-->
</script>
<script state="run">
<output format="----- meikyu hunter g 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="button 2 : 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@0010</argument>
</output>
</script>
<script state="off">
<action>maincpu.mw@08832 = 606a</action>
<action>maincpu.mq@3b190 = 0000000000000000</action>
<action>maincpu.mq@3b198 = 0000000000000000</action>
<action>maincpu.mq@3b1a0 = 0000000000000000</action>
<action>maincpu.mq@3b1a8 = 0000000000000000</action>
<action>maincpu.mq@3b1b0 = 0000000000000000</action>
</script>
</cheat>
- "always have ghosts" : not work because meikyh does not have "ghost capture".
- "slimer" : not work. But meikyuh has "guard ball" instead of "slimer" so different address?
- "maximum shot power" : meikyuh has 6 weapon items so maximum value is not 0x03 but 0x3f.