task Prologue{
	bgmovX=0;
	bgmovY=0;
	StageInit;
	PlayMusic(probgm);
	loop(20){yield;}
	CreateEnemyFromFile(GCSD~"A_0/Enemytalk.txt", GetClipMinX-1500, GetClipMinY-1500, 0, 0, 0);
	while(GetEnemyNum!=0){yield;}
	StageClear;
}

sub PrologueBG{

	sub Draw{
		bgmovX--;
		bgmovY+=0.35;
		if(bgmovX<512){bgmovX+=512;}
		SetTexture(probg1);
		SetGraphicRect(bgmovX, -bgmovX, 768+bgmovX, 768-bgmovX);
		SetGraphicScale(1.35, 1.35);
		SetGraphicAngle(90, 0, bgmovY);
		SetAlpha(128);
		DrawGraphic3D(0, 0, 0);
		SetTexture(probg2);
		SetGraphicRect(-bgmovX/2, bgmovX/2, 768-bgmovX/2, 768+bgmovX/2);
		SetGraphicScale(1, 1);
		SetGraphicAngle(90, 0, -bgmovY);
		SetAlpha(64);
		DrawGraphic3D(0, 0, 0);
	}
	
	BackdropColor = [0, 0, 0];
	FogColor = [255, 255, 255];
	FogMin = 0;
	FogMax = 10000;
	CamX = 0;
	CamY = 0;
	CamZ = 0;
	CamDist = 400;
	CamRot = 0;
	CamLift = 50;
	Draw;
}