Jim Carrey reprises his role as the title character Ace Ventura , a detective who specializes in cases involving animals .
In Ace Ventura : When Nature Calls Jim Carrey plays the role of the main character .