 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 introduces a new rival : <unk> von <unk> is introduced in the second game , <unk> in the third , <unk> Gavin in the fourth , Simon <unk> in the fifth , and <unk> <unk> 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 <unk> , <unk> <unk> and Mike <unk> . 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 . 
