Mkay, Numeron, let's help our partner out, huh? First, throw a Barrage at our foes. If possible, both of them, but if not, then aim at Girafarig. Then, before Shelly uses Confuse Ray, use Psychic and move Girafarig within Shelly's attack range. If it doesn't work, then keep trying; otherwise, relax.

Barrage (both) ~ Psychic (Girafarig) ~ Psychic (Girafarig)/Relax