The movie starts out with all of the gods in heaven complaining to the August Jade Emperor about the malicious practical jokes played on them by Dragon Fighter Lohan. The Emperor summons Dragon's sworn-brother, Tiger Fighter Lohan (Ng Man Tat), in order to find his location. Dragon eventually appears and â€œswimsâ€ through the crowd to rebuke the gods for their horrible judgments on mankind. He goes on to tell the gods he can do a better job and, right when the Emperor is about to banish him to a reincarnation of an animal, the Bodhisattva Guan Yin (Anita Mui) stays his hand and, instead, issues Dragon a challenge. If he can change the fates of three peopleâ€”a beggar, a prostitute, and a villainâ€”doomed to nine incarnations as their current position in life within three heavenly days (thirty years), without heavenly powers, he will be upgraded in heavenly status. If he fails, he will be downgraded from an arhat to an animal. The Bodhisattva gives him a magical fan that can only be used three times a day for sleight-of-hand-like magic tricks to help him in his mission. However, heavenly soldiers force him from paradise before he has the fan in hand. When his future-parents visit a Buddhist temple to pray for a child, the religious statue of Dragon Fighter Lohan leaps from a wall containing the major arhats, thus signaling his rebirth on earth. While he grows into manhood (only a few moments in heavenly time), Tiger enlists the aid of a heavenly soldier (Wong Yut Fei) to help him reincarnate on earth so he can bring Dragon the magical fan. However, a mishap causes Tiger to be born to an extremely old woman and the fan to a much younger woman. The heavenly soldier uses his magic breath to cause Dragon to rapidly progress to his proper age, the only problem being it leaves him in the body of a man, but with the brain of a baby. Dragon's earthly parents later adopt the "idiot" and treat him like an infant son. Stephen Chow as â€œDragon Fighter Lohanâ€ (right) and Ng Man Tat as â€œTiger Fighter Lohanâ€ (left).Dragon eventually regains the memories of his former life after being struck by lightning and soon encounters the beggar (Anthony Wong), the prostitute (Maggie Cheung), and the villain (Kirk Wong). Tiger gains his memories back when clouds block the moon (the time when heavenly security is the most relaxed) and gives Dragon his magic fan before being forced to return to heaven. Dragon uses his magic to influence the thoughts and behaviors of each of his targets. For instance, he turns himself into the likeness of the beggar's father and tells him to stop begging. However, that doesn't work so he turns himself into a host of other beings, including a large pink, marshmallow-like ghost who gets beaten up by the townsfolk. He later uses his magic to save the prostitute from being burnt at the stake. And he transforms himself into Shaolin's patriarch, Damo, to combat the aggressive attacks of the villain. However, unbeknownst to Dragon, the villain is a fervent devotee of a soul-stealing demon who was once an acquaintance of the Shakyamuni Buddha. When Dragon reaches the three wish limit of his fan (for that day), the villain murders the beggar and forces the arhat to watch while he brutally rapes the prostitute. A defeated Dragon rushes to the temple that houses the holy golden-skeleton of his body from a former life so he can travel to the underworld to retrieve the beggar's soul. Once there, he confronts the aforementioned demon and trades his golden body for the beggars soul, but the demon keeps both and kicks Dragon back to the land of the living. Dragon takes the beggar's corpse back to the temple and learns all of the local gods are fleeing away from the demon that is coming to earth to find his scepter of power, which was hidden under an iron statue of Guan Yin by the Buddha. When the statue collapses, Dragon waves his magic fan to repair it, only to have it disintegrate into a million pieces (thus symbolizing that all the gods and the Bodhisattva has forsaken him in his time of need). Thinking he had failed to change the fate of the beggar before his death, Dragon immediately seeks out the prostitute and promises to marry her if she gives up the sex trade. She agrees, but when Dragon begins to transform into a tree because of a prohibition against gods marrying mortals, she thinks he is playing a joke on her and gores her face with a hair pin so no one would ever love her. Meanwhile, the villain slaughters all the prostitutes in his brothel and his henchmen so he could acquire the blood of 49 people and call forth the evil demon to earth. Dragon goes to the cathouse to confront the villain and, with the help of Tiger and the heavenly soldier, is able to regain his proper form. He then takes out a pair of brass knuckles to beat the villain, only to find he has been given an invincible body by the demon. The arhat reaches inside of the villain's chest to show him it's because the demon has turned his heart into stone. Feeling betrayed, the villain crushes the stone heart in his hand and wishes to be an animal in his next life.