protected void SetPalColor(int index, int r, int g, int b)
{
_currentPalette.Colors[index] = Color.FromRgb(r, g, b);
if (Game.Version == 8)
{
_darkenPalette.Colors[index] = Color.FromRgb(r, g, b);
}
// if (_game.Features.HasFlag(GameFeatures.SixteenColors))
// _16BitPalette[idx] = get16BitColor(r, g, b);
SetDirtyColors(index, index);
}