It is for loading all four layers instead of just one but maybe the attached map layer loading code will help. What problem are you having with sprites? Use spset to allocate one, spofs to move it around, and spclr to deallocate when you are done with it. You can also set animations with spanim.