Hamm

Hamm is a piggy bank who appears in Disney/Pixar's 1995 film Toy Story and its 1999-2010 sequels in the saga. He is voiced by John Ratzenberger.

Personality
Hamm is a wise-cracking plastic piggy bank with a cork in his belly. He and Mr. Potato Head appear to be best friends, as they are often seen playing games and clapping hands with each other whenever something spectacular happens.

Hamm is somewhat of a technological genius. He can identify types of trash bags, child locks, and is the ultimate channel-hopper in Toy Story 2, as he switches channels far more rapidly than the other toys can.

Toy Story
Hamm covets hats, such as when he wins Mr. Potato Head's hat in a game of battleship and claiming Woody's hat when the toys planned to get rid of Woody.

Toy Story 2
Hamm returns in the second film with a much larger role. He takes a dislike to Al McWhiggin, the chicken mascot of Al's Toy Barn, especially after learning that he is the same man who has kidnapped Woody from a yard sale. Later, he and Potato Head set up a crime scene to present Woody's kidnapping to the other toys, but Rex destroys their presentation. Hamm then takes over the channel-hopping that Rex was trying for, doing it far more rapidly. When asked how he can even tell what's on, he simply replies, "I can tell," and keeps going.

After helping the toys find the Al's Toy Barn commercial on TV, Hamm, along with Buzz, Potato Head, Rex, and Slinky go on a mission to rescue Woody. It is during this mission when he displays embarrassment to the other toys after his cork falls out, and he requests no one to look until he gets it back in. The following day, he is the first to spot Al's Toy Barn right across the street. During their search in the toy store, Hamm spots a group of Barbie dolls having a party and asks them where to find the owner of Al's Toy Barn.

When Tour Guide Barbie drives the toys into the Buzz Lightyear aisle, Hamm spots a "Bonus Belt" Buzz, thinking he is Andy's Buzz (but later, the toys are able to rejoin with the "true" Buzz). When the toys break into Al's apartment, Hamm knocks down the box with the Prospector inside and exclaims: "You heard of kung fu? Well, get ready for 'pork chop'!" After the toys return home, Hamm attempts to beat a Buzz Lightyear: Attack on Zurg video game that was previously played by Rex and asks Rex for a hand, but Rex, too overjoyed about his triumph over defeating Zurg in the elevator previously, doesn't help, and Hamm loses the game before he can continue with his playthrough and gets angry. He then sees a sobbing Al on TV about how he lost his money, which makes Hamm comment that crime doesn't pay.

Cars
Hamm made a cameo appearance as a piggy truck in Cars.

Toy Story 3
Hamm returns in the third film. He is saddened like the other toys are when a now seventeen-year-old Andy has stopped paying attention to his toys. Later, when Andy starts to clean his room, Hamm is put into a trash bag along with the other toys except Woody, but Andy's mom mistakes the bag as trash and puts it onto the curb. The toys manage to get out of the bag, under Buzz's direction, and climb into a box bound for Sunnyside Daycare. At the daycare, Lotso assigns the toys to the Caterpillar Room, where the toys are impressed at the sights and sounds of the room. However, as the recess bell rings and the toddlers of the room enter, Hamm is bathed in glue and coated in glitter. That evening, Hamm removes his cork to spill out some rubbish, including Mr. Potato Head's arm, out of his body. Soon, the toys realize that Woody has been truthful about Andy's intent of putting them into the attic, but are imprisoned by Lotso, his gang, and a reset Buzz before they have a chance to go home.

The next day, Hamm, feeling bored and lonely, plays a harmonica to lighten his spirit, but Buzz bangs on his cell and orders him to be quiet. After another rough playtime with the toddlers, the toys are reunited with Woody and agree to help him get back home as Woody tells them of his plan of busting out of Sunnyside. That night, Hamm and Rex distract Buzz by having a small fight, forcing Buzz to try to stop the fight, and Jessie and Bullseye slam a plastic storage bin onto Buzz. Hamm and Rex then stand on top of the bin, trapping Buzz, who frantically tries to escape. After Woody, Slinky, and Barbie returns with a Buzz Lightyear instruction manual, Buzz breaks himself free, and Hamm and Rex tackle Buzz from the side to prevent him from escaping. As the toys pin Buzz down, Hamm reads the steps in the manual on how to reset Buzz, but the toys end up resetting Buzz to a Spanish version of his "Space Ranger" persona. Nevertheless, they escape via the garbage chute, only to be confronted by Lotso again. The confrontation eventually results in Lotso's henchmen turning on their leader upon being convinced of his deception and Lotso being thrown into a dumpster by Big Baby. After Lotso pulls Woody into the dumpster, Hamm and the others jump onto the dumpster, only to fall into a garbage truck that has just arrived. The truck takes them to the Tri-County Landfill, where the toys escape the shredders, but are dumped into a furnace after Lotso leaves them to die in an incinerator. Hamm then takes Slinky's paw and Rex's hand. Just as the toys are about to face their fiery death, they are saved by a giant claw crane that the Aliens are commandeering. After escaping the incinerator, Hamm expresses his desire to get back at Lotso for leaving him and his friends to die, only to be convinced by Woody that Lotso is not worth the trouble. The toys return home, wash themselves off with a garden hose, and climb back to Andy's room. They say goodbye to Woody as they climb into a box destined for attic, but with Woody's intervention, he is finally given to Bonnie Anderson along with the other toys, when Andy stops at her house while en route to college. After Andy leaves, Hamm is seen walking and talking with Mr. Pricklepants as the film closes.

In the end credits, he is seen together with Buttercup, presumably his new best friend, as the two are next to each other when Woody reads his friends a message from Sunnyside, when they watch Mr. Pricklepants and an Alien play their rendition of Shakespeare's Romeo and Juliet, and when they enjoy watching Buzz and Jessie perform a paso doble.

Evil Dr. Porkchop
Evil Dr. Porkchop is the villain Andy creates from Hamm.

He appears in Toy Story 2 (when Andy sets up a stage before leaving for Cowboy Camp) and Toy Story 3 (in Andy's realistic imagination, controlling a pig-shaped spaceship). In both cases, he is wearing Mr. Potato Head's black hat. He is referred to this play character again when Andy hands Hamm over to Bonnie Anderson at the end of Toy Story 3.

He is in the Toy Story 3 video game as well, but also with a black patch over his right eye.

Trivia

 * By the time of Toy Story 2, Andy seems to have lost Hamm's original stopper, so he now uses a wine cork in its place.
 * Technically he is not a toy, he is a piggybank.
 * Hamm appears as a car during the end credits of Cars. Mack calls him a piggy truck.
 * In the Toy Story opening Pixar made for the direct-to-video film, Buzz Lightyear of Star Command: The Adventure Begins, Andrew Stanton voiced Hamm, filling in for John Ratzenberger.
 * Apparently, he is capable of changing the channel in under a millisecond, which caused them to nearly miss where to find Al's Toy Barn's location in a commercial. When Hamm is clicking through channels to find said commercial in Toy Story 2, various clips of Pixar shorts and commercials are featured, along with the old Pixar logo.
 * Evil Dr. Porkchop in Toy Story 3 can be considered John Ratzenberger's second villain role after The Underminer in The Incredibles, though in reality it's just Hamm in a fantasy sequence.
 * Also interesting to note is that he plays Dr. Porkchop at the very beginning of Toy Story 3 while he plays The Underminer at the very end of The Incredibles.
 * Also noteworthy is the fact that when Andy speaks for Dr. Porkchop, he uses a British accent, yet in Andy's fantasy sequence in Toy Story 3, John Ratzenberger maintains his American accent while voicing Dr. Porkchop.
 * Hamm is the first pixar character to be voiced by John Ratzenberger who was best known for playing Cliff Clavin the mailman from Cheers.