# id 940200151 (Hidden Street : Lucid's Realm), field 940200151
sm.lockInGameUI(True, False)
sm.hideUser(True)
sm.removeAdditionalEffect()
sm.blind(True, 255, 0, 0, 0, 0)
sm.zoomCamera(0, 1000, 0, 1200, -120)
sm.spawnNpc(3003272, 1200, 0)
sm.showNpcSpecialActionByTemplateId(3003272, "summon", 0)
sm.sendDelay(1000)
sm.blind(False, 0, 0, 0, 0, 1500)
sm.moveNpcByTemplateId(3003272, False, 50, 160)
sm.sendDelay(1500)
sm.moveNpcByTemplateId(3003272, True, 50, 160)
sm.sendDelay(500)
sm.showFadeTransition(0, 1000, 3000)
sm.zoomCamera(0, 1000, 2147483647, 2147483647, 2147483647)
sm.moveCamera(True, 0, 0, 0)
sm.sendDelay(300)
sm.removeOverlapScreen(1000)
sm.zoomCamera(0, 2000, 0, 1100, 10)
sm.sendDelay(10)
sm.zoomCamera(3000, 2000, 3000, 1200, 10)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(3003272) # Lucid
sm.sendNext("#face5#...This is my dreamscape, my loom... Why, am I here all of a sudden...?")
sm.sendDelay(500)
sm.sendNext("#face5#...I have a bad feeling about this... I need to get out of here, immediately.")
sm.moveNpcByTemplateId(3003272, True, 200, 130)
sm.sendDelay(1000)
sm.zoomCamera(1000, 2000, 1000, 1000, 10)
sm.sendDelay(1000)
sm.setInnerOverrideSpeakerTemplateID(3003284) # Wightmare
sm.sendNext("Master, where are you going? We are the ones that called you here, hehe.")
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 144073228, 0, 0)
sm.sendDelay(500)
sm.moveNpcByTemplateId(3003272, False, 1, 160)
sm.spawnNpc(3003284, 1200, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.zoomCamera(1000, 2000, 1000, 1100, 10)
sm.sendDelay(1000)
sm.setInnerOverrideSpeakerTemplateID(3003272) # Lucid
sm.sendNext("#face2#You are my creations! Begone, I command you!")
sm.setInnerOverrideSpeakerTemplateID(3003284) # Wightmare
sm.sendSay("I don't think that'll work. You're trapped inside your own dream, hehe.")
sm.moveNpcByTemplateId(3003284, True, 75, 160)
sm.sendDelay(1500)
sm.sendNext("You'll be staying here with us forever!")
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 144073228, 0, 0)
sm.moveNpcByTemplateId(3003272, True, 1, 160)
sm.zoomCamera(1000, 2000, 1000, 970, 10)
sm.sendDelay(750)
sm.spawnNpc(3003284, 870, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.sendNext("R-relax. You won't be bored. Not for a second. This wonderful nightmare will never end.")
sm.sendSay("What are you waiting for? Show our master the way!")
sm.spawnNpc(3003284, 780, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1190, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.sendSay("Right, right. Let's go!")
sm.setInnerOverrideSpeakerTemplateID(3003272) # Lucid
sm.sendSay("#face5#No, I can't. Not yet. I will leave this dreamscape.")
sm.spawnNpc(3003284, 720, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1250, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 660, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1310, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 600, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1370, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 540, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1430, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 480, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1490, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 420, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1550, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 360, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.spawnNpc(3003284, 1610, 0)
sm.showNpcSpecialActionByTemplateId(3003284, "summon", 0)
sm.sendSay("#face5#Leave this place! Obey me!")
sm.moveNpcByTemplateId(3003284, True, 10, 160)
sm.moveNpcByTemplateId(3003284, True, 10, 160)
sm.sendDelay(500)
sm.setInnerOverrideSpeakerTemplateID(3003284) # Wightmare
sm.sendNext("Hehe, you're not in control here!")
sm.moveNpcByTemplateId(3003284, False, 10, 160)
sm.moveNpcByTemplateId(3003284, False, 10, 160)
sm.sendDelay(500)
sm.sendNext("You will be trapped in this nightmare forever!")
sm.spawnNpc(3003273, 1000, 0)
sm.showNpcSpecialActionByTemplateId(3003273, "summon", 0)
sm.resetNpcSpecialActionByTemplateId(3003273)
sm.showNpcSpecialActionByTemplateId(3003273, "awake2", -1)
sm.zoomCamera(3000, 1000, 3000, 970, -120)
sm.sendDelay(500)
sm.setInnerOverrideSpeakerTemplateID(3003272) # Lucid
sm.sendNext("#face6#...T-this can't be!")
sm.blind(True, 255, 0, 0, 0, 500)
sm.sendDelay(500)
sm.hideUser(False)
sm.lockInGameUI(False, True)
sm.warp(940200152)
