function n03youngmana8_080() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); Event:PauseEnemy(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerab("YoungMana8_080") coroutine.yield(); if(Event:GetEventFlag(201)==1) --ドッグフードを入手した場合 then Event:Print("I give dog this food. Me/rnice, yes?/b/co"); else if(Event:GetEventFlag(132)==1) --犬を若い男性に戻している場合 then Event:SetEventFlag(201,1); --201番のフラグがオン --ドッグフードを入手したフラグ Event:Print("/vnI no need dog food. You/rtake it./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:Print("/vn> Got the Dog Food!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgeteventitem() Event:Print("/vnI give dog this food. Me/rnice, yes?/b/co"); else Event:Print("/vnMe understand animals./b/cl"); Event:Print("Here dog is hungry. Sad./rMe give him dog food./rMe nice person./b/co"); end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayEnemy(); Event:PlayNpc(); Event:UnlockPlayer(); return; end