Phoenix 's childhood friend Miles Edgeworth , who is the protagonist of the Ace Attorney Investigations games , is a recurring rival prosecutor character ; in addition to him , each new game in the series introduce a new rival : Franziska von Karma is introduced in the second game , Godot in the third , Klavier Gavin in the fourth , Simon Blackquill in the fifth , and Nahyuta Sahdmadhi in the sixth . The prosecutor characters are portrayed as powerful and arrogant characters of high social status , who favor convictions over finding the truth , and who care about keeping perfect @-@ win records in court . Similarly to real Japanese prosecutors , the prosecutors in the series often directly oversee investigations , issuing orders to the police . Japanese attitudes towards the police force are reflected in the series , with the police being represented by incompetent characters such as Dick Gumshoe , Maggey Byrde and Mike Meekins . In the world of Ace Attorney , trials only last three days , and usually end with a " guilty " verdict . The outcomes of cases are decided by a judge , based on evidence provided by the defense attorney and the prosecutor .