->''"I defeated his minions, and he cackled and said, 'Exactly as I planned.'''
->''I discovered his secret fortress. 'Exactly as I planned.'''
->''I breached his defenses, and still he said, 'Exactly as I planned.'''
->''I slew him in single combat, and with his dying breath he gasped, 'Exactly as I planned.'''
->''I stood over his grave and I said, 'You never really got the hang of planning, did you?'"''
-->--'''Jenna Moran''', ''TabletopGame/{{Nobilis}}''

Looks like there's trouble for the villain. The heroes destroyed his {{Phlebotinum}} research facility, the government realized that the man they thought was the president was actually an evil robotic duplicate, and his entire accounting staff has just [[ArsonMurderAndJaywalking turned into mimes]]. What's his response?

''[[DissonantSerenity Excellent.]]'' Everything is going according to plan.

That one little phrase is all it takes to cause even the most apparently monumental loss to be completely turned on its head. Was the villain CrazyPrepared enough to ensure that [[XanatosGambit even his failure somehow turns into a victory]]? Did he prepare a plan only just incompetent enough that the heroes could [[BatmanGambit predictably defeat him]]? Or was his EvilPlan something else entirely?

Well, we're not going to find out anytime soon. In all likelihood, he's relying on the UnspokenPlanGuarantee to catch everyone off guard so that we can [[YouCantThwartStageOne proceed to the real plot]]. Stay tuned next week for the exciting new development!

Compare GambitRoulette where ''even probability itself'' goes all according to plan.

In terms of writing, this is a relatively meta trope in that in most cases it's technically irrelevant. Regardless of whether anyone actually says the phrase, whatever gambits are floating around are still floating around. This is because the phrase is used primarily as reassurance, either for the audience or other characters. Strictly speaking it can be used with plans that as far as anyone can tell are ''already'' going as planned -- it's just a status update so that we only ever worry when people stop saying it.

At the same time, watch out for the SpannerInTheWorks. They're notorious for popping up [[TemptingFate right when something like this gets said]].

When it's too late for the SpannerInTheWorks to do anything, and the whole plan gets explained, then the trope is CheckAndMate.

'''Since complex schemes are often involved in this trope, be wary of spoilers.'''

----
!!Examples:

[[foldercontrol]]

[[folder:Anime and Manga]]
* Light Yagami of ''Manga/DeathNote'' uses this phrase when his MemoryGambit and BatmanGambit to [[spoiler:convince the police and his own family that he is not in possession of the titular murder weapon, and is not the known serial killer, Kira]] goes perfectly right. Just as Light regains [[spoiler:his memories, after touching the Death Note once more]], he mentally cants, "[[http://www.youtube.com/watch?v=-HQXtqIu_b8 Exactly as planned,]]" a phrase that has reached memetic status.
** The Japanese subtitled version will most likely say "Just as planned," rather than "Exactly as planned".
** Light also thinks a phrase very close to this one [[http://www.mangaeden.com/en-manga/death-note/102/6/ during the final showdown]], after [[spoiler: Near explains his plan to prove that Light is Kira. Of course, things [[OutGambitted don't go according to plan]] for him...]] There aren't any spoilers on the page linked to above, but no promises if you look at any of the other pages in that chapter.
* In ''Anime/NeonGenesisEvangelion'', [[ManipulativeBastard Gendo Ikari]] (along with his right-hand man, Fuyutsuki) and the members of [[OmniscientCouncilOfVagueness SEELE]] were fond of saying things were going "all according to the scenario." Should be noted that they were ultimately pulling for different scenarios, but no matter what, whatever happened was ''always'' according to the scenario or irrelevant to it.Their differing scenarios diverge at the end, so it makes sense. At the point where something went according to Gendo's scenario that was NOT according to SEELE's scenario, [[spoiler: SEELE sent in the JSSDF to kill every single last person at NERV HQ]].
* Lelouch of ''Anime/CodeGeass'' is fond of saying "the preliminary conditions have been met", as well as many variations of that phrase. Unfortunately for him, that line is roughly his version of "What could possibly go wrong" in that the [[SpannerInTheWorks Spanner hits the Works]] about 2 nanoseconds later. ie, Things are going just as planne-Oh no, IT'S THE LANCELOT! *boom*
* ''Manga/{{Bleach}}'' has Sousuke Aizen. When things go not quite as planned, he still has a backup plan. Sometimes he doesn't but being the MagnificentBastard he is he'll make you think he did '''and then''' it goes all according to plan because you gave him time to make it so.
* ''Manga/TsubasaReservoirChronicle'' inverts the trope. With all the ScryVsScry going on the BigBad admits that "It looks like my plan won't go exactly per my prepared script." There are entire chapters with one ChessMaster or another detailing what did or did not go wrong after a major event.
* Zeo from OnePiece both subverts this and takes it to ridiculous extremes, claiming that absolutely ''everything'' goes according to his plans. Even the bad stuff. ''[[ButtMonkey Especially]]'' [[ButtMonkey the bad stuff.]]
** For example, his response to getting knocked down and Brook standing on his head? [[spoiler: He's actually slowly wearing him down by headbutting his foot.]]
* PlayedForLaughs, naturally, in ''Anime/HayateTheCombatButler'', with a combination of BriarPatching and someone failing to see that the situation was NotWhatItLooksLike. The silly part? The character who does the spot-on Light Yagami ShoutOut is [[spoiler: Shiranui, a 12-week old kitten]].
[[/folder]]

[[folder:Fanfiction]]
* ''The Hope of the Senju Clan'' has Sarutobi "The Professor/God of Shinobi" Hiruzen (3rd Hokage) explain at length to Kakashi, Kushina, Yamato, Kurenai and Asuma how Senju Naruto (Tsunade's his mom) is to be trained and by who as well as other incidental things showing that he's got his bases covered with Naruto's training and safety. The next scene has a council meeting where Danzo tries to make a ploy to get Naruto trained under him. The reader can then see and predict how different parts of Sarutobi's plan come in to block Danzo. No matter what tactic Danzo uses. [[CrowningMomentofAwesome It's actually pretty cool.]]
[[/folder]]

[[folder: Comic Books]]
* Lampshaded by Pip the Troll after getting captured by [[TheMightyThor Hela]] in Comicbook/X-Factor #212.
-->'''Hela''': You tell me nothing I do not already know, nor expect. Indeed, all is going--
-->'''Pip''': Accordin' to plan? That's what'cha were gonna say, right? That's what [[TheChessmaster mooks like you]] always say... [[TemptingFate Right before ya get the boom lowered on ya.]]
[[/folder]]

[[folder:Film]]
* TheEmperor from ''Franchise/StarWars'' is quite fond of this.
** Dooku too. In ''Clone Wars'' he even tells Ventress word for word "All is going according to plan"
* Subverted in ''Film/TheDarkKnight''. While the Joker says these (or nearly these) exact words, he's describing how ''other'' people tend to make intricate plans and schemes, while he (nominally) is an agent of chaos.
* This is used as a SequelHook in ''Film/WarriorOfTheLostWorld'', where the defeat of Omega and the [[ActuallyADoombot "death"]] of Prosser were (aparently) all part of the master plan to destroy [[LaResistance The New Way]] for good.
[[/folder]]

[[folder:Literature]]
* ''{{Foundation}}'': Throughout the series, Hari Seldon did this from [[VideoWill beyond the grave]], planning for several millennia worth of events.
** To the point that he was looked upon as a near-godlike being whose periodic, pre-recorded predictions helped govern the galactic civilization. In the midst of a massive war sparked by a mutant called [[SpannerInTheWorks "The Mule"]] it came time for one of his predictions, and governments from all across the stars flocked to hear it. He cheerfully announced that, after the brief turmoils with the trade guilds had so quickly pacified, everything should now be going nicely again and here's how you set up reparations. Cue the most high-population MassOhCrap in possibly any medium, ever.
*** To be fair to Seldon, the chief of the trade guilds says something like "We ''were'' planning a rebellion before all this shit came down."
[[/folder]]

[[folder:Live-Action TV]]
* In the ''Series/{{Dollhouse}}'' episode "Needs," Adelle [=DeWitt=] uses a somewhat different phrase to give the same effect:
-->'''Dominic:''' "I was just informed that we have four actives planning to escape."
-->'''[=DeWitt=]:''' ''(smiles)'' "...Right on schedule."
* In the season six finale of ''Series/StarTrekVoyager'', three senior members of the ''Voyager'''s crew (including Captain Janeway) beam over to a Borg ship. After infiltrating it, they are eventually caught and assimilated. The crew on the ship has been monitoring their life signs, and they detect the assimilation of the three. Commander Chakotay's response?
-->"[[BatmanGambit So far, so good.]]"
* ''Series/BuffyTheVampireSlayer''. The Mayor (the BigBad for Season 3) is more GenreSavvy on this. [[TheDragon Faith]] is eager for some action and asks her boss if there's likely to be any fighting. The Mayor replies no, not if everything goes according to plan "but since when do things go according to plan?"
** Played straight with the heroine in "The Freshman". Buffy is spying on a nest of vampires when she falls through the skylight into their midst.
-->'''Sunday''': I must say, you've really got me now. I mean, it's a diabolical plan, throw yourself at my feet with a broken arm and no weapons of any kind. How'm I going to get out of this one?
-->'''Buffy''': You got a nice set-up here, but you made one mistake.
-->'''Sunday''': Yeah? What was that?
-->'''Buffy''': Well, I'm not actually positive, but statistically speaking people usually make at least-- (Sunday makes Buffy TalkToTheFist)
* On the ''Series/{{Firefly}}'' episode "Jaynestown", the contact Mal meets up with is upset the townspeople have embraced Jayne as a hero. Mal assures the contact that it's all according to their new plan.
-->'''Kaylee:''' (''after the contact leaves'') Sir, how exactly is this part of our-
-->'''Mal:''' Still workin' the details.
[[/folder]]

[[folder:Tabletop Games]]
* This is part of the Tzeentchians' hat in TabletopGame/{{Warhammer 40000}}: Tzeentch is essentially the GodOfEvil plans, gambits and other schemes, worshipped by sorcerers and the ambitious, who sees so far into the future that all his plans are mutually contradictory: the success of one means the failure of another and vice versa. It is customary, when reducing your opponent to incoherent rage and {{SkywardScream}}ing, to [[SmugSmiler smile smugly]] and declare "JustAsPlanned" ([[Anime/NeonGenesisEvangelion Gendo]] [[ScaryShinyGlasses glasses]] and [[ClaspYourHandsIfYouDeceive hands]] optional). [[http://1d4chan.org/wiki/Just_as_planned More information here.]]
** Games Workshop has hinted that the failure of all thirteen Black Crusades, which has given Abaddon the Despoiler a reputation as a GeneralFailure, were actually this trope. How better to gauge your enemy's strength over the millennia? Moreover, the assumption that the Black Crusades failed contradicts the manifest unwillingness of the [[BadBoss Chaos]] [[EldritchAbomination Gods]] to [[YouHaveFailedMe tolerate failure]], and their equally manifest willingness to allow Abbadon to remain [[BigBad Warmaster]] for 10,000 years. [[FridgeHorror This line of thought makes Abbadon even more horrifying]] than he ''prima facie'' is: he has convinced players of the game that he's incompetent, even while giving his unholy patrons exactly what they want. ''That'' is DangerouslyGenreSavvy ObfuscatingStupidity on a cosmic scale.
* This trope is played for laughs in one of the margin-quotes from ''TabletopGame/{{Nobilis}}''.
* In the ''Dune'' board game, when playing the Bene Gesserit faction, at the beginning of the game you secretly write a faction name and a turn number on a paper. If the written faction wins the game on the written turn, you reveal it and win the game instead, showing that everything that happened had in fact be been planned long in advance by the Bene Gesserit to serve their own goals. This is one of the most pleasant way to win the game.
** It is very rare to actually win a ''Dune'' game this way, but it can be used for manipulative ends ("Wait... It seems I can win now, but could it be some Bene Gesserit trick ?")
** The worst thing (or the best, if you're playing BG), is that it works even if the predicted faction wins as part of an alliance, and ''even if the Bene Gesserit are themselves part of that alliance''. In this case, the Bene Gesserit is the only winner instead of winning as part of the alliance. This make many players quite distrustful of the Bene Gesserit as allies.
[[/folder]]

[[folder:Video Games]]
* After he has the negative emotion of [[CoDragons Prometheus and Pandora]] [[EmotionEater sucked into the]] [[ArtifactOfDoom Model Ws]] in the background, awakening them and forming the {{Ouroboros}}, Master Albert from ''VideoGame/MegaManZX Advent'' said:
-->''Just as I planned!''
* Similar to the ''TabletopGame/{{Nobilis}}'' quote above, [[spoiler: [[BigBad Arthas]]]] of ''WorldOfWarcraft'' plans himself right into a grave. Spending half the Wrath of the Lich King expansion [[YouHaveFailedMe killing off sub-bosses]] as if they were mooks, until finally [[spoiler: when the players in their 10 or 25 man group face him, claims it was all according to his plan to train and equip the most powerful people in the world so he can kill them and use them as generals in his army.]] Oops.
* In VisualNovel/{{Tsukihime}}, [[spoiler: Kohaku pretty much says this once it's revealed that she was behind almost the entire plot of the Far Side routes.]]
-->[[spoiler: ''That's right. All of it was something I wished would happen, Shiki-san.'']]
* Ocelot in nearly every Metal Gear Game he appears in.
* The ''VideoGame/HalfLife'' series started with an accident when a sample of an unknown material was rushed through an experiment, which happened to fall on a day when the computers had crashed earlier and where still acting somewhat strange from time to time. Which lead to the scanning machine and the material sample acting as a kind of teleportation device, opening an interdimensional rift through which aliens invaded Earth. [[spoiler:The sample happened to come from another project at the research facility, which used the crystals in interdimensional teleportation devices, and at the same time a human looking alien manipulated things in the background so the protagonist Gordon Freeman would kill the leader of the invading aliens, which benefited another unknown power he was working for. 12 years later, ''VideoGame/HalfLife2: Episode 2'' reveals that it wasn't an accident at all and the strange alien had set everything up to cause the interdimensional rift from the very beginning.]]
* In ''KirbySuperStar'', we have [[spoiler:[[FromNobodyToNightmare Marx.]] ]] In ''Milky Way Wishes,'' the sun and moon are fighting. A little puffball named Marx asks Kirby to summon NOVA to wish for the sun and moon to stop. In the end, when Kirby finally gets to NOVA, [[spoiler:Marx pushes Kirby out of the way, and wishes to control Popstar. Cue him morphing into an EldritchAbomination and saying this:]]
--> [[spoiler:I did it! It all went according to plan! [[TheChessmaster I got the sun and moon to fight. I got you to go into space...]] It was all according to my perfect little plan!]]
[[/folder]]

[[folder:Webcomics]]
* Subverted in the ''ErrantStory'' strip "[[http://www.errantstory.com/ Nick of Time]]":
--> [[spoiler: '''Sarine''':]] '''Whew!''' Oh thank Anilis! I thought I was about to die any second... ...
--> [[spoiler: '''Sarine''':]] -I mean, ''just as planned''.
* Used a lot in ''Webcomic/TouhouNekokayou''. It even got inverted in one of the newer strips.
* ''The Prime of Ambition'' ChristmasEpisode filler had this [[http://jaadrih.comicgenesis.com/d/20101225.html twice in a row]]. Oh, well...
* {{Homestuck}}: John meets the ghost of Meenah, a troll girl [[spoiler: who is an alternate-universe counterpart of the Condesce]]. When she finds out she's dead, she exclaims happily that her plan worked. [[spoiler: Turned out her plan was to kill herself and the rest of her session's players with a bomb to avoid oblivion when the Scratch happened.]]
* Augusgus from ''Webcomic/TowerOfGod'' utters this regarding the outcome of the Room Game and FUG's plans.
[[/folder]]

[[folder:Web Original]]
* Referenced in the Podcast/{{Rifftrax}} commentary for [[ThreeHundred 300]]. ("I know it looks bad but its all part of the plan!" during one of the many scenes when Spartans are slaughtering large numbers of Persians.)
[[/folder]]

[[folder:Western Animation]]
* In ''WesternAnimation/CodenameKidsNextDoor'' that Cree says this when modifying the garbage disposal rocket she was inside to fly towards the KND Moonbase.
* WesternAnimation/BatmanTheAnimatedSeries: '' "The Strange Secret of Bruce Wayne" '', when Bruce Wayne is chained and Alfred is tied in Doctor Hugo Strange's basement:
--> '''Alfred:''' Oh, Master Bruce! I am so sorry. This is [[ItsAllMyFault all my fault]]!
--> '''[[TheChessMaster Bruce Wayne:]]''' Nonsense, Alfred. Believe or not, this is working out just as I planned.
--> '''[[ServileSnarker Alfred:]]''' How reassuring.
* In ''WesternAnimation/TheLegendOfKorra'' "[[Recap/TheLegendOfKorraS1E6AndTheWinnerIs And the Winner Is...]]", when [[TheDragon The Lieutenant]] tells [[BigBad Amon]] that the city is defying his threat.
--> '''The Lieutenant:''' We just got word. The council has defied your threat. They're leaving the pro-bending arena open.
--> '''[[TheChessmaster Amon:]]''' Perfect. Everything is going according to plan.
* ''WesternAnimation/{{WITCH}}'' episode 'Q is for Quarry' begins with a battle which results in defeat for the resident villains;
--> '''Shagon:''' We were soundly defeated. Cadma will be quite proud of herself.
--> '''[[TheChessmaster Nerissa:]]''' Then everything's going according to plan.
[[/folder]]

----