So looking through the Pokedex entries for Pecharunt:
"It feeds others toxic mochi that draw out desires and capabilities. Those who eat the mochi fall under Pecharunt’s control, chained to its will."
"Its peach-shaped shell serves as storage for a potent poison. It makes poisonous mochi and serves them to people and Pokémon."
So it seems Pecharunt was controlling Okidogi, Munkidori, and Fezandipiti, the chains being representative of how they are bound to Pecharunt's will and are obligated to do whatever Pecharunt wants. Pecharunt created mochi and fed it to Okidogi, Munkidori, and Fezandipiti and gave them their desires in the form of their powers but in turn made them its loyal servants who only do its bidding.
So in other words, this thing was the true villain of Teal Mask this whole time.