Patch:C T Space Cheat

From KeenWiki
Jump to navigation Jump to search

This page covers patches relating to the 'C T Space' cheat for Vorticons. For other cheats, check the Cheat Patches category.


Changing cheat keys

Three keys are needed to activate the C T Space code. These must be pressed together. Two or three of the keys can be the same. This patch uses scancodes for key values. A program exists to automate this patch, Xtraverse's Patchotron. The original discussion and examples of this patch are here.

Keen 1

#CTSpace cheat keys:
%patch $11F5 $5A
%patch $11FC $40
%patch $1203 $65

Keen 2

#CTSpace cheat keys:
%patch $11AF $36
%patch $11B6 $1C
%patch $11BD $41

Keen 3

#CTSpace cheat keys:
%patch $1150 $86
%patch $1157 $6C
%patch $115E $91


Disable

This removes the cheat entirely, when Keen presses the cheat keys, nothing happens.

Keen 1

#Disable CTSpace cheat (Frees $0DB0-$0E39):
%patch $11F3 $EB $16

Keen 2

#Disable CTSpace cheat (Frees $0DB0-$0E39):
%patch $11AD $EB $16

Keen 3

#Disable CTSpace cheat: (Frees $0E1D-$0EA6)
%patch $114E $EB $16


Stop cheat affecting items

There are three independent patches here. You can mix-and-match them. Each stops the cheat affecting something it normally would. If you use all three, only the cheat message appears, nothing is changed.

Keen 1

#Stop CTSpace cheat affecting...
%patch $0DFF $90 $90 $90 $90
             $90 $90 $90 $90
             $90 $90 $90 $90
             $90 $90         #Ammo
%patch $0DF9 $90 $90 $90 $90
             $90 $90         #Pogo
%patch $0E10 $90 $90 $90     #Keycards

Keen 2

#Stop CTSpace cheat affecting...
%patch $0DFF $90 $90 $90 $90
             $90 $90 $90 $90
             $90 $90 $90 $90
             $90 $90         #Ammo
%patch $0DF9 $90 $90 $90 $90
             $90 $90         #Pogo
%patch $0E10 $90 $90 $90     #Keycards

Keen 3

#Stop CTSpace cheat affecting...
%patch $0E6F $90 $90 $90 #Ammo
%patch $0E69 $90 $90 $90 #Pogo
%patch $0E7D $90 $90 $90 #Keycards


What cheat gives

These patches change the three things the cheat code affects. You can change what and how much the cheat gives Keen when activated. (See Patch:Game stats.) By default the cheat gives 100 ammo, a pogo and all the keys. The first two lines are simple enough,t hey list the item affected. The third patch line is more complex; it affects one item then three items following it. A second value alters how many items are affected. Setting this to $01 will make it only affect one thing.

Keen 1

#What CTSpace cheat gives Keen:
%patch $0E01 {$AAC8W} [$0064W] #100 shots
%patch $0DFB {$AA9AW} [$0001W] #Pogo
%patch $0E0F {$AA9EW} [$0001W] #Yellow key...
%patch $0E16 [$04]           #...four keys

Keen 2

#What CTSpace cheat gives Keen:
%patch $0E01 {$9ADEW} [$0064W] #100 shots
%patch $0DFB {$9AB0W} [$0001W] #Pogo
%patch $0E0F {$9AB4W} [$0001W] #Yellow key...
%patch $0E16 [$04]           #...four keys

Keen 3

#What CTSpace cheat gives Keen:
%patch $0E6E {$9D48W} [$0064W] #100 shots
%patch $0E68 {$9D1AW} [$0001W] #Pogo
%patch $0E7C {$9D1EW} [$0001W] #Yellow key...
%patch $0E83 [$04]           #...four keys


Window and text

These patches affect the cheat window that appears when the cheat is entered.

Keen 1

#C T Space window
%patch $DD6  [$1D9EW] #Text called from
%patch $DDF  [$1DB5W] #Text called from
%patch $DE8  [$1DD1W] #Text called from
%patch $DF1  [$1DE9W] #Text called from

#Text
%patch $14DEE "You are now cheating!" $0A $00
%patch $14E05 "You just got a pogo stick," $0A $00
%patch $14E21 "all the key cards, and" $0A "" $00
%patch $14E39 "lots of ray gun charges." $00

Keen 2

#C T Space window
%patch $DD6  [$2146W] #Text called from
%patch $DDF  [$215DW] #Text called from
%patch $DE8  [$2173W] #Text called from
%patch $DF1  [$218BW] #Text called from

#Text
%patch $198C6 "You are now cheating!" $0A "" $00
%patch $198DD "You just got all the" $0A "" $00
%patch $198F3 "key cards, and lots of" $0A "" $00
%patch $1990B "ray gun charges." $00

Keen 3

#C T Space window
%patch $E47  [$227EW] #Text called from
%patch $E4F  [$2295W] #Text called from
%patch $E57  [$22ABW] #Text called from
%patch $E5F  [$22C3W] #Text called from

#Text
%patch $1BA9E "You are now cheating!" $0A "" $00
%patch $1BAB5 "You just got all the" $0A "" $00
%patch $1BACB "key cards, and lots of" $0A "" $00
%patch $1BAE3 "ray gun charges." $00


Misc

Activate cheat when grabbing battery

This activates the cheat when Keen grabs a battery. (The window appears as well.) That is, in addition to getting the battery, he will also get the message, shots, keys and so on. Patches that affect the cheat will also affect it here, except for changing the keys.

Keen 1

#Getting a battery brings up CTSpace window
%patch $4452 $E8 $C95BW $90 $90 $90