There were several scenes during rots where the Jedi Code had a severe impact on the choices of the characters and the impact on the story line. In praticular I am talking about it is against the code to strike down an unarmed man. As this is a path to the darkside. This is something that The Emperor was very fond of reminding Luke in the throne room scene during rotj. Here are several examples: ~Anakin & Dooku: Anakin knows Dooku should stand trial, and that he has him defeated. However after heavy goading from Palps, Anakin beheads the Count, and travels deeper down the darkside. ~Anakin & Palps: Palps has revealed to Anakin that he is apt in the darkways of the force, and Anakin has his saber lit, and is not sure what to do. To strike him down there, unarmed, would go against the Jedi code; however it would be the best for the galaxy, though potentially danming for Padme. Anakin decided to run and inform the Council rather than breaking the Jedi Code. Again ~Mace & Palps: Mace has the newly outed Sith Lord beat. Palps is left begging. Mace is about to plunge his saber through Palps, when Anakin reminds him of killing an unarmed adversary is against the Jedi Code. Mace going for the better of the galaxy attempts to strike down Palps, but instead is betrayed. ~Obi-Wan & AnaVader: After defeating his former padawan, and bearing his soul, Obi-Wan leaves AnaVader deformed and disfigured, but still breathing. A final blow to put him out of his misery would have been against the Jedi Code. So how do you think the characters adherence to the Jedi Code effected the events of the movie. In praticular do you think Obi-Wan was right for letting AnaVader writher on the shore?