[makaimur] Ghosts'n Goblins/Makai-Mura

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
CheatFinder Lance Corporal
CheatFinder Lance Corporal
Posts: 67
Joined: Tue Dec 01, 2020 1:24 pm

[makaimur] Ghosts'n Goblins/Makai-Mura

Post by jman »

Code: Select all

<cheat desc="auto fire">
	<script state="on">
		<action>maincpu.mb@8f74 = d6</action>
	</script>
	<script state="off">
		<action>maincpu.mb@8f74 = d4</action>
	</script>
</cheat>

<cheat desc="attack speed up">
	<script state="on">
		<action>maincpu.mb@8f70 = 00</action>
	</script>
	<script state="off">
		<action>maincpu.mb@8f70 = 0e</action>
	</script>
</cheat>

<cheat desc="bullet speed">
	<parameter>
		<item value="0x01">01</item>
		<item value="0x04">02</item>
		<item value="0x08">03</item>
		<item value="0x0c">04</item>
		<item value="0x10">05</item>
	</parameter>
	<script state="change">
		<action>maincpu.mb@9c6b =  param</action> <!-- lance, torch, axe, cross : right -->
		<action>maincpu.mb@9c6f = ~param</action> <!-- lance, torch, axe, cross : left -->
		<action>maincpu.mb@9c77 =  param</action> <!-- knife : right -->
		<action>maincpu.mb@9c7b = ~param</action> <!-- knife : left -->
	</script>
	<script state="off">
		<action>maincpu.mb@9c6b = 04</action>
		<action>maincpu.mb@9c6f = fb</action>
		<action>maincpu.mb@9c77 = 05</action>
		<action>maincpu.mb@9c7b = fa</action>
	</script>
</cheat>

<cheat desc="multiple jump">
	<script state="on">
		<!-- in jumping -->
		<action>maincpu.mw@8f22 = fe70</action>
		<action>maincpu.mq@fe70 = d64c53d44bc52027</action>
		<action>maincpu.mq@fe78 = 126f14cc0440ed0b</action>
		<action>maincpu.mq@fe80 = cc0080ed07d64cc4</action>
		<action>maincpu.mq@fe88 = 03e71e7e93be1212</action>
		<!--
		8f22 | 93be -> fe70 [change jump address]
		fe70 | d6 4c    : ldb  $4c
		fe72 | 53       : comb
		fe73 | d4 4b    : andb $4b
		fe75 | c5 20    : bitb #$20
		fe77 | 27 12    : beq  $fe8b
		fe79 | 6f 14    : clr  -c,x
		fe7b | cc 04 40 : ldd  #$0440
		fe7e | ed 0b    : std  $b,x
		fe80 | cc 00 80 : ldd  #$0080
		fe83 | ed 07    : std  7,x
		fe85 | d6 4c    : ldb  $4c
		fe87 | c4 03    : andb #$3
		fe89 | e7 1e    : stb  -2,x
		fe8b | 7e 93 be : jmp  $93be
		-->
		<!-- in falling -->
		<action>maincpu.mw@8fd1 = fe90</action>
		<action>maincpu.mq@fe90 = d64c53d44bc52027</action>
		<action>maincpu.mq@fe98 = 037e8fd37e9049ff</action>
		<!--
		8fd1 | 9049 -> fe90 [change jump address]
		fe90 | d6 4c    : ldb  $4c
		fe92 | 53       : comb
		fe93 | d4 4b    : andb $4b
		fe95 | c5 20    : bitb #$20
		fe97 | 27 03    : beq  $fe9c
		fe99 | 7e 8f d3 : jmp  $8fd3
		fe9c | 7e 90 49 : jmp  $9049
		-->
	</script>
	<script state="off">
		<action>maincpu.mw@8f22 = 93be</action>
		<action>maincpu.mq@fe70 = ffffffffffffffff</action>
		<action>maincpu.mq@fe78 = ffffffffffffffff</action>
		<action>maincpu.mq@fe80 = ffffffffffffffff</action>
		<action>maincpu.mq@fe88 = ffffffffffffffff</action>
		<action>maincpu.mw@8fd1 = 9049</action>
		<action>maincpu.mq@fe90 = ffffffffffffffff</action>
		<action>maincpu.mq@fe98 = ffffffffffffffff</action>
	</script>
</cheat>
Post Reply