load_palette

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

load_palette(char pal_num, int *pal, char nb_pal);

     Load one or more 16-color palette-blocks at once.
     'pal_num' is the index of the first block (0-31)
     to load, and 'nb_pal' the number of block.
     This function can be used to load palette defined
     using #defpal or included with #incpal directive.
Personal tools