function n15cata4_110() local Event=EventClass.Event; if(Event:GetEventFlag(128)==1) --人間に戻った後 then Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerab("Cata4_110") coroutine.yield(); Event:Print("/vhI can’t correct my/raccent meow.../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(128,1); --猫を人に戻したフラグ(128番 Event:LockPlayer(); Event:BackupCamera(); Event:BackupDof(); setnpccamerab("Cata4_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:Wait(0.5); coroutine.yield(); Event:SetNpcNode("Cata4_110",2); --登録した3番目の立ち絵に固定 Event:SetAnimationId("Cata4_110", 1); Event:Wait(1.0); coroutine.yield(); Event:Print("/cl/vhThank mew for giving me/rback my true formeow!/b/cl"); Event:Print("Wait. I still sound like/ra cat! Guess I’ll have to/rpurrractice my speech./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(); setnpccamerab("Cata4_110") coroutine.yield(); Event:Print("/vnMeow meow meow!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end end