Page 1 of 1

Rootin Tootin (Hes Ware) - Gamebase 64 game

Posted: Thu Mar 18, 2010 5:50 pm
by sprenzinger
I tried to find out the invincibility code for this game.

I found the code: ADC0 and changed there “AD” to “CE”.

It works partly in the game. You can walk through instruments (enemies), but you can not blast them with the notes. What I have done wrong? Do you have got a hint for me? :)

Re: Rootin Tootin (Hes Ware) - Gamebase 64 game

Posted: Thu Mar 18, 2010 8:19 pm
by Pugsy
That will merely change

Code: Select all

ADC0 LDA $D01E    (AD 1E D0)
ADC3 STA $29      (85 29)
to

Code: Select all

ADC0 DEC $D01E    (CE 1E D0)
ADC3 STA $29      (85 29)
That is wrong, when you make a cheat on the sprite collision register d01e you should generally only ever change the STA following it to a LDA or ensure that it loads 00

so you would either have

Code: Select all

ADC0 LDA $D01E    (AD 1E D0)
ADC3 LDA $29       (A5 29)
or

Code: Select all

ADC0 LDA #$00    (A9 00)
ADC2 NOP         (EA)
ADC3 STA $29     (85 29)

However, the fact is that you are killing all sprite collisions even the good ones if you mess with that LDA $d01e. The only way is to trace the code and ensure you kill just the bad collisions...for that you will need to have a very good knowledge of 6502/6510 assembler.

Try this:

Code: Select all

Invincibility
Poke 43220,96  { > a8d4 60 }

Re: Rootin Tootin (Hes Ware) - Gamebase 64 game

Posted: Sun Mar 21, 2010 5:40 pm
by sprenzinger
Thanks for the detailled reply.