The Ace Attorney games are visual novel adventure games in which the player control defense attorneys and defend their clients in several different episodes . The gameplay is split into two types of sections : investigations and courtroom trials . During the investigations , the player search the environments , gathering information and evidence , and talks to characters such as their client , witnesses , and the police . Once enough evidence have been collected , the game move on to a courtroom trial section .