Complex sentence: Universal Studios contracted Edgar Wright who had just finished his last film, "Shaun of the Dead", agreed to adapt the "Scott Pilgrim" comics.
Split into simpler sentences: Universal Studios contracted Edgar Wright who had just finished his most recent film, "Shaun of the Dead". Wright agreed to adapt the "Scott Pilgrim" comics.