********** SAVED GAMES ********** #Text %patch $1CA42 "You can SAVE the game" %patch $1CA59 "ONLY on the World Map!" %patch $1CA71 " press a key:" %patch $1CA82 "Which game position" %patch $1CA97 "do you want to save?" %patch $1CAAD " 1-9 or ESC:" %patch $1CABD "That game position" %patch $1CAD1 "already exists!" %patch $1CAE2 "Overwrite it?:" %patch $1CAF1 "You can continue this game" %patch $1CB0D "from the Main Menu next time" %patch $1CB2B "you play." %patch $1CB35 "Press a key:" %patch $1CB42 " Continue Which Game?" %patch $1CB5A " 1-9 or ESC:" %patch $1CB6D " That game hasn't" %patch $1CB81 " been saved yet!:" See also FILES AND FILENAMES ********** SHOOTING ********** #Shots keen starts with %patch $98F8 $01 $00 #Keen has a machine gun! %patch $74CC $90 $90 #Don't lose a shot %patch $74E3 $90 $90 $90 $90 #and don't play the 'click-out-of-ammo' sound %patch $7503 $90 $90 $90 See also RAYGUN ********** SINGLE BULLET ********** See Raygun ********** SOUNDS ********** Each patch is the three characters used by each sound. To swap a sound, copy the three characters of the sound you want to the sound you want to change. For example, to make the sound Keen uses when entering a level the same as the sound of Keen walking you'd have: *** %patch $13AA0 $08 $05 $80 *** #Keen walk on map %patch $13A80 $00 $04 $80 #Keen blocked on map %patch $13A90 $1A $04 $C8 #Keen enters a level %patch $13AA0 $2A $04 $FF #Keen walking %patch $13AB0 $08 $05 $80 #Keen blocked by wall %patch $13AC0 $0E $05 $C8 #Keen jump %patch $13AD0 $22 $05 $80 #Keen lands on ground %patch $13AE0 $4E $05 $80 #Keen dies %patch $13AF0 $72 $05 $FF #Keen get points %patch $13B00 $30 $07 $BE #Keen gets an item %patch $13B10 $7E $07 $BE #Keen gets a spaceship part %patch $13B20 $22 $08 $FF #Keen shoots %patch $13B30 $E0 $09 $C8 #Keen pogo %patch $13B40 $58 $0A $A0 #Keen pogo high %patch $13B50 $8E $0A $B4 #Exit sound %patch $13B60 $CC $0A $FF #Game over! %patch $13B70 $B0 $0C $FF #Hiscore sound %patch $13B80 $E2 $0E $FF #Teleport %patch $13B90 $8C $0F $FA #Icecube smash %patch $13BA0 $48 $11 $C8 #Odd beepy sound %patch $13BB0 $A2 $12 $FA #Bump head %patch $13BC0 $3C $13 $96 #Use key sound %patch $13BD0 $5A $13 $FA #Ice cannon fires %patch $13BE0 $4C $14 $80 #Slam [Keen hits ground hard] %patch $13BF0 $D2 $14 $FA #Click [switch] %patch $13C00 $4C $15 $FA #Crystal [Cool sound] %patch $13C10 $64 $15 $FF #Keen 'plummets' %patch $13C20 $90 $16 $80 #Xtra Keen %patch $13C30 $7E $17 $FF #Yorp/robot bumps Keen %patch $13C40 $B8 $19 $FA #Second Keen walking sound %patch $13C50 $D0 $19 $80 #Yorp stunned %patch $13C60 $D8 $19 $C8 #get a keycard %patch $13C70 $72 $1A $F0 #Door opens %patch $13C80 $9C $1B $E6 #Yorp dies %patch $13C90 $AE $1C $FA #Garg dies %patch $13CA0 $44 $1D $FA #Out of ammo %patch $13CB0 $08 $1E $C8 #Keens shot hits a wall %patch $13CC0 $20 $1E $C8 #Vortimom/enemy gun shoots %patch $13CD0 $52 $1E $C8 #Vorticon dies %patch $13CE0 $B0 $1E $FF #Keen frozen %patch $13CF0 $36 $20 $C8 #Keens Left sound [after dying] %patch $13D00 $66 $21 $FF #ANKH %patch $13D10 $6A $22 $FF #Meep, blank, use yorpdeathsnd %patch $13D20 $FA $23 $C8 #Keen meets Mort %patch $13D30 $40 $25 $FF #Boss foot hit ground %patch $13D40 $A0 $27 $FA #Unamed %patch $13D20 $20 $29 $01 #The sounds used for various things: %patch $7BFA $0A $00 #Sound for got bullet %patch $7735 $06 $00 #The sound Keen makes when pogoing %patch $5A2D $19 $00 #Vortirazzi snapshot sound %patch $44F3 $26 $00 #Vortimom shooting sound [hiscoresnd] %patch $45CA $25 $00 #Vortimom shot hit right wall and Vortimom [If next to right wall and shoots] %patch $4640 $25 $00 #Vortimom shot hit left wall and Vortimom [If next to left wall and shoots] %patch $4692 $25 $00 #Vortimom shot hit tiles sound %patch $46DE $25 $00 #Vortimom shot hit sprites sound %patch $4D00 $25 $00 #H/V bullets hit tiles sound %patch $4F4A $25 $00 #Mangling Machine explodes sound %patch $7F78 $25 $00 #Unknown uses of shothit sounds: %patch $7FE5 $25 $00 #Unknown uses of shothit sounds: %patch $801B $25 $00 #Unused death behaviour sound %patch $7677 $15 $00 #Bump head when pogoing sound %patch $43E9 $27 $00 #Vortikid shot sound %patch $4723 $27 $00 #Vortimom shot sound %patch $48AF $27 $00 #Meep shot sound %patch $49E9 $27 $00 #Vortninja shot sound ********** SPARKS [USED IN THE MANGLING MACHINE] ********** See the folder SPRITE PATCHES in this directory for more Spark patches. ********** STATUS SCREEN ********** #Statusbox size: %patch $0EC0 $0B $00 #Height [In lines of text] %patch $0EC4 $1C $00 #width [in letters] #Text read from: [Long lines marked] %patch $0ED5 $D4 $22 #1st line %patch $0EE5 $F2 $22 %patch $0EED $F5 $22 #3rd %patch $0EFD $13 $23 %patch $0F0D $16 $23 %patch $0F1D $19 $23 %patch $0F25 $1C $23 #7th %patch $0F35 $3A $23 %patch $0F45 $3D $23 %patch $0F55 $40 $23 %patch $0F5D $43 $23 #11th #Text [308,134 chars poss] [19824 6B free] %patch $1BAF4 " SCORE EXTRA KEEN AT " $0A $00 %patch $1BB12 " " $0A $00 %patch $1BB15 " KEENS PISTOL " $0A $00 %patch $1BB33 " " $0A $00 %patch $1BB36 " " $0A $00 %patch $1BB39 " " $0A $00 %patch $1BB3C " ANKH TIME KEY CARDS " $0A $00 %patch $1BB5A " " $0A $00 %patch $1BB5D " " $0A $00 %patch $1BB60 " " $0A $00 %patch $1BB63 " PLEASE PRESS A KEY " $00 #Text structure %patch $0EDF $0C $00 #2nd line h position %patch $0EF7 $13 $00 #4th line %patch $0F07 $13 $00 #5th line %patch $0F17 $13 $00 #6th line %patch $0F2F $0B $00 #8th %patch $0F3F $0B $00 #9th %patch $0F4F $0B $00 #10th #Values structure [i.e score, etc text] %patch $0F65 $0A $00 #Score base [0A = 10 = decimal, $10 =hex, $01 = binary, $00 don't show] %patch $0F86 $0A #Score h position %patch $0F9C $0A $00 #Extra Keen base [like above, $00, don't show] %patch $0FC5 $1A #Extra Keen h position %patch $102F $18 $00 #Ammo h position %patch $1037 $04 $00 #Ammo v position %patch $1066 $07 $00 #Ankh time h position %patch $106E $08 $00 #Ankh time v position #Keen's lives structure %patch $0FD7 $00 #Lives h position [lives stop at $12, so $0A doesn't show lives] %patch $0FE1 $03 $00 #Sprite vertical position %patch $FED $90 $90 #Sprites close together #Tiles used: %patch $100E $D8 $00 #Raygun tile %patch $1014 $03 $00 #Vertical position [lines] %patch $101D $04 $00 #Plus xx pixels [i.e loc is 3 4/8 lines] %patch $1023 $15 $00 #H position %patch $1045 $D6 $00 #Ankh tile %patch $104B $07 $00 #V position [lines] %patch $1054 $04 $00 #Plus xx pixels [i.e loc is 7 4/8 lines] %patch $105A $03 $00 #H position %patch $1084 $0D $00 #Keycards h position [4 keycards start here] %patch $108C $08 $00 #Keycards v position [All 4 keycards this height] %patch $1099 $D9 $00 #Yellow keycard tile [No 'no keycard' tile] %patch $10BB $DA $00 #Red keycard tile %patch $10CF $04 $00 #Red keycard left xx [i.e 0D + 04 = 11] %patch $10E0 $DB $00 #Green keycard tile %patch $10F4 $08 $00 #Green keycard left xx [i.e 0D + 08 = 15] %patch $1105 $DC $00 #Blue keycard tile %patch $1119 $0C $00 #Blue keycard left xx [i.e 0D + 0C = 19] %patch $1094 $01 $00 #Always show yellow keycard %patch $10B6 $01 $00 #Always show red keycard %patch $10DB $01 $00 #Always show green keycard %patch $1100 $01 $00 #Always show blue keycard ********** STORY ********** #Make an external storytext file %patchfile $18BC5 "STORYTXT.TXT" ********** SWITCHES ********** See BRIDGES AND SWITCHES