Note: If you want to use this patch along with the "Change 'background' tiles" patch, then you must get rid of the last patch statement in this patch file, the one that patches at offset $4409.
Code: Select all
%ext ck1
%version 1.31
# This is the color palette: 16 entries of r, g, b (each 0-63)
%patch $13054
05 05 00
14 17 28
21 28 14
14 28 28
28 24 14
26 20 28
28 28 20
20 22 28
11 12 16
31 00 63
39 63 31
31 63 47
63 39 31
55 31 63
58 63 45
45 49 63
# Set the palette when we go into graphics mode
%patch $6E46 $E8 $D3 $D5 $90 $90
# Code to set graphics mode and set the palette
%patch $441C $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
# Include this part if the "Change background tiles" patch is not used
# It gives us 36 spare bytes for the palette-setting code
%patch $4409 $B8 $14 $01 $26 $81 $3F $31
$01 $73 $03 $B8 $8F $00 $26 $89
$07 $E9 $5C $01
%end