Well, Anakin could have to choose between saving her and Padme`, and, guess which one he's gonna save. Of course, there's always plan B:
Ahsoka is still Anakin's padawan when ROTS begins, Anakin and Obi-wan weren't always together, and still is when Anakin reveals the "terrible truth" about Supreme Chancellor Palpatine, and MaceWindu tells her to spy on Anakin and make sure he doesn't try to interfere, and,if she can keep Anakin in the Temple, she'll be given Jedi status and Anakin will be given the rank of Master he's always wanted. But of course, Ahsoka thinks he's full of it and doesn't spy on Anakin and he of course does interfere. Then Sidious tells him to off her, but Anakin, and Rex, who is part of the 501st, spare her. Ahsoka is horrified that Anakin has become Darth Vader, and tries to cut him down, which of course doesn't work, and they confiscate her lightsaber to prove to Sidious that she's "dead". Anakin also tells him that he thinks it's his feeling for Padme` that make him so powerful. Then, later, while in hiding, she meets up with, of all people, Ventress, who eventually, after her beef with Dooku, joins her. And she tells him that the Sith switched the prophecy in the Jedi records and that the real Chosen One would have a relative who was born of the Force but not be born of the Force himself. Also, Mace Windu somehow survived, and meets up with Luke in Episode 7, on Mustafar, where Luke sees a force vision of what happened to Anakin there and is ticked at Obi-wan. Also, Sidious does know the power of Plagius and used it to save his skin, that was the blue light at his "death", and he is now in a clone body of LUke, made from the hand Vader cut off, and has gotten an Imperial Guard as an apprentice and names him Darth Trion. Anyway, after a brief battle with Trion on Naboo, in which Luke and Trion each lose a hand, Luke, his fake one, and Luke learns about his mother and her being a Queen of Naboo, and he meets up with the new Gungan boss, guess who, that's right, Jar Jar, and takes him with him to Mustafar. Also, before he can leave, Boba fett, who escaped the sarlaac, who was trained in the art of a lightsaber by trion, comes back for a little payback on the Jedi for killing Jango, but Obi-wan's force ghost convinces him before LUke and boba get into a serious duel. Then, after Luke gives him 20000 credits, to help start a family he claims, he joins Luke's side and goes with him and Jar Jar to mustaar. Then Sith troopers attack on Mustar, and Luke, ticked about what he learned happened to his father there, uses force lighing on the sith troopers and destroys their heat shields. While trying get a midichlorian test on Luke at the Jedi temple, they find, and Luke rescues Ventress and Ahoska, who have been captured and kills Commander Cody. Then, after causing a scene in a cantina, they go to the Sith temple in the Deep Core on the planet Darnelliva and find out about the plagius power, which is gotten from shooting force lightning into a supermassive black hole. Luke tries it, much to the alarm of Ahsoka, and since he's the Chosen One, comes back alive with the power. Later, on Kamino, Jar Jar drops some thermal detonators and Ventress and Mace blow themselves up to save Ahsoka, Luke, and Jar Jar. After rescuing Chewbacca in the Battle of Naboo, Luke and Ahsoka embark on one adventure after antoher until a final showdown in which Sidious frames luke for the death by rebel troopers of thousands of Jedi. Sidous almost gets Luke, even with the power that Luke and Ahsoka now realize is love and that's what made Anakin so powerful, but Luke uses the force to push sidious' lightsaber back into itself and Sidious barely is able to once again avoid body destruction as the lightsaber explodes. Trion escapes like a coward. Luke and Ahsoka get married and vow to stop the Sith! Nice destiny for her isn't it?