Patch:E N D cheat

From KeenWiki
Jump to navigation Jump to search

The END cheat wins the game when activated wins the game and shows the ending sequence


Complete cheat code

Below is the complete END cheat code. Notice that three keys are needed to activate it, E, N and D. (See Patch:Scancodes.) When the cheat is successfully activated in Keen 4 two things occur. (Line 2) Firstly the number of Oracle Council Members saved is set to 7 (1 less than needed to win.) and the level state is set to 3 (Run the saved Council member sequence.) In Keen 5 and 6 the cheat is slightly simpler, it sets the level state to 'win the game'

Keen 4

#Complete END cheat code
%patch $9122 $83 $3E {$C66BW}  $00 $74 $1A $83 $3E {$C6A9W}  $00 $74 $13 $83 $3E
             {$C687W}  $00 $74 $0C $C7 $06 {$7A5EW}  [$0007W]  $C7 $06 {$7A70W}  [$0003W]

Keen 5

#Complete END cheat code
%patch $908D $83 $3E {$BCD3W}  $00 $74 $14 $83 $3E {$BD11W}  $00 $74 $0D $83 $3E
             {$BCEFW}  $00 $74 $06 $C7 $06 {$6F70W}  [$000FW]

Keen 6

#Complete END cheat code
%patch $8F10 $83 $3E {$C7F9W}  $00 $74 $14 $83 $3E {$C837W}  $00 $74 $0D $83 $3E
             {$C815W}  $00 $74 $06 $C7 $06 {$75ACW}  [$000C]


Keys that activate cheat

This patch alters what key activates the win level cheat. (See Patch:Scancodes.) By default this is 'E, N, D' Setting any of these to $C647W\$BCAFW\$C7D5W (Keen 4\5\6)will disable the cheat.

Keen 4

#Win game keys
%patch $9124 {$C66BW} #E
%patch $912B {$C6A9W} #N
%patch $9132 {$C687W} #D

Keen 5

#Win game keys
%patch $908F {$BCD3W} #E
%patch $9096 {$BD11W} #N
%patch $909D {$BCEFW} #D

Keen 6

#Win game keys
%patch $8F12 {$C7F9W} #E
%patch $8F19 {$C837W} #N
%patch $8F20 {$C815W} #D


Remove keys from cheat

Each line in this patch removes one key from the END cheat activation. All three should NOT be disabled at once. Indeed even if only one key remains (unaltered) it will interfere with a cheat, F10 E, F10 N, or F10 D.

When applying this to the complete code above, each of these $90 $90 lines replaces on $74 $xx.

Keen 4

#Remove keys from END cheat
%patch $9127 $90 $90 #E
%patch $912E $90 $90 #N
%patch $9135 $90 $90 #D

Keen 5

#Remove keys from END cheat
%patch $9092 $90 $90 #E
%patch $9099 $90 $90 #N
%patch $90A0 $90 $90 #D

Keen 6

#Remove keys from END cheat
%patch $8F15 $90 $90 #E
%patch $8F1C $90 $90 #N
%patch $8F23 $90 $90 #D


Disable cheat

This completely disables the cheat.

Keen 4

#Disable END cheat code
%patch $9122 $EB $1F

Keen 5

#Disable END cheat code
%patch $908D $EB $19

Keen 6

#Disable END cheat code
%patch $8F10 $EB $19