Frame 1
stop();
Frame 2
var nameCookie = SharedObject.getLocal("save2");
if (nameCookie.data.cellArray == undefined) {
nameCookie.data.cellArray = [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
_root.back = nameCookie.data.cellArray[0];
_root.colour = nameCookie.data.cellArray[1];
_root.music = true;
gotoAndStop (10);
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((_root.back == 1) || (_root.back == 2)) {
_visible = true;
_x = (_root.all._x / 3);
_y = (_root.all._y / 3);
} else {
_visible = false;
}
}
Instance of Symbol 15 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.back == 2) {
_visible = true;
_x = (_root.all._x / 5);
_y = (_root.all._y / 5);
} else {
_visible = false;
}
}
Instance of Symbol 17 MovieClip in Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
startDrag (this, true);
Mouse.hide();
}
onClipEvent (mouseMove) {
gotoAndPlay (1);
}
Instance of Symbol 23 MovieClip "sound" in Frame 2
on (release, keyPress "w") {
play();
}
Instance of Symbol 27 MovieClip "qual" in Frame 2
on (release, keyPress "q") {
play();
}
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Instance of Symbol 67 MovieClip "backg" in Frame 12
onClipEvent (load) {
gotoAndStop(3 - _root.back);
}
Instance of Symbol 74 MovieClip "col" in Frame 12
onClipEvent (load) {
gotoAndStop(_root.colour);
}
Instance of Symbol 85 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Frame 13
stop();
Frame 19
stop();
Frame 20
_root.weight = 0;
stop();
Instance of Symbol 182 MovieClip "all" in Frame 20
onClipEvent (enterFrame) {
_x = (_x - (((cell._x + _x) - 240) / 10));
_y = (_y - (((cell._y + _y) - 136) / 10));
}
Instance of Symbol 185 MovieClip "hud" in Frame 20
onClipEvent (load) {
_root.count = 0;
var min = _root.nameCookie.data.cellArray[2];
var sec = _root.nameCookie.data.cellArray[3];
}
onClipEvent (enterFrame) {
if (sec < 10) {
_root.hudOut = ((((((_root.weight + " / ") + _root.targetweight) + " ") + min) + ":") + "0") + sec;
} else {
_root.hudOut = (((((_root.weight + " / ") + _root.targetweight) + " ") + min) + ":") + sec;
}
if (_root.count > 29) {
sec++;
(_root.count = 0);
}
if (sec > 59) {
min++;
(sec = 0);
}
if (_root.go) {
_root.count++;
}
}
Instance of Symbol 187 MovieClip "switchweight" in Frame 20
onClipEvent (load) {
this.out = weight;
}
Instance of Symbol 192 MovieClip "levfin" in Frame 20
onClipEvent (enterFrame) {
if ((_currentframe == 6) && (Key.isDown(32))) {
if (((((_root.level == 5) || (_root.level == 10)) || (_root.level == 15)) || (_root.level == 20)) || (_root.level == 22)) {
_root.gotoAndStop(19);
} else {
_root.all.cell._x = 0;
_root.all.cell._y = 0;
_root.all.cell.xs = 0;
_root.all.cell.ys = 0;
_root.weight = 0;
_root.all._x = 240;
_root.all._y = 136;
_root.level = _root.level + 1;
gotoAndStop (2);
}
}
if ((_currentframe == 1) && (Key.isDown(32))) {
_root.go = true;
gotoAndStop (2);
}
if ((_currentframe == 6) && (Key.isDown(76))) {
_root.gotoAndStop(19);
}
if (_root.level > 15) {
if (((((_root.nameCookie.data.cellArray[19] == 1) && (_root.nameCookie.data.cellArray[20] == 1)) && (_root.nameCookie.data.cellArray[21] == 1)) && (_root.nameCookie.data.cellArray[22] == 1)) && (_root.nameCookie.data.cellArray[23] == 1)) {
_root.nameCookie.data.cellArray[26] = _root.hud.min;
_root.nameCookie.data.cellArray[27] = _root.hud.sec;
}
}
}
Symbol 11 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
loadingNum = Math.round(PercentLoaded) + "%";
one._rotation = one._rotation + (Math.round(PercentLoaded) / 20);
two._rotation = two._rotation - (Math.round(PercentLoaded) / 30);
} else {
_root.gotoAndPlay(2);
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 17 MovieClip Frame 45
stop();
Symbol 23 MovieClip Frame 1
if (_root.music == true) {
gotoAndStop (2);
}
if (_root.music == false) {
gotoAndStop (7);
}
Symbol 23 MovieClip Frame 2
stop();
_root.music = true;
Symbol 23 MovieClip Frame 8
stopAllSounds();
stop();
_root.music = false;
Symbol 23 MovieClip Frame 15
gotoAndStop (2);
Symbol 27 MovieClip Frame 1
stop();
_quality = "High";
Symbol 27 MovieClip Frame 3
stop();
_quality = "Medium";
Symbol 27 MovieClip Frame 5
stop();
_quality = "Low";
Symbol 31 Button
on (release) {
gotoAndStop (19);
}
Symbol 33 Button
on (release) {
gotoAndStop (11);
}
Symbol 35 Button
on (release) {
gotoAndStop (12);
}
Symbol 39 Button
on (release) {
gotoAndStop (10);
}
Symbol 43 Button
on (release) {
gotoAndStop (1);
}
Symbol 45 Button
on (release) {
gotoAndStop (2);
}
Symbol 47 Button
on (release) {
gotoAndStop (3);
}
Symbol 49 Button
on (release) {
gotoAndStop (4);
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 59 MovieClip Frame 3
stop();
Symbol 59 MovieClip Frame 4
stop();
Symbol 62 Button
on (release) {
nextFrame();
}
Symbol 64 Button
on (release) {
prevFrame();
}
Symbol 67 MovieClip Frame 1
stop();
_root.back = 2;
_root.nameCookie.data.cellArray[0] = 2;
Symbol 67 MovieClip Frame 2
stop();
_root.back = 1;
_root.nameCookie.data.cellArray[0] = 1;
Symbol 67 MovieClip Frame 3
stop();
_root.back = 0;
_root.nameCookie.data.cellArray[0] = 0;
Symbol 74 MovieClip Frame 1
_root.colour = 1;
_root.nameCookie.data.cellArray[1] = 1;
Symbol 74 MovieClip Frame 2
_root.colour = 2;
_root.nameCookie.data.cellArray[1] = 2;
Symbol 74 MovieClip Frame 3
_root.colour = 3;
_root.nameCookie.data.cellArray[1] = 3;
Symbol 74 MovieClip Frame 4
_root.colour = 4;
_root.nameCookie.data.cellArray[1] = 4;
Symbol 74 MovieClip Frame 5
_root.colour = 5;
_root.nameCookie.data.cellArray[1] = 5;
Symbol 84 Button
on (release) {
_root.nameCookie.data.cellArray = [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_root.backg.gotoAndStop(1);
_root.col.gotoAndStop(1);
}
on (release) {
if (Key.isDown(8) && (Key.isDown(65))) {
_root.nameCookie.data.cellArray = [2, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0];
}
}
Symbol 89 Button
on (release) {
if (((((_root.nameCookie.data.cellArray[4] == 1) && (_root.nameCookie.data.cellArray[5] == 1)) && (_root.nameCookie.data.cellArray[6] == 1)) && (_root.nameCookie.data.cellArray[7] == 1)) && (_root.nameCookie.data.cellArray[8] == 1)) {
nextFrame();
}
}
Symbol 98 Button
on (release) {
if (((((_root.nameCookie.data.cellArray[9] == 1) && (_root.nameCookie.data.cellArray[10] == 1)) && (_root.nameCookie.data.cellArray[11] == 1)) && (_root.nameCookie.data.cellArray[12] == 1)) && (_root.nameCookie.data.cellArray[13] == 1)) {
_visible = true;
nextFrame();
} else {
_visible = false;
}
}
Symbol 105 Button
on (release) {
if (((((_root.nameCookie.data.cellArray[4] == 1) && (_root.nameCookie.data.cellArray[5] == 1)) && (_root.nameCookie.data.cellArray[6] == 1)) && (_root.nameCookie.data.cellArray[7] == 1)) && (_root.nameCookie.data.cellArray[8] == 1)) {
_visible = true;
nextFrame();
} else {
_visible = false;
}
}
Symbol 112 Button
on (release) {
if ((((((_root.nameCookie.data.cellArray[19] == 1) && (_root.nameCookie.data.cellArray[20] == 1)) && (_root.nameCookie.data.cellArray[21] == 1)) && (_root.nameCookie.data.cellArray[22] == 1)) && (_root.nameCookie.data.cellArray[23] == 1)) && (_root.nameCookie.data.cellArray[24] < 15)) {
_visible = true;
nextFrame();
}
}
Symbol 119 Button
on (release) {
if (_root.nameCookie.data.cellArray[24] < 10) {
_visible = true;
nextFrame();
}
}
Symbol 126 MovieClip Frame 1
stop();
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[4] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[4] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 1;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[5] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[5] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 2;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[6] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[6] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 3;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[7] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[7] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 4;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[8] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[8] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 5;
_root.gotoAndStop(20);
}
}
Instance of Symbol 97 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
_y = 50;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 97 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
_y = 80;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 97 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
_y = 110;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 97 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
_y = 140;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 97 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
_y = 170;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 126 MovieClip Frame 2
stop();
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[9] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[9] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 6;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[10] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[10] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 7;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[11] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[11] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 8;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[12] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[12] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 9;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[13] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[13] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 10;
_root.gotoAndStop(20);
}
}
Symbol 126 MovieClip Frame 3
stop();
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[14] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[14] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 11;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[15] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[15] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 12;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[16] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[16] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 13;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[17] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[17] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 14;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[18] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[18] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 15;
_root.gotoAndStop(20);
}
}
Symbol 126 MovieClip Frame 4
stop();
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 4
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[19] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[19] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 16;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 4
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[20] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[20] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 17;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 4
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[21] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[21] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 18;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 4
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[22] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[22] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 19;
_root.gotoAndStop(20);
}
}
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 4
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[23] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[23] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 20;
_root.gotoAndStop(20);
}
}
Symbol 126 MovieClip Frame 5
stop();
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 5
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[24] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[24] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 21;
_root.gotoAndStop(20);
}
}
Instance of Symbol 97 MovieClip "qw" in Symbol 126 MovieClip Frame 5
onClipEvent (load) {
_y = 110;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 126 MovieClip Frame 6
stop();
Instance of Symbol 88 MovieClip in Symbol 126 MovieClip Frame 6
onClipEvent (load) {
if (_root.nameCookie.data.cellArray[25] == 0) {
gotoAndStop (1);
}
if (_root.nameCookie.data.cellArray[25] == 1) {
gotoAndStop (2);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.level = 22;
_root.gotoAndStop(20);
}
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 21
stop();
Symbol 138 MovieClip Frame 41
gotoAndStop (1);
Symbol 161 MovieClip Frame 2
_root.levname = "Intro";
Symbol 161 MovieClip Frame 3
_root.levname = "Corridor";
Instance of Symbol 130 MovieClip "b2" in Symbol 161 MovieClip Frame 3
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Symbol 161 MovieClip Frame 4
_root.levname = "Gathering";
Symbol 161 MovieClip Frame 5
_root.levname = "Specific";
Symbol 161 MovieClip Frame 6
_root.levname = "Hide n Seek";
Symbol 161 MovieClip Frame 7
_root.levname = "The switch";
Symbol 161 MovieClip Frame 8
_root.levname = "Crossroads";
Symbol 161 MovieClip Frame 9
_root.levname = "Gravitation";
Instance of Symbol 144 MovieClip "g2" in Symbol 161 MovieClip Frame 9
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g3" in Symbol 161 MovieClip Frame 9
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g1" in Symbol 161 MovieClip Frame 9
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g4" in Symbol 161 MovieClip Frame 9
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Symbol 161 MovieClip Frame 10
_root.levname = "Sway";
Instance of Symbol 144 MovieClip "g5" in Symbol 161 MovieClip Frame 10
onClipEvent (load) {
var range = 90;
var force = 0.12;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g6" in Symbol 161 MovieClip Frame 10
onClipEvent (load) {
var range = 100;
var force = 0.12;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g7" in Symbol 161 MovieClip Frame 10
onClipEvent (load) {
var range = 100;
var force = 0.12;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g8" in Symbol 161 MovieClip Frame 10
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Symbol 161 MovieClip Frame 11
_root.levname = "It's a squeeze!";
Symbol 161 MovieClip Frame 12
_root.levname = "A 'nice' maze";
Symbol 161 MovieClip Frame 13
_root.levname = "Closure";
Instance of Symbol 130 MovieClip "b7" in Symbol 161 MovieClip Frame 13
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Instance of Symbol 130 MovieClip "b3" in Symbol 161 MovieClip Frame 13
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Instance of Symbol 130 MovieClip "b4" in Symbol 161 MovieClip Frame 13
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Instance of Symbol 130 MovieClip "b5" in Symbol 161 MovieClip Frame 13
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Instance of Symbol 130 MovieClip "b6" in Symbol 161 MovieClip Frame 13
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Instance of Symbol 130 MovieClip "b8" in Symbol 161 MovieClip Frame 13
onClipEvent (load) {
var range = 300;
}
onClipEvent (enterFrame) {
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
_xscale = (range - dist);
_yscale = _xscale;
}
}
Symbol 161 MovieClip Frame 14
_root.levname = "Follow the gravitational road!";
Instance of Symbol 144 MovieClip "g9" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g10" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g11" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g12" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g13" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g14" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g15" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g16" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g17" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g17" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g18" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g19" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g20" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g21" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g22" in Symbol 161 MovieClip Frame 14
onClipEvent (load) {
var range = 100;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Symbol 161 MovieClip Frame 15
_root.levname = "Cellular";
Symbol 161 MovieClip Frame 16
_root.levname = "Elimination";
Symbol 161 MovieClip Frame 17
_root.levname = "Boxed in";
Symbol 161 MovieClip Frame 18
_root.levname = "Trail";
Symbol 161 MovieClip Frame 19
_root.levname = "Think quick";
Instance of Symbol 144 MovieClip "g23" in Symbol 161 MovieClip Frame 19
onClipEvent (load) {
var range = 1000;
var force = 0.4;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Symbol 161 MovieClip Frame 20
_root.levname = "Moons galore!";
Symbol 161 MovieClip Frame 21
_root.levname = "Three quarter circle";
Instance of Symbol 144 MovieClip "g29" in Symbol 161 MovieClip Frame 21
onClipEvent (load) {
var range = 100;
var force = 0.35;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g27" in Symbol 161 MovieClip Frame 21
onClipEvent (load) {
var range = 100;
var force = 0.35;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g25" in Symbol 161 MovieClip Frame 21
onClipEvent (load) {
var range = 100;
var force = 0.35;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g24" in Symbol 161 MovieClip Frame 21
onClipEvent (load) {
var range = 100;
var force = 0.35;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g26" in Symbol 161 MovieClip Frame 21
onClipEvent (load) {
var range = 100;
var force = 0.35;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g28" in Symbol 161 MovieClip Frame 21
onClipEvent (load) {
var range = 100;
var force = 0.35;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Symbol 161 MovieClip Frame 22
_root.levname = "Catacombs";
Symbol 161 MovieClip Frame 23
_root.levname = "Signs";
Instance of Symbol 144 MovieClip "g30" in Symbol 161 MovieClip Frame 23
onClipEvent (load) {
var range = 200;
var force = 0.05;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g30" in Symbol 161 MovieClip Frame 23
onClipEvent (load) {
var range = 300;
var force = 0.1;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g30" in Symbol 161 MovieClip Frame 23
onClipEvent (load) {
var range = 400;
var force = 0.15;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Instance of Symbol 144 MovieClip "g30" in Symbol 161 MovieClip Frame 23
onClipEvent (load) {
var range = 500;
var force = 0.2;
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation + (force * 10));
xdiffer = _x - _root.all.cell._x;
ydiffer = _y - _root.all.cell._y;
dist = Math.round(Math.sqrt((xdiffer * xdiffer) + (ydiffer * ydiffer)));
if (dist < range) {
if (_x < _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs - force;
}
if (_x > _root.all.cell._x) {
_root.all.cell.xs = _root.all.cell.xs + force;
}
if (_y < _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys - force;
}
if (_y > _root.all.cell._y) {
_root.all.cell.ys = _root.all.cell.ys + force;
}
}
}
}
Symbol 161 MovieClip Frame 24
_root.levname = "Happy Mr.Glitch";
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
_root.nameCookie.data.cellArray[_root.level + 3] = 1;
_root.nameCookie.data.cellArray[2] = _root.hud.min;
_root.nameCookie.data.cellArray[3] = _root.hud.sec;
Symbol 164 MovieClip Frame 11
stop();
Symbol 166 MovieClip Frame 1
dead = false;
stop();
Symbol 166 MovieClip Frame 10
stop();
attached = true;
Symbol 166 MovieClip Frame 19
_root.weight = 0;
stop();
attached = false;
Symbol 166 MovieClip Frame 20
dead = true;
Symbol 166 MovieClip Frame 25
_x = startX;
_y = startY;
_rotation = random(360);
gotoAndPlay (32);
attached = false;
parent = "null";
_root.weight = _root.weight - weight;
Symbol 166 MovieClip Frame 26
dead = true;
Symbol 166 MovieClip Frame 31
_x = startX;
_y = startY;
_rotation = random(360);
attached = false;
parent = "null";
Symbol 167 MovieClip Frame 1
dead = false;
stop();
Symbol 167 MovieClip Frame 10
stop();
attached = true;
Symbol 167 MovieClip Frame 19
_root.weight = 0;
stop();
attached = false;
Symbol 167 MovieClip Frame 20
dead = true;
Symbol 167 MovieClip Frame 25
_x = startX;
_y = startY;
_rotation = random(360);
gotoAndPlay (32);
attached = false;
parent = "null";
_root.weight = _root.weight - weight;
Symbol 167 MovieClip Frame 26
dead = true;
Symbol 167 MovieClip Frame 31
_x = startX;
_y = startY;
_rotation = random(360);
attached = false;
parent = "null";
Symbol 168 MovieClip Frame 1
dead = false;
stop();
Symbol 168 MovieClip Frame 10
stop();
attached = true;
Symbol 168 MovieClip Frame 19
_root.weight = 0;
stop();
attached = false;
Symbol 168 MovieClip Frame 20
dead = true;
Symbol 168 MovieClip Frame 25
_x = startX;
_y = startY;
_rotation = random(360);
gotoAndPlay (32);
attached = false;
parent = "null";
_root.weight = _root.weight - weight;
Symbol 168 MovieClip Frame 26
dead = true;
Symbol 168 MovieClip Frame 31
_x = startX;
_y = startY;
_rotation = random(360);
attached = false;
parent = "null";
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
_root.score = _root.score + 200;
Symbol 173 MovieClip Frame 11
stop();
Symbol 174 MovieClip Frame 2
_root.targetweight = 1;
Instance of Symbol 164 MovieClip "fin1" in Symbol 174 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m1" in Symbol 174 MovieClip Frame 2
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 3
_root.targetweight = 2;
Instance of Symbol 164 MovieClip "fin2" in Symbol 174 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m2" in Symbol 174 MovieClip Frame 3
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 4
_root.targetweight = 10;
Instance of Symbol 164 MovieClip "fin3" in Symbol 174 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 168 MovieClip "m7" in Symbol 174 MovieClip Frame 4
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m4" in Symbol 174 MovieClip Frame 4
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m5" in Symbol 174 MovieClip Frame 4
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m6" in Symbol 174 MovieClip Frame 4
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m3" in Symbol 174 MovieClip Frame 4
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 5
_root.targetweight = 20;
Instance of Symbol 164 MovieClip "fin4" in Symbol 174 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m13" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m12" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m11" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m14" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m15" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m16" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m9" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m8" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m10" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m17" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m18" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m19" in Symbol 174 MovieClip Frame 5
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 6
_root.targetweight = 20;
Instance of Symbol 164 MovieClip "fin5" in Symbol 174 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m20" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m21" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m22" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m23" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m24" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m25" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m26" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m27" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m28" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m29" in Symbol 174 MovieClip Frame 6
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 7
_root.targetweight = 5;
Instance of Symbol 164 MovieClip "fin6" in Symbol 174 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m38" in Symbol 174 MovieClip Frame 7
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m37" in Symbol 174 MovieClip Frame 7
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m36" in Symbol 174 MovieClip Frame 7
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 173 MovieClip "s3" in Symbol 174 MovieClip Frame 7
onClipEvent (load) {
var num = 3;
var weight = 4;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Symbol 174 MovieClip Frame 8
_root.targetweight = 1;
Instance of Symbol 164 MovieClip "fin7" in Symbol 174 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m31" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m30" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m32" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m34" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m35" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m33" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 173 MovieClip "s1" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var num = 1;
var weight = 2;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Instance of Symbol 173 MovieClip "s2" in Symbol 174 MovieClip Frame 8
onClipEvent (load) {
var num = 2;
var weight = 5;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Symbol 174 MovieClip Frame 9
_root.targetweight = 4;
Instance of Symbol 164 MovieClip "fin8" in Symbol 174 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m36" in Symbol 174 MovieClip Frame 9
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m37" in Symbol 174 MovieClip Frame 9
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m38" in Symbol 174 MovieClip Frame 9
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m39" in Symbol 174 MovieClip Frame 9
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 10
_root.targetweight = 0;
Instance of Symbol 164 MovieClip "fin9" in Symbol 174 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Symbol 174 MovieClip Frame 11
_root.targetweight = 1;
Instance of Symbol 164 MovieClip "fin10" in Symbol 174 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m40" in Symbol 174 MovieClip Frame 11
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 12
_root.targetweight = 3;
Instance of Symbol 164 MovieClip "fin11" in Symbol 174 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m41" in Symbol 174 MovieClip Frame 12
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m42" in Symbol 174 MovieClip Frame 12
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m43" in Symbol 174 MovieClip Frame 12
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 13
_root.targetweight = 6;
Instance of Symbol 164 MovieClip "fin12" in Symbol 174 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m43" in Symbol 174 MovieClip Frame 13
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m45" in Symbol 174 MovieClip Frame 13
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m44" in Symbol 174 MovieClip Frame 13
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 14
_root.targetweight = 10;
Instance of Symbol 164 MovieClip "fin13" in Symbol 174 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m46" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m47" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m48" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m49" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m50" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m51" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m52" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m53" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m54" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m55" in Symbol 174 MovieClip Frame 14
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 15
_root.targetweight = 16;
Instance of Symbol 164 MovieClip "fin14" in Symbol 174 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m56" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m57" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m58" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m59" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m61" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m60" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m62" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m63" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m64" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m65" in Symbol 174 MovieClip Frame 15
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 16
_root.targetweight = 14;
Instance of Symbol 164 MovieClip "fin15" in Symbol 174 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 168 MovieClip "m66" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m67" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m68" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m69" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m70" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m71" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m72" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m73" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m74" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m75" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 17
_root.targetweight = 8;
Instance of Symbol 164 MovieClip "fin16" in Symbol 174 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 166 MovieClip "m76" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m77" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m78" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m79" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m80" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m81" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m82" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m83" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 173 MovieClip "s4" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var num = 4;
var weight = 7;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Instance of Symbol 173 MovieClip "s5" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var num = 5;
var weight = 7;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Instance of Symbol 173 MovieClip "s7" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var num = 7;
var weight = 13;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Instance of Symbol 173 MovieClip "s6" in Symbol 174 MovieClip Frame 17
onClipEvent (load) {
var num = 6;
var weight = 2;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (_currentframe == 1) {
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true)) {
_root.switchweight.gotoAndPlay(2);
_root.switchweight.out = weight;
if (_root.weight == weight) {
_root.all.land["d" + num].play();
play();
}
}
}
}
}
Symbol 174 MovieClip Frame 18
_root.targetweight = 2;
Instance of Symbol 164 MovieClip "fin17" in Symbol 174 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m84" in Symbol 174 MovieClip Frame 18
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 19
_root.targetweight = 4;
Instance of Symbol 164 MovieClip "fin18" in Symbol 174 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m87" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m86" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m85" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m88" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m89" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m91" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m92" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m90" in Symbol 174 MovieClip Frame 19
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 20
_root.targetweight = 50;
Instance of Symbol 164 MovieClip "fin22" in Symbol 174 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Instance of Symbol 167 MovieClip "m110" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m103" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m116" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m96" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m117" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m95" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m109" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m102" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m94" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m108" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m106" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m113" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m120" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m99" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m115" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m101" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m105" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m112" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m98" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m119" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m97" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m118" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m111" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m107" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m114" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 168 MovieClip "m93" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 3;
var length = 40;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 167 MovieClip "m1104" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 2;
var length = 30;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Instance of Symbol 166 MovieClip "m100" in Symbol 174 MovieClip Frame 20
onClipEvent (load) {
var startX = _x;
var startY = _y;
var attached = false;
var decay = 0.8;
var speed = 10;
_rotation = random(360);
var rs = ((random(2) - 0.5) / 2);
parent = "null";
var weight = 1;
var length = 20;
var height = (length * Math.sin(_rotation));
var width = (length * Math.cos(_rotation));
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_rotation = (_rotation + rs);
if (dead == false) {
if (_root.all[parent].dead) {
gotoAndPlay (20);
}
if (!attached) {
if (parent == "null") {
if (_root.all.cell.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
(_root.weight = _root.weight + weight);
(parent = "cell");
if (_currentframe == 1) {
play();
}
}
}
}
if (_currentframe == 19) {
_x = (_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed));
_x + (Math.sin((-(_rotation + 180)) * (Math.PI/180)) * speed);
_y = (_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed));
_y + (Math.cos((-(_rotation + 180)) * (Math.PI/180)) * speed);
(speed = speed * decay);
}
if (speed < 0.3) {
(attached = false);
(speed = 3);
_rotation = random(360);
random(360);
gotoAndStop (1);
}
_x = _root.all[parent]._x;
_y = _root.all[parent]._y;
_rotation = (_rotation + _root.all[parent].rs);
if (attached) {
height = length * (-Math.sin((_rotation + 90) * (Math.PI/180)));
width = length * (-Math.cos((_rotation + 90) * (Math.PI/180)));
if (_root.all.land.hitTest(((_x + _parent._x) + _root.all._x) + width, ((_y + _parent._y) + _root.all._y) + height, true)) {
gotoAndPlay (20);
(parent = "null");
}
} else if (_root.all.land.hitTest((_x + _parent._x) + _root.all._x, (_y + _parent._y) + _root.all._y, true)) {
gotoAndPlay (26);
(parent = "null");
}
}
}
}
Symbol 174 MovieClip Frame 21
_root.targetweight = 0;
Instance of Symbol 164 MovieClip "fin19" in Symbol 174 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Symbol 174 MovieClip Frame 22
_root.targetweight = 0;
Instance of Symbol 164 MovieClip "fin21" in Symbol 174 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Symbol 174 MovieClip Frame 23
_root.targetweight = 0;
Instance of Symbol 164 MovieClip "fin20" in Symbol 174 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_root.go) {
_rotation = (_rotation+1);
if (this.hitTest(_root.all.cell._x + _root.all._x, _root.all.cell._y + _root.all._y, true) && (_root.weight == _root.targetweight)) {
_root.levfin.play();
_root.go = false;
if (_currentframe == 1) {
play();
}
}
}
}
Symbol 174 MovieClip Frame 24
_root.targetweight = 0;
Symbol 181 MovieClip Frame 1
dead = false;
Instance of Symbol 180 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.colour);
}
Symbol 181 MovieClip Frame 12
stop();
Symbol 181 MovieClip Frame 13
dead = true;
Symbol 181 MovieClip Frame 20
_x = startX;
_y = startY;
xs = 0;
ys = 0;
_root.weight = 0;
_root.score = _root.score - 500;
Instance of Symbol 161 MovieClip "land" in Symbol 182 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.level + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.level + 1);
}
Instance of Symbol 174 MovieClip "moon" in Symbol 182 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.level + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.level + 1);
}
Instance of Symbol 181 MovieClip "cell" in Symbol 182 MovieClip Frame 1
onClipEvent (load) {
var startX = _x;
var startY = _y;
var ys = 0;
var xs = 0;
var accel = 0.5;
var decay = 0.9;
var rs = 0;
var radius = 8;
var cutoff = 0.1;
}
onClipEvent (enterFrame) {
if (_root.go == true) {
if (!dead) {
i = 0;
while (i < 16) {
if (_root.all.land.hitTest((_x + _parent._x) + (Math.sin((i * 22.5) * (Math.PI/180)) * radius), (_y + _parent._y) + (Math.cos((i * 22.5) * (Math.PI/180)) * radius), true)) {
gotoAndPlay (13);
}
i++;
}
_rotation = (_rotation + ((rs = rs * decay)));
_x = (_x + ((xs = xs * decay)));
_y = (_y + ((ys = ys * decay)));
if ((xs < cutoff) && (xs > (-cutoff))) {
xs = 0;
}
if ((ys < cutoff) && (ys > (-cutoff))) {
ys = 0;
}
if ((rs < cutoff) && (rs > (-cutoff))) {
rs = 0;
}
if (Key.isDown(38) && (ys > -10)) {
ys = ys - accel;
}
if (Key.isDown(40) && (ys < 10)) {
ys = ys + accel;
}
if (Key.isDown(37) && (xs > -10)) {
xs = xs - accel;
}
if (Key.isDown(39) && (xs < 10)) {
xs = xs + accel;
}
if (Key.isDown(65) && (rs > -3)) {
rs = rs - accel;
}
if (Key.isDown(83) && (rs < 3)) {
rs = rs + accel;
}
}
}
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 189 Button
on (release) {
_root.nameCookie.data.cellArray[2] = _root.hud.min;
_root.nameCookie.data.cellArray[3] = _root.hud.sec;
gotoAndStop (10);
}
Symbol 192 MovieClip Frame 1
_root.go = false;
stop();
Symbol 192 MovieClip Frame 2
_root.go = true;
stop();
Symbol 192 MovieClip Frame 6
_root.go = false;
stop();