function gimmick_dark1() local Event=EventClass.Event; if(Event:GetEventFlag(192)==1) --妖精姫が既にいて、かつこのイベントを既にみた場合 then Event:setItemMenuOpenFlag( 0 ); return; end Event:ResetDash(); Event:PauseEnemy(); Event:LockPlayer(); Event:SetPlayerDirection(2); Event:PlaySe(soundList.SoundID.SE_tinker_bell); Event:CreateNpc(0.0,0.5,0.0,"PrincessBugSP"); Event:SetNpcDirection("PrincessBugSP",2); Event:SetEventFlag(192,1); --このイベントを見たフラグ coroutine.yield(); Event:Wait(1.0); coroutine.yield(); Event:Print("/vhLee: Master! Look at/rthat black thing! I’m/rgetting sucked in...!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:UnlockPlayer(); Event:PlayEnemy(); Event:setItemMenuOpenFlag( 0 ); end