function n14doga8_090() local Event=EventClass.Event; if(Event:GetEventFlag(132)==1) --人間に戻った後 then Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("Doga8_090") coroutine.yield(); Event:Print("/vnPlease... no more dog /rfood.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end if(Event:GetEventFlag(109)==1) --しんじつのかがみをもっている。 then Event:SetEventFlag(132,1); --犬を人に戻したフラグ(131番 Event:LockPlayer(); Event:PauseEnemy() Event:BackupCamera(); Event:BackupDof(); setnpccameraa("Doga8_090") Event:Print("> The Mirror of Truth/rshined!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_invisible); Event:PlayFlash(1,0) coroutine.yield(); Event:Wait(0.5); coroutine.yield(); Event:SetNpcNode("Doga8_090",2); --登録した3番目の立ち絵に固定 Event:SetAnimationId("Doga8_090", 1); Event:Wait(1.0); coroutine.yield(); Event:Print("/clI’m... so full.../rNo more... dog food.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetEventFlag(221,Event:GetEventFlag(221)+1); --鏡に呪いエネルギーをチャージ if(Event:GetEventFlag(221)==7) --しんじつのかがみをもっている。 then Event:SetEventFlag(221,7);--221番を7に固定 Event:PlaySe(soundList.SoundID.SE_pull_sword); coroutine.yield(); Event:PlayFlash(1,0) coroutine.yield(); Event:Print("> The Mirror of Truth/rglowed with energy!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); end Event:RestoreDof(); Event:RestoreCamera(); Event:UnlockPlayer(); Event:PlayEnemy() else Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccameraa("Doga8_090") coroutine.yield(); Event:Print("/vn*whimper*/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end end