# id 64088 ([MONAD: The First Omen] Monster Horde), field 867201821
sm.lockInGameUI(True, False)
sm.spawnNpc(9400676, 200, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400642, 120, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400642, 50, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400676, -30, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400642, -100, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400642, -180, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400676, -280, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400675, -350, 400)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.spawnNpc(9400674, -430, 400)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400641, -500, 400)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.spawnNpc(9400675, -560, 400)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.spawnNpc(9400641, -620, 400)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.spawnNpc(9400667, -800, 400)
sm.showNpcSpecialActionByTemplateId(9400667, "summon", 0)
sm.spawnNpc(9400672, -850, 400)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.spawnNpc(9400674, -910, 400)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400675, -970, 400)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.spawnNpc(9400666, -1050, 400)
sm.showNpcSpecialActionByTemplateId(9400666, "summon", 0)
sm.spawnNpc(9400674, -1120, 400)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400676, -1200, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400672, -1250, 400)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.spawnNpc(9400668, -1400, 400)
sm.showNpcSpecialActionByTemplateId(9400668, "summon", 0)
sm.spawnNpc(9400676, -1500, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400642, -1630, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400642, -1750, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400676, -1810, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400642, -1900, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.forcedFlip(True)
sm.playSound("Sound/Mob.img/9402245/Attack2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack1", 100)
sm.setSpeakerType(3)
sm.setParam(57)
sm.setColor(1)
sm.sendNext("#bAlika! They're heading to Svarti! ")
sm.sendDelay(500)
sm.showEffect("Effect/OnUserEff.img/emotionBalloon/exclamation", 1000, 0, 0, 0, 33954511, 0, 0)
sm.sendDelay(2000)
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400580) # Alika
sm.sendNext("#face5#No! We've got to do something... Everyone is recovering, they're not ready for another fight! ")
sm.sendSay("#face5#What should we do?! ")
sm.setParam(57)
sm.sendSay("#bThere are way too many for us to fight. Even if we return to Svarti right now and fight together... ")
sm.setParam(37)
sm.sendSay("#face4#We need to stop them... keep them from getting to Svarti somehow. ")
sm.setParam(57)
sm.sendSay("#bBut what could we do to stop... ")
sm.flipNpcByTemplateId(9400580, False)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400580, True)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400580, False)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400580, True)
sm.forcedFlip(True)
sm.sendDelay(500)
sm.sendDelay(2000)
sm.setParam(37)
sm.sendNext("#face4#...! ")
sm.setParam(57)
sm.sendSay("#b...! ")
sm.setParam(37)
sm.sendSay("#face4#If we destroy these... ")
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 0, 0, 0)
sm.setParam(57)
sm.sendSay("#b...They can't get past! ")
sm.sendDelay(1000)
sm.forcedFlip(True)
sm.forcedMove(True, 95)
sm.sendDelay(2000)
sm.forcedInput(5)
sm.sendDelay(900)
sm.forcedMove(True, 30)
sm.sendDelay(1000)
sm.forcedAction(5, 0)
sm.sendDelay(500)
sm.forcedAction(5, 0)
sm.sendDelay(500)
sm.showNpcSpecialActionByTemplateId(9400682, "die1", 0)
sm.sendDelay(1000)
sm.moveNpcByTemplateId(9400676, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.moveNpcByTemplateId(9400676, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.moveNpcByTemplateId(9400676, False, 100, 50)
sm.moveNpcByTemplateId(9400675, False, 100, 50)
sm.moveNpcByTemplateId(9400674, False, 100, 50)
sm.moveNpcByTemplateId(9400641, False, 100, 50)
sm.moveNpcByTemplateId(9400675, False, 100, 50)
sm.moveNpcByTemplateId(9400641, False, 100, 50)
sm.moveNpcByTemplateId(9400667, False, 100, 50)
sm.moveNpcByTemplateId(9400672, False, 100, 50)
sm.moveNpcByTemplateId(9400674, False, 100, 50)
sm.moveNpcByTemplateId(9400675, False, 100, 50)
sm.moveNpcByTemplateId(9400666, False, 100, 50)
sm.moveNpcByTemplateId(9400674, False, 100, 50)
sm.moveNpcByTemplateId(9400676, False, 100, 50)
sm.moveNpcByTemplateId(9400672, False, 100, 50)
sm.moveNpcByTemplateId(9400668, False, 100, 50)
sm.moveNpcByTemplateId(9400676, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.moveNpcByTemplateId(9400676, False, 100, 50)
sm.moveNpcByTemplateId(9400642, False, 100, 50)
sm.sendDelay(300)
sm.playSound("Sound/Mob.img/9402246/skill1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402241/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402250/Attack5", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402245/Attack2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402252/Attack2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402246/skill1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack1", 100)
sm.sendDelay(2000)
sm.setParam(37)
sm.sendNext("#face0#That's it! ")
sm.setParam(57)
sm.sendSay("#bOkay, so the other ones too... ")
sm.forcedFlip(True)
sm.sendDelay(1000)
sm.showEffect("Effect/OnUserEff.img/emotionBalloon/exclamation", 1000, 0, 0, 0, 9400580, 0, 0)
sm.sendDelay(600)
sm.spawnNpc(9400676, -650, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400642, -580, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400642, -510, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400676, -440, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400642, -370, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400642, -300, 400)
sm.showNpcSpecialActionByTemplateId(9400642, "summon", 0)
sm.spawnNpc(9400676, -230, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400675, -150, 400)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.spawnNpc(9400674, -50, 400)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400641, -750, 400)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.spawnNpc(9400675, -820, 400)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.spawnNpc(9400641, -890, 400)
sm.showNpcSpecialActionByTemplateId(9400641, "summon", 0)
sm.spawnNpc(9400667, -950, 400)
sm.showNpcSpecialActionByTemplateId(9400667, "summon", 0)
sm.spawnNpc(9400672, -1020, 400)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.spawnNpc(9400674, -1080, 400)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400675, -1130, 400)
sm.showNpcSpecialActionByTemplateId(9400675, "summon", 0)
sm.spawnNpc(9400666, -1200, 400)
sm.showNpcSpecialActionByTemplateId(9400666, "summon", 0)
sm.spawnNpc(9400674, -1280, 400)
sm.showNpcSpecialActionByTemplateId(9400674, "summon", 0)
sm.spawnNpc(9400676, -1350, 400)
sm.showNpcSpecialActionByTemplateId(9400676, "summon", 0)
sm.spawnNpc(9400672, -1400, 400)
sm.showNpcSpecialActionByTemplateId(9400672, "summon", 0)
sm.spawnNpc(9400668, -1480, 400)
sm.showNpcSpecialActionByTemplateId(9400668, "summon", 0)
sm.sendDelay(500)
sm.sendDelay(1000)
sm.showNpcSpecialActionByTemplateId(9400676, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400641, "attack1", -1)
sm.playSound("Sound/Mob.img/9402246/skill1", 100)
sm.playSound("Sound/Mob.img/9402241/Attack1", 100)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400676, True, 20, 50)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400676, True, 20, 50)
sm.moveNpcByTemplateId(9400675, True, 20, 50)
sm.moveNpcByTemplateId(9400674, True, 20, 50)
sm.moveNpcByTemplateId(9400675, False, 20, 50)
sm.moveNpcByTemplateId(9400641, False, 20, 50)
sm.moveNpcByTemplateId(9400667, False, 20, 50)
sm.moveNpcByTemplateId(9400672, False, 20, 50)
sm.moveNpcByTemplateId(9400674, False, 20, 50)
sm.moveNpcByTemplateId(9400675, False, 20, 50)
sm.moveNpcByTemplateId(9400666, False, 20, 50)
sm.moveNpcByTemplateId(9400674, False, 20, 50)
sm.moveNpcByTemplateId(9400676, False, 20, 50)
sm.moveNpcByTemplateId(9400672, False, 20, 50)
sm.moveNpcByTemplateId(9400668, False, 20, 50)
sm.playSound("Sound/Mob.img/9402250/Attack5", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack2", 100)
sm.playSound("Sound/Mob.img/9402245/Attack2", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402252/Attack2", 100)
sm.playSound("Sound/Mob.img/9402246/skill1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack1", 100)
sm.showNpcSpecialActionByTemplateId(9400642, "attack1", -1)
sm.showNpcSpecialActionByTemplateId(9400675, "attack1", -1)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400676, True, 20, 50)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400642, True, 20, 50)
sm.moveNpcByTemplateId(9400676, True, 20, 50)
sm.moveNpcByTemplateId(9400675, True, 20, 50)
sm.moveNpcByTemplateId(9400674, True, 20, 50)
sm.moveNpcByTemplateId(9400641, False, 20, 50)
sm.moveNpcByTemplateId(9400667, False, 20, 50)
sm.moveNpcByTemplateId(9400672, False, 20, 50)
sm.moveNpcByTemplateId(9400674, False, 20, 50)
sm.moveNpcByTemplateId(9400675, False, 20, 50)
sm.moveNpcByTemplateId(9400666, False, 20, 50)
sm.moveNpcByTemplateId(9400674, False, 20, 50)
sm.moveNpcByTemplateId(9400676, False, 20, 50)
sm.moveNpcByTemplateId(9400672, False, 20, 50)
sm.moveNpcByTemplateId(9400668, False, 20, 50)
sm.sendDelay(1500)
sm.playSound("Sound/Mob.img/9402250/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack3", 100)
sm.playSound("Sound/Mob.img/9402245/Attack1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402252/Attack1", 100)
sm.playSound("Sound/Mob.img/9402246/skill1", 100)
sm.sendDelay(500)
sm.playSound("Sound/Mob.img/9402247/Attack2", 100)
sm.setParam(37)
sm.sendNext("#face4#Why is it different from last time...? ")
sm.setParam(57)
sm.sendSay("#bAre they following us? ")
sm.setParam(37)
sm.sendSay("#face1#Good! Let them chase us instead of closing in on the town! ")
sm.sendDelay(2000)
sm.setParam(57)
sm.sendNext("#b...Very true! Okay, we'll lure them away. ")
sm.sendDelay(2000)
sm.completeQuestNoCheck(parentID)
sm.startQuest(64089)
sm.lockInGameUI(False, True)
sm.warp(867201900)
