Welcome to the forum!
Pacs cannot digest the chitin in the mealworms exoskeleton. Feeding mealworms as a staple diet will almost always cause impaction (severe constipation). Gently feel the frog's right side. If there is a hard lump, then the frog is probably impacted. Soak the frog for 15-20 minutes in lukewarm De-Chlorinated water with 2-3 drops of honey (acts as a natural laxative).
Constant bloating can be caused by a number of things. Are you De-Chlorinating the frog's water?
For further help answer these questions: http://www.frogforum.net/pacman-frog...enclosure.html
Please keep us posted.