function n03youngmana2_260() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("YoungMana2_260") coroutine.yield(); --if(Event:GetEventFlag(EventFlag.item_redorb)==1) --レッドオーブを持っている場合 if(Event:GetEventFlag(EventFlag.item_orbcount)==5 or Event:GetEventFlag(EventFlag.item_orbcount)==6) --オーブが5個以上 then if(Event:GetEventFlag(153)==1 or Event:GetEventFlag(154)==1) --どちらかを選んでいる場合 then Event:Print("/vnThanks for the advice/rearlier. I’m so happy!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); Event:SetEventFlag(323,1); --天空の花嫁イベント完了フラグセット return; end end if(Event:GetEventFlag(153)==1 or Event:GetEventFlag(154)==1) --どちらかを選んでいる場合 then Event:Print("/vnAlright, I’ve made up my/rmind! Thank you!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end Event:Print("/vnI’m getting married, but/rwho should I choose? My/rchildhood friend.../b/cl"); Event:Print("Or the daughter of a/rwealthy family? I’m so/rtorn.../b/cl"); Event:Print("I was leaning toward my/rchildhood friend, but.../rI’ve gotta be honest.../b/cl"); Event:Print("I like the rich girl’s/rspell set better./b/cl"); Event:Print("Who should I choose!?/rMy childhood friend?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(153,1); --幼馴染を選んだフラグ Event:Print("/clAh, I knew that would be/rthe right choice. Thanks!/b/co"); else Event:Print("/clSo you’d choose the rich/rgirl, then?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(154,1); --お嬢様を選んだフラグ Event:Print("/clAh, I knew that would be/rthe right choice. Thanks!/b/co"); else Event:Print("/clYou want ME to decide?/rI see your point.../b/co"); end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end