Rajinikanth continued to act in Bollywood, often playing supporting roles in films such as "Hum", "Khoon Ka Karz", and "Phool Bane Angaray" (all in 1991). Mani Ratnam's Tamil film "Thalapathi" (1991), based on the Indian epic "Mahabharata", earned him critical acclaim. Suresh Krissna's "Annamalai" (1992), P. Vasu's "Mannan" (1992) and "Uzhaippali" (1993) are among his box-office successes in Tamil. He made his debut as a screenwriter with "Valli" (1993), a commercial failure. The Suresh Krissna-directed "Baashha", in which he played a crime boss, was a major commercial success in his career and earned him a "demigod" status in Tamil Nadu. Later that year he acted in K. S. Ravikumar's "Muthu", which was dubbed into Japanese. In Japan, the film grossed a record US$1.6 million in 1998 and was largely instrumental in creating a fan-base for Rajinikanth in the country. "Padayappa" (1999), his second collaboration with Ravikumar, went on to become the highest-grossing Tamil film to that point. In 2002 Rajinikanth produced, wrote and starred in the fantasy thriller "Baba", which fell short of market expectations and incurred heavy losses for its distributors. After a three-year sabbatical, he returned to acting with the comedy horror film "Chandramukhi" (2005); it went on to become the highest-grossing Tamil film to that point, and its theatrical run lasted 126 weeks at a theatre in Chennai. Rajinikanth was paid 260 million for his role in S. Shankar's "Sivaji" (2007), which made him the second-highest paid actor in Asia after Jackie Chan. He played dual roles, as a scientist and an andro-humanoid robot, in the science fiction film "Enthiran" (2010). It was India's most expensive production at the time of its release, and is among the highest-grossing Indian films of all time. He played triple roles in the 2014 animated film "Kochadaiiyaan", the first in India to be shot with motion capture technology; it was a commercial failure. Two years later, Rajinikanth played a Malaysian Tamil crime boss in Pa. Ranjith's "Kabali", which had the biggest weekend opening for an Indian film.