Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
If Dragonite is to use a Protective move, use Nasty Plot and push back.
If Dragonite is to use Encore, Chill.
If Dragonite's team is under the effect of Safeguard, replace all Nuzzle with Tailwind.
send out Woosh! with Berserk Gene
sludge bomb(quick) ~ shadow ball ~ shadow ball
if my opponent has a protective status then calm mind and push back the first time and chill and push back other times
if my opponent is using pain split then use protect and push back
if my opponent is using a special returning attack THEN use shell side arm (physical) and push back
(Unown should have stocked an s.)
Sending Will of the Terminus (Dusknoir) @ Leftovers. Night Shade ~ Night Shade ~ Night Shade
[start of step] If Dragonite is to Chill on any future step, and Dragonite is not Taunted, and Dusknoir has at least 11 EN, begin using Taunt ~ Chill.
[start of step] If Dragonite is to Chill, Chill the first instance and Night Shade other instances.
[start of step] If Dragonite's EN is at most 4, and Dusknoir's EN is at least 13, use Protect.
(This is probably wrong but it's a flash so whatever.)
shadow ball ~ shadow ball ~ shadow ball(quick)
[once] if I am asleep then use sleep talk
if my opponent is using a special returning move then use shell side arm(physical)
if my opponent is using pain split then use protect