********** PALETTES AND BORDERS ********** #Change the palette colours; there are 4 default palettes, you can create and use #a new pallette for the lights off, or four new palettes for fading in/out #[fade in/out and lights defualt use the same palettes] the last value is the #Border color used with the palette #Colors as follows: $1F, white; $1E, yellow; $1D, light purple; $1C, light red; # $1B, light teal; $1A, light green $19, light blue; $18, dark grey; # $07, light grey; $06, brown; $05, dark purple; $04, dark red # $03, dark teal; $02 dark green; $01, dark blue $00, black #Three border colors not found in the palette: # The two colors that the border flashes when Keen shotts a purple spark %patch $8080 $0E #Brown %patch $808A $03 #dark teal %patch $3131 $03 #Color after killing a vorticon #Default palettes: %patch $1BD84 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $00 $03 #Black %patch $1BD95 $00 $00 $00 $00 $00 $00 $00 $00 $00 $01 $02 $03 $04 $05 $06 $07 $03 #Fade 2 [Used by lights off] %patch $1BDA6 $00 $00 $00 $00 $00 $00 $00 $00 $18 $19 $1A $1B $1C $1D $1E $1F $03 #Fade 1 %patch $1BDB7 $00 $01 $02 $03 $04 $05 $06 $07 $18 $19 $1A $1B $1C $1D $1E $1F $03 #'Normal' colours #Make a new palette for lights off: %patch $19824 $1F $1F $1F $1F $1F $1F $1F $1F $00 $00 $00 $00 $00 $00 $00 $00 $00 #Make Lights off use the new palette %patch $6C6C $04 $00 #Vort paprazi take pics %patch $1C072 $18 $19 $1A $1B $1C $1D $1E $1F $18 $19 $1A $1B $1C $1D $1E $1F $03 #This is what palette the Vorticon press uses; $04 $00 uses new palette %patch $5A15 $52 $28 ## #Where palettes are read from: ## #Normal palette, [used for menu, levels, etc] %patch $2E29 $97 $25 #Fadeout/in When fading out the palettes used are 'normal' 'light' 'dark' and black #When fading in *from* black,olny one is used 'dark' #Lightest fade color [Same as 'normal' used at start of fadeOUT] %patch $2E42 $97 $25 #Light fade [2nd palette in fadeout] %patch $2E56 $86 $25 #Dark fade [3rd color in fadeout] %patch $2E6A $52 $28 #Dark fade color [2nd color in fadeIN] %patch $2E15 $64 $25 #Vorticon press taking pictures [Bright flash] %patch $5A15 $52 $28 #After vorticon press take picutres. [Normal] %patch $5A44 $97 $25 #When lights are switched OFF %patch $6C6C $75 $25 #When lights are turned ON %patch $6C4D $97 $25 #How long each palette lasts in fade in/out: %patch $2E1D $08 $00 #Fade *in* dark %patch $2E4A $08 $00 #'Normal' %patch $2E5E $08 $00 #Light fade %patch $2E72 $08 $00 #Dark fade %patch $2E09 $08 $00 #Black This is the color palette: 16 entries of r, g, b (each 0-63) %patch $19824 00 00 00 # black 00 00 42 # blue 00 42 00 # green 00 42 42 # cyan 42 00 00 # red 42 00 42 # magenta 42 21 00 # brown 42 42 42 # bright gray 21 21 21 # gray 21 21 63 # bright blue 21 63 21 # bright green 21 63 63 # bright cyan 63 21 21 # bright red 63 21 63 # pink 63 63 21 # yellow 63 63 63 # white # Set the palette when we go into graphics mode %patch $2FE0 $E8 $58 $E5 $90 $90 #Cancel 'joysick config' code this gives us 583 bytes spare %patch $153A $C3 # Code to set graphics mode and set the palette %patch $153B $B8 $0D $00 $CD $10 $B8 $12 $10 $B9 $08 $00 $BB $00 $00 $8C $DA $8E $C2 $BA $04 $00 $CD $10 $BB $18 $00 $BA $1C $00 $CD $10 $C3 ********** PLATFORMS ********** See HORIZONTAL PLATFORMS and VERTICAL PLATFORMS ********** POGO ********** #Keen doesn't have a pogo at game start %patch $98F2 $00 $00 # Allow Keen to pogo backwards. # That is, never change the direction he is facing when he is pogoing. %patch $7607 $75 # Make pogo only fly if Keen has Ankh-time. %patch $75F0 $46 $99 #When pogo flies Keen flies stright up automatically %patch $75FA $75 #Pogo jetpacks %patch $7627 $90 #Pogo doesn't fly with godmode %patch $75F3 $EB #Pogo always flies %patch $75F3 $90 $90 -Affecting what the Pogo tile does #Pogo gives Keen xx shots %patch $7AD6 $C7 $06 $48 $9D $xx $00 #Pogo tiles dissapear when touched, without ANY othe effects %patch $7AD6 $7E $06 $48 $9D $01 $00 #Pogo sets Keens shots to xx, whilst playing exit sound %patch $7AD6 $C6 $06 $48 $9D $xx $00 #Pogo exits level, for level 16, wins game. %patch $7AD6 $C9 $06 $48 $9D $01 $00 #Pogo gives an extra keen. %patch $7AD6 $FF $06 $46 $9D $90 $90 ********** POINTS ********** See ITEMS ********** PRESENTING AN ID SOFTWARE... SEQUENCE ********** #Bitmaps used in sequence: %patch $3135 $0A $00 #One moment %patch $A9C6 $09 #Rising APOGEE %patch $A9DD $07 $00 #An %patch $A9F2 $09 $00 #APOGEE %patch $AA04 $08 $00 #Presentation %patch $AA19 $0B $00 #Of an %patch $AA2B $0D $00 #Id Software %patch $AA3D $0C $00 #Production #Bitmaps don't appear: %patch $A9C2 $C3 #Rising APOGEE %patch $A9D9 $C3 #Everything BUT rising APOGEE %patch $A9DC $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #An %patch $A9F1 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #APOGEE %patch $AA03 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Presentation %patch $AA18 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Of an %patch $AA2A $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Id Soft %patch $AA3C $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Production #H and V positions of bitmaps: %patch $313D $0F $00 #One moment h %patch $3139 $4C $00 #One moment v %patch $A9CE $10 $00 #Rising APOGEE h %patch $A9E8 $16 $00 #An h %patch $A9E4 $F6 $FF #An v [Ya, negaive] %patch $A9FA $10 $00 #APOGEE h %patch $A9F5 $B8 $38 $00 $50 #APOGEE v [$38 $00] %patch $AA0F $12 $00 #Presentation h %patch $AA0B $20 $00 #Presentation v %patch $AA21 $15 $00 #Of an h %patch $AA1D $63 $00 #Of an v %patch $AA33 $13 $00 #Id Soft h %patch $AA2F $72 $00 #Id Soft v %patch $AA45 $13 $00 #Production h %patch $AA41 $9F $00 #Production v #Of an, Id Soft, and Production akready there when sign rises. #Sign rises with Presentation, and An both are blocked by existing sorites. %patch $A9D8 $90 #Rising sign appears at top of screen, nonmoving Other sprites appear later. %patch $A9CC $90 #No start, straight to menu. %patch $AAEF $01 ********** PRESS F1 FOR HELP ********** #F1 help sprite %patch $A09A $01 $00 #Don't show [causes problems if sprite is wonky] %patch $A0A3 $90 #v position %patch $A09E $B6 $00 #h position %patch $A0A2 $01