[hyprduel] Hyper Duel

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

[hyprduel] Hyper Duel

Post by jman »

Code: Select all

<cheat desc="no hit">
	<script state="on">
		<action>    sub.pb@fece80 = 60</action> <!-- enemy : copy from vdp -->
		<action>    vdp.mb@3f7c80 = 60</action> <!-- enemy : copy to sub -->
		<action>    sub.pb@fecf08 = 60</action> <!-- bullet : copy from vdp -->
		<action>    vdp.mb@3f7d08 = 60</action> <!-- bullet : copy to sub -->
		<action>    sub.pb@fec99d = b0</action> <!-- background (fighter) : copy from vdp -->
		<action>    vdp.mb@3f779d = b0</action> <!-- background (fighter) : copy to sub -->
		<action>    sub.pb@fee550 = 70</action> <!-- background (robot) : copy from vdp -->
		<action>    vdp.mb@3f9350 = 70</action> <!-- background (robot) : copy to sub -->
		<action>maincpu.mb@037256 = 60</action> <!-- needle (stage 7 boss) -->
	</script>
	<script state="off">
		<action>    sub.pb@fece80 = 66</action>
		<action>    vdp.mb@3f7c80 = 66</action>
		<action>    sub.pb@fecf08 = 6c</action>
		<action>    vdp.mb@3f7d08 = 6c</action>
		<action>    sub.pb@fec99d = A6</action>
		<action>    vdp.mb@3f779d = A6</action>
		<action>    sub.pb@fee550 = 66</action>
		<action>    vdp.mb@3f9350 = 66</action>
		<action>maincpu.mb@037256 = 65</action>
	</script>
</cheat>

<cheat desc="no hit - subunit">
	<script state="on">
		<action>sub.pb@fed252 = 60</action>
		<action>vdp.mb@3f8052 = 60</action>
		<action>sub.pb@fed20a = 60</action>
		<action>vdp.mb@3f800a = 60</action>
		<action>sub.pb@fed316 = 60</action>
		<action>vdp.mb@3f8116 = 60</action>
	</script>
	<script state="off">
		<action>sub.pb@fed252 = 6c</action>
		<action>vdp.mb@3f8052 = 6c</action>
		<action>sub.pb@fed20a = 6c</action>
		<action>vdp.mb@3f800a = 6c</action>
		<action>sub.pb@fed316 = 6c</action>
		<action>vdp.mb@3f8116 = 6c</action>
	</script>
</cheat>

<cheat desc="fire speed up - mainshot">
	<script state="on">
		<action>sub.pb@feacba = 58</action> <!-- fighter : copy from vdp -->
		<action>vdp.mb@3f5aba = 58</action> <!-- fighter : copy to sub -->
		<action>sub.pb@feacee = 58</action> <!-- robot : copy from vdp -->
		<action>vdp.mb@3f5aee = 58</action> <!-- robot : copy to sub -->
	</script>
	<script state="off">
		<action>sub.pb@feacba = 52</action>
		<action>vdp.mb@3f5aba = 52</action>
		<action>sub.pb@feacee = 52</action>
		<action>vdp.mb@3f5aee = 52</action>
	</script>
</cheat>

<cheat desc="player speed">
	<parameter>
		<item value="0x04">01</item>
		<item value="0x08">02</item>
		<item value="0x0c">03</item>
		<item value="0x10">04</item>
		<item value="0x14">05</item>
	</parameter>
	<script state="on">
		<action>sub.pd@fe67ca = 303c0000</action> <!-- copy from vdp -->
		<action>vdp.md@3f15ca = 00003c30</action> <!-- copy to sub -->
		<!--
		fe67ca | 303c 00xx : move.w #$xx,D0
		-->
	</script>
	<script state="change">
		<action>sub.pb@fe67cd = param</action>
		<action>vdp.mb@3f15cd = param</action>
	</script>
	<script state="off">
		<action>sub.pd@fe67ca = 30290050</action>
		<action>vdp.md@3f15ca = 50002930</action>
	</script>
</cheat>
This game is unique. Collision check routine (and more) is uploaded from vdp region to sub CPU program space at boot.
"no hit" code takes care of the needle by stage 7 boss though flicker doesn't.
Post Reply