when he 'd walked out of the emergency room in buffalo all those hours ago , intending to buy whatever oxycontin he needed to get rid of the pain in his head and his joints and the terrible cramping in his stomach , he 'd remembered the trip to libby .