If the guinea pig only gets old pellets, then he may not be getting enough Vitamin C. If he goes a long time without Vitamin C, he can get scurvy. One of the symptoms is bad joints.
You can buy Vitamin C pills for him but it's also important to get a fresh, good quality guinea pig pellet. Vitamin C is not stable for long. I test for it at work. A solution I make one day (of just ascorbic acid) is basically completely gone in a week without some preservative or alternative stable form.
Your friend should also feed him foods high in Vitamin C like oranges, kale, and so on. See
http://www.fishpondinfo.com/cavies/pigcare.htm#foodThese are the pills I used to buy for my pigs:
http://www.petfooddirect.com/store/product...CJ61HL7BE4X48K2