let EV_MUSIC_PLAY = 303;
let EV_MUSIC_STOP = 304;
let EV_MUSIC_FADE = 305;
let EV_MUSIC_VOL = 306;

function PlayMusic(num)
	{
	NotifyEventAll(EV_MUSIC_PLAY,[num]);
	}
task EndMusic(num)
	{
	NotifyEventAll(EV_MUSIC_STOP,[num]);
	}
task FadeMusic(num,time)
	{
	NotifyEventAll(EV_MUSIC_FADE,[num,time]);
	}
task VolumeMusic(num,vol)
	{
	NotifyEventAll(EV_MUSIC_VOL,[num,vol]);
	}

function GetBGMLoopTime(i)
	{
	let numb = [0,0];
	alternative(i)
		case(0)
			{
			}
	return numb;
	}