function n03youngmanc1_220() local Event=EventClass.Event; if(Event:GetItem(94)==1)--勇者の盾を持っている then Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() Event:Print("Perhaps I should keep/rlooking around./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end Event:LockPlayer(); coroutine.yield(); Event:FadeOut() coroutine.yield(); Event:SetStatusVisible(0); Event:SetPlayerPosition(39,30,1) coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); Event:SetCamera(0.10,25.32,55.56,68.89,5.33,-49.52); Event:SetParamDepthofField(0.81,0.72,0.0); Event:SetPlayerDirection(0); Event:SetNpcDirection("YoungManc1_220",1); coroutine.yield(); Event:FadeIn() coroutine.yield(); Event:Print("/vnAh, I was starting to/rthink no one would ever/rshow up to help me!/b/cl"); Event:Print("I was searching for/rtreasure when I got/rlocked in here./b/cl"); Event:Print("All I found was this old/rshield. How aggravating./b/cl"); if(Event:GetItem(93)==1)--雷神の盾を持っている then Event:Print("Say, you’ve got a nice/rshield. Wanna trade?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:Print("/clYou sure? Awesome!/rThanks!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield() getspecialitemShield(94); --ゆうしゃのたてを入手 Event:RestoreCamera(); Event:RestoreDof(); Event:BackupCamera(); Event:BackupDof(); Event:Print("> Got the Hero Shield!/b/cl"); Event:Print("This is the shield used/rby the legendary hero to/rdefeat the Dark King!/b/cl"); Event:Print("You won’t need anything/relse to defeat him!/r*Not a true statement./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitemShield(94); coroutine.yield(); Event:SetCamera(0.10,25.32,55.56,68.89,5.33,-49.52); Event:SetParamDepthofField(0.81,0.72,0.0); Event:Print("Perhaps I should keep/rlooking around./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:FadeOut() coroutine.yield(); Event:SetPlayerDirection(0); Event:RestoreCamera(); Event:RestoreDof(); Event:SetStatusVisible(1); coroutine.yield(); Event:Wait(1.0); coroutine.yield(); Event:UnlockPlayer(); coroutine.yield(); Event:FadeIn() coroutine.yield(); return; else Event:Print("/clAw nuts./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:FadeOut() coroutine.yield(); Event:SetPlayerDirection(0); Event:RestoreCamera(); Event:RestoreDof(); Event:SetStatusVisible(1); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:UnlockPlayer(); coroutine.yield(); Event:FadeIn() coroutine.yield(); return; end else Event:Print("Perhaps I should keep/rlooking around./b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:FadeOut() coroutine.yield(); Event:SetPlayerDirection(0); Event:RestoreCamera(); Event:RestoreDof(); Event:SetStatusVisible(1); coroutine.yield(); Event:Wait(1.0); coroutine.yield(); Event:UnlockPlayer(); coroutine.yield(); Event:FadeIn() coroutine.yield(); return; end