Patch:F10 Z Cheat

From KeenWiki
Jump to navigation Jump to search

The F10 + Z or suicide cheat in Keen Galaxy is a quick way to access a game over; it sets the number of lives to 0 and then runs the player death code. This cheat is meant to be used for debugging to check the game over sequence and will crash the game with an uncached sprite error if used on the map level. The cheat displays no text or window, the only indication of its success if the player dying.


Key that activates cheat

This patch alters what key activates the level warp cheat. (See Patch:Scancodes.) By default this is 'z' Setting this to $C647, $BCAF or $C7D5 (in Keen 4, Keen 5 and Keen 6 respectively.) will disable the cheat .

Keen 4

#F10 + Z key
%patch $7810 {$C69FW}

Keen 5

#F10 + Z key
%patch $77C5 {$BD07W}

Keen 6

#F10 + Z key
%patch $75E5 {$C82DW}


Disable

These patches disable the F10 Z cheat entirely.

Keen 4

#Disable F10-Z (Free $7816-782F)
%patch $780E $33 $C0 $5F $5E $8B $E5 $5D $CB

Keen 5

#Disable F10-Z (Free $77CB-77E4)
%patch $77C3 $33 $C0 $5F $5E $8B $E5 $5D $CB

Keen 6

#Disable F10-Z (Free $75EB-7604)
%patch $75E3 $33 $C0 $5F $5E $8B $E5 $5D $CB


Complete cheat code

This is the complete code for the cheat. The first three colored values are the key check to activate the cheat. Following this the number of lives is set to 0. Finally $9A $0B8013E9RL, $9A $0AAF1517RL or $9A $0AA213CARL (Keen 4, 5 or 6) is run. This is the death code.

Keen 4

#Complete F10-Z cheat code
%patch $780E $83 $3E {$C69FW}  [$00] {$74} $13 $C7 $06 {$7A6AW}  [$0000W]  $9A $0B8013E9RL
                 $33 $C0 $5F $5E $8B $E5 $5D $CB

Keen 5

#Complete F10-Z cheat code
%patch $77C3 $83 $3E {$BD07W}  [$00] {$74} $13 $C7 $06 {$6F6AW}  [$0000W]  $9A $0AAF1517RL
                 $33 $C0 $5F $5E $8B $E5 $5D $CB

Keen 6

#Complete F10-Z cheat code
%patch $75E3 $83 $3E {$C82DW}  [$00] {$74} $13 $C7 $06 {$75A6W}  [$0000W]  $9A $0AA213CARL
             $33 $C0 $5F $5E $8B $E5 $5D $CB