Hello!
It is difficult to understand (at a distance) what's the problem.
Need to show the terrarium where he lives Pacman.
Maybe the frog is injured on objects in the terrarium.
Theoretically, need a X-ray image and medical consultation (profile).