Frame 1
_quality = "best";
_focusrect = false;
Stage.scaleMode = "noScale";
Stage.showMenu = false;
fscommand ("allowscale", true);
_global.gamelanguage = 1;
_global.eng = 0;
var localization_url1 = "http://moregames.agame.com";
var localization_url2 = "http://freegames.agame.com/";
switch (_global.gamelanguage) {
case 1 :
if (_global.eng == 1) {
_root.localization_url1 = "http://www.game.co.in/moregames/";
_root.localization_url2 = "http://www.game.co.in/freegames/";
} else {
var localization_url1 = "http://moregames.agame.com";
var localization_url2 = "http://freegames.agame.com/";
}
break;
case 2 :
_root.localization_url1 = "http://www.spelletjes.nl/moregames/";
_root.localization_url2 = "http://www.spelletjes.nl/freegames/";
break;
case 3 :
_root.localization_url1 = "http://www.jeux.fr/moregames/";
_root.localization_url2 = "http://www.jeux.fr/freegames/";
break;
case 4 :
_root.localization_url1 = "http://www.jetztspielen.de/moregames/";
_root.localization_url2 = "http://www.jetztspielen.de/freegames/";
break;
case 5 :
_root.localization_url1 = "http://www.gry.pl/moregames/";
_root.localization_url2 = "http://www.gry.pl/freegames/";
break;
case 6 :
_root.localization_url1 = "http://www.spela.se/moregames/";
_root.localization_url2 = "http://www.spela.se/freegames/";
break;
case 7 :
_root.localization_url1 = "http://www.gioco.it/moregames/";
_root.localization_url2 = "http://www.gioco.it/freegames/";
break;
case 8 :
_root.localization_url1 = "http://www.ojuegos.com/moregames/";
_root.localization_url2 = "http://www.ojuegos.com/freegames/";
break;
case 9 :
_root.localization_url1 = "http://www.game.com.cn/moregames/";
_root.localization_url2 = "http://www.game.com.cn/downloads/";
}
stop();
Frame 9
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
if (bytetotal <= byteloaded) {
_root.gotoAndPlay("loaded");
} else {
_root.gotoAndPlay("loading");
}
Frame 10
_root.tosoc = 111;
stop();
this.endScreen._visible = false;
illusoft.Game.Main(this.render);
Frame 20
stop();
Symbol 7 MovieClip [clock] Frame 40
gotoAndPlay (1);
Symbol 7 MovieClip [clock] Frame 50
gotoAndPlay (41);
Symbol 29 MovieClip Frame 1
stop();
if ((_global.eng == 1) && (_global.gamelanguage == 1)) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_global.gamelanguage);
}
Symbol 29 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 3
stop();
Symbol 29 MovieClip Frame 4
stop();
Symbol 29 MovieClip Frame 5
stop();
Symbol 29 MovieClip Frame 6
stop();
Symbol 29 MovieClip Frame 7
stop();
Symbol 29 MovieClip Frame 8
stop();
Symbol 29 MovieClip Frame 9
stop();
Symbol 29 MovieClip Frame 10
stop();
Symbol 31 MovieClip Frame 1
var totalB = _root.getBytesTotal();
var loadB = 0;
var percent = 0;
var percenttext;
this.onEnterFrame = function () {
if (percent < 100) {
loadB = _root.getBytesLoaded();
percent = Math.floor((loadB / totalB) * 100);
percenttext = percent.toString() + "%";
bar_mc._xscale = percent;
} else {
_root.gotoAndStop("loaded");
trace(_root._name);
delete this.onEnterFrame;
}
};
url_btn.onPress = function () {
getURL (_root.localization_url1, "_blank");
};
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 9
stop();
Symbol 40 MovieClip Frame 90
this.gotoAndPlay(Math.round(Math.random() * 40) + 1);
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 27
gotoAndStop ("normal");
Symbol 48 MovieClip Frame 37
gotoAndStop ("normal");
Symbol 48 MovieClip Frame 38
stop();
Symbol 48 MovieClip Frame 48
stop();
Symbol 67 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 74 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 81 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 88 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 95 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 102 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 109 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 116 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 123 Button
on (release) {
_root.menu._visible = true;
removeMovieClip(this._parent);
}
Symbol 124 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 124 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 3
stop();
Symbol 124 MovieClip Frame 4
stop();
Symbol 124 MovieClip Frame 5
stop();
Symbol 124 MovieClip Frame 6
stop();
Symbol 124 MovieClip Frame 7
stop();
Symbol 124 MovieClip Frame 8
stop();
Symbol 124 MovieClip Frame 9
stop();
Symbol 131 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 138 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 145 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 152 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 159 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 166 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 173 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 180 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 189 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 190 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 190 MovieClip Frame 2
stop();
Symbol 190 MovieClip Frame 3
stop();
Symbol 190 MovieClip Frame 4
stop();
Symbol 190 MovieClip Frame 5
stop();
Symbol 190 MovieClip Frame 6
stop();
Symbol 190 MovieClip Frame 7
stop();
Symbol 190 MovieClip Frame 8
stop();
Symbol 190 MovieClip Frame 9
stop();
Symbol 203 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 203 MovieClip Frame 2
stop();
Symbol 203 MovieClip Frame 3
stop();
Symbol 203 MovieClip Frame 4
stop();
Symbol 203 MovieClip Frame 5
stop();
Symbol 203 MovieClip Frame 6
stop();
Symbol 203 MovieClip Frame 7
stop();
Symbol 203 MovieClip Frame 8
stop();
Symbol 203 MovieClip Frame 9
stop();
Symbol 205 MovieClip Frame 18
stop();
Symbol 263 MovieClip [Highscores] Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 263 MovieClip [Highscores] Frame 2
stop();
Symbol 263 MovieClip [Highscores] Frame 3
stop();
Symbol 263 MovieClip [Highscores] Frame 4
stop();
Symbol 263 MovieClip [Highscores] Frame 5
stop();
Symbol 263 MovieClip [Highscores] Frame 6
stop();
Symbol 263 MovieClip [Highscores] Frame 7
stop();
Symbol 263 MovieClip [Highscores] Frame 8
stop();
Symbol 263 MovieClip [Highscores] Frame 9
stop();
Symbol 268 MovieClip Frame 21
gotoAndPlay (1);
Symbol 268 MovieClip Frame 45
gotoAndPlay (22);
Symbol 268 MovieClip Frame 69
stop();
Symbol 273 MovieClip Frame 90
this.gotoAndPlay(Math.round(Math.random() * 40) + 1);
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 27
gotoAndStop ("normal");
Symbol 278 MovieClip Frame 37
gotoAndStop ("normal");
Symbol 278 MovieClip Frame 38
stop();
Symbol 278 MovieClip Frame 48
stop();
Symbol 329 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 329 MovieClip Frame 2
stop();
Symbol 329 MovieClip Frame 3
stop();
Symbol 329 MovieClip Frame 4
stop();
Symbol 329 MovieClip Frame 5
stop();
Symbol 329 MovieClip Frame 6
stop();
Symbol 329 MovieClip Frame 7
stop();
Symbol 329 MovieClip Frame 8
stop();
Symbol 329 MovieClip Frame 9
stop();
Symbol 330 MovieClip [info] Frame 1
function StopTimer() {
delete this.onEnterFrame;
}
stop();
illusoft.Game.Instance.currentTile.StartToTime();
this.onEnterFrame = function () {
var _local1 = int(illusoft.Game.Instance.currentTile.GetTimeLeft() / 1000);
var _local2 = _local1 % 60;
txtTime.text = (int(_local1 / 60) + " ") + ((_local2 < 10) ? ("0" + _local2) : (_local2));
if (_local1 < 30) {
if (_local1 > 28) {
timer.gotoAndPlay("alarm");
}
if (_local1 < 1) {
illusoft.Game.Instance.TimeOver();
StopTimer();
}
}
};
Symbol 344 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 344 MovieClip Frame 2
stop();
Symbol 344 MovieClip Frame 3
stop();
Symbol 344 MovieClip Frame 4
stop();
Symbol 344 MovieClip Frame 5
stop();
Symbol 344 MovieClip Frame 6
stop();
Symbol 344 MovieClip Frame 7
stop();
Symbol 344 MovieClip Frame 8
stop();
Symbol 344 MovieClip Frame 9
stop();
Symbol 389 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 389 MovieClip Frame 2
stop();
Symbol 389 MovieClip Frame 3
stop();
Symbol 389 MovieClip Frame 4
stop();
Symbol 389 MovieClip Frame 5
stop();
Symbol 389 MovieClip Frame 6
stop();
Symbol 389 MovieClip Frame 7
stop();
Symbol 389 MovieClip Frame 8
stop();
Symbol 389 MovieClip Frame 9
stop();
Symbol 396 MovieClip [pad] Frame 7
this.txtEn.text = illusoft.Game.Instance.KilledEnemies;
Symbol 396 MovieClip [pad] Frame 13
var time = int(illusoft.Game.Instance.currentTile.GetTimeLeft() / 1000);
var s = (time % 60);
txtTime.text = (int(time / 60) + ":") + ((s < 10) ? ("0" + s) : (s));
var Rtime = SharedObject.getLocal("Agame.starisland").data[illusoft.Game.Instance.currentTile.id];
if (time > Rtime) {
SharedObject.getLocal("Agame.starisland").data[illusoft.Game.Instance.currentTile.id] = time;
SharedObject.getLocal("Agame.starisland").data[illusoft.Game.Instance.currentTile.id].flush();
this.newr._visible = true;
} else {
this.newr._visible = false;
}
Symbol 396 MovieClip [pad] Frame 19
this.txtStar.text = illusoft.Game.Instance.GetStars;
Symbol 396 MovieClip [pad] Frame 25
stop();
illusoft.Game.Instance.Thisscore = ((illusoft.Game.Instance.KilledEnemies * 30) + (int(illusoft.Game.Instance.currentTile.GetTimeLeft() / 1000) * 10)) + 250;
var i = 0;
this.onEnterFrame = function () {
this.txtScore.text = i;
i = i + 50;
if (i > illusoft.Game.Instance.Thisscore) {
this.txtScore.text = illusoft.Game.Instance.Thisscore;
delete this.onEnterFrame;
this.gotoAndPlay("Total");
}
};
Symbol 396 MovieClip [pad] Frame 31
stop();
illusoft.Game.Instance.Totalscore = illusoft.Game.Instance.Totalscore + (int(illusoft.Game.Instance.currentTile.GetTimeLeft() / 1000) * 10);
_root.info1.txtScore.text = illusoft.Game.Instance.Totalscore;
_root.tosoc = illusoft.Game.Instance.Totalscore;
var i = (illusoft.Game.Instance.Totalscore - illusoft.Game.Instance.Thisscore);
this.onEnterFrame = function () {
this.txtTotal.text = i;
i = i + 50;
if (i > illusoft.Game.Instance.Totalscore) {
this.txtTotal.text = illusoft.Game.Instance.Totalscore;
delete this.onEnterFrame;
this.gotoAndPlay("end");
}
};
Symbol 396 MovieClip [pad] Frame 83
if (illusoft.Game.Instance.currentTile.id != "tile012") {
_root.levelmap._visible = true;
_root.levelmap.gotoAndPlay(2);
} else {
this.gotoAndPlay("nextlevel");
illusoft.Game.Instance.GoToNextLevel();
}
Symbol 396 MovieClip [pad] Frame 150
delete this.onEnterFrame;
removeMovieClip(this);
Symbol 434 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 434 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 3
stop();
Symbol 434 MovieClip Frame 4
stop();
Symbol 434 MovieClip Frame 5
stop();
Symbol 434 MovieClip Frame 6
stop();
Symbol 434 MovieClip Frame 7
stop();
Symbol 434 MovieClip Frame 8
stop();
Symbol 434 MovieClip Frame 9
stop();
Symbol 438 MovieClip Frame 48
gotoAndPlay (1);
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 84
this.RotateDone();
Symbol 445 MovieClip Frame 85
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 445 MovieClip Frame 106
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 445 MovieClip Frame 107
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 445 MovieClip Frame 114
this.char.child0.gotoAndStop("hidden");
Symbol 445 MovieClip Frame 127
this.char.child4.gotoAndStop("hidden");
Symbol 445 MovieClip Frame 138
this.char.child2.gotoAndStop("hidden");
Symbol 445 MovieClip Frame 148
this.char.child3.gotoAndStop("hidden");
Symbol 445 MovieClip Frame 160
this.char.child1.gotoAndStop("hidden");
Symbol 445 MovieClip Frame 213
stop();
Symbol 472 MovieClip Frame 12
stop();
Symbol 475 MovieClip Frame 12
stop();
Symbol 478 MovieClip Frame 12
stop();
Symbol 482 MovieClip Frame 12
stop();
Symbol 486 MovieClip Frame 12
stop();
Symbol 490 MovieClip Frame 12
stop();
Symbol 494 MovieClip Frame 12
stop();
Symbol 498 MovieClip Frame 12
stop();
Symbol 502 MovieClip Frame 12
stop();
Symbol 503 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Instance of Symbol 472 MovieClip "lc" in Symbol 503 MovieClip Frame 1
/* no clip actions */
Symbol 503 MovieClip Frame 2
stop();
Instance of Symbol 475 MovieClip "lc" in Symbol 503 MovieClip Frame 2
/* no clip actions */
Symbol 503 MovieClip Frame 3
stop();
Instance of Symbol 478 MovieClip "lc" in Symbol 503 MovieClip Frame 3
/* no clip actions */
Symbol 503 MovieClip Frame 4
stop();
Instance of Symbol 482 MovieClip "lc" in Symbol 503 MovieClip Frame 4
/* no clip actions */
Symbol 503 MovieClip Frame 5
stop();
Instance of Symbol 486 MovieClip "lc" in Symbol 503 MovieClip Frame 5
/* no clip actions */
Symbol 503 MovieClip Frame 6
stop();
Instance of Symbol 490 MovieClip "lc" in Symbol 503 MovieClip Frame 6
/* no clip actions */
Symbol 503 MovieClip Frame 7
stop();
Instance of Symbol 494 MovieClip "lc" in Symbol 503 MovieClip Frame 7
/* no clip actions */
Symbol 503 MovieClip Frame 8
stop();
Instance of Symbol 498 MovieClip "lc" in Symbol 503 MovieClip Frame 8
/* no clip actions */
Symbol 503 MovieClip Frame 9
stop();
Instance of Symbol 502 MovieClip "lc" in Symbol 503 MovieClip Frame 9
/* no clip actions */
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 18
stop();
_root.attachMovie("pad", "pad1", 100005);
Symbol 506 MovieClip [tile001] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(1301, 988.95, 1324, 985.95, true));
edges.push(new Array(1349, 983.95, 1369, 982.95, true));
edges.push(new Array(1324, 985.95, 1349, 983.95, true));
edges.push(new Array(1389, 983.95, 1407, 985.95, true));
edges.push(new Array(1369, 982.95, 1389, 983.95, true));
edges.push(new Array(1441, 991.95, 1455, 995.95, true));
edges.push(new Array(1455, 995.95, 1469.85, 1002.6, true));
edges.push(new Array(1407, 985.95, 1441, 991.95, true));
edges.push(new Array(154.95, 441.925, 152.45, 528.1, true));
edges.push(new Array(153.95, 724.925, 157.95, 757.925, true));
edges.push(new Array(150.95, 627.925, 153.95, 724.925, true));
edges.push(new Array(152.45, 528.1, 150.95, 627.925, true));
edges.push(new Array(154.95, 278.875, 154.95, 441.925, true));
edges.push(new Array(552.975, 934.925, 562.975, 931.925, true));
edges.push(new Array(493.975, 959.95, 505.975, 954.925, true));
edges.push(new Array(536.975, 940.925, 552.975, 934.925, true));
edges.push(new Array(505.975, 954.925, 536.975, 940.925, true));
edges.push(new Array(614.975, 921.925, 632.975, 920.925, true));
edges.push(new Array(578.975, 927.925, 597.975, 923.925, true));
edges.push(new Array(597.975, 923.925, 614.975, 921.925, true));
edges.push(new Array(562.975, 931.925, 578.975, 927.925, true));
edges.push(new Array(445.3, 982.925, 460.975, 975.95, true));
edges.push(new Array(387.95, 1002.95, 404.95, 998.95, true));
edges.push(new Array(334.55, 1008.95, 352.45, 1008.95, true));
edges.push(new Array(352.45, 1008.95, 387.95, 1002.95, true));
edges.push(new Array(460.975, 975.95, 493.975, 959.95, true));
edges.push(new Array(404.95, 998.95, 445.3, 982.925, true));
edges.push(new Array(169.95, 823.925, 186.95, 878.925, true));
edges.push(new Array(204.95, 918.925, 217.95, 937.925, true));
edges.push(new Array(217.95, 937.925, 233.95, 957.95, true));
edges.push(new Array(248.95, 971.95, 265.95, 983.95, true));
edges.push(new Array(233.95, 957.95, 248.95, 971.95, true));
edges.push(new Array(186.95, 878.925, 204.95, 918.925, true));
edges.push(new Array(281.95, 993.95, 298.95, 1000.95, true));
edges.push(new Array(265.95, 983.95, 281.95, 993.95, true));
edges.push(new Array(298.95, 1000.95, 334.55, 1008.95, true));
edges.push(new Array(1085.975, 1077.95, 1116.175, 1062.35, true));
edges.push(new Array(1026.975, 1099.95, 1040.975, 1095.95, true));
edges.push(new Array(993.975, 1105.95, 1009.975, 1103.95, true));
edges.push(new Array(1009.975, 1103.95, 1026.975, 1099.95, true));
edges.push(new Array(1055.975, 1090.95, 1085.975, 1077.95, true));
edges.push(new Array(1040.975, 1095.95, 1055.975, 1090.95, true));
edges.push(new Array(1227, 1010.95, 1272, 995.95, true));
edges.push(new Array(1187.975, 1026.95, 1227, 1010.95, true));
edges.push(new Array(1116.175, 1062.35, 1187.975, 1026.95, true));
edges.push(new Array(666.975, 924.925, 686.975, 930.925, true));
edges.push(new Array(648.975, 921.925, 666.975, 924.925, true));
edges.push(new Array(717.975, 947.925, 728.975, 954.925, true));
edges.push(new Array(703.975, 939.925, 717.975, 947.925, true));
edges.push(new Array(686.975, 930.925, 703.975, 939.925, true));
edges.push(new Array(728.975, 954.925, 751.975, 972.95, true));
edges.push(new Array(858.975, 1063.95, 870.975, 1070.95, true));
edges.push(new Array(843.975, 1053.95, 858.975, 1063.95, true));
edges.push(new Array(820.975, 1035.95, 843.975, 1053.95, true));
edges.push(new Array(945.975, 1101.95, 967.65, 1105.95, true));
edges.push(new Array(910.975, 1090.95, 927.975, 1096.95, true));
edges.push(new Array(927.975, 1096.95, 945.975, 1101.95, true));
edges.push(new Array(870.975, 1070.95, 910.975, 1090.95, true));
edges.push(new Array(751.975, 972.95, 820.975, 1035.95, true));
edges.push(new Array(967.65, 1105.95, 993.975, 1105.95, true));
edges.push(new Array(632.975, 920.925, 648.975, 921.925, true));
edges.push(new Array(157.95, 757.925, 169.95, 823.925, true));
edges.push(new Array(1272, 995.95, 1301, 988.95, true));
edges.push(new Array(1411.75, 862.7, 1398.5, 865.425, false));
edges.push(new Array(1366.5, 867.425, 1336.5, 864.425, false));
edges.push(new Array(1336.5, 864.425, 1307.5, 859.425, false));
edges.push(new Array(1398.5, 865.425, 1366.5, 867.425, false));
edges.push(new Array(1132.475, 692.425, 1127.475, 656.425, false));
edges.push(new Array(1127.475, 656.425, 1125.475, 610.425, false));
edges.push(new Array(1152.475, 738.425, 1143.475, 720.425, false));
edges.push(new Array(1177.475, 776.425, 1152.475, 738.425, false));
edges.push(new Array(1143.475, 720.425, 1132.475, 692.425, false));
edges.push(new Array(1125.475, 610.425, 1113.475, 457.425, false));
edges.push(new Array(1113.475, 457.425, 1085.775, 349.925, false));
edges.push(new Array(1243.5, 832.425, 1220.475, 816.425, false));
edges.push(new Array(1276.5, 849.425, 1243.5, 832.425, false));
edges.push(new Array(1220.475, 816.425, 1200.475, 800.425, false));
edges.push(new Array(1200.475, 800.425, 1177.475, 776.425, false));
edges.push(new Array(1307.5, 859.425, 1276.5, 849.425, false));
var childs = new Array(5);
var normalGravities = new Array();
var helps = new Array();
var rrs = new Array();
childs[0] = new Array(1002.775, 1059.025, 44.35, 44.35, childChar0);
childs[1] = new Array(967.325, 878.725, 44.35, 44.35, childChar1);
childs[2] = new Array(1063.975, 835.075, 44.35, 44.35, childChar2);
childs[3] = new Array(893.625, 1025.125, 44.35, 44.35, childChar3);
childs[4] = new Array(806.325, 958.875, 44.35, 44.35, childChar4);
var portal = new Array(1368.475, 903.5, 193.95, 231.4, portal);
Symbol 536 MovieClip [tile002] Frame 1
stop();
this.groundx = -700;
this.groundy = -252;
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(1426.2, 639.35, 1457, 633.25, true));
edges.push(new Array(1347.925, 633.85, 1370.75, 639.35, true));
edges.push(new Array(1311.6, 611.35, 1325.65, 620.45, true));
edges.push(new Array(1299.6, 608.15, 1311.6, 611.35, true));
edges.push(new Array(1325.65, 620.45, 1347.925, 633.85, true));
edges.push(new Array(1370.75, 639.35, 1426.2, 639.35, true));
edges.push(new Array(1499.2, 632.95, 1511.65, 639.25, true));
edges.push(new Array(1511.65, 639.25, 1533.65, 654.25, true));
edges.push(new Array(1478, 630.25, 1499.2, 632.95, true));
edges.push(new Array(1574.65, 687.25, 1596.65, 704.25, true));
edges.push(new Array(1533.65, 654.25, 1574.65, 687.25, true));
edges.push(new Array(1457, 633.25, 1478, 630.25, true));
edges.push(new Array(1626.65, 725.25, 1651.65, 741.25, true));
edges.push(new Array(1651.65, 741.25, 1679.65, 756.25, true));
edges.push(new Array(1706.65, 768.25, 1739.65, 780.25, true));
edges.push(new Array(1739.65, 780.25, 1779.65, 790.25, true));
edges.push(new Array(1679.65, 756.25, 1706.65, 768.25, true));
edges.push(new Array(1596.65, 704.25, 1626.65, 725.25, true));
edges.push(new Array(1811.65, 795.25, 1848.65, 799.25, true));
edges.push(new Array(1848.65, 799.25, 1890.65, 800.25, true));
edges.push(new Array(1973.65, 798.25, 2021.3, 798.55, true));
edges.push(new Array(1890.65, 800.25, 1973.65, 798.25, true));
edges.push(new Array(1779.65, 790.25, 1811.65, 795.25, true));
edges.push(new Array(745.65, 650.25, 793.35, 667.05, true));
edges.push(new Array(662.65, 599.25, 686.65, 608.25, true));
edges.push(new Array(686.65, 608.25, 726.65, 637.25, true));
edges.push(new Array(726.65, 637.25, 745.65, 650.25, true));
edges.push(new Array(933.4, 646.65, 971.2, 634.45, true));
edges.push(new Array(832.85, 665.55, 887.1, 657.6, true));
edges.push(new Array(887.1, 657.6, 933.4, 646.65, true));
edges.push(new Array(793.35, 667.05, 832.85, 665.55, true));
edges.push(new Array(1055.95, 628.05, 1068.45, 639.05, true));
edges.push(new Array(1011.9, 626.65, 1040.1, 624.4, true));
edges.push(new Array(1040.1, 624.4, 1055.95, 628.05, true));
edges.push(new Array(1255.55, 610.4, 1278.1, 607.05, true));
edges.push(new Array(1237.625, 628.1, 1247.3, 615.9, true));
edges.push(new Array(1224.875, 688.275, 1224.775, 686.3, true));
edges.push(new Array(1224.775, 686.3, 1229, 654.9, true));
edges.push(new Array(1224.75, 686.475, 1224.775, 686.3, true));
edges.push(new Array(1224.875, 688.275, 1224.75, 686.475, true));
edges.push(new Array(1247.3, 615.9, 1255.55, 610.4, true));
edges.push(new Array(1229, 654.9, 1237.625, 628.1, true));
edges.push(new Array(1248.2, 785.35, 1234.2, 751.5, true));
edges.push(new Array(1234.2, 751.5, 1226.7, 715.525, true));
edges.push(new Array(1226.7, 715.525, 1224.875, 688.275, true));
edges.push(new Array(971.2, 634.45, 1011.9, 626.65, true));
edges.push(new Array(610.65, 602.25, 633.65, 598.25, true));
edges.push(new Array(576.65, 616.25, 590.65, 608.25, true));
edges.push(new Array(590.65, 608.25, 610.65, 602.25, true));
edges.push(new Array(552.65, 632.25, 576.65, 616.25, true));
edges.push(new Array(183.15, 1261.8, 197.15, 1265.8, true));
edges.push(new Array(226.15, 1278.8, 240.15, 1285.8, true));
edges.push(new Array(197.15, 1265.8, 226.15, 1278.8, true));
edges.push(new Array(291.15, 1309.8, 319.15, 1313.8, true));
edges.push(new Array(264.15, 1299.8, 278.15, 1305.8, true));
edges.push(new Array(278.15, 1305.8, 291.15, 1309.8, true));
edges.push(new Array(240.15, 1285.8, 264.15, 1299.8, true));
edges.push(new Array(91.15, 1253.8, 111.15, 1252.8, true));
edges.push(new Array(131.15, 1253.8, 149.15, 1255.8, true));
edges.push(new Array(111.15, 1252.8, 131.15, 1253.8, true));
edges.push(new Array(0, 1270.525, 14.15, 1265.8, true));
edges.push(new Array(43.15, 1258.8, 66.15, 1255.8, true));
edges.push(new Array(14.15, 1265.8, 43.15, 1258.8, true));
edges.push(new Array(66.15, 1255.8, 91.15, 1253.8, true));
edges.push(new Array(149.15, 1255.8, 183.15, 1261.8, true));
edges.push(new Array(586.15, 1267.8, 614.15, 1268.8, true));
edges.push(new Array(536.15, 1273.8, 559.15, 1269.8, true));
edges.push(new Array(499.15, 1283.8, 536.15, 1273.8, true));
edges.push(new Array(559.15, 1269.8, 586.15, 1267.8, true));
edges.push(new Array(333.15, 1314.8, 355.15, 1314.8, true));
edges.push(new Array(355.15, 1314.8, 401.15, 1311.8, true));
edges.push(new Array(431.15, 1306.8, 445.15, 1302.8, true));
edges.push(new Array(401.15, 1311.8, 431.15, 1306.8, true));
edges.push(new Array(445.15, 1302.8, 499.15, 1283.8, true));
edges.push(new Array(319.15, 1313.8, 333.15, 1314.8, true));
edges.push(new Array(1268.2, 813.75, 1267.975, 813.45, true));
edges.push(new Array(1283.6, 850.25, 1268.2, 813.75, true));
edges.push(new Array(1136.2, 970.9, 1159.45, 967.4, true));
edges.push(new Array(1159.45, 967.4, 1192.15, 967.5, true));
edges.push(new Array(1277.65, 927.25, 1283.35, 894.6, true));
edges.push(new Array(1233, 973.6, 1248.4, 972, true));
edges.push(new Array(1257.65, 966.15, 1271, 943.4, true));
edges.push(new Array(1271, 943.4, 1277.65, 927.25, true));
edges.push(new Array(1248.4, 972, 1257.65, 966.15, true));
edges.push(new Array(1192.15, 967.5, 1233, 973.6, true));
edges.push(new Array(1283.35, 894.6, 1283.6, 850.25, true));
edges.push(new Array(1112.3, 983.8, 1121.9, 976.3, true));
edges.push(new Array(1092, 1021, 1101, 999.5, true));
edges.push(new Array(1089.25, 1046, 1092, 1021, true));
edges.push(new Array(985.45, 1182.1, 994.75, 1184.1, true));
edges.push(new Array(994.75, 1184.1, 1020.45, 1186.95, true));
edges.push(new Array(1076.65, 1179.25, 1092.65, 1171.25, true));
edges.push(new Array(1056.55, 1186, 1076.65, 1179.25, true));
edges.push(new Array(1105.65, 1157.25, 1110.65, 1138.25, true));
edges.push(new Array(1092.65, 1171.25, 1105.65, 1157.25, true));
edges.push(new Array(1110.75, 1137.75, 1089.25, 1046, true));
edges.push(new Array(1020.45, 1186.95, 1056.55, 1186, true));
edges.push(new Array(1121.9, 976.3, 1136.2, 970.9, true));
edges.push(new Array(1101, 999.5, 1112.3, 983.8, true));
edges.push(new Array(919.15, 1168.75, 928.15, 1167.75, true));
edges.push(new Array(910.15, 1173.75, 919.15, 1168.75, true));
edges.push(new Array(900.15, 1182.75, 910.15, 1173.75, true));
edges.push(new Array(935.15, 1167.75, 958.15, 1172.75, true));
edges.push(new Array(928.15, 1167.75, 935.15, 1167.75, true));
edges.push(new Array(888.15, 1217.75, 890.15, 1205.75, true));
edges.push(new Array(887.15, 1234.8, 888.15, 1217.75, true));
edges.push(new Array(885.15, 1264.8, 887.15, 1251.8, true));
edges.push(new Array(882.15, 1279.8, 885.15, 1264.8, true));
edges.push(new Array(887.15, 1251.8, 887.15, 1234.8, true));
edges.push(new Array(862.15, 1307.8, 874.15, 1295.8, true));
edges.push(new Array(836.15, 1320.8, 850.15, 1315.8, true));
edges.push(new Array(822.15, 1323.8, 836.15, 1320.8, true));
edges.push(new Array(850.15, 1315.8, 862.15, 1307.8, true));
edges.push(new Array(890.15, 1205.75, 894.15, 1192.75, true));
edges.push(new Array(874.15, 1295.8, 882.15, 1279.8, true));
edges.push(new Array(656.15, 1271.8, 670.15, 1273.8, true));
edges.push(new Array(670.15, 1273.8, 692.15, 1279.8, true));
edges.push(new Array(793.15, 1323.8, 807.15, 1324.8, true));
edges.push(new Array(776.15, 1318.8, 793.15, 1323.8, true));
edges.push(new Array(758.15, 1310.8, 776.15, 1318.8, true));
edges.push(new Array(725.15, 1293.8, 758.15, 1310.8, true));
edges.push(new Array(692.15, 1279.8, 725.15, 1293.8, true));
edges.push(new Array(807.15, 1324.8, 822.15, 1323.8, true));
edges.push(new Array(958.15, 1172.75, 985.45, 1182.1, true));
edges.push(new Array(894.15, 1192.75, 900.15, 1182.75, true));
edges.push(new Array(614.15, 1268.8, 656.15, 1271.8, true));
edges.push(new Array(633.65, 598.25, 662.65, 599.25, true));
edges.push(new Array(1267.975, 813.45, 1248.2, 785.35, true));
edges.push(new Array(1278.1, 607.05, 1299.6, 608.15, true));
edges.push(new Array(1833.15, 271.7, 1804.15, 146.7, false));
edges.push(new Array(1847.15, 526.75, 1848.15, 407.75, false));
edges.push(new Array(1893.15, 667.75, 1876.15, 664.75, false));
edges.push(new Array(1876.15, 664.75, 1865.15, 648.75, false));
edges.push(new Array(1929.15, 651.75, 1921.15, 661.75, false));
edges.push(new Array(1921.15, 661.75, 1910.15, 665.75, false));
edges.push(new Array(1942.15, 608.75, 1929.15, 651.75, false));
edges.push(new Array(1910.15, 665.75, 1893.15, 667.75, false));
edges.push(new Array(1865.15, 648.75, 1851.15, 600.75, false));
edges.push(new Array(1851.15, 600.75, 1847.15, 526.75, false));
edges.push(new Array(1848.15, 407.75, 1833.15, 271.7, false));
edges.push(new Array(1946.15, 406.75, 1942.15, 608.75, false));
edges.push(new Array(1075.75, 654.3, 1080.9, 675.6, false));
edges.push(new Array(1066, 636.9, 1075.75, 654.3, false));
edges.push(new Array(1084.9, 712.2, 1081.85, 736.9, false));
edges.push(new Array(1081.85, 736.9, 1071.5, 748.5, false));
edges.push(new Array(1071.5, 748.5, 1047.4, 761, false));
edges.push(new Array(1080.9, 675.6, 1084.55, 711.9, false));
edges.push(new Array(323.15, 290.7, 322.15, 390.7, false));
edges.push(new Array(317.15, 464.75, 319.15, 529.75, false));
edges.push(new Array(308.15, 608.75, 287.15, 682.75, false));
edges.push(new Array(287.15, 682.75, 278.65, 751.25, false));
edges.push(new Array(319.15, 529.75, 308.15, 608.75, false));
edges.push(new Array(524.65, 681.25, 536.65, 651.25, false));
edges.push(new Array(536.65, 651.25, 553.65, 632.25, false));
edges.push(new Array(500.65, 761.25, 509.65, 725.25, false));
edges.push(new Array(509.65, 725.25, 524.65, 681.25, false));
edges.push(new Array(322.15, 390.7, 317.15, 464.75, false));
edges.push(new Array(484.65, 975.25, 481.65, 936.25, false));
edges.push(new Array(631.65, 1057.25, 598.65, 1054.25, false));
edges.push(new Array(505.65, 1017.25, 492.65, 997.25, false));
edges.push(new Array(565.65, 1048.25, 531.65, 1035.25, false));
edges.push(new Array(531.65, 1035.25, 505.65, 1017.25, false));
edges.push(new Array(598.65, 1054.25, 565.65, 1048.25, false));
edges.push(new Array(492.65, 997.25, 484.65, 975.25, false));
edges.push(new Array(481.65, 936.25, 495.65, 799.25, false));
edges.push(new Array(278.65, 813.25, 281.65, 846.25, false));
edges.push(new Array(281.65, 846.25, 283.65, 878.25, false));
edges.push(new Array(289.65, 904.25, 292.65, 932.25, false));
edges.push(new Array(292.65, 960.25, 291.65, 989.25, false));
edges.push(new Array(292.65, 932.25, 292.65, 960.25, false));
edges.push(new Array(283.65, 878.25, 289.65, 904.25, false));
edges.push(new Array(78.65, 1134.25, 49.65, 1129.25, false));
edges.push(new Array(18.65, 1119.25, 8.05, 1113.8, false));
edges.push(new Array(49.65, 1129.25, 18.65, 1119.25, false));
edges.push(new Array(140.65, 1135.25, 108.65, 1137.25, false));
edges.push(new Array(108.65, 1137.25, 78.65, 1134.25, false));
edges.push(new Array(279.65, 1045.25, 271.65, 1067.25, false));
edges.push(new Array(271.65, 1067.25, 256.65, 1086.25, false));
edges.push(new Array(287.65, 1015.25, 279.65, 1045.25, false));
edges.push(new Array(232.65, 1106.25, 202.65, 1119.25, false));
edges.push(new Array(202.65, 1119.25, 174.65, 1128.25, false));
edges.push(new Array(256.65, 1086.25, 232.65, 1106.25, false));
edges.push(new Array(291.65, 989.25, 287.65, 1015.25, false));
edges.push(new Array(174.65, 1128.25, 140.65, 1135.25, false));
edges.push(new Array(929.6, 814.6, 930.65, 832.25, false));
edges.push(new Array(934.65, 857.25, 933.65, 890.25, false));
edges.push(new Array(937.1, 796.95, 929.6, 814.6, false));
edges.push(new Array(930.65, 832.25, 934.65, 857.25, true));
edges.push(new Array(913.65, 948.25, 893.65, 968.25, true));
edges.push(new Array(930.65, 916.25, 913.65, 948.25, true));
edges.push(new Array(933.65, 890.25, 930.65, 916.25, true));
edges.push(new Array(893.65, 968.25, 868.65, 982.25, true));
edges.push(new Array(803.65, 1009.25, 771.65, 1020.25, true));
edges.push(new Array(771.65, 1020.25, 743.65, 1034.25, true));
edges.push(new Array(743.65, 1034.25, 659.65, 1055.25, true));
edges.push(new Array(868.65, 982.25, 833.65, 996.25, true));
edges.push(new Array(833.65, 996.25, 803.65, 1009.25, true));
edges.push(new Array(1048, 761.3, 937.1, 796.95, true));
edges.push(new Array(659.65, 1055.25, 631.65, 1057.25, true));
edges.push(new Array(495.65, 799.25, 500.65, 761.25, true));
edges.push(new Array(278.65, 751.25, 278.65, 813.25, true));
var childs = new Array(5);
var normalGravities = new Array();
var helps = new Array();
var rrs = new Array();
var jetstream = new Array(396.675, 906.7, 221.85, 526.9, jetstream);
childs[0] = new Array(390.325, 1019.125, 44.35, 44.35, childChar0);
childs[1] = new Array(390.325, 840.075, 44.35, 44.35, childChar1);
childs[2] = new Array(403.325, 526.825, 44.35, 44.35, childChar2);
childs[3] = new Array(1152.675, 473.825, 44.35, 44.35, childChar3);
normalGravities.push(new Array(413.725, 613.2, 256.05, 60, normalGravity0));
normalGravities.push(new Array(265.275, 1093.925, 40.95, 242.25, normalGravity1));
normalGravities.push(new Array(527.2, 1073.275, 39.2, 237.35, normalGravity2));
normalGravities.push(new Array(524.675, 703.175, 34.15, 123.95, normalGravity3));
childs[4] = new Array(994.475, 1079.075, 44.35, 44.35, childChar4);
var portal_graph = new Array(110.575, 1191.875, 193.95, 194.15, portal_graph);
var portal = new Array(1895.275, 710.7, 193.95, 199.4, portal);
Symbol 547 MovieClip Frame 1
gotoAndStop ("in");
Symbol 547 MovieClip Frame 9
gotoAndStop ("in");
_parent.mc_jump.play();
Symbol 553 MovieClip Frame 1
stop();
Symbol 553 MovieClip Frame 2
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 5
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 8
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 11
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 15
this.SetCam(0, 20);
_global.sounds.PlaySound("jippie");
Symbol 553 MovieClip Frame 17
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 18
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 22
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 24
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 25
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 27
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 29
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 30
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 33
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 35
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 36
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 38
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 40
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 42
this.SetCam(0, 20);
Symbol 553 MovieClip Frame 45
this.SetCam(20, 20);
Symbol 553 MovieClip Frame 47
this.SetCam(20, 20);
Symbol 553 MovieClip Frame 49
this.SetCam(20, 20);
Symbol 553 MovieClip Frame 50
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 52
this.SetCam(20, 20);
Symbol 553 MovieClip Frame 55
this.SetCam(20, 20);
Symbol 553 MovieClip Frame 57
this.SetCam(20, 20);
Symbol 553 MovieClip Frame 58
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 59
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 60
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 61
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 62
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 63
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 64
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 65
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 66
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 67
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 68
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 69
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 70
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 71
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 72
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 73
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 74
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 76
this.SetCam(20, 0);
Symbol 553 MovieClip Frame 83
stop();
this.AniDone();
Symbol 558 MovieClip [tile003] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(1953.9, 451, 2244.85, 451, true));
edges.push(new Array(1385.3, 1193.7, 1457.35, 1194.45, true));
edges.push(new Array(1313.85, 1209.55, 1385.3, 1193.7, true));
edges.push(new Array(1885.45, 1228.1, 1915.15, 1189.45, true));
edges.push(new Array(1792.7, 1259.95, 1842.2, 1254.7, true));
edges.push(new Array(1842.2, 1254.7, 1885.45, 1228.1, true));
edges.push(new Array(1652.05, 1238.45, 1792.7, 1259.95, true));
edges.push(new Array(1915.15, 1189.45, 1930.2, 1131.85, true));
edges.push(new Array(1457.35, 1194.45, 1652.05, 1238.45, true));
edges.push(new Array(1930.2, 1131.85, 1929.4, 589, true));
edges.push(new Array(1913.9, 432, 1953.9, 451, true));
edges.push(new Array(701.7, 312.8, 740.65, 41.2, true));
edges.push(new Array(715.55, 572.15, 703.25, 434.55, true));
edges.push(new Array(738.9, 686.7, 729.4, 642.8, true));
edges.push(new Array(695.4, 762.7, 715.2, 762.7, true));
edges.push(new Array(715.2, 762.7, 728.7, 740.8, true));
edges.push(new Array(728.7, 740.8, 738.9, 686.7, true));
edges.push(new Array(729.4, 642.8, 715.55, 572.15, true));
edges.push(new Array(703.25, 434.55, 701.7, 312.8, true));
edges.push(new Array(906.35, 282.2, 895.85, 572.05, true));
edges.push(new Array(160.55, 279.45, 149.35, 359.2, true));
edges.push(new Array(241.7, 37.8, 160.55, 279.45, true));
edges.push(new Array(148.55, 402.95, 158.35, 437.35, true));
edges.push(new Array(158.35, 437.35, 153.4, 467.25, true));
edges.push(new Array(151, 512.05, 158.55, 554.75, true));
edges.push(new Array(153.4, 467.25, 151, 512.05, true));
edges.push(new Array(158.55, 554.75, 145.95, 655.25, true));
edges.push(new Array(149.35, 359.2, 148.55, 402.95, true));
edges.push(new Array(143.65, 789.15, 406.9, 781.35, true));
edges.push(new Array(567.5, 833, 590.2, 796.95, true));
edges.push(new Array(514.5, 809, 528.65, 830.5, true));
edges.push(new Array(528.65, 830.5, 567.5, 833, true));
edges.push(new Array(483.25, 794.6, 514.5, 809, true));
edges.push(new Array(946.85, 1122, 943.1, 1186.2, true));
edges.push(new Array(948.45, 1075.15, 946.85, 1122, true));
edges.push(new Array(934.1, 1228.2, 928.6, 1263.35, true));
edges.push(new Array(993.25, 1292.5, 1053.4, 1293.3, true));
edges.push(new Array(928.6, 1263.35, 993.25, 1292.5, true));
edges.push(new Array(943.1, 1186.2, 934.1, 1228.2, true));
edges.push(new Array(638.3, 777.75, 695.4, 762.7, true));
edges.push(new Array(590.2, 796.95, 638.3, 777.75, true));
edges.push(new Array(406.9, 781.35, 483.25, 794.6, true));
edges.push(new Array(895.85, 572.05, 948.45, 1075.15, true));
edges.push(new Array(1053.4, 1293.3, 1313.85, 1209.55, true));
edges.push(new Array(1775.9, 273, 1717.9, 211, false));
edges.push(new Array(1927.85, 315, 1828.85, 304, false));
edges.push(new Array(1828.85, 304, 1775.9, 273, false));
edges.push(new Array(1717.9, 211, 1676.9, 141, false));
edges.push(new Array(1676.9, 141, 1533.9, 34, false));
edges.push(new Array(2268.85, 315, 1927.85, 315, false));
edges.push(new Array(906.35, 284.55, 931.2, 48.05, false));
var childs = new Array(5);
var normalGravities = new Array();
var helps = new Array();
var rrs = new Array();
rrs.push(new Array(1825.25, 1177.725, 268.7, 243.15, roundedRect0));
rrs.push(new Array(1387.575, 973.825, 276.55, 189.45, roundedRect1));
rrs.push(new Array(1848.725, 807.775, 186.55, 189.45, roundedRect2));
rrs.push(new Array(1461.55, 567.05, 280.5, 176.3, roundedRect3));
rrs.push(new Array(1791.5, 513.05, 277.4, 176.3, roundedRect4));
rrs.push(new Array(1059.9, 819.375, 311.1, 170.25, roundedRect5));
rrs.push(new Array(993.75, 654.675, 197.1, 170.25, roundedRect6));
rrs.push(new Array(548.225, 581.45, 183.45, 189.8, roundedRect7));
childs[0] = new Array(1399.175, 795.525, 44.35, 44.35, childChar0);
childs[1] = new Array(1749.825, 991.025, 44.35, 44.35, childChar1);
childs[2] = new Array(972.975, 500.725, 44.35, 44.35, childChar2);
childs[3] = new Array(1154.125, 652.275, 44.35, 44.35, childChar3);
childs[4] = new Array(1429.175, 419.325, 44.35, 44.35, childChar4);
var portal_graph = new Array(102.475, 707.225, 193.95, 194.15, portal_graph);
var portal = new Array(2109.875, 368.2, 193.95, 231.4, portal);
Symbol 572 MovieClip Frame 6
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 7
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 10
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 13
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 20
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 29
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 32
this.SetCam(50, 50);
Symbol 572 MovieClip Frame 35
this.SetCam(50, 50);
Symbol 572 MovieClip Frame 39
this.SetCam(25, 25);
Symbol 572 MovieClip Frame 41
_global.sounds.PlaySound("jippie");
Symbol 572 MovieClip Frame 45
this.SetCam(50, -50);
Symbol 572 MovieClip Frame 47
this.SetCam(25, -50);
Symbol 572 MovieClip Frame 49
this.SetCam(25, -50);
Symbol 572 MovieClip Frame 55
this.SetCam(25, -50);
Symbol 572 MovieClip Frame 80
this.SetCam(0, 50);
Symbol 572 MovieClip Frame 83
this.SetCam(0, 50);
Symbol 572 MovieClip Frame 87
this.SetCam(0, 50);
Symbol 572 MovieClip Frame 92
this.SetCam(0, 50);
Symbol 572 MovieClip Frame 94
this.SetCam(0, 100);
Symbol 572 MovieClip Frame 96
this.SetCam(0, 100);
Symbol 572 MovieClip Frame 99
_global.sounds.PlaySound("water");
Symbol 572 MovieClip Frame 100
stop();
this.AniDone();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 84
this.RotateDone();
Symbol 574 MovieClip Frame 85
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 574 MovieClip Frame 106
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 574 MovieClip Frame 107
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 574 MovieClip Frame 114
this.char.child0.gotoAndStop("hidden");
Symbol 574 MovieClip Frame 127
this.char.child4.gotoAndStop("hidden");
Symbol 574 MovieClip Frame 138
this.char.child2.gotoAndStop("hidden");
Symbol 574 MovieClip Frame 148
this.char.child3.gotoAndStop("hidden");
Symbol 574 MovieClip Frame 160
this.char.child1.gotoAndStop("hidden");
Symbol 574 MovieClip Frame 213
stop();
Symbol 578 MovieClip [tile004] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(999.6, 1902.3, 1102.55, 1902.3, true));
edges.push(new Array(1168.55, 1924.3, 1288.5, 1959.3, true));
edges.push(new Array(1102.55, 1902.3, 1168.55, 1924.3, true));
edges.push(new Array(733.7, 1951.3, 761.7, 1979.25, true));
edges.push(new Array(721.8, 1915.3, 733.7, 1951.3, true));
edges.push(new Array(817.7, 1991.25, 845.65, 1980.25, true));
edges.push(new Array(794.7, 1991.25, 817.7, 1991.25, true));
edges.push(new Array(940.65, 1922.3, 999.6, 1902.3, true));
edges.push(new Array(845.65, 1980.25, 940.65, 1922.3, true));
edges.push(new Array(761.7, 1979.25, 794.7, 1991.25, true));
edges.push(new Array(2131.85, 1929.3, 2195.85, 1929.3, true));
edges.push(new Array(1983.9, 1904.3, 2131.85, 1929.3, true));
edges.push(new Array(2195.85, 1929.3, 2293.85, 1901.3, true));
edges.push(new Array(1645.95, 1915.3, 1752.9, 1902.3, true));
edges.push(new Array(1848.9, 1875.3, 1903.9, 1874.3, true));
edges.push(new Array(1752.9, 1902.3, 1848.9, 1875.3, true));
edges.push(new Array(1370.5, 1959.3, 1444.45, 1939.3, true));
edges.push(new Array(1507.4, 1914.3, 1555.95, 1907.3, true));
edges.push(new Array(1444.45, 1939.3, 1507.4, 1914.3, true));
edges.push(new Array(1555.95, 1907.3, 1645.95, 1915.3, true));
edges.push(new Array(1903.9, 1874.3, 1983.9, 1904.3, true));
edges.push(new Array(1288.5, 1959.3, 1370.5, 1959.3, true));
edges.push(new Array(721.8, 526.7, 721.8, 1915.3, true));
edges.push(new Array(1898.85, 1009.35, 1795.85, 1034.35, false));
edges.push(new Array(1795.85, 1034.35, 1679.9, 1034.35, false));
edges.push(new Array(1514.9, 1004.35, 1462.9, 1004.35, false));
edges.push(new Array(1462.9, 1004.35, 1361.9, 1024.35, false));
edges.push(new Array(1679.9, 1034.35, 1514.9, 1004.35, false));
edges.push(new Array(2148.85, 1046.35, 2124.85, 1025.35, false));
edges.push(new Array(2158.025, 1092.225, 2148.85, 1046.35, false));
edges.push(new Array(2124.85, 1025.35, 2041.85, 1004.35, false));
edges.push(new Array(2160.9, 1437.3, 2160.9, 1236.3, false));
edges.push(new Array(2160.9, 1236.3, 2158.025, 1092.225, false));
edges.push(new Array(2041.85, 1004.35, 1898.85, 1009.35, false));
edges.push(new Array(1263.95, 1024.35, 1048.8, 972.65, false));
edges.push(new Array(2332.9, 1774.3, 2274.9, 1758.3, false));
edges.push(new Array(2229.9, 1725.3, 2197.9, 1671.3, false));
edges.push(new Array(2197.9, 1671.3, 2176.9, 1588.3, false));
edges.push(new Array(2274.9, 1758.3, 2229.9, 1725.3, false));
edges.push(new Array(2176.9, 1588.3, 2160.9, 1437.3, false));
edges.push(new Array(1361.9, 1024.35, 1263.95, 1024.35, false));
var childs = new Array(5);
var normalGravities = new Array();
var helps = new Array();
var rrs = new Array();
rrs.push(new Array(993.075, 1148.125, 165.25, 1138.95, roundedRect0));
rrs.push(new Array(1384, 1270.725, 204.6, 163.05, roundedRect1));
rrs.push(new Array(1759.3, 1269.625, 204.6, 163.05, roundedRect2));
rrs.push(new Array(1384, 1591.775, 204.6, 163.05, roundedRect3));
rrs.push(new Array(1759.15, 1591.775, 204.6, 163.05, roundedRect4));
childs[0] = new Array(1722.775, 1785.825, 44.35, 44.35, childChar0);
childs[1] = new Array(1342.525, 1107.575, 44.35, 44.35, childChar1);
childs[2] = new Array(1359.525, 1430.775, 44.35, 44.35, childChar2);
childs[3] = new Array(1804.975, 1108.575, 44.35, 44.35, childChar3);
childs[4] = new Array(1793.025, 1423.025, 44.35, 44.35, childChar4);
var portal = new Array(2339.575, 1824.05, 193.95, 199.4, portal);
var portal_graph = new Array(109.875, 355.675, 193.95, 194.15, portal_graph);
Symbol 590 MovieClip Frame 1
gotoAndStop ("in");
Symbol 590 MovieClip Frame 9
gotoAndStop ("in");
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 18
stop();
Symbol 598 MovieClip [tile005] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(1723.4, 840.9, 1770.4, 804.9, true));
edges.push(new Array(1686.4, 909.9, 1723.4, 840.9, true));
edges.push(new Array(1667.45, 1135.9, 1686.4, 909.9, true));
edges.push(new Array(1447.75, 1317, 1593.45, 1316.85, true));
edges.push(new Array(1624.45, 1302.85, 1648.45, 1256.85, true));
edges.push(new Array(1648.45, 1256.85, 1667.45, 1135.9, true));
edges.push(new Array(1593.45, 1316.85, 1624.45, 1302.85, true));
edges.push(new Array(1770.4, 804.9, 1823.55, 790.9, true));
edges.push(new Array(1823.55, 790.9, 2167.4, 790.9, true));
edges.push(new Array(147.65, 1297.9, 266.9, 1336, true));
edges.push(new Array(590.25, 1377.75, 602, 1351.05, true));
edges.push(new Array(355.3, 1336, 471.2, 1326.35, true));
edges.push(new Array(538.2, 1394, 569.45, 1394, true));
edges.push(new Array(471.05, 1326.05, 478.7, 1327.7, true));
edges.push(new Array(478.7, 1327.7, 483.35, 1331.4, true));
edges.push(new Array(483.35, 1331.4, 488.05, 1335.4, true));
edges.push(new Array(488.05, 1335.4, 492.35, 1341.4, true));
edges.push(new Array(492.35, 1341.4, 497.7, 1351.7, true));
edges.push(new Array(497.7, 1351.7, 502.7, 1362.7, true));
edges.push(new Array(502.7, 1362.7, 509.35, 1373.05, true));
edges.push(new Array(569.45, 1394, 590.25, 1377.75, true));
edges.push(new Array(510.85, 1374.5, 538.2, 1394, true));
edges.push(new Array(266.9, 1336, 355.3, 1336, true));
edges.push(new Array(921.55, 1335.45, 949.55, 1308.1, true));
edges.push(new Array(909.85, 1363.4, 921.55, 1335.45, true));
edges.push(new Array(814.15, 1405.05, 832.4, 1429.8, true));
edges.push(new Array(860.35, 1438.9, 887.05, 1427.85, true));
edges.push(new Array(832.4, 1429.8, 860.35, 1438.9, true));
edges.push(new Array(887.05, 1427.85, 909.85, 1389.45, true));
edges.push(new Array(909.85, 1389.45, 909.85, 1363.4, true));
edges.push(new Array(721.6, 1344.05, 746.8, 1351.65, true));
edges.push(new Array(746.8, 1351.65, 768.25, 1360.45, true));
edges.push(new Array(768.25, 1360.45, 785.05, 1369.7, true));
edges.push(new Array(785.05, 1369.7, 795.1, 1378.5, true));
edges.push(new Array(795.1, 1378.5, 804.35, 1389.45, true));
edges.push(new Array(804.35, 1389.45, 810.25, 1398.25, true));
edges.push(new Array(810.25, 1398.25, 813.6, 1403.3, true));
edges.push(new Array(1146.4, 1325.4, 1154.4, 1313.05, true));
edges.push(new Array(1154.4, 1313.05, 1158.05, 1304.7, true));
edges.push(new Array(1158.05, 1304.7, 1162.7, 1294.35, true));
edges.push(new Array(1162.7, 1294.35, 1167.05, 1287.7, true));
edges.push(new Array(1167.05, 1287.7, 1173.05, 1282.35, true));
edges.push(new Array(1173.05, 1282.35, 1179.7, 1279.7, true));
edges.push(new Array(1179.7, 1279.7, 1186.7, 1279.35, true));
edges.push(new Array(1186.7, 1279.35, 1195.05, 1281.05, true));
edges.push(new Array(1195.05, 1281.05, 1202.4, 1282.7, true));
edges.push(new Array(1202.4, 1282.7, 1209.05, 1285.7, true));
edges.push(new Array(1209.05, 1285.7, 1216.4, 1288.35, true));
edges.push(new Array(1001.35, 1285.75, 1016.8, 1283.25, true));
edges.push(new Array(1016.8, 1283.25, 1030.6, 1284.5, true));
edges.push(new Array(1030.6, 1284.5, 1038.95, 1285.75, true));
edges.push(new Array(1038.95, 1285.75, 1046.9, 1289.5, true));
edges.push(new Array(1046.9, 1289.5, 1053.55, 1296.2, true));
edges.push(new Array(1053.55, 1296.2, 1059.4, 1303.7, true));
edges.push(new Array(1059.4, 1303.7, 1064, 1314.15, true));
edges.push(new Array(1064, 1314.15, 1067.35, 1325.85, true));
edges.push(new Array(1094.65, 1340, 1126.55, 1340, true));
edges.push(new Array(1068, 1326.35, 1094.65, 1340, true));
edges.push(new Array(1126.55, 1340, 1146.75, 1325.7, true));
edges.push(new Array(949.55, 1308.1, 1001.6, 1285.95, true));
edges.push(new Array(602.05, 1350.45, 607.6, 1341.5, true));
edges.push(new Array(607.6, 1341.5, 614.45, 1336.8, true));
edges.push(new Array(614.45, 1336.8, 622.1, 1332.55, true));
edges.push(new Array(622.1, 1332.55, 630.25, 1330, true));
edges.push(new Array(630.25, 1330, 639.2, 1329.15, true));
edges.push(new Array(639.2, 1329.15, 650.7, 1329.15, true));
edges.push(new Array(650.7, 1329.15, 721.95, 1344.05, true));
edges.push(new Array(1217, 1287.95, 1447.75, 1317, true));
edges.push(new Array(1851.75, 642.25, 1831.55, 621.15, false));
edges.push(new Array(1893.6, 650.35, 1851.75, 642.25, false));
edges.push(new Array(1831.55, 621.15, 1821.4, 583.55, false));
edges.push(new Array(1821.4, 583.55, 1813.3, 257.7, false));
edges.push(new Array(2139.35, 643.625, 1893.6, 650.35, false));
edges.push(new Array(228.75, 1097.5, 170.1, 1150.25, false));
edges.push(new Array(263, 1018.35, 228.8, 1096.55, false));
edges.push(new Array(284.5, 909.85, 263, 1018.35, false));
edges.push(new Array(290.3, 678.1, 284.5, 909.85, false));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var normalGravities = new Array();
var helps = new Array();
var rrs = new Array();
childs[0] = new Array(1870.525, 712.625, 44.35, 44.35, childChar0);
childs[1] = new Array(856.225, 1410.225, 44.35, 44.35, childChar1);
childs[2] = new Array(553.925, 1369.575, 44.35, 44.35, childChar2);
childs[3] = new Array(1595.275, 932.625, 44.35, 44.35, childChar3);
childs[4] = new Array(1106.425, 1314.575, 44.35, 44.35, childChar4);
var portal_graph = new Array(118.275, 1219.475, 193.95, 194.15, portal_graph);
var portal = new Array(2067.675, 724.8, 193.95, 199.4, portal);
Symbol 619 MovieClip Frame 1
stop();
this._visible = false;
Symbol 620 MovieClip Frame 1
stop();
this._visible = false;
Symbol 628 MovieClip Frame 1
time = 1;
Symbol 628 MovieClip Frame 34
_parent.n1.gotoAndPlay(2);
Symbol 628 MovieClip Frame 78
_parent._parent.char.face_mc.gotoAndStop("normal");
Symbol 628 MovieClip Frame 79
if (time < 2) {
gotoAndPlay ("throw");
time++;
}
Symbol 628 MovieClip Frame 199
gotoAndPlay ("appear");
Symbol 628 MovieClip Frame 215
stop();
Symbol 630 MovieClip Frame 1
time = 1;
Symbol 630 MovieClip Frame 34
_parent.n2.gotoAndPlay(2);
Symbol 630 MovieClip Frame 78
_parent._parent.char.face_mc.gotoAndStop("normal");
Symbol 630 MovieClip Frame 79
if (time < 2) {
gotoAndPlay ("throw");
time++;
}
Symbol 630 MovieClip Frame 199
gotoAndPlay ("appear");
Symbol 630 MovieClip Frame 215
stop();
Symbol 632 MovieClip Frame 1
time = 1;
Symbol 632 MovieClip Frame 34
_parent.n3.gotoAndPlay(2);
Symbol 632 MovieClip Frame 78
_parent._parent.char.face_mc.gotoAndStop("normal");
Symbol 632 MovieClip Frame 79
if (time < 2) {
gotoAndPlay ("throw");
time++;
}
Symbol 632 MovieClip Frame 199
gotoAndPlay ("appear");
Symbol 632 MovieClip Frame 215
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 2
if (((illusoft.Game.Instance.character.GetPosition().x > 1020) && (illusoft.Game.Instance.character.GetPosition().x < 2000)) && (illusoft.Game.Instance.character.GetPosition().y > 1400)) {
_global.sounds.PlaySound("fei");
}
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
if ((((illusoft.Game.Instance.character.GetPosition().x > 1300) && (illusoft.Game.Instance.character.GetPosition().x < 2200)) && (illusoft.Game.Instance.character.GetPosition().y > 900)) && (illusoft.Game.Instance.character.GetPosition().y < 1350)) {
_global.sounds.PlaySound("fei");
}
Symbol 637 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 2
if ((((illusoft.Game.Instance.character.GetPosition().x > 300) && (illusoft.Game.Instance.character.GetPosition().x < 1150)) && (illusoft.Game.Instance.character.GetPosition().y > 650)) && (illusoft.Game.Instance.character.GetPosition().y < 950)) {
_global.sounds.PlaySound("fei");
}
Symbol 638 MovieClip Frame 1
stop();
star_mc._visible = false;
Symbol 638 MovieClip Frame 2
star_mc._visible = false;
_global.sounds.PlaySound("boing");
Symbol 638 MovieClip Frame 78
star_mc._visible = false;
_parent.char._visible = true;
illusoft.Game.Instance.currentTile.startJump = false;
gotoAndStop (1);
Symbol 639 MovieClip [tile006] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(135.75, 456, 135.75, 617.4, true));
edges.push(new Array(135.75, 617.4, 134.9, 889.85, true));
edges.push(new Array(134.9, 889.85, 131.5, 1222.85, true));
edges.push(new Array(131.5, 1222.85, 127.65, 1368.45, true));
edges.push(new Array(127.65, 1368.45, 256.2, 1370.95, true));
edges.push(new Array(256.2, 1370.95, 373.75, 1374.3, true));
edges.push(new Array(373.75, 1374.3, 480.55, 1381.3, true));
edges.push(new Array(480.55, 1381.3, 609.9, 1388.85, true));
edges.push(new Array(609.9, 1388.85, 778.7, 1391.1, true));
edges.push(new Array(778.7, 1391.1, 835.9, 1391.95, true));
edges.push(new Array(835.9, 1391.95, 935.8, 1392.8, true));
edges.push(new Array(935.8, 1392.8, 971.85, 1393.2, true));
edges.push(new Array(971.85, 1393.2, 982.95, 1395.3, true));
edges.push(new Array(982.95, 1395.3, 994.5, 1397, true));
edges.push(new Array(994.5, 1397, 1005.6, 1400, true));
edges.push(new Array(1005.6, 1400, 1012, 1402.6, true));
edges.push(new Array(1012, 1402.6, 1018.85, 1406, true));
edges.push(new Array(1018.85, 1406, 1022.25, 1409.4, true));
edges.push(new Array(1022.25, 1409.4, 1027.35, 1414.95, true));
edges.push(new Array(1027.35, 1414.95, 1031.2, 1422.25, true));
edges.push(new Array(1031.2, 1422.25, 1034.2, 1431.2, true));
edges.push(new Array(1034.2, 1431.2, 1035.05, 1441.9, true));
edges.push(new Array(1035.05, 1441.9, 1035.65, 1517.5, true));
edges.push(new Array(1035.65, 1517.5, 1033.95, 1651.5, true));
edges.push(new Array(1033.95, 1651.5, 1025.4, 1678.05, true));
edges.push(new Array(1025.4, 1678.05, 1001.85, 1692.2, true));
edges.push(new Array(1001.85, 1692.2, 872.95, 1690.85, true));
edges.push(new Array(872.95, 1690.85, 752.6, 1690.75, true));
edges.push(new Array(752.6, 1690.75, 602.9, 1690.7, true));
edges.push(new Array(602.9, 1690.7, 546.55, 1688.1, true));
edges.push(new Array(546.55, 1688.1, 475.2, 1686.4, true));
edges.push(new Array(475.2, 1686.4, 347.9, 1681.65, true));
edges.push(new Array(347.9, 1681.65, 347.35, 1856.7, true));
edges.push(new Array(347.35, 1856.7, 475.8, 1861.45, true));
edges.push(new Array(475.8, 1861.45, 566.95, 1875.35, true));
edges.push(new Array(566.95, 1875.35, 623.2, 1873.9, true));
edges.push(new Array(623.2, 1873.9, 680.3, 1865.95, true));
edges.push(new Array(680.3, 1865.95, 739.75, 1858.75, true));
edges.push(new Array(739.75, 1858.75, 812.15, 1859.7, true));
edges.push(new Array(812.15, 1859.7, 865.85, 1859.25, true));
edges.push(new Array(865.85, 1859.25, 948.35, 1863.55, true));
edges.push(new Array(948.35, 1863.55, 1034.15, 1865.95, true));
edges.push(new Array(1034.15, 1865.95, 1097.45, 1867.35, true));
edges.push(new Array(1097.45, 1867.35, 1409.55, 1872.35, true));
edges.push(new Array(1409.55, 1872.35, 1586.35, 1875.55, true));
edges.push(new Array(1586.35, 1875.55, 1760.7, 1872.15, true));
edges.push(new Array(1760.7, 1872.15, 1846.7, 1859.2, true));
edges.push(new Array(1846.7, 1859.2, 1947.85, 1830.95, true));
edges.push(new Array(1947.85, 1830.95, 1979.95, 1824.45, true));
edges.push(new Array(1979.95, 1824.45, 2134, 1815.8, true));
edges.push(new Array(2134, 1815.8, 2329.45, 1821.1, true));
edges.push(new Array(2329.45, 1821.1, 2448.4, 1831.2, true));
edges.push(new Array(2448.4, 1831.2, 2444.05, 1751.3, true));
edges.push(new Array(2444.05, 1751.3, 2442.85, 1642.9, true));
edges.push(new Array(2442.85, 1642.9, 2449.45, 1504.65, true));
edges.push(new Array(2449.45, 1504.65, 2466.1, 1307.05, true));
edges.push(new Array(2466.1, 1307.05, 2480.95, 1151.2, true));
edges.push(new Array(2480.95, 1151.2, 2503.55, 994.15, true));
edges.push(new Array(2503.55, 994.15, 2491.4, 931.5, true));
edges.push(new Array(2491.4, 931.5, 2466.15, 902.85, true));
edges.push(new Array(2466.15, 902.85, 2365.1, 843.55, true));
edges.push(new Array(2365.1, 843.55, 2306.35, 841.65, true));
edges.push(new Array(2306.35, 841.65, 2278.2, 769.3, true));
edges.push(new Array(2278.2, 769.3, 2295.7, 710.55, true));
edges.push(new Array(2295.7, 710.55, 2352.95, 672.15, true));
edges.push(new Array(2352.95, 672.15, 2570.65, 638.8, true));
edges.push(new Array(2570.65, 638.8, 2642.35, 627.75, true));
edges.push(new Array(2642.35, 627.75, 2768.4, 611.2, true));
edges.push(new Array(2768.4, 611.2, 2753.3, 428.2, true));
edges.push(new Array(2753.3, 428.2, 2710.95, 420.9, true));
edges.push(new Array(2710.95, 420.9, 2632.65, 353.8, true));
edges.push(new Array(2632.65, 353.8, 2579.05, 197.55, true));
edges.push(new Array(2579.05, 197.55, 2579.55, 88.05, true));
edges.push(new Array(2579.55, 88.05, 2713.4, 27.25, true));
edges.push(new Array(755.25, 657.7, 922.45, 639.25, true));
edges.push(new Array(922.45, 639.25, 1214.8, 668.9, true));
edges.push(new Array(312.9, 813.6, 473.35, 782.95, true));
edges.push(new Array(473.35, 782.95, 553.15, 782.95, true));
edges.push(new Array(553.15, 782.95, 653.55, 800.55, true));
edges.push(new Array(779.35, 959.1, 887.35, 942.2, true));
edges.push(new Array(887.35, 942.2, 1011.4, 945.6, true));
edges.push(new Array(1011.4, 945.6, 1160.05, 971.85, true));
edges.push(new Array(1243.65, 1376.3, 1414.5, 1345.35, true));
edges.push(new Array(1414.5, 1345.35, 1531.05, 1347.95, true));
edges.push(new Array(1531.05, 1347.95, 1621.3, 1362.75, true));
edges.push(new Array(1729.05, 1239, 1918.6, 1230.8, true));
edges.push(new Array(1918.6, 1230.8, 2015.55, 1255.9, true));
edges.push(new Array(1275.05, 1126.1, 1485.6, 1104.25, true));
edges.push(new Array(1485.6, 1104.25, 1617.1, 1121.55, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var normalGravities = new Array();
var helps = new Array();
var rrs = new Array();
rrs.push(new Array(1294.6, 1851.3, 86.8, 127.3, roundedRect0));
var jetstream = new Array(2208.9, 1571.3, 150, 600, jetstream);
normalGravities.push(new Array(2116.8, 1547, 40, 600, normalGravity1));
normalGravities.push(new Array(2196.8, 1249.3, 277, 40, normalGravity2));
normalGravities.push(new Array(2296, 1547, 40, 600, normalGravity3));
childs[0] = new Array(1210.5, 1823.8, 44.35, 44.35, childChar0);
childs[1] = new Array(2439.4, 619.6, 44.35, 44.35, childChar1);
childs[2] = new Array(1894.2, 1106.6, 44.35, 44.35, childChar2);
childs[3] = new Array(371.1, 1297.2, 44.35, 44.35, childChar3);
childs[4] = new Array(363.6, 743, 44.35, 44.35, childChar4);
var portal = new Array(2837.7, 514.5, 168.8, 194.3, portal);
Instance of Symbol 638 MovieClip "jump_mc" in Symbol 639 MovieClip [tile006] Frame 1
on (release) {
trace(this._x);
}
Symbol 647 MovieClip Frame 80
gotoAndPlay (1);
Symbol 647 MovieClip Frame 81
stop();
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 2
if (((illusoft.Game.Instance.character.GetPosition().x > 1000) && (illusoft.Game.Instance.character.GetPosition().x < 1700)) && (illusoft.Game.Instance.character.GetPosition().y > 1100)) {
_global.sounds.PlaySound("stoneboing");
}
Symbol 664 MovieClip Frame 24
_parent.gotoAndPlay(1);
this.gotoAndStop(1);
Symbol 665 MovieClip Frame 700
stop();
this.sb.gotoAndPlay(2);
Symbol 667 MovieClip Frame 1
this._visible = false;
removeMovieClip(this);
Symbol 668 MovieClip [tile007] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
function addStation(startNum, endNum) {
i = startNum;
while (i <= endNum) {
var myrrs = eval ("roundedRect" + i);
rrs.push(new Array(myrrs._x, myrrs._y, myrrs._width, myrrs._height, myrrs));
i++;
}
}
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(1177.75, 225.15, 1026.6, 234.35, true));
edges.push(new Array(1026.6, 234.35, 950.2, 259.85, true));
edges.push(new Array(950.2, 259.85, 906.35, 405.65, true));
edges.push(new Array(906.35, 405.65, 903.85, 479.6, true));
edges.push(new Array(903.85, 479.6, 905.5, 556.85, true));
edges.push(new Array(905.5, 556.85, 919.7, 954.55, true));
edges.push(new Array(919.7, 954.55, 939.6, 1005.55, true));
edges.push(new Array(939.6, 1005.55, 1021.2, 1010.1, true));
edges.push(new Array(1021.2, 1010.1, 1234.45, 1007.95, true));
edges.push(new Array(1234.45, 1007.95, 1363.3, 1003.7, true));
edges.push(new Array(1363.3, 1003.7, 1383.1, 1006.8, true));
edges.push(new Array(1383.1, 1006.8, 1395.75, 1013.95, true));
edges.push(new Array(1395.75, 1013.95, 1406.25, 1024.85, true));
edges.push(new Array(1406.25, 1024.85, 1411.25, 1036.6, true));
edges.push(new Array(1411.25, 1036.6, 1414.2, 1050.5, true));
edges.push(new Array(1414.2, 1050.5, 1420.1, 1085.75, true));
edges.push(new Array(1420.1, 1085.75, 1427.6, 1145.8, true));
edges.push(new Array(1427.6, 1145.8, 1448.65, 1174.35, true));
edges.push(new Array(1448.65, 1174.35, 1500.7, 1173.95, true));
edges.push(new Array(1500.7, 1173.95, 1521.3, 1147.9, true));
edges.push(new Array(1521.3, 1147.9, 1528.85, 1078.6, true));
edges.push(new Array(1528.85, 1078.6, 1534.35, 1053.4, true));
edges.push(new Array(1534.35, 1053.4, 1541.5, 1037.9, true));
edges.push(new Array(1541.5, 1037.9, 1554.1, 1023.6, true));
edges.push(new Array(1554.1, 1023.6, 1570.45, 1014.8, true));
edges.push(new Array(1570.45, 1014.8, 1588.95, 1008.35, true));
edges.push(new Array(1588.95, 1008.35, 1640.55, 1008.25, true));
edges.push(new Array(1640.55, 1008.25, 1899.05, 1012.25, true));
edges.push(new Array(1899.05, 1012.25, 1916.35, 988.6, true));
edges.push(new Array(1916.35, 988.6, 1968.75, 989.4, true));
edges.push(new Array(1968.75, 989.4, 1978.9, 1011.4, true));
edges.push(new Array(1978.9, 1011.4, 2304.85, 1010.1, true));
edges.push(new Array(2304.85, 1010.1, 2476.55, 1010.55, true));
edges.push(new Array(2476.55, 1010.55, 2515.05, 1011.8, true));
edges.push(new Array(2515.05, 1011.8, 2526.05, 1013.95, true));
edges.push(new Array(2526.05, 1013.95, 2534.5, 1017.3, true));
edges.push(new Array(2534.5, 1017.3, 2541.7, 1022.8, true));
edges.push(new Array(2541.7, 1022.8, 2549.75, 1032.55, true));
edges.push(new Array(2549.75, 1032.55, 2555.65, 1043.95, true));
edges.push(new Array(2555.65, 1043.95, 2558.2, 1060.45, true));
edges.push(new Array(2558.2, 1060.45, 2554.4, 1084.95, true));
edges.push(new Array(2554.4, 1084.95, 2546.35, 1099.8, true));
edges.push(new Array(2546.35, 1099.8, 2534.95, 1112.45, true));
edges.push(new Array(2534.95, 1112.45, 2518.45, 1118.4, true));
edges.push(new Array(2518.45, 1118.4, 2507, 1121.75, true));
edges.push(new Array(2507, 1121.75, 2427.5, 1121.35, true));
edges.push(new Array(2427.5, 1121.35, 2430.9, 1275.3, true));
edges.push(new Array(2430.9, 1275.3, 2412.7, 1322.7, true));
edges.push(new Array(2412.7, 1322.7, 2360.7, 1332.85, true));
edges.push(new Array(2360.7, 1332.85, 2330, 1272.7, true));
edges.push(new Array(2330, 1272.7, 2341.9, 1261.25, true));
edges.push(new Array(2341.9, 1261.25, 2337.65, 1145.95, true));
edges.push(new Array(2337.65, 1145.95, 2172.4, 1144.8, true));
edges.push(new Array(2172.4, 1144.8, 1595.9, 1143.45, true));
edges.push(new Array(1595.9, 1143.45, 1569.6, 1159.15, true));
edges.push(new Array(1569.6, 1159.15, 1552.95, 1255.2, true));
edges.push(new Array(1552.95, 1255.2, 1537.65, 1270.9, true));
edges.push(new Array(1537.65, 1270.9, 1406.7, 1271.8, true));
edges.push(new Array(1406.7, 1271.8, 1388, 1256.1, true));
edges.push(new Array(1388, 1256.1, 1382.5, 1207.25, true));
edges.push(new Array(1382.5, 1207.25, 1364.2, 1157.55, true));
edges.push(new Array(1364.2, 1157.55, 1323, 1152.45, true));
edges.push(new Array(1323, 1152.45, 1000.1, 1150.75, true));
edges.push(new Array(1000.1, 1150.75, 884.1, 1119.3, true));
edges.push(new Array(884.1, 1119.3, 834.4, 1022.4, true));
edges.push(new Array(834.4, 1022.4, 837.35, 890.65, true));
edges.push(new Array(837.35, 890.65, 835.25, 726.25, true));
edges.push(new Array(835.25, 726.25, 828.9, 615.35, true));
edges.push(new Array(828.9, 615.35, 795.85, 500.55, true));
edges.push(new Array(795.85, 500.55, 755.9, 414.5, true));
edges.push(new Array(755.9, 414.5, 678.2, 305.35, true));
edges.push(new Array(678.2, 305.35, 495.25, 306.2, true));
edges.push(new Array(495.25, 306.2, 493.5, 424.5, true));
edges.push(new Array(493.5, 424.5, 577.2, 459.25, true));
edges.push(new Array(577.2, 459.25, 642.95, 514.5, true));
edges.push(new Array(642.95, 514.5, 695.5, 595.35, true));
edges.push(new Array(695.5, 595.35, 719.15, 684, true));
edges.push(new Array(719.15, 684, 721.7, 757.55, true));
edges.push(new Array(721.7, 757.55, 717.8, 948.55, true));
edges.push(new Array(717.8, 948.55, 759.15, 1172.25, true));
edges.push(new Array(759.15, 1172.25, 800, 1293.55, true));
edges.push(new Array(800, 1293.55, 835, 1345, true));
edges.push(new Array(835, 1345, 916.1, 1360.25, true));
edges.push(new Array(916.1, 1360.25, 1091, 1362, true));
edges.push(new Array(1091, 1362, 1100.5, 1288.5, true));
edges.push(new Array(1100.5, 1288.5, 1106.5, 1272.5, true));
edges.push(new Array(1106.5, 1272.5, 1113.5, 1264, true));
edges.push(new Array(1113.5, 1264, 1126.5, 1256, true));
edges.push(new Array(1126.5, 1256, 1151.5, 1249.5, true));
edges.push(new Array(1151.5, 1249.5, 1168.5, 1247, true));
edges.push(new Array(1168.5, 1247, 1243, 1248, true));
edges.push(new Array(1243, 1248, 1259.5, 1250, true));
edges.push(new Array(1259.5, 1250, 1270.5, 1253, true));
edges.push(new Array(1270.5, 1253, 1280.5, 1258.5, true));
edges.push(new Array(1280.5, 1258.5, 1287.5, 1264.5, true));
edges.push(new Array(1287.5, 1264.5, 1294, 1274.5, true));
edges.push(new Array(1294, 1274.5, 1298, 1286, true));
edges.push(new Array(1298, 1286, 1301, 1297, true));
edges.push(new Array(1301, 1297, 1303, 1310.5, true));
edges.push(new Array(1303, 1310.5, 1303.6, 1339.6, true));
edges.push(new Array(1303.6, 1339.6, 1303, 1437, true));
edges.push(new Array(1303, 1437, 1483, 1447.15, true));
edges.push(new Array(1483, 1447.15, 1737.15, 1450.85, true));
edges.push(new Array(1737.15, 1450.85, 1800.45, 1424.15, true));
edges.push(new Array(1800.45, 1424.15, 1828.05, 1390.7, true));
edges.push(new Array(1828.05, 1390.7, 1865.95, 1361.85, true));
edges.push(new Array(1865.95, 1361.85, 1908.15, 1344.6, true));
edges.push(new Array(1908.15, 1344.6, 2066.3, 1346, true));
edges.push(new Array(2066.3, 1346, 2117.9, 1367.7, true));
edges.push(new Array(2117.9, 1367.7, 2152.9, 1391, true));
edges.push(new Array(2152.9, 1391, 2176.2, 1410.9, true));
edges.push(new Array(2176.2, 1410.9, 2206.45, 1429.9, true));
edges.push(new Array(2206.45, 1429.9, 2271.6, 1441.85, true));
edges.push(new Array(2271.6, 1441.85, 2325.75, 1443.15, true));
edges.push(new Array(2325.75, 1443.15, 2359.95, 1441.4, true));
edges.push(new Array(2359.95, 1441.4, 2412.8, 1433.15, true));
edges.push(new Array(2412.8, 1433.15, 2460, 1402.85, true));
edges.push(new Array(2460, 1402.85, 2510.65, 1348.7, true));
edges.push(new Array(2510.65, 1348.7, 2537.6, 1320.95, true));
edges.push(new Array(2537.6, 1320.95, 2571.45, 1302.3, true));
edges.push(new Array(2571.45, 1302.3, 2601.4, 1293.15, true));
edges.push(new Array(2601.4, 1293.15, 2623.1, 1291.45, true));
edges.push(new Array(2623.1, 1291.45, 2856.65, 1296.5, true));
edges.push(new Array(2856.65, 1296.5, 2857.1, 1229.6, true));
edges.push(new Array(2857.1, 1229.6, 2872.6, 1145.3, true));
edges.push(new Array(2872.6, 1145.3, 2877.45, 1109.45, true));
edges.push(new Array(2877.45, 1109.45, 2871.95, 840.4, true));
edges.push(new Array(1244, 794.7, 1130.95, 790.9, true));
edges.push(new Array(1130.95, 790.9, 1096.3, 730, true));
edges.push(new Array(1096.3, 730, 1097.15, 684.15, true));
edges.push(new Array(1097.15, 684.15, 1105.4, 654.1, true));
edges.push(new Array(1105.4, 654.1, 1112.35, 643.1, true));
edges.push(new Array(1112.35, 643.1, 1118.1, 636.05, true));
edges.push(new Array(1118.1, 636.05, 1128.95, 629, true));
edges.push(new Array(1128.95, 629, 1139.3, 625.7, true));
edges.push(new Array(1139.3, 625.7, 1150.25, 623.55, true));
edges.push(new Array(1150.25, 623.55, 1313.15, 625.25, true));
edges.push(new Array(1313.15, 625.25, 1336.15, 619.4, true));
edges.push(new Array(1336.15, 619.4, 1375.4, 587.2, true));
edges.push(new Array(1375.4, 587.2, 1404.1, 561.8, true));
edges.push(new Array(1404.1, 561.8, 1421.3, 553.45, true));
edges.push(new Array(1421.3, 553.45, 1431.35, 552.15, true));
edges.push(new Array(1431.35, 552.15, 1500.4, 553.45, true));
edges.push(new Array(1500.4, 553.45, 1520.5, 526.2, true));
edges.push(new Array(1520.5, 526.2, 1574.3, 527.15, true));
edges.push(new Array(1574.3, 527.15, 1586.9, 554, true));
edges.push(new Array(1586.9, 554, 1857.8, 562.75, true));
edges.push(new Array(1857.8, 562.75, 1887.65, 566.95, true));
edges.push(new Array(1887.65, 566.95, 1917.95, 587.6, true));
edges.push(new Array(1917.95, 587.6, 1957.5, 627.55, true));
edges.push(new Array(1957.5, 627.55, 1991.35, 656.45, true));
edges.push(new Array(1991.35, 656.45, 2035.95, 665.95, true));
edges.push(new Array(2035.95, 665.95, 2091.55, 659.95, true));
edges.push(new Array(2091.55, 659.95, 2131.15, 631.4, true));
edges.push(new Array(2131.15, 631.4, 2152.95, 560.15, true));
edges.push(new Array(2152.95, 560.15, 2160.2, 543.45, true));
edges.push(new Array(2160.2, 543.45, 2172.85, 532.9, true));
edges.push(new Array(2172.85, 532.9, 2188.85, 531.2, true));
edges.push(new Array(2188.85, 531.2, 2256.75, 528.7, true));
edges.push(new Array(2256.75, 528.7, 2302, 530.15, true));
edges.push(new Array(2302, 530.15, 2320.55, 532.7, true));
edges.push(new Array(2320.55, 532.7, 2333.25, 535.65, true));
edges.push(new Array(2333.25, 535.65, 2345, 541.95, true));
edges.push(new Array(2345, 541.95, 2355.15, 551.25, true));
edges.push(new Array(2355.15, 551.25, 2360.9, 562.3, true));
edges.push(new Array(2360.9, 562.3, 2362.75, 580, true));
edges.push(new Array(2362.75, 580, 2364.9, 635.2, true));
edges.push(new Array(2364.9, 635.2, 2363.55, 782.05, true));
edges.push(new Array(2363.55, 782.05, 1953.2, 783.75, true));
edges.push(new Array(1953.2, 783.75, 1869.25, 736.3, true));
edges.push(new Array(1869.25, 736.3, 1347.45, 730.35, true));
edges.push(new Array(1347.45, 730.35, 1244, 794.7, true));
edges.push(new Array(2677.65, 1151.05, 2871.85, 1147.3, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var normalGravities = new Array();
var jetstream = new Array(1022.9, 747.8, 87, 348.1, jetstream);
normalGravities.push(new Array(963.5, 733.6, 22.8, 348.1, normalGravity1));
normalGravities.push(new Array(1015.9, 547, 160.6, 22.8, normalGravity2));
normalGravities.push(new Array(1086.5, 733.6, 22.8, 348.1, normalGravity3));
var helps = new Array();
var rrs = new Array();
addStation(1, 5);
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 681 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 19
stop();
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 19
stop();
Symbol 687 MovieClip [tile008] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(1639.15, 43.75, 1651.65, 183.8, true));
edges.push(new Array(1651.65, 183.8, 1816.7, 205.1, true));
edges.push(new Array(1816.7, 205.1, 1923, 325.15, true));
edges.push(new Array(1923, 325.15, 1925.5, 436.4, true));
edges.push(new Array(1925.5, 436.4, 1874.2, 547.7, true));
edges.push(new Array(1874.2, 547.7, 1905.5, 675.25, true));
edges.push(new Array(1905.5, 675.25, 1874.8, 767.85, true));
edges.push(new Array(1874.8, 767.85, 1829.15, 824.1, true));
edges.push(new Array(1829.15, 824.1, 1747.3, 867.2, true));
edges.push(new Array(1747.3, 867.2, 1626.05, 862.2, true));
edges.push(new Array(1626.05, 862.2, 1556.5, 914.35, true));
edges.push(new Array(1556.5, 914.35, 1450, 933.2, true));
edges.push(new Array(1450, 933.2, 1351, 904.6, true));
edges.push(new Array(1351, 904.6, 1290.7, 843.05, true));
edges.push(new Array(1290.7, 843.05, 1210.95, 902.1, true));
edges.push(new Array(1210.95, 902.1, 1137.5, 931, true));
edges.push(new Array(1137.5, 931, 1050.2, 917.8, true));
edges.push(new Array(1050.2, 917.8, 1060.2, 983.75, true));
edges.push(new Array(1060.2, 983.75, 1033.85, 1057.9, true));
edges.push(new Array(1033.85, 1057.9, 965.75, 1112, true));
edges.push(new Array(965.75, 1112, 895.25, 1127.7, true));
edges.push(new Array(895.25, 1127.7, 891.5, 1297.75, true));
edges.push(new Array(891.5, 1297.75, 975.85, 1302.6, true));
edges.push(new Array(975.85, 1302.6, 1137.25, 1337.35, true));
edges.push(new Array(1137.25, 1337.35, 1309.8, 1194.75, true));
edges.push(new Array(1309.8, 1194.75, 1584.95, 1085.15, true));
edges.push(new Array(1584.95, 1085.15, 1801.5, 1052.45, true));
edges.push(new Array(1801.5, 1052.45, 2045.2, 1057.1, true));
edges.push(new Array(2045.2, 1057.1, 2234.05, 1092.1, true));
edges.push(new Array(2234.05, 1092.1, 2405.75, 1154.4, true));
edges.push(new Array(2405.75, 1154.4, 2546.3, 1237.1, true));
edges.push(new Array(2546.3, 1237.1, 2676.65, 1371.3, true));
edges.push(new Array(2676.65, 1371.3, 2782.25, 1345.2, true));
edges.push(new Array(2782.25, 1345.2, 2840.1, 1358.55, true));
edges.push(new Array(2840.1, 1358.55, 2910.7, 1408.15, true));
edges.push(new Array(2910.7, 1408.15, 2965.35, 1375.75, true));
edges.push(new Array(2965.35, 1375.75, 3028.95, 1378.9, true));
edges.push(new Array(3028.95, 1378.9, 3082.4, 1353.5, true));
edges.push(new Array(3082.4, 1353.5, 3144.1, 1350.95, true));
edges.push(new Array(3144.1, 1350.95, 3199.4, 1382.1, true));
edges.push(new Array(3199.4, 1382.1, 3279.55, 1328.65, true));
edges.push(new Array(3279.55, 1328.65, 3365.4, 1322.3, true));
edges.push(new Array(3365.4, 1322.3, 3458.2, 1361.75, true));
edges.push(new Array(3458.2, 1361.75, 3509.1, 1324.85, true));
edges.push(new Array(3509.1, 1324.85, 3504.65, 1277.15, true));
edges.push(new Array(3504.65, 1277.15, 3476.05, 1253.6, true));
edges.push(new Array(3476.05, 1253.6, 3304.95, 1237.7, true));
edges.push(new Array(3304.95, 1237.7, 3253.45, 1198.3, true));
edges.push(new Array(3253.45, 1198.3, 3259.8, 1166.5, true));
edges.push(new Array(3259.8, 1166.5, 3302.45, 1147.4, true));
edges.push(new Array(3302.45, 1147.4, 3421.35, 1140.4, true));
edges.push(new Array(3421.35, 1140.4, 3514.85, 1142.95, true));
edges.push(new Array(3514.85, 1142.95, 3522.85, 932.6, true));
edges.push(new Array(3522.85, 932.6, 3535.65, 725.65, true));
edges.push(new Array(3535.65, 725.65, 3533.75, 675.85, true));
edges.push(new Array(3533.75, 675.85, 3547.8, 613.3, true));
edges.push(new Array(3547.8, 613.3, 3577.5, 581.4, true));
edges.push(new Array(3577.5, 581.4, 3603.7, 573.1, true));
edges.push(new Array(3603.7, 573.1, 3694.2, 571.8, true));
edges.push(new Array(3694.2, 571.8, 3694.2, 427.75, true));
edges.push(new Array(3694.2, 427.75, 3630.2, 429.65, true));
edges.push(new Array(3630.2, 429.65, 3575.6, 407.65, true));
edges.push(new Array(3575.6, 407.65, 3550.55, 367.2, true));
edges.push(new Array(3550.55, 367.2, 3542.15, 307.8, true));
edges.push(new Array(3542.15, 307.8, 3552.45, 125.3, true));
edges.push(new Array(3552.45, 125.3, 3585.2, 75.15, true));
edges.push(new Array(3585.2, 75.15, 3678.35, 45.7, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var normalGravities = new Array();
var jetstream = new Array(2741.1, 1136.6, 87, 348.1, jetstream);
normalGravities.push(new Array(2681.7, 1122.5, 22.8, 348.1, normalGravity1));
normalGravities.push(new Array(2734.1, 935.8, 160.6, 22.8, normalGravity2));
normalGravities.push(new Array(2804.7, 1122.5, 22.8, 348.1, normalGravity3));
var helps = new Array();
var rrs = new Array();
childs[0] = new Array(1970.6, 719, 44.35, 44.35, childChar0);
childs[1] = new Array(2420.8, 863.8, 44.35, 44.35, childChar1);
childs[2] = new Array(2879.3, 610.3, 44.35, 44.35, childChar2);
childs[3] = new Array(3495.3, 650.5, 44.35, 44.35, childChar3);
childs[4] = new Array(3418.4, 1086.7, 44.35, 44.35, childChar4);
var portal = new Array(3757.7, 490.8, 136.8, 143.1, portal);
Symbol 691 MovieClip Frame 1
gotoAndStop ("in");
Symbol 691 MovieClip Frame 9
gotoAndStop ("in");
_parent.mc_jump.play();
Symbol 706 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 447
stop();
Symbol 711 MovieClip Frame 30
gotoAndPlay (1);
Symbol 712 MovieClip [tile009] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(347.45, 112.85, 563.55, 111.4, true));
edges.push(new Array(563.55, 111.4, 620.35, 182.4, true));
edges.push(new Array(620.35, 182.4, 617.45, 224.75, true));
edges.push(new Array(617.45, 224.75, 594.6, 263.3, true));
edges.push(new Array(594.6, 263.3, 560.3, 287.6, true));
edges.push(new Array(560.3, 287.6, 492.25, 288.1, true));
edges.push(new Array(492.25, 288.1, 494.1, 409.75, true));
edges.push(new Array(494.1, 409.75, 517, 410.25, true));
edges.push(new Array(517, 410.25, 532, 411.7, true));
edges.push(new Array(532, 411.7, 544.5, 413.75, true));
edges.push(new Array(544.5, 413.75, 559.9, 417.5, true));
edges.push(new Array(559.9, 417.5, 574.5, 421.7, true));
edges.push(new Array(574.5, 421.7, 587.8, 425.45, true));
edges.push(new Array(587.8, 425.45, 601.55, 430.45, true));
edges.push(new Array(601.55, 430.45, 611.15, 435.45, true));
edges.push(new Array(611.15, 435.45, 618.25, 439.2, true));
edges.push(new Array(618.25, 439.2, 622.4, 443.75, true));
edges.push(new Array(622.4, 443.75, 627, 449.2, true));
edges.push(new Array(627, 449.2, 631.9, 457.45, true));
edges.push(new Array(631.9, 457.45, 641.15, 487.55, true));
edges.push(new Array(641.15, 487.55, 676.5, 540.55, true));
edges.push(new Array(676.5, 540.55, 745.75, 587.35, true));
edges.push(new Array(745.75, 587.35, 834.75, 622.05, true));
edges.push(new Array(834.75, 622.05, 984, 656.5, true));
edges.push(new Array(984, 656.5, 1400.15, 629.95, true));
edges.push(new Array(1400.15, 629.95, 1458.6, 621.8, true));
edges.push(new Array(1458.6, 621.8, 1468.65, 620.35, true));
edges.push(new Array(1468.65, 620.35, 1478.7, 620.35, true));
edges.push(new Array(1478.7, 620.35, 1490.05, 620.35, true));
edges.push(new Array(1490.05, 620.35, 1501.05, 621, true));
edges.push(new Array(1501.05, 621, 1507.75, 622, true));
edges.push(new Array(1507.75, 622, 1515.4, 623.35, true));
edges.push(new Array(1515.4, 623.35, 1519.4, 624.7, true));
edges.push(new Array(1519.4, 624.7, 1526.75, 627.7, true));
edges.push(new Array(1526.75, 627.7, 1534.05, 630.7, true));
edges.push(new Array(1534.05, 630.7, 1542.05, 635.35, true));
edges.push(new Array(1542.05, 635.35, 1548.75, 639.7, true));
edges.push(new Array(1548.75, 639.7, 1555.05, 645, true));
edges.push(new Array(1555.05, 645, 1561.05, 651.7, true));
edges.push(new Array(1561.05, 651.7, 1567.05, 661, true));
edges.push(new Array(1567.05, 661, 1570.4, 667, true));
edges.push(new Array(1570.4, 667, 1574.7, 676.7, true));
edges.push(new Array(1574.7, 676.7, 1576.4, 687, true));
edges.push(new Array(1576.4, 687, 1578.4, 696, true));
edges.push(new Array(1578.4, 696, 1572.2, 740.75, true));
edges.push(new Array(1572.2, 740.75, 1548.75, 786.3, true));
edges.push(new Array(1548.75, 786.3, 1488.35, 789.65, true));
edges.push(new Array(1488.35, 789.65, 1456.2, 780.55, true));
edges.push(new Array(1456.2, 780.55, 1433.2, 809.3, true));
edges.push(new Array(1433.2, 809.3, 1417.85, 770.45, true));
edges.push(new Array(1417.85, 770.45, 1397.25, 764.7, true));
edges.push(new Array(1397.25, 764.7, 1155.65, 770.95, true));
edges.push(new Array(1155.65, 770.95, 822.55, 770.95, true));
edges.push(new Array(822.55, 770.95, 582.4, 752.7, true));
edges.push(new Array(582.4, 752.7, 523.4, 771.9, true));
edges.push(new Array(523.4, 771.9, 474.55, 819.35, true));
edges.push(new Array(474.55, 819.35, 388.25, 1027.9, true));
edges.push(new Array(388.25, 1027.9, 366.7, 1163.1, true));
edges.push(new Array(366.7, 1163.1, 363.3, 1219.65, true));
edges.push(new Array(363.3, 1219.65, 367.65, 1238.85, true));
edges.push(new Array(367.65, 1238.85, 380.55, 1253.7, true));
edges.push(new Array(380.55, 1253.7, 463, 1254.2, true));
edges.push(new Array(463, 1254.2, 524.85, 1265.7, true));
edges.push(new Array(524.85, 1265.7, 558.2, 1281.65, true));
edges.push(new Array(558.2, 1281.65, 579.3, 1291.25, true));
edges.push(new Array(579.3, 1291.25, 590.8, 1301.8, true));
edges.push(new Array(590.8, 1301.8, 599.45, 1316.2, true));
edges.push(new Array(599.45, 1316.2, 605.2, 1328.65, true));
edges.push(new Array(605.2, 1328.65, 601.55, 1347.2, true));
edges.push(new Array(601.55, 1347.2, 587.9, 1360.85, true));
edges.push(new Array(587.9, 1360.85, 575.3, 1367.55, true));
edges.push(new Array(575.3, 1367.55, 563.55, 1368.4, true));
edges.push(new Array(563.55, 1368.4, 551.8, 1373.45, true));
edges.push(new Array(551.8, 1373.45, 548.35, 1389.4, true));
edges.push(new Array(548.35, 1389.4, 553.6, 1434.95, true));
edges.push(new Array(553.6, 1434.95, 579, 1459.9, true));
edges.push(new Array(579, 1459.9, 615.35, 1465.25, true));
edges.push(new Array(615.35, 1465.25, 635.4, 1461.85, true));
edges.push(new Array(635.4, 1461.85, 659.85, 1459.9, true));
edges.push(new Array(659.85, 1459.9, 684.3, 1455.95, true));
edges.push(new Array(684.3, 1455.95, 695.05, 1456.45, true));
edges.push(new Array(695.05, 1456.45, 705.8, 1457.9, true));
edges.push(new Array(705.8, 1457.9, 714.15, 1460.85, true));
edges.push(new Array(714.15, 1460.85, 721.45, 1465.75, true));
edges.push(new Array(721.45, 1465.75, 727.35, 1471.15, true));
edges.push(new Array(727.35, 1471.15, 732.25, 1479.45, true));
edges.push(new Array(732.25, 1479.45, 736.65, 1487.3, true));
edges.push(new Array(736.65, 1487.3, 740.55, 1501.6, true));
edges.push(new Array(740.55, 1501.6, 736.7, 1526.05, true));
edges.push(new Array(736.7, 1526.05, 780.8, 1530.85, true));
edges.push(new Array(780.8, 1530.85, 854.65, 1522.7, true));
edges.push(new Array(817.3, 1632.95, 771.25, 1642.05, true));
edges.push(new Array(771.25, 1642.05, 731.45, 1632, true));
edges.push(new Array(731.45, 1632, 728.1, 1616.15, true));
edges.push(new Array(728.1, 1616.15, 734.35, 1585, true));
edges.push(new Array(734.35, 1585, 692.15, 1580.2, true));
edges.push(new Array(692.15, 1580.2, 644.7, 1589.8, true));
edges.push(new Array(644.7, 1589.8, 605.85, 1600.8, true));
edges.push(new Array(605.85, 1600.8, 550.8, 1654, true));
edges.push(new Array(550.8, 1654, 563.2, 1713, true));
edges.push(new Array(563.2, 1713, 601.1, 1727.35, true));
edges.push(new Array(601.1, 1727.35, 683.55, 1742.25, true));
edges.push(new Array(683.55, 1742.25, 802.9, 1753.25, true));
edges.push(new Array(802.9, 1753.25, 912.65, 1759.5, true));
edges.push(new Array(912.65, 1759.5, 1006.15, 1759, true));
edges.push(new Array(1006.15, 1759, 1215.15, 1740.8, true));
edges.push(new Array(1215.15, 1740.8, 1244.4, 1739.3, true));
edges.push(new Array(1244.4, 1739.3, 1273.8, 1740.25, true));
edges.push(new Array(1273.8, 1740.25, 1289.95, 1745, true));
edges.push(new Array(1289.95, 1745, 1302.3, 1754.5, true));
edges.push(new Array(1302.3, 1754.5, 1311.8, 1764.9, true));
edges.push(new Array(1311.8, 1764.9, 1323, 1783.45, true));
edges.push(new Array(1323, 1783.45, 1331.6, 1809.35, true));
edges.push(new Array(1331.6, 1809.35, 1355.6, 1830.45, true));
edges.push(new Array(1355.6, 1830.45, 1383.85, 1823.25, true));
edges.push(new Array(1383.85, 1823.25, 1402.55, 1805.05, true));
edges.push(new Array(1402.55, 1805.05, 1410.05, 1787.45, true));
edges.push(new Array(1410.05, 1787.45, 1412.9, 1778.9, true));
edges.push(new Array(1412.9, 1778.9, 1422.4, 1767.5, true));
edges.push(new Array(1422.4, 1767.5, 1430.95, 1758.95, true));
edges.push(new Array(1430.95, 1758.95, 1438.55, 1753.25, true));
edges.push(new Array(1438.55, 1753.25, 1448.55, 1753.25, true));
edges.push(new Array(1448.55, 1753.25, 1565.55, 1788.8, true));
edges.push(new Array(1565.55, 1788.8, 1689.7, 1789.25, true));
edges.push(new Array(1689.7, 1789.25, 1747.15, 1781.1, true));
edges.push(new Array(1747.15, 1781.1, 1817.7, 1750.4, true));
edges.push(new Array(1817.7, 1750.4, 1841.7, 1667.35, true));
edges.push(new Array(1841.7, 1667.35, 1851.9, 1473.85, true));
edges.push(new Array(1851.9, 1473.85, 1897.6, 1450.75, true));
edges.push(new Array(1897.6, 1450.75, 1929.3, 1480.1, true));
edges.push(new Array(1929.3, 1480.1, 1919.7, 1639.25, true));
edges.push(new Array(1919.7, 1639.25, 1928.8, 1679.35, true));
edges.push(new Array(1928.8, 1679.35, 1985.2, 1699.6, true));
edges.push(new Array(1985.2, 1699.6, 2018.5, 1687.55, true));
edges.push(new Array(2018.5, 1687.55, 2015.1, 1644.65, true));
edges.push(new Array(2015.1, 1644.65, 2017.25, 1628.8, true));
edges.push(new Array(2017.25, 1628.8, 2020.6, 1616.45, true));
edges.push(new Array(2020.6, 1616.45, 2028.2, 1602.2, true));
edges.push(new Array(2028.2, 1602.2, 2035.8, 1593.15, true));
edges.push(new Array(2035.8, 1593.15, 2041.5, 1589.85, true));
edges.push(new Array(2041.5, 1589.85, 2048.1, 1587.95, true));
edges.push(new Array(2048.1, 1587.95, 2055.7, 1584.15, true));
edges.push(new Array(2055.7, 1584.15, 2061.9, 1581.3, true));
edges.push(new Array(2061.9, 1581.3, 2077.55, 1578.9, true));
edges.push(new Array(2077.55, 1578.9, 2101.75, 1576.05, true));
edges.push(new Array(2101.75, 1576.05, 2154.65, 1570, true));
edges.push(new Array(2154.65, 1570, 2299, 1569.05, true));
edges.push(new Array(2299, 1569.05, 2297.55, 1435.8, true));
edges.push(new Array(2297.55, 1435.8, 2091.45, 1470.05, true));
edges.push(new Array(2091.45, 1470.05, 2076.15, 1468.8, true));
edges.push(new Array(2076.15, 1468.8, 2057.25, 1466.7, true));
edges.push(new Array(2057.25, 1466.7, 2043, 1463.35, true));
edges.push(new Array(2043, 1463.35, 2029.55, 1456.2, true));
edges.push(new Array(2029.55, 1456.2, 2024.1, 1447.8, true));
edges.push(new Array(2024.1, 1447.8, 2020.75, 1437.7, true));
edges.push(new Array(2020.75, 1437.7, 2019.05, 1429.3, true));
edges.push(new Array(2019.05, 1429.3, 2018.2, 1422.15, true));
edges.push(new Array(2018.2, 1422.15, 2019.8, 1418.7, true));
edges.push(new Array(2019.8, 1418.7, 2021.35, 1414.4, true));
edges.push(new Array(2021.35, 1414.4, 2024, 1409.4, true));
edges.push(new Array(2024, 1409.4, 2028, 1405.05, true));
edges.push(new Array(2028, 1405.05, 2032, 1399.7, true));
edges.push(new Array(2032, 1399.7, 2037.3, 1393.7, true));
edges.push(new Array(2037.3, 1393.7, 2044.65, 1386.7, true));
edges.push(new Array(2044.65, 1386.7, 2053, 1379.4, true));
edges.push(new Array(2053, 1379.4, 2060.95, 1374.05, true));
edges.push(new Array(2060.95, 1374.05, 2068.95, 1369.05, true));
edges.push(new Array(2068.95, 1369.05, 2077.95, 1364.4, true));
edges.push(new Array(2077.95, 1364.4, 2088.3, 1360.4, true));
edges.push(new Array(2088.3, 1360.4, 2103.4, 1354.5, true));
edges.push(new Array(2103.4, 1354.5, 2235, 1334.1, true));
edges.push(new Array(2235, 1334.1, 2280.15, 1319.55, true));
edges.push(new Array(2280.15, 1319.55, 2306.9, 1276.8, true));
edges.push(new Array(2306.9, 1276.8, 2313.2, 1263.85, true));
edges.push(new Array(2313.2, 1263.85, 2322.4, 1257.15, true));
edges.push(new Array(2322.4, 1257.15, 2334.1, 1252.15, true));
edges.push(new Array(2334.1, 1252.15, 2346.65, 1248.8, true));
edges.push(new Array(2346.65, 1248.8, 2361.7, 1247.95, true));
edges.push(new Array(2361.7, 1247.95, 2373.4, 1247.95, true));
edges.push(new Array(2373.4, 1247.95, 2383.4, 1247.95, true));
edges.push(new Array(2383.4, 1247.95, 2396.6, 1245.3, true));
edges.push(new Array(2396.6, 1245.3, 2400.95, 1172.75, true));
edges.push(new Array(2400.95, 1172.75, 2385.4, 1119.7, true));
edges.push(new Array(2385.4, 1119.7, 2354.25, 1076.9, true));
edges.push(new Array(2354.25, 1076.9, 2292.95, 1049.15, true));
edges.push(new Array(2292.95, 1049.15, 2239.95, 1080.8, true));
edges.push(new Array(2239.95, 1080.8, 2204.45, 1060.85, true));
edges.push(new Array(2204.45, 1060.85, 2203.45, 1027.75, true));
edges.push(new Array(2203.45, 1027.75, 2227, 968.8, true));
edges.push(new Array(2227, 968.8, 2224.1, 936.2, true));
edges.push(new Array(2224.1, 936.2, 2226.05, 931.9, true));
edges.push(new Array(2226.05, 931.9, 2229.8, 923.95, true));
edges.push(new Array(2229.8, 923.95, 2233.55, 917.3, true));
edges.push(new Array(2233.55, 917.3, 2237.3, 912.7, true));
edges.push(new Array(2237.3, 912.7, 2241.05, 909.35, true));
edges.push(new Array(2241.05, 909.35, 2246.45, 906, true));
edges.push(new Array(2246.45, 906, 2251.05, 903.1, true));
edges.push(new Array(2251.05, 903.1, 2256.5, 903.1, true));
edges.push(new Array(2256.5, 903.1, 2263.15, 901.45, true));
edges.push(new Array(2263.15, 901.45, 2305.7, 906.85, true));
edges.push(new Array(2305.7, 906.85, 2352.85, 921.45, true));
edges.push(new Array(2352.85, 921.45, 2416.45, 935.7, true));
edges.push(new Array(2416.45, 935.7, 2446.65, 912.3, true));
edges.push(new Array(2446.65, 912.3, 2468.2, 838.2, true));
edges.push(new Array(2468.2, 838.2, 2465.3, 765.55, true));
edges.push(new Array(2465.3, 765.55, 2415.35, 613, true));
edges.push(new Array(2415.35, 613, 2389, 578.35, true));
edges.push(new Array(2389, 578.35, 2317.75, 539.8, true));
edges.push(new Array(2317.75, 539.8, 2230.9, 523.2, true));
edges.push(new Array(2230.9, 523.2, 2220.15, 567, true));
edges.push(new Array(2220.15, 567, 2192.15, 518.85, true));
edges.push(new Array(2192.15, 518.85, 2180.9, 560, true));
edges.push(new Array(2180.9, 560, 2156.9, 515.9, true));
edges.push(new Array(2156.9, 515.9, 2124.75, 506.6, true));
edges.push(new Array(2124.75, 506.6, 2032, 492.4, true));
edges.push(new Array(2032, 492.4, 1949.05, 454.6, true));
edges.push(new Array(1949.05, 454.6, 1929.4, 508.1, true));
edges.push(new Array(1929.4, 508.1, 1906.35, 438.9, true));
edges.push(new Array(1906.35, 438.9, 1853.35, 429.55, true));
edges.push(new Array(1853.35, 429.55, 1831.05, 458.45, true));
edges.push(new Array(1831.05, 458.45, 1821.75, 417.2, true));
edges.push(new Array(1821.75, 417.2, 1805.55, 453.55, true));
edges.push(new Array(1805.55, 453.55, 1795.7, 404.9, true));
edges.push(new Array(1795.7, 404.9, 1745.55, 379.6, true));
edges.push(new Array(1745.55, 379.6, 1613.65, 369.75, true));
edges.push(new Array(1613.65, 369.75, 1507.3, 379.95, true));
edges.push(new Array(1507.3, 379.95, 1356.05, 415.5, true));
edges.push(new Array(1356.05, 415.5, 1332.9, 479.55, true));
edges.push(new Array(1332.9, 479.55, 1309.7, 422.35, true));
edges.push(new Array(1309.7, 422.35, 1277.2, 427.3, true));
edges.push(new Array(1277.2, 427.3, 1262.4, 462.3, true));
edges.push(new Array(1262.4, 462.3, 1248.6, 420.9, true));
edges.push(new Array(1248.6, 420.9, 1168.8, 418.45, true));
edges.push(new Array(1168.8, 418.45, 1118.5, 401.2, true));
edges.push(new Array(1118.5, 401.2, 1085, 384.45, true));
edges.push(new Array(1085, 384.45, 1059.9, 440.1, true));
edges.push(new Array(1059.9, 440.1, 1043.65, 374.05, true));
edges.push(new Array(1043.65, 374.05, 1023.9, 310.95, true));
edges.push(new Array(1023.9, 310.95, 985.5, 258.7, true));
edges.push(new Array(985.5, 258.7, 925.35, 229.15, true));
edges.push(new Array(925.35, 229.15, 790.85, 184.3, true));
edges.push(new Array(790.85, 184.3, 740.05, 125.2, true));
edges.push(new Array(740.05, 125.2, 742.05, 60.6, true));
edges.push(new Array(742.05, 60.6, 791.3, 7.85, true));
edges.push(new Array(791.3, 7.85, 915, 7.85, true));
edges.push(new Array(1423.95, 1128.4, 1349.8, 1132.55, true));
edges.push(new Array(1349.8, 1132.55, 1228.95, 1120.05, true));
edges.push(new Array(1228.95, 1120.05, 1147.3, 1176.75, true));
edges.push(new Array(1147.3, 1176.75, 1119, 1152.55, true));
edges.push(new Array(1119, 1152.55, 1113.65, 1099.55, true));
edges.push(new Array(1113.65, 1099.55, 1115.6, 1067.95, true));
edges.push(new Array(1115.6, 1067.95, 1124.65, 1035.4, true));
edges.push(new Array(1124.65, 1035.4, 1130.4, 1023.95, true));
edges.push(new Array(1130.4, 1023.95, 1136.15, 1015.8, true));
edges.push(new Array(1136.15, 1015.8, 1143.8, 1007.65, true));
edges.push(new Array(1143.8, 1007.65, 1148.6, 1003.35, true));
edges.push(new Array(1148.6, 1003.35, 1156.25, 998.6, true));
edges.push(new Array(1156.25, 998.6, 1165.8, 994.25, true));
edges.push(new Array(1165.8, 994.25, 1175.85, 990.9, true));
edges.push(new Array(1175.85, 990.9, 1206.45, 986.7, true));
edges.push(new Array(1206.45, 986.7, 1320.6, 1003.4, true));
edges.push(new Array(1320.6, 1003.4, 1379.75, 1020.9, true));
edges.push(new Array(1379.75, 1020.9, 1497.25, 1035.9, true));
edges.push(new Array(1497.25, 1035.9, 1649.7, 1035.05, true));
edges.push(new Array(1649.7, 1035.05, 1785.5, 1023.4, true));
edges.push(new Array(1785.5, 1023.4, 1873.85, 1010.05, true));
edges.push(new Array(1873.85, 1010.05, 1893.85, 995.85, true));
edges.push(new Array(1893.85, 995.85, 1898.05, 988.7, true));
edges.push(new Array(1898.05, 988.7, 1903.05, 980.7, true));
edges.push(new Array(1903.05, 980.7, 1907.05, 975.35, true));
edges.push(new Array(1907.05, 975.35, 1912.05, 968.7, true));
edges.push(new Array(1912.05, 968.7, 1918.35, 960.7, true));
edges.push(new Array(1918.35, 960.7, 1927.2, 952.5, true));
edges.push(new Array(1927.2, 952.5, 1935.05, 947.35, true));
edges.push(new Array(1935.05, 947.35, 1940.35, 944.05, true));
edges.push(new Array(1940.35, 944.05, 1950.05, 938.35, true));
edges.push(new Array(1950.05, 938.35, 1965.35, 930.35, true));
edges.push(new Array(1965.35, 930.35, 1981.7, 926.05, true));
edges.push(new Array(1981.7, 926.05, 2008.05, 922.35, true));
edges.push(new Array(2008.05, 922.35, 2037.35, 920.05, true));
edges.push(new Array(2037.35, 920.05, 2054.7, 922.7, true));
edges.push(new Array(2054.7, 922.7, 2064.7, 925.35, true));
edges.push(new Array(2064.7, 925.35, 2076.7, 929.05, true));
edges.push(new Array(2076.7, 929.05, 2090.35, 934.05, true));
edges.push(new Array(2090.35, 934.05, 2101.35, 942.05, true));
edges.push(new Array(2101.35, 942.05, 2109.7, 953.05, true));
edges.push(new Array(2109.7, 953.05, 2118.85, 974.2, true));
edges.push(new Array(2118.85, 974.2, 2115.5, 1035.05, true));
edges.push(new Array(2115.5, 1035.05, 2043.85, 1100.05, true));
edges.push(new Array(2043.85, 1100.05, 1911.35, 1116.75, true));
edges.push(new Array(1911.35, 1116.75, 1820.55, 1114.25, true));
edges.push(new Array(1820.55, 1114.25, 1668.05, 1125.9, true));
edges.push(new Array(1668.05, 1125.9, 1420.6, 1129.25, true));
edges.push(new Array(854.55, 1522.75, 861.9, 1524.1, true));
edges.push(new Array(861.9, 1524.1, 869.9, 1526.75, true));
edges.push(new Array(869.9, 1526.75, 875.55, 1531.1, true));
edges.push(new Array(875.55, 1531.1, 879.55, 1534.4, true));
edges.push(new Array(879.55, 1534.4, 882.55, 1538.75, true));
edges.push(new Array(882.55, 1538.75, 885.9, 1545.1, true));
edges.push(new Array(885.9, 1545.1, 887.75, 1554.35, true));
edges.push(new Array(887.75, 1554.35, 869.5, 1633.95, true));
edges.push(new Array(869.5, 1633.95, 794.75, 1634.9, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
rrs.push(new Array(roundedRect0._x, roundedRect0._y, roundedRect0._width, roundedRect0._height, roundedRect0));
rrs.push(new Array(roundedRect1._x, roundedRect1._y, roundedRect1._width, roundedRect1._height, roundedRect1));
var normalGravities = new Array();
var helps = new Array();
var jetstream = new Array(jetstream._x, jetstream._y, jetstream._width, jetstream._height, jetstream);
normalGravities.push(new Array(normalGravity1._x, normalGravity1._y, normalGravity1._width, normalGravity1._height, normalGravity1));
normalGravities.push(new Array(normalGravity2._x, normalGravity2._y, normalGravity2._width, normalGravity2._height, normalGravity2));
normalGravities.push(new Array(normalGravity3._x, normalGravity3._y, normalGravity3._width, normalGravity3._height, normalGravity3));
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 720 MovieClip Frame 30
gotoAndPlay (1);
Symbol 721 MovieClip Frame 1
var cai = this.pw.cai;
Symbol 721 MovieClip Frame 161
gotoAndPlay (1);
Symbol 728 MovieClip [tile010] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(235.85, 365.9, 371.7, 370.05, true));
edges.push(new Array(371.7, 370.05, 381.7, 780.95, true));
edges.push(new Array(381.7, 780.95, 371.7, 869.3, true));
edges.push(new Array(371.7, 869.3, 258.35, 869.3, true));
edges.push(new Array(258.35, 869.3, 260.9, 1053.45, true));
edges.push(new Array(260.9, 1053.45, 680.1, 1056.8, true));
edges.push(new Array(680.1, 1056.8, 1144.35, 1058.5, true));
edges.push(new Array(1166, 1091.8, 1151, 1197.65, true));
edges.push(new Array(1151, 1197.65, 1157.7, 1479.4, true));
edges.push(new Array(1157.7, 1479.4, 1186.85, 1634.4, true));
edges.push(new Array(1186.85, 1634.4, 1173.5, 1726.05, true));
edges.push(new Array(1173.5, 1726.05, 1121.8, 1717.75, true));
edges.push(new Array(1121.8, 1717.75, 1093.5, 1790.25, true));
edges.push(new Array(1093.5, 1790.25, 1111, 1829.4, true));
edges.push(new Array(1111, 1829.4, 1160.15, 1810.25, true));
edges.push(new Array(1160.15, 1810.25, 1506.5, 1782.7, true));
edges.push(new Array(1506.5, 1782.7, 1823.9, 1756.7, true));
edges.push(new Array(1823.9, 1756.7, 2037, 1738.6, true));
edges.push(new Array(2037, 1738.6, 2345, 1710, true));
edges.push(new Array(2345, 1710, 2653.1, 1693.15, true));
edges.push(new Array(2653.1, 1693.15, 2914.8, 1672.75, true));
edges.push(new Array(2914.8, 1672.75, 3213.8, 1653.55, true));
edges.push(new Array(3213.8, 1653.55, 3248.8, 1511.85, true));
edges.push(new Array(3248.8, 1511.85, 3277.1, 1411.85, true));
edges.push(new Array(3277.1, 1411.85, 3320.45, 1418.5, true));
edges.push(new Array(3320.45, 1418.5, 3348.8, 1385.2, true));
edges.push(new Array(3348.8, 1385.2, 3332.15, 1323.5, true));
edges.push(new Array(3332.15, 1323.5, 3302.1, 1321.85, true));
edges.push(new Array(3302.1, 1321.85, 3277.1, 1353.5, true));
edges.push(new Array(3277.1, 1353.5, 3250.45, 1188.5, true));
edges.push(new Array(3250.45, 1188.5, 3208.8, 1166.8, true));
edges.push(new Array(3208.8, 1166.8, 3050.45, 1170.15, true));
edges.push(new Array(3051, 1166.65, 3049.1, 1138.9, true));
edges.push(new Array(3049.1, 1138.9, 3050.05, 1091, true));
edges.push(new Array(3050.05, 1091, 3050.55, 1015.9, true));
edges.push(new Array(3050.55, 1015.9, 3048.15, 975.2, true));
edges.push(new Array(3048.15, 975.2, 3054.1, 964.8, true));
edges.push(new Array(3054.1, 964.8, 3060.45, 959.5, true));
edges.push(new Array(3060.45, 959.5, 3066.1, 957.15, true));
edges.push(new Array(3066.1, 957.15, 3071.1, 955.15, true));
edges.push(new Array(3071.1, 955.15, 3078.8, 953.8, true));
edges.push(new Array(3078.8, 953.8, 3087.1, 951.8, true));
edges.push(new Array(3087.1, 951.8, 3154.1, 953.5, true));
edges.push(new Array(3154.1, 953.5, 3164.1, 954.8, true));
edges.push(new Array(3164.1, 954.8, 3171.45, 957.15, true));
edges.push(new Array(3171.45, 957.15, 3176.1, 959.5, true));
edges.push(new Array(3176.1, 959.5, 3180.45, 962.8, true));
edges.push(new Array(3180.45, 962.8, 3185.45, 966.8, true));
edges.push(new Array(3185.45, 966.8, 3189.1, 974.15, true));
edges.push(new Array(3189.1, 974.15, 3191.1, 981.85, true));
edges.push(new Array(3191.1, 981.85, 3194.15, 989.85, true));
edges.push(new Array(3194.15, 989.85, 3193.8, 1002.15, true));
edges.push(new Array(3193.8, 1002.15, 3187.1, 1053.5, true));
edges.push(new Array(3187.1, 1053.5, 3306.4, 1055.3, true));
edges.push(new Array(3306.4, 1055.3, 3416.6, 1058.1, true));
edges.push(new Array(3416.6, 1058.1, 3595.5, 1060.15, true));
edges.push(new Array(3595.5, 1060.15, 3597.15, 863.45, true));
edges.push(new Array(3597.15, 863.45, 3280.45, 860.1, true));
edges.push(new Array(3280.45, 860.1, 3273.8, 665.1, true));
edges.push(new Array(3273.8, 665.1, 3278.8, 351.75, true));
edges.push(new Array(3278.8, 351.75, 3618.85, 343.4, true));
edges.push(new Array(1799.45, 1651.9, 1556.05, 1653.55, true));
edges.push(new Array(1828.6, 1636.05, 1799.45, 1651.9, true));
edges.push(new Array(1829.4, 1493.55, 1828.6, 1636.05, true));
edges.push(new Array(1829.4, 1366.85, 1829.4, 1493.55, true));
edges.push(new Array(1828.6, 1272.65, 1829.4, 1366.85, true));
edges.push(new Array(1801.9, 1255.15, 1828.6, 1272.65, true));
edges.push(new Array(1625.2, 1254.35, 1801.9, 1255.15, true));
edges.push(new Array(1465.2, 1255.15, 1625.2, 1254.35, true));
edges.push(new Array(1426.85, 1355.2, 1432.7, 1268.5, true));
edges.push(new Array(1453.5, 1464.35, 1426.85, 1355.2, true));
edges.push(new Array(1476.9, 1647.75, 1453.5, 1464.35, true));
edges.push(new Array(1556.05, 1653.55, 1476.9, 1647.75, true));
edges.push(new Array(2432, 1416.9, 2180.3, 1416.9, true));
edges.push(new Array(2438.65, 795.1, 2432, 1416.9, true));
edges.push(new Array(2422, 785.1, 2438.65, 795.1, true));
edges.push(new Array(2188.6, 785.1, 2422, 785.1, true));
edges.push(new Array(2168.65, 810.1, 2188.6, 785.1, true));
edges.push(new Array(2170.35, 1046.85, 2168.65, 810.1, true));
edges.push(new Array(2180.3, 1416.9, 2170.35, 1046.85, true));
edges.push(new Array(1071.75, 1056.3, 1079.25, 1055.9, true));
edges.push(new Array(1079.25, 1055.9, 1098.1, 1055.9, true));
edges.push(new Array(1098.1, 1055.9, 1111.05, 1055.45, true));
edges.push(new Array(1111.05, 1055.45, 1122.75, 1056.3, true));
edges.push(new Array(1122.75, 1056.3, 1132.35, 1055.45, true));
edges.push(new Array(1132.35, 1055.45, 1139.5, 1055.9, true));
edges.push(new Array(1139.5, 1055.9, 1146.15, 1057.55, true));
edges.push(new Array(1146.15, 1057.55, 1149.95, 1060.5, true));
edges.push(new Array(1149.95, 1060.5, 1152.45, 1062.15, true));
edges.push(new Array(1152.45, 1062.15, 1155.35, 1064.25, true));
edges.push(new Array(1155.35, 1064.25, 1158.7, 1067.15, true));
edges.push(new Array(1158.7, 1067.15, 1161.2, 1070.5, true));
edges.push(new Array(1161.2, 1070.5, 1163.3, 1074.3, true));
edges.push(new Array(1163.3, 1074.3, 1164.55, 1078.05, true));
edges.push(new Array(1164.55, 1078.05, 1165.8, 1082.25, true));
edges.push(new Array(1165.8, 1082.25, 1166.25, 1088.5, true));
edges.push(new Array(1431.25, 1268.5, 1434.55, 1266.2, true));
edges.push(new Array(1434.55, 1266.2, 1437.25, 1263.85, true));
edges.push(new Array(1437.25, 1263.85, 1442.25, 1260.5, true));
edges.push(new Array(1442.25, 1260.5, 1445.9, 1259.2, true));
edges.push(new Array(1445.9, 1259.2, 1450.25, 1257.2, true));
edges.push(new Array(1450.25, 1257.2, 1454.25, 1255.85, true));
edges.push(new Array(1454.25, 1255.85, 1459.9, 1255.2, true));
edges.push(new Array(1459.9, 1255.2, 1464.9, 1254.5, true));
edges.push(new Array(1157.2, 1478.4, 1280.3, 1477.45, true));
edges.push(new Array(1801.25, 1254.85, 1807.6, 1256.5, true));
edges.push(new Array(1807.6, 1256.5, 1812.25, 1258.5, true));
edges.push(new Array(1812.25, 1258.5, 1816.9, 1261.2, true));
edges.push(new Array(1816.9, 1261.2, 1821.25, 1263.5, true));
edges.push(new Array(1821.25, 1263.5, 1824.9, 1266.2, true));
edges.push(new Array(1824.9, 1266.2, 1828.6, 1270.85, true));
edges.push(new Array(2167.65, 808.1, 2170.35, 800.1, true));
edges.push(new Array(2170.35, 800.1, 2173.35, 796.1, true));
edges.push(new Array(2173.35, 796.1, 2177, 792.1, true));
edges.push(new Array(2177, 792.1, 2180, 788.75, true));
edges.push(new Array(2180, 788.75, 2182, 787.75, true));
edges.push(new Array(2182, 787.75, 2185.65, 785.45, true));
edges.push(new Array(2185.65, 785.45, 2188.65, 782.1, true));
edges.push(new Array(2188.65, 782.1, 2194.35, 783.75, true));
edges.push(new Array(2194.35, 783.75, 2422, 783.45, true));
edges.push(new Array(2422, 783.45, 2427, 785.1, true));
edges.push(new Array(2427, 785.1, 2430.65, 787.75, true));
edges.push(new Array(2430.65, 787.75, 2433, 789.45, true));
edges.push(new Array(2433, 789.45, 2435.65, 791.75, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
rrs.push(new Array(roundedRect0._x, roundedRect0._y, roundedRect0._width, roundedRect0._height, roundedRect0));
rrs.push(new Array(roundedRect1._x, roundedRect1._y, roundedRect1._width, roundedRect1._height, roundedRect1));
rrs.push(new Array(roundedRect2._x, roundedRect2._y, roundedRect2._width, roundedRect2._height, roundedRect2));
rrs.push(new Array(roundedRect3._x, roundedRect3._y, roundedRect3._width, roundedRect3._height, roundedRect3));
rrs.push(new Array(roundedRect4._x, roundedRect4._y, roundedRect4._width, roundedRect4._height, roundedRect4));
rrs.push(new Array(roundedRect5._x, roundedRect5._y, roundedRect5._width, roundedRect5._height, roundedRect5));
rrs.push(new Array(roundedRect6._x, roundedRect6._y, roundedRect6._width, roundedRect6._height, roundedRect6));
var normalGravities = new Array();
var helps = new Array();
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 745 MovieClip [tile011] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(2079.65, 426.8, 2079.65, 288.15, true));
edges.push(new Array(2009.5, 426.8, 2079.65, 426.8, true));
edges.push(new Array(1964.4, 441.85, 2009.5, 426.8, true));
edges.push(new Array(1934.35, 467.75, 1964.4, 441.85, true));
edges.push(new Array(1915.1, 499.45, 1934.35, 467.75, true));
edges.push(new Array(1901.75, 549.6, 1915.1, 499.45, true));
edges.push(new Array(1895.9, 638.9, 1901.75, 549.6, true));
edges.push(new Array(1904.25, 821, 1895.9, 638.9, true));
edges.push(new Array(1936, 982.2, 1904.25, 821, true));
edges.push(new Array(1983.6, 1044.8, 1936, 982.2, true));
edges.push(new Array(2057.1, 1081.55, 1983.6, 1044.8, true));
edges.push(new Array(2172.5, 1089.2, 2057.1, 1081.55, true));
edges.push(new Array(2215.15, 1089.2, 2172.5, 1089.2, true));
edges.push(new Array(2255.25, 1131.8, 2215.15, 1089.2, true));
edges.push(new Array(2260.8, 1236.3, 2255.25, 1131.8, true));
edges.push(new Array(2230.6, 1396.35, 2260.8, 1236.3, true));
edges.push(new Array(2227.3, 1611.6, 2230.6, 1396.35, true));
edges.push(new Array(2223.95, 1805.95, 2227.3, 1611.6, true));
edges.push(new Array(2211.35, 1917.35, 2223.95, 1805.95, true));
edges.push(new Array(2168.65, 1959.25, 2211.35, 1917.35, true));
edges.push(new Array(1985.2, 1961.75, 2168.65, 1959.25, true));
edges.push(new Array(1847, 1965.1, 1985.2, 1961.75, true));
edges.push(new Array(1681.15, 1981.85, 1847, 1965.1, true));
edges.push(new Array(1474.1, 1982.85, 1681.15, 1981.85, true));
edges.push(new Array(1276.8, 1977.8, 1474.1, 1982.85, true));
edges.push(new Array(988.9, 1969.4, 1276.8, 1977.8, true));
edges.push(new Array(769.25, 1964.4, 988.9, 1969.4, true));
edges.push(new Array(548, 1970.75, 769.25, 1964.4, true));
edges.push(new Array(434, 1956.4, 548, 1970.75, true));
edges.push(new Array(402.8, 1895.6, 434, 1956.4, true));
edges.push(new Array(406.5, 1818.65, 402.8, 1895.6, true));
edges.push(new Array(397.15, 1788.95, 406.5, 1818.65, true));
edges.push(new Array(369.15, 1771.95, 397.15, 1788.95, true));
edges.push(new Array(224.85, 1772.8, 369.15, 1771.95, true));
edges.push(new Array(224.05, 1569.15, 224.85, 1772.8, true));
edges.push(new Array(487.1, 1566.6, 224.05, 1569.15, true));
edges.push(new Array(531.25, 1571.7, 487.1, 1566.6, true));
edges.push(new Array(548.2, 1605.6, 531.25, 1571.7, true));
edges.push(new Array(551.6, 1715.1, 548.2, 1605.6, true));
edges.push(new Array(580.45, 1752.45, 551.6, 1715.1, true));
edges.push(new Array(627.95, 1770.25, 580.45, 1752.45, true));
edges.push(new Array(700.45, 1767.7, 627.95, 1770.25, true));
edges.push(new Array(730.25, 1737.05, 700.45, 1767.7, true));
edges.push(new Array(737.05, 1671.5, 730.25, 1737.05, true));
edges.push(new Array(730.25, 1504.7, 737.05, 1671.5, true));
edges.push(new Array(719.2, 1314.05, 730.25, 1504.7, true));
edges.push(new Array(726.4, 1234.25, 719.2, 1314.05, true));
edges.push(new Array(780.15, 1216.35, 726.4, 1234.25, true));
edges.push(new Array(934.25, 1207.75, 780.15, 1216.35, true));
edges.push(new Array(975.25, 1176.95, 934.25, 1207.75, true));
edges.push(new Array(986.35, 1127.4, 975.25, 1176.95, true));
edges.push(new Array(967.55, 1082.95, 986.35, 1127.4, true));
edges.push(new Array(917.15, 1063.3, 967.55, 1082.95, true));
edges.push(new Array(776.95, 1066.7, 917.15, 1063.3, true));
edges.push(new Array(620.2, 1066.2, 776.95, 1066.7, true));
edges.push(new Array(480.35, 1067.1, 620.2, 1066.2, true));
edges.push(new Array(386, 1065.35, 480.35, 1067.1, true));
edges.push(new Array(317.4, 1013.9, 386, 1065.35, true));
edges.push(new Array(306.25, 943.55, 317.4, 1013.9, true));
edges.push(new Array(310.55, 789.15, 306.25, 943.55, true));
edges.push(new Array(313.1, 645.9, 310.55, 789.15, true));
edges.push(new Array(313.1, 495.8, 313.1, 645.9, true));
edges.push(new Array(319.1, 359.4, 313.1, 495.8, true));
edges.push(new Array(345.7, 256.45, 319.1, 359.4, true));
edges.push(new Array(408.3, 183.55, 345.7, 256.45, true));
edges.push(new Array(496.65, 150.95, 408.3, 183.55, true));
edges.push(new Array(626.15, 156.95, 496.65, 150.95, true));
edges.push(new Array(795.15, 153.55, 626.15, 156.95, true));
edges.push(new Array(990.75, 136.4, 795.15, 153.55, true));
edges.push(new Array(1173.45, 130.4, 990.75, 136.4, true));
edges.push(new Array(1353.55, 136.4, 1173.45, 130.4, true));
edges.push(new Array(1513.95, 150.1, 1353.55, 136.4, true));
edges.push(new Array(1682.15, 181, 1513.95, 150.1, true));
edges.push(new Array(1865.7, 226.45, 1682.15, 181, true));
edges.push(new Array(2012.35, 265.05, 1865.7, 226.45, true));
edges.push(new Array(2081, 289.1, 2012.35, 265.05, true));
edges.push(new Array(885.6, 1480.75, 879.75, 1401, true));
edges.push(new Array(879.75, 1401, 889.8, 1365.75, true));
edges.push(new Array(889.8, 1365.75, 914.15, 1342.25, true));
edges.push(new Array(914.15, 1342.25, 959.45, 1331.35, true));
edges.push(new Array(959.45, 1331.35, 1084.55, 1322.95, true));
edges.push(new Array(1084.55, 1322.95, 1166.8, 1336.35, true));
edges.push(new Array(1166.8, 1336.35, 1217.2, 1364.9, true));
edges.push(new Array(1217.2, 1364.9, 1257.5, 1410.45, true));
edges.push(new Array(1257.5, 1410.45, 1290.25, 1475.95, true));
edges.push(new Array(1290.25, 1475.95, 1300.35, 1566.65, true));
edges.push(new Array(1300.35, 1566.65, 1300.4, 1704.4, true));
edges.push(new Array(1300.4, 1704.4, 1287.8, 1746.4, true));
edges.push(new Array(1287.8, 1746.4, 1250, 1770.8, true));
edges.push(new Array(1250, 1770.8, 1181.95, 1778.35, true));
edges.push(new Array(1181.95, 1778.35, 1008.05, 1779.2, true));
edges.push(new Array(1008.05, 1779.2, 906.4, 1772.5, true));
edges.push(new Array(906.4, 1772.5, 877, 1754, true));
edges.push(new Array(877, 1754, 871.95, 1705.3, true));
edges.push(new Array(871.95, 1705.3, 884.55, 1568.35, true));
edges.push(new Array(884.55, 1568.35, 885.6, 1480.75, true));
edges.push(new Array(1335.75, 1201.05, 1240.4, 1191.85, true));
edges.push(new Array(1240.4, 1191.85, 1208.6, 1175.95, true));
edges.push(new Array(1208.6, 1175.95, 1190.2, 1135.85, true));
edges.push(new Array(1190.2, 1135.85, 1201.1, 1100.7, true));
edges.push(new Array(1201.1, 1100.7, 1234.55, 1079.8, true));
edges.push(new Array(1234.55, 1079.8, 1390.1, 1082.3, true));
edges.push(new Array(1390.1, 1082.3, 1473.75, 1106.55, true));
edges.push(new Array(1473.75, 1106.55, 1536.7, 1151.9, true));
edges.push(new Array(1536.7, 1151.9, 1574.45, 1221.5, true));
edges.push(new Array(1574.45, 1221.5, 1592.05, 1313.7, true));
edges.push(new Array(1592.05, 1313.7, 1594.05, 1495.05, true));
edges.push(new Array(1594.05, 1495.05, 1586.55, 1718.3, true));
edges.push(new Array(1586.55, 1718.3, 1568.35, 1762.4, true));
edges.push(new Array(1568.35, 1762.4, 1530.55, 1780.05, true));
edges.push(new Array(1530.55, 1780.05, 1481, 1777.5, true));
edges.push(new Array(1481, 1777.5, 1440.65, 1738.05, true));
edges.push(new Array(1440.65, 1738.05, 1427.2, 1658.2, true));
edges.push(new Array(1427.2, 1658.2, 1429.75, 1455.8, true));
edges.push(new Array(1429.75, 1455.8, 1440.65, 1314.65, true));
edges.push(new Array(1440.65, 1314.65, 1413.75, 1236.5, true));
edges.push(new Array(1413.75, 1236.5, 1335.75, 1201.05, true));
edges.push(new Array(1203.3, 743.15, 1465.5, 742.35, true));
edges.push(new Array(1465.5, 742.35, 1512.25, 759.05, true));
edges.push(new Array(1512.25, 759.05, 1548.15, 797.45, true));
edges.push(new Array(1548.15, 797.45, 1554, 848.4, true));
edges.push(new Array(1554, 848.4, 1527.55, 905.35, true));
edges.push(new Array(1527.55, 905.35, 1412.3, 932.05, true));
edges.push(new Array(1412.3, 932.05, 1241.1, 933.75, true));
edges.push(new Array(1241.1, 933.75, 1156.7, 897, true));
edges.push(new Array(1156.7, 897, 1132.4, 828.3, true));
edges.push(new Array(1132.4, 828.3, 1157.6, 766.95, true));
edges.push(new Array(1157.6, 766.95, 1203.3, 743.15, true));
edges.push(new Array(1274.35, 593.05, 1029.55, 588.55, true));
edges.push(new Array(1517.9, 569.55, 1274.35, 593.05, true));
edges.push(new Array(1615.35, 561.15, 1517.9, 569.55, true));
edges.push(new Array(1685.1, 593.9, 1615.35, 561.15, true));
edges.push(new Array(1718.7, 662.8, 1685.1, 593.9, true));
edges.push(new Array(1717.85, 788.75, 1718.7, 662.8, true));
edges.push(new Array(1722.1, 1030.7, 1717.85, 788.75, true));
edges.push(new Array(1738.05, 1274.35, 1722.1, 1030.7, true));
edges.push(new Array(1736.35, 1476.75, 1738.05, 1274.35, true));
edges.push(new Array(1721.2, 1683.45, 1736.35, 1476.75, true));
edges.push(new Array(1740.55, 1733.8, 1721.2, 1683.45, true));
edges.push(new Array(1774.15, 1751.45, 1740.55, 1733.8, true));
edges.push(new Array(1814.45, 1737.2, 1774.15, 1751.45, true));
edges.push(new Array(1835.45, 1683.4, 1814.45, 1737.2, true));
edges.push(new Array(1838.85, 1549.9, 1835.45, 1683.4, true));
edges.push(new Array(1817.85, 1430.6, 1838.85, 1549.9, true));
edges.push(new Array(1811.7, 1280.2, 1817.85, 1430.6, true));
edges.push(new Array(1821.75, 1150.25, 1861.15, 1170.35, true));
edges.push(new Array(1861.15, 1170.35, 1961.75, 1167.85, true));
edges.push(new Array(1961.75, 1167.85, 2069.9, 1167, true));
edges.push(new Array(2069.9, 1167, 2100.95, 1185.45, true));
edges.push(new Array(2100.95, 1185.45, 2113.5, 1217.3, true));
edges.push(new Array(2113.5, 1217.3, 2104.3, 1246.65, true));
edges.push(new Array(2104.3, 1246.65, 2072.45, 1255.85, true));
edges.push(new Array(2072.45, 1255.85, 1827.6, 1258.4, true));
edges.push(new Array(1827.6, 1258.4, 1811.7, 1280.2, true));
edges.push(new Array(1806.9, 1002.15, 1821.75, 1150.25, true));
edges.push(new Array(1802.7, 745.15, 1806.9, 1002.15, true));
edges.push(new Array(1800.2, 557.8, 1802.7, 745.15, true));
edges.push(new Array(1775.85, 472.95, 1800.2, 557.8, true));
edges.push(new Array(1712, 397.35, 1775.85, 472.95, true));
edges.push(new Array(1616.2, 374.7, 1712, 397.35, true));
edges.push(new Array(1393.6, 370.45, 1616.2, 374.7, true));
edges.push(new Array(1203.8, 382.2, 1393.6, 370.45, true));
edges.push(new Array(1026.55, 377.2, 1203.8, 382.2, true));
edges.push(new Array(776.2, 376.35, 1026.55, 377.2, true));
edges.push(new Array(550.25, 365.45, 776.2, 376.35, true));
edges.push(new Array(504.9, 379.7, 550.25, 365.45, true));
edges.push(new Array(476.3, 423.4, 504.9, 379.7, true));
edges.push(new Array(477.95, 472.95, 476.3, 423.4, true));
edges.push(new Array(508.2, 520.85, 477.95, 472.95, true));
edges.push(new Array(591.4, 542.7, 508.2, 520.85, true));
edges.push(new Array(709, 550.25, 591.4, 542.7, true));
edges.push(new Array(848.45, 549.4, 709, 550.25, true));
edges.push(new Array(883.75, 604, 848.45, 549.4, true));
edges.push(new Array(880.35, 703.1, 883.75, 604, true));
edges.push(new Array(851.8, 790.5, 880.35, 703.1, true));
edges.push(new Array(773.65, 792.15, 851.8, 790.5, true));
edges.push(new Array(607.35, 771.95, 773.65, 792.15, true));
edges.push(new Array(530.05, 778.7, 607.35, 771.95, true));
edges.push(new Array(487.2, 813.15, 530.05, 778.7, true));
edges.push(new Array(476.3, 853.5, 487.2, 813.15, true));
edges.push(new Array(489.75, 886.25, 476.3, 853.5, true));
edges.push(new Array(535.95, 915.65, 489.75, 886.25, true));
edges.push(new Array(729.15, 935.8, 535.95, 915.65, true));
edges.push(new Array(959.3, 948.4, 729.15, 935.8, true));
edges.push(new Array(1004.7, 934.95, 959.3, 948.4, true));
edges.push(new Array(1029.9, 881.2, 1004.7, 934.95, true));
edges.push(new Array(1036.6, 809.8, 1029.9, 881.2, true));
edges.push(new Array(1029.55, 588.55, 1036.6, 809.8, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
var normalGravities = new Array();
var helps = new Array();
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 757 MovieClip Frame 1
gotoAndStop ("in");
Symbol 757 MovieClip Frame 9
gotoAndStop ("in");
_parent.mc_jump.play();
Symbol 758 MovieClip Frame 1
this._visible = false;
Symbol 760 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 84
this.RotateDone();
Symbol 760 MovieClip Frame 85
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 760 MovieClip Frame 106
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 760 MovieClip Frame 107
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 760 MovieClip Frame 114
this.char.child0.gotoAndStop("hidden");
Symbol 760 MovieClip Frame 127
this.char.child4.gotoAndStop("hidden");
Symbol 760 MovieClip Frame 138
this.char.child2.gotoAndStop("hidden");
Symbol 760 MovieClip Frame 148
this.char.child3.gotoAndStop("hidden");
Symbol 760 MovieClip Frame 160
this.char.child1.gotoAndStop("hidden");
Symbol 760 MovieClip Frame 213
stop();
trace(_root.pad1);
Symbol 772 MovieClip Frame 48
gotoAndPlay (1);
Symbol 776 MovieClip Frame 1
var endmovie = "die";
Symbol 776 MovieClip Frame 30
gotoAndPlay (1);
Symbol 776 MovieClip Frame 74
stop();
Symbol 777 MovieClip Frame 1
stop();
stop();
this.antbody.stop();
Symbol 777 MovieClip Frame 2
this.antbody.play();
Symbol 777 MovieClip Frame 100
stop();
Symbol 778 MovieClip Frame 1
stop();
this.antbody.stop();
Symbol 778 MovieClip Frame 2
this.antbody.play();
Symbol 778 MovieClip Frame 100
stop();
Symbol 779 MovieClip Frame 1
stop();
stop();
this.antbody.stop();
Symbol 779 MovieClip Frame 2
this.antbody.play();
Symbol 779 MovieClip Frame 100
stop();
Symbol 780 MovieClip Frame 1
stop();
stop();
this.antbody.stop();
Symbol 780 MovieClip Frame 2
this.antbody.play();
Symbol 780 MovieClip Frame 100
stop();
Symbol 784 MovieClip Frame 1
stop();
this.ch._visible = false;
Symbol 784 MovieClip Frame 2
_global.sounds.PlaySound("door");
Symbol 784 MovieClip Frame 9
_global.sounds.PlaySound("jippie");
Symbol 784 MovieClip Frame 15
stop();
Symbol 786 MovieClip [tile012] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
function addStation(startNum, endNum) {
i = startNum;
while (i <= endNum) {
var myrrs = eval ("roundedRect" + i);
rrs.push(new Array(myrrs._x, myrrs._y, myrrs._width, myrrs._height, myrrs));
i++;
}
}
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(209.5, 480.7, 209.5, 684.35, true));
edges.push(new Array(209.5, 684.35, 329.7, 680.2, true));
edges.push(new Array(329.7, 680.2, 351.4, 682.7, true));
edges.push(new Array(351.4, 682.7, 371.45, 688.5, true));
edges.push(new Array(371.45, 688.5, 391.5, 701.05, true));
edges.push(new Array(391.5, 701.05, 423.5, 755.05, true));
edges.push(new Array(423.5, 755.05, 471.1, 755.9, true));
edges.push(new Array(471.1, 755.9, 484.5, 707.45, true));
edges.push(new Array(484.5, 707.45, 492.85, 697.4, true));
edges.push(new Array(492.85, 697.4, 506.2, 691.55, true));
edges.push(new Array(506.2, 691.55, 531.25, 687.4, true));
edges.push(new Array(531.25, 687.4, 611.95, 645.3, true));
edges.push(new Array(611.95, 645.3, 647.05, 549.2, true));
edges.push(new Array(647.05, 549.2, 624.5, 408.75, true));
edges.push(new Array(624.5, 408.75, 559.3, 316, true));
edges.push(new Array(559.3, 316, 318.9, 315.45, true));
edges.push(new Array(318.9, 315.45, 318.9, 490.45, true));
edges.push(new Array(318.9, 490.45, 208.65, 481.2, true));
edges.push(new Array(434.65, 1096.15, 384.6, 1188.75, true));
edges.push(new Array(384.6, 1188.75, 299.25, 1278.85, true));
edges.push(new Array(299.25, 1278.85, 286.7, 1375.8, true));
edges.push(new Array(286.7, 1375.8, 330.2, 1456.05, true));
edges.push(new Array(330.2, 1456.05, 646.2, 1471.1, true));
edges.push(new Array(646.2, 1471.1, 795.85, 1464.45, true));
edges.push(new Array(795.85, 1464.45, 844.35, 1472.8, true));
edges.push(new Array(844.35, 1472.8, 1056.65, 1570.6, true));
edges.push(new Array(1056.65, 1570.6, 1253.1, 1644.95, true));
edges.push(new Array(1253.1, 1644.95, 1460.4, 1711.05, true));
edges.push(new Array(1460.4, 1711.05, 1535.6, 1707.7, true));
edges.push(new Array(1535.6, 1707.7, 1610.85, 1671.75, true));
edges.push(new Array(1610.85, 1671.75, 1611.7, 1593.2, true));
edges.push(new Array(1611.7, 1593.2, 1540.65, 1507.1, true));
edges.push(new Array(1540.65, 1507.1, 1375.95, 1520.45, true));
edges.push(new Array(1375.95, 1520.45, 1283.7, 1511.25, true));
edges.push(new Array(1283.7, 1511.25, 999.75, 1397, true));
edges.push(new Array(999.75, 1397, 876.25, 1351.6, true));
edges.push(new Array(876.25, 1351.6, 956.1, 1273.5, true));
edges.push(new Array(956.1, 1273.5, 1162.75, 1251.65, true));
edges.push(new Array(1162.75, 1251.65, 1282, 1218.05, true));
edges.push(new Array(1282, 1218.05, 1552.55, 1096.25, true));
edges.push(new Array(1552.55, 1096.25, 1813, 1011.4, true));
edges.push(new Array(1813, 1011.4, 2092.75, 908.4, true));
edges.push(new Array(2092.75, 908.4, 2142.3, 995.45, true));
edges.push(new Array(2142.3, 995.45, 1932.3, 1072.75, true));
edges.push(new Array(1932.3, 1072.75, 1784.9, 1101, true));
edges.push(new Array(1784.9, 1101, 1716.15, 1117.25, true));
edges.push(new Array(1716.15, 1117.25, 1673.65, 1141, true));
edges.push(new Array(1673.65, 1141, 1659.2, 1197.05, true));
edges.push(new Array(1659.2, 1197.05, 1745.75, 1229.8, true));
edges.push(new Array(1745.75, 1229.8, 1848.25, 1217.2, true));
edges.push(new Array(1848.25, 1217.2, 2075.9, 1124.8, true));
edges.push(new Array(2075.9, 1124.8, 2239.75, 1053.4, true));
edges.push(new Array(2239.75, 1053.4, 2254.9, 1116.4, true));
edges.push(new Array(2254.9, 1116.4, 2218.75, 1124.8, true));
edges.push(new Array(2218.75, 1124.8, 2151.55, 1229.85, true));
edges.push(new Array(2151.55, 1229.85, 2069.2, 1297.05, true));
edges.push(new Array(2069.2, 1297.05, 1957.45, 1346.6, true));
edges.push(new Array(1957.45, 1346.6, 1827.25, 1355.8, true));
edges.push(new Array(1827.25, 1355.8, 1631.5, 1342.35, true));
edges.push(new Array(1631.5, 1342.35, 1581.1, 1379.35, true));
edges.push(new Array(1581.1, 1379.35, 1574.35, 1450.75, true));
edges.push(new Array(1574.35, 1450.75, 1607.15, 1507.85, true));
edges.push(new Array(1607.15, 1507.85, 1672.65, 1525.5, true));
edges.push(new Array(1672.65, 1525.5, 1907.9, 1456.6, true));
edges.push(new Array(1907.9, 1456.6, 2099.45, 1386.9, true));
edges.push(new Array(2099.45, 1386.9, 2188.5, 1355.8, true));
edges.push(new Array(2188.5, 1355.8, 2232.2, 1351.6, true));
edges.push(new Array(2232.2, 1351.6, 2439.7, 1393.6, true));
edges.push(new Array(2439.7, 1393.6, 2726.2, 1451.55, true));
edges.push(new Array(2726.2, 1451.55, 3042.1, 1514.6, true));
edges.push(new Array(3042.1, 1514.6, 3069, 1485.2, true));
edges.push(new Array(3069, 1485.2, 3103.4, 1462.5, true));
edges.push(new Array(3103.4, 1462.5, 3153, 1451.6, true));
edges.push(new Array(3153, 1451.6, 3195.85, 1454.95, true));
edges.push(new Array(3195.85, 1454.95, 3198.35, 1392.8, true));
edges.push(new Array(3198.35, 1392.8, 3206.75, 1376.85, true));
edges.push(new Array(3206.75, 1376.85, 3226.1, 1360.9, true));
edges.push(new Array(3226.1, 1360.9, 3273.95, 1344.1, true));
edges.push(new Array(3273.95, 1344.1, 3346.2, 1332.3, true));
edges.push(new Array(3346.2, 1332.3, 3343.7, 1160.1, true));
edges.push(new Array(3343.7, 1160.1, 3344.55, 939.2, true));
edges.push(new Array(3344.55, 939.2, 3215.15, 976.15, true));
edges.push(new Array(3215.15, 976.15, 3068.95, 955.95, true));
edges.push(new Array(3068.95, 955.95, 2979.9, 893.8, true));
edges.push(new Array(2979.9, 893.8, 2972.35, 766.15, true));
edges.push(new Array(2972.35, 766.15, 2995.9, 716.55, true));
edges.push(new Array(2995.9, 716.55, 3033.7, 678.75, true));
edges.push(new Array(3033.7, 678.75, 3079.05, 654.35, true));
edges.push(new Array(3079.05, 654.35, 3259.7, 652.7, true));
edges.push(new Array(3259.7, 652.7, 3350.4, 651.85, true));
edges.push(new Array(3350.4, 651.85, 3348.7, 452.8, true));
edges.push(new Array(3348.7, 452.8, 3160.55, 453.65, true));
edges.push(new Array(3160.55, 453.65, 2976.55, 419.15, true));
edges.push(new Array(2976.55, 419.15, 2812.7, 373.8, true));
edges.push(new Array(2812.7, 373.8, 2711.9, 387.25, true));
edges.push(new Array(2711.9, 387.25, 2675.8, 552.75, true));
edges.push(new Array(2675.8, 552.75, 2698.45, 688, true));
edges.push(new Array(2698.45, 688, 2751.4, 711.55, true));
edges.push(new Array(2751.4, 711.55, 2807.7, 703.15, true));
edges.push(new Array(2807.7, 703.15, 2821.95, 703.95, true));
edges.push(new Array(2821.95, 703.95, 2833.75, 706.5, true));
edges.push(new Array(2833.75, 706.5, 2843.8, 714.05, true));
edges.push(new Array(2843.8, 714.05, 2849.7, 727.5, true));
edges.push(new Array(2849.7, 727.5, 2853.9, 755.2, true));
edges.push(new Array(2853.9, 755.2, 2839.65, 898.85, true));
edges.push(new Array(2839.65, 898.85, 2756.45, 949.25, true));
edges.push(new Array(2756.45, 949.25, 2712.75, 1047.5, true));
edges.push(new Array(2712.75, 1047.5, 2725.1, 1153.35, true));
edges.push(new Array(2725.1, 1153.35, 2788.2, 1209.7, true));
edges.push(new Array(2788.2, 1209.7, 2948.05, 1225.7, true));
edges.push(new Array(2948.05, 1225.7, 2983.4, 1348.5, true));
edges.push(new Array(2983.4, 1348.5, 2756.25, 1350.2, true));
edges.push(new Array(2756.25, 1350.2, 2576.85, 1329.65, true));
edges.push(new Array(2576.85, 1329.65, 2411.5, 1279.85, true));
edges.push(new Array(2411.5, 1279.85, 2297.55, 1237.65, true));
edges.push(new Array(2297.55, 1237.65, 2365.05, 1168.45, true));
edges.push(new Array(2365.05, 1168.45, 2403.85, 1168.45, true));
edges.push(new Array(2403.85, 1168.45, 2417.35, 1121.2, true));
edges.push(new Array(2417.35, 1121.2, 2435.9, 1100.15, true));
edges.push(new Array(2435.9, 1100.15, 2466.3, 1087.45, true));
edges.push(new Array(2466.3, 1087.45, 2521.15, 1079.9, true));
edges.push(new Array(2521.15, 1079.9, 2524.5, 981.2, true));
edges.push(new Array(2524.5, 981.2, 2453.65, 870.65, true));
edges.push(new Array(2453.65, 870.65, 2449.4, 755.95, true));
edges.push(new Array(2449.4, 755.95, 2479.8, 669.05, true));
edges.push(new Array(2479.8, 669.05, 2442.65, 584.7, true));
edges.push(new Array(2442.65, 584.7, 2359.95, 563.6, true));
edges.push(new Array(2359.95, 563.6, 2187.85, 615.05, true));
edges.push(new Array(2187.85, 615.05, 1933.9, 680.85, true));
edges.push(new Array(1933.9, 680.85, 1712.85, 711.2, true));
edges.push(new Array(1712.85, 711.2, 1479.95, 723.05, true));
edges.push(new Array(1479.95, 723.05, 1275.75, 712.9, true));
edges.push(new Array(1275.75, 712.9, 1061.45, 698.55, true));
edges.push(new Array(1061.45, 698.55, 948.35, 680, true));
edges.push(new Array(948.35, 680, 770.35, 614.2, true));
edges.push(new Array(770.35, 614.2, 698.6, 652.15, true));
edges.push(new Array(698.6, 652.15, 664, 734, true));
edges.push(new Array(664, 734, 703.5, 810, true));
edges.push(new Array(703.5, 810, 761, 836.2, true));
edges.push(new Array(761, 836.2, 970.7, 805.75, true));
edges.push(new Array(970.7, 805.75, 1176.85, 816.4, true));
edges.push(new Array(1176.85, 816.4, 1237.05, 822.3, true));
edges.push(new Array(1237.05, 822.3, 1257.4, 827.4, true));
edges.push(new Array(1257.4, 827.4, 1277.75, 838.45, true));
edges.push(new Array(1277.75, 838.45, 1298.1, 857.1, true));
edges.push(new Array(1298.1, 857.1, 1305.7, 878.25, true));
edges.push(new Array(1305.7, 878.25, 1307.4, 913.05, true));
edges.push(new Array(1307.4, 913.05, 1288.3, 1011.5, true));
edges.push(new Array(1288.3, 1011.5, 1238.2, 1089.55, true));
edges.push(new Array(1238.2, 1089.55, 1097.35, 1087.05, true));
edges.push(new Array(1097.35, 1087.05, 913.6, 1104.4, true));
edges.push(new Array(913.6, 1104.4, 824.1, 1133.35, true));
edges.push(new Array(824.1, 1133.35, 714.5, 1270.9, true));
edges.push(new Array(714.5, 1270.9, 640.6, 1292.2, true));
edges.push(new Array(640.6, 1292.2, 555.95, 1268.25, true));
edges.push(new Array(555.95, 1268.25, 502.05, 1209.25, true));
edges.push(new Array(502.05, 1209.25, 476.4, 1098.05, true));
edges.push(new Array(476.4, 1098.05, 434.45, 1096.35, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
addStation(0, 8);
var normalGravities = new Array();
var helps = new Array();
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 807 MovieClip Frame 1
var cai = this.body.cai;
var sou = this.body.sou;
Symbol 807 MovieClip Frame 246
gotoAndPlay (1);
Symbol 812 MovieClip Frame 1
stop();
gotoAndPlay (2);
Symbol 813 MovieClip [tile013] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
function addStation(startNum, endNum) {
i = startNum;
while (i <= endNum) {
var myrrs = eval ("roundedRect" + i);
rrs.push(new Array(myrrs._x, myrrs._y, myrrs._width, myrrs._height, myrrs));
i++;
}
}
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(453.65, 256.05, 396.75, 331.95, true));
edges.push(new Array(396.75, 331.95, 329.55, 346.15, true));
edges.push(new Array(329.55, 346.15, 323.25, 529.55, true));
edges.push(new Array(323.25, 529.55, 549.35, 569.15, true));
edges.push(new Array(549.35, 569.15, 844.05, 582.65, true));
edges.push(new Array(844.05, 582.65, 862.2, 585.7, true));
edges.push(new Array(862.2, 585.7, 875.85, 590, true));
edges.push(new Array(875.85, 590, 886.85, 598.7, true));
edges.push(new Array(886.85, 598.7, 897.2, 610, true));
edges.push(new Array(897.2, 610, 903.85, 623.7, true));
edges.push(new Array(903.85, 623.7, 911.7, 667.8, true));
edges.push(new Array(911.7, 667.8, 907, 883, true));
edges.push(new Array(907, 883, 1005.55, 878.2, true));
edges.push(new Array(1005.55, 878.2, 1025.55, 881.1, true));
edges.push(new Array(1025.55, 881.1, 1037.25, 885.7, true));
edges.push(new Array(1037.25, 885.7, 1048.9, 892.8, true));
edges.push(new Array(1048.9, 892.8, 1056.8, 901.95, true));
edges.push(new Array(1056.8, 901.95, 1064.75, 913.2, true));
edges.push(new Array(1064.75, 913.2, 1068.5, 924.45, true));
edges.push(new Array(1068.5, 924.45, 1071.7, 953.35, true));
edges.push(new Array(1071.7, 953.35, 1073.35, 985.05, true));
edges.push(new Array(1073.35, 985.05, 1075.5, 1056.5, true));
edges.push(new Array(1075.5, 1056.5, 1161.15, 1053.4, true));
edges.push(new Array(1161.15, 1053.4, 1172.45, 1055.95, true));
edges.push(new Array(1172.45, 1055.95, 1182.55, 1059.7, true));
edges.push(new Array(1182.55, 1059.7, 1191.35, 1066.85, true));
edges.push(new Array(1191.35, 1066.85, 1198.95, 1077.35, true));
edges.push(new Array(1198.95, 1077.35, 1203.95, 1091.65, true));
edges.push(new Array(1203.95, 1091.65, 1219.1, 1194.1, true));
edges.push(new Array(1219.1, 1194.1, 1543.65, 1213.85, true));
edges.push(new Array(1543.65, 1213.85, 1619.25, 1174.4, true));
edges.push(new Array(1619.25, 1174.4, 1651.15, 1120.6, true));
edges.push(new Array(1651.15, 1120.6, 1659.55, 1034.1, true));
edges.push(new Array(1659.55, 1034.1, 1527.85, 763.35, true));
edges.push(new Array(1527.85, 763.35, 1517.25, 718.35, true));
edges.push(new Array(1517.25, 718.35, 1516.2, 680.05, true));
edges.push(new Array(1516.2, 680.05, 1529.5, 650.6, true));
edges.push(new Array(1529.5, 650.6, 1550.05, 633.9, true));
edges.push(new Array(1550.05, 633.9, 1576.75, 622.25, true));
edges.push(new Array(1576.5, 621.35, 1643.3, 608, true));
edges.push(new Array(1643.3, 608, 1710.9, 605.5, true));
edges.push(new Array(1710.9, 605.5, 1767.7, 613, true));
edges.push(new Array(1767.7, 613, 1805.3, 631.4, true));
edges.push(new Array(1805.3, 631.4, 1831.15, 655.6, true));
edges.push(new Array(1831.15, 655.6, 1849.55, 687.35, true));
edges.push(new Array(1849.55, 687.35, 1874.65, 755, true));
edges.push(new Array(1874.65, 755, 1908.05, 869.45, true));
edges.push(new Array(1908.05, 869.45, 1989, 973, true));
edges.push(new Array(1989, 973, 2103.4, 1050.7, true));
edges.push(new Array(2103.4, 1050.7, 2273.1, 1093.35, true));
edges.push(new Array(2273.1, 1093.35, 2497.05, 1116.75, true));
edges.push(new Array(2497.05, 1116.75, 2615.7, 1120.9, true));
edges.push(new Array(2615.3, 1119.75, 2642.2, 1121.45, true));
edges.push(new Array(2642.2, 1121.45, 2653.55, 1124.35, true));
edges.push(new Array(2653.55, 1124.35, 2663.9, 1131.35, true));
edges.push(new Array(2663.9, 1131.35, 2671.9, 1142.7, true));
edges.push(new Array(2671.9, 1142.7, 2684.55, 1171.7, true));
edges.push(new Array(2684.55, 1171.7, 2707.55, 1189.4, true));
edges.push(new Array(2707.55, 1189.4, 2742.55, 1192.05, true));
edges.push(new Array(2742.55, 1192.05, 2767.55, 1170.4, true));
edges.push(new Array(2767.55, 1170.4, 2776.55, 1141.4, true));
edges.push(new Array(2776.55, 1141.4, 2780.9, 1133.05, true));
edges.push(new Array(2780.9, 1133.05, 2786.55, 1126.35, true));
edges.push(new Array(2786.55, 1126.35, 2793.55, 1122.7, true));
edges.push(new Array(2793.55, 1122.7, 2802.2, 1119.05, true));
edges.push(new Array(2802.2, 1119.05, 2816.9, 1117.05, true));
edges.push(new Array(2816.9, 1117.05, 2933.55, 1108.05, true));
edges.push(new Array(2933.55, 1108.05, 3061.5, 1091.4, true));
edges.push(new Array(3061.5, 1091.4, 3209.45, 1060.05, true));
edges.push(new Array(3209.45, 1060.05, 3332.1, 1011.4, true));
edges.push(new Array(3332.1, 1011.4, 3434.15, 934, true));
edges.push(new Array(3434.15, 934, 3521.45, 821.35, true));
edges.push(new Array(3521.45, 821.35, 3592.1, 702.7, true));
edges.push(new Array(3592.15, 699.9, 3659.7, 634, true));
edges.push(new Array(3659.7, 634, 3691.4, 613.95, true));
edges.push(new Array(3691.4, 613.95, 3730.6, 600.65, true));
edges.push(new Array(3730.6, 600.65, 3776.45, 596.45, true));
edges.push(new Array(3776.45, 596.45, 3927.45, 609, true));
edges.push(new Array(3927.45, 609, 3950, 614, true));
edges.push(new Array(3950, 614, 3977.5, 629, true));
edges.push(new Array(3977.5, 629, 4004.2, 656.55, true));
edges.push(new Array(4004.2, 656.55, 4015.05, 686.55, true));
edges.push(new Array(4015.05, 686.55, 4027.55, 785.85, true));
edges.push(new Array(4027.55, 785.85, 4118.45, 793.35, true));
edges.push(new Array(4118.45, 793.35, 4138.45, 796.7, true));
edges.push(new Array(4138.45, 796.7, 4151.05, 801.05, true));
edges.push(new Array(4151.05, 801.05, 4161.5, 810.2, true));
edges.push(new Array(4161.5, 810.2, 4170.25, 824.8, true));
edges.push(new Array(4170.25, 824.8, 4175.65, 845.65, true));
edges.push(new Array(4175.65, 845.65, 4176.35, 932.05, true));
edges.push(new Array(4176.35, 932.05, 4261.5, 931.65, true));
edges.push(new Array(4261.5, 931.65, 4280.75, 933.75, true));
edges.push(new Array(4280.75, 933.75, 4295.75, 937.9, true));
edges.push(new Array(4295.75, 937.9, 4307.45, 942.1, true));
edges.push(new Array(4307.45, 942.1, 4317.05, 951.7, true));
edges.push(new Array(4317.05, 951.7, 4325.8, 965.1, true));
edges.push(new Array(4325.8, 965.1, 4331.65, 986.8, true));
edges.push(new Array(4331.65, 986.8, 4340.4, 1039, true));
edges.push(new Array(4340.4, 1039, 4370.05, 1071.15, true));
edges.push(new Array(4370.05, 1071.15, 4434.35, 1083.25, true));
edges.push(new Array(4434.35, 1083.25, 4457.75, 1088.65, true));
edges.push(new Array(4457.75, 1088.65, 4472.75, 1094.5, true));
edges.push(new Array(4472.75, 1094.5, 4486.55, 1104.95, true));
edges.push(new Array(4486.55, 1104.95, 4497.8, 1117.5, true));
edges.push(new Array(4497.8, 1117.5, 4505.75, 1132.95, true));
edges.push(new Array(4505.75, 1132.95, 4511.2, 1149.65, true));
edges.push(new Array(4511.2, 1149.65, 4515.35, 1168.85, true));
edges.push(new Array(4515.35, 1168.85, 4519.95, 1198.5, true));
edges.push(new Array(4519.95, 1198.5, 4556.3, 1224.8, true));
edges.push(new Array(4556.3, 1224.8, 4650.65, 1238.6, true));
edges.push(new Array(4650.65, 1238.6, 4846.85, 1238.15, true));
edges.push(new Array(4846.85, 1238.15, 4958.95, 1226.85, true));
edges.push(new Array(4958.95, 1226.85, 5017.3, 1180.25, true));
edges.push(new Array(5017.3, 1180.25, 5040, 1110.9, true));
edges.push(new Array(5040, 1110.9, 5043.4, 924.85, true));
edges.push(new Array(5043.4, 924.85, 5053.9, 859.8, true));
edges.push(new Array(5053.9, 859.8, 5060.2, 843, true));
edges.push(new Array(5060.2, 843, 5068.6, 828.7, true));
edges.push(new Array(5068.6, 828.7, 5080.35, 814.85, true));
edges.push(new Array(5080.35, 814.85, 5096.3, 803.5, true));
edges.push(new Array(5096.3, 803.5, 5120.25, 793.85, true));
edges.push(new Array(5120.25, 793.85, 5158.05, 784.6, true));
edges.push(new Array(5157.25, 784, 5247.05, 758.85, true));
edges.push(new Array(5247.05, 758.85, 5424.1, 657.25, true));
edges.push(new Array(5424.1, 657.25, 5518.75, 619.1, true));
edges.push(new Array(5518.75, 619.1, 5612.8, 611.55, true));
edges.push(new Array(5612.8, 611.55, 5614.45, 390.65, true));
edges.push(new Array(5614.45, 390.65, 5529.65, 362.9, true));
edges.push(new Array(5529.65, 362.9, 5487.65, 231.85, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
var normalGravities = new Array();
var helps = new Array();
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 817 MovieClip Frame 1
stop();
Symbol 828 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 1
var cai = this.birdact.cai;
var sou = this.birdact.sou;
var hit = this.birdact.hit;
Symbol 836 MovieClip Frame 1
var cai = this.birdact.cai;
var sou = this.birdact.sou;
var hit = this.birdact.hit;
Symbol 837 MovieClip [tile014] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
function addStation(startNum, endNum) {
i = startNum;
while (i <= endNum) {
var myrrs = eval ("roundedRect" + i);
rrs.push(new Array(myrrs._x, myrrs._y, myrrs._width, myrrs._height, myrrs));
i++;
}
}
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(272.5, 5.8, 290, 17.5, true));
edges.push(new Array(290, 17.5, 305.2, 37.55, true));
edges.push(new Array(305.2, 37.55, 311.05, 58.4, true));
edges.push(new Array(311.05, 58.4, 314, 86.35, true));
edges.push(new Array(314, 86.35, 314.8, 138.9, true));
edges.push(new Array(314.8, 138.9, 311.9, 187.25, true));
edges.push(new Array(311.9, 187.25, 303.75, 216.25, true));
edges.push(new Array(303.75, 216.25, 293.35, 230, true));
edges.push(new Array(293.35, 230, 281.25, 236.7, true));
edges.push(new Array(281.25, 236.7, 261.2, 240.45, true));
edges.push(new Array(261.2, 240.45, 219.05, 240, true));
edges.push(new Array(219.05, 240, 209.9, 438.65, true));
edges.push(new Array(209.9, 438.65, 231.2, 468.35, true));
edges.push(new Array(231.2, 468.35, 240, 496.9, true));
edges.push(new Array(240, 496.9, 246.55, 551.15, true));
edges.push(new Array(246.55, 551.15, 249.8, 612.45, true));
edges.push(new Array(249.8, 612.45, 250.65, 652.4, true));
edges.push(new Array(250.65, 652.4, 250.25, 694.5, true));
edges.push(new Array(250.25, 694.5, 247.25, 776.5, true));
edges.push(new Array(247.25, 776.5, 246.95, 855.25, true));
edges.push(new Array(246.95, 855.25, 245.35, 938.55, true));
edges.push(new Array(245.35, 938.55, 245.8, 1010.6, true));
edges.push(new Array(245.8, 1010.6, 245.8, 1058.15, true));
edges.push(new Array(245.8, 1058.15, 246.2, 1129.75, true));
edges.push(new Array(246.2, 1129.75, 246.65, 1201, true));
edges.push(new Array(246.65, 1201, 246.65, 1287.85, true));
edges.push(new Array(246.65, 1287.85, 247.1, 1354, true));
edges.push(new Array(247.1, 1354, 246.65, 1436.25, true));
edges.push(new Array(246.65, 1436.25, 247.1, 1505.75, true));
edges.push(new Array(247.1, 1505.75, 247.5, 1589.3, true));
edges.push(new Array(247.5, 1589.3, 247.1, 1663.05, true));
edges.push(new Array(247.1, 1663.05, 247.1, 1732.6, true));
edges.push(new Array(247.1, 1732.6, 247.5, 1813.5, true));
edges.push(new Array(247.5, 1813.5, 248.35, 1890.25, true));
edges.push(new Array(248.35, 1890.25, 249.65, 1958.1, true));
edges.push(new Array(249.65, 1958.1, 250.5, 2020, true));
edges.push(new Array(250.5, 2020, 253.45, 2106.5, true));
edges.push(new Array(253.45, 2106.5, 269.15, 2090.8, true));
edges.push(new Array(269.15, 2090.8, 291.6, 2078.5, true));
edges.push(new Array(291.6, 2078.5, 326.35, 2069.2, true));
edges.push(new Array(326.35, 2069.2, 374.65, 2066.65, true));
edges.push(new Array(374.65, 2066.65, 409, 2067.9, true));
edges.push(new Array(409, 2067.9, 451.8, 2071.3, true));
edges.push(new Array(451.8, 2071.3, 503.5, 2075.55, true));
edges.push(new Array(503.5, 2075.55, 571.3, 2080.65, true));
edges.push(new Array(571.3, 2080.65, 641.65, 2086.15, true));
edges.push(new Array(641.65, 2086.15, 726.85, 2091.25, true));
edges.push(new Array(726.85, 2091.25, 778.15, 2093.35, true));
edges.push(new Array(778.15, 2093.35, 868.85, 2095.45, true));
edges.push(new Array(868.85, 2095.45, 958.7, 2093.75, true));
edges.push(new Array(958.7, 2093.75, 1041.35, 2089.5, true));
edges.push(new Array(1041.35, 2089.5, 1115.95, 2084.85, true));
edges.push(new Array(1115.95, 2084.85, 1177.4, 2083.15, true));
edges.push(new Array(1177.4, 2083.15, 1256.25, 2083.15, true));
edges.push(new Array(1256.25, 2083.15, 1360.95, 2083.15, true));
edges.push(new Array(1360.95, 2083.15, 1435.55, 2084, true));
edges.push(new Array(1435.55, 2084, 1510.95, 2084.4, true));
edges.push(new Array(1510.95, 2084.4, 1597, 2085.25, true));
edges.push(new Array(1597, 2085.25, 1641.95, 2085.25, true));
edges.push(new Array(1641.95, 2085.25, 1708.05, 2084.4, true));
edges.push(new Array(1708.05, 2084.4, 1783.9, 2084.4, true));
edges.push(new Array(1783.9, 2084.4, 1842.4, 2084.4, true));
edges.push(new Array(1842.4, 2084.4, 1900.85, 2083.2, true));
edges.push(new Array(1900.85, 2083.2, 1911.45, 2081.05, true));
edges.push(new Array(1911.45, 2081.05, 1919.5, 2077.65, true));
edges.push(new Array(1919.5, 2077.65, 1928.4, 2070.45, true));
edges.push(new Array(1928.4, 2070.45, 1943.65, 2053.95, true));
edges.push(new Array(1943.65, 2053.95, 1950, 2039.5, true));
edges.push(new Array(1950, 2039.5, 1953.85, 1995.4, true));
edges.push(new Array(1953.85, 1995.4, 1952.6, 1900.45, true));
edges.push(new Array(1952.6, 1900.45, 1951.3, 1795.3, true));
edges.push(new Array(1951.3, 1795.3, 1950.05, 1682.95, true));
edges.push(new Array(1950.05, 1682.95, 1949.2, 1594.8, true));
edges.push(new Array(1949.2, 1594.8, 1948.2, 1514.8, true));
edges.push(new Array(1948.2, 1514.8, 1947.3, 1418.75, true));
edges.push(new Array(1947.3, 1418.75, 1946.4, 1332.6, true));
edges.push(new Array(1946.4, 1332.6, 1941.85, 1241.4, true));
edges.push(new Array(1941.85, 1241.4, 1941.35, 1159.4, true));
edges.push(new Array(1941.35, 1159.4, 1944.05, 1061.8, true));
edges.push(new Array(1944.05, 1061.8, 1949.7, 980.2, true));
edges.push(new Array(1949.7, 980.2, 1953.55, 910.85, true));
edges.push(new Array(1953.55, 910.85, 1956.2, 878, true));
edges.push(new Array(1956.2, 878, 1963.05, 834.7, true));
edges.push(new Array(1963.05, 834.7, 1966.95, 760.95, true));
edges.push(new Array(1966.95, 760.95, 1967.8, 685.85, true));
edges.push(new Array(1967.8, 685.85, 1962.65, 641.2, true));
edges.push(new Array(1962.65, 641.2, 1948.95, 616.75, true));
edges.push(new Array(1948.95, 616.75, 1925.35, 607.3, true));
edges.push(new Array(1925.35, 607.3, 1834.85, 603.9, true));
edges.push(new Array(1834.85, 603.9, 1787.7, 591.45, true));
edges.push(new Array(1787.7, 591.45, 1756.35, 559.65, true));
edges.push(new Array(1756.35, 559.65, 1744.3, 519.6, true));
edges.push(new Array(1744.3, 519.6, 1751.2, 487.75, true));
edges.push(new Array(1751.2, 487.75, 1760.65, 471, true));
edges.push(new Array(1760.65, 471, 1767.1, 464.55, true));
edges.push(new Array(1767.1, 464.55, 1773.1, 460.7, true));
edges.push(new Array(1773.1, 460.7, 1779.15, 456.8, true));
edges.push(new Array(1779.15, 456.8, 1785.6, 454.25, true));
edges.push(new Array(1785.6, 454.25, 1792.05, 451.65, true));
edges.push(new Array(1792.05, 451.65, 1801.05, 449.95, true));
edges.push(new Array(1801.05, 449.95, 1820.4, 448.2, true));
edges.push(new Array(1820.4, 448.2, 1920.05, 455.8, true));
edges.push(new Array(1920.05, 455.8, 1960.95, 455.8, true));
edges.push(new Array(1960.95, 455.8, 2068.65, 456.2, true));
edges.push(new Array(2068.65, 456.2, 2068.45, 275.95, true));
edges.push(new Array(2068.45, 275.95, 1994.75, 276.8, true));
edges.push(new Array(1994.75, 276.8, 1952.55, 275.5, true));
edges.push(new Array(1952.55, 275.5, 1927.95, 266.45, true));
edges.push(new Array(1927.95, 266.45, 1900.8, 231.1, true));
edges.push(new Array(1900.8, 231.1, 1893.3, 183.95, true));
edges.push(new Array(1893.3, 183.95, 1895.65, 130.05, true));
edges.push(new Array(1895.65, 130.05, 1898.65, 82.1, true));
edges.push(new Array(1898.65, 82.1, 1910.75, 45.35, true));
edges.push(new Array(1910.75, 45.35, 1931.05, 31.1, true));
edges.push(new Array(1931.05, 31.1, 1982.9, 28.95, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
var normalGravities = new Array();
var helps = new Array();
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 839 MovieClip Frame 1
stop();
Symbol 839 MovieClip Frame 9
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 84
this.RotateDone();
Symbol 843 MovieClip Frame 85
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 843 MovieClip Frame 106
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 843 MovieClip Frame 107
this.char.child0.gotoAndStop("visible");
this.char.child1.gotoAndStop("visible");
this.char.child2.gotoAndStop("visible");
this.char.child3.gotoAndStop("visible");
this.char.child4.gotoAndStop("visible");
Symbol 843 MovieClip Frame 114
this.char.child0.gotoAndStop("hidden");
Symbol 843 MovieClip Frame 127
this.char.child4.gotoAndStop("hidden");
Symbol 843 MovieClip Frame 138
this.char.child2.gotoAndStop("hidden");
Symbol 843 MovieClip Frame 148
this.char.child3.gotoAndStop("hidden");
Symbol 843 MovieClip Frame 160
this.char.child1.gotoAndStop("hidden");
Symbol 843 MovieClip Frame 213
stop();
trace(_root.pad1);
Symbol 854 MovieClip Frame 1
gotoAndStop ("in");
Symbol 854 MovieClip Frame 9
gotoAndStop ("in");
Symbol 859 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 18
stop();
Symbol 860 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 35
gotoAndPlay (1);
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 28
this.runstart();
Symbol 866 MovieClip Frame 145
this.runstop();
Symbol 866 MovieClip Frame 173
stop();
Symbol 867 MovieClip Frame 1
stop();
Symbol 867 MovieClip Frame 53
this.runstart();
Symbol 867 MovieClip Frame 170
this.runstop();
Symbol 867 MovieClip Frame 198
stop();
this.Hit2();
Symbol 868 MovieClip Frame 1
stop();
Symbol 868 MovieClip Frame 28
this.runstart();
Symbol 868 MovieClip Frame 205
this.runstop();
Symbol 868 MovieClip Frame 233
stop();
Symbol 870 MovieClip Frame 1
stop();
Symbol 870 MovieClip Frame 6
this.SetCam(0, 50);
Symbol 870 MovieClip Frame 10
this.SetCam(0, 50);
Symbol 870 MovieClip Frame 12
this.SetCam(0, 50);
Symbol 870 MovieClip Frame 15
this.SetCam(0, 50);
Symbol 870 MovieClip Frame 18
stop();
this.SetCam(0, 50);
this.AniDone();
Symbol 871 MovieClip [tile015] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(141, 283.7, 144.35, 486.85, true));
edges.push(new Array(144.35, 486.85, 299.65, 487.7, true));
edges.push(new Array(299.65, 487.7, 318.95, 489.4, true));
edges.push(new Array(318.95, 489.4, 339.1, 496.1, true));
edges.push(new Array(339.1, 496.1, 350.85, 506.15, true));
edges.push(new Array(350.85, 506.15, 358.45, 520.45, true));
edges.push(new Array(358.45, 520.45, 363.7, 542.65, true));
edges.push(new Array(363.7, 542.65, 367.1, 582.15, true));
edges.push(new Array(367.1, 582.15, 395.65, 582.15, true));
edges.push(new Array(395.65, 582.15, 400.7, 535.95, true));
edges.push(new Array(400.7, 535.95, 414.1, 513.25, true));
edges.push(new Array(414.1, 513.25, 432.6, 493.95, true));
edges.push(new Array(432.6, 493.95, 450.25, 481.35, true));
edges.push(new Array(450.25, 481.35, 467.05, 477.15, true));
edges.push(new Array(467.05, 477.15, 532.55, 477.15, true));
edges.push(new Array(532.55, 477.15, 548.55, 388.1, true));
edges.push(new Array(548.55, 388.1, 539.3, 301.55, true));
edges.push(new Array(539.3, 301.55, 457, 210, true));
edges.push(new Array(457, 210, 282.25, 216.7, true));
edges.push(new Array(282.25, 216.7, 284.75, 279.7, true));
edges.push(new Array(284.75, 279.7, 141, 283.7, true));
edges.push(new Array(417.95, 637.35, 352.85, 637.35, true));
edges.push(new Array(352.85, 637.35, 317.85, 663.2, true));
edges.push(new Array(317.85, 663.2, 191.05, 670.7, true));
edges.push(new Array(191.05, 670.7, 219.65, 899.5, true));
edges.push(new Array(219.65, 899.5, 418.4, 881.95, true));
edges.push(new Array(418.4, 881.95, 627.9, 894.8, true));
edges.push(new Array(627.9, 894.8, 781.5, 920, true));
edges.push(new Array(781.5, 920, 803.3, 925.85, true));
edges.push(new Array(803.3, 925.85, 815.9, 934.25, true));
edges.push(new Array(815.9, 934.25, 826.85, 944.35, true));
edges.push(new Array(826.85, 944.35, 831, 956.95, true));
edges.push(new Array(831, 956.95, 830.2, 1113.95, true));
edges.push(new Array(830.2, 1113.95, 494.75, 1095.45, true));
edges.push(new Array(494.75, 1095.45, 216.75, 1099.6, true));
edges.push(new Array(216.75, 1099.6, 178.95, 1130.7, true));
edges.push(new Array(178.95, 1130.7, 156.25, 1243.25, true));
edges.push(new Array(156.25, 1243.25, 142.8, 1442.35, true));
edges.push(new Array(142.8, 1442.35, 137.8, 1659.1, true));
edges.push(new Array(137.8, 1659.1, 143.65, 1858.15, true));
edges.push(new Array(143.65, 1858.15, 212.1, 1851.2, true));
edges.push(new Array(212.1, 1851.2, 233, 1852.85, true));
edges.push(new Array(233, 1852.85, 263.15, 1862.45, true));
edges.push(new Array(263.15, 1862.45, 296.2, 1879.2, true));
edges.push(new Array(296.2, 1879.2, 425.35, 1987.1, true));
edges.push(new Array(425.35, 1987.1, 458.7, 1993.45, true));
edges.push(new Array(458.7, 1993.45, 485.35, 1986.1, true));
edges.push(new Array(485.35, 1986.1, 766.7, 1968.05, true));
edges.push(new Array(766.7, 1968.05, 966.7, 1965.05, true));
edges.push(new Array(966.7, 1965.05, 1194.05, 1963.4, true));
edges.push(new Array(1194.05, 1963.4, 1462.1, 1957.4, true));
edges.push(new Array(1462.1, 1957.4, 1881.4, 1947.4, true));
edges.push(new Array(1881.4, 1947.4, 2235.4, 1940.75, true));
edges.push(new Array(2235.4, 1940.75, 2436.75, 1940.1, true));
edges.push(new Array(2436.75, 1940.1, 2435.4, 1857.4, true));
edges.push(new Array(2435.4, 1857.4, 2694.1, 1856.05, true));
edges.push(new Array(2694.1, 1856.05, 2712.1, 1873.4, true));
edges.push(new Array(2712.1, 1873.4, 2770.1, 1876.75, true));
edges.push(new Array(2770.1, 1876.75, 2786.1, 1840.05, true));
edges.push(new Array(2786.1, 1840.05, 2792.8, 1830.75, true));
edges.push(new Array(2792.8, 1830.75, 2798.8, 1823.4, true));
edges.push(new Array(2798.8, 1823.4, 2806.15, 1816.7, true));
edges.push(new Array(2806.15, 1816.7, 2816.8, 1811.4, true));
edges.push(new Array(2816.8, 1811.4, 2830.15, 1807.4, true));
edges.push(new Array(2830.15, 1807.4, 2846.15, 1805.4, true));
edges.push(new Array(2846.15, 1805.4, 2929.5, 1810.7, true));
edges.push(new Array(2929.5, 1810.7, 2923.45, 1471.4, true));
edges.push(new Array(2923.45, 1471.4, 2918.75, 1238.7, true));
edges.push(new Array(2918.75, 1238.7, 2917.45, 1000.05, true));
edges.push(new Array(2917.45, 1000.05, 2910.8, 752, true));
edges.push(new Array(2910.8, 752, 2886.75, 617.4, true));
edges.push(new Array(2886.75, 617.4, 2746.75, 560.05, true));
edges.push(new Array(2746.75, 560.05, 2550.75, 613.35, true));
edges.push(new Array(2550.75, 613.35, 2440.1, 664, true));
edges.push(new Array(2439.9, 663.65, 2368, 656.15, true));
edges.push(new Array(2368, 656.15, 2344.7, 605.9, true));
edges.push(new Array(2344.7, 605.9, 2348.05, 558.05, true));
edges.push(new Array(2348.05, 558.05, 2357.3, 539.6, true));
edges.push(new Array(2357.3, 539.6, 2377.45, 524.5, true));
edges.push(new Array(2377.45, 524.5, 2410.15, 510.2, true));
edges.push(new Array(2410.15, 510.2, 2466.4, 490.9, true));
edges.push(new Array(2466.4, 490.9, 2786.4, 489.75, true));
edges.push(new Array(2786.4, 489.75, 2781.35, 284.8, true));
edges.push(new Array(2781.35, 284.8, 2457.1, 268.8, true));
edges.push(new Array(2457.1, 268.8, 2200.9, 211.7, true));
edges.push(new Array(2200.9, 211.7, 2074.05, 248.65, true));
edges.push(new Array(2074.05, 248.65, 2017.75, 330.15, true));
edges.push(new Array(2017.75, 330.15, 2011.9, 521.7, true));
edges.push(new Array(2013.45, 521.35, 2145.45, 504, true));
edges.push(new Array(2145.45, 504, 2162.25, 504.9, true));
edges.push(new Array(2162.25, 504.9, 2174, 508.25, true));
edges.push(new Array(2174, 508.25, 2186.6, 517.5, true));
edges.push(new Array(2186.6, 517.5, 2195.85, 530.1, true));
edges.push(new Array(2195.85, 530.1, 2202.1, 559.35, true));
edges.push(new Array(2202.1, 559.35, 2203.45, 632, true));
edges.push(new Array(2203.45, 632, 2174.1, 663.35, true));
edges.push(new Array(2174.1, 663.35, 1980.75, 683.35, true));
edges.push(new Array(1980.75, 683.35, 1767.4, 686.7, true));
edges.push(new Array(1767.4, 686.7, 1640.75, 675.35, true));
edges.push(new Array(1640.75, 675.35, 1588.05, 722, true));
edges.push(new Array(1588.05, 722, 1570.1, 887.35, true));
edges.push(new Array(1570.1, 887.35, 1573.4, 1092.05, true));
edges.push(new Array(1573.4, 1092.05, 1584.7, 1322.1, true));
edges.push(new Array(1584.7, 1322.1, 1583.4, 1496.1, true));
edges.push(new Array(1583.4, 1496.1, 1585.7, 1574.8, true));
edges.push(new Array(1585.7, 1574.8, 1793.9, 1575.65, true));
edges.push(new Array(1793.9, 1575.65, 1809, 1577.3, true));
edges.push(new Array(1809, 1577.3, 1827.45, 1581.5, true));
edges.push(new Array(1827.45, 1581.5, 1839.2, 1586.55, true));
edges.push(new Array(1839.2, 1586.55, 1850.1, 1594.95, true));
edges.push(new Array(1850.1, 1594.95, 1861.85, 1610.05, true));
edges.push(new Array(1861.85, 1610.05, 1867.75, 1631.05, true));
edges.push(new Array(1867.75, 1631.05, 1868.6, 1669.65, true));
edges.push(new Array(1868.6, 1669.65, 2069.2, 1675.5, true));
edges.push(new Array(2069.2, 1675.5, 2093.5, 1679.7, true));
edges.push(new Array(2093.5, 1679.7, 2118.7, 1687.25, true));
edges.push(new Array(2118.7, 1687.25, 2135.5, 1699.05, true));
edges.push(new Array(2135.5, 1699.05, 2148.9, 1716.65, true));
edges.push(new Array(2148.9, 1716.65, 2156.5, 1741.85, true));
edges.push(new Array(2156.5, 1741.85, 2155.5, 1778.35, true));
edges.push(new Array(2155.5, 1778.35, 2136.2, 1794.35, true));
edges.push(new Array(2136.2, 1794.35, 2100.75, 1805.75, true));
edges.push(new Array(2100.75, 1805.75, 1908.75, 1805.4, true));
edges.push(new Array(1908.75, 1805.4, 1717.4, 1804.05, true));
edges.push(new Array(1717.4, 1804.05, 1687.4, 1740.05, true));
edges.push(new Array(1687.4, 1740.05, 1352.05, 1748.1, true));
edges.push(new Array(1352.05, 1748.1, 1036.7, 1755.4, true));
edges.push(new Array(1036.7, 1755.4, 693.35, 1761.4, true));
edges.push(new Array(693.35, 1761.4, 426.05, 1772.05, true));
edges.push(new Array(426.05, 1772.05, 413.35, 1676.75, true));
edges.push(new Array(414.3, 1674, 418.5, 1658.1, true));
edges.push(new Array(418.5, 1658.1, 425.2, 1646.4, true));
edges.push(new Array(425.2, 1646.4, 435.25, 1638.85, true));
edges.push(new Array(435.25, 1638.85, 449.45, 1633.85, true));
edges.push(new Array(449.45, 1633.85, 557.45, 1635.5, true));
edges.push(new Array(557.45, 1635.5, 568.3, 1594.5, true));
edges.push(new Array(568.3, 1594.5, 574.15, 1580.25, true));
edges.push(new Array(574.15, 1580.25, 583.4, 1568.55, true));
edges.push(new Array(583.4, 1568.55, 595.1, 1560.2, true));
edges.push(new Array(595.1, 1560.2, 611.85, 1554.3, true));
edges.push(new Array(611.85, 1554.3, 626.9, 1550.95, true));
edges.push(new Array(626.9, 1550.95, 718.7, 1553.1, true));
edges.push(new Array(718.7, 1553.1, 910.7, 1549.35, true));
edges.push(new Array(910.7, 1549.35, 1070.05, 1546.75, true));
edges.push(new Array(1070.05, 1546.75, 1258.7, 1543.4, true));
edges.push(new Array(1258.7, 1543.4, 1366.75, 1541.4, true));
edges.push(new Array(1366.75, 1541.4, 1361.4, 1438.05, true));
edges.push(new Array(1361.4, 1438.05, 1118.7, 1442.75, true));
edges.push(new Array(1118.7, 1442.75, 890.7, 1445.4, true));
edges.push(new Array(890.7, 1445.4, 675.35, 1445.4, true));
edges.push(new Array(675.35, 1445.4, 474.65, 1440.7, true));
edges.push(new Array(474.65, 1440.7, 440.65, 1422.05, true));
edges.push(new Array(440.65, 1422.05, 435.35, 1396.05, true));
edges.push(new Array(435.35, 1396.05, 442, 1374.7, true));
edges.push(new Array(442, 1374.7, 450.15, 1359.65, true));
edges.push(new Array(450.15, 1359.65, 460.15, 1354.65, true));
edges.push(new Array(460.15, 1354.65, 471.85, 1351.3, true));
edges.push(new Array(471.85, 1351.3, 482.7, 1350.5, true));
edges.push(new Array(482.7, 1350.5, 557.9, 1358.85, true));
edges.push(new Array(557.9, 1358.85, 562.9, 1329.6, true));
edges.push(new Array(562.9, 1329.6, 570.4, 1317.9, true));
edges.push(new Array(570.4, 1317.9, 580.45, 1309.55, true));
edges.push(new Array(580.45, 1309.55, 592.15, 1304.55, true));
edges.push(new Array(592.15, 1304.55, 609.65, 1301.2, true));
edges.push(new Array(609.65, 1301.2, 765.85, 1305.4, true));
edges.push(new Array(765.85, 1305.4, 776.55, 1265.5, true));
edges.push(new Array(776.55, 1265.5, 789.1, 1248.75, true));
edges.push(new Array(789.1, 1248.75, 805.8, 1237.9, true));
edges.push(new Array(805.8, 1237.9, 825, 1229.55, true));
edges.push(new Array(825, 1229.55, 848.4, 1228.05, true));
edges.push(new Array(848.4, 1228.05, 1004.7, 1230.75, true));
edges.push(new Array(1004.7, 1230.75, 1193.05, 1235.75, true));
edges.push(new Array(1193.05, 1235.75, 1365.05, 1232.35, true));
edges.push(new Array(1365.05, 1232.35, 1380.75, 1082.4, true));
edges.push(new Array(1380.75, 1082.4, 1361.7, 955.35, true));
edges.push(new Array(1361.7, 955.35, 1188.05, 954.35, true));
edges.push(new Array(1188.05, 954.35, 1061.7, 961.7, true));
edges.push(new Array(1061.7, 961.7, 1056.35, 857.35, true));
edges.push(new Array(1056.35, 857.35, 1059.05, 850.7, true));
edges.push(new Array(1059.05, 850.7, 1064.35, 845.35, true));
edges.push(new Array(1064.35, 845.35, 1069.35, 841.7, true));
edges.push(new Array(1069.35, 841.7, 1075.35, 838.05, true));
edges.push(new Array(1075.35, 838.05, 1081.35, 836.35, true));
edges.push(new Array(1081.35, 836.35, 1091.05, 835.05, true));
edges.push(new Array(1091.05, 835.05, 1203.7, 832.35, true));
edges.push(new Array(1203.7, 832.35, 1349.4, 812.35, true));
edges.push(new Array(1349.4, 812.35, 1356.7, 748.05, true));
edges.push(new Array(1356.7, 748.05, 1347.7, 669.7, true));
edges.push(new Array(1347.7, 669.7, 1220.35, 669.05, true));
edges.push(new Array(1220.35, 669.05, 988.05, 672.35, true));
edges.push(new Array(988.05, 672.35, 661.7, 683.05, true));
edges.push(new Array(661.7, 683.05, 456.7, 684, true));
edges.push(new Array(456.7, 684, 416, 636.65, true));
edges.push(new Array(1982.1, 911.45, 2152.15, 827.4, true));
edges.push(new Array(2152.15, 827.4, 2167.7, 822.8, true));
edges.push(new Array(2167.7, 822.8, 2185.35, 819.85, true));
edges.push(new Array(2185.35, 819.85, 2208.45, 818.15, true));
edges.push(new Array(2208.45, 818.15, 2599.05, 816.1, true));
edges.push(new Array(2599.05, 816.1, 2609.55, 817.8, true));
edges.push(new Array(2609.55, 817.8, 2618.8, 820.3, true));
edges.push(new Array(2618.8, 820.3, 2627.2, 826.6, true));
edges.push(new Array(2627.2, 826.6, 2635.15, 835.85, true));
edges.push(new Array(2635.15, 835.85, 2641.45, 850.95, true));
edges.push(new Array(2641.45, 850.95, 2638.95, 865.65, true));
edges.push(new Array(2638.95, 865.65, 2622.15, 880.8, true));
edges.push(new Array(2622.15, 880.8, 2600.75, 891.7, true));
edges.push(new Array(2600.75, 891.7, 2365.2, 888.4, true));
edges.push(new Array(2365.2, 888.4, 2190.2, 884.15, true));
edges.push(new Array(2190.2, 884.15, 2134.95, 902.7, true));
edges.push(new Array(2134.95, 902.7, 1993.55, 965.7, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
rrs.push(new Array(roundedRect0._x, roundedRect0._y, roundedRect0._width, roundedRect0._height, roundedRect0));
rrs.push(new Array(roundedRect1._x, roundedRect1._y, roundedRect1._width, roundedRect1._height, roundedRect1));
rrs.push(new Array(roundedRect2._x, roundedRect2._y, roundedRect2._width, roundedRect2._height, roundedRect2));
rrs.push(new Array(roundedRect3._x, roundedRect3._y, roundedRect3._width, roundedRect3._height, roundedRect3));
rrs.push(new Array(roundedRect4._x, roundedRect4._y, roundedRect4._width, roundedRect4._height, roundedRect4));
rrs.push(new Array(roundedRect5._x, roundedRect5._y, roundedRect5._width, roundedRect5._height, roundedRect5));
rrs.push(new Array(roundedRect7._x, roundedRect7._y, roundedRect7._width, roundedRect7._height, roundedRect7));
rrs.push(new Array(roundedRect8._x, roundedRect8._y, roundedRect8._width, roundedRect8._height, roundedRect8));
rrs.push(new Array(roundedRect9._x, roundedRect9._y, roundedRect9._width, roundedRect9._height, roundedRect9));
rrs.push(new Array(roundedRect10._x, roundedRect10._y, roundedRect10._width, roundedRect10._height, roundedRect10));
rrs.push(new Array(roundedRect11._x, roundedRect11._y, roundedRect11._width, roundedRect11._height, roundedRect11));
var normalGravities = new Array();
var helps = new Array();
childs[0] = new Array(childChar0._x, childChar0._y, childChar0._width, childChar0._height, childChar0);
childs[1] = new Array(childChar1._x, childChar1._y, childChar1._width, childChar1._height, childChar1);
childs[2] = new Array(childChar2._x, childChar2._y, childChar2._width, childChar2._height, childChar2);
childs[3] = new Array(childChar3._x, childChar3._y, childChar3._width, childChar3._height, childChar3);
childs[4] = new Array(childChar4._x, childChar4._y, childChar4._width, childChar4._height, childChar4);
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 907 MovieClip Frame 1
stop();
gotoAndPlay (2);
Symbol 908 MovieClip Frame 19
stop();
Symbol 909 MovieClip Frame 1
stop();
die = false;
Symbol 909 MovieClip Frame 9
gotoAndStop (1);
Symbol 909 MovieClip Frame 10
die = true;
stop();
Symbol 913 MovieClip Frame 9
stop();
Symbol 914 MovieClip Frame 9
stop();
Symbol 915 MovieClip Frame 2
stop();
Symbol 915 MovieClip Frame 4
stop();
Symbol 917 MovieClip Frame 7
stop();
Symbol 918 MovieClip Frame 7
stop();
Symbol 919 MovieClip Frame 2
stop();
Symbol 919 MovieClip Frame 4
stop();
Symbol 927 MovieClip [tile016] Frame 1
stop();
this.groundx = 0;
this.groundy = 0;
this.startx = 500;
this.levelComplete._visible = false;
var edges = new Array();
edges.push(new Array(320.1, 80, 159, 180, true));
edges.push(new Array(159, 180, 158.5, 360.5, true));
edges.push(new Array(158.4, 360.05, 200.4, 389.05, true));
edges.push(new Array(200.4, 389.05, 229.4, 442.8, true));
edges.push(new Array(229.4, 442.8, 232.7, 854.9, true));
edges.push(new Array(232.7, 854.9, 279.35, 889.35, true));
edges.push(new Array(279.35, 889.35, 503.3, 895.7, true));
edges.push(new Array(503.3, 895.7, 839.4, 891.45, true));
edges.push(new Array(839.4, 891.45, 872.15, 897.75, true));
edges.push(new Array(872.15, 897.75, 902.4, 911.6, true));
edges.push(new Array(902.4, 911.6, 934.3, 936.4, true));
edges.push(new Array(934.3, 936.4, 959.1, 966.25, true));
edges.push(new Array(959.1, 966.25, 981.4, 1013.7, true));
edges.push(new Array(981.4, 1013.7, 986.8, 1077.6, true));
edges.push(new Array(986.8, 1077.6, 976.75, 1311.55, true));
edges.push(new Array(976.9, 1311.1, 972.75, 1362.9, true));
edges.push(new Array(972.75, 1362.9, 984.85, 1396.7, true));
edges.push(new Array(984.85, 1396.7, 1008.25, 1414.25, true));
edges.push(new Array(1008.25, 1414.25, 1054.6, 1420.1, true));
edges.push(new Array(1054.6, 1420.1, 1292.3, 1403.4, true));
edges.push(new Array(1292.3, 1403.4, 1556.7, 1401.2, true));
edges.push(new Array(1556.7, 1401.2, 1796.65, 1391.15, true));
edges.push(new Array(1796.65, 1391.15, 2070.85, 1385.35, true));
edges.push(new Array(2070.85, 1385.35, 2311.65, 1384.45, true));
edges.push(new Array(2311.65, 1384.45, 2564.95, 1394.5, true));
edges.push(new Array(2564.95, 1394.5, 2636.85, 1389.5, true));
edges.push(new Array(2636.85, 1389.5, 2731.35, 1360.25, true));
edges.push(new Array(2731.35, 1360.25, 2784, 1305.05, true));
edges.push(new Array(2784, 1305.05, 2809.95, 1229.8, true));
edges.push(new Array(2809.95, 1229.8, 2812.45, 1142.85, true));
edges.push(new Array(2812.45, 1142.85, 2799.85, 947.25, true));
edges.push(new Array(2799.85, 947.25, 2800.65, 934.55, true));
edges.push(new Array(2800.65, 934.55, 2803.65, 924.55, true));
edges.push(new Array(2803.65, 924.55, 2809.65, 915.25, true));
edges.push(new Array(2809.65, 915.25, 2818.65, 908.9, true));
edges.push(new Array(2818.65, 908.9, 2830.35, 904.9, true));
edges.push(new Array(2830.35, 904.9, 2845.35, 903.55, true));
edges.push(new Array(2845.35, 903.55, 2860.7, 906.25, true));
edges.push(new Array(2860.7, 906.25, 2874, 912.9, true));
edges.push(new Array(2874, 912.9, 2932.05, 914.9, true));
edges.push(new Array(2932.05, 914.9, 3108.1, 914.55, true));
edges.push(new Array(3108.1, 914.55, 3122.4, 915.2, true));
edges.push(new Array(3122.4, 915.2, 3132.45, 917.9, true));
edges.push(new Array(3132.45, 917.9, 3141.75, 921.55, true));
edges.push(new Array(3141.75, 921.55, 3149.1, 927.25, true));
edges.push(new Array(3149.1, 927.25, 3155.45, 935.55, true));
edges.push(new Array(3155.45, 935.55, 3160.45, 946.25, true));
edges.push(new Array(3160.45, 946.25, 3162.1, 957.9, true));
edges.push(new Array(3162.1, 957.9, 3163.1, 970.25, true));
edges.push(new Array(3163.1, 970.25, 3156.1, 1160.3, true));
edges.push(new Array(3156.1, 1160.3, 3160.75, 1308.3, true));
edges.push(new Array(3160.75, 1308.3, 3200.1, 1363.65, true));
edges.push(new Array(3200.1, 1363.65, 3265.5, 1385.65, true));
edges.push(new Array(3265.5, 1385.65, 3430.2, 1386.35, true));
edges.push(new Array(3430.2, 1386.35, 3634.85, 1390.35, true));
edges.push(new Array(3634.95, 1390.05, 3914.5, 1396.45, true));
edges.push(new Array(3914.5, 1396.45, 4210.25, 1393.1, true));
edges.push(new Array(4210.25, 1393.1, 4373.3, 1369.55, true));
edges.push(new Array(4373.3, 1369.55, 4516.95, 1319.15, true));
edges.push(new Array(4516.95, 1319.15, 4716.05, 1204, true));
edges.push(new Array(4716.05, 1204, 4916.85, 1060.35, true));
edges.push(new Array(4916.85, 1060.35, 4991.65, 988.95, true));
edges.push(new Array(4991.65, 988.95, 5001.55, 979.25, true));
edges.push(new Array(5001.55, 979.25, 5011.9, 971.6, true));
edges.push(new Array(5011.9, 971.6, 5021.9, 965.6, true));
edges.push(new Array(5021.9, 965.6, 5032.25, 960.9, true));
edges.push(new Array(5032.25, 960.9, 5045.6, 957.9, true));
edges.push(new Array(5045.6, 957.9, 5061.25, 956.25, true));
edges.push(new Array(5061.25, 956.25, 5077.9, 957.9, true));
edges.push(new Array(5077.9, 957.9, 5216.95, 967.25, true));
edges.push(new Array(5216.95, 967.25, 5219.65, 778.2, true));
edges.push(new Array(5219.65, 778.2, 5099.6, 777.85, true));
edges.push(new Array(5099.6, 777.85, 5026.9, 734.85, true));
edges.push(new Array(5026.9, 734.85, 5006.25, 625.85, true));
edges.push(new Array(3425.5, 1153.6, 3346.55, 1101.55, true));
edges.push(new Array(3346.55, 1101.55, 3287.7, 994, true));
edges.push(new Array(3287.7, 994, 3266.75, 842.75, true));
edges.push(new Array(3266.75, 842.75, 3266.15, 829.2, true));
edges.push(new Array(3266.15, 829.2, 3268.45, 815.2, true));
edges.push(new Array(3268.45, 815.2, 3271.45, 803.9, true));
edges.push(new Array(3271.45, 803.9, 3276.15, 794.9, true));
edges.push(new Array(3276.15, 794.9, 3281.8, 788.2, true));
edges.push(new Array(3281.8, 788.2, 3287.45, 784.2, true));
edges.push(new Array(3287.45, 784.2, 3294.8, 782.55, true));
edges.push(new Array(3294.8, 782.55, 3301.45, 782.2, true));
edges.push(new Array(3301.45, 782.2, 3309.45, 783.55, true));
edges.push(new Array(3309.45, 783.55, 3316.15, 785.2, true));
edges.push(new Array(3316.15, 785.2, 3323.15, 789.2, true));
edges.push(new Array(3323.15, 789.2, 3331.15, 796.55, true));
edges.push(new Array(3331.15, 796.55, 3339.8, 807.2, true));
edges.push(new Array(3339.8, 807.2, 3359.5, 837.2, true));
edges.push(new Array(3359.5, 837.2, 3370.5, 856.9, true));
edges.push(new Array(3370.5, 856.9, 3381.5, 892.25, true));
edges.push(new Array(3381.5, 892.25, 3414.5, 913.9, true));
edges.push(new Array(3414.5, 913.9, 3581.55, 913.55, true));
edges.push(new Array(3581.55, 913.55, 3764.25, 915.55, true));
edges.push(new Array(3764.25, 915.55, 3920.95, 920.25, true));
edges.push(new Array(3920.95, 920.25, 4043.65, 926.25, true));
edges.push(new Array(4043.65, 926.25, 4063.65, 800.15, true));
edges.push(new Array(4063.65, 800.15, 4068.3, 662.8, true));
edges.push(new Array(4068.3, 662.8, 4073.35, 643.8, true));
edges.push(new Array(4073.35, 643.8, 4083.35, 626.5, true));
edges.push(new Array(4083.35, 626.5, 4098.7, 609.8, true));
edges.push(new Array(4098.7, 609.8, 4117, 595.15, true));
edges.push(new Array(4117, 595.15, 4136.7, 589.15, true));
edges.push(new Array(4136.7, 589.15, 4167.7, 588.15, true));
edges.push(new Array(4167.7, 588.15, 4292.75, 587.15, true));
edges.push(new Array(4292.75, 587.15, 4312.05, 590.5, true));
edges.push(new Array(4312.05, 590.5, 4325.7, 596.5, true));
edges.push(new Array(4325.7, 596.5, 4337.4, 606.85, true));
edges.push(new Array(4337.4, 606.85, 4345.7, 616.15, true));
edges.push(new Array(4345.7, 616.15, 4350.05, 628.5, true));
edges.push(new Array(4350.05, 628.5, 4351.75, 641.15, true));
edges.push(new Array(4351.75, 641.15, 4348.4, 652.5, true));
edges.push(new Array(4348.4, 652.5, 4334.7, 660.2, true));
edges.push(new Array(4334.7, 660.2, 4230.05, 658.2, true));
edges.push(new Array(4230.05, 658.2, 4203.05, 680.85, true));
edges.push(new Array(4203.05, 680.85, 4197.05, 754.85, true));
edges.push(new Array(4197.05, 754.85, 4199.4, 833.2, true));
edges.push(new Array(4199.4, 833.2, 4225.05, 848.9, true));
edges.push(new Array(4225.05, 848.9, 4272.75, 847.2, true));
edges.push(new Array(4272.75, 847.2, 4281.05, 848.2, true));
edges.push(new Array(4281.05, 848.2, 4289.4, 851.55, true));
edges.push(new Array(4289.4, 851.55, 4297.05, 855.85, true));
edges.push(new Array(4297.05, 855.85, 4303.4, 860.85, true));
edges.push(new Array(4303.4, 860.85, 4307.4, 866.55, true));
edges.push(new Array(4307.4, 866.55, 4311.4, 875.55, true));
edges.push(new Array(4311.4, 875.55, 4315.4, 888.55, true));
edges.push(new Array(4315.4, 888.55, 4317.05, 934.2, true));
edges.push(new Array(4317.05, 934.2, 4490.45, 941.25, true));
edges.push(new Array(4490.45, 941.25, 4649.1, 943.6, true));
edges.push(new Array(4649.1, 943.6, 4661.8, 945.55, true));
edges.push(new Array(4661.8, 945.55, 4671.15, 949.55, true));
edges.push(new Array(4671.15, 949.55, 4677.15, 954.9, true));
edges.push(new Array(4677.15, 954.9, 4681.8, 962.9, true));
edges.push(new Array(4681.8, 962.9, 4683.8, 976.9, true));
edges.push(new Array(4683.8, 976.9, 4683.15, 988.25, true));
edges.push(new Array(4683.15, 988.25, 4683.15, 1011.55, true));
edges.push(new Array(4683.15, 1011.55, 4504.45, 1056.9, true));
edges.push(new Array(4504.45, 1056.9, 4353.7, 1151.65, true));
edges.push(new Array(4353.7, 1151.65, 4219, 1184.3, true));
edges.push(new Array(4219, 1184.3, 4081.65, 1186.3, true));
edges.push(new Array(4081.65, 1186.3, 3816.95, 1174.95, true));
edges.push(new Array(3816.95, 1174.95, 3522.15, 1170.25, true));
edges.push(new Array(3522.15, 1170.25, 3426.2, 1154.25, true));
edges.push(new Array(1187.85, 1281.35, 969.95, 1274.65, true));
edges.push(new Array(1419.25, 1279.9, 1187.85, 1281.35, true));
edges.push(new Array(1607.85, 1276.6, 1419.25, 1279.9, true));
edges.push(new Array(1808.1, 1272.45, 1607.85, 1276.6, true));
edges.push(new Array(1998.35, 1274.1, 1808.1, 1272.45, true));
edges.push(new Array(2163.55, 1272.4, 1998.35, 1274.1, true));
edges.push(new Array(2319.55, 1258.25, 2163.55, 1272.4, true));
edges.push(new Array(2439.7, 1235.75, 2319.55, 1258.25, true));
edges.push(new Array(2569.85, 1194, 2439.7, 1235.75, true));
edges.push(new Array(2609.9, 1169, 2569.85, 1194, true));
edges.push(new Array(2633.3, 1117.25, 2609.9, 1169, true));
edges.push(new Array(2634.95, 1002.05, 2633.3, 1117.25, true));
edges.push(new Array(2634.1, 911.1, 2634.95, 1002.05, true));
edges.push(new Array(2530.65, 910.3, 2634.1, 911.1, true));
edges.push(new Array(2502.3, 913.6, 2530.65, 910.3, true));
edges.push(new Array(2478.95, 922.8, 2502.3, 913.6, true));
edges.push(new Array(2458.9, 941.15, 2478.95, 922.8, true));
edges.push(new Array(2446.4, 962, 2458.9, 941.15, true));
edges.push(new Array(2442.2, 982.05, 2446.4, 962, true));
edges.push(new Array(2451.4, 1132.25, 2442.2, 982.05, true));
edges.push(new Array(2436.4, 1186.45, 2451.4, 1132.25, true));
edges.push(new Array(2440.6, 1238.65, 2436.4, 1186.45, true));
edges.push(new Array(2600, 906, 2613, 890.5, true));
edges.push(new Array(2613, 890.5, 2617.5, 873, true));
edges.push(new Array(2617.5, 873, 2618.5, 852, true));
edges.push(new Array(2618.5, 852, 2621, 833.5, true));
edges.push(new Array(2621, 833.5, 2626, 813.5, true));
edges.push(new Array(2626, 813.5, 2634, 797, true));
edges.push(new Array(2634, 797, 2643, 786.5, true));
edges.push(new Array(2643, 786.5, 2656, 777, true));
edges.push(new Array(2656, 777, 2669.5, 772.5, true));
edges.push(new Array(2669.5, 772.5, 2679, 770, true));
edges.push(new Array(2679, 770, 2695.5, 768.5, true));
edges.push(new Array(2695.5, 768.5, 2708.5, 769.5, true));
edges.push(new Array(2708.5, 769.5, 2720, 770, true));
edges.push(new Array(2720, 770, 2733.5, 772, true));
edges.push(new Array(2733.5, 772, 2743.5, 773.5, true));
edges.push(new Array(2743.5, 773.5, 2748, 775.5, true));
edges.push(new Array(2748, 775.5, 2751.5, 778.5, true));
edges.push(new Array(2678.5, 825.5, 2639, 909, true));
var k = (new huang.DrawLine(this, edges));
var childs = new Array(5);
var rrs = new Array();
rrs.push(new Array(roundedRect1._x, roundedRect1._y, roundedRect1._width, roundedRect1._height, roundedRect1));
rrs.push(new Array(roundedRect2._x, roundedRect2._y, roundedRect2._width, roundedRect2._height, roundedRect2));
rrs.push(new Array(roundedRect3._x, roundedRect3._y, roundedRect3._width, roundedRect3._height, roundedRect3));
rrs.push(new Array(roundedRect4._x, roundedRect4._y, roundedRect4._width, roundedRect4._height, roundedRect4));
rrs.push(new Array(roundedRect5._x, roundedRect5._y, roundedRect5._width, roundedRect5._height, roundedRect5));
var normalGravities = new Array();
var helps = new Array();
var portal = new Array(portal._x, portal._y, portal._width, portal._height, portal);
Symbol 1562 MovieClip [__Packages.illusoft.Game] Frame 0
class illusoft.Game
{
static var Instance;
var gameMC, gameTiles, dynamicsEngine, sounds, userData, arrElapse, character, listenForKeys, worldPos, currentTile, arrEnemy, Level1, Level2, Level3, Level4, Level5, Level6, Level7, Level8, Level9, Level10, Level11, Level12, Level13, Level14, Level15, Level16;
function Game (mc) {
gameMC = mc.createEmptyMovieClip("gamemc", mc.getNextHighestDepth());
gameTiles = new Array();
dynamicsEngine = new org.cove.flade.DynamicsEngine();
sounds = new illusoft.utils.Sounds(mc);
userData = new huang.HighList(10);
_global.sounds = sounds;
_root.menu._visible = true;
_root.menubtn._visible = false;
_root.levelmap._visible = false;
_root.endScreen._visible = false;
_root.how_to_play._visible = false;
arrElapse = new Array();
var cref = this;
_global.sounds.StartMusic("loop0");
var _local4 = new Object();
_local4.onKeyDown = function () {
if (_root.menu._visible) {
if (Key.getCode() == 13) {
_global.sounds.PlaySound("bling");
cref.NewGame(1);
}
}
};
Key.addListener(_local4);
_root.menubtn.onRelease = function () {
cref.StopGame();
_global.sounds.PlaySound("bling");
_root.menu._visible = true;
_root.endScreen._visible = false;
};
character = new illusoft.Character(dynamicsEngine, gameMC, this);
Instance = this;
}
function NewGame(selectlevel) {
if (selectlevel == undefined) {
selectlevel = 1;
}
listenForKeys = false;
_root.endScreen._visible = false;
_root.menu._visible = false;
_root.gamecontrol._visible = false;
_root.happy2._visible = false;
_root.menubtn._visible = true;
SetUnderWater(false);
NormalGravity();
dynamicsEngine.setSurfaceBounce(0.3);
dynamicsEngine.setSurfaceFriction(0.001);
worldPos = new illusoft.utils.Point(0, 0);
listenForKeys = true;
setupGameTiles(selectlevel);
character.Blood = 3;
character.Lives = 3;
Totalscore = 0;
}
function LevelComplete() {
_root.tosoc = Totalscore;
currentTile.pauseTime = getTimer();
character.info_mc.StopTimer();
listenForKeys = false;
var _local4 = currentTile.GetPortalPos();
worldPos.x = _local4.x;
worldPos.y = _local4.y;
_global.sounds.FadeAllMusic();
}
function GameOver() {
_global.sounds.FadeMusic();
running = false;
LevelComplete();
currentTile.Close();
character.Die(_root);
}
function TimeOver() {
character.Lives--;
if (character.Lives < 1) {
GameOver();
} else {
character.Blood = 3;
ReStart();
}
}
function checkGameOver() {
if ((character.Blood < 1) || (currentTile.GetTimeLeft() < 0)) {
GameOver();
} else {
character.UpdateBlood();
}
}
function checkHit() {
if (protecttime > 0) {
protecttime--;
}
(((protecttime % 4) > 1) ? ((character.dmc._alpha = 50)) : ((character.dmc._alpha = 100)));
if (arrEnemy.length > 0) {
var i = 0;
while (i < arrEnemy.length) {
if (eval (((currentTile.dmc + ".") + arrEnemy[i]) + ".ccai").hitTest(character.dmc) && (character.getDownStep() > mydownspeed)) {
trace("Kill:" + arrEnemy[i]);
_global.sounds.PlaySound("boing2");
DeleteEnemy(i, "die");
character.KillEnemy();
return;
}
if (eval (((currentTile.dmc + ".") + arrEnemy[i]) + ".cai").hitTest(character.dmc) && (character.getDownStep() > mydownspeed)) {
trace("Kill:" + arrEnemy[i]);
_global.sounds.PlaySound("boing2");
DeleteEnemy(i);
character.KillEnemy();
return;
}
if (eval (((currentTile.dmc + ".") + arrEnemy[i]) + ".hit") == undefined) {
if (eval ((currentTile.dmc + ".") + arrEnemy[i]).hitTest(character.dmc) && (protecttime < 1)) {
trace("Hitted:" + arrEnemy[i]);
protecttime = 60;
character.BeAttacked();
return;
}
} else if (eval (((currentTile.dmc + ".") + arrEnemy[i]) + ".hit").hitTest(character.dmc) && (protecttime < 1)) {
trace("Hitted:" + arrEnemy[i]);
protecttime = 60;
character.BeAttacked();
return;
}
i++;
}
}
}
function DeleteEnemy(one, endmovie) {
var temp = eval ((currentTile.dmc + ".") + arrEnemy[one]);
KilledEnemies++;
character.CountScore(30);
arrEnemy.splice(one, 1);
if (endmovie != undefined) {
temp.gotoAndPlay(endmovie);
} else {
temp.stop();
arrElapse.push(temp);
}
}
function DetectKeyToDebug() {
((KeyPressDelay > 0) ? (KeyPressDelay--) : ((KeyPressDelay = 0)));
if (KeyPressDelay == 0) {
if (Key.isDown(17)) {
character.BeAttacked();
KeyPressDelay = 10;
dynamicsEngine.setSurfaceFriction(0);
}
if (Key.isDown(16)) {
var _local2 = 0;
while (_local2 < 5) {
character.FoundChild("ss" + _local2);
_local2++;
}
}
if (Key.isDown(8)) {
character.Blood = 3;
character.UpdateBlood();
}
if (Key.isDown(49)) {
GoToAnyLevel(Level1);
}
if (Key.isDown(50)) {
GoToAnyLevel(Level2);
}
if (Key.isDown(51)) {
GoToAnyLevel(Level3);
}
if (Key.isDown(52)) {
GoToAnyLevel(Level4);
}
if (Key.isDown(53)) {
GoToAnyLevel(Level5);
}
if (Key.isDown(54)) {
GoToAnyLevel(Level6);
}
if (Key.isDown(55)) {
GoToAnyLevel(Level7);
}
if (Key.isDown(56)) {
GoToAnyLevel(Level8);
}
if (Key.isDown(57)) {
GoToAnyLevel(Level9);
}
if (Key.isDown(65)) {
GoToAnyLevel(Level10);
}
if (Key.isDown(66)) {
GoToAnyLevel(Level11);
}
if (Key.isDown(67)) {
GoToAnyLevel(Level12);
}
if (Key.isDown(68)) {
GoToAnyLevel(Level13);
}
if (Key.isDown(69)) {
GoToAnyLevel(Level14);
}
if (Key.isDown(70)) {
GoToAnyLevel(Level15);
}
if (Key.isDown(71)) {
GoToAnyLevel(Level16);
}
}
}
function Run() {
if (running) {
var _local7 = character.GetPosition();
if (listenForKeys) {
worldPos.x = _local7.x;
worldPos.y = _local7.y;
}
var _local10 = camRightX;
var _local11 = 0;
if (listenForKeys) {
if (_root.__debug__) {
DetectKeyToDebug();
}
if (Key.isDown(37)) {
character.MoveLeft(keySpeed);
lastMoveLeft = true;
} else if (Key.isDown(39)) {
character.MoveRight(keySpeed);
lastMoveLeft = false;
} else {
character.CancelMove();
}
if (Key.isDown(38) || (Key.isDown(32))) {
if (isUnderWater) {
character.MoveUp(5.5);
if ((new Date().getTime() - WaterSwTime) > 1200) {
WaterSwTime = new Date().getTime();
_global.sounds.PlaySound("sw");
}
} else if (upWasUp) {
upWasUp = false;
character.Jump();
}
} else {
upWasUp = true;
}
if (Key.isDown(40)) {
if (isUnderWater) {
character.MoveDown(keySpeed);
}
}
if (Key.isDown(32)) {
currentTile.OpenGate();
}
}
dynamicsEngine.timeStep();
currentTile.Update(character.GetPosition().x, character.GetPosition().y);
checkHit();
character.Update();
if (lastMoveLeft) {
camCurrX = camCurrX + ((camLeftX - camCurrX) / 15);
if (camCurrX > camLeftX) {
camCurrX = camLeftX;
}
} else {
camCurrX = camCurrX - ((camCurrX - camRightX) / 15);
if (camCurrX < camRightX) {
camCurrX = camRightX;
}
}
var _local4 = camCurrX - worldPos.x;
var _local5 = camY - worldPos.y;
if (_local4 > 5) {
_local4 = 5;
} else if (_local4 < ((-currentTile.dmc.ground._width) + 750)) {
_local4 = (-currentTile.dmc.ground._width) + 750;
}
if (_local5 > -50) {
_local5 = -50;
} else if (_local5 < ((-currentTile.dmc.ground._height) + 480)) {
_local5 = (-currentTile.dmc.ground._height) + 480;
}
var _local9 = (_local4 - gameMC._x) * camXSpeed;
var _local8 = (_local5 - gameMC._y) * camYSpeed;
gameMC._x = gameMC._x + _local9;
gameMC._y = gameMC._y + _local8;
if (arrElapse.length > 0) {
for (var _local6 in arrElapse) {
if (arrElapse[_local6]._alpha > 10) {
arrElapse[_local6]._alpha = arrElapse[_local6]._alpha - 5;
} else {
arrElapse[_local6]._visible = false;
arrElapse.splice(_local6, 1);
break;
}
}
}
}
}
static function Main(mc) {
_root.__debug__ = false;
var game = (new illusoft.Game(mc));
mc.onEnterFrame = function () {
game.Run();
};
}
function SetUnderWater(val) {
if (val) {
dynamicsEngine.setDamping(0.75);
} else {
dynamicsEngine.setDamping(0.95);
}
isUnderWater = val;
}
function GetCurrentTile() {
return(currentTile);
}
function Stream() {
if (!isStream) {
if ((new Date().getTime() - jetstreamTime) > 400) {
jetstreamTime = new Date().getTime();
if (Math.random() > 0.5) {
_global.sounds.StopSound("jippie2");
_global.sounds.PlaySound("jippie");
} else {
_global.sounds.StopSound("jippie");
_global.sounds.PlaySound("jippie2");
}
}
character.dmc.face.gotoAndPlay("jump");
dynamicsEngine.setGravity(0, -1.5);
isStream = true;
camYSpeed = 0.7;
}
}
function NormalGravity() {
dynamicsEngine.setGravity(0, 1.9);
if (isStream) {
character.PushUp((Math.random() * 25) + 15);
isStream = false;
character.Jump();
camYSpeed = 0.3;
}
}
function setupGameTiles(selectlevel) {
trace("set gameTiles");
Level16 = new illusoft.GameTile012("tile012", dynamicsEngine, character, this, gameMC, null);
Level15 = new illusoft.GameTile015("tile015", dynamicsEngine, character, this, gameMC, Level16);
Level14 = new illusoft.GameTile011("tile011", dynamicsEngine, character, this, gameMC, Level15);
Level13 = new illusoft.GameTile010("tile010", dynamicsEngine, character, this, gameMC, Level14);
Level12 = new illusoft.GameTile009("tile009", dynamicsEngine, character, this, gameMC, Level13);
Level11 = new illusoft.GameTile016("tile016", dynamicsEngine, character, this, gameMC, Level12);
Level10 = new illusoft.GameTile013("tile013", dynamicsEngine, character, this, gameMC, Level11);
Level9 = new illusoft.GameTile014("tile014", dynamicsEngine, character, this, gameMC, Level10);
Level8 = new illusoft.GameTile008("tile008", dynamicsEngine, character, this, gameMC, Level9);
Level7 = new illusoft.GameTile007("tile007", dynamicsEngine, character, this, gameMC, Level8);
Level6 = new illusoft.GameTile006("tile006", dynamicsEngine, character, this, gameMC, Level7);
Level5 = new illusoft.GameTile005("tile005", dynamicsEngine, character, this, gameMC, Level6);
Level4 = new illusoft.GameTile004("tile004", dynamicsEngine, character, this, gameMC, Level5);
Level3 = new illusoft.GameTile003("tile003", dynamicsEngine, character, this, gameMC, Level4);
Level2 = new illusoft.GameTile002("tile002", dynamicsEngine, character, this, gameMC, Level3);
Level1 = new illusoft.GameTile001("tile001", dynamicsEngine, character, this, gameMC, Level2);
listenForKeys = false;
trace(selectlevel);
if (selectlevel == 1) {
currentTile = Level1;
}
if (selectlevel == 2) {
currentTile = Level2;
}
currentTile.SetActive(true);
currentTile.Init();
character.SetMC(currentTile.GetCharMC());
listenForKeys = true;
currentTile.Start();
}
function HasAllChilds() {
currentTile.HasAllChilds();
}
function StopGame() {
currentTile.Close();
dynamicsEngine.ClearAll();
delete currentTile;
}
function ReStart() {
running = false;
LevelComplete();
character.HideInfo();
_root.gamecontrol._visible = true;
_root.gamecontrol.gotoAndPlay("die");
}
function ReGame() {
LevelComplete();
character.Lives = 3;
GoToAnyLevel(Level1);
}
function RePlayTile() {
GoToAnyLevel(currentTile);
}
function GoToAnyLevel(yourlevel) {
isDoInitial = true;
KeyPressDelay = 30;
currentTile.Close();
delete currentTile;
listenForKeys = false;
currentTile = yourlevel;
currentTile.SetActive(true);
currentTile.Init();
character.ClearChilds();
character.SetMC(currentTile.GetCharMC());
gameMC._x = -character.dmc._x;
if (gameMC._x < 300) {
gameMC._x = -300;
}
gameMC._y = -character.dmc._y;
if ((-gameMC._y) > (currentTile.dmc.ground._height - 500)) {
gameMC._y = (-currentTile.dmc.ground._height) + 500;
}
listenForKeys = true;
isDoInitial = false;
if (!isDoInitial) {
currentTile.Start();
}
}
function SaveData(obj) {
ReadData();
var _local2 = userData.Insert(obj, "score");
SharedObject.getLocal("Agame.starisland").data.ud = userData;
SharedObject.getLocal("Agame.starisland").flush();
return(_local2);
}
function ReadData() {
userData.items = SharedObject.getLocal("Agame.starisland").data.ud.items;
if (userData.items == undefined) {
var _local3;
switch (_global.gamelanguage) {
case 1 :
_local3 = "CPU";
break;
case 2 :
_local3 = "COM";
break;
case 3 :
_local3 = "PC";
break;
case 4 :
_local3 = "CPU";
break;
case 5 :
_local3 = "CPU";
break;
case 6 :
_local3 = "CE";
break;
case 7 :
_local3 = "CPU";
break;
case 8 :
_local3 = "CPU";
break;
case 9 :
_local3 = "CPU";
}
userData = new huang.HighList(10, {score:" ", name:_local3});
userData.items[0] = {score:25000, name:_local3};
userData.items[1] = {score:23000, name:_local3};
userData.items[2] = {score:21000, name:_local3};
userData.items[3] = {score:19000, name:_local3};
userData.items[4] = {score:17000, name:_local3};
userData.items[5] = {score:15000, name:_local3};
userData.items[6] = {score:13000, name:_local3};
userData.items[7] = {score:12000, name:_local3};
userData.items[8] = {score:10000, name:_local3};
userData.items[9] = {score:5000, name:_local3};
SharedObject.getLocal("Agame.starisland").data.ud = userData;
SharedObject.getLocal("Agame.starisland").data.ud.flush();
}
}
function ShowHighScore(record) {
if (_root.Highscores != undefined) {
removeMovieClip(_root.Highscores);
}
_root.attachMovie("Highscores", "Highscores", 100009);
_root.Highscores.border._visible = false;
if (record != undefined) {
var index = SaveData(record, "score");
if (index > -1) {
_root.Highscores.border._y = _root.Highscores.border._y + (index * 23.3);
_root.Highscores.border._visible = true;
}
}
ReadData();
var temp = _root.Highscores;
var i = 0;
while (i < userData.items.length) {
eval ((temp + ".tn") + i).text = userData.items[i].name;
eval ((temp + ".ts") + i).text = userData.items[i].score;
i++;
}
}
function GoToNextLevel() {
if (currentTile.nextLevel != null) {
var _local4 = currentTile.nextLevel;
currentTile.Close();
delete currentTile;
listenForKeys = false;
currentTile = _local4;
currentTile.SetActive(true);
currentTile.Init();
character.ClearChilds();
character.SetMC(currentTile.GetCharMC());
gameMC._x = -character.dmc._x;
if (gameMC._x < 300) {
gameMC._x = -300;
}
gameMC._y = -character.dmc._y;
if ((-gameMC._y) > (currentTile.dmc.ground._height - 500)) {
gameMC._y = (-currentTile.dmc.ground._height) + 500;
}
listenForKeys = true;
currentTile.Start();
} else {
_global.sounds.StartMusic("loop0");
currentTile.Close();
currentTile = null;
delete currentTile;
listenForKeys = false;
character.ClearChilds();
_root.happy2._visible = true;
_root.happy2.play();
}
}
function gamestart_btn() {
_global.sounds.PlaySound("bling");
if (this != undefined) {
StopGame();
}
_root.levelmap._visible = true;
_root.levelmap.gotoAndPlay(2);
_root.levelmap.Isfirst = true;
}
function highscores_btn() {
ShowHighScore();
_global.sounds.PlaySound("bling");
_root.Highscores.h3000._visible = false;
_root.menu._visible = false;
}
function moregame_btn() {
_global.sounds.PlaySound("bling");
getURL (_root.localization_url1, "_blank");
}
function freegame_btn() {
_global.sounds.PlaySound("bling");
getURL (_root.localization_url2, "_blank");
}
function b_how_to_play() {
_global.sounds.PlaySound("bling");
_root.menu._visible = false;
_root.how_to_play._visible = true;
_root.how_to_play.play();
}
var protecttime = 60;
var KeyPressDelay = 30;
var Totalscore = 0;
var Thisscore = 0;
var GetStars = 0;
var KilledEnemies = 0;
var isDoInitial = false;
var keySpeed = 1.5;
var mystep = 8;
var mydownspeed = 1.5;
var running = true;
var camY = 240;
var camLeftX = 450;
var camRightX = 250;
var camCurrX = 250;
var lastMoveLeft = true;
var totalFrames = 0;
var totalTime = 180;
var isStream = false;
var camXSpeed = 0.2;
var camYSpeed = 0.3;
var chafe = 1;
var upWasUp = true;
var isUnderWater = false;
var jetstreamTime = 0;
var WaterSwTime = 0;
}
Symbol 1563 MovieClip [__Packages.illusoft.Character] Frame 0
class illusoft.Character
{
var game, wheelPrimitive, dmc, lastContact, childCharacters, info_mc;
function Character (dynamicsEngine, gameMC, game) {
super();
this.game = game;
Init();
wheelPrimitive = new org.cove.flade.primitives.Wheel(580, 450, 29, gameMC);
dynamicsEngine.addPrimitive(wheelPrimitive);
}
function SetMC(mc) {
dmc = mc;
game.worldPos.x = dmc._x;
game.worldPos.y = dmc._y;
wheelPrimitive.prev.x = (wheelPrimitive.curr.x = dmc._x);
wheelPrimitive.prev.y = (wheelPrimitive.curr.y = dmc._y);
}
function Init() {
ClearChilds();
}
function Update() {
(SHOWPRIMITIVES ? (PaintPrimitives()) : (dmc.clear()));
dmc._x = wheelPrimitive.curr.x;
dmc._y = wheelPrimitive.curr.y;
var _local2 = (Math.acos(wheelPrimitive.rp.curr.x / wheelPrimitive.GetRadius()) * 180) / Math.PI;
if (wheelPrimitive.rp.curr.y < 0) {
_local2 = -_local2;
}
dmc._rotation = _local2;
if (doJump) {
dmc.face.gotoAndPlay("jump");
wheelPrimitive.prev.y = wheelPrimitive.curr.y + jumpAmount;
doJump = false;
}
}
function getDownStep() {
return(wheelPrimitive.curr.y - wheelPrimitive.prev.y);
}
function MoveLeft(speed) {
if ((game.chafe != 1) && (wheelPrimitive.curr.x > wheelPrimitive.prev.x)) {
wheelPrimitive.prev.x = wheelPrimitive.prev.x + (game.chafe * speed);
wheelPrimitive.leftright = -1;
} else {
wheelPrimitive.prev.x = wheelPrimitive.prev.x + speed;
}
}
function MoveUp(speed) {
wheelPrimitive.prev.y = wheelPrimitive.prev.y + speed;
}
function MoveDown(speed) {
wheelPrimitive.prev.y = wheelPrimitive.prev.y - speed;
}
function MoveRight(speed) {
if ((game.chafe != 1) && (wheelPrimitive.curr.x < wheelPrimitive.prev.x)) {
wheelPrimitive.prev.x = wheelPrimitive.prev.x - (game.chafe * speed);
wheelPrimitive.leftright = 1;
} else {
wheelPrimitive.prev.x = wheelPrimitive.prev.x - speed;
}
}
function CancelMove() {
wheelPrimitive.rp.vs = 0;
wheelPrimitive.leftright = 0;
}
function Jump() {
if (jumpAllowed && (wheelPrimitive.WasCollision())) {
_global.sounds.PlaySound("ju");
jumpAllowed = false;
startY = dmc._y;
doJump = true;
jumpAmount = 35;
}
}
function KillEnemy() {
jumpAllowed = false;
startY = dmc._y;
doJump = true;
jumpAmount = 20;
}
function ConstrainJump(step) {
jumpAllowed = false;
startY = dmc._y;
doJump = true;
jumpAmount = step;
}
function PushUp(f) {
wheelPrimitive.prev.y = wheelPrimitive.curr.y + f;
}
function AllowJump(bool, surface) {
if ((new Date().getTime() - timeLastContact) > 400) {
jumpAllowed = bool;
lastContact = surface;
timeLastContact = new Date().getTime();
}
}
function GetPosition() {
return(new illusoft.utils.Point(dmc._x, dmc._y));
}
function GetPhysicsPos() {
return(new illusoft.utils.Point(wheelPrimitive.prev.x, wheelPrimitive.prev.y));
}
function PaintPrimitives() {
wheelPrimitive.paint();
}
function HasAllChilds() {
var _local2 = 0;
while (_local2 < childCharacters.length) {
if (childCharacters[_local2] == false) {
return(false);
}
_local2++;
}
return(true);
}
function ClearChilds() {
childCharacters = new Array(5);
var _local2 = 0;
while (_local2 < 5) {
childCharacters[_local2] = false;
_local2++;
}
}
function FoundChild(name) {
var _local3 = name.substr(-1);
childCharacters[_local3] = true;
dmc["child" + _local3].play();
game.GetStars++;
if (_root.info1 != undefined) {
_root.info1.txtChild.text = game.GetStars + "/5";
CountScore(50);
}
if (HasAllChilds()) {
game.HasAllChilds();
}
}
function CountScore(amount) {
game.Totalscore = game.Totalscore + amount;
if (_root.info1 != undefined) {
_root.info1.txtScore.text = game.Totalscore;
}
}
function SetScore(score) {
game.Totalscore = score;
if (_root.info1 != undefined) {
_root.info1.txtScore.text = score;
}
}
function ShowInfo(aim) {
if (aim.info1 != undefined) {
removeMovieClip(aim.info1);
}
aim.attachMovie("info", "info1", 100000);
info_mc = aim.info1;
info_mc._x = 0;
info_mc._y = 10;
info_mc.gotoAndPlay(1);
}
function Die(aim) {
dmc._visible = false;
aim.gamecontrol._visible = true;
HideInfo();
aim.gamecontrol.gotoAndPlay("gameover");
_global.sounds.FadeAllMusic();
_global.sounds.PlaySound("game_over");
}
function HideInfo() {
if (info_mc != undefined) {
info_mc._visible = false;
}
}
function UpdateBlood(allorpart) {
if (Blood < 1) {
if (Lives < 2) {
game.GameOver();
} else {
Lives--;
Blood = 3;
game.ReStart();
}
}
var i = 0;
while (i < 3) {
var myobj = eval ((info_mc + ".b") + i);
if (i < (Blood - 1)) {
myobj.gotoAndPlay("normal");
}
if (i == (Blood - 1)) {
myobj.gotoAndPlay("big");
}
if (i > (Blood - 1)) {
if (!((!allorpart) && (myobj._currentframe < 46))) {
(myobj.gotoAndStop("gray"));// not popped
} else {
(myobj.gotoAndPlay("break"));// not popped
}
}
i++;
}
info_mc.txtLife.text = Lives - 1;
trace((("Blood:" + Blood) + "___Lives:") + Lives);
}
function BeAttacked() {
dmc.face.gotoAndPlay("pain");
_global.sounds.PlaySound("hit");
illusoft.Game.Instance.listenForKeys = false;
(illusoft.Game.Instance.lastMoveLeft ? ((wheelPrimitive.prev.x = wheelPrimitive.prev.x - 20)) : ((wheelPrimitive.prev.x = wheelPrimitive.prev.x + 20)));
illusoft.Game.Instance.listenForKeys = true;
Blood--;
UpdateBlood(false);
}
var SHOWPRIMITIVES = false;
var jumpAllowed = false;
var hist = new Array();
var Lives = 3;
var Blood = 3;
var jumpAmount = 0;
var doJump = false;
var startY = 0;
var timeLastContact = 0;
}
Symbol 1564 MovieClip [__Packages.org.cove.flade.primitives.Particle] Frame 0
class org.cove.flade.primitives.Particle
{
var init, curr, prev, temp, extents, bmin, bmax, mtd, isVisible, wasCollision, dmc;
function Particle (posX, posY, rootmc) {
init = new org.cove.flade.util.Vector(posX, posY);
curr = new org.cove.flade.util.Vector(posX, posY);
prev = new org.cove.flade.util.Vector(posX, posY);
temp = new org.cove.flade.util.Vector(0, 0);
extents = new org.cove.flade.util.Vector(0, 0);
bmin = 0;
bmax = 0;
mtd = new org.cove.flade.util.Vector(0, 0);
initializeContainer(rootmc);
isVisible = true;
wasCollision = new Array(5);
}
function UpdateCount() {
lastIndex++;
if (lastIndex >= wasCollision.length) {
lastIndex = 0;
}
wasCollision[lastIndex] = false;
}
function WasCollision() {
var _local2 = 0;
while (_local2 < wasCollision.length) {
if (wasCollision[_local2]) {
return(true);
}
_local2++;
}
return(false);
}
function SetCollision() {
wasCollision[lastIndex] = true;
}
function initializeContainer(rootmc) {
if (_root.__debug__) {
if (rootmc == null) {
rootmc = _root;
}
var _local4 = rootmc.getNextHighestDepth();
var _local5 = "_" + _local4;
dmc = rootmc.createEmptyMovieClip(_local5, _local4);
} else {
dmc = _root;
}
}
function setVisible(v) {
isVisible = v;
}
function verlet(sysObj) {
temp.x = curr.x;
temp.y = curr.y;
curr.x = curr.x + ((sysObj.coeffDamp * (curr.x - prev.x)) + sysObj.gravity.x);
curr.y = curr.y + ((sysObj.coeffDamp * (curr.y - prev.y)) + sysObj.gravity.y);
prev.x = temp.x;
prev.y = temp.y;
}
function pin() {
curr.x = init.x;
curr.y = init.y;
prev.x = init.x;
prev.y = init.y;
}
function setPos(px, py) {
curr.x = px;
curr.y = py;
prev.x = px;
prev.y = py;
}
function getCardXProjection() {
bmin = curr.x - extents.x;
bmax = curr.x + extents.x;
}
function getCardYProjection() {
bmin = curr.y - extents.y;
bmax = curr.y + extents.y;
}
function getAxisProjection(axis) {
var _local5 = new org.cove.flade.util.Vector(Math.abs(axis.x), Math.abs(axis.y));
var _local2 = curr.dot(axis);
var _local3 = extents.dot(_local5);
bmin = _local2 - _local3;
bmax = _local2 + _local3;
}
function setMTD(depthX, depthY, depthN, surfNormal) {
var _local4 = Math.abs(depthX);
var _local3 = Math.abs(depthY);
var _local2 = Math.abs(depthN);
if ((_local4 < _local3) && (_local4 < _local2)) {
mtd.setTo(depthX, 0);
} else if ((_local3 < _local4) && (_local3 < _local2)) {
mtd.setTo(0, depthY);
} else if ((_local2 < _local4) && (_local2 < _local3)) {
mtd = surfNormal.multNew(depthN);
}
}
function setXYMTD(depthX, depthY) {
var _local3 = Math.abs(depthX);
var _local2 = Math.abs(depthY);
if (_local3 < _local2) {
mtd.setTo(depthX, 0);
} else {
mtd.setTo(0, depthY);
}
}
function resolveCollision(normal, sysObj) {
var _local2 = curr.minusNew(prev);
var _local3 = normal.dot(_local2);
var _local8 = _local2.minusNew(normal.multNew(_local3));
var _local4 = _local8.multNew(sysObj.coeffFric);
var _local5 = normal.multNew(_local3 * sysObj.coeffRest);
var _local6 = _local5.plusNew(_local4);
var _local7 = _local2.minusNew(_local6);
curr.plus(mtd);
prev = curr.minusNew(_local7);
}
function paint() {
}
function checkCollision(surface, sysObj) {
}
var lastIndex = 0;
}
Symbol 1565 MovieClip [__Packages.org.cove.flade.util.Vector] Frame 0
class org.cove.flade.util.Vector
{
var x, y;
function Vector (px, py) {
x = px;
y = py;
}
function setTo(px, py) {
x = px;
y = py;
}
function copy(v) {
x = v.x;
y = v.y;
}
function dot(v) {
return((x * v.x) + (y * v.y));
}
function cross(v) {
return((x * v.y) - (y * v.x));
}
function plus(v) {
x = x + v.x;
y = y + v.y;
return(this);
}
function plusNew(v) {
return(new org.cove.flade.util.Vector(x + v.x, y + v.y));
}
function minus(v) {
x = x - v.x;
y = y - v.y;
return(this);
}
function minusNew(v) {
return(new org.cove.flade.util.Vector(x - v.x, y - v.y));
}
function mult(s) {
x = x * s;
y = y * s;
return(this);
}
function multNew(s) {
return(new org.cove.flade.util.Vector(x * s, y * s));
}
function distance(v) {
var _local3 = x - v.x;
var _local2 = y - v.y;
return(Math.sqrt((_local3 * _local3) + (_local2 * _local2)));
}
function normalize() {
var _local2 = Math.sqrt((x * x) + (y * y));
x = x / _local2;
y = y / _local2;
return(this);
}
function magnitude() {
return(Math.sqrt((x * x) + (y * y)));
}
function project(b) {
var _local5 = dot(b);
var _local4 = (b.x * b.x) + (b.y * b.y);
var _local3 = new org.cove.flade.util.Vector(0, 0);
_local3.x = (_local5 / _local4) * b.x;
_local3.y = (_local5 / _local4) * b.y;
return(_local3);
}
}
Symbol 1566 MovieClip [__Packages.org.cove.flade.DynamicsEngine] Frame 0
class org.cove.flade.DynamicsEngine
{
var primitives, surfaces, MoveSurfaces, constraints, gravity, coeffRest, coeffFric, coeffDamp;
function DynamicsEngine () {
primitives = new Array();
surfaces = new Array();
MoveSurfaces = new Array();
constraints = new Array();
gravity = new org.cove.flade.util.Vector(0, 1);
coeffRest = 1.5;
coeffFric = 0.01;
coeffDamp = 0.99;
}
function ClearSurfaces() {
var _local2 = 0;
while (_local2 < surfaces.length) {
surfaces[_local2].clear();
_local2++;
}
_local2 = 0;
while (_local2 < MoveSurfaces.length) {
MoveSurfaces[_local2].clear();
_local2++;
}
surfaces = new Array();
MoveSurfaces = new Array();
}
function ClearAll() {
surfaces = new Array();
MoveSurfaces = new Array();
constraints = new Array();
}
function addPrimitive(p) {
primitives.push(p);
}
function addSurface(s) {
surfaces.push(s);
}
function addMoveSurface(s) {
MoveSurfaces.push(s);
}
function addConstraint(c) {
constraints.push(c);
}
function paintSurfaces() {
var _local2 = 0;
while (_local2 < surfaces.length) {
surfaces[_local2].paint();
_local2++;
}
}
function paintMoveSurfaces() {
var _local2 = 0;
while (_local2 < MoveSurfaces.length) {
MoveSurfaces[_local2].paint();
_local2++;
}
}
function paintPrimitives() {
var _local2 = 0;
while (_local2 < primitives.length) {
primitives[_local2].paint();
_local2++;
}
}
function paintConstraints() {
var _local2 = 0;
while (_local2 < constraints.length) {
constraints[_local2].paint();
_local2++;
}
}
function timeStep() {
verlet();
satisfyConstraints();
checkCollisions();
}
function setSurfaceBounce(kfr) {
coeffRest = 1 + kfr;
}
function setSurfaceFriction(f) {
coeffFric = f;
}
function setDamping(d) {
coeffDamp = d;
}
function setGravity(gx, gy) {
gravity.x = gx;
gravity.y = gy;
}
function verlet() {
var _local2 = 0;
while (_local2 < primitives.length) {
primitives[_local2].verlet(this);
_local2++;
}
}
function satisfyConstraints() {
var _local2 = 0;
while (_local2 < constraints.length) {
constraints[_local2].resolve();
_local2++;
}
}
function checkCollisions() {
var _local5 = 0;
while (_local5 < primitives.length) {
primitives[_local5].UpdateCount();
_local5++;
}
var _local4 = 0;
while (_local4 < surfaces.length) {
var _local3 = surfaces[_local4];
if (_local3.getActiveState()) {
var _local2 = 0;
while (_local2 < primitives.length) {
primitives[_local2].checkCollision(_local3, this);
_local2++;
}
}
_local4++;
}
_local4 = 0;
while (_local4 < MoveSurfaces.length) {
var _local3 = MoveSurfaces[_local4];
if (_local3.getActiveState()) {
var _local2 = 0;
while (_local2 < primitives.length) {
primitives[_local2].checkCollision(_local3, this);
_local2++;
}
}
_local4++;
}
}
var totalTime = 0;
}
Symbol 1567 MovieClip [__Packages.org.cove.flade.surfaces.Surface] Frame 0
interface org.cove.flade.surfaces.Surface
{
}
Symbol 1568 MovieClip [__Packages.org.cove.flade.primitives.RectangleParticle] Frame 0
class org.cove.flade.primitives.RectangleParticle extends org.cove.flade.primitives.Particle
{
var width, height, vertex, extents, isVisible, dmc, curr;
function RectangleParticle (px, py, w, h, rootmc) {
super(px, py, rootmc);
width = w;
height = h;
vertex = new org.cove.flade.util.Vector(0, 0);
extents = new org.cove.flade.util.Vector(w / 2, h / 2);
}
function paint() {
if (isVisible) {
dmc.clear();
dmc.lineStyle(0, 6710886, 100);
org.cove.flade.graphics.Graphics.paintRectangle(dmc, curr.x, curr.y, width, height);
}
}
function checkCollision(surface, sysObj) {
surface.resolveRectangleCollision(this, sysObj);
}
}
Symbol 1569 MovieClip [__Packages.org.cove.flade.graphics.Graphics] Frame 0
class org.cove.flade.graphics.Graphics
{
function Graphics () {
}
static function paintLine(dmc, x0, y0, x1, y1) {
dmc.moveTo(x0, y0);
dmc.lineTo(x1, y1);
}
static function paintCircle(dmc, x, y, r) {
var mtp8r = (0.414213562373095 * r);
var msp4r = (0.707106781186547 * r);
with (dmc) {
moveTo(x + r, y);
curveTo(r + x, mtp8r + y, msp4r + x, msp4r + y);
curveTo(mtp8r + x, r + y, x, r + y);
curveTo((-mtp8r) + x, r + y, (-msp4r) + x, msp4r + y);
curveTo((-r) + x, mtp8r + y, (-r) + x, y);
curveTo((-r) + x, (-mtp8r) + y, (-msp4r) + x, (-msp4r) + y);
curveTo((-mtp8r) + x, (-r) + y, x, (-r) + y);
curveTo(mtp8r + x, (-r) + y, msp4r + x, (-msp4r) + y);
curveTo(r + x, (-mtp8r) + y, r + x, y);
}
}
static function paintRectangle(dmc, x, y, w, h) {
var w2 = (w / 2);
var h2 = (h / 2);
with (dmc) {
moveTo(x - w2, y - h2);
lineTo(x + w2, y - h2);
lineTo(x + w2, y + h2);
lineTo(x - w2, y + h2);
lineTo(x - w2, y - h2);
}
}
}
Symbol 1570 MovieClip [__Packages.org.cove.flade.constraints.Constraint] Frame 0
interface org.cove.flade.constraints.Constraint
{
}
Symbol 1571 MovieClip [__Packages.org.cove.flade.primitives.CircleParticle] Frame 0
class org.cove.flade.primitives.CircleParticle extends org.cove.flade.primitives.Particle
{
var radius, contactRadius, extents, closestPoint, dmc, curr;
function CircleParticle (px, py, r, rootmc) {
super(px, py, rootmc);
radius = r;
contactRadius = r;
extents = new org.cove.flade.util.Vector(r, r);
closestPoint = new org.cove.flade.util.Vector(0, 0);
}
function paint() {
dmc.clear();
dmc.lineStyle(0, 6710886, 100);
org.cove.flade.graphics.Graphics.paintCircle(dmc, curr.x, curr.y, radius);
}
function checkCollision(surface, sysObj) {
surface.resolveCircleCollision(this, sysObj);
}
}
Symbol 1572 MovieClip [__Packages.org.cove.flade.primitives.Wheel] Frame 0
class org.cove.flade.primitives.Wheel extends org.cove.flade.primitives.CircleParticle
{
var rp, coeffSlip, leftright, isVisible, curr, dmc, radius, prev;
function Wheel (x, y, r, rootmc) {
super(x, y, r, rootmc);
rp = new org.cove.flade.primitives.RimParticle(r, 0.5);
coeffSlip = 0.5;
leftright = 0;
}
function GetRadius() {
return(rp.GetRadius());
}
function SetRadius(r) {
super(r);
rp.SetRadius(r);
}
function verlet(sysObj) {
rp.verlet(sysObj);
super.verlet(sysObj);
}
function resolveCollision(normal, sysObj) {
super.resolveCollision(normal, sysObj);
resolve(normal);
}
function paint() {
if (isVisible) {
var _local3 = curr.x;
var _local2 = curr.y;
var _local5 = rp.curr.x;
var _local4 = rp.curr.y;
dmc.clear();
dmc.lineStyle(0, 2237064, 100);
org.cove.flade.graphics.Graphics.paintCircle(dmc, _local3, _local2, radius);
dmc.lineStyle(0, 10066329, 100);
org.cove.flade.graphics.Graphics.paintLine(dmc, _local5 + _local3, _local4 + _local2, _local3, _local2);
org.cove.flade.graphics.Graphics.paintLine(dmc, (-_local5) + _local3, (-_local4) + _local2, _local3, _local2);
org.cove.flade.graphics.Graphics.paintLine(dmc, (-_local4) + _local3, _local5 + _local2, _local3, _local2);
org.cove.flade.graphics.Graphics.paintLine(dmc, _local4 + _local3, (-_local5) + _local2, _local3, _local2);
}
}
function setTraction(t) {
coeffSlip = t;
}
function resolve(n) {
var _local3 = -rp.curr.y;
var _local2 = rp.curr.x;
var _local6 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
_local3 = _local3 / _local6;
_local2 = _local2 / _local6;
var _local14 = _local3 * rp.speed;
var _local12 = _local2 * rp.speed;
var _local13 = curr.x - prev.x;
var _local11 = curr.y - prev.y;
var _local10 = _local13 + _local14;
var _local9 = _local11 + _local12;
var _local5 = ((-n.y) * _local10) + (n.x * _local9);
var _local4;
if (_local5 > 0) {
if (leftright == -1) {
_local4 = -(1 - coeffSlip);
} else {
_local4 = 1;
}
} else if (leftright == 1) {
_local4 = -(1 - coeffSlip);
} else {
_local4 = 1;
}
rp.prev.x = rp.curr.x - ((_local5 * _local3) * _local4);
rp.prev.y = rp.curr.y - ((_local5 * _local2) * _local4);
var _local8 = 1 - coeffSlip;
curr.x = curr.x + ((_local8 * rp.speed) * (-n.y));
curr.y = curr.y + ((_local8 * rp.speed) * n.x);
rp.speed = rp.speed * coeffSlip;
}
}
Symbol 1573 MovieClip [__Packages.org.cove.flade.primitives.RimParticle] Frame 0
class org.cove.flade.primitives.RimParticle
{
var curr, prev, vs, speed, maxTorque, wr;
function RimParticle (r, mt) {
curr = new org.cove.flade.util.Vector(r, 0);
prev = new org.cove.flade.util.Vector(0, 0);
vs = 0;
speed = 0;
maxTorque = mt;
wr = r;
}
function verlet(sysObj) {
speed = Math.max(-maxTorque, Math.min(maxTorque, speed + vs));
var _local3 = -curr.y;
var _local2 = curr.x;
var _local4 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
_local3 = _local3 / _local4;
_local2 = _local2 / _local4;
curr.x = curr.x + (speed * _local3);
curr.y = curr.y + (speed * _local2);
var _local10 = prev.x;
var _local9 = prev.y;
var _local8 = (prev.x = curr.x);
var _local7 = (prev.y = curr.y);
curr.x = curr.x + (sysObj.coeffDamp * (_local8 - _local10));
curr.y = curr.y + (sysObj.coeffDamp * (_local7 - _local9));
var _local6 = Math.sqrt((curr.x * curr.x) + (curr.y * curr.y));
var _local5 = (_local6 - wr) / _local6;
curr.x = curr.x - (curr.x * _local5);
curr.y = curr.y - (curr.y * _local5);
}
function GetRadius() {
return(wr);
}
function SetRadius(r) {
wr = r;
}
}
Symbol 1574 MovieClip [__Packages.org.cove.flade.surfaces.AbstractTile] Frame 0
class org.cove.flade.surfaces.AbstractTile
{
var center, verts, normal, isVisible, isActivated, dmc, minX, maxX, minY, maxY;
function AbstractTile (cx, cy, rootmc) {
center = new org.cove.flade.util.Vector(cx, cy);
verts = new Array();
normal = new org.cove.flade.util.Vector(0, 0);
isVisible = true;
isActivated = true;
if (rootmc == null) {
rootmc = _root;
}
initializeContainer(rootmc);
}
function initializeContainer(rootmc) {
if (_root.__debug__) {
if (rootmc == null) {
rootmc = _root;
}
var _local4 = rootmc.getNextHighestDepth();
var _local5 = "_" + _local4;
dmc = rootmc.createEmptyMovieClip(_local5, _local4);
} else {
dmc = _root;
}
}
function setVisible(v) {
isVisible = v;
if (!v) {
dmc.clear();
}
}
function getVisible() {
return(isVisible);
}
function setActiveState(a) {
isActivated = a;
}
function getActiveState() {
return(isActivated);
}
function createBoundingRect(rw, rh) {
var _local2 = center.y - (rh / 2);
var _local3 = center.y + (rh / 2);
var _local5 = center.x - (rw / 2);
var _local4 = center.x + (rw / 2);
verts.push(new org.cove.flade.util.Vector(_local4, _local3));
verts.push(new org.cove.flade.util.Vector(_local4, _local2));
verts.push(new org.cove.flade.util.Vector(_local5, _local2));
verts.push(new org.cove.flade.util.Vector(_local5, _local3));
setCardProjections();
}
function ReCreateBoundingRect(rw, rh) {
var _local2 = center.y - (rh / 2);
var _local3 = center.y + (rh / 2);
var _local5 = center.x - (rw / 2);
var _local4 = center.x + (rw / 2);
verts = new Array();
verts.push(new org.cove.flade.util.Vector(_local4, _local3));
verts.push(new org.cove.flade.util.Vector(_local4, _local2));
verts.push(new org.cove.flade.util.Vector(_local5, _local2));
verts.push(new org.cove.flade.util.Vector(_local5, _local3));
setCardProjections();
}
function testIntervals(boxMin, boxMax, tileMin, tileMax) {
if (boxMax < tileMin) {
return(0);
}
if (tileMax < boxMin) {
return(0);
}
var _local2 = tileMax - boxMin;
var _local1 = tileMin - boxMax;
if (Math.abs(_local2) < Math.abs(_local1)) {
return(_local2);
}
return(_local1);
}
function setCardProjections() {
getCardXProjection();
getCardYProjection();
}
function getCardXProjection() {
minX = verts[0].x;
var _local2 = 1;
while (_local2 < verts.length) {
if (verts[_local2].x < minX) {
minX = verts[_local2].x;
}
_local2++;
}
maxX = verts[0].x;
_local2 = 1;
while (_local2 < verts.length) {
if (verts[_local2].x > maxX) {
maxX = verts[_local2].x;
}
_local2++;
}
}
function getCardYProjection() {
minY = verts[0].y;
var _local2 = 1;
while (_local2 < verts.length) {
if (verts[_local2].y < minY) {
minY = verts[_local2].y;
}
_local2++;
}
maxY = verts[0].y;
_local2 = 1;
while (_local2 < verts.length) {
if (verts[_local2].y > maxY) {
maxY = verts[_local2].y;
}
_local2++;
}
}
function onContact() {
}
}
Symbol 1575 MovieClip [__Packages.org.cove.flade.surfaces.LineSurface] Frame 0
class org.cove.flade.surfaces.LineSurface extends org.cove.flade.surfaces.AbstractTile implements org.cove.flade.surfaces.Surface
{
var p1, p2, collNormal, isVisible, dmc, onContact, faceNormal, collisionDepth, testIntervals, minY, maxY, minX, maxX, sideNormal, minS, maxS, minF, maxF, rise, run, sign, slope, invB, setCardProjections, p3, p4, verts;
function LineSurface (p1x, p1y, p2x, p2y, rootmc) {
super(0, 0, rootmc);
p1 = new org.cove.flade.util.Vector(p1x, p1y);
p2 = new org.cove.flade.util.Vector(p2x, p2y);
calcFaceNormal();
collNormal = new org.cove.flade.util.Vector(0, 0);
setCollisionDepth(60);
}
function clear() {
p1 = new org.cove.flade.util.Vector(0, 0);
p2 = new org.cove.flade.util.Vector(1, 1);
calcFaceNormal();
collNormal = new org.cove.flade.util.Vector(0, 0);
setCollisionDepth(30);
paint();
}
function paint() {
if (isVisible) {
dmc.clear();
dmc.lineStyle(0, 2237064, 100);
org.cove.flade.graphics.Graphics.paintLine(dmc, p1.x, p1.y, p2.x, p2.y);
}
}
function resolveCircleCollision(p, sysObj) {
if (isCircleColliding(p)) {
onContact();
p.resolveCollision(faceNormal, sysObj);
p.SetCollision();
}
}
function resolveRectangleCollision(p, sysObj) {
if (isRectangleColliding(p)) {
onContact();
p.resolveCollision(collNormal, sysObj);
p.SetCollision();
}
}
function setCollisionDepth(d) {
collisionDepth = d;
precalculate();
}
function isCircleColliding(p) {
findClosestPoint(p.curr, p.closestPoint);
var _local3 = p.closestPoint.minusNew(p.curr);
_local3.normalize();
if (inequality(p.curr)) {
var _local5 = Math.abs(_local3.x);
_local3.x = ((faceNormal.x < 0) ? (_local5) : (-_local5));
_local3.y = Math.abs(_local3.y);
}
var _local4 = p.curr.plusNew(_local3.mult(p.radius));
if (segmentInequality(_local4)) {
if (_local4.distance(p.closestPoint) > collisionDepth) {
return(false);
}
var _local7 = _local4.x - p.closestPoint.x;
var _local6 = _local4.y - p.closestPoint.y;
p.mtd.setTo(-_local7, -_local6);
return(true);
}
return(false);
}
function isRectangleColliding(p) {
p.getCardYProjection();
var _local7 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local7 == 0) {
return(false);
}
p.getCardXProjection();
var _local8 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local8 == 0) {
return(false);
}
p.getAxisProjection(sideNormal);
var _local10 = testIntervals(p.bmin, p.bmax, minS, maxS);
if (_local10 == 0) {
return(false);
}
p.getAxisProjection(faceNormal);
var _local9 = testIntervals(p.bmin, p.bmax, minF, maxF);
if (_local9 == 0) {
return(false);
}
var _local4 = Math.abs(_local8);
var _local3 = Math.abs(_local7);
var _local6 = Math.abs(_local10);
var _local5 = Math.abs(_local9);
if (((_local4 <= _local3) && (_local4 <= _local6)) && (_local4 <= _local5)) {
p.mtd.setTo(_local8, 0);
collNormal.setTo(p.mtd.x / _local4, 0);
} else if (((_local3 <= _local4) && (_local3 <= _local6)) && (_local3 <= _local5)) {
p.mtd.setTo(0, _local7);
collNormal.setTo(0, p.mtd.y / _local3);
} else if (((_local5 <= _local4) && (_local5 <= _local3)) && (_local5 <= _local6)) {
p.mtd = faceNormal.multNew(_local9);
collNormal.copy(faceNormal);
} else if (((_local6 <= _local4) && (_local6 <= _local3)) && (_local6 <= _local5)) {
p.mtd = sideNormal.multNew(_local10);
collNormal.copy(sideNormal);
}
return(true);
}
function precalculate() {
rise = p2.y - p1.y;
run = p2.x - p1.x;
sign = ((run >= 0) ? 1 : -1);
slope = rise / run;
invB = 1 / ((run * run) + (rise * rise));
createRectangle();
calcSideNormal();
setCardProjections();
setAxisProjections();
}
function calcFaceNormal() {
faceNormal = new org.cove.flade.util.Vector(0, 0);
var _local3 = p2.x - p1.x;
var _local2 = p2.y - p1.y;
faceNormal.setTo(_local2, -_local3);
faceNormal.normalize();
}
function segmentInequality(toPoint) {
var _local2 = findU(toPoint);
var _local3 = inequality(toPoint);
return(((_local2 >= 0) && (_local2 <= 1)) && (_local3));
}
function inequality(toPoint) {
var _local2 = ((slope * (toPoint.x - p1.x)) + (p1.y - toPoint.y)) * sign;
return(_local2 <= 0);
}
function findClosestPoint(toPoint, returnVect) {
var _local2 = findU(toPoint);
if (_local2 <= 0) {
returnVect.copy(p1);
return(undefined);
}
if (_local2 >= 1) {
returnVect.copy(p2);
return(undefined);
}
var _local5 = p1.x + (_local2 * (p2.x - p1.x));
var _local4 = p1.y + (_local2 * (p2.y - p1.y));
returnVect.setTo(_local5, _local4);
}
function findU(p) {
var _local2 = ((p.x - p1.x) * run) + ((p.y - p1.y) * rise);
return(_local2 * invB);
}
function createRectangle() {
var _local5 = p2.x + ((-faceNormal.x) * collisionDepth);
var _local3 = p2.y + ((-faceNormal.y) * collisionDepth);
var _local4 = p1.x + ((-faceNormal.x) * collisionDepth);
var _local2 = p1.y + ((-faceNormal.y) * collisionDepth);
p3 = new org.cove.flade.util.Vector(_local5, _local3);
p4 = new org.cove.flade.util.Vector(_local4, _local2);
verts.push(p1);
verts.push(p2);
verts.push(p3);
verts.push(p4);
}
function setAxisProjections() {
var _local2;
minF = p2.dot(faceNormal);
maxF = p3.dot(faceNormal);
if (minF > maxF) {
_local2 = minF;
minF = maxF;
maxF = _local2;
}
minS = p1.dot(sideNormal);
maxS = p2.dot(sideNormal);
if (minS > maxS) {
_local2 = minS;
minS = maxS;
maxS = _local2;
}
}
function calcSideNormal() {
sideNormal = new org.cove.flade.util.Vector(0, 0);
var _local3 = p3.x - p2.x;
var _local2 = p3.y - p2.y;
sideNormal.setTo(_local2, -_local3);
sideNormal.normalize();
}
}
Symbol 1576 MovieClip [__Packages.illusoft.utils.Point] Frame 0
class illusoft.utils.Point
{
var x, y;
function Point (x, y) {
this.x = x;
this.y = y;
}
}
Symbol 1577 MovieClip [__Packages.huang.HighList] Frame 0
class huang.HighList
{
var items;
function HighList (ListLength, initValue) {
items = new Array(ListLength);
if (initValue != undefined) {
var _local2 = 0;
_local2 = 0;
while (_local2 < ListLength) {
items[_local2] = initValue;
_local2++;
}
}
}
function Sortby(filed) {
if (items.length > 0) {
items.sortOn(filed, Array.DESCENDING | Array.NUMERIC);
}
}
function Insert(yourItem, compare) {
if (items.length > 0) {
Sortby(compare);
var _local2 = 0;
while (_local2 < items.length) {
if (int(yourItem[compare]) >= int(items[_local2][compare])) {
items[items.length - 1] = yourItem;
Sortby(compare);
return(_local2);
}
_local2++;
}
return(-1);
}
items[0] = yourItem;
return(0);
}
function getIndex(yourNum, ToBeCheckNum) {
if (items.length > 0) {
var _local2 = 0;
while (_local2 < items.length) {
if (yourNum < items[_local2].ToBeCheckNum) {
}
_local2++;
}
} else {
items[0] = yourNum;
return(0);
}
}
}
Symbol 1578 MovieClip [__Packages.illusoft.GameTile] Frame 0
class illusoft.GameTile
{
var id, dynamicsEngine, character, gameMC, game, nextLevel, surfaces, surfaceStatus, dmc, Enemy, gate1, portal, levelComplete;
function GameTile (id, dEngine, character, game, gamemc, nextLevel) {
this.id = id;
dynamicsEngine = dEngine;
this.character = character;
gameMC = gamemc;
this.game = game;
var _local2 = this;
this.nextLevel = nextLevel;
surfaces = new Array();
surfaceStatus = new Array();
}
function GetCharMC() {
return(dmc.char);
}
function Setup(gx, gy, surfaceData, childs, gate1Ar, portalAr, jetAr, normalGravities, switch1Ar, portalGrAr, helps, rrs) {
groundx = gx;
groundy = gy;
dmc._x = -groundx;
dmc._y = -groundy;
GenerateSurfaces(surfaceData, -gx, -gy);
GenerateChilds(childs, -gx, -gy);
GenerateGate(gate1Ar, -gx, -gy, switch1Ar);
GeneratePortal(portalAr, -gx, -gy);
GenerateJetStream(jetAr, -gx, -gy);
GenerateNormalGravities(normalGravities, -gx, -gy);
GenerateRoundedRects(rrs, -gx, -gy);
GenerateExPortal(portalGrAr, -gx, -gy);
GenerateHelps(helps, -gx, -gy);
}
function GetBounds() {
return({left:dmc._x, right:dmc._x + dmc._width});
}
function GenerateGate(gateAr, dx, dy, switchAr) {
if (gateAr != null) {
var _local4 = AddGate(gateAr[0] + dx, gateAr[1] + dy, gateAr[2], gateAr[3], gateAr[4]);
if (switchAr != null) {
AddSwitch(switchAr[0] + dx, switchAr[1] + dy, switchAr[2], switchAr[3], switchAr[4], _local4);
}
}
}
function GeneratePortal(portalAr, dx, dy) {
AddPortal(portalAr[0] + dx, portalAr[1] + dy, portalAr[2], portalAr[3], portalAr[4]);
}
function GenerateExPortal(portalAr, dx, dy) {
if (portalAr != null) {
AddExPortal(portalAr[0] + dx, portalAr[1] + dy, portalAr[2], portalAr[3], portalAr[4]);
}
}
function GenerateJetStream(jetAr, dx, dy) {
if (jetAr != null) {
AddJetStream(jetAr[0] + dx, jetAr[1] + dy, jetAr[2], jetAr[3], jetAr[4]);
}
}
function GenerateChilds(childs, dx, dy) {
var _local3 = 0;
while (_local3 < childs.length) {
var _local2 = childs[_local3];
if (_local2 != null) {
AddChildChar(_local2[0] + dx, _local2[1] + dy, _local2[2], _local2[3], _local2[4]);
}
_local3++;
}
}
function GenerateNormalGravities(normalGravities, dx, dy) {
var _local3 = 0;
while (_local3 < normalGravities.length) {
var _local2 = normalGravities[_local3];
if (_local2 != null) {
AddNormalGravity(_local2[0] + dx, _local2[1] + dy, _local2[2], _local2[3], _local2[4]);
}
_local3++;
}
}
function GenerateRoundedRects(rrs, dx, dy) {
var _local3 = 0;
while (_local3 < rrs.length) {
var _local2 = rrs[_local3];
if (_local2 != null) {
AddRoundedRect(_local2[0] + dx, _local2[1] + dy, _local2[2], _local2[3], _local2[4]);
}
_local3++;
}
}
function GenerateHelps(helps, dx, dy) {
var _local3 = 0;
while (_local3 < helps.length) {
var _local2 = helps[_local3];
if (_local2 != null) {
AddHelp(_local2[0] + dx, _local2[1] + dy, _local2[2], _local2[3], _local2[4]);
}
_local3++;
}
}
function Update(x) {
var _local5 = Math.round(x / 150);
var _local2 = minX;
while (_local2 < maxX) {
var _local4 = ((_local2 == _local5) || ((_local2 + 1) == _local5)) || ((_local2 - 1) == _local5);
if (surfaceStatus[_local2] != _local4) {
var _local3 = 0;
while (_local3 < surfaces.length) {
surfaces[_local2][_local3].setActiveState(_local4);
_local3++;
}
surfaceStatus[_local2] = _local4;
}
_local2++;
}
}
function GenerateSurfaces(surfaceData, dx, dy) {
var cref = this;
var _local7 = 0;
while (_local7 < surfaceData.length) {
var _local4 = surfaceData[_local7];
var _local3 = _local4[0] + dx;
var _local10 = _local4[1] + dy;
var _local2 = _local4[2] + dx;
var _local9 = _local4[3] + dy;
if ((minX == null) || (_local3 < minX)) {
minX = _local3;
} else if ((maxX == null) || (_local3 > maxX)) {
maxX = _local3;
}
if (_local2 < minX) {
minX = _local2;
} else if (_local2 > maxX) {
maxX = _local2;
}
var _local5 = Math.round((_local3 + _local2) / 300);
if (surfaces[_local5] == null) {
surfaces[_local5] = new Array();
surfaceStatus[_local5] = true;
}
var _local11 = _local4[4];
var _local6 = new org.cove.flade.surfaces.LineSurface(_local3, _local10, _local2, _local9, gameMC);
surfaces[_local5].push(_local6);
dynamicsEngine.addSurface(_local6);
var _local8 = _local2 - _local3;
var _local12 = _local9 - _local10;
if ((((_local8 != 0) && (Math.abs(_local12 / _local8) < 1.3)) && (_local11)) && (_local8 > 0)) {
_local6.onContact = function () {
cref.character.AllowJump(true, this);
};
}
_local7++;
}
}
function AddLineSurface(line, allowJump) {
surfaces.push(line);
var cref = this;
line.onContact = function () {
cref.character.AllowJump(allowJump);
};
dynamicsEngine.addSurface(line);
}
function AddCircleSurface(circle, allowJump) {
surfaces.push(circle);
var cref = this;
circle.onContact = function () {
cref.character.AllowJump(allowJump);
};
dynamicsEngine.addSurface(circle);
}
function SetActive(active) {
if (isActive != active) {
for (var _local4 in surfaces) {
var _local2 = surfaces[_local4];
_local2.setActiveState(active);
}
isActive = active;
}
}
function Start() {
if (_root.pad1 != undefined) {
removeMovieClip(_root.pad1);
}
illusoft.Game.Instance.running = true;
character.ShowInfo(_root);
game.arrEnemy = Enemy.split("/");
game.protecttime = 60;
trace("Start:" + id);
if (SharedObject.getLocal("Agame.starisland").data[id] == null) {
SharedObject.getLocal("Agame.starisland").data[id] = 0;
SharedObject.getLocal("Agame.starisland").data[id].flush();
}
var _local4 = SharedObject.getLocal("Agame.starisland").data[id];
var _local3 = _local4 % 60;
character.info_mc.RegTime.text = (int(_local4 / 60) + " ") + ((_local3 < 10) ? ("0" + _local3) : (_local3));
}
function Init() {
var classRef = this;
game.chafe = 1;
game.Thisscore = 0;
game.GetStars = 0;
game.KilledEnemies = 0;
dmc = gameMC.attachMovie(id, id + new Date().getTime(), gameMC.getNextHighestDepth());
dmc.onEnterFrame = function () {
classRef.Setup(this.groundx, this.groundy, this.edges, this.childs, this.gate1, this.portal, this.jetstream, this.normalGravities, this.button1, this.portal_graph, this.helps, this.rrs);
delete this.onEnterFrame;
};
}
function AddRectangleSurface(surface, allowJump) {
surfaces.push(surface);
var cref = this;
surface.onContact = function () {
cref.character.AllowJump(allowJump);
};
dynamicsEngine.addSurface(surface);
}
function AddRectangleSurface2(surface, allowJump) {
surfaces.push(surface);
var _local2 = this;
surface.onContact = function () {
surface.setActiveState(false);
};
dynamicsEngine.addSurface(surface);
}
function AddRoundedRectangle(rr) {
surfaces.push(rr);
dynamicsEngine.addSurface(rr);
}
function AddChildChar(xPos, yPos, width, height, mc) {
var rc = (new illusoft.utils.RectangleCheck(xPos, yPos, width, height, gameMC));
surfaces.push(rc);
var cref = this;
mc._visible = true;
rc.onContact = function () {
rc.setActiveState(false);
rc.setVisible(false);
_global.sounds.PlaySound("bling");
mc._visible = false;
cref.character.FoundChild(mc._name);
};
dynamicsEngine.addSurface(rc);
}
function AddJetStream(xPos, yPos, width, height, mc) {
var _local2 = new illusoft.utils.RectangleCheck(xPos, yPos, width, height, gameMC);
surfaces.push(_local2);
var cref = this;
mc._visible = false;
_local2.onContact = function () {
cref.game.Stream();
cref.character.AllowJump(false);
};
dynamicsEngine.addSurface(_local2);
}
function AddNormalGravity(xPos, yPos, width, height, mc) {
var _local2 = new illusoft.utils.RectangleCheck(xPos, yPos, width, height, gameMC);
surfaces.push(_local2);
var cref = this;
mc._visible = false;
_local2.onContact = function () {
cref.game.NormalGravity();
cref.character.AllowJump(false);
};
dynamicsEngine.addSurface(_local2);
}
function AddRoundedRect(xPos, yPos, width, height, mc) {
var _local2 = new illusoft.utils.RoundedRectangle(xPos, yPos, width, height, 25, dynamicsEngine, character, gameMC);
surfaces.push(_local2);
var _local3 = this;
mc._visible = false;
_local2.onContact = function () {
};
dynamicsEngine.addSurface(_local2);
}
function AddGate(xPos, yPos, width, height, mc, switchAr) {
var _local2 = new org.cove.flade.surfaces.RectangleTile(xPos, yPos, width, height, gameMC);
gate1 = new illusoft.Gate(mc, _local2);
surfaces.push(_local2);
var cref = this;
mc._visible = true;
_local2.onContact = function () {
cref.CheckGate();
};
dynamicsEngine.addSurface(_local2);
return(gate1);
}
function AddHelp(xPos, yPos, width, height, mc, switchAr) {
var _local2 = new illusoft.utils.RectangleCheck(xPos, yPos, width, height, gameMC);
var help = (new illusoft.Help(mc, _local2, game));
surfaces.push(_local2);
var _local4 = this;
mc._visible = true;
_local2.onContact = function () {
help.Show();
};
dynamicsEngine.addSurface(_local2);
}
function AddSwitch(xPos, yPos, width, height, mc, gate) {
var _local2 = new org.cove.flade.surfaces.CircleTile(xPos, yPos, width / 2, gameMC);
surfaces.push(_local2);
_local2.onContact = function () {
gate.Open();
};
dynamicsEngine.addSurface(_local2);
var _local3 = new illusoft.Switch(mc, _local2);
gate.SetSwitch(_local3);
}
function AddPortal(xPos, yPos, width, height, mc) {
var _local4 = new org.cove.flade.surfaces.RectangleTile(xPos, yPos, width, height, gameMC);
portal = new illusoft.Portal(mc, _local4);
surfaces.push(_local4);
var cref = this;
mc._visible = true;
mc.AniDone = function () {
cref.GoToNextLevel();
};
mc.RotateDone = function () {
illusoft.Game.Instance.running = false;
var _local3 = this._parent.levelComplete;
_local3._x = (-cref.gameMC._x) + 250;
_local3._y = (-cref.gameMC._y) + 120;
_local3.gotoAndPlay(1);
_local3._visible = true;
cref.game.listenForKeys = false;
cref.GetCharMC()._visible = false;
_global.sounds.PlaySound("surprise");
};
_local4.onContact = function () {
cref.CheckPortal();
};
dynamicsEngine.addSurface(_local4);
}
function AddExPortal(xPos, yPos, width, height, mc) {
var _local2 = new org.cove.flade.surfaces.RectangleTile(xPos, yPos, width, height, gameMC);
surfaces.push(_local2);
var _local4 = this;
mc._visible = true;
mc.stars._visible = false;
dynamicsEngine.addSurface(_local2);
}
function CheckPortal() {
if (character.HasAllChilds()) {
LevelComplete();
game.LevelComplete();
portal.Open();
}
}
function LevelComplete() {
}
function GetPortalPos() {
var _local2 = dmc.portal;
return(new illusoft.utils.Point(_local2._x + (_local2._width / 2), _local2._y + (_local2._height / 2)));
}
function CheckGate() {
}
function OpenGate() {
if (gate1 != null) {
gate1.Open();
}
}
function HasAllChilds() {
}
function GoToNextLevel() {
game.GoToNextLevel();
}
function Close() {
dmc._visible = false;
character.HideInfo();
Enemy = "";
game.SetUnderWater(false);
game.NormalGravity();
dynamicsEngine.ClearSurfaces();
removeMovieClip(dmc);
delete dmc;
}
function StartToTime() {
startTime = getTimer();
trace(startTime);
levelComplete = false;
character.info_mc.txtChild.text = "0/5";
character.info_mc.txtScore.text = game.Totalscore;
character.UpdateBlood(true);
}
function GetPlayedTime() {
if (game.listenForKeys) {
return(pauseTime - startTime);
}
return(pauseTime - startTime);
}
function GetTimeLeft() {
if (game.listenForKeys) {
if (pauseTime != 0) {
startTime = startTime + (getTimer() - pauseTime);
pauseTime = 0;
}
return((missionTime + startTime) - getTimer());
}
if (pauseTime == 0) {
pauseTime = getTimer();
}
return((missionTime + startTime) - pauseTime);
}
var startTime = 0;
var missionTime = 180000;
var pauseTime = 0;
var groundx = 0;
var groundy = 0;
var isActive = false;
var minX = 0;
var maxX = 0;
}
Symbol 1579 MovieClip [__Packages.illusoft.Gate] Frame 0
class illusoft.Gate
{
var dmc, rec, buttonSwitch;
function Gate (mc, rec) {
dmc = mc;
this.rec = rec;
}
function SetSwitch(buttonSwitch) {
this.buttonSwitch = buttonSwitch;
}
function GetSwitch() {
return(buttonSwitch);
}
function Open() {
if (!isOpen) {
rec.setActiveState(false);
rec.setVisible(false);
dmc.play();
isOpen = true;
}
}
var isOpen = false;
}
Symbol 1580 MovieClip [__Packages.org.cove.flade.surfaces.RectangleTile] Frame 0
class org.cove.flade.surfaces.RectangleTile extends org.cove.flade.surfaces.AbstractTile implements org.cove.flade.surfaces.Surface
{
var rectWidth, rectHeight, createBoundingRect, isVisible, dmc, center, onContact, normal, testIntervals, minX, maxX, minY, maxY;
function RectangleTile (cx, cy, rw, rh, rootmc) {
super(cx, cy, rootmc);
rectWidth = rw;
rectHeight = rh;
createBoundingRect(rw, rh);
}
function paint() {
if (isVisible) {
dmc.clear();
dmc.lineStyle(0, 2237064, 100);
org.cove.flade.graphics.Graphics.paintRectangle(dmc, center.x, center.y, rectWidth, rectHeight);
}
}
function resolveCircleCollision(p, sysObj) {
if (isCircleColliding(p)) {
onContact();
p.resolveCollision(normal, sysObj);
p.SetCollision();
}
}
function resolveRectangleCollision(p, sysObj) {
if (isRectangleColliding(p)) {
onContact();
p.resolveCollision(normal, sysObj);
p.SetCollision();
}
}
function isCircleColliding(p) {
p.getCardXProjection();
var _local6 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local6 == 0) {
return(false);
}
p.getCardYProjection();
var _local5 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local5 == 0) {
return(false);
}
var _local11 = Math.abs(_local6) < p.radius;
var _local12 = Math.abs(_local5) < p.radius;
if (_local11 && (_local12)) {
var _local10 = center.x + (sign(p.curr.x - center.x) * (rectWidth / 2));
var _local9 = center.y + (sign(p.curr.y - center.y) * (rectHeight / 2));
var _local4 = p.curr.x - _local10;
var _local3 = p.curr.y - _local9;
var _local8 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
var _local7 = p.radius - _local8;
if (_local7 > 0) {
_local4 = _local4 / _local8;
_local3 = _local3 / _local8;
p.mtd.setTo(_local4 * _local7, _local3 * _local7);
normal.setTo(_local4, _local3);
return(true);
}
return(false);
}
p.setXYMTD(_local6, _local5);
normal.setTo(p.mtd.x / Math.abs(_local6), p.mtd.y / Math.abs(_local5));
return(true);
}
function isRectangleColliding(p) {
p.getCardXProjection();
var _local4 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local4 == 0) {
return(false);
}
p.getCardYProjection();
var _local3 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local3 == 0) {
return(false);
}
p.setXYMTD(_local4, _local3);
normal.setTo(p.mtd.x / Math.abs(_local4), p.mtd.y / Math.abs(_local3));
return(true);
}
function sign(val) {
if (val < 0) {
return(-1);
}
if (val > 0) {
return(1);
}
}
}
Symbol 1581 MovieClip [__Packages.illusoft.Switch] Frame 0
class illusoft.Switch
{
var dmc, circl;
function Switch (mc, circl) {
dmc = mc;
this.circl = circl;
}
function DoSwitch() {
if (!isSwitched) {
dmc.play();
isSwitched = true;
}
}
var isSwitched = false;
}
Symbol 1582 MovieClip [__Packages.org.cove.flade.surfaces.CircleTile] Frame 0
class org.cove.flade.surfaces.CircleTile extends org.cove.flade.surfaces.AbstractTile implements org.cove.flade.surfaces.Surface
{
var createBoundingRect, radius, isVisible, dmc, center, onContact, normal, testIntervals, minX, maxX, minY, maxY;
function CircleTile (cx, cy, r, rootmc) {
super(cx, cy, rootmc);
createBoundingRect(r * 2, r * 2);
radius = r;
}
function paint() {
if (isVisible) {
dmc.clear();
dmc.lineStyle(0, 2237064, 100);
org.cove.flade.graphics.Graphics.paintCircle(dmc, center.x, center.y, radius);
}
}
function resolveCircleCollision(p, sysObj) {
if (isCircleColliding(p)) {
onContact();
p.resolveCollision(normal, sysObj);
p.SetCollision();
}
}
function resolveRectangleCollision(p, sysObj) {
if (isRectangleColliding(p)) {
onContact();
p.resolveCollision(normal, sysObj);
}
}
function isCircleColliding(p) {
p.getCardXProjection();
var _local8 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local8 == 0) {
return(false);
}
p.getCardYProjection();
var _local7 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local7 == 0) {
return(false);
}
var _local4 = center.x - p.curr.x;
var _local3 = center.y - p.curr.y;
var _local5 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
var _local6 = (p.radius + radius) - _local5;
if (_local6 > 0) {
_local4 = _local4 / _local5;
_local3 = _local3 / _local5;
p.mtd.setTo((-_local4) * _local6, (-_local3) * _local6);
normal.setTo(-_local4, -_local3);
return(true);
}
return(false);
}
function isRectangleColliding(p) {
p.getCardXProjection();
var _local6 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local6 == 0) {
return(false);
}
p.getCardYProjection();
var _local5 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local5 == 0) {
return(false);
}
var _local11 = Math.abs(_local6) < radius;
var _local12 = Math.abs(_local5) < radius;
if (_local11 && (_local12)) {
var _local10 = p.curr.x + (sign(center.x - p.curr.x) * (p.width / 2));
var _local9 = p.curr.y + (sign(center.y - p.curr.y) * (p.height / 2));
p.vertex.setTo(_local10, _local9);
var _local4 = p.vertex.x - center.x;
var _local3 = p.vertex.y - center.y;
var _local8 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
var _local7 = radius - _local8;
if (_local7 > 0) {
_local4 = _local4 / _local8;
_local3 = _local3 / _local8;
p.mtd.setTo(_local4 * _local7, _local3 * _local7);
normal.setTo(_local4, _local3);
return(true);
}
return(false);
}
p.setXYMTD(_local6, _local5);
normal.setTo(p.mtd.x / Math.abs(_local6), p.mtd.y / Math.abs(_local5));
return(true);
}
function sign(val) {
if (val < 0) {
return(-1);
}
if (val > 0) {
return(1);
}
}
}
Symbol 1583 MovieClip [__Packages.illusoft.Portal] Frame 0
class illusoft.Portal
{
var dmc, rec;
function Portal (mc, rec) {
dmc = mc;
this.rec = rec;
}
function Open() {
dmc.gotoAndPlay("open");
rec.onContact = null;
}
}
Symbol 1584 MovieClip [__Packages.illusoft.utils.RectangleCheck] Frame 0
class illusoft.utils.RectangleCheck extends org.cove.flade.surfaces.RectangleTile implements org.cove.flade.surfaces.Surface
{
var isCircleColliding, onContact, isRectangleColliding;
function RectangleCheck (cx, cy, rw, rh, rootmc) {
super(cx, cy, rw, rh, rootmc);
}
function resolveCircleCollision(p, sysObj) {
if (isCircleColliding(p)) {
onContact();
}
}
function resolveRectangleCollision(p, sysObj) {
if (isRectangleColliding(p)) {
onContact();
}
}
}
Symbol 1585 MovieClip [__Packages.illusoft.utils.RoundedRectangle] Frame 0
class illusoft.utils.RoundedRectangle extends org.cove.flade.surfaces.AbstractTile implements org.cove.flade.surfaces.Surface
{
var rectWidth, rectHeight, radius, lineLeft, lineRight, lineTop, lineBottom, circleTopLeft, circleTopRight, circleBottomLeft, circleBottomRight, isVisible, onContact, normal, testIntervals, minX, maxX, minY, maxY, center;
function RoundedRectangle (cx, cy, rw, rh, radius, engine, char, rootMC) {
super(cx, cy, rootMC);
rectWidth = rw;
rectHeight = rh;
this.radius = radius;
var _local8 = cx - (rw / 2);
var _local6 = cx + (rw / 2);
var _local7 = cy - (rh / 2);
var _local5 = cy + (rh / 2);
var char = char;
lineLeft = new org.cove.flade.surfaces.LineSurface(_local8, _local5 - radius, _local8, _local7 + radius, rootMC);
lineRight = new org.cove.flade.surfaces.LineSurface(_local6, _local7 + radius, _local6, _local5 - radius, rootMC);
lineTop = new org.cove.flade.surfaces.LineSurface(_local8 + radius, _local7, _local6 - radius, _local7, rootMC);
lineBottom = new org.cove.flade.surfaces.LineSurface(_local6 - radius, _local5, _local8 + radius, _local5, rootMC);
lineTop.onContact = function () {
char.AllowJump(true);
};
circleTopLeft = new org.cove.flade.surfaces.CircleTile(_local8 + radius, _local7 + radius, radius, rootMC);
circleTopLeft.onContact = lineTop.onContact;
circleTopRight = new org.cove.flade.surfaces.CircleTile(_local6 - radius, _local7 + radius, radius, rootMC);
circleTopRight.onContact = lineTop.onContact;
circleBottomLeft = new org.cove.flade.surfaces.CircleTile(_local8 + radius, _local5 - radius, radius, rootMC);
circleBottomRight = new org.cove.flade.surfaces.CircleTile(_local6 - radius, _local5 - radius, radius, rootMC);
}
function paint() {
if (isVisible) {
lineLeft.paint();
lineRight.paint();
lineTop.paint();
lineBottom.paint();
circleTopLeft.paint();
circleTopRight.paint();
circleBottomLeft.paint();
circleBottomRight.paint();
}
}
function resolveCircleCollision(p, sysObj) {
lineLeft.resolveCircleCollision(p, sysObj);
lineRight.resolveCircleCollision(p, sysObj);
lineBottom.resolveCircleCollision(p, sysObj);
lineTop.resolveCircleCollision(p, sysObj);
circleTopLeft.resolveCircleCollision(p, sysObj);
circleTopRight.resolveCircleCollision(p, sysObj);
circleBottomLeft.resolveCircleCollision(p, sysObj);
circleBottomRight.resolveCircleCollision(p, sysObj);
}
function resolveRectangleCollision(p, sysObj) {
if (isRectangleColliding(p)) {
onContact();
p.resolveCollision(normal, sysObj);
}
}
function isCircleColliding(p) {
p.getCardXProjection();
var _local6 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local6 == 0) {
return(false);
}
p.getCardYProjection();
var _local5 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local5 == 0) {
return(false);
}
var _local11 = Math.abs(_local6) < p.radius;
var _local12 = Math.abs(_local5) < p.radius;
if (_local11 && (_local12)) {
var _local10 = center.x + (sign(p.curr.x - center.x) * (rectWidth / 2));
var _local9 = center.y + (sign(p.curr.y - center.y) * (rectHeight / 2));
var _local4 = p.curr.x - _local10;
var _local3 = p.curr.y - _local9;
var _local8 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
var _local7 = p.radius - _local8;
if (_local7 > 0) {
_local4 = _local4 / _local8;
_local3 = _local3 / _local8;
p.mtd.setTo(_local4 * _local7, _local3 * _local7);
normal.setTo(_local4, _local3);
return(true);
}
return(false);
}
p.setXYMTD(_local6, _local5);
normal.setTo(p.mtd.x / Math.abs(_local6), p.mtd.y / Math.abs(_local5));
return(true);
}
function isRectangleColliding(p) {
p.getCardXProjection();
var _local4 = testIntervals(p.bmin, p.bmax, minX, maxX);
if (_local4 == 0) {
return(false);
}
p.getCardYProjection();
var _local3 = testIntervals(p.bmin, p.bmax, minY, maxY);
if (_local3 == 0) {
return(false);
}
p.setXYMTD(_local4, _local3);
normal.setTo(p.mtd.x / Math.abs(_local4), p.mtd.y / Math.abs(_local3));
return(true);
}
function sign(val) {
if (val < 0) {
return(-1);
}
if (val > 0) {
return(1);
}
}
}
Symbol 1586 MovieClip [__Packages.illusoft.Help] Frame 0
class illusoft.Help
{
var dmc, game, rec, ob;
function Help (mc, rec, game) {
dmc = mc;
this.game = game;
this.rec = rec;
var cref = this;
dmc._parent[dmc._name + "_txt"]._visible = false;
dmc.onRelease = function () {
cref.Show(true);
cref.game.listenForKeys = true;
};
dmc._parent[dmc._name + "_txt"].onRelease = function () {
cref.game.listenForKeys = true;
this._visible = false;
};
ob = new Object();
ob.onKeyDown = function () {
if (Key.getCode() == 88) {
if (cref.dmc._parent[cref.dmc._name + "_txt"]._visible == true) {
cref.dmc._parent[cref.dmc._name + "_txt"]._visible = false;
cref.game.listenForKeys = true;
}
}
};
Key.addListener(ob);
}
function Show(showAlways) {
if ((!helpShown) || (showAlways)) {
helpShown = true;
rec.setActiveState(false);
}
dmc._parent[dmc._name + "_txt"]._visible = true;
dmc._parent[dmc._name + "_txt"].onKeyDown = function () {
trace("blaat");
};
game.listenForKeys = false;
}
var helpShown = false;
}
Symbol 1587 MovieClip [__Packages.illusoft.utils.Sounds] Frame 0
class illusoft.utils.Sounds
{
var dmc, sounds, soundsmc, currentMusicName;
function Sounds (mc) {
dmc = mc.createEmptyMovieClip("sounds", mc.getNextHighestDepth());
Init();
}
function CreateSound(soundName) {
var _local2 = dmc.createEmptyMovieClip(soundName, dmc.getNextHighestDepth());
_local2.isPlaying = false;
var _local3 = new Sound(_local2);
_local3.attachSound("snd_" + soundName);
sounds[soundName] = _local3;
soundsmc[soundName] = _local2;
}
function Init() {
sounds = new Array();
soundsmc = new Array();
CreateSound("child");
CreateSound("jetstream");
CreateSound("bling");
CreateSound("surprise");
CreateSound("jippie");
CreateSound("jippie2");
CreateSound("door");
CreateSound("explode");
CreateSound("boing");
CreateSound("loop0");
CreateSound("loop1");
CreateSound("loop2");
CreateSound("loop3");
CreateSound("loop4");
CreateSound("map");
CreateSound("victory");
CreateSound("game_over");
CreateSound("water");
CreateSound("hit");
CreateSound("waterpao");
CreateSound("boing2");
CreateSound("boing3");
CreateSound("stoneboing");
CreateSound("stonemove");
CreateSound("win");
CreateSound("niao");
CreateSound("snow");
CreateSound("over");
CreateSound("timeout");
CreateSound("in");
CreateSound("fei");
CreateSound("bee");
CreateSound("bs");
CreateSound("x");
CreateSound("sw");
CreateSound("fc");
CreateSound("ju");
}
function PlaySound(soundName, Volume) {
if (Volume == null) {
Volume = 100;
}
if (soundEnabled) {
var _local3 = soundsmc[soundName];
_local3.onEnterFrame = null;
var _local2 = sounds[soundName];
_local2.stop();
_local2.setVolume(Volume);
_local2.start(0, 1);
}
}
function StopSound(soundName) {
var _local3 = sounds[soundName];
var _local2 = soundsmc[soundName];
_local3.stop();
_local2.isPlaying = false;
}
function LoopSound(soundName, Volume) {
if (Volume == null) {
Volume = 100;
}
if (soundEnabled) {
var _local3 = sounds[soundName];
var _local2 = soundsmc[soundName];
if (!_local2.isPlaying) {
_local2.isPlaying = true;
_local3.start(0, 1);
_local3.onSoundComplete = function () {
this.start(0, 1);
};
} else {
FadeVolume(soundName, true, false, 3, Volume);
}
}
}
function StartMusic(musicName, Volume) {
if (Volume == null) {
Volume = 70;
}
FadeMusic();
if (soundEnabled) {
var _local3 = soundsmc[musicName];
_local3.onEnterFrame = null;
var _local2 = sounds[musicName];
_local2.stop();
_local2.setVolume(Volume);
_local2.start(0, 999);
}
currentMusicName = musicName;
}
function FadeMusic() {
if (currentMusicName != null) {
sounds[currentMusicName].stop();
currentMusicName = null;
}
}
function FadeAllMusic() {
if (currentMusicName != null) {
FadeVolume(currentMusicName, false, false, 1);
currentMusicName = null;
}
}
function ToggleSound(mc) {
soundEnabled = !soundEnabled;
if (soundEnabled) {
mc.gotoAndStop("on");
if (currentMusicName != null) {
StartMusic(currentMusicName);
}
} else {
mc.gotoAndStop("off");
for (var _local2 in sounds) {
FadeVolume(_local2, false, false, null);
}
}
}
function FadeVolume(soundName, louder, fromStart, speed, Volume) {
if (speed == null) {
speed = 3;
}
if (Volume == null) {
Volume = 100;
}
var snd = sounds[soundName];
var _local2 = soundsmc[soundName];
if (fromStart) {
if (louder) {
snd.setVolume(1);
snd.start(0, 1);
_local2.isPlaying = true;
} else {
snd.setVolume(Volume - 1);
}
}
if (louder) {
_local2.onEnterFrame = function () {
snd.setVolume(snd.getVolume() + speed);
if (snd.getVolume() >= (Volume - 1)) {
snd.setVolume(Volume);
delete this.onEnterFrame;
}
};
} else {
_local2.onEnterFrame = function () {
snd.setVolume(snd.getVolume() - speed);
if (snd.getVolume() <= 0) {
snd.stop();
snd.setVolume(Volume);
this.isPlaying = false;
delete this.onEnterFrame;
}
};
}
}
var soundEnabled = true;
}
Symbol 1588 MovieClip [__Packages.illusoft.GameTile012] Frame 0
class illusoft.GameTile012 extends illusoft.GameTile
{
var lastTime, nt, dmc, character, game, Enemy, dynamicsEngine;
function GameTile012 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
lastTime = new Date().getTime();
}
function Update(x) {
super.Update(x);
nt = new Date().getTime();
checkJumper();
if (dmc.downer.fblock.red_btn.hitTest(character.dmc)) {
character.dmc._visible = false;
dmc.downer.ch._visible = true;
impressed = true;
}
if (impressed) {
dmc.downer.play();
DoMovie();
}
if (!StartedAnt0) {
startAnts(0);
}
if (!StartedAnt1) {
startAnts(1);
}
if (!StartedAnt2) {
startAnts(2);
}
if (!StartedAnt4) {
startAnts(4);
}
checkChild(1);
checkChild(2);
FindChild(3);
checkChild(4);
checkChild(0);
}
function startAnts(yourAnt) {
var temp = ((dmc + ".Driver") + yourAnt);
if (character.dmc.hitTest(temp)) {
switch (yourAnt) {
case 0 :
StartedAnt0 = true;
break;
case 1 :
StartedAnt1 = true;
break;
case 2 :
StartedAnt2 = true;
break;
case 4 :
StartedAnt4 = true;
break;
}
eval ((dmc + ".ant") + yourAnt).play();
}
}
function FindChild(mychild) {
var temp = eval (((dmc + ".") + "childChar") + mychild);
if (character.dmc.hitTest(temp) && (temp._visible)) {
temp._visible = false;
_global.sounds.PlaySound("bling");
character.FoundChild(temp._name);
}
}
function checkChild(mychild) {
var temp = eval ((dmc + ".ant") + mychild);
if (character.dmc.hitTest(temp.antbody.ChildBody) && (temp.antbody.childCharN._visible)) {
_global.sounds.PlaySound("bling");
character.FoundChild(temp._name);
temp.stop();
temp.antbody.childCharN._visible = false;
var i = 0;
while (i < game.arrEnemy.length) {
if (game.arrEnemy[i] == (("ant" + mychild) + ".antbody")) {
game.DeleteEnemy(i, "die");
}
i++;
}
}
}
function checkJumper() {
if (character.dmc.hitTest(dmc.button1)) {
character.MoveUp(30);
if ((nt - lastTime) > 500) {
_global.sounds.PlaySound("boing");
lastTime = nt;
}
}
}
function DoMovie() {
var _local2 = game.camYSpeed;
game.camYSpeed = 0.5;
if ((dmc.downer._currentframe > 5) && (dmc.downer._currentframe <= 15)) {
illusoft.Game.Instance.character.wheelPrimitive.setPos(dmc.downer._x + dmc.downer.ch._x, dmc.downer._y + dmc.downer.ch._y);
}
if (dmc.downer._currentframe == 15) {
dmc.downer._visible = false;
character.dmc._visible = true;
game.camYSpeed = _local2;
character.KillEnemy();
impressed = false;
}
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop3");
StartedAnt0 = false;
StartedAnt1 = false;
StartedAnt2 = false;
StartedAnt4 = false;
lastTime = new Date().getTime();
Enemy = "ant1.antbody/ant2.antbody/ant4.antbody/ant0.antbody/";
var c = (new org.cove.flade.surfaces.CircleTile(dmc.myCir1._x, dmc.myCir1._y, dmc.myCir1._width / 2, dmc));
c.onContact = function () {
delete c;
};
dynamicsEngine.addSurface(c);
}
function Close() {
super.Close();
}
var impressed = false;
var StartedAnt0 = false;
var StartedAnt1 = false;
var StartedAnt2 = false;
var StartedAnt4 = false;
}
Symbol 1589 MovieClip [__Packages.illusoft.GameTile015] Frame 0
class illusoft.GameTile015 extends illusoft.GameTile
{
var lastTime, character, dmc, Enemy, gameMC, surfaces, dynamicsEngine, levelComplete;
function GameTile015 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
lastTime = new Date().getTime();
}
function Update(x) {
super.Update(x);
var _local5 = character.dmc;
var _local4 = new Date().getTime();
if (_local5.hitTest(dmc.myHitter1)) {
trace("myHitter1");
dmc.myHitter1._y = -100;
dmc.mole_go1.play();
}
if (_local5.hitTest(dmc.myHitter2)) {
trace("myHitter2");
dmc.myHitter2._y = -100;
dmc.mole_go2.play();
}
if (Hit2 && (_local5.hitTest(dmc.myHitter3))) {
trace("myHitter3");
dmc.myHitter3._y = -100;
dmc.mole_go4.play();
}
if (_local5.hitTest(dmc.bomb1)) {
dmc.bomb1.play();
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("explode");
lastTime = _local4;
}
character.MoveUp(8);
} else if (_local5.hitTest(dmc.bomb2)) {
dmc.bomb2.play();
character.MoveUp(16);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("explode");
lastTime = _local4;
}
} else if (_local5.hitTest(dmc.bomb4)) {
dmc.bomb4.play();
character.MoveUp(12);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("explode");
lastTime = _local4;
}
} else if (_local5.hitTest(dmc.button1)) {
character.MoveUp(22);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("boing");
lastTime = _local4;
}
}
}
function Init() {
super.Init();
Enemy = "mole_go1/mole_go2/mole_go4";
var _local4 = new illusoft.utils.RectangleCheck(dmc.roundedRect00._x, dmc.roundedRect00._y, dmc.roundedRect00._width, dmc.roundedRect00._height, gameMC);
surfaces.push(_local4);
var cref = this;
_local4.onContact = function () {
if (!cref.aniDone) {
cref.dmc.level3ani.play();
_global.sounds.PlaySound("door");
cref.game.listenForKeys = false;
cref.character.dmc._visible = false;
cref.aniDone = true;
cref.game.camYSpeed = 0.1;
cref.game.camXSpeed = 0.1;
}
cref.character.AllowJump(false);
};
dynamicsEngine.addSurface(_local4);
aniDone = false;
dmc.level3ani.gotoAndStop(1);
dmc.level3ani.AniDone = function () {
cref.game.listenForKeys = true;
cref.character.dmc._visible = true;
cref.game.camYSpeed = 0.3;
cref.game.camXSpeed = 0.2;
var _local1 = cref.character.dmc;
_local1._x = 380;
_local1._y = 705;
cref.character.SetMC(_local1);
};
dmc.level3ani.SetCam = function (x, y) {
cref.game.worldPos.x = cref.game.worldPos.x + x;
cref.game.worldPos.y = cref.game.worldPos.y + y;
};
dmc.mole_go1.runstart = function () {
trace("a");
_global.sounds.LoopSound("bs", 100);
};
dmc.mole_go1.runstop = function () {
_global.sounds.FadeVolume("bs", false, false);
};
dmc.mole_go2.runstart = function () {
_global.sounds.LoopSound("bs", 100);
};
dmc.mole_go2.runstop = function () {
_global.sounds.FadeVolume("bs", false, false);
};
dmc.mole_go3.runstart = function () {
_global.sounds.LoopSound("bs", 100);
};
dmc.mole_go3.runstop = function () {
_global.sounds.FadeVolume("bs", false, false);
};
dmc.mole_go2.Hit2 = function () {
trace("Hit2");
cref.Hit2 = true;
};
_global.sounds.StartMusic("loop3");
}
function Close() {
_global.sounds.FadeVolume("bs", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("bs", false, false);
}
var aniDone = false;
var Hit2 = false;
}
Symbol 1590 MovieClip [__Packages.illusoft.GameTile011] Frame 0
class illusoft.GameTile011 extends illusoft.GameTile
{
var character, dmc, dynamicsEngine, game, levelComplete, Enemy;
function GameTile011 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
var _local3 = character.dmc;
if ((_local3.hitTest(dmc.su1) || (_local3.hitTest(dmc.su2))) || (_local3.hitTest(dmc.su3))) {
dynamicsEngine.setGravity(0, -5);
} else if ((((_local3.hitTest(dmc.sd1) || (_local3.hitTest(dmc.sd2))) || (_local3.hitTest(dmc.sd3))) || (_local3.hitTest(dmc.sd4))) || (_local3.hitTest(dmc.sd5))) {
dynamicsEngine.setGravity(0, 5);
} else if ((_local3.hitTest(dmc.sl1) || (_local3.hitTest(dmc.sl2))) || (_local3.hitTest(dmc.sl3))) {
dynamicsEngine.setGravity(-5, 0);
} else if ((_local3.hitTest(dmc.sr1) || (_local3.hitTest(dmc.sr2))) || (_local3.hitTest(dmc.sr3))) {
dynamicsEngine.setGravity(5, 0);
} else {
game.NormalGravity();
}
}
function Close() {
_global.sounds.FadeVolume("waterpao", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("waterpao", false, false);
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop4");
Enemy = "shark1/shark2/shark3";
game.chafe = 1;
game.SetUnderWater(true);
var _local4 = this;
}
function Start() {
_global.sounds.LoopSound("waterpao", 100);
super.Start();
}
}
Symbol 1591 MovieClip [__Packages.illusoft.GameTile010] Frame 0
class illusoft.GameTile010 extends illusoft.GameTile
{
var r0, r1, r2, r3, character, dmc, gameMC, surfaces, dynamicsEngine, Enemy, game;
function GameTile010 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
r0.RunUpDown(0, 260, 2);
r1.RunUpDown(260, 0, 2);
r2.RunUpDown(0, 260, 2);
r3.RunLeftRight(0, 220, 2);
}
function Init() {
super.Init();
var ca = character;
r0 = new org.cove.flade.surfaces.MoveRectangleTile(dmc.mice0._x, dmc.mice0._y, dmc.mice0._width, dmc.mice0._height, gameMC, dmc.mice0);
r1 = new org.cove.flade.surfaces.MoveRectangleTile(dmc.mice1._x, dmc.mice1._y, dmc.mice1._width, dmc.mice1._height, gameMC, dmc.mice1);
r2 = new org.cove.flade.surfaces.MoveRectangleTile(dmc.mice2._x, dmc.mice2._y, dmc.mice2._width, dmc.mice2._height, gameMC, dmc.mice2);
r3 = new org.cove.flade.surfaces.MoveRectangleTile(dmc.mice3._x, dmc.mice3._y, dmc.mice3._width, dmc.mice3._height, gameMC, dmc.mice3);
surfaces.push(r0);
surfaces.push(r1);
surfaces.push(r2);
surfaces.push(r3);
r1.onContact = function () {
ca.AllowJump(true);
};
r0.onContact = (r2.onContact = (r3.onContact = r1.onContact));
dynamicsEngine.addSurface(r0);
dynamicsEngine.addSurface(r1);
dynamicsEngine.addSurface(r2);
dynamicsEngine.addSurface(r3);
Enemy = "pm2/pm3/pm4";
game.chafe = 0.25;
_global.sounds.StartMusic("loop4");
}
function Close() {
super.Close();
}
}
Symbol 1592 MovieClip [__Packages.org.cove.flade.surfaces.MoveRectangleTile] Frame 0
class org.cove.flade.surfaces.MoveRectangleTile extends org.cove.flade.surfaces.RectangleTile implements org.cove.flade.surfaces.Surface
{
var MoveCurr, MovePrev, MoveAspect, Moveang, HighShowTime, facedmc, center, ReCreateBoundingRect, rectWidth, rectHeight, getVisible, setVisible, timeLastContact, isCircleColliding, onContact, normal;
function MoveRectangleTile (cx, cy, rw, rh, rootmc, dmc) {
super(cx, cy, rw, rh, rootmc);
MoveCurr = new org.cove.flade.util.Vector(0, 0);
MovePrev = new org.cove.flade.util.Vector(0, 0);
MoveAspect = true;
Moveang = (HighShowTime = 0);
if (dmc != undefined) {
facedmc = dmc;
}
}
function MoveLeft(mox) {
center.x = center.x - mox;
ReCreateBoundingRect(rectWidth, rectHeight);
MovePrev.x = MoveCurr.x;
MoveCurr.x = MoveCurr.x - mox;
}
function MoveRight(mox) {
center.x = center.x + mox;
ReCreateBoundingRect(rectWidth, rectHeight);
MovePrev.x = MoveCurr.x;
MoveCurr.x = MoveCurr.x + mox;
}
function MoveUp(moy) {
center.y = center.y - moy;
ReCreateBoundingRect(rectWidth, rectHeight);
MovePrev.y = MoveCurr.y;
MoveCurr.y = MoveCurr.y - moy;
}
function MoveDown(moy) {
center.y = center.y + moy;
ReCreateBoundingRect(rectWidth, rectHeight);
MovePrev.y = MoveCurr.y;
MoveCurr.y = MoveCurr.y + moy;
}
function ReSet(newx, newy) {
center.x = newx;
center.y = newy;
ReCreateBoundingRect(rectWidth, rectHeight);
MovePrev.x = MoveCurr.x;
MoveCurr.x = center.x;
MovePrev.y = MoveCurr.y;
MoveCurr.y = center.y;
}
function MoveHide() {
if (getVisible()) {
setVisible(false);
ReCreateBoundingRect(0, 0);
onMoveHide();
}
}
function MovieAgreement() {
facedmc._x = center.x;
facedmc._y = center.y;
}
function MoveShow() {
if (!getVisible()) {
setVisible(true);
ReCreateBoundingRect(rectWidth, rectHeight);
onMoveShow();
}
}
function SetMoveAspect(b) {
MoveAspect = b;
}
function RunLeftRight(mlx, mrx, speed) {
if (MoveCurr.x > mrx) {
MoveAspect = false;
}
if (MoveCurr.x < (-mlx)) {
MoveAspect = true;
}
if (MoveAspect) {
MoveRight(speed);
} else {
MoveLeft(speed);
}
MovieAgreement();
}
function RunUpDown(muy, mdy, speed) {
if (MoveCurr.y > mdy) {
MoveAspect = false;
}
if (MoveCurr.y < (-muy)) {
MoveAspect = true;
}
if (MoveAspect) {
MoveDown(speed);
} else {
MoveUp(speed);
}
MovieAgreement();
}
function RunCircle(Runright, r, speed, StartAng) {
if (Runright) {
Moveang = Moveang + ((Math.PI * speed) / 360);
} else {
Moveang = Moveang - ((Math.PI * speed) / 360);
}
var _local3 = Math.cos(Moveang + StartAng) * r;
var _local2 = Math.sin(Moveang + StartAng) * r;
if (_local3 > 0) {
MoveRight(_local3);
} else {
MoveLeft(-_local3);
}
if (_local2 > 0) {
MoveDown(_local2);
} else {
MoveUp(-_local2);
}
MovieAgreement();
}
function StartRunHide() {
timeLastContact = new Date().getTime();
if (!MoveAspect) {
HighShowTime = 0;
MoveAspect = true;
}
}
function RunHide(ShowTime, HideTime) {
if (MoveAspect) {
if (HighShowTime < ShowTime) {
MoveShow();
if ((new Date().getTime() - timeLastContact) > 400) {
MoveShow();
HighShowTime = 0;
MoveAspect = false;
}
} else if (HighShowTime < (ShowTime + HideTime)) {
MoveHide();
} else if (HighShowTime > (ShowTime + HideTime)) {
MoveAspect = false;
MoveShow();
HighShowTime = 0;
}
HighShowTime++;
}
}
function resolveCircleCollision(p, sysObj) {
if (isCircleColliding(p)) {
onContact();
p.resolveCollision(normal, sysObj);
p.SetCollision();
p.curr.x = p.curr.x + (MoveCurr.x - MovePrev.x);
p.prev.x = p.prev.x + (MoveCurr.x - MovePrev.x);
}
}
function onMoveHide() {
}
function onMoveShow() {
}
function GetCenterY() {
return(center.y);
}
}
Symbol 1593 MovieClip [__Packages.illusoft.GameTile009] Frame 0
class illusoft.GameTile009 extends illusoft.GameTile
{
var lastTime, levelComplete, character, dmc, dynamicsEngine, Enemy;
function GameTile009 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
lastTime = new Date().getTime();
}
function Update(x, y) {
super.Update(x);
if (!levelComplete) {
if ((x > 1750) && (y < 1420)) {
_global.sounds.LoopSound("jetstream", 60);
} else {
_global.sounds.FadeVolume("jetstream", false, false);
}
if (character.dmc.hitTest(dmc.snowball.sub.sou)) {
_global.sounds.LoopSound("stonemove", 80);
} else {
_global.sounds.FadeVolume("stonemove", false, false);
}
}
var _local4 = new Date().getTime();
if (character.dmc.hitTest(dmc.myHitter)) {
dmc.myHitter._y = -100;
dmc.snowball.play();
}
if (dmc.snowball._currentframe == 446) {
trace("start to bridge");
Bridge();
}
if (character.dmc.hitTest(dmc.button1) || (character.dmc.hitTest(dmc.button2))) {
character.MoveUp(22);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("boing");
lastTime = _local4;
}
}
}
function Bridge() {
var ca = character;
var _local2 = new org.cove.flade.surfaces.CircleTile(((dmc.snowball._x + dmc.snowball.ball._x) + (dmc.snowball.ball.ball._width / 2)) - 20, ((dmc.snowball._y + dmc.snowball.ball._y) + (dmc.snowball.ball.ball._height / 2)) - 20, 90, dmc);
_local2.onContact = function () {
ca.AllowJump(true);
};
dynamicsEngine.addSurface(_local2);
}
function Init() {
super.Init();
Enemy = "p1/p2/p3/snowball.sub.hit1/snowball.sub.hit2/snowball.sub.hit3/snowball.sub.hit4";
dmc.myHitter._visible = false;
_global.sounds.StartMusic("loop4");
}
function Close() {
_global.sounds.FadeVolume("jetstream", false, false);
_global.sounds.FadeVolume("stonemove", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("jetstream", false, false);
_global.sounds.FadeVolume("stonemove", false, false);
}
}
Symbol 1594 MovieClip [__Packages.illusoft.GameTile016] Frame 0
class illusoft.GameTile016 extends illusoft.GameTile
{
var lastTime, character, levelComplete, dmc, rl, r1, r2, r3, r4, r5, r6, r7, r8, Enemy, gameMC, surfaces, dynamicsEngine;
function GameTile016 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
lastTime = new Date().getTime();
}
function Update(x) {
super.Update(x);
var _local4 = character.dmc;
var _local5 = new Date().getTime();
if (!levelComplete) {
if (((((character.dmc.hitTest(dmc.crabmove1.crab.sou) && (dmc.crabmove1.crab._visible)) || (character.dmc.hitTest(dmc.crabmove2.crab.sou) && (dmc.crabmove2.crab._visible))) || (character.dmc.hitTest(dmc.crabmove3.crab.sou) && (dmc.crabmove3.crab._visible))) || (character.dmc.hitTest(dmc.crabmove4.crab.sou) && (dmc.crabmove4.crab._visible))) || (character.dmc.hitTest(dmc.crabmove5.crab.sou) && (dmc.crabmove5.crab._visible))) {
_global.sounds.LoopSound("x", 100);
} else {
_global.sounds.FadeVolume("x", false, false);
}
}
if (_local4.hitTest(dmc.button1)) {
character.MoveUp(22);
if ((_local5 - lastTime) > 500) {
_global.sounds.PlaySound("boing");
lastTime = _local5;
}
}
if (_local4.hitTest(dmc.myHitterin1)) {
dmc.tunemov1.gotoAndPlay("in");
}
if (_local4.hitTest(dmc.myHitterin11)) {
dmc.tunemov1.gotoAndPlay("in");
}
if (_local4.hitTest(dmc.myHitterout1)) {
dmc.tunemov1.gotoAndPlay("out");
rl.setActiveState(true);
rl.ReSet(dmc.myface._x, dmc.myface._y, dmc.myface._width, dmc.myface._height);
}
if (_local4.hitTest(dmc.myHitterin2)) {
dmc.tunemov2.gotoAndPlay("in");
}
if (_local4.hitTest(dmc.myHitterout2)) {
dmc.tunemov2.gotoAndPlay("out");
}
if (_local4.hitTest(dmc.myHitterout22)) {
dmc.tunemov2.gotoAndPlay("out");
}
if (_local4.hitTest(dmc.myHitterin3)) {
dmc.tunemov2.gotoAndPlay("in");
}
if (_local4.hitTest(dmc.myHitterout3)) {
dmc.tunemov2.gotoAndPlay("out");
}
if (_local4.hitTest(dmc.crabmove1.moveleft) && (!dmc.crabmove1.crab.die)) {
dmc.crabmove1._x = dmc.crabmove1._x - 3;
dmc.childChar0._x = dmc.childChar0._x - 3;
dmc.crabmove1.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove1.moveright) && (!dmc.crabmove1.crab.die)) {
if (dmc.crabmove1._x < 800) {
dmc.crabmove1._x = dmc.crabmove1._x + 3;
dmc.childChar0._x = dmc.childChar0._x + 3;
}
dmc.crabmove1.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove2.moveleft) && (!dmc.crabmove2.crab.die)) {
if (dmc.crabmove2._x > 1462) {
dmc.crabmove2._x = dmc.crabmove2._x - 3;
dmc.childChar1._x = dmc.childChar1._x - 3;
}
dmc.crabmove2.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove2.moveright) && (!dmc.crabmove2.crab.die)) {
if (dmc.crabmove2._x < 1884) {
dmc.childChar1._x = dmc.childChar1._x + 3;
dmc.crabmove2._x = dmc.crabmove2._x + 3;
}
dmc.crabmove2.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove3.moveleft) && (!dmc.crabmove3.crab.die)) {
if (dmc.crabmove3._x > 2285) {
dmc.crabmove3._x = dmc.crabmove3._x - 3;
dmc.childChar2._x = dmc.childChar2._x - 3;
}
dmc.crabmove3.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove3.moveright) && (!dmc.crabmove3.crab.die)) {
if (dmc.crabmove3._x < 2524) {
dmc.crabmove3._x = dmc.crabmove3._x + 3;
dmc.childChar2._x = dmc.childChar2._x + 3;
}
dmc.crabmove3.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove4.moveleft) && (!dmc.crabmove4.crab.die)) {
dmc.crabmove4._x = dmc.crabmove4._x - 3;
dmc.childChar3._x = dmc.childChar3._x - 3;
dmc.crabmove4.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove4.moveright) && (!dmc.crabmove4.crab.die)) {
if (dmc.crabmove4._x < 4300) {
dmc.crabmove4._x = dmc.crabmove4._x + 3;
dmc.childChar3._x = dmc.childChar3._x + 3;
}
dmc.crabmove4.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove5.moveleft) && (!dmc.crabmove5.crab.die)) {
dmc.crabmove5._x = dmc.crabmove5._x - 3;
dmc.childChar4._x = dmc.childChar4._x - 3;
dmc.crabmove5.crab.gotoAndPlay(2);
}
if (_local4.hitTest(dmc.crabmove5.moveright) && (!dmc.crabmove5.crab.die)) {
if (dmc.crabmove5._x < 4300) {
dmc.crabmove5._x = dmc.crabmove5._x + 3;
dmc.childChar4._x = dmc.childChar4._x + 3;
}
dmc.crabmove5.crab.gotoAndPlay(2);
}
checkChild(0);
checkChild(1);
checkChild(2);
checkChild(3);
checkChild(4);
r1.ReSet((dmc.cross1.t1._x / 2) + dmc.cross1._x, (dmc.cross1.t1._y / 2) + dmc.cross1._y);
r2.ReSet((dmc.cross1.t2._x / 2) + dmc.cross1._x, (dmc.cross1.t2._y / 2) + dmc.cross1._y);
r3.ReSet((dmc.cross1.t3._x / 2) + dmc.cross1._x, (dmc.cross1.t3._y / 2) + dmc.cross1._y);
r4.ReSet((dmc.cross1.t4._x / 2) + dmc.cross1._x, (dmc.cross1.t4._y / 2) + dmc.cross1._y);
r5.ReSet((dmc.cross2.t1._x / 2) + dmc.cross2._x, (dmc.cross2.t1._y / 2) + dmc.cross2._y);
r6.ReSet((dmc.cross2.t2._x / 2) + dmc.cross2._x, (dmc.cross2.t2._y / 2) + dmc.cross2._y);
r7.ReSet((dmc.cross2.t3._x / 2) + dmc.cross2._x, (dmc.cross2.t3._y / 2) + dmc.cross2._y);
r8.ReSet((dmc.cross2.t4._x / 2) + dmc.cross2._x, (dmc.cross2.t4._y / 2) + dmc.cross2._y);
}
function checkChild(mychild) {
var temp = eval ((dmc + ".childChar") + mychild);
if (character.dmc.hitTest(temp) && (temp._visible)) {
_global.sounds.PlaySound("bling");
temp._visible = false;
character.FoundChild(temp._name);
}
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop2");
Enemy = "crabmove1.crab/crabmove2.crab/crabmove3.crab/crabmove4.crab/crabmove5.crab";
var ca = character;
var cref = this;
var _local5 = dmc.cross1.t1._width / 2;
var _local4 = dmc.cross1.t1._height / 2;
r1 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r2 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r3 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r4 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r5 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r6 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r7 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r8 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
rl = new org.cove.flade.surfaces.MoveRectangleTile(dmc.myface._x, dmc.myface._y, dmc.myface._width, dmc.myface._height, gameMC);
r1.onContact = function () {
ca.AllowJump(true);
};
r2.onContact = (r3.onContact = (r4.onContact = (r5.onContact = (r6.onContact = (r7.onContact = (r8.onContact = r1.onContact))))));
rl.onContact = function () {
ca.AllowJump(false);
var _local2 = this.GetCenterY();
if (_local2 < 1250) {
cref.game.keySpeed = 0.2;
trace(_local2);
trace("11");
this.MoveDown(3);
}
if (_local2 > 1250) {
cref.game.keySpeed = 1.5;
trace(_local2);
this.setActiveState(false);
}
};
surfaces.push(r1);
surfaces.push(r2);
surfaces.push(r3);
surfaces.push(r4);
surfaces.push(r5);
surfaces.push(r6);
surfaces.push(r7);
surfaces.push(r8);
surfaces.push(rl);
dynamicsEngine.addSurface(r1);
dynamicsEngine.addSurface(r2);
dynamicsEngine.addSurface(r3);
dynamicsEngine.addSurface(r4);
dynamicsEngine.addSurface(r5);
dynamicsEngine.addSurface(r6);
dynamicsEngine.addSurface(r7);
dynamicsEngine.addSurface(r8);
dynamicsEngine.addSurface(rl);
}
function Close() {
_global.sounds.FadeVolume("x", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("x", false, false);
}
}
Symbol 1595 MovieClip [__Packages.illusoft.GameTile013] Frame 0
class illusoft.GameTile013 extends illusoft.GameTile
{
var levelComplete, character, dmc, lastTime, r1, myCurrentwindmill, r2, r3, r4, Enemy, gameMC, surfaces, dynamicsEngine;
function GameTile013 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
if (!levelComplete) {
if (((x > 900) && (x < 2733)) || ((x > 3600) && (x < 5400))) {
_global.sounds.LoopSound("fc", 100);
} else {
_global.sounds.FadeVolume("fc", false, false);
}
if (((((((character.dmc.hitTest(dmc.bee1.sou) && (dmc.bee1._visible)) || (character.dmc.hitTest(dmc.bee2.sou) && (dmc.bee2._visible))) || (character.dmc.hitTest(dmc.bee3.sou) && (dmc.bee3._visible))) || (character.dmc.hitTest(dmc.bee4.sou) && (dmc.bee4._visible))) || (character.dmc.hitTest(dmc.bee5.sou) && (dmc.bee5._visible))) || (character.dmc.hitTest(dmc.bee6.sou) && (dmc.bee6._visible))) || (character.dmc.hitTest(dmc.bee7.sou) && (dmc.bee7._visible))) {
_global.sounds.LoopSound("bee", 100);
} else {
_global.sounds.FadeVolume("bee", false, false);
}
}
var _local5 = new Date().getTime();
if (character.dmc.hitTest(dmc.mine1)) {
dmc.mine1.play();
if ((_local5 - lastTime) > 1000) {
_global.sounds.PlaySound("explode");
lastTime = _local5;
}
character.MoveUp(6);
}
changeWindMill();
r1.ReSet((myCurrentwindmill.t1._x / 2) + myCurrentwindmill._x, (myCurrentwindmill.t1._y / 2) + myCurrentwindmill._y);
r2.ReSet((myCurrentwindmill.t2._x / 2) + myCurrentwindmill._x, (myCurrentwindmill.t2._y / 2) + myCurrentwindmill._y);
r3.ReSet((myCurrentwindmill.t3._x / 2) + myCurrentwindmill._x, (myCurrentwindmill.t3._y / 2) + myCurrentwindmill._y);
r4.ReSet((myCurrentwindmill.t4._x / 2) + myCurrentwindmill._x, (myCurrentwindmill.t4._y / 2) + myCurrentwindmill._y);
TimeUnderFlower();
}
function changeWindMill() {
if (character.dmc.hitTest(dmc.ranger122)) {
myCurrentwindmill = dmc.cross2;
}
if (character.dmc.hitTest(dmc.ranger223)) {
myCurrentwindmill = dmc.cross3;
}
if (character.dmc.hitTest(dmc.ranger324)) {
myCurrentwindmill = dmc.cross4;
}
if (character.dmc.hitTest(dmc.ranger423)) {
myCurrentwindmill = dmc.cross3;
}
if (character.dmc.hitTest(dmc.ranger322)) {
myCurrentwindmill = dmc.cross2;
}
if (character.dmc.hitTest(dmc.ranger221)) {
myCurrentwindmill = dmc.cross1;
}
}
function TimeUnderFlower() {
var k = false;
var i = 1;
while (i < 8) {
if (character.dmc.hitTest((dmc + ".hitter") + i)) {
k = true;
break;
}
i++;
}
if (k) {
Duration++;
if (Duration > allowedTime) {
eval ((dmc + ".bee") + i).gotoAndPlay("beat");
Duration = -60;
}
} else {
Duration = 0;
}
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop1");
Enemy = "bee1/bee2/bee3/bee4/bee5/bee6/bee7";
lastTime = new Date().getTime();
myCurrentwindmill = dmc.cross1;
var ca = character;
var _local7 = dmc.cross1._x;
var _local6 = dmc.cross1._y;
var _local5 = myCurrentwindmill.t1._width / 2;
var _local4 = myCurrentwindmill.t1._height / 2;
r1 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r2 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r3 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r4 = new org.cove.flade.surfaces.MoveRectangleTile(0, 0, _local5, _local4, gameMC);
r1.onContact = function () {
ca.AllowJump(true);
};
r2.onContact = (r3.onContact = (r4.onContact = r1.onContact));
surfaces.push(r1);
surfaces.push(r2);
surfaces.push(r3);
surfaces.push(r4);
dynamicsEngine.addSurface(r1);
dynamicsEngine.addSurface(r2);
dynamicsEngine.addSurface(r3);
dynamicsEngine.addSurface(r4);
}
function Close() {
_global.sounds.FadeVolume("bee", false, false);
_global.sounds.FadeVolume("fc", false, false);
super.Close();
surfaces.clear();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("bee", false, false);
_global.sounds.FadeVolume("fc", false, false);
}
var allowedTime = 15;
var doAttack = false;
var Duration = 0;
}
Symbol 1596 MovieClip [__Packages.illusoft.GameTile014] Frame 0
class illusoft.GameTile014 extends illusoft.GameTile
{
var levelComplete, character, dmc, Enemy;
function GameTile014 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
if (!levelComplete) {
if ((((character.dmc.hitTest(dmc.b2.sou) && (dmc.b2._visible)) || (character.dmc.hitTest(dmc.b3.sou) && (dmc.b3._visible))) || (character.dmc.hitTest(dmc.b4.sou) && (dmc.b4._visible))) || (character.dmc.hitTest(dmc.b5.sou) && (dmc.b5._visible))) {
_global.sounds.LoopSound("niao", 100);
} else {
_global.sounds.FadeVolume("niao", false, false);
}
}
Reject();
}
function Reject() {
var i = 1;
while (i < 13) {
var temp = eval ((dmc + ".mg") + i);
var nt = new Date().getTime();
if (character.dmc.hitTest(temp.myH)) {
temp.gotoAndPlay(2);
if ((nt - lastTime) > 200) {
_global.sounds.PlaySound("boing3");
lastTime = nt;
}
character.ConstrainJump(15);
}
if (character.dmc.hitTest(temp)) {
if (Key.isDown(38) || (Key.isDown(32))) {
if ((nt - lastTime) > 100) {
_global.sounds.PlaySound("jippie2");
lastTime = nt;
}
character.ConstrainJump(40);
}
}
i++;
}
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop2");
Enemy = "b2/b3/b4/b5";
lastTime = new Date().getTime();
dmc.mg12 = dmc.mgN.mgin;
}
function Close() {
_global.sounds.FadeVolume("niao", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("niao", false, false);
}
var lastTime = 0;
}
Symbol 1597 MovieClip [__Packages.illusoft.GameTile008] Frame 0
class illusoft.GameTile008 extends illusoft.GameTile
{
var levelComplete, character, dmc, r1, r2, r3, r4, r5, r0, dynamicsEngine, game, gameMC, surfaces, Enemy, b2, b1, b3;
function GameTile008 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x, y) {
super.Update(x);
if (!levelComplete) {
if ((x > 2350) && (y > 800)) {
_global.sounds.LoopSound("jetstream", 60);
} else {
_global.sounds.FadeVolume("jetstream", false, false);
}
if (((character.dmc.hitTest(dmc.bird1.sou) && (dmc.bird1._visible)) || (character.dmc.hitTest(dmc.bird2.sou) && (dmc.bird2._visible))) || (character.dmc.hitTest(dmc.bird3.sou) && (dmc.bird3._visible))) {
_global.sounds.LoopSound("niao", 100);
} else {
_global.sounds.FadeVolume("niao", false, false);
}
}
r1.RunHide(60, 90);
r2.RunHide(60, 90);
r3.RunHide(60, 90);
r4.RunHide(60, 90);
r5.RunHide(60, 90);
r0.RunHide(60, 90);
if (character.dmc.hitTest(dmc.sleft)) {
dynamicsEngine.setGravity(-3, 0);
} else {
game.NormalGravity();
}
}
function Init() {
super.Init();
var ca = character;
r0 = new org.cove.flade.surfaces.MoveRectangleTile(2035.9, 833.2, 200, 50, gameMC);
r1 = new org.cove.flade.surfaces.MoveRectangleTile(2284.4, 975.6, 200, 50, gameMC);
r2 = new org.cove.flade.surfaces.MoveRectangleTile(2586.9, 874.1, 200, 100, gameMC);
r3 = new org.cove.flade.surfaces.MoveRectangleTile(2855.6, 742.8, 200, 100, gameMC);
r4 = new org.cove.flade.surfaces.MoveRectangleTile(3213.2, 603.6, 200, 100, gameMC);
r5 = new org.cove.flade.surfaces.MoveRectangleTile(3461.6, 767.8, 140, 100, gameMC);
surfaces.push(r0);
surfaces.push(r1);
surfaces.push(r2);
surfaces.push(r3);
surfaces.push(r4);
surfaces.push(r5);
r1.onContact = function () {
ca.AllowJump(true);
this.StartRunHide(true);
};
var cref = this;
r0.onMoveHide = function () {
cref.dmc.cloud0.play();
};
r0.onMoveShow = function () {
cref.dmc.cloud0.gotoAndStop(1);
};
r1.onMoveHide = function () {
cref.dmc.cloud1.play();
};
r1.onMoveShow = function () {
cref.dmc.cloud1.gotoAndStop(1);
};
r2.onMoveHide = function () {
cref.dmc.cloud2.play();
};
r2.onMoveShow = function () {
cref.dmc.cloud2.gotoAndStop(1);
};
r3.onMoveHide = function () {
cref.dmc.cloud3.play();
};
r3.onMoveShow = function () {
cref.dmc.cloud3.gotoAndStop(1);
};
r4.onMoveHide = function () {
cref.dmc.cloud4.play();
};
r4.onMoveShow = function () {
cref.dmc.cloud4.gotoAndStop(1);
};
r5.onMoveHide = function () {
cref.dmc.cloud5.play();
};
r5.onMoveShow = function () {
cref.dmc.cloud5.gotoAndStop(1);
};
r2.onContact = (r3.onContact = (r4.onContact = (r5.onContact = (r0.onContact = r1.onContact))));
dynamicsEngine.addSurface(r0);
dynamicsEngine.addSurface(r1);
dynamicsEngine.addSurface(r2);
dynamicsEngine.addSurface(r3);
dynamicsEngine.addSurface(r4);
dynamicsEngine.addSurface(r5);
Enemy = "bird1/bird2/bird3";
dmc.sleft._visible = false;
var _local4 = new Array();
_local4.push(new huang.HUFO(2409.35, 790.3, 0, 50));
_local4.push(new huang.HUFO(2409.35, 790.3, 0, 50));
_local4.push(new huang.HUFO(2420.6, 1012.9, 0, 50));
_local4.push(new huang.HUFO(2420.6, 1012.9, 0, 50));
_local4.push(new huang.HUFO(2409.35, 790.3, 0, 50));
b2 = new huang.HAnimation(dmc + ".bird1", _local4);
_local4 = new Array();
_local4.push(new huang.HUFO(3012, 822.85, 0, 50));
_local4.push(new huang.HUFO(3012, 822.85, 0, 50));
_local4.push(new huang.HUFO(3002, 515.2, 0, 50));
_local4.push(new huang.HUFO(3002, 515.2, 0, 50));
_local4.push(new huang.HUFO(3012, 822.85, 0, 50));
b1 = new huang.HAnimation(dmc + ".bird2", _local4);
_local4 = new Array();
_local4.push(new huang.HUFO(3338.35, 527.7, 0, 50));
_local4.push(new huang.HUFO(3338.35, 527.7, 0, 50));
_local4.push(new huang.HUFO(3455.85, 527.7, 0, 50));
_local4.push(new huang.HUFO(3455.85, 527.7, 0, 50));
_local4.push(new huang.HUFO(3338.35, 527.7, 0, 50));
b3 = new huang.HAnimation(dmc + ".bird3", _local4);
b1.vloop = (b2.vloop = (b3.vloop = "all"));
_global.sounds.StartMusic("loop3");
dmc.roundedRect0._visible = (dmc.roundedRect1._visible = (dmc.roundedRect2._visible = false));
dmc.roundedRect3._visible = (dmc.roundedRect4._visible = (dmc.roundedRect5._visible = false));
dmc.roundedRect3._visible = false;
}
function Start() {
super.Start();
b1.Start();
b2.Start();
b3.Start();
r0.SetMoveAspect(false);
r1.SetMoveAspect(false);
r2.SetMoveAspect(false);
r3.SetMoveAspect(false);
r4.SetMoveAspect(false);
r5.SetMoveAspect(false);
}
function Close() {
_global.sounds.FadeVolume("jetstream", false, false);
_global.sounds.FadeVolume("niao", false, false);
super.Close();
b1.Close();
b2.Close();
b3.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("jetstream", false, false);
_global.sounds.FadeVolume("niao", false, false);
}
}
Symbol 1598 MovieClip [__Packages.huang.HAnimation] Frame 0
class huang.HAnimation
{
var dmc, Hpath;
function HAnimation (mc, path) {
dmc = eval (mc);
Hpath = path;
}
function Start() {
var myClass = this;
dmc.onEnterFrame = function () {
if (myClass.DoSomeAnimation()) {
((myClass.Hpath[myClass.pnow].bloop > 0) ? (myClass.Hpath[myClass.pnow].bloop--) : (myClass.pnow++));
if ((myClass.Hpath.length - myClass.pnow) < 2) {
if (myClass.vloop < 1) {
delete myClass.dmc.onEnterFrame;
myClass.Arrived();
} else {
myClass.vloop--;
myClass.pnow = 0;
}
}
}
};
}
function Arrived() {
dmc.gotoAndPlay(Hpath[pnow].framename);
}
function Close() {
delete dmc.onEnterFrame;
}
function DoSomeAnimation() {
if (times == 0) {
dmc._x = Hpath[pnow].x;
dmc._y = Hpath[pnow].y;
}
if (times < Hpath[pnow].step) {
DoMovement();
times++;
return(false);
}
times = 0;
return(true);
}
function DoMovement() {
dmc._x = dmc._x + ((Hpath[pnow + 1].x - Hpath[pnow].x) / Hpath[pnow].step);
dmc._y = dmc._y + ((Hpath[pnow + 1].y - Hpath[pnow].y) / Hpath[pnow].step);
dmc._rotation = dmc._rotation + Hpath[pnow].gama;
if (Hpath[pnow].framename != undefined) {
dmc.gotoAndStop(Hpath[pnow].framename);
}
}
var vloop = 0;
var times = 0;
var pnow = 0;
}
Symbol 1599 MovieClip [__Packages.huang.HUFO] Frame 0
class huang.HUFO
{
function HUFO (x, y, gama, step, bloop, framename) {
if (x != undefined) {
this.x = x;
}
if (y != undefined) {
this.y = y;
}
if (gama != undefined) {
this.gama = gama;
}
if (step != undefined) {
this.step = step;
}
if (bloop != undefined) {
this.bloop = bloop;
}
if (framename != undefined) {
this.framename = framename;
}
}
var x = 0;
var y = 0;
var gama = 0;
var step = 1;
var bloop = 0;
var framename = undefined;
}
Symbol 1600 MovieClip [__Packages.illusoft.GameTile007] Frame 0
class illusoft.GameTile007 extends illusoft.GameTile
{
var lastTime, levelComplete, character, dmc, Enemy;
function GameTile007 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
lastTime = new Date().getTime();
}
function Update(x, y) {
super.Update(x);
if (!levelComplete) {
if (((x > 500) && (x < 1500)) && (y < 1220)) {
_global.sounds.LoopSound("jetstream", 60);
} else {
_global.sounds.FadeVolume("jetstream", false, false);
}
if (character.dmc.hitTest(dmc.stonem.sb.sou)) {
_global.sounds.LoopSound("stonemove", 80);
} else {
_global.sounds.FadeVolume("stonemove", false, false);
}
}
var _local5 = character.dmc;
var _local4 = new Date().getTime();
if (_local5.hitTest(dmc.button1)) {
character.MoveUp(22);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("boing");
lastTime = _local4;
}
}
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop3");
Enemy = "mole1/mole2/stonem.sb";
var _local4 = this;
}
function Start() {
super.Start();
}
function Close() {
_global.sounds.FadeVolume("jetstream", false, false);
_global.sounds.FadeVolume("stonemove", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("jetstream", false, false);
_global.sounds.FadeVolume("stonemove", false, false);
}
}
Symbol 1601 MovieClip [__Packages.illusoft.GameTile006] Frame 0
class illusoft.GameTile006 extends illusoft.GameTile
{
var levelComplete, dmc, character, Enemy;
function GameTile006 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x, y) {
if (!levelComplete) {
if ((x > 1670) && (y > 1000)) {
_global.sounds.LoopSound("jetstream", 60);
} else {
_global.sounds.FadeVolume("jetstream", false, false);
}
}
super.Update(x);
if (dmc.btn_red.hitTest(character.dmc)) {
startJump = true;
dmc.jump_mc.play();
}
if (startJump) {
illusoft.Game.Instance.character.wheelPrimitive.setPos(dmc.jump_mc._x + dmc.jump_mc.star_mc._x, dmc.jump_mc._y + dmc.jump_mc.star_mc._y);
}
}
function Init() {
super.Init();
Enemy = "s1/s2/s3/n1.nutbody/n2.nutbody/n3.nutbody";
_global.sounds.StartMusic("loop2");
}
function Close() {
_global.sounds.FadeVolume("jetstream", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("jetstream", false, false);
}
var startJump = false;
}
Symbol 1602 MovieClip [__Packages.illusoft.GameTile005] Frame 0
class illusoft.GameTile005 extends illusoft.GameTile
{
var lastTime, character, dmc, game;
function GameTile005 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
lastTime = new Date().getTime();
}
function Update(x) {
super.Update(x);
var _local5 = character.dmc;
var _local4 = new Date().getTime();
if (_local5.hitTest(dmc.mine1)) {
dmc.mine1.play();
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("explode");
lastTime = _local4;
}
character.MoveUp(6);
} else if (_local5.hitTest(dmc.mine2)) {
dmc.mine2.play();
character.MoveUp(6);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("explode");
lastTime = _local4;
}
} else if (_local5.hitTest(dmc.mine3)) {
dmc.mine3.play();
character.MoveUp(6);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("explode");
lastTime = _local4;
}
} else if (_local5.hitTest(dmc.button1)) {
character.MoveUp(22);
if ((_local4 - lastTime) > 500) {
_global.sounds.PlaySound("boing");
lastTime = _local4;
}
}
}
function Close() {
super.Close();
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop2");
game.SetUnderWater(false);
var _local4 = this;
}
function Start() {
super.Start();
}
}
Symbol 1603 MovieClip [__Packages.illusoft.GameTile004] Frame 0
class illusoft.GameTile004 extends illusoft.GameTile
{
var levelComplete, character, dmc, dynamicsEngine, game;
function GameTile004 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
if (!levelComplete) {
if ((x > 950) && (x < 2100)) {
_global.sounds.LoopSound("waterpao", 100);
} else {
_global.sounds.FadeVolume("waterpao", false, false);
}
}
var _local4 = character.dmc;
if (_local4.hitTest(dmc.square1)) {
dynamicsEngine.setGravity(0, 5);
} else if ((_local4.hitTest(dmc.square2) || (_local4.hitTest(dmc.square4))) || (_local4.hitTest(dmc.square7))) {
dynamicsEngine.setGravity(-3.5, 1.9);
} else if ((_local4.hitTest(dmc.square3) || (_local4.hitTest(dmc.square5))) || (_local4.hitTest(dmc.square6))) {
dynamicsEngine.setGravity(3.5, 1.9);
} else if (_local4.hitTest(dmc.square8)) {
dynamicsEngine.setGravity(0, -3.5);
} else {
game.NormalGravity();
}
}
function Close() {
_global.sounds.FadeVolume("waterpao", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("waterpao", false, false);
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop4");
game.SetUnderWater(true);
var cref = this;
var _local4 = 1;
while (_local4 <= 8) {
dmc["square" + _local4]._visible = false;
_local4++;
}
dmc.ani.AniDone = function () {
cref.game.listenForKeys = true;
cref.character.dmc._visible = true;
cref.game.camYSpeed = 0.3;
cref.game.camXSpeed = 0.2;
var _local1 = cref.character.dmc;
_local1._x = 784.3;
_local1._y = 1020.3;
cref.character.SetMC(_local1);
};
dmc.ani.SetCam = function (x, y) {
cref.game.worldPos.x = cref.game.worldPos.x + x;
cref.game.worldPos.y = cref.game.worldPos.y + y;
};
}
function Start() {
super.Start();
game.listenForKeys = false;
character.dmc._visible = false;
}
}
Symbol 1604 MovieClip [__Packages.illusoft.GameTile003] Frame 0
class illusoft.GameTile003 extends illusoft.GameTile
{
var gameMC, surfaces, dynamicsEngine, dmc;
function GameTile003 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
}
function Init() {
super.Init();
var _local4 = new illusoft.utils.RectangleCheck(546, 680, 40, 35, gameMC);
surfaces.push(_local4);
var cref = this;
_local4.onContact = function () {
if (!cref.aniDone) {
cref.dmc.level3ani.play();
_global.sounds.PlaySound("door");
cref.game.listenForKeys = false;
cref.character.dmc._visible = false;
cref.aniDone = true;
cref.game.camYSpeed = 0.1;
cref.game.camXSpeed = 0.1;
}
cref.character.AllowJump(false);
};
dynamicsEngine.addSurface(_local4);
aniDone = false;
dmc.level3ani.gotoAndStop(1);
dmc.level3ani.AniDone = function () {
cref.game.listenForKeys = true;
cref.character.dmc._visible = true;
cref.game.camYSpeed = 0.3;
cref.game.camXSpeed = 0.2;
var _local1 = cref.character.dmc;
_local1._x = 1430;
_local1._y = 1100;
cref.character.SetMC(_local1);
};
dmc.level3ani.SetCam = function (x, y) {
cref.game.worldPos.x = cref.game.worldPos.x + x;
cref.game.worldPos.y = cref.game.worldPos.y + y;
};
_global.sounds.StartMusic("loop1");
}
function Close() {
super.Close();
}
var aniDone = false;
}
Symbol 1605 MovieClip [__Packages.illusoft.GameTile002] Frame 0
class illusoft.GameTile002 extends illusoft.GameTile
{
var levelComplete;
function GameTile002 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
if (!levelComplete) {
if ((x > 0) && (x < 805)) {
_global.sounds.LoopSound("jetstream", 60);
} else {
_global.sounds.FadeVolume("jetstream", false, false);
}
}
}
function Close() {
_global.sounds.FadeVolume("jetstream", false, false);
super.Close();
}
function LevelComplete() {
levelComplete = true;
_global.sounds.FadeVolume("jetstream", false, false);
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop1");
}
}
Symbol 1606 MovieClip [__Packages.illusoft.GameTile001] Frame 0
class illusoft.GameTile001 extends illusoft.GameTile
{
function GameTile001 (id, dEngine, character, game, gamemc, nextLevel) {
super(id, dEngine, character, game, gamemc, nextLevel);
}
function Update(x) {
super.Update(x);
}
function Init() {
super.Init();
_global.sounds.StartMusic("loop1");
}
function Close() {
super.Close();
}
}
Symbol 1607 MovieClip [__Packages.huang.DrawLine] Frame 0
class huang.DrawLine
{
function DrawLine (mum, edges) {
}
function DrawLine6(mum, edges) {
if (mum != undefined) {
Mum = mum;
} else {
Mum = _root;
}
count++;
var ArrayPoints = new Array();
var i = 0;
while (i < edges.length) {
var p1 = ((((((edges[i][0] + "|") + edges[i][1]) + "|") + edges[i][2]) + "|") + edges[i][3]);
ArrayPoints.push(p1);
i++;
}
Mum.createEmptyMovieClip("num" + count, count);
var temp = eval ((Mum + ".num") + count);
temp.lineStyle(size, color, alpha);
if (ArrayPoints != undefined) {
var i = 0;
while (i < ArrayPoints.length) {
var a = ArrayPoints[i].split("|");
temp.lineStyle(5, 232323, alpha);
temp.moveTo(a[0], a[1]);
temp.lineTo(a[0] - 1, a[1] - 1);
temp.lineStyle(size, color, alpha);
temp.moveTo(a[0], a[1]);
temp.lineTo(a[2], a[3]);
i++;
}
}
}
var size = 2;
var color = 0;
var alpha = 100;
static var count = 0;
var Mum = null;
}
Symbol 985 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 985 MovieClip Frame 2
stop();
Symbol 985 MovieClip Frame 3
stop();
Symbol 985 MovieClip Frame 4
stop();
Symbol 985 MovieClip Frame 5
stop();
Symbol 985 MovieClip Frame 6
stop();
Symbol 985 MovieClip Frame 7
stop();
Symbol 985 MovieClip Frame 8
stop();
Symbol 985 MovieClip Frame 9
stop();
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 10
stop();
Symbol 1048 MovieClip Frame 20
stop();
Symbol 1048 MovieClip Frame 30
stop();
Symbol 1048 MovieClip Frame 40
stop();
Symbol 1048 MovieClip Frame 50
stop();
Symbol 1048 MovieClip Frame 60
stop();
Symbol 1048 MovieClip Frame 70
stop();
Symbol 1048 MovieClip Frame 80
stop();
Symbol 1048 MovieClip Frame 90
stop();
Symbol 1048 MovieClip Frame 100
stop();
Symbol 1048 MovieClip Frame 110
stop();
Symbol 1048 MovieClip Frame 120
stop();
Symbol 1048 MovieClip Frame 130
stop();
Symbol 1048 MovieClip Frame 140
stop();
Symbol 1048 MovieClip Frame 150
stop();
Symbol 1060 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1060 MovieClip Frame 2
stop();
Symbol 1060 MovieClip Frame 3
stop();
Symbol 1060 MovieClip Frame 4
stop();
Symbol 1060 MovieClip Frame 5
stop();
Symbol 1060 MovieClip Frame 6
stop();
Symbol 1060 MovieClip Frame 7
stop();
Symbol 1060 MovieClip Frame 8
stop();
Symbol 1060 MovieClip Frame 9
stop();
Symbol 1074 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1074 MovieClip Frame 2
stop();
Symbol 1074 MovieClip Frame 3
stop();
Symbol 1074 MovieClip Frame 4
stop();
Symbol 1074 MovieClip Frame 5
stop();
Symbol 1074 MovieClip Frame 6
stop();
Symbol 1074 MovieClip Frame 7
stop();
Symbol 1074 MovieClip Frame 8
stop();
Symbol 1074 MovieClip Frame 9
stop();
Symbol 1076 MovieClip Frame 1
stop();
var Isfirst;
Symbol 1076 MovieClip Frame 2
if (!Isfirst) {
this.levelmap.gotoAndStop(illusoft.Game.Instance.currentTile.id);
} else {
listenForKeys = false;
_root.endScreen._visible = false;
_root.menu._visible = false;
_root.gamecontrol._visible = false;
_root.happy2._visible = false;
_root.menubtn._visible = true;
}
illusoft.Game.Instance.character.info_mc._visible = false;
_global.sounds.PlaySound("over");
Symbol 1076 MovieClip Frame 25
if (!Isfirst) {
this.levelmap.gotoAndPlay(illusoft.Game.Instance.currentTile.id);
}
levelroot = this;
this.levelmap.select1.onRelease = function () {
Isfirstlevel = 1;
levelroot.gotoAndPlay("end");
delete this.onRelease;
};
this.levelmap.select2.onRelease = function () {
Isfirstlevel = 2;
levelroot.gotoAndPlay("end");
delete this.onRelease;
};
_global.sounds.StartMusic("map");
Symbol 1076 MovieClip Frame 33
if (!Isfirst) {
this.firstselect._visible = false;
}
Symbol 1076 MovieClip Frame 52
stop();
this.onEnterFrame = function () {
if (Key.isDown(32)) {
delete this.onEnterFrame;
Isfirstlevel = 1;
this.gotoAndPlay("end");
}
if (Isfirst && (Key.isDown(39) || (Key.isDown(38)))) {
delete this.onEnterFrame;
trace("right");
Isfirstlevel = 2;
this.gotoAndPlay("end");
}
};
Symbol 1076 MovieClip Frame 53
_global.sounds.PlaySound("in");
Symbol 1076 MovieClip Frame 61
if (!Isfirst) {
illusoft.Game.Instance.GoToNextLevel();
} else {
if (Isfirstlevel == undefined) {
Isfirstlevel = 1;
}
illusoft.Game.Instance.NewGame(Isfirstlevel);
Isfirst = false;
}
Symbol 1076 MovieClip Frame 79
stop();
Game.Instance.character.info_mc._visible = true;
this._visible = false;
Symbol 1101 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 2
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 3
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 4
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 5
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 6
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 7
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 8
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1101 MovieClip Frame 9
stop();
this.mmc.onRelease = function () {
illusoft.Game.Instance.gamestart_btn();
};
Symbol 1136 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 2
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 3
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 4
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 5
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 6
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 7
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 8
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1136 MovieClip Frame 9
stop();
this.b_how_to_play.onRelease = function () {
illusoft.Game.Instance.b_how_to_play();
};
Symbol 1183 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 2
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 3
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 4
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 5
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 6
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 7
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 8
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1183 MovieClip Frame 9
stop();
this.highscores_btn.onRelease = function () {
illusoft.Game.Instance.highscores_btn();
};
Symbol 1213 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 2
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 3
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 4
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 5
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 6
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 7
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 8
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1213 MovieClip Frame 9
stop();
this.moregame.onRelease = function () {
illusoft.Game.Instance.moregame_btn();
};
Symbol 1260 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 2
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 3
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 4
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 5
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 6
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 7
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 8
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1260 MovieClip Frame 9
stop();
this.freegame.onRelease = function () {
illusoft.Game.Instance.freegame_btn();
};
Symbol 1269 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1269 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1269 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1271 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 2
stop();
Symbol 1273 Button
on (release) {
this.mc_q.play();
}
Symbol 1274 Button
on (release) {
_global.sounds.ToggleSound(this.mc_s);
}
Symbol 1278 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1278 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1278 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1280 MovieClip Frame 1
stop();
Symbol 1280 MovieClip Frame 2
stop();
Symbol 1284 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1284 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1284 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1286 MovieClip Frame 1
stop();
Symbol 1286 MovieClip Frame 2
stop();
Symbol 1290 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1290 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1290 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1293 MovieClip Frame 1
stop();
Symbol 1293 MovieClip Frame 2
stop();
Symbol 1300 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1300 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1300 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1308 MovieClip Frame 1
stop();
Symbol 1308 MovieClip Frame 2
stop();
Symbol 1313 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1313 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1313 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1315 MovieClip Frame 1
stop();
Symbol 1315 MovieClip Frame 2
stop();
Symbol 1319 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1319 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1319 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1321 MovieClip Frame 1
stop();
Symbol 1321 MovieClip Frame 2
stop();
Symbol 1325 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1325 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1325 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1327 MovieClip Frame 1
stop();
Symbol 1327 MovieClip Frame 2
stop();
Symbol 1333 MovieClip Frame 1
stop();
_quality = "best";
Symbol 1333 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 1333 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 1336 MovieClip Frame 1
stop();
Symbol 1336 MovieClip Frame 2
stop();
Symbol 1337 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1337 MovieClip Frame 2
stop();
Symbol 1337 MovieClip Frame 3
stop();
Symbol 1337 MovieClip Frame 4
stop();
Symbol 1337 MovieClip Frame 5
stop();
Symbol 1337 MovieClip Frame 6
stop();
Symbol 1337 MovieClip Frame 7
stop();
Symbol 1337 MovieClip Frame 8
stop();
Symbol 1337 MovieClip Frame 9
stop();
Symbol 1344 MovieClip Frame 1
gotoAndStop (2);
Symbol 1372 MovieClip Frame 1
stop();
if ((_global.eng == 1) && (_global.gamelanguage == 1)) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_global.gamelanguage);
}
Instance of Symbol 1344 MovieClip in Symbol 1372 MovieClip Frame 1
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 2
stop();
Instance of Symbol 1347 MovieClip in Symbol 1372 MovieClip Frame 2
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 3
stop();
Instance of Symbol 1350 MovieClip in Symbol 1372 MovieClip Frame 3
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 4
stop();
Instance of Symbol 1353 MovieClip in Symbol 1372 MovieClip Frame 4
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 5
stop();
Instance of Symbol 1356 MovieClip in Symbol 1372 MovieClip Frame 5
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 6
stop();
Instance of Symbol 1359 MovieClip in Symbol 1372 MovieClip Frame 6
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 7
stop();
Instance of Symbol 1362 MovieClip in Symbol 1372 MovieClip Frame 7
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 8
stop();
Instance of Symbol 1365 MovieClip in Symbol 1372 MovieClip Frame 8
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 9
stop();
Instance of Symbol 1368 MovieClip in Symbol 1372 MovieClip Frame 9
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1372 MovieClip Frame 10
stop();
Instance of Symbol 1371 MovieClip in Symbol 1372 MovieClip Frame 10
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1373 MovieClip Frame 1
stop();
var kk = "huang";
Symbol 1375 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1376 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1377 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1378 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1379 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1380 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1381 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1382 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1383 Button
on (release) {
_root.menu._visible = true;
_root.how_to_play._visible = false;
_root.how_to_play.gotoAndStop(1);
}
Symbol 1384 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1384 MovieClip Frame 2
stop();
Symbol 1384 MovieClip Frame 3
stop();
Symbol 1384 MovieClip Frame 4
stop();
Symbol 1384 MovieClip Frame 5
stop();
Symbol 1384 MovieClip Frame 6
stop();
Symbol 1384 MovieClip Frame 7
stop();
Symbol 1384 MovieClip Frame 8
stop();
Symbol 1384 MovieClip Frame 9
stop();
Symbol 1395 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1395 MovieClip Frame 2
stop();
Symbol 1395 MovieClip Frame 3
stop();
Symbol 1395 MovieClip Frame 4
stop();
Symbol 1395 MovieClip Frame 5
stop();
Symbol 1395 MovieClip Frame 6
stop();
Symbol 1395 MovieClip Frame 7
stop();
Symbol 1395 MovieClip Frame 8
stop();
Symbol 1395 MovieClip Frame 9
stop();
Symbol 1399 MovieClip Frame 1
stop();
Symbol 1399 MovieClip Frame 188
gotoAndPlay (2);
Symbol 1404 MovieClip Frame 1
this.onPress = function () {
this._visible = false;
_root.happy2._visible = true;
_root.happy2.play();
};
Symbol 1416 MovieClip Frame 15
gotoAndPlay (1);
Symbol 1419 MovieClip Frame 22
gotoAndPlay (1);
Symbol 1422 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1429 MovieClip Frame 36
stop();
Symbol 1450 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1450 MovieClip Frame 2
stop();
Symbol 1450 MovieClip Frame 3
stop();
Symbol 1450 MovieClip Frame 4
stop();
Symbol 1450 MovieClip Frame 5
stop();
Symbol 1450 MovieClip Frame 6
stop();
Symbol 1450 MovieClip Frame 7
stop();
Symbol 1450 MovieClip Frame 8
stop();
Symbol 1450 MovieClip Frame 9
stop();
Symbol 1452 MovieClip Frame 1
stop();
Symbol 1452 MovieClip Frame 90
stop();
this.onEnterFrame = function () {
if (Key.isDown(32)) {
delete this.onEnterFrame;
this._visible = false;
_root.gamecontrol._visible = true;
_root.gamecontrol.gotoAndPlay("welldone");
}
};
Symbol 1476 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1476 MovieClip Frame 2
stop();
Symbol 1476 MovieClip Frame 3
stop();
Symbol 1476 MovieClip Frame 4
stop();
Symbol 1476 MovieClip Frame 5
stop();
Symbol 1476 MovieClip Frame 6
stop();
Symbol 1476 MovieClip Frame 7
stop();
Symbol 1476 MovieClip Frame 8
stop();
Symbol 1476 MovieClip Frame 9
stop();
Symbol 1477 MovieClip Frame 1
stop();
if ((_global.eng == 1) && (_global.gamelanguage == 1)) {
this.gotoAndStop(10);
} else {
this.gotoAndStop(_global.gamelanguage);
}
Instance of Symbol 1344 MovieClip in Symbol 1477 MovieClip Frame 1
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 2
stop();
Instance of Symbol 1347 MovieClip in Symbol 1477 MovieClip Frame 2
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 3
stop();
Instance of Symbol 1350 MovieClip in Symbol 1477 MovieClip Frame 3
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 4
stop();
Instance of Symbol 1353 MovieClip in Symbol 1477 MovieClip Frame 4
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 5
stop();
Instance of Symbol 1356 MovieClip in Symbol 1477 MovieClip Frame 5
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 6
stop();
Instance of Symbol 1359 MovieClip in Symbol 1477 MovieClip Frame 6
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 7
stop();
Instance of Symbol 1362 MovieClip in Symbol 1477 MovieClip Frame 7
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 8
stop();
Instance of Symbol 1365 MovieClip in Symbol 1477 MovieClip Frame 8
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 9
stop();
Instance of Symbol 1368 MovieClip in Symbol 1477 MovieClip Frame 9
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1477 MovieClip Frame 10
stop();
Instance of Symbol 1371 MovieClip in Symbol 1477 MovieClip Frame 10
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1505 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 2
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 3
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 4
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 5
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 6
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 7
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 8
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1505 MovieClip Frame 9
stop();
this.submit_btn.onPress = function () {
_global.sounds.StartMusic("loop0");
_global.sounds.PlaySound("bling");
illusoft.Game.Instance.ShowHighScore({score:_root.tosoc, name:this._parent._parent.txtName.text});
illusoft.Game.Instance.StopGame();
_root.gamecontrol.gotoAndStop(1);
_root.gamecontrol._visible = false;
};
Symbol 1506 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1507 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1508 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1509 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1513 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1515 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1517 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1519 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1522 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1523 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1523 MovieClip Frame 2
stop();
Symbol 1523 MovieClip Frame 3
stop();
Symbol 1523 MovieClip Frame 4
stop();
Symbol 1523 MovieClip Frame 5
stop();
Symbol 1523 MovieClip Frame 6
stop();
Symbol 1523 MovieClip Frame 7
stop();
Symbol 1523 MovieClip Frame 8
stop();
Symbol 1523 MovieClip Frame 9
stop();
Symbol 1527 MovieClip Frame 1
stop();
switch (_global.gamelanguage) {
case 1 :
this.txtName.text = "Player1";
break;
case 2 :
this.txtName.text = "Speler1";
break;
case 3 :
this.txtName.text = "Joueur1";
break;
case 4 :
this.txtName.text = "Spieler1";
break;
case 5 :
this.txtName.text = "Gracz1";
break;
case 6 :
this.txtName.text = "Spelare1";
break;
case 7 :
this.txtName.text = "Giocatore1";
break;
case 8 :
this.txtName.text = "Jugador1";
break;
case 9 :
this.txtName.text = "Player1";
}
Symbol 1533 MovieClip Frame 25
stop();
Symbol 1558 MovieClip Frame 1
stop();
this.gotoAndStop(_global.gamelanguage);
Symbol 1558 MovieClip Frame 2
stop();
Symbol 1558 MovieClip Frame 3
stop();
Symbol 1558 MovieClip Frame 4
stop();
Symbol 1558 MovieClip Frame 5
stop();
Symbol 1558 MovieClip Frame 6
stop();
Symbol 1558 MovieClip Frame 7
stop();
Symbol 1558 MovieClip Frame 8
stop();
Symbol 1558 MovieClip Frame 9
stop();
Symbol 1559 MovieClip Frame 25
stop();
Symbol 1560 MovieClip Frame 1
stop();
Symbol 1561 MovieClip Frame 1
stop();
overtype = 0;
Symbol 1561 MovieClip Frame 2
_global.sounds.PlaySound("over");
Symbol 1561 MovieClip Frame 29
_global.sounds.PlaySound("in");
illusoft.Game.Instance.RePlayTile();
Symbol 1561 MovieClip Frame 54
stop();
gotoAndStop (1);
Symbol 1561 MovieClip Frame 105
stop();
Symbol 1561 MovieClip Frame 157
stop();