--ブルーオーブを持っていて、フローズンシェーダーを持っていない時 function mainevent_frozenshader1() local Event=EventClass.Event; Event:LockPlayer(); Event:BackupCamera(); coroutine.yield(); Event:BackupDof(); Event:FadeOut() coroutine.yield(); Event:SetStatusVisible(0); --修正0907 -- Event:SetCamera(0.10,2.95,44.61,23.48,1.26,-18.74); -- Event:SetParamDepthofField(0.70,0.70,0.0); Event:SetCamera(0.10,2.48,44.61,23.85,1.26,-19.00); Event:SetParamDepthofField(0.66,0.80,0.0); Event:SetPlayerPosition(11,10,0); coroutine.yield(); Event:SetPlayerDirection(0) Event:SetNpcDirection("YoungWomanSP",1); Event:CreateNpc(1.6,0.0,0.0,"PrincessBugSP"); Event:SetNpcDirection("PrincessBugSP",0); coroutine.yield(); Event:FadeIn() coroutine.yield(); if(Event:GetEventFlag(309)==1) then Event:Print("/vhOhtu: How dare you stop/rin the middle!? Get back/rhere and stab me!/vn/b/co"); else Event:SetEventFlag(309,1); --オーツーを刺した if(Event:GetEventFlag(EventFlag.scene_blueorbirai)==0) --水の賢者に依頼を受けていない場合 then ----------------------------------↓↓↓依頼を受けていない時のセリフ↓↓↓----------------------------------- if ( Event:IsSpelunker() ) then Event:Print("/vhLady: Is thatーー Did you/rdefeat the Aqua Temple/rmonster!?/b/cl"); Event:Print("Lee: My master is the/rtruest of the true/rSpelunkers! It’s scary!/b/cl"); Event:Print("Lady: UーUnbelievable.../b/cl"); Event:Print("Well, I’m Ohtu, the Aqua/rSage. On behalf of the/rvillage, thanks./b/cl"); Event:Print("Lee: Oh! What luck! I’m/rsorry to rush you, but/rwe have a favour to ask!/b/cl"); Event:Print("We need the Blue Orb’s/rmagic so we can confront/rthe Dark Bishop!/vn/b/cl"); else Event:Print("/vhLady: Is thatーー Did you/rdefeat the Aqua Temple/rmonster!?/b/cl"); Event:Print("Lee: Master "..Event:GetPlayerName().." was/rchosen by the gods to be/ra hero among heroes!/b/cl"); Event:Print("Lady: Ah. Well I’m Ohtu,/rthe Aqua Sage. On behalf/rof the village, thanks./b/cl"); Event:Print("Lee: Oh! What luck! I’m/rsorry to rush you, but/rwe have a favour to ask!/b/cl"); Event:Print("We need the Blue Orb’s/rmagic so we can confront/rthe Dark Bishop!/vn/b/cl"); end -------------------------------------------------------------------------------------------------------------- else --水の賢者に依頼を受けている場合 ----------------------------------↓↓↓依頼を既に受けている時のセリフ↓↓↓-------------------------------- if ( Event:IsSpelunker() ) then Event:Print("/vhOhtu: The Blue Orb! Hm,/rdid you use some kind of/rcheat code or something?/b/cl"); Event:Print("Lee: MーMy master is the/rtruest of the true/rSpelunkers! It’s scary!/b/cl"); else if(Event:GetJobType()==2) then Event:Print("/vhOhtu: Ah! Dear "..Event:GetPlayerName().."!/rMy prayers have been/ranswered! You’re okay!/b/cl"); else Event:Print("/vhOhtu: Huh, the Blue Orb./rYou really took out the/rmonster? Not bad!/b/cl"); end Event:Print("Lee: Master "..Event:GetPlayerName().." was/rchosen by the gods to be/ra hero among heroes!/b/cl"); end Event:Print("By the way, Sage Ohtu!/b/cl"); Event:Print("We need the Blue Orb’s/rpower so we can confront/rthe Dark Orb...!/vn/b/cl"); --------------------------------------------------------------------------------------------------------- end if(Event:GetFromMode() == 1) then Event:Print("Ohtu: You already know/rwhat to do, don’t you!?/rDON’T YOU!?/b/cl"); Event:Print("So DO IT ALREADY!/b/co"); else Event:Print("/vhOhtu: Oi, I shoulda seen/rthat one coming... I’ll/rtry, but no promises!/b/cl"); Event:Print("Lee: ThーThank you.../b/cl"); Event:Print("Ohtu: Here goes.../b/cl"); Event:Print("Oooom!/rOoOoOoOoOoOOOmm!/rOooom! OOOOOOM!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("> ...Nothing happened!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Print("/vhLee: ....../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Print("Ohtu: I’m doing it just/rlike my mum said... But/rI’m not strong enough.../b/cl"); --0906修正 Event:Print("Lee: Maybe you should/rtry to relax, Sage Ohtu!/rTry to meditate!/b/cl"); Event:Print("Ohtu: Meditate...?/b/cl"); Event:Print("Lee: Yes! Let Lee the/rEnlightened handle this!/rBreathe in! Breathe out!/b/cl"); Event:Print("Ohtu: ....../b/cl"); Event:Print("Okay... I’ll give it/ranother shot! Ooooom!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("Lee: We’re not feeling/rit.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); -- Event:Print("Ohtu: Hmm... I heard a/rsage’s power can awaken/rto a strong stimulus.../b/cl"); Event:Print("Lee: Strong... stimulus?/b/cl"); Event:Print("Ohtu: Yes, you heard me./rNot that I have any/rclue what it means.../b/cl"); --0905分岐 if(Event:GetEventFlag(EventFlag.scene_blueorbirai)==0) --水の賢者に依頼を受けていない場合 then Event:Print("Wait! I know!/rStab me! Stab me with/ryour sword, Hero!/b/cl"); else if(Event:GetJobType()==0) then Event:Print("Wait! I know!/rStab me! Stab me with/ryour sword, Hero!/b/cl"); end if(Event:GetJobType()==1) then if(Event:GetPlayerSex()==0) then Event:Print("Wait! I know! Your/rHighness, would you.../rstab me?/b/cl"); end if(Event:GetPlayerSex()==1) then Event:Print("Wait! I know. Your/rHighness, would you.../rstab me?/b/cl"); end end if(Event:GetJobType()==2) then Event:Print("Wait! I know! I would be/rhonoured if you would stab/rme, "..Event:GetPlayerName()..".../b/cl"); end end --- Event:Print("Lee: WHAT!? We couldn’t!/rThis is madness!/b/cl"); if(Event:GetJobType()==2) then Event:Print("Ohtu: No, it’s the only/rway! Stab me now, my/rdear "..Event:GetPlayerName().."!/vn/b/co"); else Event:Print("Ohtu: It’s the only way!/rNow stab me, quickly!/vn/b/co"); end end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:SetStatusVisible(1); Event:RestoreDof(); Event:RestoreCamera(); Event:UnlockPlayer(); end function mainevent_frozenshader2() local Event=EventClass.Event; Event:LockPlayer(); Event:BackupCamera(); Event:BackupDof(); coroutine.yield(); Event:FadeOut() coroutine.yield(); Event:SetStatusVisible(0); Event:SetPlayerDirection(0) Event:SetNpcDirection("YoungWomanSP",1); --修正0907 -- Event:SetCamera(0.10,2.95,44.61,23.48,1.26,-18.74); -- Event:SetParamDepthofField(0.70,0.70,0.0); Event:SetCamera(0.10,2.48,44.61,23.85,1.26,-19.00); Event:SetParamDepthofField(0.66,0.80,0.0); Event:SetPlayerPosition(11,10,0); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",1); Event:FadeIn() coroutine.yield(); if ( Event:IsSpelunker() ) then Event:Print("/vhOhtu: You’re so weak.../rStab like a man!/b/cl"); Event:Print("Master "..Event:GetPlayerName().."! Don’t/rhesitate!/b/co"); else Event:Print("/vhOhtu: Yeargh! It hurts!/rBut... you must touch/rthe sage inside of me!/b/cl"); Event:Print("Lee: Are you sure, Sage/rOhtu!? We won’t hold/rback then!/b/cl"); Event:Print("Master "..Event:GetPlayerName().."! Don’t/rhesitate!/b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:SetStatusVisible(1); Event:RestoreDof(); Event:RestoreCamera(); Event:UnlockPlayer(); end function mainevent_frozenshader3() local Event=EventClass.Event; Event:LockPlayer(); Event:BackupCamera(); Event:BackupDof(); Event:FadeOut() coroutine.yield(); Event:SetStatusVisible(0); Event:SetPlayerDirection(0) Event:SetNpcDirection("YoungWomanSP",1); --修正0907 Event:SetCamera(0.10,2.48,44.61,23.85,1.26,-19.00); Event:SetParamDepthofField(0.66,0.80,0.0); Event:SetPlayerPosition(11,10,0); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",1); Event:FadeIn() coroutine.yield(); if ( Event:IsSpelunker() ) then Event:Print("/vhOhtu: Come on! It’ll/rnever work like this!/rHarder! HARDER!/b/co"); else Event:Print("/vhOhtu: Aaah... Yes.../rIt’s working! I feel the/rsage’s power awakening!/vn/b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:SetStatusVisible(1); Event:RestoreDof(); Event:RestoreCamera(); Event:UnlockPlayer(); end function mainevent_frozenshader4() local Event=EventClass.Event; Event:LockPlayer(); Event:BackupCamera(); coroutine.yield(); Event:BackupDof(); Event:FadeOut() coroutine.yield(); Event:SetStatusVisible(0); Event:SetPlayerDirection(0) Event:SetNpcDirection("YoungWomanSP",1); --修正0907 -- Event:SetCamera(0.10,2.95,44.61,23.48,1.26,-18.74); -- Event:SetParamDepthofField(0.70,0.70,0.0); Event:SetCamera(0.10,2.48,44.61,23.85,1.26,-19.00); Event:SetParamDepthofField(0.66,0.80,0.0); Event:SetPlayerPosition(11,10,0); coroutine.yield(); Event:SetPlayerDirection(0) Event:SetNpcDirection("YoungWomanSP",1); Event:SetNpcVisible("PrincessBugSP",1); Event:FadeIn() coroutine.yield(); if ( Event:IsSpelunker() ) then Event:Print("/vhOhtu: Ya know what,/rforget it./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("Lee: Whaーー Sage Ohtu!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("Ohtu: I think I remember/rhow to do it anyway!/b/co"); else Event:Print("/vhOhtu: *groan*/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("Lee: Whaーー Sage Ohtu!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:Print("Ohtu: It’s... COMING!!/b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); getspecialitem2F(18); --フローズンシェーダー入手 Event:AddItem2(55) Event:RestoreCamera(); Event:RestoreDof(); Event:BackupCamera(); Event:BackupDof(); Event:Print("/vn> Got a Shader Magic:/rFreeze!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); endgetspecialitem2F(); coroutine.yield(); --修正0907 -- Event:SetCamera(0.10,2.95,44.61,23.48,1.26,-18.74); -- Event:SetParamDepthofField(0.70,0.70,0.0); Event:SetCamera(0.10,2.48,44.61,23.85,1.26,-19.00); Event:SetParamDepthofField(0.66,0.80,0.0); Event:SetPlayerPosition(11,10,0); coroutine.yield(); Event:SetEventFlag(EventFlag.item_frozenshader ,1); -- フローズンシェーダー入手 Event:Print("/cl/vhOhtu: That spell will/rfreeze the environment/rfor a short time./b/cl"); Event:Print("It can even stop quick/rfoes in their tracks./b/cl"); Event:Print("Lee: Really!? That/rsounds amazing!/b/cl"); Event:Print("You’re a great sage/rafter all! Thank you/rso much for the help!/b/cl"); --以下翻訳で同じセリフに。 if(Event:GetJobType()==2 and Event:GetEventFlag(EventFlag.scene_blueorbirai)==1) then Event:Print("Ohtu: I should be the one/rthanking you. You awoke/rmy true power./b/cl"); else Event:Print("Ohtu: I should be the one/rthanking you. You awoke/rmy true power./b/cl"); end Event:Print("Lee: Sage Ohtu, where/rshould we head now?/b/cl"); Event:Print("Ohtu: You should find/rthe Flame Temple north/rof the desert./b/cl"); Event:Print("Look for a mountain/rcalled Klovis Volcano./b/cl"); Event:Print("Lee: A volcano in the north?/rThank you! Let’s move/rout, Master "..Event:GetPlayerName().."!/b/cl"); Event:Print("Ohtu: Ah, hey! Can you/rdo that stab thing just/ronce moーー/b/cl"); Event:Print("NーNah, forget it... Take/rcare you two./vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:SetProgressFlag(6,1); --火山の神殿MAP表示フラグ Event:SetStatusVisible(1); Event:RestoreCamera(); Event:RestoreDof(); Event:UnlockPlayer(); end --イベント終了後に話しかけた場合 function mainevent_frozenshader5() local Event=EventClass.Event; Event:LockPlayer(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("YoungWomanSP") coroutine.yield(); Event:Print("/vhOhtu: You should find/rthe Flame Temple north/rof the desert./b/cl"); Event:Print("Look for a mountain/rcalled Klovis Volcano./b/cl"); Event:Print("Ohtu: Ah, hey! Can you/rdo that stab thing just/ronce moーー/b/cl"); Event:Print("NーNah, forget it... Take/rcare you two./vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:UnlockPlayer(); end