--水の神殿に入った時 function mainevent_watertemple2() local Event=EventClass.Event; Event:LockPlayer(); Event:SetStatusVisible(0); -- Event:BackupCamera(); -- Event:BackupDof(); -- Event:SetCamera(14.0,30,0); 旧バージョンのアングル Event:SetPlayerPosition(87,12,1) Event:SetPlayerDirection(0); coroutine.yield(); Event:Wait(1.0); coroutine.yield(); Event:MovePlayer(0.0,3.2,3.2); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_tinker_bell); Event:CreateNpc(1.6,0.0,0.0,"PrincessBugSP"); Event:SetNpcDirection("PrincessBugSP",0); Event:Wait(0.5); coroutine.yield(); if(Event:GetEventFlag(EventFlag.scene_watertemple0)==0) then Event:Print("/vhLee: Hm? I thought I saw/rsomething move.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); else Event:Print("/vhLee: Last time I had a/rdreadful time in here.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); end Event:MoveNpc("PrincessBugSP",0.0,4.8,3.2,0); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:SetNpcDirection("PrincessBugSP",2); Event:Wait(0.5); coroutine.yield(); Event:SetNpcDirection("PrincessBugSP",3); Event:Wait(0.5); coroutine.yield(); Event:SetNpcDirection("PrincessBugSP",1); Event:Wait(0.5); coroutine.yield(); if(Event:GetEventFlag(EventFlag.scene_watertemple0)==0) then Event:Print("/vhMaybe I’m just jumpy.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); else Event:Print("I hope it was a oneーー/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); end Event:SetNpcVisible("PrincessBugSP",0); Event:createTimerEffect(39,2.5,140,0.1,-158); Event:PlayScene(); Event:PlaySe(soundList.SoundID.SE_surround_river); Event:Wait(0.4); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_ripple); Event:Wait(2.1); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_boss_attack12); Event:Wait(0.7); coroutine.yield(); Event:StopSe(soundList.SoundID.SE_surround_river); Event:PlaySe(soundList.SoundID.SE_club); Event:Wait(0.4); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_fairy_shout); Event:Wait(3.2); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_boss_attack11); Event:WaitScene(); coroutine.yield(); if(Event:GetEventFlag(EventFlag.scene_watertemple0)==0) then Event:Print("Whaーー Nooooo!/rMーMaster "..Event:GetPlayerName().."!/vn/b/co"); else Event:Print("Lee: Whaa!? MーMaster/r"..Event:GetPlayerName().."! Heeeeelp!/vn/b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Print("/vn> Lee was snatched away!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetStatusVisible(1); Event:SetEventFlag(EventFlag.scene_watertemple0,1) Event:UnlockPlayer(); end function mainevent_watertemple0() local Event=EventClass.Event; Event:PauseEnemy() Event:LockPlayer(); Event:SetPlayerDirection(1); coroutine.yield(); Event:Wait(3.0); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_tinker_bell); Event:CreateNpc(1.6,0.0,0.0,"PrincessBugSP"); Event:SetNpcDirection("PrincessBugSP",2); Event:Wait(1.0); coroutine.yield(); Event:Print("/vhLee: That was rough.../rI managed to escape,/rbut.../b/cl"); if ( Event:IsSpelunker() )--スぺランカーモードの場合 then Event:Print("Master! If that ever/rhappens again, you must/rat least TRY to save me!/vn/b/co"); else Event:Print("Master "..Event:GetPlayerName().."! If that/rever happens again, I/rbeg of you to rescue me!/vn/b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:UnlockPlayer(); Event:PlayEnemy() end