Pete is a character from Kingdom Hearts II.
Back in the times before Disney Castle stood where it does now, there was a steamboat service run near the future castle's site. Riding up and down the Timeless River, the steamboat was a treasured part of the area, and would dock at the local Wharf with supplies. The shipmaster and captain of the steamboat was the grumpy, yet good-hearted Pete.
Before he became the evil man that King Mickey banished to another dimension, Pete was Mickey's boss.
In Kingdom Hearts II
When Sora traveled back in time to find the reason for the evil surrounding Disney Castle, he was quick to blame Pete. However, when Sora, Donald Duck, and Goofy pointed their fingers and accused Pete of being the bad guy, the shipmaster could have cared less. Though mad at such an accusation, Pete had more on his mind--somebody stole his steamboat, and his first mate Mickey was missing.
Though Pete continued on to the Port, this didn't stop Sora from chasing after him. Again pointing fingers, Sora attacked Pete, even though he claimed innocent, not even knowing what was going on. Sora, Donald, and Goofy didn't cut off the attack until poor Pete injured his back. Deciding that somehow this Pete was innocent, Sora and his friends comforted Pete.
Later on, Sora met Pete again--this time fighting Pete! Both the Pete from the past and the Pete from the future were arguing with each other. Future-Pete, determined that his (and Past-Pete's) future was at stake, pushed the Pete from the past over and stole his steamboat.
Past-Pete assisted Sora during the boss battle against Future-Pete. However, he didn't act much different than in their last encounter; Sora could attack and harm Past-Pete all the same, and vice versa. But by attacking Pete enough, he'd charge or make an impact wave that could injure Future-Pete.
After Future-Pete left the Timeless River (chased off by Past-Pete, who still had no idea that they were the same person), Pete was so gracious that he let Sora take a spin on his steamboat.