The idea is you send the starmie in on something it forces out, and substitute on the switch. If they send in a ditto, well fine, it gets one attack against a substitute while you're free to OHKO it. If it's non-scarfed, it doesn't even get the attack, unless for some bizarre reason it's also...