function mainevent_fairyprincess0() local Event=EventClass.Event; Event:SetDungeonResurrectionPoint(map_manager.MS_DUNGEON_1_1_1) if(Event:GetEventFlag(EventFlag.scene_snake)==1) --ボスを倒した場合 then Event:SetEventFlag(EventFlag.scene_snaketomb,1) end if(Event:GetEventFlag(EventFlag.scene_fairyprincess0)==1) then return; end Event:LockPlayer(); Event:SetEventFlag(EventFlag.scene_fairyprincess0 ,1); Event:Wait(1.0); coroutine.yield(); Event:MovePlayer(0.0,4.8,3.2); coroutine.yield(); Event:CreateNpc(1.6,0.0,0.0,"PrincessBugSP"); Event:SetNpcDirection("PrincessBugSP",0); Event:PlaySe(soundList.SoundID.SE_tinker_bell); Event:Wait(0.5); coroutine.yield(); --修正0902 if ( Event:IsSpelunker() ) then Event:Print("/vhLee: Master Spelunker!/rThe door leading further/rin is closed./b/cl"); --スペランカーモード else Event:Print("/vhLee: Master "..Event:GetPlayerName().."!/rThe door leading further/rin is closed./b/cl"); end Event:Print("There must be a hidden/rgimmick somewhere.../vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:SetNpcVisible("PrincessBugSP",0); Event:UnlockPlayer(); end