Gyakuten Kenji 2,[a] unofficially known as Ace Attorney Investigations 2, is an adventure video game developed by Capcom. It was released in Japan for the Nintendo DS in 2011 and for Android and iOS in 2017; Capcom does not plan to release the game outside Japan, but a full English fan translation was released in 2015. The game is the sixth entry in the Ace Attorney series, and a sequel to Ace Attorney Investigations: Miles Edgeworth (2009).
The game follows prosecutor Miles Edgeworth, detective Dick Gumshoe and the teenage thief Kay Faraday, who investigate five cases; they face off against judge Hakari Mikagami, a rival character who is part of a "prosecutor purge" that removes weaker prosecutors from duty. The gameplay is divided into two types of phases: investigations, where the player searches the crime scene for evidence and talks to witnesses, and rebuttals, where they aim to find contradictions in witnesses' testimonies using the evidence found during the investigations.
The development team, which included director Takeshi Yamazaki, producer Motohide Eshiro and character designer Tatsuro Iwamoto, created the game for the series' tenth anniversary, and finalized its direction during a five-day stay in the Capcom Manor in 2010. The game took shorter than usual to create, as the developers had the original Ace Attorney Investigations to use as a base, leading to an increased focus on the game's story. Reviewers were positive to the game, citing its story and the new "logic chess" gameplay mechanic as highlights. Several Western journalists commented on the lack of a localization and included it on lists of games they wanted to see localized.