# id 867201502 (Abrup Basin : Spring Wind Hollow), field 867201502
sm.createQuestWithQRValue(64076, "chk1=1")
sm.lockInGameUI(True, False)
sm.forcedAction(4, 10000)
sm.spawnNpc(9400580, 950, 440)
sm.showNpcSpecialActionByTemplateId(9400580, "summon", 0)
sm.startQuest(64162)
sm.spawnNpc(9400689, 877, 440)
sm.showNpcSpecialActionByTemplateId(9400689, "summon", 0)
sm.spawnNpc(9400641, 600, 440)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.spawnNpc(9400672, 550, 100)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.spawnNpc(9400642, 500, 440)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400674, 0, 450)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400641, 1150, 440)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.spawnNpc(9400672, 1200, 440)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.spawnNpc(9400642, 1250, 440)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400674, 1300, 440)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400641, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400672, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400642, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400674, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400641, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400672, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400642, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400674, "attack1", -1)
sm.sendDelay(300)
sm.forcedFlip(True)
sm.forcedAction(5, 0)
sm.sendDelay(2000)
sm.flipNpcByTemplateId(9400580, True)
sm.forcedAction(5, 0)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400580, False)
sm.sendDelay(500)
sm.showNpcSpecialActionByTemplateId(9400580, "attack1", 0)
sm.sendDelay(2000)
sm.forcedAction(5, 0)
sm.flipNpcByTemplateId(9400580, True)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400580, False)
sm.sendDelay(500)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400580) # Alika
sm.sendNext("#face4#Ah! I can't take this anymore! ")
sm.flipNpcByTemplateId(9400580, True)
sm.forcedAction(5, 0)
sm.sendDelay(500)
sm.showNpcSpecialActionByTemplateId(9400580, "special2", 0)
sm.sendDelay(1500)
sm.showNpcSpecialActionByTemplateId(9400689, "special1", -1)
sm.sendDelay(2000)
sm.resetNpcSpecialActionByTemplateId(9400641)
sm.resetNpcSpecialActionByTemplateId(9400672)
sm.resetNpcSpecialActionByTemplateId(9400642)
sm.resetNpcSpecialActionByTemplateId(9400674)
sm.resetNpcSpecialActionByTemplateId(9400641)
sm.resetNpcSpecialActionByTemplateId(9400672)
sm.resetNpcSpecialActionByTemplateId(9400642)
sm.resetNpcSpecialActionByTemplateId(9400674)
sm.sendDelay(500)
sm.forcedFlip(True)
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 0, 0, 0)
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 33717611, 0, 0)
sm.sendDelay(1500)
sm.setParam(57)
sm.sendNext("#bWhat's going on? ")
sm.setParam(37)
sm.sendSay("#face0#Perhaps... ")
sm.startQuest(64077)
sm.startQuest(64162)
sm.moveNpcByTemplateId(9400580, True, 10, 20)
sm.forcedMove(False, 50)
sm.sendDelay(2000)
sm.sendNext("#face0#This was controlling the monsters? ")
sm.resetNpcSpecialActionByTemplateId(9400689)
sm.showNpcSpecialActionByTemplateId(9400689, "special2", -1)
sm.sendSay("#face4#Maybe when I tried to touch it, it saw that as a threat. ")
sm.setParam(57)
sm.sendSay("#bWell, that was a significant response. There's a lot we don't know about this forest, Alika, so we need to be more careful. ")
sm.setParam(37)
sm.sendSay("#face0#I will. I promise I will, I'm sorry, #h0#. ")
sm.sendSay("#face4#On that note, I've really never seen anything like this, in the field or in my books. What kind of creature controls others? ")
sm.sendSay("#face4#Could this be the cause of the monster mutations? And is it native to Abrup? Wait, we don't have time for this now. ")
sm.sendSay("#face0#I need to bring it back to Afinas headquarters for study. #h0#, can you help? ")
sm.moveNpcByTemplateId(9400580, True, 10, 20)
sm.sendDelay(1000)
sm.showNpcSpecialActionByTemplateId(9400580, "special1", -1)
sm.resetNpcSpecialActionByTemplateId(9400689)
sm.showNpcSpecialActionByTemplateId(9400689, "special3", -1)
sm.sendDelay(4000)
sm.blind(True, 255, 240, 240, 240, 1300)
sm.sendDelay(1600)
sm.lockInGameUI(False, True)
sm.warp(867201503)
