Patch:Boss Cheat

From KeenWiki
Jump to navigation Jump to search

The 'boss cheat' is a cheat in Keen Galaxy to be used if a player was caught playing Keen at work. It brings up a false command prompt so it appears the player is working. This is generally seen as ineffective these days.

Unlike most of the game's cheats, it is activated by pressing F9. It is exited by pressing escape.


Screen and text

Keen Galaxy boss cheat

#Keen 4 :
%patch $7A4D  [$0613W] #Text called from
%patch $2F483 "C:>" $00


#Keen 5 :
%patch $7A08  [$058FW] #Text called from
%patch $308CF "C:>" $00


#Keen 6 :
%patch $77E1  [$058BW] #Text called from
%patch $312BB "C:>" $00


Key used for boss Cheats

The boss cheat, unlike most cheats, requires only one key to be pressed to activate. By default this is the F9 key The values each key has are explained on Patch:Scancodes.

Keen Galaxy F9 key

#Keen 4 boss -cheat F9 key
%patch $7A3F $43

#Keen 5 boss -cheat F9 key
%patch $79FA $43

#Keen 6 boss -cheat F9 key
%patch $77D3 $43


Key to return to game

The boss cheat also requires a key to be pressed to return to the game. By default this is the 'esc' key and only the esc key. The values each key has are explained on Patch:Scancodes.

Keen Galaxy F9 key

#Key to escape boss cheat screen -Keen 4
%patch $7A61 $01

#Key to escape boss cheat screen -Keen 5
%patch $7A1C $01

#Key to escape boss cheat screen -Keen 6
%patch $77F5 $01


Disable

The following patches disable the boss cheat entirely. In each case it frees up 87 bytes of code 1 byte past the patch.

Disable F9 cheat

#Disable F9 cheat - Keen 4 (Frees $7A3C-$7A98)
%patch $7A3B $EB $5C

#Disable F9 cheat - Keen 5 (Frees $79F7 -$7A4E)
%patch $79F6 $EB $5C

#Disable F9 cheat - Keen 6 (Frees $77D0 -$7827)
%patch $77CF $EB $5C


Demo mode doesn't disable boss\BAT cheat

This patch changes things so that 'demo mode' doesn't disable this cheat or the BAT cheat. (Other cheats aren't affected by demo mode.)

Keen 4

#Demo mode doesn't disable cheats
%patch $796C $EB $08


What disables boss\BAT cheat

This patch changes what affects the boss (And BAT) cheats. By default this is the demo mode variable, but it can be other things such as having an item. See also Patch:Jump conditions

Keen 4

#What disables boss\BAT cheat
%patch $796E {$7A72W}  [$00] {$74}