--はぐれた妖精姫を拾った時 function mainevent_firetemple2() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseEnemy(); coroutine.yield(); Event:Wait(1.0); coroutine.yield(); Event:PlaySe(soundList.SoundID.SE_tinker_bell); Event:CreateNpc(0.0,1.6,1.6,"PrincessBugb5_010"); Event:SetNpcDirection("PrincessBugb5_010",1); Event:SetEventFlag(229,1) Event:Print("/vhLee: *sigh* I’m safe.../b/cl"); Event:Print("I found a treasure box,/rbut then I got locked/rinside.../b/cl"); Event:Print("But I found this in it!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); getspecialitem2(61); Event:Print("/vn> Got the Boss Key!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitem2(); Event:Print("/vhThe orb can’t be far!/rLet’s go!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugb5_010",0); Event:SetEventFlag(EventFlag.scene_firetemple2,1); --妖精姫を助けたフラグ Event:UnlockPlayer(); Event:PlayEnemy(); end