Shinichi takes part in a school field trip to
Kyoto with Ran and friends, thanks to the series of antidotes
Ai Haibara gave Conan. On the
Kiyomizu-dera, Shinichi meets Keiko, an actress and old friend of his mother, who stays in the same hotel as Shinichi and his class, with some university friends with which she shot a movie revolving around a
tengu and other monsters. She asks Shinichi to help her to decipher a mysterious code written and sent by their late friend Michio Dekuri, who committed suicide some time ago. A few days before a murder spree in Kyoto, one of the previous members of the filming team who had written the first version of the story killed himself by throwing himself from the top of the
Kiyomizu-dera shrine after he thought he was forgotten by the others since they did not put his name in the credits or so what he thought. On the last day of the pre-open of the movie, Mineto Mayama receives a phone call from an unknown person telling him to go to the
Kiyomizu Butai. Heading there, he sees a mysterious and invisible silhouette approaching him with bloody footprints before grabbing him and throwing him over the railing saying that he is Michio Dekuri reincarnated as a tengu after falling and that he'll seek revenge. He luckily survives without any injuries as Shinichi,
Heiji,
Yusaku, and
Masumi already planned the culprit's doings and prepared a mattress under the shrine. Shinichi and Heiji then confront the culprit. Shinichi, Heiji and Masumi reveal the culprit to be Riki Agata. Dekuri's symbol was actually to be considered as a compass, and according to it, and to the code's kanji characters' position, and to the fact that these characters were extracted from some of Kyoto's streets' and districts' names corresponding to the position, the code can be understood as a succession of kanji characters who correspond to the first or second syllables of the streets' or districts' names they originate, from left to right, revealing messages of murderous intent. Agata tries to run away but gets surrounded by the police who were disguised as visitors. Agata finally confesses to being the serial killer, giving two bumps to his victims, resembling a tengu. Agata asked them for an explanation, saying Dekuri cried unceasingly, and the three men replied they were so happy their plan had worked perfectly, thus implying they wanted to humiliate their depressed friend and never had the intention to put his name in the movie. But Keiko and Mayama turn up and say that the producers had modified some very important typology spaces in the credits, preventing the name "Michio Dekuri" from appearing. As actually the name was supposed to appear across the five people's vertical names, which is why everyone changed names and spaces. Dekuri's name was supposed to appear at the same time, and it did not because of the producers, who did not want to clear up the mistake afterwards for financial reasons. Agata was not told about it as their friends wanted Dekuri and him to discover the surprise while watching the movie together, as they were really close friends. After the case is solved,
Ran talks about a nice place that
Soshi Okita had told her about and as
Sonoko and Masumi start going ahead, Shinichi holds Ran back and asks her how she feels about him. Shinichi mentions Ran's meeting with Okita the previous and wonders if she has forgotten about his confession in London. In response, Ran pulls him closer by grabbing his tie and kisses him on the cheek. Shinichi moves to kiss Ran on the lips, but the antidote begins to wear off, and he flees. Heiji gives Conan a motorbike ride back to Tokyo, and Ran texts Shinichi to ask him if they are officially dating each other now. Shinichi sends Ran a mail and saying, "Of course we are dating." == Production and release ==