It could change its appearance at will but reverted to its demonic shape while flying about at night.
(It; could change; its appearance at will) (It; reverted; to its demonic shape; T:while flying about at night)
It It
could change reverted
its appearance at will
to its demonic shape T:while flying about at night