The Riddler switches teams in Detective 822 (Oct. 06), by Paul Dini, Don Kramer and Wayne Faucher.
Bruce Wayne gets implicated in a murder investigation, and the Riddler is on the scene as well, hired by the secretary of the victim. He is playing to cameras, but sincerely seems to be doing his best to solve the case. He has shed his old persona (although not the outfit), and decided to use his wondrous brain for the common good. And for fame and fortune, the legitimate way.
The police are embarrassed. Bruce Wayne was never a serious suspect, they just needed information about a photograph he appeared in – which turned out to be of a double.
Batman allows the Riddler to join him as he works on the case. He does not seem to either really trust or distrust Nigma, but keeping him close seems to be the wisest bet.
Nigma makes big press solving the case, but Batman sees that he has merely found the solution the actual murderer intended him to find. Batman confronts the secretary, and explains her intricate murder plot.
But the Riddler still gains fame, and respectability, even though his solution was wrong. Edward Nigma continues to be a supporting player in Dini’s run.