After speaking with SDS over your sub, I was told to ignore it.
[04:03] <&SevenDeadlySins> ignore the sub
[04:03] <&SevenDeadlySins> because that's not a legal sub
[04:04] <&SevenDeadlySins> think of it this way
[04:04] <&SevenDeadlySins> if (plan a would not be successful) then (use plan b)
Golbat used Toxic!
Dragonite was badly poisoned!
Dragonite used Safeguard!
Dragonite is protected by Safeguard (4R)!
Golbat used Confuse Ray!
Confusion roll: 3/3 (Intense)
Dragonite is confused!
Confusion hit: 5991/10000 (YES)
Dragonite hurt itself in confusion! (-1a)
Damage: (4 + 7.5 - 4.5) = 7/2 = 3.5
-1 HP (Confusion -1a)
Golbat used Hypnosis!
Hit chance: 6822/10000 (YES)
Sleep roll: 1/3 (Light Sleep)
Dragonite is asleep!
Badly poisoned (2DPA)