function n03youngmana3_220() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("YoungMana3_220") coroutine.yield(); if(Event:GetEventFlag(240)==1) --ジャイノモーソードを入手した場合 then Event:Print("/vnThanks again! I’ll/rtreasure this forever!/b/co"); else if(Event:GetEventFlag(239)==1) --マニャルのサインを入手した場合 then Event:SetEventFlag(238,1); --238番のフラグがオン --マニャルのサインを頼まれたフラグ Event:Print("/vnThat’s Mary’s autograph!/rIt has its own aura...!/b/cl"); Event:Print("I must repay you!/b/cl"); Event:Print("I’ve got something real/rlong and thick... You’ll/rlove it!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); getspecialitem3(114) --ジャイノモーソードを入手 Event:RestoreDof(); Event:RestoreCamera(); Event:BackupCamera(); Event:BackupDof(); Event:SetEventFlag(240,1); Event:Print("> Got the Giga Sword!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitem3() setnpccamerac("YoungMana3_220") Event:Wait(0.5); coroutine.yield(); Event:Print("Thanks again! I’ll/rtreasure this forever!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); Event:UnlockPlayer(); return; else if(Event:GetEventFlag(238)==1) --マニャルのサインを頼まれた場合 then Event:Print("/vn/clI’ll repay you, I swear!/b/co"); else Event:Print("/vnI sooo want Mary’s/rautograph.../b/cl"); Event:Print("YーYou’re her friend!?/b/cl"); Event:Print("CーCould you get her/rautograph for me then!?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(238,1); --238番のフラグがオン --マニャルのサインを頼まれたフラグ Event:Print("/vn/clWow! What a nice person!/b/cl"); Event:Print("/clCould you have her sign/rthis paper?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:Print("> Got Autograph Paper!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgeteventitem() Event:Print("/clI’ll repay you, I swear!/b/co"); else Event:Print("/clAwww.../b/co"); end end end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; end