Day of the Machines

Skeletor creates a villainous energy creature, Byte, infiltrates Man-At-Arms' master computer and causes all of the Royal Palace's defense systems to attack those they are meant to protect