Patch:Neural stunner

From KeenWiki
Jump to: navigation, search

This page covers Keen's gun in Keen Galaxy, the game tile and item. For Keen Vorticons see Patch:Raygun as well as Patch:Flower Power. Related patches that can affect the ammo counter are Patch:Level exit, Patch:Keen dying (Galaxy) and Patch:Game start

Many of the patches here, especially the giving of ammunition rely on game stat values. Patches relating to Keen's neural stunner shot can be found at Patch:Keen's shot (Galaxy), while patches relating to the player themselves shooting can be found at Patch:Keen shooting (Galaxy).


Amount of shots given

This changes the amount of shots a raygun gives Keen on easy, medium and hard. This is controlled by a list which is called several times potentially allowing the creation of several kinds of ammunition. Note that the list has an entry for a difficulty level of 0, not usually seen ingame.

Patch: Keen 4
#Call ammo list
%patch $CD69 $13D4W
#Ammo sprites got
%patch $CFDE $13D4W
#Ammo tiles got
#Ammo stunners give Keen
%patch $30244 $0000W
#'Zero difficulty'
$0008W
#Easy
$0005W
#Medium
$0005W
#Hard

Patch: Keen 5
#Call ammo list
%patch $C10A $12B2W
#Ammo sprites got
%patch $C2F1 $12B2W
#Ammo tiles got
#Ammo stunners give Keen
%patch $315F2 $0000W
#'Zero difficulty'
$0008W
#Easy
$0005W
#Medium
$0005W
#Hard

Patch: Keen 6
#Ammo stunners give Keen
%patch $31F7C $0000W
#'Zero difficulty'
$0008W
#Easy
$0005W
#Medium
$0005W
#Hard


IF ammo appearance condition

This patch controls the condition under which the 'IF ammo' appears. By default it appears if Keen has less than 5 shots.

Patch: IF ammo appearance condition
#Keen 4 IF ammo appearance condition
%patch $ECA6 $05 $7C
#Keen 5 IF ammo appearance condition
%patch $F203 $05 $7C
#Keen 6 IF ammo appearance condition
%patch $E728 $05 $7C


Cheats

This is the number of shots given with the B A T Cheat and F10 I Cheat.

Patch: Keen 4
#Shots given by cheats:
%patch $755A $0063W
#F10 + I (99)
%patch $788D $0063W
#B + A + T (99)


Misc

When Keen acquires a certain number of shots his shot counter displays a string of text instead of the actual number of shots he has. By default at 99 or more shots the string '99' is shown. There are two counters, one for the scorebox and one for the status window. These have seperate texts, except in Keen 5 where they share the same text.

Patch: Max shot text
#Scorebox
%patch $DBBB $1846W
#Text called from
%patch $306B6 "99" $00
#Status window
%patch $DCAE $1849W
#Text called from
%patch $306B9 "99" $00
#Keen 5 :
#Scorebox and status window
%patch $CF7F $162EW
#Text called from
%patch $3196E "99" $00
#Keen 6 :
#Scorebox
%patch $CD32 $164CW
#Text called from
%patch $3237C "99" $00
#Status window
%patch $CE25 $164FW
#Text called from
%patch $3237F "99" $00