Frame 1
s_mask = 1;
s_lock = 1;
if (s_mask == 1) {
Stage.scaleMode = "showAll";
createEmptyMovieClip("stage_mask", 12345);
with (stage_mask) {
lineStyle();
beginFill(0, 100);
moveTo(0, 0);
lineTo(Stage.width, 0);
lineTo(Stage.width, Stage.height);
lineTo(0, Stage.height);
lineTo(0, 0);
endFill();
}
_root.setMask(stage_mask);
}
if (s_lock == 1) {
Stage.scaleMode = "noScale";
}
Frame 2
stopAllSounds();
Instance of Symbol 20 MovieClip [スプライト(3)] in Frame 3
onClipEvent (load) {
cx = 0;
cy = 0;
radius = 12;
r_d = 0;
speed = 1;
deg = 0;
}
onClipEvent (enterFrame) {
radian = (deg / 180) * Math.PI;
this._x = (radius * Math.cos(radian)) + cx;
this._y = (radius * Math.sin(radian)) + cy;
deg = deg + speed;
radius = radius + r_d;
if (radius < 0) {
radius = 0;
}
}
Frame 3
stop();
Instance of Symbol 52 MovieClip [スプライト(4)] in Frame 10
onClipEvent (load) {
cx = 0;
cy = 0;
radius = 12;
r_d = 0;
speed = 2;
deg = 0;
}
onClipEvent (enterFrame) {
radian = (deg / 180) * Math.PI;
this._x = (radius * Math.cos(radian)) + cx;
this._y = (radius * Math.sin(radian)) + cy;
deg = deg + speed;
radius = radius + r_d;
if (radius < 0) {
radius = 0;
}
}
Frame 10
stop();
Instance of Symbol 4 MovieClip [★] "a0" in Symbol 54 MovieClip [スプライト星(2)] Frame 1
onClipEvent (load) {
y1a = 10;
y1b = null;
y2a = 500;
y2b = 620;
x1a = 320;
x1b = 320;
x2a = -400;
x2b = 400;
widtha = 20;
widthb = 80;
xspda = 2;
xspdb = 10;
yspda = 80;
yspdb = 120;
scalea = 8;
scaleb = 16;
alphaa = 85;
alphab = 100;
rota = -50;
rotb = 50;
dupeca = 2;
dupecb = 4;
remove = 0;
remcount = 0;
objout = 3;
outalp = 5;
outscl = -5;
if (!((x1b == null) || (x1a == x1b))) {
x1 = Math.floor(Math.random() * ((x1b - x1a) + 1)) + x1a;
} else {
x1 = x1a;
}
if (!((x2b == null) || (x2a == x2b))) {
x2 = Math.floor(Math.random() * ((x2b - x2a) + 1)) + x2a;
} else {
x2 = x2a;
}
if (!((y1b == null) || (y1a == y1b))) {
y1 = Math.floor(Math.random() * ((y1b - y1a) + 1)) + y1a;
} else {
y1 = y1a;
}
if (!((y2b == null) || (y2a == y2b))) {
y2 = Math.floor(Math.random() * ((y2b - y2a) + 1)) + y2a;
} else {
y2 = y2a;
}
if (!((widthb == null) || (widtha == widthb))) {
width = Math.floor(Math.random() * ((widthb - widtha) + 1)) + widtha;
} else {
width = widtha;
}
if (!((xspdb == null) || (xspda == xspdb))) {
xspd = (Math.floor(Math.random() * ((xspdb - xspda) + 1)) + xspda) / 100;
} else {
xspd = xspda / 100;
}
if (!((yspdb == null) || (yspda == yspdb))) {
yspd = (Math.floor(Math.random() * ((yspdb - yspda) + 1)) + yspda) / 10;
} else {
yspd = yspda / 10;
}
if (!((scaleb == null) || (scalea == scaleb))) {
_xscale = Math.floor(Math.random() * ((scaleb - scalea) + 1)) + scalea;
_yscale = _xscale;
} else {
_xscale = scalea;
_yscale = scalea;
}
if (!((alphab == null) || (alphaa == alphab))) {
_alpha = Math.floor(Math.random() * ((alphab - alphaa) + 1)) + alphaa;
} else {
_alpha = alphaa;
}
if (!((rotb == null) || (rota == rotb))) {
rot = (Math.floor(Math.random() * ((rotb - rota) + 1)) + rota) / 10;
} else {
rot = rota / 10;
}
if (!((dupecb == null) || (dupeca == dupecb))) {
dupec = Math.floor(Math.random() * ((dupecb - dupeca) + 1)) + dupeca;
} else {
dupec = dupeca;
}
theta = Math.floor(Math.random() * (Math.PI * 200)) / 100;
dx = x2 / ((y2 - y1) / yspd);
count = 0;
flag = 0;
stp = 0;
_y = y1;
zure = 0;
if (!_parent.num) {
_parent.num = 0;
}
}
onClipEvent (enterFrame) {
if (stp != 0) {
if (stp != 1) {
if (stp == 2) {
if (objout != 0) {
if (objout != 1) {
if (objout != 2) {
if (objout == 3) {
this._alpha = this._alpha - outalp;
this._xscale = this._xscale + outscl;
this._yscale = this._yscale + outscl;
if ((0 >= _alpha) || (0 >= _xscale)) {
stp = 5;
this.removeMovieClip();
}
}
} else {
this._xscale = this._xscale + outscl;
this._yscale = this._yscale + outscl;
if ((0 >= _xscale) || (0 >= _yscale)) {
stp = 5;
this.removeMovieClip();
}
}
} else {
this._alpha = this._alpha - outalp;
if (0 >= _alpha) {
stp = 5;
this.removeMovieClip();
}
}
} else {
stp = 5;
this.removeMovieClip();
}
}
} else if (remove != 0) {
if (remove != 1) {
if (remove == 2) {
stop();
stp = 5;
}
} else {
remcount--;
if (0 >= remcount) {
stop();
stp = 2;
}
}
} else {
stp = 2;
}
} else {
_x = ((Math.sin(theta) * width) + x1) + zure;
_y = _y + yspd;
_rotation = _rotation + rot;
theta = theta + xspd;
zure = zure + dx;
if (flag == 0) {
count++;
}
if ((count >= dupec) && (flag != 1)) {
_parent.num++;
if (1000000000 < _parent.num) {
_parent.num = 1;
}
flag = 1;
duplicateMovieClip (_parent.a0, "a" + _parent.num, _parent.num);
}
if (y2 >= y1) {
if (y1 < y2) {
if (_y >= y2) {
stp = 1;
}
}
} else if (y2 >= _y) {
stp = 1;
}
}
}
Instance of Symbol 4 MovieClip [★] "a0" in Symbol 6 MovieClip [スプライト星] Frame 1
onClipEvent (load) {
y1a = 10;
y1b = null;
y2a = 440;
y2b = 620;
x1a = 320;
x1b = 320;
x2a = -400;
x2b = 400;
widtha = 20;
widthb = 80;
xspda = 1;
xspdb = 10;
yspda = 40;
yspdb = 60;
scalea = 8;
scaleb = 16;
alphaa = 85;
alphab = 100;
rota = -50;
rotb = 50;
dupeca = 3;
dupecb = 8;
remove = 0;
remcount = 0;
objout = 3;
outalp = 5;
outscl = -5;
if (!((x1b == null) || (x1a == x1b))) {
x1 = Math.floor(Math.random() * ((x1b - x1a) + 1)) + x1a;
} else {
x1 = x1a;
}
if (!((x2b == null) || (x2a == x2b))) {
x2 = Math.floor(Math.random() * ((x2b - x2a) + 1)) + x2a;
} else {
x2 = x2a;
}
if (!((y1b == null) || (y1a == y1b))) {
y1 = Math.floor(Math.random() * ((y1b - y1a) + 1)) + y1a;
} else {
y1 = y1a;
}
if (!((y2b == null) || (y2a == y2b))) {
y2 = Math.floor(Math.random() * ((y2b - y2a) + 1)) + y2a;
} else {
y2 = y2a;
}
if (!((widthb == null) || (widtha == widthb))) {
width = Math.floor(Math.random() * ((widthb - widtha) + 1)) + widtha;
} else {
width = widtha;
}
if (!((xspdb == null) || (xspda == xspdb))) {
xspd = (Math.floor(Math.random() * ((xspdb - xspda) + 1)) + xspda) / 100;
} else {
xspd = xspda / 100;
}
if (!((yspdb == null) || (yspda == yspdb))) {
yspd = (Math.floor(Math.random() * ((yspdb - yspda) + 1)) + yspda) / 10;
} else {
yspd = yspda / 10;
}
if (!((scaleb == null) || (scalea == scaleb))) {
_xscale = Math.floor(Math.random() * ((scaleb - scalea) + 1)) + scalea;
_yscale = _xscale;
} else {
_xscale = scalea;
_yscale = scalea;
}
if (!((alphab == null) || (alphaa == alphab))) {
_alpha = Math.floor(Math.random() * ((alphab - alphaa) + 1)) + alphaa;
} else {
_alpha = alphaa;
}
if (!((rotb == null) || (rota == rotb))) {
rot = (Math.floor(Math.random() * ((rotb - rota) + 1)) + rota) / 10;
} else {
rot = rota / 10;
}
if (!((dupecb == null) || (dupeca == dupecb))) {
dupec = Math.floor(Math.random() * ((dupecb - dupeca) + 1)) + dupeca;
} else {
dupec = dupeca;
}
theta = Math.floor(Math.random() * (Math.PI * 200)) / 100;
dx = x2 / ((y2 - y1) / yspd);
count = 0;
flag = 0;
stp = 0;
_y = y1;
zure = 0;
if (!_parent.num) {
_parent.num = 0;
}
}
onClipEvent (enterFrame) {
if (stp != 0) {
if (stp != 1) {
if (stp == 2) {
if (objout != 0) {
if (objout != 1) {
if (objout != 2) {
if (objout == 3) {
this._alpha = this._alpha - outalp;
this._xscale = this._xscale + outscl;
this._yscale = this._yscale + outscl;
if ((0 >= _alpha) || (0 >= _xscale)) {
stp = 5;
this.removeMovieClip();
}
}
} else {
this._xscale = this._xscale + outscl;
this._yscale = this._yscale + outscl;
if ((0 >= _xscale) || (0 >= _yscale)) {
stp = 5;
this.removeMovieClip();
}
}
} else {
this._alpha = this._alpha - outalp;
if (0 >= _alpha) {
stp = 5;
this.removeMovieClip();
}
}
} else {
stp = 5;
this.removeMovieClip();
}
}
} else if (remove != 0) {
if (remove != 1) {
if (remove == 2) {
stop();
stp = 5;
}
} else {
remcount--;
if (0 >= remcount) {
stop();
stp = 2;
}
}
} else {
stp = 2;
}
} else {
_x = ((Math.sin(theta) * width) + x1) + zure;
_y = _y + yspd;
_rotation = _rotation + rot;
theta = theta + xspd;
zure = zure + dx;
if (flag == 0) {
count++;
}
if ((count >= dupec) && (flag != 1)) {
_parent.num++;
if (1000000000 < _parent.num) {
_parent.num = 1;
}
flag = 1;
duplicateMovieClip (_parent.a0, "a" + _parent.num, _parent.num);
}
if (y2 >= y1) {
if (y1 < y2) {
if (_y >= y2) {
stp = 1;
}
}
} else if (y2 >= _y) {
stp = 1;
}
}
}
Symbol 20000 Button
on (release) {
gotoAndPlay(10);
}
Symbol 20001 Button
on (release) {
gotoAndPlay(2);
}