#include "Palette.h"

u8 greenMode = FALSE;

const u8 colourPalette_[16] = {0x4, 0xa, 0x13, 0xc, 0xb, 0x14, 0x15, 0x6, 0x1e, 0x7, 0x1c, 0x12, 0xe, 0x0, 0x18, 0x16};

const u8 greenPalette_[16] = { 0x4, 0xb, 0x13, 0xc, 0xb, 0x14, 0xc, 0x6, 0x1e, 0x7, 0x5, 0x3, 0xe, 0x0, 0x18, 0x16 };

void updatePalette()
{
    if (greenMode)
    {
        cpct_setPalette(greenPalette_, 16);
    }
    else
    {
        cpct_setPalette(colourPalette_, 16);
    }
}