maple-v206/scripts/portal/pt_go0240.py

38 lines
1.3 KiB
Python

# id 1 (go0240), field 867200220
sm.createQuestWithQRValue(64014, "scene1=1;scene2=1;mapIdx=0")
sm.lockInGameUI(True, False)
sm.removeAdditionalEffect()
sm.sendDelay(500)
sm.sendDelay(500)
sm.avatarOriented("Effect/OnUserEff.img/emotionBalloon/exclamation3")
sm.forcedMove(False, 400)
sm.sendDelay(3000)
sm.setSpeakerType(3)
sm.setParam(57)
sm.setColor(1)
sm.sendNext("#bWhat is that?")
sm.sendDelay(2000)
sm.playSound("Sound/PL_MONAD.img/EP1/ACT1/ullan", 128)
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400588) # Ullan
sm.sendNext("Ah!")
sm.sendDelay(500)
sm.setParam(57)
sm.sendNext("#bThat can't be good! Whoever that is down there needs saving!")
sm.spawnNpc(9400674, 2240, -180)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400642, 1985, -180)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400642, 2115, -180)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.sendDelay(500)
sm.showNpcSpecialActionByTemplateId(9400674, "regen", 0)
sm.showNpcSpecialActionByTemplateId(9400642, "regen", 0)
sm.showNpcSpecialActionByTemplateId(9400642, "regen", 0)
sm.sendDelay(800)
sm.forcedFlip(True)
sm.showNpcSpecialActionByTemplateId(9400674, "skill1", 0)
sm.playSound("Sound/Mob.img/9402243/skill1", 128)
sm.sendDelay(2500)
sm.lockInGameUI(False, True)