function graundc1_210() local Event=EventClass.Event; if(Event:GetEventFlag(196) ==0) then Event:setItemMenuOpenFlag( 0 ); return; end if(Event:GetEventFlag(197)==0) --ご神木を手に入れていない場合 then Event:ResetDash(); Event:PauseEnemy(); Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); Event:Print("/vn> Branches are spread/rbefore a tree with a/rholy aura./b/cl"); Event:Print("> Search?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(197,1); --ご神木を入手したフラグ(197番) Event:Print("/cl> Your search is loading./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:Print("> Got the Holy Wood!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgeteventitem() Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); Event:PlayEnemy(); Event:setItemMenuOpenFlag( 0 ); return; else Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); Event:PlayEnemy(); Event:setItemMenuOpenFlag( 0 ); return; end else --ご神木を手に入れている場合 Event:setItemMenuOpenFlag( 0 ); return; end end