Patch:G O D Cheat

From KeenWiki
Jump to: navigation, search

This covers patches relating to the G O D cheat that makes Keen invulnerable to enemies and hazards in Keen Vorticons. For other cheats, check the Cheat Patches category. For patches involving the pogo see Patch:Pogo (Item)


Cheat window size and text

These patches alter the cheat window. The height and width are in 8x8 tiles. See also Patch:Text patches.

Patch: Keen Vorticons Quit window patches
#Keen 1 :
%patch $11DE $0001W
#Height
%patch $11E2 $0014W
#Width
%patch $123A $1EA6W
#Text called from (On)
%patch $123F $1EB7W
#Text called from (Off)
%patch $14EF6 "God mode enabled" $00 %patch $14F07 "God mode disabled" $00
#Keen 2 :
%patch $11DE $0001W
#Height
%patch $11E2 $0014W
#Width
%patch $11F4 $2264W
#Text called from (On)
%patch $11F9 $2275W
#Text called from (Off)
%patch $199E4 "God mode enabled" $00 %patch $199F5 "God mode disabled" $00
#Keen 3 :
%patch $11DE $0001W
#Height
%patch $11E2 $0014W
#Width
%patch $1194 $2360W
#Text called from (On)
%patch $119E $2371W
#Text called from (Off)
%patch $1BB80 "God mode enabled" $00 %patch $1BB91 "God mode disabled" $00


Changing cheat keys

Three keys are needed to activate the G O D 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.

Patch: Keen 1
#G O D cheat keys:
%patch $120D $4E %patch $1214 $44 %patch $121B $4C

Patch: Keen 2
#G O D cheat keys:
%patch $11C7 $2A %patch $11CE $20 %patch $11D5 $28

Patch: Keen 3
#G O D cheat keys:
%patch $1168 $7A %patch $116F $70 %patch $1176 $78


Disable

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

Patch: Keen 1
#Disable G O D cheat:
%patch $11F0 $C3

Patch: Keen 2
#Disable G O D cheat:
%patch $11AA $C3

Patch: Keen 3
#Disable G O D cheat:
%patch $114B $C3


Disable map clipping

This stops Keen from being able to walk all over the map level when he has God mode enabled. For Keen 1 the patch is not compatible with the sloped map tiles section of the Patch:Vorticons 2 patch, so if you're using this, use the alternative version provided.

Patch: Keen 1
#Disable map clipping with G O D cheat:
%patch $A626 $EB
#Disable map clipping with G O D cheat (V2 version)
%patch $A621 $EB

Patch: Keen 2
#Disable map clipping with G O D cheat:
%patch $A0A1 $EB

Patch: Keen 3
#Disable map clipping with G O D cheat:
%patch $AF77 $EB


Disable flying pogo

This stops Keen from being able to fly when pogoing if he has God mode enabled. To allow Keen to fly with the pogo all the time see Patch:Keen pogoing (Vorticons).

Patch: Keen 1
#Disable flying pogo with G O D cheat
%patch $3F4E $EB

Patch: Keen 2
#Disable flying pogo with G O D cheat
%patch $6D90 $EB

Patch: Keen 3
#Disable flying pogo with G O D cheat
%patch $75F3 $EB


Immortality

By default if Godmode is not equal to 0 then Keen lives. Looking at Patch:Jump conditions shows that making the $75 $74 means Keen will ONLY be killed with Godmode, and making it $90 $90 will make it so Keen is killed, godmode or not.

Patch: God mode kill check
#God mode kill check - Keen 1
%patch $4267 $00 $75
#God mode kill check - Keen 2
%patch $70A9 $00 $75
#God mode kill check - Keen 3
%patch $74CB $00 $75


Disable immortality

This allows you to let Keen be killed on God mode, but still have flying pogo and such. This relates to the above section.

Patch: No immortality with GOD mode
#No immortality with GOD mode - Keen 1
%patch $4267 $00 $90 $90
#No immortality with GOD mode - Keen 2
%patch $70A9 $00 $90 $90
#No immortality with GOD mode - Keen 3
%patch $74CB $00 $90 $90


Still be stunned with GOD mode

This patch allows Keen to still be stunned by the Vortikid (Vorticon Youth) in Keen 2 and Keen 3.

Patch: Keen can still be stunned by Youths with GOD mode
#Keen can still be stunned by Youths with GOD mode - Keen 3
%patch $7C83 $90 $90


Misc

Activate godmode if Keen has joystick

This patch turns Godmode on (Without the godmode message) if Keen enters a level with the joystick. It is possible to change what is checked (Check for 10 shots say) and how (Check for more than, less than, equal, see Patch:Jump conditions) and whether godmode is turned on or off.

The patch requires the tile drawing patch to free up space.

Patch: Keen 1
#Enable god mode if you have the joystick when you enter a level
%patch $1703 $E9 $CFBAW
#Jump to new E.O.L int
%patch $E6C0 $83 $3E $AA94W $01 $75 $06
#Check for joystick
$C7 $06 $5DAAW $0001W
#Set godmode to on
$5F $5E $8B $E5 $5D $C3


See Also