# id 34815 (A Divine Festival 3), field 402000529
sm.lockInGameUI(True, False)
sm.removeAdditionalEffect()
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, 1000, 0, 300, -70)
sm.sendDelay(300)
sm.forcedFlip(True)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendNext("#face0#Should I try to make another?")
sm.forcedMove(True, 50)
sm.sendDelay(500)
sm.forcedAction(6, 0)
sm.sendDelay(800)
sm.forcedAction(6, 0)
sm.sendDelay(800)
sm.forcedAction(6, 0)
sm.sendDelay(800)
sm.forcedAction(6, 0)
sm.sendDelay(100)
sm.completeQuestNoCheck(parentID)
sm.sendDelay(100)
sm.createQuestWithQRValue(parentID, "exp=1")
sm.startQuest(11620)
sm.createQuestWithQRValue(15710, "lasttime=19/02/21/16/52")
sm.sendDelay(1000)
sm.sendNext("#face0#How's this look?")
sm.setMapTaggedObjectVisible("crystal", True, 0, 0)
sm.sendDelay(500)
sm.sendDelay(500)
sm.forcedFlip(True)
sm.sendDelay(500)
sm.showEffect("Effect/OnUserEff.img/emotion/whatl", 0, 10, 0, 0, 0, 0, 0)
sm.sendDelay(500)
sm.sendNext("#face0#Oh! What was that?")
sm.zoomCamera(900, 1000, 900, 600, -70)
sm.sendDelay(1000)
sm.sendNext("#face8#That sparkle!")
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 0, 0, 0)
sm.sendDelay(1000)
sm.forcedMove(False, 350)
sm.zoomCamera(1500, 1500, 1500, 800, 0)
sm.sendDelay(2000)
sm.sendNext("#face6#Ex! Look!")
sm.blind(True, 255, 0, 0, 0, 500)
sm.sendDelay(500)
sm.onLayer(1500, "1", 0, -80, 12, "Effect/Direction14.img/illium/tuto/4", 4, True, -1, False)
sm.sendDelay(2000)
sm.sendNext("#face6#What is this light?")
sm.setInnerOverrideSpeakerTemplateID(3001300) # Ex
sm.sendSay("#face0#I am currently measuring approximately 4,000 candelas, a significant amount of light.")
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face6#It's so... calming and beautiful.")
sm.forcedFlip(True)
sm.sendDelay(300)
sm.sendNext("#face2#I wonder if it's warm...")
sm.zoomCamera(1500, 2000, 1500, 900, -80)
sm.offLayer(1500, "1", False)
sm.blind(False, 0, 0, 0, 0, 1500)
sm.sendDelay(2000)
sm.setInnerOverrideSpeakerTemplateID(3001300) # Ex
sm.sendNext("#face0#Sir, I would advise against touching it. We don't know enough.")
sm.forcedMove(False, 10)
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face0#Oh. I feel strange.")
sm.showEffect("Effect/Direction14.img/illium/magic", 0, 10, 0, 0, 0, 0, 0)
sm.playSound("Sound/SoundEff.img/illium/casting", 100)
sm.sendSay("#face7#Ah! Aaah!")
sm.blind(True, 255, 240, 240, 240, 1300)
sm.sendDelay(1600)
sm.setInnerOverrideSpeakerTemplateID(3001301) # Agate
sm.sendNext("#face3#Be careful!")
sm.setMapTaggedObjectVisible("crystal", False, 0, 0)
sm.setMapTaggedObjectVisible("obj", False, 0, 0)
sm.zoomCamera(1500, 2000, 1500, 880, 80)
sm.forcedInput(8)
sm.sendDelay(300)
sm.forcedInput(0)
sm.sendDelay(300)
sm.forcedInput(8)
sm.sendDelay(300)
sm.forcedFlip(True)
sm.forcedInput(4)
sm.spawnNpc(3001301, 700, 30)
sm.showNpcSpecialActionByTemplateId(3001301, "summon", 0)
sm.blind(False, 0, 0, 0, 0, 1000)
sm.sendDelay(2500)
sm.sendNext("#face3#That was a very close call.")
sm.forcedInput(0)
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face4#Headmistress Agate!")
sm.setInnerOverrideSpeakerTemplateID(3001301) # Agate
sm.sendSay("#face3#What happened?")
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face0#Well, I...")
sm.setInnerOverrideSpeakerTemplateID(3001301) # Agate
sm.sendSay("#face3#That was a very poor decision on your part.\r\nYou should never use Academy equipment or crystals without permission.")
sm.showNpcSpecialActionByTemplateId(3001301, "disappear", 0)
sm.sendDelay(750)
sm.spawnNpc(3001309, -750, 30)
sm.showNpcSpecialActionByTemplateId(3001309, "summon", 0)
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendNext("#face3#But--")
sm.setInnerOverrideSpeakerTemplateID(3001300) # Ex
sm.sendSay("#face0#Thankfully, you haven't sustained serious injury.")
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face3#Survive.")
sm.sendSay("#face3#She seemed unnecessarily angry.")
sm.sendSay("#face3#Now, I don't know what to do.")
sm.zoomCamera(2000, 1000, 2000, -300, -70)
sm.sendDelay(4000)
sm.flipNpcByTemplateId(3001309, True)
sm.sendDelay(1500)
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.createQuestWithQRValue(parentID, "d=1;exp=1")
sm.moveCamera(True, 0, 0, 0)
sm.lockInGameUI(False, True)
