Text references start at 13050 ****** Quit y/n: ****** The following windows are used when Keen presses ESC, either in level or at the menu. Each displays the ending credits wen selected, OR it will show a small text message, much like the 'Out if Memory!' error message. If you don't want to show the end credits, this is worth noting. #Quit y/n %patch $0839 $01 $00 #Height %patch $083D $0C $00 #Width %patch $0846 $5B $1D #Text read: %patch $0899 $83 $1D #Look here for exit message, if $00 found, display ending credits %patch $14DAB "Quit (Y/N)?" $00 %patch $14DB7 $00 #Ending message #Quit to dos/title? %patch $086B $02 $00 #Height %patch $086F $14 $00 #Width %patch $08D4 $68 $1D #Text read: %patch $08DC $7A $1D #Look here for exit message, if $00 found, display ending credits %patch $14DB8 "Quit to (D)os or" $0A $00 %patch $14DCA "(T)itle;" $00 %patch $14DD3 $00 #Ending message ****** Sound y/n: ****** This window appears when Keen presses F2, it turns the sound on or off #Sound on/off %patch $0CBC $01 $00 #Height %patch $0CC0 $0D $00 #Width %patch $0CCA $91 $1D #Text read: %patch $14DE1 "Sound (Y/N)?" $00 ****** Joystick configuration: ****** This window responds to F4, it configures the joystick #Joystick configuration %patch $4AF9 $C3 #Disable %patch $1546 $09 $00 #Height %patch $154A $1C $00 #Width %patch $1599 $B5 $25 #Text read: %patch $15A1 $D0 $25 %patch $15A9 $EB $25 %patch $15B1 $06 $26 %patch $15B9 $13 $26 %patch $1669 $2E $26 %patch $1671 $4C $26 %patch $1679 $5A $26 %patch $1BDF9 " Joystick Configuration" $0A $0D $00 #$0D's are important! %patch $1BE14 " ----------------------" $0A $0D $00 %patch $1BE2F "Hold the joystick in the" $0A $0D $00 %patch $1BE4A "upper left" $0A $0D $00 %patch $1BE57 "corner and press button 1:" $00 %patch $1BE72 $0A $0A $0D "Hold the joystick in the" $0A $0D $00 %patch $1BE90 "lower right" $0A $0D $00 %patch $1BE9E "corner and press button 1:" $00 ****** Save game windows: ****** These are actually several windows, each used for a different situation; they can be disabled into two parts, the saving in a game and the loading a game from menu #Can't save game! %patch $A2AD $C3 #Can't load game [starts new game instead] %patch $A440 $C3 #What menu pointer becomes while loading windows open: %patch $A457 $20 #Saved files read from: %patch $A2BD $08 $32 #Save to %patch $A44D $15 $32 #Load from #Saved files [number is always 6th char, max length 8 chars inc num] %patch $1CA28 "SAVEK?." $00 #File saved to %patch $1CA35 "SAVEK?." $00 #File loaded from #Window sizes: [New window will not erase old, must be bigger #or equal in size to any windows appearing before it] #Can only save on map: %patch $A2DB $03 $00 #Height [lines] %patch $A2DF $16 $00 #Width [letters] #Which position want save: %patch $A309 $03 $00 #Height [lines] %patch $A30D $14 $00 #Width [letters] 3,14! O.o #Overwrite: %patch $A367 $03 $00 #Height %patch $A36B $14 $00 #Width #Can continue from menu: %patch $A414 $03 $00 #Height %patch $A418 $1D $00 #Width #Load 1-9 %patch $A46F $02 $00 #Height %patch $A473 $19 $00 #Width #Not saved! %patch $A4F3 $02 $00 #Height %patch $A4F7 $19 $00 #Width #Not compatible! %patch $A53D $02 $00 #Height %patch $A541 $19 $00 #Width #Text read from $19820 + value: %patch $A2E8 $22 $32 #Can only save on map %patch $A2F0 $38 $32 %patch $A2F8 $51 $32 %patch $A316 $62 $32 #Which position want save: %patch $A31E $77 $32 %patch $A326 $8D $32 %patch $A374 $9D $32 #Overwrite: %patch $A37C $B1 $32 %patch $A384 $C2 $32 %patch $A421 $D1 $32 #Can continue from menu: %patch $A429 $ED $32 %patch $A431 $0B $33 %patch $A492 $22 $33 #Load 1-9 %patch $A49A $3A $33 %patch $A500 $4D $33 #Not saved yet! %patch $A508 $61 $33 %patch $A54A $74 $33 #Not compatible! %patch $A552 $8F $33 #Text: %patch $1CA42 "You can SAVE the game" $0A $00 %patch $1CA59 "ONLY on the World Map!" $0A $00 %patch $1CA71 " Press a key:" $00 %patch $1CA82 "Which game position" $0A $00 %patch $1CA97 "do you want to save?" $0A $00 %patch $1CAAD " 1-9 or ESC:" $00 %patch $1CABD "That game position" $0A $00 %patch $1CAD1 "already exists!" $0A $00 %patch $1CAE2 "Overwrite it?:" $00 %patch $1CAF1 "You can continue this game" $0A $00 %patch $1CB0D "from the Main Menu next time" $0A $00 %patch $1CB2B "you play. Press a key:" $00 %patch $1CB42 " Continue Which Game?" $0A $00 %patch $1CB5A " 1-9 or ESC:" $00 %patch $1CB6D " That game hasn't" $0A $00 %patch $1CB81 " been saved yet!:" $00 %patch $1CB94 "That file is incompatible" $0A $00 %patch $1CBAF "with this version of CK:" $00 ****** Change keyboard controls: ****** This is an interesting window; it somes in two parts; the first displays a window that shows you actios you can change; the second shows the keys currently contolling each action [NUMLK, etc] this makes it long and complex. You free up a lot of code by disabling it. It responds to F3. #Change keyboard controls: %patch $53C0 $C3 #Disable %patch $53C9 $0E $00 #Height %patch $53CD $16 $00 #Width %patch $53D7 $88 $26 #Text read: 13050 + value = location %patch $53E0 $9B $26 %patch $53E9 $AD $26 %patch $53F2 $BB $26 %patch $53FB $C9 $26 %patch $5404 $D7 $26 %patch $540D $E5 $26 %patch $5416 $F3 $26 %patch $541F $01 $27 %patch $5428 $0F $27 %patch $5431 $1D $27 %patch $543A $2B $27 %patch $5443 $39 $27 #Modify which action: %patch $54FA $4F $27 #Press new key %patch $5535 $64 $27 #Blanks line when choice made %patch $556E $78 $27 #Blanks second line, unknown use %patch $5211 $19 $26 #Identify Keys text [NUMLCK, BCKSP..] %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $52 $ $26 %patch $1BE95 "ESC" $00 %patch $1BE99 "BKSP" $00 %patch $1BE9E "TAB" $00 %patch $1BEA2 "CTRL" $00 %patch $1BEA7 "LSHIFT" $00 %patch $1BEAE "SPACE" $00 %patch $1BEB4 "CAPSLK" $00 %patch $1BEBB "F" $00 #F1, F2... %patch $1BEBD "F11" $00 %patch $1BEC1 "F12" $00 %patch $1BEC5 "SCRLLK" $00 %patch $1BECC "ENTER" $00 %patch $1BED2 "RSHIFT" $00 %patch $1BED9 "PRTS" $00 %patch $1BEDF "ALT" $00 %patch $1BEE3 "HOME" $00 %patch $1BEEB "PGUP" $00 %patch $1BEED "END" $00 %patch $1BEF1 "PGDN" $00 %patch $1BEF6 "INS" $00 %patch $1BEFA "DEL" $00 %patch $1BEFE "NUMLK" $00 %patch $1BF04 "Keyboard Commands" $0A $00 %patch $1BF17 "-----------------" $00 %patch $1BF29 $0A "0 north :" $00 %patch $1BF37 $0A "1 northeast:" $00 %patch $1BF45 $0A "2 east :" $00 %patch $1BF53 $0A "3 southeast:" $00 %patch $1BF61 $0A "4 south :" $00 %patch $1BF6F $0A "5 southwest:" $00 %patch $1BF7D $0A "6 west :" $00 %patch $1BF8B $0A "7 northwest:" $00 %patch $1BF99 $0A "8 button1 :" $00 %patch $1BFA7 $0A "9 button2 :" $00 %patch $1BFB5 $0A "Modify which action:" $00 %patch $1BFCB $0A $0D "Press the new key:" $00 #[$0D imprtant, blanks used lines!] %patch $1BFE0 $0D " " $00 #This text blanks the above line after selection Thats all folks!