maple-v206/scripts/quest/q34326s.py

96 lines
4.0 KiB
Python

# id 34326 ([Lachelein] Fallen), field 450003100
sm.lockInGameUI(True, False)
sm.spawnNpc(3003252, -463, -110)
sm.showNpcSpecialActionByTemplateId(3003252, "summon", 0)
sm.spawnNpc(3003254, -67, -174)
sm.showNpcSpecialActionByTemplateId(3003254, "summon", 0)
sm.spawnNpc(3003256, 22, -27)
sm.showNpcSpecialActionByTemplateId(3003256, "summon", 0)
sm.spawnNpc(3003255, 57, -169)
sm.showNpcSpecialActionByTemplateId(3003255, "summon", 0)
sm.spawnNpc(3003251, -374, -24)
sm.showNpcSpecialActionByTemplateId(3003251, "summon", 0)
sm.startQuest(parentID)
sm.showNpcSpecialActionByTemplateId(3003251, "sit", -1)
sm.showFadeTransition(0, 1500, 3000)
sm.zoomCamera(0, 2000, 0, -219, -25)
sm.sendDelay(300)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(3003252) # Gray Mask
sm.sendNext("Protective Mask, are you all right?")
sm.setInnerOverrideSpeakerTemplateID(3003251) # Protective Mask
sm.sendSay("#face0#As the dream's hold weakens, so do I. What could this mean...?")
sm.sendDelay(500)
sm.changeBGM("SoundEff.img/ArcaneRiver/thrill", 0, 0)
sm.bgmVolume(100, 100)
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 134930943, 0, 0)
sm.sendNext("#face0#...! Did you feel that? ")
sm.sendSay("#face0#Lachelein is rapidly expanding!")
sm.setInnerOverrideSpeakerTemplateID(3003252) # Gray Mask
sm.sendSay("Does that mean her ultimate goal is...!?")
sm.setInnerOverrideSpeakerTemplateID(3003251) # Protective Mask
sm.sendSay("#face0#She's not satisfied with just the Arcane River... She's trying to envelop \r\nthe entire world in her dream!")
sm.showEffect("Map/Effect3.img/Lacheln/pung3", 0, -461, -50, 0, 0, 1, 0)
sm.showNpcSpecialActionByTemplateId(3003252, "special", -1)
sm.sendDelay(1000)
sm.playExclSoundWithDownBGM("Skill.img/1201005/Use", 100)
sm.showEffect("Map/Effect3.img/Lacheln/pung3", 0, 24, -50, 0, 0, 1, 0)
sm.showNpcSpecialActionByTemplateId(3003254, "special", -1)
sm.sendDelay(1000)
sm.playExclSoundWithDownBGM("Skill.img/1201005/Use", 100)
sm.showEffect("Map/Effect3.img/Lacheln/pung3", 0, -64, -187, 0, 0, 1, 0)
sm.showNpcSpecialActionByTemplateId(3003256, "special", -1)
sm.sendDelay(1000)
sm.playExclSoundWithDownBGM("Skill.img/1201005/Use", 100)
sm.showEffect("Map/Effect3.img/Lacheln/pung3", 0, 57, -187, 0, 0, 1, 0)
sm.showNpcSpecialActionByTemplateId(3003255, "special", -1)
sm.sendDelay(1000)
sm.playExclSoundWithDownBGM("Skill.img/1201005/Use", 100)
sm.bgmVolume(100, 100)
sm.setParam(57)
sm.sendNext("W-what?!")
sm.sendSay("They turned into Dreamkeepers?!")
sm.sendDelay(2000)
sm.moveNpcByTemplateId(3003252, False, 120, 100)
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(3003257) # Dreamkeeper
sm.sendNext("Hope and despair... The best of friends... ")
sm.moveNpcByTemplateId(3003254, True, 30, 100)
sm.sendSay("As one grows stronger... So too does the other.")
sm.moveNpcByTemplateId(3003256, True, 80, 100)
sm.sendSay("Struggle all you like... You cannot escape.")
sm.moveNpcByTemplateId(3003255, True, 50, 100)
sm.sendSay("This is one dream from which... you will never awaken.")
sm.setInnerOverrideSpeakerTemplateID(3003251) # Protective Mask
sm.sendSay("#face0##h0#, look out!")
sm.blind(True, 255, 0, 0, 0, 300)
sm.setInnerOverrideSpeakerTemplateID(3003257) # Dreamkeeper
sm.sendSay("Your fate... Is already sealed.")
sm.setParam(57)
sm.sendSay("S-stay back! W-what? Ahh!")
sm.sendDelay(1500)
sm.blind(True, 255, 0, 0, 0, 500)
sm.sendDelay(500)
sm.onLayer(2000, "0", 0, -80, 1, "Map/Effect3.img/Lacheln/4", 4, True, -1, False)
sm.sendDelay(2500)
sm.offLayer(1500, "0", False)
sm.bgmVolume(0, 200)
sm.sendDelay(1500)
sm.setParam(37)
sm.sendNext("Forget them.")
sm.sendSay("The Arcane River will take care of them.")
sm.sendSay("Transform into Erdas and flow onward... Your energy will feed the Dark One...")
sm.sendSay("That is a meaningful end... ")
sm.sendDelay(1500)
sm.setInnerOverrideSpeakerTemplateID(3003250) # Lucid
sm.sendNext("#face5#Hehehe. Bye bye.")
sm.sendDelay(1500)
sm.sendNext("#face2#Wait.")
sm.sendSay("#face2#Was that person...? ")
sm.sendSay("#face2#It can't be...")
sm.sendDelay(1000)
sm.lockInGameUI(False, True)
sm.warp(450003760)