drops = 5

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

drops = 5

Post by Bubzrulz »

how do i change in this to increase the drops from 1 to 5 each little confused

Code: Select all

 #drops = 1
%patch $D075 $FF $06 $7A5AW
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: drops = 5

Post by Nisaba »

I'm not quite sure what you are up to.

By default it is required to collect exactly 100 (0064W) drops to obtain an extra life. you could increase or decrease this value to your liking. lets say the player should get an extra life after collecting only 10 drops, you have to change this value to 000AW (remeber, this is hex-code! A hex = 10 dec).

Code: Select all

#What is needed to get an extra life (100 drops)
%patch $D07A $7A5AW  $3D $0064W  $75
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: drops = 5

Post by Bubzrulz »

Nisaba wrote:I'm not quite sure what you are up to.

By default it is required to collect exactly 100 (0064W) drops to obtain an extra life. you could increase or decrease this value to your liking. lets say the player should get an extra life after collecting only 10 drops, you have to change this value to 000AW (remeber, this is hex-code! A hex = 10 dec).

Code: Select all

#What is needed to get an extra life (100 drops)
%patch $D07A $7A5AW  $3D $0064W  $75
That will work just same

so

Code: Select all

What is needed to get an extra life (25drops)
%patch $D07A $7A5AW  $3D $0019W  $75
for 25 drops for a life yes
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: drops = 5

Post by Nisaba »

25 dec = 19 hex

to convert Decimal values into Hex you can simply use your Windows 10 Calculator in programming mode.
simply open up the pre-installed Calc App and switch from the Standard mode into the Programmer mode. now you can convert Dec into Hex.

Image
Post Reply