[BGAnimation]
LengthSeconds=0.5

#[Layer1]
#Import=../_shared background
PlayModeName() != "Nonstop" and PlayModeName() != "Oni" and StageIndex()
[Layer2]
File=back.avi
Type=1		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,320;y,240;diffusealpha,1;

[Layer3]
File=ScreenSelectMusic stage 2.png
Type=3
TileVelocityX=50
TilesStartY=240
//Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 1

[Layer4]
File=ScreenSelectMusic stage 3.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 2

[Layer5]
File=ScreenSelectMusic stage 4.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 3

[Layer6]
File=ScreenSelectMusic stage 5.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 4

[Layer7]
File=ScreenSelectMusic stage 6.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 5

[Layer8]
File=ScreenSelectMusic stage final.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 6

[Layer9]
File=ScreenSelectMusic stage final.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() >= 7

[Layer10]
File=ScreenSelectMusic stage event.png
Type=3
TileVelocityX=50
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=StageIndex() == 0

[Layer11]
File=ScreenSelectMusic stage extra1.png
Type=3
TileVelocityX=100
TilesStartY=240
Command=x,320;y,240;diffusealpha,0.5;
Condition=IsExtraStage() and PlayModeName() == "Regular"

[Layer21]
File=../_popcandymodel/popcandy_green.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 0 and PlayModeName() == "Regular"

[Layer22]
File=../_popcandymodel/popcandy_blue.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 1 and PlayModeName() == "Regular"

[Layer23]
File=../_popcandymodel/popcandy_pink.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 2 and PlayModeName() == "Regular"

[Layer24]
File=../_popcandymodel/popcandy_orange.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 3 and PlayModeName() == "Regular"

[Layer25]
File=../_popcandymodel/popcandy_red.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,300,0;
Condition=IsExtraStage() == true and IsExtraStage2() == false and PlayModeName() == "Regular"

[Layer26]
File=../_popcandymodel/popcandy_red.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,100,300,50;
Condition=IsExtraStage2() == true and IsExtraStage() == false and PlayModeName() == "Regular"

[Layer27]
File=../_popcandymodel/popcandy_yellow.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 4 and PlayModeName() == "Regular"

[Layer28]
File=../_popcandymodel/popcandy_purple.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 5 and PlayModeName() == "Regular"

[Layer29]
File=../_popcandymodel/popcandy_lightblue.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() == 6 and PlayModeName() == "Regular"

[Layer30]
File=../_popcandymodel/popcandy_green.model
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=x,480;y,350;zoom,4.0;spin;effectmagnitude,0,75,0;
Condition=IsExtraStage() == false and IsExtraStage2() == false and StageIndex() >= 7 and PlayModeName() == "Regular"
