function n26goblinredc1_060() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(146)==0) --100GOLを手に入れていない場合 then Event:SetEventFlag(146,1); --100GOLもらったフラグ(146番) Event:Print("/vlIt’s a secret to/reverybody./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:SetMoney(Event:GetMoney()+100); Event:Print("/vn> Got 100G!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgeteventitem() Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; else Event:Print("/vlIt’s a secret to/reverybody./vn/b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); end