maple-v206/scripts/field/enter_867201760.py

36 lines
1.1 KiB
Python

# id 867201760 (Abrup Basin : Windsleep Forest Trap), field 867201760
sm.completeQuestNoCheck(64083)
sm.showNpcSpecialActionByTemplateId(9400615, "summon", 0)
sm.lockInGameUI(True, False)
sm.forcedFlip(True)
sm.spawnNpc(9400580, 1280, 440)
sm.showNpcSpecialActionByTemplateId(9400580, "summon", 0)
sm.moveNpcByTemplateId(9400580, False, 290, 100)
sm.sendDelay(2500)
sm.forcedMove(False, 100)
sm.showNpcSpecialActionByTemplateId(9400615, "broken", -1)
sm.sendDelay(500)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400580) # Alika
sm.sendNext("#face5#Agh! ")
sm.sendDelay(1000)
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 0, 0, 0)
sm.forcedMove(False, 200)
sm.setParam(57)
sm.sendNext("#bAlika? ")
sm.setParam(37)
sm.sendSay("#face5#Ahhh... ")
sm.sendSay("#face5#Ah! What in the world? I'm... I'm okay. ")
sm.setParam(57)
sm.sendSay("#bCan you climb up? ")
sm.sendDelay(2000)
sm.setParam(37)
sm.sendNext("#face5#Hmm... no... ")
sm.setParam(57)
sm.sendSay("#bWait up, let me find something to use as a rope! ")
sm.startQuest(64084)
sm.createQuestWithQRValue(64084, "")
sm.lockInGameUI(False, True)