ReC98/th01/main/boss/palette.hpp

15 lines
393 B
C++

// The intended palette for a boss, with no effects applied.
extern Palette4 boss_palette;
#define boss_palette_snap_inlined() { \
int col; \
int comp; \
palette_copy(boss_palette, z_Palettes, col, comp); \
}
// Overwrites [boss_palette] with [z_Palettes].
void boss_palette_snap(void);
// Sets both [z_Palettes] and the hardware palette to [boss_palette].
void boss_palette_show(void);