function n04youngwomana3_230() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); Event:PauseEnemy(); coroutine.yield(); Event:BackupCamera(); --修正0909 Event:BackupDof(); -- if(Event:GetEventFlag(EventFlag.item_orbcount)==2 and Event:GetEventFlag(282)==0) then setcamera() coroutine.yield(); Event:SetEventFlag(282,1); --アリーナ姫の全体イベントを1回みた --フェードアウト Event:FadeOut(); coroutine.yield(); Event:SetNpcDirection("YoungMana3_250",2); coroutine.yield(); Event:SetNpcDirection("OldMana3_240",3); coroutine.yield(); Event:SetNpcDirection("YoungWomana3_230",1); coroutine.yield(); --修正0909 Event:SetStatusVisible(0); Event:SetPlayerPosition(81,34,1);--xzy Event:SetPlayerDirection(0); coroutine.yield(); Event:SetCamera(0.10,21.41,0.00,130.53,5.68,-150.94) Event:SetParamDepthofField(0.87,0.50,0.00); -- Event:Wait(1.0); coroutine.yield(); --フェードイン Event:FadeIn(); coroutine.yield(); Event:Print("/vnBruyo: MーMilady! You/rcan’t travel alone!/b/cl"); Event:Print("I implore you, act like/rthe princess you are.../b/cl"); Event:Print("/vhElena: Enough! I will/rbe entering the martial/rarts tournament!/b/cl"); Event:Print("/vnKristof: Don’t be so/rreckless! You must/rreconsider!/b/cl"); Event:Print("/vhElena: Nothing you two/rsay will change my mind!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); --フェードアウト Event:FadeOut(); coroutine.yield(); --修正0909 Event:SetStatusVisible(1); Event:RestoreDof(); Event:RestoreCamera(); -- Event:Wait(1.0); coroutine.yield(); --フェードイン Event:FadeIn(); coroutine.yield(); elseif(Event:GetEventFlag(EventFlag.item_orbcount)==2 and Event:GetEventFlag(282)==1) then setnpccameraa("YoungWomana3_230") coroutine.yield(); Event:Print("/vhElena: Geez, you two/rare such worrywarts./vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); --修正0909 Event:RestoreDof(); Event:RestoreCamera(); -- elseif(Event:GetEventFlag(EventFlag.item_orbcount)==5 and Event:GetEventFlag(282)==1) then setcamera() coroutine.yield(); Event:SetEventFlag(282,2); --アリーナ姫の全体イベントを2回みた --フェードアウト Event:FadeOut(); coroutine.yield(); Event:SetNpcDirection("YoungMana3_250",2); coroutine.yield(); Event:SetNpcDirection("OldMana3_240",3); coroutine.yield(); Event:SetNpcDirection("YoungWomana3_230",3); coroutine.yield(); --修正0909 Event:SetStatusVisible(0); Event:SetPlayerPosition(81,34,1);--xzy Event:SetPlayerDirection(0); coroutine.yield(); Event:SetCamera(0.10,21.41,0.00,130.53,5.68,-150.94) Event:SetParamDepthofField(0.87,0.50,0.00); Event:Wait(1.0); coroutine.yield(); --フェードイン Event:FadeIn(); coroutine.yield(); Event:Print("/vhElena: Kristof!? Oh no!/b/cl"); Event:Print("/vnKristof: Ugh... Ughhh.../b/cl"); Event:Print("Bruyo: My God! Was it/rthat food he ate!?/b/cl"); Event:Print("/vhElena: We have to find/rmedicine. Stay by his/rside Bruyo! I’m off!/b/cl"); Event:Print("/vnBruyo: You plan to go/ralone!? No, Milady!/b/cl"); Event:Print("/vhElena: This is no time/rto play it safe, Bruyo!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); --フェードアウト Event:FadeOut(); coroutine.yield(); --修正0909 Event:SetStatusVisible(1); Event:RestoreDof(); Event:RestoreCamera(); -- Event:Wait(1.0); coroutine.yield(); --フェードイン Event:FadeIn(); coroutine.yield(); else setnpccameraa("YoungWomana3_230") coroutine.yield(); Event:Print("/vhElena: I have to get a/rgrip on myself... For/rKristof’s sake!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); --修正0909 Event:RestoreDof(); Event:RestoreCamera(); -- end Event:PlayNpc(); Event:PlayEnemy(); Event:UnlockPlayer(); return; end