maybe its useful to notice that it´s nearly impossible to find the correct palette in SP mode in fact that hardware sprites uses another method of color selection than Blitter objects (Bobs) and bitmaps...
don´t make an effort to search the palette in this mode...it would never work...