Motifs in the James Bond film series the degree to which Bond girls are pivotal to propelling the plot forward varies from one film to the next. Five of the Bond girls are "bad" girls (or at least working for the villain) who turn "good" (or switch sides) usually due to Bond's influence. Bond has fallen in love with only Tracy di Vicenzo in "On Her Majesty's Secret Service" and Vesper Lynd in "Casino Royale", but both of them die at or near the end of the respective films. Roald Dahl, a screenwriter of "You Only Live Twice", said he was given a formula to work to
Vesper Lynd Bond plans to resign from the service to be with her. As in the novel, Bond and Vesper go on vacation to Venice, hoping to start a new life. Unknown to Bond, however, Vesper embezzles the money and delivers it to a gang of Quantum henchmen. When Bond realizes what has happened and goes after Vesper, the thugs take her hostage and lock her in an elevator while they do battle with him. After several explosions, the flooded building sinks, but Vesper resigns herself to death and locks herself in, even as Bond frantically tries to open the elevator. In