Page 1 of 1

[apple2\junghunt] Jungle Hunt

Posted: Sun Sep 15, 2024 9:15 am
by baco

Code: Select all

 <mamecheat version="1">
  <cheat desc="Infinite Lives">
  <comment>Always set to '9'</comment>
  	<script state="on">
		<action>temp0 =maincpu.pb@42</action>
	</script>
    <script state="run">
		<action>maincpu.pb@42=0a</action>
    </script>
	<script state="off">
		<action>maincpu.pb@42=temp0</action>
	</script>
  </cheat>	
  <cheat desc="Infinite Time">
  <comment> Always set to '5000'
(except for last level)</comment>
	<script state="on">
		<action>temp0 =maincpu.pb@A5</action>
		<action>temp1 =maincpu.pb@A4</action>
		<action>temp2 =maincpu.pb@A3</action>
	</script>
	<script state="run">
		<action condition="(maincpu.pb@1A!=04)">maincpu.pb@A5=0</action>
		<action condition="(maincpu.pb@1A!=04)">maincpu.pb@A4=0</action>
		<action condition="(maincpu.pb@1A!=04)">maincpu.pb@A3=5</action>
	</script>	
	<script state="off">
		<action>maincpu.pb@A5=temp0</action>
		<action>maincpu.pb@A4=temp1</action>
		<action>maincpu.pb@A3=temp2</action>
	</script>
  </cheat>
</mamecheat>
this cheat works for both [apple2_flop_orig\junghunt] and [apple2_flop_clcracked\junghunt]
-baco

Re: [apple2\junghunt] Jungle Hunt

Posted: Thu Oct 10, 2024 4:01 pm
by baco
better cheat file below

Code: Select all

 <mamecheat version="1">
  <cheat desc="Infinite Lives">  
  <comment>Both Player</comment>
  	<script state="run">
		<action>maincpu.pb@42=9</action>
		<action>maincpu.pb@43=9</action> 
	</script>	
  </cheat>	
 
  <cheat desc="Infinite Time">
  <comment>No Decremetation</comment>
	<script state="on">
		<action>maincpu.pb@D79=0xEA</action>
		<action>maincpu.pb@D7A=0xEA</action>
	</script>	
	<script state="off">	
		<action>maincpu.pb@D79=0xD6</action>
		<action>maincpu.pb@D7A=0xA6</action>
	</script>		
  </cheat>	
</mamecheat>