[lordofk] The Astyanax/The Lord of King

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

[lordofk] The Astyanax/The Lord of King

Post by jman »

Code: Select all

<cheat desc="no hit">
	<script state="on">
		<action>maincpu.mw@552c = 4e71</action>  <!-- enemy 1 -->
		<action>maincpu.mb@9c96 = 60</action>    <!-- fire 1 -->
		<action>maincpu.mb@9d3c = 60</action>    <!-- fire 2 -->
		<action>maincpu.mb@b108 = 60</action>    <!-- enemy 2 -->
		<action>maincpu.mb@bd72 = 60</action>    <!-- fire 3 -->
		<action>maincpu.mb@a394 = 60</action>    <!-- enemy 3 -->
		<action>maincpu.mb@c22c = 60</action>    <!-- fire 4 -->
	</script>
	<script state="off">
		<action>maincpu.mw@552c = 6606</action>
		<action>maincpu.mb@9c96 = 67</action>
		<action>maincpu.mb@9d3c = 67</action>
		<action>maincpu.mb@b108 = 67</action>
		<action>maincpu.mb@bd72 = 67</action>
		<action>maincpu.mb@a394 = 67</action>
		<action>maincpu.mb@c22c = 65</action>
	</script>
</cheat>

<cheat desc="auto fire">
	<script state="on">
		<action>maincpu.mq@6920 = 0838000488096700</action>
	</script>
	<script state="off">
		<action>maincpu.mq@6920 = 082e0004003b6700</action>
	</script>
</cheat>

<cheat desc="walk speed">
	<parameter>
		<item value="0x0080">01</item>
		<item value="0x0100">02</item>
		<item value="0x0180">03</item>
		<item value="0x0200">04</item>
		<item value="0x0280">05</item>
	</parameter>
	<script state="on">
		<action>maincpu.md@6a62 = 323c0000</action>
	</script>
	<script state="change">
		<action>maincpu.mw@6a64 = param</action>
	</script>
	<script state="off">
		<action>maincpu.md@6a62 = 323af8d4</action>
	</script>
</cheat>

<cheat desc="attack spped up">
	<script state="on">
		<action>maincpu.mq@031b4 = 4eb900012810c07c</action>
		<action>maincpu.mq@12810 = bcfcd55e640a082e</action>
		<action>maincpu.mq@12818 = 0000003367027001</action>
		<action>maincpu.mq@12820 = 3d40001a30014e75</action>
		<!--
		031b4 | 4eb9 0001 2810 : jsr    $12810.l
		12810 | bcfc d55e      : cmpa.w #$d55e,A6
		12814 | 640a           : bcc    $12820
		12816 | 082e 0000 0033 : btst   #$0,($33,A6)
		1281c | 6702           : beq    $12820
		1281e | 7001           : moveq  #$1,D0
		12820 | 3d40 001a      : move.w D0,($1a,A6)
		12824 | 3001           : move.w D1,D0
		12826 | 4e75           : rts
		-->
	</script>
	<script state="off">
		<action>maincpu.mq@031b4 = 3d40001a3001c07c</action>
		<action>maincpu.mq@12810 = ffffffffffffffff</action>
		<action>maincpu.mq@12818 = ffffffffffffffff</action>
		<action>maincpu.mq@12820 = ffffffffffffffff</action>
	</script>
</cheat>

<cheat desc="multiple jump">
	<script state="on">
		<action>maincpu.mq@06b9a = 4eb9000128304e71</action>
		<action>maincpu.mq@12830 = 083800058803670e</action>
		<action>maincpu.mq@12838 = 0838000588096606</action>
		<action>maincpu.mq@12840 = 3d7c000500344eb8</action>
		<action>maincpu.mq@12848 = 68b24a6e002e4e75</action>
		<!--
		06b9a | 4eb9 0001 2830 : jsr    $12830.l
		12830 | 0838 0005 8803 : btst   #$5,$8803.w
		12836 | 670e           : beq    $12846
		12838 | 0838 0005 8809 : btst   #$5,$8809.w
		1283e | 6606           : bne    $12846
		12840 | 3d7c 0005 0034 : move.w #$5,($34,A6)
		12846 | 4eb8 68b2      : jsr    $68b2.w
		1284a | 4a6e 002e      : tst.w  ($2e,A6)
		1284e | 4e75           : rts
		-->
	</script>
	<script state="off">
		<action>maincpu.mq@06b9a = 6100fd164a6e002e</action>
		<action>maincpu.mq@12830 = ffffffffffffffff</action>
		<action>maincpu.mq@12838 = ffffffffffffffff</action>
		<action>maincpu.mq@12840 = ffffffffffffffff</action>
		<action>maincpu.mq@12848 = ffffffffffffffff</action>
	</script>
</cheat>
Still need test, especially in single play with player 2 and dual play.
Post Reply