die and score resets to 0 and high score

Request patches for Keens 4-6.
Post Reply
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

die and score resets to 0 and high score

Post by Bubzrulz »

ok i got a patch that resets score to 0 when u die and atm a patch for no high score but what would happen if i wanted to add high score back in work it work at take the last score or would it need a new patch ..

Code: Select all

#Auto restart level, decrements lives and resets score to 0
%patch $668C $C7 $06 $7A50W  $0000W  $C7 $06 $7A52W  $0000W  $9A $146008A8RL
                 $5F $5E $8B $E5 $5D $CB


would i better get a patch that would resets the score back to what it was before u died the last time
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: die and score resets to 0 and high score

Post by levellass »

So you want a patch that resets your score to what it was when you started the level?
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: die and score resets to 0 and high score

Post by Bubzrulz »

levellass wrote:So you want a patch that resets your score to what it was when you started the level?

yes that will work for me
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: die and score resets to 0 and high score

Post by levellass »

Then this is your patch. Be sure to delete the 'set score to zero' patch or you may have troubbles!

Code: Select all

#Store Keen's score on level load
%patch $69E8 $A1 $7A50W  $A3 $7A4CW  $A1 $7A52W  $A3 $7A4EW $EB $3D

#Auto restart level, decrements lives, reset score to level start
%patch $668C  $A1 $7A4CW  $A3 $7A50W  $A1 $7A4EW  $A3 $7A52W  $9A $146008A8RL
              $5F $5E $8B $E5 $5D $CB
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: die and score resets to 0 and high score

Post by Bubzrulz »

ok is there a way to also patch the points that were collected and lost not able to get again after death
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: die and score resets to 0 and high score

Post by levellass »

You mean remove the candy and stuff from the level when it's played next?
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: die and score resets to 0 and high score

Post by Bubzrulz »

levellass wrote: Sat Oct 28, 2017 10:14 am You mean remove the candy and stuff from the level when it's played next?
yes would be good
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: die and score resets to 0 and high score

Post by levellass »

That would be very tricky since you'd be changing the level each time you played; shot enemies would also remain shot and it could mess a bit with the 'try again\return to map' window. Are you sure?
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: die and score resets to 0 and high score

Post by Bubzrulz »

levellass wrote: Sat Oct 28, 2017 11:49 am That would be very tricky since you'd be changing the level each time you played; shot enemies would also remain shot and it could mess a bit with the 'try again\return to map' window. Are you sure?
yes i am sure.. also not running try again\return to map' window in my mod

my patch file is here for you too

Posts merged - please edit your response instead of posting twice. --Fleexy
Post Reply