It would be really, really nice to have a GetTilePixel. This is something that I could probably do myself if I had a better idea how the VSP format goes, but I don't, and it really seems like something that ought to be supported internally anyhow.
Edit: This seems to work. However, it'd still be nice to have a real one.
int GetTilePixel(int xcoord, int ycoord, int gamelayer)
{
GetPixel(xcoord%16,ycoord%16 + (16*GetTile(xcoord/16,ycoord/16,gamelayer)),curmap.tileset);
}