function n15cata3_110() local Event=EventClass.Event; if(Event:GetEventFlag(127)==1) --人間に戻った後 then Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccameraa("Cata3_110") coroutine.yield(); Event:Print("/vnI wish I could go back/rto being a cat again.../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(127,1); --猫を人に戻したフラグ(127番 Event:LockPlayer(); Event:BackupCamera(); Event:BackupDof(); setnpccameraa("Cata3_110") 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:SetNpcNode("Cata3_110",2); --登録した3番目の立ち絵に固定 Event:SetAnimationId("Cata3_110", 1); Event:Wait(1.0); coroutine.yield(); Event:Print("/clDarn it, I was enjoying/rthat girl’s attention.../b/cl"); Event:Print("I wanted to stay as a/rcat.../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(); else Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccameraa("Cata3_110") coroutine.yield(); Event:Print("/vnMeow! Meow!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end end