What Keen has at game start

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

What Keen has at game start

Post by levellass »

At the game start only 4 variables are set (That I am currently aware of.)

Code: Select all

#Stuff Keen has at game start:
%patch $5CBD $00 $00 #Extra Keen at score (High word)
%patch $5CC3 $20 $4E #Extra Keen at score (Low word)
%patch $5CC9 $03 $00 #Lives (3)
%patch $5CCF $05 $00 #Ammo(5)
Now it's obvious that two, three or even all four may be of no use to a modder (If you want to start with no ammo or lives!) and we can change these without many consequences. The above patches with type bytes added are:

Code: Select all

#Stuff Keen has at game start:
%patch $5CBB $56 $7A $00 $00 #Extra Keen at score (High word)
%patch $5CC1 $54 $7A $20 $4E #Extra Keen at score (Low word)
%patch $5CC7 $6A $7A $03 $00 #Lives
%patch $5CCD $58 $7A $05 $00 #Ammo

Code: Select all

The type byte (First in the above patches) are as follows:
$50: Score (Low) $52: Score (High) $54: EKA score (Low) $56: EKA score (High)
$58: Ammo        $5A: Drops        $5C: Wetsuit         $5E: Members saved
$60: Red gems    $62: Blue gems    $64: Yellow gems     $66: Green gems
$68: INVALID     $6A: Lives
Post Reply