********** DONE MARKERS ********** ------------------------------------------------------------------------------- #Keen 4 like flags in keen 1 #To make a flag marker for level n, you need to put a sprite on the #map with number 100 + n; for example, to make a flag marker for #level 3, I'd put a sprite number 103 on the map. Be aware that #these should only be placed on an area where Keen cannot walk, or #they'll act like teleporters if he walks over them and presses Alt. #Do not use this patch with the "change Done tiles" patch. %patch $7C07 $83 $EC $20 %patch $7D13 $31 $F6 $C4 $3E $4C $6C $8B $16 $08 $6C $A1 $58 $6C %patch $7D20 $F7 $E2 $89 $C1 $09 $C9 $75 $03 $E9 $DA $00 $26 $8B $05 $C7 $46 %patch $7D30 $E0 $00 $00 $A9 $00 $80 $74 $05 $C7 $46 $E0 $01 $00 $25 $FF $7F %patch $7D40 $75 $03 $E9 $B9 $00 $89 $46 $FC $3D $10 $00 $7C $03 $E9 $85 $00 %patch $7D50 $89 $C3 $D1 $E3 $83 $BF $A4 $AA $00 $75 $03 $E9 $A0 $00 $26 $C7 %patch $7D60 $05 $00 $00 $83 $7E $E0 $00 $74 $03 $E9 $92 $00 $89 $FB $43 $43 %patch $7D70 $26 $8B $07 $25 $FF $7F $3B $46 $FC $75 $47 $26 $C7 $07 $00 $00 %patch $7D80 $03 $1E $08 $6C $03 $1E $08 $6C $26 $C7 $07 $00 $00 $4B $4B $26 %patch $7D90 $C7 $07 $00 $00 $06 $C4 $1E $48 $6C $89 $F0 $D1 $E0 $01 $C3 $26 %patch $7DA0 $C7 $07 $4E $00 $43 $43 $26 $C7 $07 $4F $00 $03 $1E $08 $6C $03 %patch $7DB0 $1E $08 $6C $26 $C7 $07 $51 $00 $4B $4B $26 $C7 $07 $50 $00 $07 %patch $7DC0 $EB $3C $06 $C4 $1E $48 $6C $89 $F0 $D1 $E0 $01 $C3 $26 $C7 $07 %patch $7DD0 $4D $00 $07 $EB $29 $3D $65 $00 $7C $24 $3D $74 $00 $7F $1F $2D %patch $7DE0 $64 $00 $89 $C3 $D1 $E3 $83 $BF $A4 $AA $00 $74 $11 $06 $C4 $1E %patch $7DF0 $48 $6C $89 $F0 $D1 $E0 $01 $C3 $26 $C7 $07 $CD $00 $07 $49 $47 %patch $7E00 $47 $46 $E9 $1F $FF $EB $4A #The Done tiles used WITH the flag markers %patch $7DA2 $4D $00 #Small done marker %patch $7DAA $4F $00 #Large done marker 1 %patch $7DB6 $51 $00 #Large done marker 2 %patch $7DBD $50 $00 #Large done marker 3 %patch $7DD0 $4E $00 #Large done marker 4 %patch $7DFB $CD $00 #The tile to be used AS a flag marker ------------------------------------------------------------------------------- #Change the Done tile markers %patch $7D88 $4D $00 #Single tile "Done" marker %patch $7DFC $4F $00 #Four-tile "Done" marker %patch $7E14 $50 $00 %patch $7E2A $51 $00 %patch $7E43 $4E $00 #Do not spawn DONE markers %patch $7D85 $90 $90 $90 $90 $90 # Single Marker: %patch $7DF5 $90 $90 $90 $90 $90 # 2x2 Markers: %patch $7E11 $90 $90 $90 $90 $90 %patch $7E27 $90 $90 $90 $90 $90 %patch $7E40 $90 $90 $90 $90 $90 # Do not spawn DONE markers (Flags version) # Place this AFTER the flags patch %patch $7DCD $90 $90 $90 $90 $90 # Single Marker: %patch $7D9F $90 $90 $90 $90 $90 # 2x2 Marker: %patch $7DA6 $90 $90 $90 $90 $90 %patch $7DB4 $90 $90 $90 $90 $90 %patch $7DBA $90 $90 $90 $90 $90 ********** DOORS ********** ------------------------------------------------------------------------------- #Doors on the world map: #Note that this MUST be used with the 'Make teleporters work in the level' patch or Keen will crash #Needs the STATUS WINDOW patch to work! %patch $897B $3D $00 $00 $9F $88 $E0 $8B $9F $6E $05 $83 $EB $02 $7C $0F $83 $FB $03 $7F $0A $D1 $E3 $83 $BF $9E $AA $01 $9F $08 $C4 $9E $74 $05 $58 $05 $1A $00 $50 $C3 %patch $A71B $8B $87 $34 $0A $E8 $59 $E2 %patch $A808 $8B $87 $C0 $13 $E8 $6C $E1 %patch $A933 $8B $87 $86 $18 $E8 $41 $E0 %patch $AA20 $8B $87 $FA $0E $E8 $54 $DF #Stop the doors bouncing Keen: %patch $43A4 $E9 $D1 $01 %patch $2F31 $E8 $9D $E1 $90 $90 %patch $2FE6 $E8 $0B $E1 $90 $90 %patch $10D1 $81 $3E $54 $82 $C4 $45 $75 $15 $8B $87 $6E $05 $48 $48 $3D $04 $00 $73 $0A $89 $C3 $D1 $E3 $83 $BF $9E $AA $01 $C3 $83 $BF $86 $18 $00 $C3 $81 $3E $54 $82 $C4 $45 $75 $15 $8B $87 $6E $05 $48 $48 $3D $04 $00 $73 $0A $89 $C3 $D1 $E3 $83 $BF $9E $AA $01 $C3 $83 $BF $FA $0E $00 $C3 ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- #CUSTOMIZE DOORS: #When a door is opened 3 tiles are copied, the door top, and the two tiles the door is standing #on. The door top and the tile next to it in the tileset then move down, while the other 2 #tiles become forground so you can't see the door sink into the ground. The door is replaced #by two tiles. The following large patch has adjustable patches after it: %patch $28A1 $C7 $05 $02 $00 $F7 $2E $08 $6C $03 $46 $04 $D1 $E0 $C4 $1E $48 $6C $03 $D8 $26 $8B $07 $89 $44 $0E $8B $C7 $05 $00 $00 $F7 $2E %patch $28C1 $08 $6C $03 $46 $04 $D1 $E0 $C4 $1E $48 $6C $03 $D8 $26 $8B $07 $89 $44 $10 $8B $5E $FE $D1 $E3 $C7 $87 $9A $AA $00 $00 $8B $C7 %patch $28E1 $05 $00 $00 $F7 $2E $08 $6C $03 $46 $04 $D1 $E0 $C4 $1E $48 $6C $03 $D8 $26 $C7 $07 $8F $00 $8B $C7 $05 $01 $00 $F7 $2E $08 $6C %patch $2901 $03 $46 $04 $D1 $E0 $C4 $1E $48 $6C $03 $D8 $26 $C7 $07 $8F $00 $5F $5E $8B $E5 $5D $C3 $90 $90 #Adjustable stuff: %patch $2889 $03 $00 #Tile for 4 below doortop is picked from... [Vert location] %patch $28A3 $02 $00 #Tile for 3 below doortop is picked from... %patch $28BD $00 $00 #Doortop is picked from... %patch $28E2 $00 $00 #First replacement tile vert location (Doortop) %patch $28FB $01 $00 #Second replacement tile vert location (Door bottom) %patch $28F6 $8F $00 #First replacement tile %patch $290F $8F $00 #Second replacement tile #Probbably poinmtless stuff: %patch $289F $12 #Make 4 below tile always tile 0 %patch $28B9 $12 #Make 3 below tile always tile 0 %patch $28D3 $12 #Make descending door tiles always tile 0 ------------------------------------------------------------------------------- #Make doors open like in Keen 3 (Replacement tile is tile next to door) %patch $28EC $26 $8B $07 $B6 %patch $28F0 $0D $F6 $FE $F6 $EE $26 $89 $07 %patch $28F8 $03 $1E $08 $6C $03 $1E $08 $6C %patch $2900 $26 $89 $07 $90 $90 $90 $90 $90 #Tiles door leaves behind when opened %patch $28EF $8F $00 #Top (Grey background) %patch $2906 $8F $00 #Bottom (Grey background) #Door opening sound %patch $2801 $21 $00 #Yellow door takes blue key too; other doors don't loose any keys %patch $28D7 $A0 #Doors don't take keys when opened %patch $28D7 $00 #Doors don't open, Keen can just walk right through them #If he has the right key- over and over. (Doesn't take Keen's key.) %patch $27F8 $C3