task Stage3LordBack{
let Frame1=0;
let Frame2=0;
let Frame3=0;
let Move1=0;
let Move2=0;
let Move3=0;
let Move4=0;
let Move5=0;
let Move6=0;
LoadGraphic("script\script-Stage3\BackSky1.png");   
LoadGraphic("script\script-Stage3\Moon.png");   
LoadGraphic("script\script-Stage3\Glass1.png");   
LoadGraphic("script\script-Stage3\Tree1.png");   
LoadGraphic("script\script-Stage3\Tree2.png");   
LoadGraphic("script\script-Stage2\Shadow1.png");   
   
loop{
Move1+=5;
Move2+=5;
Move4+=5;
if(MoveMode==1){
Move5+=0.05;
}
Move6+=5;
Frame1++;

SetTexture("script\script-Stage3\BackSky1.png");
SetGraphicRect(0,0,384,446);
SetGraphicAngle(-50,0,0);
DrawGraphic3D(0,0,0);
SetTexture("script\script-Stage3\Moon.png");
SetGraphicRect(0,0,120,120);
SetGraphicAngle(-50,0,0);
DrawGraphic3D(0,0,0+Move3);
SetTexture("script\script-Stage3\Glass1.png");
SetGraphicRect(0,0,3000,3000+Move1);
SetGraphicAngle(-110,0,0);
DrawGraphic3D(0,-230,0);
SetTexture("script\script-Stage2\Shadow1.png");
SetGraphicRect(0,0,3000,442);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(0,-120,-250);

SetTexture("script\script-Stage3\Tree1.png");
SetGraphicRect(1,0,280,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(150+Move5,-300,-100);
SetTexture("script\script-Stage3\Tree1.png");
SetGraphicRect(1,0,280,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(150+Move5,-200,-100);
SetTexture("script\script-Stage3\Tree1.png");
SetGraphicRect(1,0,280,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(150+Move5,-100,-100);
SetTexture("script\script-Stage3\Tree1.png");
SetGraphicRect(1,0,280,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(150+Move5,0,-100);
SetTexture("script\script-Stage3\Tree2.png");
SetGraphicRect(1,0,279,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(-150-Move5,-300,-100);
SetTexture("script\script-Stage3\Tree2.png");
SetGraphicRect(1,0,279,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(-150-Move5,-200,-100);
SetTexture("script\script-Stage3\Tree2.png");
SetGraphicRect(1,0,279,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(-150-Move5,-100,-100);
SetTexture("script\script-Stage3\Tree2.png");
SetGraphicRect(1,0,279,5000+Move2);
SetGraphicAngle(-90,0,0);
DrawGraphic3D(-150-Move5,0,-100);

if(Move1>1024){
Move1=0;
}
if(Move2>900){
Move2=0;
}
if(Move3<-330){
}else{
Move3-=0.02;
}
if(Move5>100){
MoveMode=0;
}

yield;
}
}