Page 1 of 1

[dkongx] Donkey Kong 2 invincibility and freeze timer

Posted: Tue Dec 14, 2010 7:03 pm
by pacman3211
Still need these.

Re: [dkongx] Donkey Kong 2 invincibility and freeze timer

Posted: Sun Jan 16, 2011 7:52 pm
by pacman3211
Please? this game is hard. just need the addresses.

Re: [dkongx] Donkey Kong 2 invincibility and freeze timer

Posted: Mon Feb 14, 2011 8:56 am
by PhantomDJ
I believe the following cheat will work for dkongx to freeze the timer.

I simply adjusted a single memory location from the same cheat for dkong. I tested it and it does work. I will try to also fix the invinc. cheat soon....

Please forgive me Pugsy if I should have posted this elsewhere or in a different format.

Code: Select all

 <cheat desc="Freeze Bonus Timer">
    <script state="on">
      <action>temp0 =maincpu.rb@060A</action>
      <action>maincpu.rb@060A=00</action>
      <action>maincpu.pb@6386=00</action>
    </script>
    <script state="run">
      <action condition="(maincpu.pb@62B1==01)">maincpu.pb@62B1=maincpu.pb@62B0 - 1</action>
    </script>
    <script state="off">
      <action>maincpu.rb@060A=temp0 </action>
      <action>temp1 =(maincpu.pb@638C - (maincpu.pb@638C / 10) * 6)</action>
      <action condition="(maincpu.pb@6200!=00)">maincpu.pb@62B1=temp1 </action>
      <action condition="(maincpu.pb@6200!=00) AND (temp1==0)">maincpu.pb@6386=02</action>
    </script>
  </cheat>

Re: [dkongx] Donkey Kong 2 invincibility and freeze timer

Posted: Mon Feb 14, 2011 10:40 am
by PhantomDJ
Here are the updated codes for invinciblity for dkongx. Changed some addresses and simplified one code hack, and I had to add one to check for collisions with kong on the top level of the conveyors. I also fixed the elevators so they keep moving when mario is too low, before they would stop.

Once again apologies if this is the wrong place or wrong format for these.

If I get time I'll try to convert/update some of the other dkong cheats to dkongx.

Code: Select all

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.rb@2243</action>
      <action>temp1 =maincpu.rb@A774</action>
      <action>temp2 =maincpu.rb@275D</action>
      <action>temp3 =maincpu.rb@292F</action>
      <action>temp4 =maincpu.rb@3F00</action>
      <action>temp5 =maincpu.rb@403A</action>
    </script>
    <script state="run">
      <action>maincpu.rb@2243=3E</action> <!-- Falling -->
      <action>maincpu.rb@A774=C9</action> <!-- Collisions -->
      <action>maincpu.rb@275D=C9</action> <!-- Floor of Elevators -->
      <action>maincpu.rb@292F=C9</action> <!-- Hitting your head -->
      <action>maincpu.rb@3F00=C9</action> <!-- Collision against Kong on top level on conveyors -->
      <action>maincpu.rb@403A=FF</action> <!-- Floor of Elevators, fix to keep elevators moving -->
    </script>
    <script state="off">
      <action>maincpu.rb@2243=temp0 </action>
      <action>maincpu.rb@A774=temp1 </action>
      <action>maincpu.rb@275D=temp2 </action>
      <action>maincpu.rb@292F=temp3 </action>
      <action>maincpu.rb@3F00=temp4 </action>
      <action>maincpu.rb@403A=temp5 </action>
    </script>
  </cheat>