Feel along his sides, back, and belly for anything that feels irregular. If something is broken then the snake will most assuredly be in some pain so if you do find something they will let you know. It never hurts to take them to the vet just to be safe. He probably just found a way to climb down the shelf and didn't fall at all but check him just to be sure.