function mainevent_opening3() local Event=EventClass.Event; if(Event:GetEventFlag(EventFlag.scene_opening3)==1) --このイベントを見終わっている場合 then Event:setItemMenuOpenFlag( 0 ); return; end if(Event:GetEventFlag(EventFlag.item_yelloworb)==0) --イエローオーブを取ってない場合 then Event:setItemMenuOpenFlag( 0 ); return; end if(Event:GetEventFlag(EventFlag.scene_opening3)==0 and Event:GetEventFlag(EventFlag.item_orbcount) >1) --このイベント見ないでほかのオーブを取った。 then Event:setItemMenuOpenFlag( 0 ); return; end Event:ResetDash(); Event:Pause(); Event:SetEventFlag(EventFlag.scene_opening3,1); --mainevent_opening3クリアフラグ coroutine.yield(); Event:SetupBGMInProportion(0.1,0.3) --音減らす Event:PlaySe(soundList.SoundID.SE_special_item_used); Event:WhiteOut() coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); --修正0907 -- Event:SetCamera(0.10,-1.86,328.90,114.78,7.47,-151.24) Event:SetCamera(0.10,-6.58,338.05,114.98,2.99,-149.53) Event:SetParamDepthofField(3.02,0.20,0.0); Event:SetStatusVisible(0); coroutine.yield(); Event:WhiteIn() coroutine.yield(); Event:Print("/vnAnd so, the young soul’s/radventure begins./b/cl"); Event:Print("Holding an orb in hand,/rfate whirls around the/rhero, bearing a burden/b/cl"); Event:Print("of great responsibility./b/cl"); Event:Print("Come!! Start your/rjourney! Return the/rlight of peace to the/b/cl"); Event:Print("Kingdom of Dotnia!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:WhiteOut() coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:SetStatusVisible(1); Event:WhiteIn() coroutine.yield(); Event:SetupBGMOutProportion(0.5) --音戻す Event:Play(); Event:setItemMenuOpenFlag( 0 ); return; end