Patch:Map (Keen 2)
This page contains patches that relate to the map level in Keen 1. Patches that affect levels in general, such as ones that change tile properties or sprites are not covered here but rather at Patch:Levels. The patches on this page affect the map and only the map.
A related page that covers the 'done' markers that appear only on the map is Patch:Done markers; patches affecting Keen's map sprite are found on Patch:Keen on map (Vorticons). Other map level patches can be found at Patch:Map.
Map level
This patch controls what level is treated as the map. By default this is level 80 ($50). There are two parts to the patch, the level where Keen's start location is obtained and the level Keen is spawned. Both of these values should match. Note that in the map level sprites do not spawn normally, instead they become level entrances. It is possible to have the map level be the same level as a regular level.
Keen 2
#Map level
%patch $8028 [$50] #Keen's location
%patch $8118 [$50] #Map file
Sounds
There are several sounds related to the map. The two most basic are Keen's map walking sound (played whenever he moves on the map.) and Keen's map blocked sound. (Played whenever Keen tries to walk into a solid tile on the map.) There is also the 'appear on map' sound that is triggered when Keen starts a game, loads a game or exits a level. (It is related to the Keens Left Window.)
Keen 2
#Sounds
%patch $A6DB $02 #Keen blocked on map sound
%patch $A6E0 $01 #Keen walking on map sound
%patch $8A10 $29 #Keens left sound
#Don't play sounds
%patch $A6DF $EB $07 #Keen walking on map sound disabled
%patch $A6DA $EB $0C #Keen blocked on map sound disabled
%patch $8A0F $EB $07 #Keens left sound disabled
Disable no clipping with God Mode
This stops Keen from being able to walk all over the map level when he has God mode enabled.
Keen 2
#Disable map clipping with G O D cheat:
%patch $A0A1 $EB