Ammo\Ankh gives points when got

Completed patches for Keen3.
Post Reply
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Ammo\Ankh gives points when got

Post by levellass »

The following patch allows Keen to get points as well as stuff when he picks up a raygun, bullet or Ankh. I hope to add keycards to this list sometime.

As a side effect the Joystick config window is disabled. Spleen will mourn its passing.

Code: Select all

#Ammo\bullet\Ankh give points as well as stuff
#SIDE EFFECT: No joystick config window
#Not compatible with change ankh time\ammo items patches!

#Redirect things to extra points:
%patch $7ACB $E8 $6D $9A $90 $90      #Raygun
%patch $7BD2 $E8 $72 $99 $90          #Single shot
%patch $7B9F $E8 $B1 $99 $90 $90 $90  #Ankh (Time = 140 per second)

#Give extra points:
%patch $153A                                         $C3 $81 $06 $4A $9D $64 $00
                 $83 $06 $48 $9D $05 $C3 $81 $06 $4A $9D $64 $00 $83 $06 $48
             $9D $01 $C3 $81 $06 $46 $99 $78 $05 $81 $06 $4A $9D $64 $00 $C3

Here the points are set at +100 ($64 $00), this can be changed. The first value is for the raygun, the second for the bullet and the third for the Ankh. The $05 in the second line is number of shots raygun gives, the $01 in the third line is the +1 ammo for the bullet. The $78 $05 in that row is the Ankh time given (1440 = 10 seconds.)
Post Reply