function graundc1_030() local Event=EventClass.Event; if(Event:GetEventFlag(109)==0) --真実の鏡を手に入れていない場合 then Event:ResetDash(); Event:PauseEnemy(); Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); Event:Print("/vn> The bog’s stench fills the/rair. Bones lie scattered/rabout./b/cl"); Event:Print("> Search?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(109,1); --真実の鏡を入手したフラグ(109番) Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:Print("/cl> Got the Mirror of Truth!/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