[BGAnimation]

[Layer1]
File=xibg.jpg
Type=0
Condition=GetBestGrade() <= Grade("B")

[Layer2]
File=exibg.jpg
Type=0
Condition=GetBestGrade() == Grade("B") or Second() <= 14

[Layer3]
File=lowx.jpg
Type=0
Condition=GetBestGrade() >= Grade("B") and Second() > 14

[Layer4]
File=xibg.jpg
Type=0
Condition=GetBestGrade() >= Grade("C") and Second() <= 14

[Layer5]
File=lowe.jpg
Type=0
Condition=GetBestGrade() >= Grade("E")

[Layer6]
File=exbg.jpg
Type=0
Condition=IsFinalStage() and GetBestGrade() <= Grade("AA")

[Layer7]
File=xibg.jpg
Type=0
Condition=IsExtraStage() and GetBestGrade() <= Grade("AA")

[Layer8]
File=../_black.png
Command=zoom,320;diffusealpha,1;decelerate,0.3;diffusealpha,0

[Layer9]
File=result.png
Command=

[Layer10]
File=win.png
Command=x,320;y,158;draworder,99;pulse;effectclock,bgm;effectmagnitude,1.05,.9,1;

[Layer11]
File=../../../../Data/User/avatar.png
Type=0
Command=x,153.5;y,293.5;zoom,0.9;

[Layer12]
File=../no1.png
Type=0
Command=x,122;y,312;

[Layer13]
File=../fullcombo.png
Type=0
Command=x,278;y,350;diffusealpha,0;sleep,0.2;zoomx,3;decelerate,0.2;zoom,0.8;diffusealpha,1;glow,1,1,1,.7;linear,0.2;glow,1,1,1,0;sleep,.3;linear,0.4;
OffCommand=diffusealpha,0
Condition=FullCombo(1) and IsPlayerEnabled(1) == true