function n20wiseman2b8_010() local Event=EventClass.Event; if(Event:GetEventFlag(EventFlag.item_greenorb)==1 and Event:GetEventFlag(EventFlag.item_reflection)==0) then --グリーンオーブを持っていて、リフレクションを持っていない場合 Event:SetEventFlag(EventFlag.item_reflection,1); -- リフレクション入手 mainevent_reflection() return; end if(Event:GetEventFlag(EventFlag.scene_searchewiseman2)==1 and Event:GetEventFlag(EventFlag.item_reflection)==1) --炎の賢者は草原の賢者に会いに行った情報を入手しリフレクションを持っている場合 then Event:SetEventFlag(EventFlag.scene_searchewiseman3,1); --炎の賢者は砂漠の賢者に会いに行った情報入手 mainevent_searchewiseman3() return; end if(Event:GetEventFlag(EventFlag.item_greenorb)==0) --グリーンオーブを持っていない場合 then mainevent_greenorbirai() return; end Event:LockPlayer(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccameraa("WiseMan2b8_010") coroutine.yield(); Event:Print("/vnIndigo: Far to the east/rlies a Desert Temple./b/cl"); Event:Print("Perhaps you should pay a/rvisit there./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:UnlockPlayer(); end