A few people have already mentioned it, but the only game I can think of is the second Ace Attorney Investigations game. The first one is pretty good and I had a lot of fun with it. The second is only available in Japanese so I've never played it. There's a fan translation, like @ExLight...