Code: Select all
where the programming is too far beyond me. If anyone can figure out the proper code for this, your reward will be a 1337 patch for Keen 2.
[code]#Cannot be used with the lightswitch palette patch!
#Must be used with the background tiles patch
#Write the palette into unused space
%patch $17784
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 $3045 $E8 $D3 $D5 $90 $90
# Code to set graphics mode and set the palette
%patch $725E $B8 $0D $00 $CD
$10 $B8 $18 $10 $B9 $08 $00 $BB
$00 $00 $8C $DA $8E $C2 $BA $04
$00 $CD $12 $BB $18 $00 $BA $1C
$00 $CD $12 $C3