maple-v206/scripts/field/enter_402000526.py

104 lines
5.2 KiB
Python

# id 402000526 (null), field 402000526
sm.setMapTaggedObjectVisible("c1_loop", False, 0, 0)
sm.setMapTaggedObjectVisible("c1_appear", False, 0, 0)
sm.setMapTaggedObjectVisible("c2_loop", False, 0, 0)
sm.setMapTaggedObjectVisible("c2_appear", False, 0, 0)
sm.setMapTaggedObjectVisible("c3_loop", False, 0, 0)
sm.setMapTaggedObjectVisible("c3_appear", False, 0, 0)
if not sm.hasHadQuest(34859):
sm.startQuest(34859)
sm.createQuestWithQRValue(34859, "carn=1")
sm.lockInGameUI(True, False)
sm.removeAdditionalEffect()
sm.spawnNpc(3001300, 1019, 23)
sm.showNpcSpecialActionByTemplateId(3001300, "summon", 0)
sm.flipNpcByTemplateId(3001300, True)
sm.sendDelay(30)
sm.forcedFlip(True)
sm.moveCamera(False, 170, -65, 0)
sm.sendDelay(1000)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendNext("#face4#There are so many students!")
sm.sendDelay(2000)
sm.sendDelay(1500)
sm.speechBalloon(True, 0, 0, "Huh? Who's that?", 4000, 1, 0, 0, 0, 4, 3001317, 4600225)
sm.sendDelay(1000)
sm.speechBalloon(True, 0, 0, "Must be new.", 2500, 1, 0, 0, 0, 4, 3001314, 4600225)
sm.sendDelay(1000)
sm.speechBalloon(True, 0, 0, "A transfer student?", 1500, 1, 0, 0, 0, 4, 3001315, 4600225)
sm.moveCamera(True, 170, 0, 0)
sm.sendNext("#face3#And they're all looking at me...")
sm.setInnerOverrideSpeakerTemplateID(3001300) # Ex
sm.sendSay("#face0#This is a great opportunity to converse with your peers.")
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face3#Uh... I don't really know what to say.")
res = sm.sendAskAccept("#face3#I think I'd rather just keep to myself.")
sm.sendNext("#face3#This is a lot to take in.")
sm.createQuestWithQRValue(34802, "out=1")
sm.blind(True, 255, 0, 0, 0, 500)
sm.sendDelay(500)
sm.blind(False, 0, 0, 0, 0, 500)
sm.lockInGameUI(False, True)
sm.warp(402000522)
elif not sm.hasHadQuest(34802):
sm.lockInGameUI(True, False)
sm.removeAdditionalEffect()
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendNext("#face0#Right! Paying attention!")
sm.setInnerOverrideSpeakerTemplateID(3001302) # Professor Kalsat
sm.sendSay("#face0#Ah, Illium. Agate told me to expect you. Class, Illium will be studying with you from now on.")
sm.sendSay("#face0#There's an empty seat for you here.")
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face4#Thank you!")
sm.createQuestWithQRValue(34802, "class1=1;out=2")
sm.lockInGameUI(False, True)
elif not sm.hasHadQuest(34808):
sm.createQuestWithQRValue(34802, "class1=1;class2=1;class3=1;class4=1;out=2;exp=1")
sm.createQuestWithQRValue(34808, "d2=1")
sm.lockInGameUI(True, False)
sm.removeAdditionalEffect()
sm.blind(True, 255, 0, 0, 0, 0)
sm.zoomCamera(0, 1000, 0, 33, -70)
sm.forcedFlip(True)
sm.sendDelay(500)
sm.blind(False, 0, 0, 0, 0, 1000)
sm.sendDelay(1000)
sm.spawnNpc(3001300, 567, -106)
sm.showNpcSpecialActionByTemplateId(3001300, "summon", 0)
sm.spawnNpc(3001310, 478, -45)
sm.showNpcSpecialActionByTemplateId(3001310, "summon", 0)
sm.spawnNpc(3001311, -432, 22)
sm.showNpcSpecialActionByTemplateId(3001311, "summon", 0)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(3001305) # Professor Lutil
sm.sendNext("#face0#Last time we covered the last battle of the Verdant Flora.")
sm.sendSay("#face0#Would anyone care to give a brief summary?")
sm.setInnerOverrideSpeakerTemplateID(3001311) # Sinaria
sm.sendSay("#face4#The last battle was an ancient civil war between the Verdant Flora and the High Flora, led by Prince Gerand Darmoor, who nearly wiped out the Verdant Flora and banished our god.")
sm.sendSay("#face4#Our god worked hard for the Verdant Flora's survival. He created mechanical wings to replace those that the Verdant had lost in the battle. Today, that fusion of technology and mytocrystals allows us to wield magic despite our banishment.")
sm.setInnerOverrideSpeakerTemplateID(3001305) # Professor Lutil
sm.sendSay("#face0#Well done!")
sm.setInnerOverrideSpeakerTemplateID(3001310) # Morian
sm.sendSay("#face2#I guess I should have studied that a bit more.")
sm.setInnerOverrideSpeakerTemplateID(3001305) # Professor Lutil
sm.sendSay("#face0#The ancient god of the Verdant Flora was the hero of our people. The annual Festival of the Gods is intended to honor him and bring hope to our people.")
sm.sendSay("#face0#The Festival of the Gods will be held at the end of the semester. Crystal Academy will be responsible for organizing a grand presentation of light and magic!")
sm.setInnerOverrideSpeakerTemplateID(3001310) # Morian
sm.sendSay("#face0#Oh, Illium! Want to go with me?")
sm.setInnerOverrideSpeakerTemplateID(3001350) # Illium
sm.sendSay("#face9#Sure!")
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.lockInGameUI(False, True)