Mythologically: 奎木狼 -> Kui Mulang aka Yellow Robe Demon is considered to be one of the 28 Mansions; the Chinese constellations. He appears in Journey to the West and Fengshen Yanyi. He is said to have died in the Battle of the Ten Thousand Immortals only to be deified upon his death. The name Yellow Robe Demon comes from JTTW where he is one of the demons to encounter Tang Sanzang and his disciples as he had become a demon upon leaving heaven to elope with a Jade Maiden.
My version: Upon his defeat in JTTW YRD is sent back to the celestial realm however none of the gods succeeded in convincing him to become a god again. Until the war goddess Jiutian Xuannu comes along. She offers him a chance to live in a fake world where everything is to YRD's liking: he gets to rule a kingdom, he gets to have children, but most of all his dead lover, the jade maiden, is there to live alongside him. Eventually, though the fake jade maiden convinces YRD that she's dead and nothing can bring her back and so YRD leaves the fake world and mourns the loss of his lover properly. Later however YRD befriends Jiutian Xuannu, starts wearing Hawaiian shirts, figures out how to see the future, and discovers disco music only to fall in love with it.














