DECLARE SUB DQBfadeIn (Pal AS STRING)
Pal - A string of 768 characters holding the palette to fade into
none
Fades the current palette into the given one; current palette may be completely different from the target one. The Pal string can be obtained by calling the DQBgetPal or the DQBloadImage functions, or it can be set manually; just keep in mind that there're three bytes for each color, representing the red, green and blue components of them, in the range 0-63.
See DQBfadeTo example