function n03youngmana5_040() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("YoungMana5_040") if(Event:GetEventFlag(233)==1) --じぶんの名前のきざまれたカンバンを見つけている場合 then Event:Print("Sir Signe: Aha! I see/ryou have found the/rsign with your name./b/cl"); Event:Print("Does it feel good to be/rimmortalised? If you are/rhappy, so am I!/b/co"); else --じぶんの名前のきざまれたカンバンを見つけていない場合 if(Event:GetEventFlag(224)==1) --カンバンマスターを志すことに決めた場合 then if(Event:GetEventFlag(220)==1) --カンバン10個のイベントをクリアしている場合 then --0913 Event:Print("Sir Signe: A sign is out/rthere with your name on/rit! Find it, Sign Master!/b/cl"); Event:Print("Sign Master "..Event:GetPlayerName().."!/rI task you with finding/ryour namesake’s sign!/b/co"); else if(Event:GetEventFlag(219)==1) --カンバン5個のイベントをクリアしている場合 then if(Event:GetEventFlag(145)==10) --カンバンを10個全て見ている場合 then Event:SetEventFlag(220,1); --220番のフラグがオン --カンバン10個のイベントをクリアしたフラグ Event:Print("....../b/cl"); Event:Print("Noble hero.../b/cl"); Event:Print("I see you have viewed all/rof Sir Signe’s signs./b/cl"); Event:Print("Henceforth, you may call/ryourself... The Sign/rMaster!/b/cl"); Event:Print("> You’re a Sign Master!/b/cl"); Event:Print("Allow me to reward you!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); getspecialitem3(55) --MAGICアップを入手 Event:RestoreDof(); --0913 Event:RestoreCamera(); --0913 Event:BackupCamera(); --0913 Event:BackupDof(); --0913 Event:Print("> Got a MAGIC Up!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitem3() setnpccamerac("YoungMana5_040") --0913 Event:Wait(0.5); coroutine.yield(); Event:Print("By the way... Have you/rever wondered about who/rSir Signe really was?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Print("Huahaha.../b/cl"); Event:Print("He’s actually... ME!/rYes, I am THE Sir Signe,/rMaster of Signs!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(2.0); coroutine.yield(); ----0913 Event:Print("Sir Signe: Ahem! Now.../b/cl"); Event:Print("I have placed a sign with/ryour name on it somewhere/rin the world!/b/cl"); Event:Print("Sign Master "..Event:GetPlayerName().."!/rI task you with finding/ryour namesake’s sign!/b/co"); else --カンバンを10個全て見ていない(5~9個)の場合 Event:Print("There are many more of/rSir Signe’s signs just/rwaiting to be seen!/b/cl"); Event:Print("Go forth, my intrepid/rSign Expert!/b/co"); end else --カンバン5個のイベントをクリアしていない場合 if(Event:GetEventFlag(145)>4) --カンバンを5つ以上みている場合 then Event:SetEventFlag(219,1); --219番のフラグがオン --カンバン5個のイベントをクリアしたフラグ Event:Print("I see you have viewed at/rleast five signs!/r/b/cl"); Event:Print("I hereby bestow the rank/rof Sign Expert upon you!/b/cl"); Event:Print("> You’re a Sign Expert!/b/cl"); Event:Print("Take this as a reward!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); getfragmentheart(); Event:Wait(0.5); coroutine.yield(); Event:Print("There are many more of/rSir Signe’s signs just/rwaiting to be seen!/b/cl"); Event:Print("Go forth, my intrepid/rSign Expert!/b/co"); else --カンバンを4つ以下しかみていない場合 Event:Print("Now go forth, my/rintrepid apprentice!/b/co"); end end end else Event:Print("/vnI’m the Sign Master!/b/cl"); Event:Print("You need my help?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:Print("/clSo what’s a Sign Master?/rWell, thanks for asking!/b/cl"); Event:Print("The legendary wanderer,/rSir Signe, left his mark/ron signs the world over./b/cl"); Event:Print("His words are an/rinspiration to/radventurers everywhere!/b/cl"); Event:Print("I have seen them all/rwith my own two eyes./b/cl"); Event:Print("Now people call me the/rSign Master, expert in/rSignology!/b/cl"); while true do Event:Print("Would you like this/rillustrious rank too?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(224,1); --224番のフラグがオン --カンバンマスターを志すことに決めたフラグ Event:Print("/clGreat! Let’s get to it!/b/cl"); Event:Print("All you have to do is/rview the signs left by/rSir Signe. All of them!/b/cl"); Event:Print("When you accomplish this/rgrand task.../b/cl"); Event:Print("You will be granted the/rtitle of Sign Master!/b/cl"); Event:Print("Now go forth, my/rintrepid apprentice!/b/co"); break else Event:Print("/clAh, don’t hide it!/b/cl"); end end else Event:Print("/clAh, sorry to hear that./b/co"); end end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; end