It seems that /ds is bugged, especially with Pumpkaboo-Super.
I tried /ds-ing some random move combo one day, and was surprised that it gave Pumpkaboo-Super, but in actual fact, it doesnt.
Here's an example.
!ds !String Shot, !Protect
Gives the input: Beldum, Ditto, Magikarp,
Pumpkaboo-Super, Regigigas, Tynamo, Unown, Wobbuffet, Wynaut
This contradicts with /learn pumpkaboo-super, protect.
It shows that Pumpkaboo-Super can indeed learn protect.
Veekun also states that it can learn protect, so pretty sure this is a bug.
http://veekun.com/dex/pokemon/pumpkaboo?form=super