Yes kidney stones. Everything you ever heard about the pain of some kidney stones trying to pass is true. I have lost count of how many I have passed now. Some don't hurt too bad others are the mother of all pain. I have had some take more than a week to pass and others in as little as 8 hours.
But you have gall stones (pancreatic) right? Different organ same pain. Get well soon!