protected void SetCurrentPalette(int palIndex) { _curPalIndex = palIndex; var palette = roomData.Palettes[palIndex]; if (_game.Platform == Platform.FMTowns) { TownsSetPalette(palette); } else { SetCurrentPalette(palette); } }