function mainevent_dragontomb() local Event=EventClass.Event; Event:LockPlayer(); coroutine.yield(); Event:Print("Revive the boss?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:Print("/cl> The boss awakened.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(1.0) coroutine.yield(); Event:FadeOut(); coroutine.yield(); Event:StopBgm(); Event:PlayBgm(soundList.SoundID.BGM_boss01); Event:SetNpcVisible("BossMarker05",0); Event:SetPlayerPosition(12,4,0) Event:SetPlayerDirection(0); Event:CreateDragon(12,14,0); Event:SetEventFlag(EventFlag.scene_dragontomb,0); Event:FadeIn(); coroutine.yield(); Event:UnlockPlayer(); Event:PlayEnemy() else Event:CloseMessage(); coroutine.yield(); Event:UnlockPlayer(); end end