Removed PaletteY in favor of using texture offset and tiling.