maple-v206/scripts/npc/rootaBossOut.py

13 lines
308 B
Python

sm.setSpeakerID(1064002)
sm.sendAskYesNo
dialog = str()
if sm.hasMobsInField():
dialog = "Are you sure you want to leave the battlefield and abandon your party members?"
else:
dialog = "Are you sure you want to leave the battlefield?"
if sm.sendAskYesNo(dialog):
sm.WarpInstanceOut(105200000)