Thunder Punch | Low Sweep | Thunder Punch
IF D/E AND not suspended AND Dive (suspend) was not used on the previous action AND Gorebyss's speed is higher than Conkeldurr, THEN Dig.
IF Gorebyss is under Endure AND Gorebyss is not poisoned AND Gorebyss is not behind a substitute AND Safeguard is not up AND Gorebyss is not to use Refresh AND Gorebyss has 1 HP AND the weather is not rain, THEN Toxic.
IF Gorebyss is under Endure AND Gorebyss has 1 HP AND Gorebyss is not behind a substitute, THEN Protect on the first instance, Drain Punch on the second, AND Protect on the third.