Simplified load_sprite_pak(...) a bit.