To those who have both seen the movie and read the novel, which do you think has a better ending? In the movie, Megatron attacks Sentinel Prime when he and Optimus were fighting. Optimus eventually kills both Megatron and Sentinel Prime. In the novel, Megatron helps Optimus defeat Sentinel Prime. Then Megatron says he is tired of fighting, and promises Optimus that he and the Decepticons will no longer oppose the Autobots/humans, but will focus on getting to Cybertron and rebuilding it so that once again both Autobots and Decepticons can live there in peace.