levellass
Joined: 11 Oct 2006 Posts: 1404 Location: Ngaruawahia New Zealand
|
Posted: Thu Oct 22, 2009 9:25 am Post subject: What Keen has at game start |
|
|
At the game start only 4 variables are set (That I am currently aware of.)
| Code: | #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: | #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: | 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 |
|
|