function n08boya6_060() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerad("Boya6_060") coroutine.yield(); if(Event:GetEventFlag(139)==1 and Event:GetEventFlag(140)==0) then Event:SetEventFlag(140,1); --140番のフラグがオン --男の子に新鮮な魚をあげたフラグ Event:Print("/vhYou’ll give me that/rfish!? Thanks!/b/cl"); Event:Print("You can have this!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); getspecialitem3(55) --MAGICアップを入手 Event:RestoreDof(); Event:RestoreCamera(); Event:BackupCamera(); Event:BackupDof(); Event:Print("/vn> Got a MAGIC Up!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitem3() setnpccamerad("Boya6_060") coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("/vhI know it’s expensive,/rbut it’s not like I had/rany use for it./b/cl"); Event:Print("Heroes always seem to/rknow what to do, though./b/cl"); Event:Print("Thanks for the fish!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; end if(Event:GetEventFlag(123)==1 and Event:GetEventFlag(125)==0) then Event:SetEventFlag(124,1); --124番のフラグがオン --男の子に秘密を訊いたフラグ Event:Print("/vhYou want ME to tell you/rthe secret?/b/cl"); Event:Print("Someone told me to say/rthat the old lady knew it/rif anyone came to me./vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; else if(Event:GetEventFlag(140)==1) then Event:Print("/vhThanks for the fish!/vn/b/co"); else Event:Print("/vhI like fresh fish.../vn/b/co"); end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; end