According to many historical records, 1P/Halley comet was reported to appear in 760 AD. In the same year in Indonesia, the Dinoyo inscription told us the story of the Kanjuruhan kingdom which held a Vedic ceremony to purify a new shrine and statue of Agastya to repel enemy forces (or dispel the epidemic). Many traditions believe that the appearance of a comet is a sign of war, plague/epidemic, death, etc. By applying this understanding to the archaeoastronomical framework, the hypothesis is proposed, that the king’s order which was written on the inscription shows the response to the 1P/Halley comet appearance in 760 AD. There are three ways to examine the hypothesis: by testing the chronological, geographical, and cultural aspects. Through some literature studies and the Stellarium Astronomy Software simulation, the initial research found that the chronological and geographical aspects support the hypothesis.