Frame 1
function 16(41, 21) {
getURL ("http://gamesofgondor.com", "_blank");
}
function 17(41, 21) {
getURL ("http://newgrounds.com/", "_blank");
}
function 18(41, 21) {
getURL ("http://planetbob.net/flash", "_blank");
}
function 19(41, 21) {
getURL ("http://planetbob.net/pb", "_blank");
}
function 47(_arg1, _param2, _param3, r) {
Xdiff = player._x - _arg1._x;
Ydiff = player._y - _arg1._y;
Angl = Math.atan2(Ydiff, Xdiff);
_arg1._rotation = int(((Angl * 360) / (Math.PI*2)) + 90) + r;
updateAfterEvent();
}
function 35(_arg1, _arg3, _arg2) {
if (_arg1._rotation > 180) {
_arg1._y = _arg1._y + _arg2;
_arg1._x = _arg1._x - _arg3;
} else {
_arg1._y = _arg1._y - _arg2;
_arg1._x = _arg1._x + _arg3;
}
}
function 42(_arg2, _arg3) {
if (_arg2.c.hitTest(_root.pen.c)) {
if (_arg3 == "shp") {
caught++;
splode(_arg2._x, _arg2._y, D3[gtype], 30, 400, 3);
removeMovieClip(_arg2);
lvlscore = lvlscore + ((secs * 2) + (level * 5));
score = score + ((secs * 2) + (level * 5));
} else if (_arg3 == "wolf") {
splode(_arg2._x, _arg2._y, D1[gtype], 20, 400, 3);
39(_arg2.nb, 1);
sp = level * (3 + random(5));
lvlscore = lvlscore + sp;
score = score + sp;
}
}
}
function 14() {
onlvl = 0;
50();
i = 1000;
while (i < 2500) {
_root["sh" + i].removeMovieClip();
_root["w" + i].removeMovieClip();
i++;
}
if (score > stlscore) {
splode(SW / 2, 180, "r", 150, 800, 1);
29();
} else {
_root.createEmptyMovieClip("gameover", 970999);
with (gameover) {
_alpha = 0;
beginFill(65793, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
lineStyle(2.5, 11184810, 100);
moveTo(18, 18);
lineTo(SW - 18, 18);
lineTo(SW - 18, SH - 18);
lineTo(18, SH - 18);
lineTo(18, 18);
createTextField("tts", 14, 50, 215, 400, 26);
createTextField("tel", 12, 50, 265, 400, 23);
createTextField("tls", 13, 50, 315, 400, 26);
createTextField("ttg", 15, 50, 380, 400, 200);
createTextField("tth", 16, 50, 460, 400, 200);
createTextField("scc", 17, 50, 170, 400, 200);
tel.selectable = (tls.selectable = (tts.selectable = (ttg.selectable = (tth.selectable = (scc.selectable = 0)))));
tel._visible = (tls._visible = (tts._visible = (tlg._visible = (tth._visible = (scc._visible = 0)))));
createEmptyMovieClip("star1", 2);
6(_root.gameover.star1, 200, 3, 166, 166, 11184810, 20);
with (star1) {
_x = SW2;
_y = SH2;
}
if ((level == 20) && (scnt < 1)) {
_root.gameover.createTextField("s8txt", 328, 0, 145, 500, 150);
s8txt.selectable = 0;
s8txt.text = "GAME COMPLETION BONUS: 100000";
s8txt.setTextFormat(_root.zTF);
createEmptyMovieClip("complete1", 604);
with (complete1) {
10(_root.gameover.complete1);
_x = SW2;
_y = 75;
_width = 420;
_height = 100;
}
} else {
createEmptyMovieClip("gover", 100);
with (gover) {
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(-77, -35);
lineTo(-59, -32);
lineTo(-57, -10);
lineTo(-46, -30);
lineTo(-29, -28);
lineTo(-30, 31);
lineTo(-50, 28);
lineTo(-49, 1);
lineTo(-62, 27);
lineTo(-68, -1);
lineTo(-76, 23);
lineTo(-92, 18);
lineTo(-77, -35);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(9, -12);
curveTo(26, -38, 55, -22);
curveTo(79, 19, 40, 32);
curveTo(-3, 28, 9, -12);
moveTo(24, 2);
curveTo(26, -14, 40, -8);
curveTo(54, 0, 41, 12);
curveTo(26, 17, 24, 2);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(79, -26);
lineTo(79, 30);
lineTo(113, 30);
lineTo(118, 13);
lineTo(100, 14);
lineTo(100, 9);
lineTo(110, 9);
lineTo(109, -6);
lineTo(96, -6);
lineTo(96, -11);
lineTo(113, -11);
lineTo(112, -27);
lineTo(79, -26);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(-113, -32);
lineTo(-92, -32);
lineTo(-73, 25);
lineTo(-93, 26);
lineTo(-96, 16);
lineTo(-109, 15);
lineTo(-113, 25);
lineTo(-133, 25);
curveTo(-123, -2, -113, -32);
moveTo(-104, -15);
lineTo(-108, 0);
lineTo(-99, 0);
lineTo(-104, -15);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(55, -26);
lineTo(73, -21);
lineTo(68, 13);
lineTo(85, -17);
lineTo(103, -11);
lineTo(71, 39);
lineTo(48, 31);
lineTo(55, -26);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(108, -25);
lineTo(117, 32);
lineTo(135, 28);
lineTo(131, 8);
lineTo(144, 28);
lineTo(161, 23);
lineTo(147, 2);
curveTo(167, -27, 131, -28);
lineTo(108, -25);
moveTo(127, -11);
lineTo(130, 0);
curveTo(142, -9, 127, -11);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(-118, -21);
curveTo(-160, -35, -165, 5);
curveTo(-164, 36, -131, 34);
curveTo(-119, 34, -110, 26);
lineTo(-114, -4);
lineTo(-138, 0);
lineTo(-139, 12);
lineTo(-131, 12);
lineTo(-131, 16);
curveTo(-149, 16, -144, -1);
curveTo(-139, -10, -126, -6);
lineTo(-118, -21);
endFill();
lineStyle(6, 16777215, 40);
beginFill(8947848, 100);
moveTo(-46, -18);
lineTo(-15, -25);
lineTo(-7, -12);
lineTo(-23, -8);
lineTo(-22, -4);
lineTo(-12, -6);
lineTo(-8, 9);
lineTo(-19, 11);
lineTo(-17, 16);
lineTo(0, 12);
lineTo(0, 29);
lineTo(-31, 38);
lineTo(-46, -18);
endFill();
_height = 100;
_width = 400;
_x = SW2;
_y = 100;
}
}
}
gameover.onEnterFrame = function () {
with (this) {
_alpha = _alpha + 5;
if (_alpha > 100) {
_alpha = 100;
}
if (_alpha > 70) {
if (!gink) {
score = score + int(caught * 500);
gink = 1;
}
tel._visible = (tls._visible = (tts._visible = (tlg._visible = (tth._visible = (scc._visible = 1)))));
tel.text = "SORRY, YOU DIDN'T MAKE THE SCOREBOARD";
tel.setTextFormat(cTF);
if (score > oldscore) {
tls.text = ("BUT YOU BEAT YOUR PERSONAL BEST OF " + oldscore) + "!";
tls.setTextFormat(dTF);
48.data.score = score;
48.flush();
} else {
tls.text = "YOU DIDN'T EVEN BEAT YOUR OLD SCORE OF " + oldscore;
tls.setTextFormat(dTF);
}
if (gtype == 0) {
scc.text = ((("TOTAL SHEEP RESCUED: " + caught) + newline) + "ELVIS BONUS: ") + int(caught * 500);
scc.setTextFormat(iTF);
} else if (gtype == 1) {
scc.text = ((("TOTAL SOULS DAMNED: " + caught) + newline) + "SATANIC BONUS: ") + int(caught * 500);
scc.setTextFormat(kTF);
} else if (gtype == 2) {
scc.text = ((("TOTAL TERRORISTS TROUNCED: " + caught) + newline) + "PATRIOTIC BONUS: ") + int(caught * 500);
scc.setTextFormat(mTF);
}
score = int(score);
tts.text = "FINAL SCORE: " + score;
tts.setTextFormat(aTF);
ttg.text = "BETTER LUCK NEXT TIME";
ttg.setTextFormat(zTF);
tth.text = "CLICK ANYWHERE TO RESET GAME";
tth.setTextFormat(mTF);
} else {
tel._visible = (tls._visible = (tts._visible = (tlg._visible = (tth._visible = (scc._visible = 0)))));
}
}
};
gameover.onPress = function () {
46();
this.removeMovieClip();
};
}
}
function 51() {
_root.createEmptyMovieClip("ttl", 400000);
with (ttl) {
beginFill(13056, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
endFill();
createEmptyMovieClip("star1", 1);
6(_root.ttl.star1, 300, 2.8, 154, 154, 6724095, 10);
with (star1) {
_x = SW2;
_y = SH2;
}
i = 1;
while (i < 7) {
star1.duplicateMovieClip("star" + (i + 1), i + 1);
with (_root.ttl["star" + (i + 1)]) {
_rotation = 5 * i;
}
i++;
}
createTextField("ddp", 31, 10, 5, 480, 30);
ddp.selectable = 0;
ddp.text = "- DENVISH DESIGNS PRESENTS A PURE CODE GAME -";
ddp.setTextFormat(_root.hTF);
createEmptyMovieClip("herd", 10);
with (herd) {
lineStyle(5, 8509941, 50);
beginFill(4019173, 80);
moveTo(-87, 44);
lineTo(-103, -21);
lineTo(-82, -26);
lineTo(-75, 0);
lineTo(-53, -9);
lineTo(-56, -30);
lineTo(-35, -36);
lineTo(-18, 30);
lineTo(-43, 36);
lineTo(-49, 8);
lineTo(-71, 15);
lineTo(-67, 40);
lineTo(-87, 44);
endFill();
lineStyle(5, 8509941, 50);
beginFill(4019173, 80);
moveTo(-7, 34);
lineTo(3, -31);
curveTo(47, -32, 56, -8);
curveTo(57, 1, 40, 12);
lineTo(58, 33);
lineTo(39, 44);
lineTo(22, 8);
curveTo(44, -13, 21, -15);
lineTo(14, 37);
lineTo(-7, 34);
endFill();
lineStyle(5, 8509941, 50);
beginFill(4019173, 80);
moveTo(-31, -40);
lineTo(-43, 25);
lineTo(-2, 34);
lineTo(1, 18);
lineTo(-21, 14);
lineTo(-19, 2);
lineTo(-2, 6);
lineTo(1, -9);
lineTo(-15, -12);
lineTo(-13, -22);
lineTo(6, -20);
lineTo(9, -34);
lineTo(-31, -40);
endFill();
lineStyle(5, 8509941, 50);
beginFill(4019173, 80);
moveTo(48, -27);
lineTo(51, 42);
curveTo(114, 34, 113, -7);
curveTo(114, -34, 48, -27);
moveTo(69, -14);
lineTo(71, 21);
curveTo(94, 14, 87, -9);
curveTo(83, -15, 69, -14);
endFill();
_x = SW2 - 10;
_y = 70;
_width = 230;
_height = 90;
}
createEmptyMovieClip("det0", 20);
with (det0) {
createTextField("d1", 1, 10, 205, 480, 285);
createTextField("d2", 2, 10, 235, 480, 285);
_parent.det0.d1.text = "ROLL OVER A BUTTON";
_parent.det0.d1.setTextFormat(_root.gTF);
_parent.det0.d1.selectable = (_parent.det0.d2.selectable = 0);
}
createEmptyMovieClip("det1", 21);
with (det1) {
createTextField("d1", 1, 10, 205, 480, 285);
createTextField("d2", 2, 10, 235, 480, 285);
d1.selectable = (d2.selectable = 0);
}
createEmptyMovieClip("det2", 22);
with (det2) {
createTextField("d1", 1, 10, 205, 480, 285);
createTextField("d2", 2, 10, 235, 480, 285);
d1.selectable = (d2.selectable = 0);
}
createEmptyMovieClip("butt0", 11);
with (butt0) {
beginFill(17408, 60);
lineStyle(1, 16777215, 40);
moveTo(0, 0);
lineTo(65, 0);
lineTo(65, 65);
lineTo(0, 65);
endFill();
lineStyle(0, 16777215, 20);
beginFill(16777215, 20);
moveTo(5, 5);
lineTo(60, 5);
lineTo(60, 60);
lineTo(5, 60);
endFill();
createEmptyMovieClip("dog", 30);
with (dog) {
lineStyle(5, 0, 20);
beginFill(10449195, 50);
moveTo(53, 5);
curveTo(80, -8, 93, 4);
curveTo(102, 31, 89, 46);
curveTo(63, 59, 74, 18);
curveTo(62, 59, 89, 46);
curveTo(96, 89, 60, 78);
curveTo(40, 74, 23, 76);
curveTo(35, 73, 42, 63);
curveTo(22, 89, 4, 63);
curveTo(-5, 52, -2, 37);
curveTo(29, 30, 53, 5);
endFill();
beginFill(5592405, 100);
moveTo(46, 32);
curveTo(65, 34, 61, 19);
curveTo(54, 13, 46, 32);
endFill();
_width = 50;
_height = 44;
_x = 12;
_y = 17;
_visible = 0;
}
_x = 100;
_y = 128;
butt0.onRollOver = function () {
dog._visible = 1;
with (_parent.det0) {
d1.text = "SHEEP";
d1.setTextFormat(_root.jTF);
d2.text = "YOU PLAY AS ELVIS' TRUSTY SHEEPDOG SHEP.\r\r YOUR AIM IS TO GUIDE THE LOST SHEEP INTO THE TRANSPORTER, WHICH\rWILL TAKE THEM TO THEIR NEW, SAFE HOME ON MARS, WHERE THE KING\rCAN WATCH OVER THEM.\r";
d2.text = (((((((d2.text + newline) + "ATTEMPTING TO THWART ELVIS' PLANS ARE THE WOLVES OF BURGERIO.") + newline) + "THESE RAVENOUS BEASTS WILL DESTROY ANY SHEEP THEY TOUCH, SENDING") + newline) + "THEM INTO THE WARTY VOID FOREVER...") + newline) + newline;
d2.text = (((((((d2.text + "- USE THE ARROW KEYS TO CONTROL SHEP -") + newline) + newline) + "- SHEEP WILL RUN AWAY WHEN YOU GET WITHIN A CERTAIN DISTANCE -") + newline) + newline) + "- WOLVES WILL CHASE WHEN YOU GET WITHIN A CERTAIN DISTANCE -") + newline;
d2.text = (((((d2.text + "- WOLVES WILL HURT YOU. IF YOU GET HURT A LOT, OLD SHEP DIES -") + newline) + "- TEMPORARILY DESTROY WOLVES BY TEMPTING THEM ONTO THE TRANSPORTER -") + newline) + newline) + "- WORK FAST - THE MORE SECONDS LEFT, THE HIGHER THE RESCUE SCORE -";
d2.setTextFormat(_root.iTF);
}
};
butt0.onRollOut = function () {
_parent.det0.d1.text = "";
_parent.det0.d2.text = "";
dog._visible = 0;
};
butt0.onPress = function () {
_root.rst._visible = 1;
_root.rst.txt.setTextFormat(_root.xTF);
_root.gog.txt.setTextFormat(_root.xTF);
_root.dd.txt.setTextFormat(_root.yTF);
_parent._visible = 0;
_root.gtype = 0;
_root.20();
};
}
createEmptyMovieClip("butt1", 12);
with (butt1) {
beginFill(4456448, 60);
lineStyle(1, 16777215, 40);
moveTo(0, 0);
lineTo(65, 0);
lineTo(65, 65);
lineTo(0, 65);
endFill();
lineStyle(0, 16777215, 20);
beginFill(16777215, 20);
moveTo(5, 5);
lineTo(60, 5);
lineTo(60, 60);
lineTo(5, 60);
endFill();
createEmptyMovieClip("demon", 30);
with (demon) {
lineStyle(8, 14820360, 40);
beginFill(16584708, 100);
moveTo(-47, -65);
curveTo(-118, 7, -25, -14);
curveTo(-31, -4, -31, 4);
curveTo(-145, 14, -47, -65);
endFill();
lineStyle(8, 5506048, 70);
beginFill(13193733, 100);
moveTo(-26, -10);
curveTo(-4, -55, 32, -20);
curveTo(10, -2, 38, 3);
curveTo(49, 54, 30, 60);
curveTo(33, 70, 6, 77);
curveTo(-15, 83, -15, 66);
curveTo(-19, 55, -31, 49);
lineTo(-31, 31);
lineTo(10, 38);
lineTo(22, 31);
lineTo(10, 38);
lineTo(-23, 32);
curveTo(-24, 20, -29, 18);
curveTo(-36, 10, -26, -10);
endFill();
lineStyle(3, 12720903, 40);
beginFill(4920066, 100);
moveTo(-35, 19);
curveTo(-25, 9, -10, 19);
curveTo(19, -2, 22, 19);
curveTo(16, 8, 10, 21);
curveTo(-7, 19, -26, 22);
curveTo(-27, 17, -35, 19);
endFill();
lineStyle(2, 8917509, 50);
beginFill(16777215, 100);
moveTo(10, 37);
curveTo(3, 31, 10, 23);
curveTo(9, 29, 17, 33);
lineTo(10, 37);
endFill();
lineStyle(8, 14820360, 40);
beginFill(16584708, 100);
moveTo(31, -19);
curveTo(121, -4, 62, -71);
curveTo(144, -2, 36, 2);
curveTo(12, -3, 31, -19);
endFill();
_x = 32;
_y = 31;
_width = 74;
_height = 45;
_alpha = 60;
_visible = 0;
}
_x = 217.5;
_y = 128;
butt1.onRollOver = function () {
_parent.det0.d1.text = "";
demon._visible = 1;
with (_parent.det1) {
d1.text = "BURN IN HELL";
d1.setTextFormat(_root.lTF);
d2.text = "YOU PLAY AS FEKMIDOG, A VAGRANT DEMON.\r\r YOUR AIM IS TO FIND AND SEND LOST SOULS TO MEET MR SATAN.\rSCARE THEM INTO THE DARK PORTAL TO PUT THEM IN THEIR\rRIGHTFUL PLACE AND PREVENT THEIR SALVATION.\r";
d2.text = (((((((d2.text + newline) + "UNFORTUNATELY, THE FIELD OF LOST SOULS IS ALSO PATROLLED") + newline) + "BY HEAVENLY ANGELS, SENT BY THAT GEEZER UPSTAIRS TO SAVE") + newline) + "AS MANY TORMENTED SPIRITS AS THEY CAN.") + newline) + newline;
d2.text = (((((((d2.text + "- USE THE ARROW KEYS TO CONTROL FEKMIDOG -") + newline) + newline) + "- LOST SOULS WILL RUN AWAY WHEN YOU GET WITHIN A CERTAIN DISTANCE -") + newline) + newline) + "- ANGELS WILL CHASE WHEN YOU GET WITHIN A CERTAIN DISTANCE -") + newline;
d2.text = (((((d2.text + "- ANGELS WILL BLESS YOU. IF YOU GET BLESSED A LOT, FEKMIDOG DIES -") + newline) + "- TEMPORARILY DESTROY ANGELS BY TEMPTING THEM ONTO THE PORTAL -") + newline) + newline) + "- WORK FAST - BETTER SATANIC BONUSES FOR SPEEDY DAMNATION -";
d2.setTextFormat(_root.kTF);
d2.selectable = 0;
}
};
butt1.onRollOut = function () {
_parent.det1.d1.text = "";
_parent.det1.d2.text = "";
demon._visible = 0;
};
butt1.onPress = function () {
_root.rst._visible = 1;
_root.rst.txt.setTextFormat(_root.tTF);
_root.gog.txt.setTextFormat(_root.tTF);
_root.dd.txt.setTextFormat(_root.uTF);
_parent._visible = 0;
_root.gtype = 1;
_root.20();
};
}
createEmptyMovieClip("butt2", 13);
with (butt2) {
beginFill(51, 60);
lineStyle(1, 16777215, 40);
moveTo(0, 0);
lineTo(65, 0);
lineTo(65, 65);
lineTo(0, 65);
endFill();
lineStyle(0, 16777215, 20);
beginFill(16777215, 20);
moveTo(5, 5);
lineTo(60, 5);
lineTo(60, 60);
lineTo(5, 60);
endFill();
createEmptyMovieClip("heli", 30);
with (heli) {
lineStyle(7, 2548701, 35);
beginFill(12367539, 100);
moveTo(2, -23);
lineTo(95, -37);
lineTo(70, -42);
lineTo(1, -27);
lineTo(-84, -78);
lineTo(-98, -73);
lineTo(2, -23);
endFill();
lineStyle(4, 9762036, 50);
beginFill(10458770, 100);
moveTo(-46, -9);
curveTo(-3, -50, 40, 4);
curveTo(53, 14, 85, 12);
curveTo(111, -28, 98, 18);
curveTo(8, 41, -61, 12);
curveTo(-81, -6, -46, -9);
endFill();
lineStyle(4, 3537134, 50);
beginFill(8911861, 100);
moveTo(1, -1);
curveTo(-18, -8, -45, -8);
curveTo(-38, -19, -24, -23);
curveTo(-18, -23, 7, -14);
lineTo(1, -1);
endFill();
_x = 32;
_y = 37;
_width = 55;
_height = 40;
_alpha = 40;
_visible = 0;
}
_x = 335;
_y = 128;
butt2.onRollOver = function () {
_parent.det0.d1.text = "";
heli._visible = 1;
with (_parent.det2) {
d1.text = "SKYDRIVE";
d1.setTextFormat(_root.nTF);
d2.text = "YOU PLAY AS SIR TWATLINGTON, HELICOPTER PILOT EXTRAORDINAIRE.\r\rYOUR MISSION IS TO PROTECT LONDON FROM TERRORISTS. YOUR PRIVATE\rCHOPPER HAS NO GUNS, SO YOU MUST DRIVE THEIR HANGGLIDERS INTO\rTHE QUEEN'S CUSTOM-BUILT TORNADO TO THEM DOWN.\r";
d2.text = (((((((d2.text + newline) + "BE ON THE ALERT FOR KAMIKAZE TERRORISTS IN BIPLANES,") + newline) + "THEY'RE NOT TOO PICKY ABOUT WHO THEY DESTROY WHEN") + newline) + "THEIR CRATE EXPLODES.") + newline) + newline;
d2.text = (((((((d2.text + "- USE THE ARROW KEYS TO CONTROL THE HELICOPTER -") + newline) + newline) + "- HANGGLIDERS WILL FLY AWAY WHEN YOU GET WITHIN A CERTAIN DISTANCE -") + newline) + newline) + "- BIPLANES WILL CHASE WHEN YOU GET WITHIN A CERTAIN DISTANCE -") + newline;
d2.text = (((((d2.text + "- BIPLANES WILL HURT YOU. IF YOU GET HIT A LOT, SIR TWATLINGTON DIES -") + newline) + "- TEMPORARILY DESTROY BIPLANES BY TEMPTING THEM ONTO THE PORTAL -") + newline) + newline) + "- WORK FAST - THE MORE SECONDS LEFT, THE HIGHER THE BONUS -";
d2.setTextFormat(_root.mTF);
d2.selectable = 0;
}
};
butt2.onRollOut = function () {
_parent.det2.d1.text = "";
_parent.det2.d2.text = "";
heli._visible = 0;
};
butt2.onPress = function () {
_root.rst._visible = 1;
_root.rst.txt.setTextFormat(_root.vTF);
_root.gog.txt.setTextFormat(_root.vTF);
_root.dd.txt.setTextFormat(_root.wTF);
_parent._visible = 0;
_root.gtype = 2;
_root.20();
};
}
createEmptyMovieClip("vhs", 63);
with (vhs) {
beginFill(0, 0);
moveTo(-80, -10);
lineTo(80, -10);
lineTo(80, 10);
lineTo(-80, 10);
endFill();
_x = SW / 2;
_y = SH - 10;
createTextField("txt", 1, -78, -7, 156, 20);
with (txt) {
selectable = 0;
text = "VIEW SCOREBOARD";
setTextFormat(sTF);
}
vhs.onPress = function () {
_root.22();
};
}
gog.txt.setTextFormat(qTF);
dd.txt.setTextFormat(rTF);
}
}
function 39(5, 34) {
ANIC = 1;
i = 5;
while (i < (5 + 34)) {
_root.createEmptyMovieClip("w" + i, i);
with (_root["w" + i]) {
_x = random(SW - 100) + 50;
_y = random(SW - 100) + 50;
}
_root["w" + i].forming = 1;
_root["w" + i].formed = 0;
_root["w" + i]["49"] = wsp;
_root["w" + i].nb = i;
_root["w" + i].alp = 0;
_root["w" + i].omg = 5;
_root["w" + i].wlfcd = 0;
_root["w" + i].wcd = 0;
_root["w" + i].blim = 0;
_root["w" + i].onEnterFrame = function () {
with (this) {
if (forming && (!formed)) {
alp++;
fish = 80 - (alp * 2);
createEmptyMovieClip("incom", 600);
6(incom, fish, 0, -90, -90, _root.C8[_root.gtype], 100);
incom._alpha = alp;
if (fish < 2) {
forming = 0;
incom.removeMovieClip();
}
} else if ((!forming) && (!formed)) {
createEmptyMovieClip("c", 11);
with (c) {
beginFill(65535, 0);
moveTo(-12, -76);
lineTo(12, -76);
lineTo(12, -6);
lineTo(-12, -6);
endFill();
}
if (gtype == 0) {
createEmptyMovieClip("body", 2);
with (body) {
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-16, -26);
curveTo(-28, -63, -12, -56);
curveTo(31, -35, 18, 0);
curveTo(12, 8, 2, 13);
curveTo(28, 45, 19, 64);
curveTo(14, 76, -19, 30);
curveTo(-28, -8, -3, 17);
lineTo(-16, -26);
endFill();
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-5, 65);
curveTo(-30, 47, -14, 12);
curveTo(-6, -4, -16, -14);
curveTo(-24, -36, -11, -52);
lineTo(-4, -43);
lineTo(0, -55);
lineTo(-4, -43);
lineTo(-13, -55);
curveTo(-8, -90, -5, -94);
lineTo(13, -94);
lineTo(17, -54);
curveTo(15, -53, 10, -41);
lineTo(5, -55);
lineTo(10, -42);
curveTo(14, -51, 15, -51);
curveTo(31, -30, 14, -11);
curveTo(6, 0, 18, 30);
curveTo(29, 49, 10, 64);
curveTo(11, 77, -1, 126);
curveTo(-7, 93, -5, 65);
endFill();
lineStyle(3, 0, 100);
moveTo(-2, -74);
lineTo(-5, -66);
lineTo(-2, -74);
endFill();
lineStyle(3, 0, 100);
moveTo(8, -74);
lineTo(10, -66);
lineTo(8, -74);
endFill();
}
_height = 44;
_width = 15;
} else if (gtype == 1) {
createEmptyMovieClip("body", 1);
with (body) {
lineStyle(5, 16777215, 30);
beginFill(16777215, 70);
moveTo(-31, -9);
curveTo(0, -30, 26, -8);
curveTo(63, -12, 34, 11);
curveTo(18, 21, 17, 34);
curveTo(4, 19, -24, 32);
curveTo(-26, 18, -36, 10);
curveTo(-63, -20, -31, -9);
endFill();
_height = 28;
_width = 40;
_x = 0;
_y = 0;
}
createEmptyMovieClip("rwing", 13);
with (rwing) {
lineStyle(2, 16777215, 60);
beginFill(16777215, 70);
moveTo(0, 0);
curveTo(66, 40, 58, 79);
curveTo(11, 40, 19, 25);
curveTo(18, 19, 0, 0);
endFill();
_height = 25;
_width = 18;
_x = 0;
_y = 0;
}
rwing.duplicateMovieClip("lwing", 14);
lwing._xscale = lwing._xscale * -1;
with (lwing) {
_x = 0;
_y = 0;
}
createEmptyMovieClip("head", 15);
with (head) {
lineStyle(0, 16777215, 100);
beginFill(16777215, 100);
moveTo(-16, -4);
curveTo(-1, -30, 13, -4);
curveTo(18, 13, 0, 17);
curveTo(-17, 15, -16, -4);
endFill();
lineStyle(6, 16246357, 50);
moveTo(-21, -16);
curveTo(-2, -38, 17, -14);
curveTo(29, 1, 17, 16);
curveTo(-3, 33, -19, 18);
curveTo(-36, 3, -21, -16);
endFill();
_height = 30;
_width = 30;
_x = 0;
_y = 0;
}
with (c) {
_height = 15;
_width = 15;
_x = 0;
_y = 5;
}
} else if (gtype == 2) {
createEmptyMovieClip("body", 1);
with (body) {
lineStyle(0, 0, 50);
beginFill(9782837, 100);
moveTo(-19, 16);
curveTo(0, -17, 20, 16);
lineTo(77, 16);
curveTo(92, 15, 79, -14);
lineTo(-83, -13);
curveTo(-93, 10, -77, 18);
lineTo(-19, 16);
endFill();
lineStyle(0, 0, 50);
beginFill(10767399, 100);
moveTo(-6, 91);
curveTo(0, 80, 5, 90);
curveTo(9, 99, 31, 86);
curveTo(47, 79, 0, 60);
curveTo(-47, 80, -29, 88);
curveTo(-9, 97, -6, 91);
endFill();
lineStyle(0, 0, 50);
beginFill(14114586, 100);
moveTo(-18, -34);
lineTo(0, 96);
lineTo(0, 36);
lineTo(0, 97);
lineTo(15, -33);
curveTo(15, -43, 9, -45);
lineTo(9, -51);
curveTo(-1, -55, -12, -50);
lineTo(-12, -45);
curveTo(-16, -43, -18, -34);
endFill();
lineStyle(0, 0, 50);
beginFill(12874553, 100);
moveTo(-96, -37);
lineTo(94, -38);
curveTo(108, -40, 105, -17);
curveTo(105, 0, 91, -1);
lineTo(20, 0);
curveTo(1, -27, -18, -1);
lineTo(-93, 0);
curveTo(-106, -3, -105, -16);
curveTo(-109, -36, -96, -37);
endFill();
_height = 28;
_width = 40;
_x = 0;
_y = 0;
}
createEmptyMovieClip("prop", 2);
with (prop) {
lineStyle(0, 0, 50);
beginFill(11116702, 100);
moveTo(26.45, 3);
curveTo(32.45, 0, 26.45, -4);
lineTo(-26.55, 4);
curveTo(-33.55, 1, -25.55, -3);
lineTo(26.45, 3);
endFill();
_height = 2;
_width = 12;
_x = 0;
_y = -11.5;
}
with (c) {
_height = 15;
_width = 10;
_x = 0;
_y = 4;
}
}
this.formed = 1;
} else if (formed && (!forming)) {
w = _width;
h = _height;
Set("24", 49 * Math.cos((Math.PI/180) * _rotation));
Set("23", 49 * Math.sin((Math.PI/180) * _rotation));
if (gtype == 0) {
ANIC++;
if (ANIC == 11) {
ANIC = 1;
}
body.removeMovieClip();
createEmptyMovieClip("body", 2);
with (body) {
if ((ANIC == 1) || (ANIC == 6)) {
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-25, 4);
curveTo(-19, -25, -14, 1);
curveTo(5, -21, -20, -31);
curveTo(-24, -54, -23, -69);
curveTo(-17, -91, -13, -54);
lineTo(21, -18);
curveTo(27, 10, 3, 3);
lineTo(15, 42);
curveTo(34, 68, 5, 72);
curveTo(25, 32, -15, 48);
curveTo(-29, 22, -25, 4);
endFill();
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-7, 57);
curveTo(-28, 39, -18, 12);
curveTo(-4, -13, -20, -30);
curveTo(-19, -51, -12, -60);
curveTo(-10, -75, 8, -95);
lineTo(22, -88);
curveTo(15, -61, 16, -40);
curveTo(29, -26, 13, -2);
curveTo(5, 16, 17, 41);
curveTo(28, 57, 9, 69);
curveTo(7, 100, -13, 118);
curveTo(-24, 123, -17, 110);
curveTo(0, 90, -7, 57);
endFill();
lineStyle(0, 0, 100);
beginFill(0, 0);
moveTo(-10, -59);
lineTo(-7, -43.5);
curveTo(-6, -46.5, 0, -53.5);
curveTo(-5, -48.5, -7, -43.5);
lineTo(-10, -59);
endFill();
lineStyle(0, 0, 100);
beginFill(0, 0);
moveTo(5, -51);
curveTo(6, -41, 9, -36);
curveTo(13, -47, 15, -50);
curveTo(14, -47, 9, -36);
curveTo(6, -41, 5, -51);
endFill();
lineStyle(3, 0, 100);
beginFill(0, 0);
moveTo(1, -73.5);
lineTo(-4, -66.5);
lineTo(1, -73.5);
endFill();
lineStyle(3, 0, 100);
beginFill(0, 0);
moveTo(12, -69);
lineTo(11, -61);
endFill();
if (ANIC == 6) {
_xscale = -_xscale;
}
} else if ((((ANIC == 2) || (ANIC == 10)) || (ANIC == 5)) || (ANIC == 7)) {
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-9, -55);
curveTo(-18, -82, -19, -56);
curveTo(-23, -32, -4, -8);
curveTo(6, 35, -13, 0);
curveTo(-26, -16, -18, 42);
curveTo(6, 53, 8, 70);
curveTo(28, 78, 17, 39);
curveTo(-10, -29, 12, 4);
curveTo(26, 17, 17, -28);
lineTo(-9, -55);
endFill();
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-14, 13);
curveTo(-27, 42, -11, 53);
curveTo(6, 72, -12, 111);
curveTo(-25, 145, 0, 104);
curveTo(8, 92, 10, 66);
curveTo(31, 56, 14, 27);
curveTo(6, -2, 21, -17);
curveTo(29, -33, 13, -46);
lineTo(9, -34);
lineTo(4, -50);
lineTo(9, -34);
lineTo(14, -48);
curveTo(19, -48, 17, -66);
curveTo(18, -73, 19, -90);
lineTo(1, -96);
curveTo(-10, -78, -14, -53);
lineTo(-13, -62);
lineTo(-5, -39);
lineTo(1, -52);
lineTo(-5, -39);
lineTo(-13, -62);
lineTo(-15, -50);
curveTo(-23, -34, -16, -20);
curveTo(-3, -7, -14, 13);
endFill();
lineStyle(3, 0, 100);
beginFill(0, 0);
moveTo(0, -75);
lineTo(-4, -67);
lineTo(0, -75);
endFill();
lineStyle(3, 0, 100);
beginFill(9339769, 100);
moveTo(11, -73);
lineTo(11, -64);
lineTo(11, -73);
endFill();
if ((ANIC == 5) || (ANIC == 7)) {
_xscale = -_xscale;
}
} else if ((((ANIC == 3) || (ANIC == 9)) || (ANIC == 4)) || (ANIC == 8)) {
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-16, -26);
curveTo(-28, -63, -12, -56);
curveTo(31, -35, 18, 0);
curveTo(12, 8, 2, 13);
curveTo(28, 45, 19, 64);
curveTo(14, 76, -19, 30);
curveTo(-28, -8, -3, 17);
lineTo(-16, -26);
endFill();
lineStyle(0, 0, 100);
beginFill(9339769, 100);
moveTo(-5, 65);
curveTo(-30, 47, -14, 12);
curveTo(-6, -4, -16, -14);
curveTo(-24, -36, -11, -52);
lineTo(-4, -43);
lineTo(0, -55);
lineTo(-4, -43);
lineTo(-13, -55);
curveTo(-8, -90, -5, -94);
lineTo(13, -94);
lineTo(17, -54);
curveTo(15, -53, 10, -41);
lineTo(5, -55);
lineTo(10, -42);
curveTo(14, -51, 15, -51);
curveTo(31, -30, 14, -11);
curveTo(6, 0, 18, 30);
curveTo(29, 49, 10, 64);
curveTo(11, 77, -1, 126);
curveTo(-7, 93, -5, 65);
endFill();
lineStyle(3, 0, 100);
beginFill(0, 0);
moveTo(-2, -74);
lineTo(-5, -66);
lineTo(-2, -74);
endFill();
lineStyle(3, 0, 100);
beginFill(0, 0);
moveTo(8, -74);
lineTo(10, -66);
lineTo(8, -74);
endFill();
if ((ANIC == 4) || (ANIC == 8)) {
_xscale = -_xscale;
}
}
}
} else if (gtype == 1) {
if (rwing._rotation < -54) {
FLAP = 1;
} else if (rwing._rotation > 34) {
FLAP = 0;
}
if (FLAP) {
rwing._rotation = rwing._rotation + 13;
lwing._rotation = lwing._rotation - 13;
} else {
rwing._rotation = rwing._rotation - 25;
lwing._rotation = lwing._rotation + 25;
}
} else if (gtype == 2) {
if (prop._width >= 12) {
FLAP = 1;
} else if (prop._width <= 4) {
FLAP = 0;
}
if (FLAP) {
prop._width = prop._width - 4;
} else {
prop._width = prop._width + 4;
}
}
if (_x > (_root.SW - (w / 2))) {
_x = _root.SW - (w / 2);
_rotation = random(150) + 195;
}
if (_x < (w / 2)) {
_x = w / 2;
_rotation = random(150) + 15;
}
if (_y > (_root.SH - (h / 2))) {
_y = _root.SH - (h / 2);
_rotation = 75 - random(150);
}
if (_y < (h / 2)) {
_y = h / 2;
_rotation = 105 + random(150);
}
if (this.hitTest(_parent.player.atkc)) {
_root.47(this, 23, 24, 0);
} else if (gtype == 0) {
_rotation = _rotation + (random(30) - 15);
} else if (gtype == 1) {
wlfcd++;
if (wlfcd >= omg) {
_rotation = random(360);
wlfcd = 0;
omg = random(30) + 10;
}
} else if (gtype == 2) {
wcd++;
if (wcd >= omg) {
if (blim) {
blim = 0;
wcd = 0;
omg = random(30) + 15;
} else {
blim = 1;
wcd = 0;
omg = random(30) + 15;
}
}
if (blim) {
_rotation = _rotation + 4;
} else {
_rotation = _rotation - 4;
}
}
_root.35(this, 23, 24);
_root.42(this, "wolf");
}
}
};
i++;
}
}
function 37(5) {
i = 5;
while (i < (5 + snm)) {
_root.createEmptyMovieClip("sh" + i, i);
with (_root["sh" + i]) {
if (gtype == 0) {
createEmptyMovieClip("legs", 1);
with (legs) {
lineStyle(2, 0, 100);
beginFill(0, 100);
moveTo(-41, -36);
lineTo(-18, -64);
curveTo(-2, -122, 22, -63);
lineTo(42, -42);
curveTo(93, -27, 42, -7);
curveTo(9, 16, 47, 35);
curveTo(91, 67, 34, 63);
lineTo(-34, 61);
curveTo(-97, 77, -41, 36);
curveTo(-17, 13, -41, -5);
curveTo(-96, -25, -41, -36);
endFill();
}
createEmptyMovieClip("wool", 2);
with (wool) {
lineStyle(2, 11379097, 100);
beginFill(16777215, 100);
moveTo(-45, -15);
curveTo(-63, -62, -17, -64);
curveTo(5, -48, 24, -66);
curveTo(73, -51, 38, -11);
curveTo(75, 20, 42, 39);
curveTo(60, 78, 13, 77);
curveTo(1, 110, -11, 77);
curveTo(-56, 75, -45, 39);
curveTo(-76, 2, -45, -15);
endFill();
}
createEmptyMovieClip("c", 3);
with (c) {
beginFill(65535, 0);
moveTo(-30, -60);
lineTo(30, -60);
lineTo(30, 60);
lineTo(-30, 60);
endFill();
}
_height = 32;
_width = 24;
} else if (gtype == 1) {
createEmptyMovieClip("lst", 2);
with (lst) {
lineStyle(5, 10852499, 30);
beginFill(9404537, 100);
moveTo(-29, 11);
curveTo(0, 52, 30, 12);
curveTo(52, -41, 37, -46);
curveTo(22, -31, 24, -10);
curveTo(2, -35, -20, -7);
curveTo(-22, -36, -33, -46);
curveTo(-51, -43, -29, 11);
endFill();
lineStyle(3, 16777215, 30);
beginFill(7432295, 100);
moveTo(-12, -2);
curveTo(1, -22, 16, -2);
curveTo(23, 7, 11, 26);
curveTo(1, 41, -7, 26);
curveTo(-21, 7, -12, -2);
endFill();
_height = 25;
_width = 28;
_x = 0;
_y = 2;
}
createEmptyMovieClip("lsb", 1);
with (lsb) {
lineStyle(5, 12761783, 40);
beginFill(5590088, 100);
moveTo(35, -41);
curveTo(25, -2, 47, 26);
curveTo(9, 21, -2, 53);
curveTo(-12, 17, -43, 25);
curveTo(-24, 1, -33, -41);
curveTo(0, -25, 35, -41);
endFill();
lineStyle(5, 12761783, 30);
beginFill(7431519, 100);
moveTo(1, 0);
curveTo(2, -47, -35, -42);
curveTo(-43, -14, 2, 1);
curveTo(2, -46, 37, -43);
curveTo(45, -11, 1, 0);
curveTo(45, -11, 48, 27);
curveTo(24, 42, 1, 0);
curveTo(24, 42, -1, 54);
curveTo(-26, 37, 2, 1);
curveTo(-43, -13, -42, 24);
curveTo(-24, 37, 1, 0);
endFill();
_height = 30;
_width = 28;
_x = 0;
_y = 0;
}
createEmptyMovieClip("c", 3);
with (c) {
beginFill(65535, 0);
moveTo(-30, -60);
lineTo(30, -60);
lineTo(30, 60);
lineTo(-30, 60);
endFill();
_height = 15;
_width = 15;
_x = 0;
_y = 0;
}
} else if (gtype == 2) {
createEmptyMovieClip("lsb", 1);
with (lsb) {
lineStyle(3, 16777215, 30);
beginFill(3288620, 100);
moveTo(-18, 19);
lineTo(-18, 73);
curveTo(-13, 79, -5, 74);
lineTo(-6, 27);
lineTo(6, 27);
lineTo(5, 73);
curveTo(13, 81, 18, 71);
lineTo(19, 18);
lineTo(-18, 19);
endFill();
lineStyle(5, 16777215, 40);
beginFill(3549078, 100);
moveTo(-124, 19);
lineTo(-20, -28);
curveTo(-1, -39, 18, -28);
lineTo(122, 19);
curveTo(125, 40, 113, 56);
curveTo(37, 49, -1, 36);
curveTo(-39, 49, -115, 56);
curveTo(-127, 40, -124, 19);
endFill();
lineStyle(2, 16777215, 30);
beginFill(15351305, 50);
moveTo(0, -19);
lineTo(118, 26);
lineTo(116, 38);
lineTo(0, 9);
lineTo(-118, 37);
lineTo(-120, 25);
lineTo(0, -19);
endFill();
lineStyle(0, 16777215, 0);
beginFill(0, 30);
moveTo(3, 21);
lineTo(120, 20);
lineTo(120, 26);
lineTo(4, 26);
lineTo(3, 45);
lineTo(-3, 45);
lineTo(-3, 26);
lineTo(-123, 27);
lineTo(-124, 21);
lineTo(-3, 21);
lineTo(-3, -33);
lineTo(3, -33);
lineTo(3, 21);
endFill();
_height = 18;
_width = 35;
_x = 0;
_y = 0;
}
createEmptyMovieClip("c", 3);
with (c) {
beginFill(16711680, 0);
moveTo(-30, -60);
lineTo(30, -60);
lineTo(30, 60);
lineTo(-30, 60);
endFill();
_height = 10;
_width = 20;
_x = 0;
_y = 2;
}
}
_x = random(SW - _width) + (_width / 2);
_y = random(SW - _height) + (_height / 2);
_root["sh" + i]["49"] = ssp;
_root["sh" + i].omg = 5;
_root["sh" + i].shcd = 0;
_root["sh" + i].blim = 0;
}
_root["sh" + i].onEnterFrame = function () {
with (this) {
if (gtype == 0) {
this.legs._rotation = random(20) - 10;
} else if (gtype == 1) {
this.lsb._rotation = this.lsb._rotation + 5;
} else if (gtype == 2) {
}
w = _width;
h = _height;
Set("24", 49 * Math.cos((Math.PI/180) * _rotation));
Set("23", 49 * Math.sin((Math.PI/180) * _rotation));
if (this.c.hitTest(_parent.player.atkc)) {
_root.47(this, 23, 24, 180);
} else if (gtype == 0) {
_rotation = _rotation + (random(60) - 30);
} else if (gtype == 1) {
shcd++;
if (shcd >= omg) {
_rotation = random(360);
shcd = 0;
omg = random(50) + 15;
}
} else if (gtype == 2) {
shcd++;
if (shcd >= omg) {
if (blim) {
blim = 0;
shcd = 0;
omg = random(50) + 15;
} else {
blim = 1;
shcd = 0;
omg = random(50) + 15;
}
}
if (blim) {
_rotation = _rotation + 4;
} else {
_rotation = _rotation - 4;
}
}
if (_x > (_root.SW - (w / 2))) {
_x = _root.SW - (w / 2);
_rotation = random(150) + 195;
}
if (_x < (w / 2)) {
_x = w / 2;
_rotation = random(150) + 15;
}
if (_y > (_root.SH - (h / 2))) {
_y = _root.SH - (h / 2);
_rotation = 75 - random(150);
}
if (_y < (h / 2)) {
_y = h / 2;
_rotation = 105 + random(150);
}
_root.35(this, 23, 24);
_root.42(this, "shp");
i = 2000;
while (i < (2000 + _root.wnm)) {
if (this.c.hitTest(_parent["w" + i].c)) {
_root.splode(_x, _y, _root.D2[_root.gtype], 20, 400, 3);
sgh = _root.level * (10 + random(10));
_root.lvlscore = _root.lvlscore - sgh;
_root.score = _root.score - sgh;
this.removeMovieClip();
}
i++;
}
}
};
i++;
}
}
function 25() {
_root.createEmptyMovieClip("player", 3000);
with (player) {
if (gtype == 0) {
createEmptyMovieClip("ani", 1);
with (player.ani) {
lineStyle(0, 0, 100);
beginFill(7295782, 100);
moveTo(-27, -55);
curveTo(-27.5, -91, -15.5, -56);
curveTo(-1.5, -28, 13.5, -58);
curveTo(23.5, -89, 26.5, -57);
curveTo(26.5, -34, 22.5, -19);
curveTo(18.5, -3, 7.5, -27);
curveTo(-0.5, 4, 11.5, 20);
curveTo(19.5, -14, 25.5, 22);
curveTo(26.5, 40, 22.5, 52);
curveTo(16, 66, 10.5, 48);
curveTo(0, 8, -10.5, 49);
curveTo(-14, 66, -23.5, 51);
curveTo(-27.5, 35, -24.5, 21);
curveTo(-20, -9, -11.5, 21);
curveTo(-0.5, 5, -12.5, -26);
curveTo(-21, -1, -27.5, -17);
curveTo(-30.5, -35, -27.5, -55);
endFill();
_height = 30;
_width = 12;
_x = 0;
_y = 6;
}
createEmptyMovieClip("top", 2);
with (player.top) {
lineStyle(0, 0, 100);
beginFill(8807726, 100);
moveTo(14, -54);
curveTo(36, -40, 21, -13);
curveTo(12, -2, 15, 7);
curveTo(41, 41, 12, 64);
curveTo(16, 86, 0, 111);
curveTo(-11, 84, -8, 62);
curveTo(-40, 46, -19, 18);
curveTo(-10, 4, -26, -12);
curveTo(-39, -38, -15, -51);
curveTo(-20, -50, -29, -44);
lineTo(-30, -44);
curveTo(-34, -52, -17, -61);
curveTo(-10, -64, -10, -73);
lineTo(-3, -68);
lineTo(-9, -74);
lineTo(-5, -96);
curveTo(3, -103, 12, -96);
lineTo(15, -75);
lineTo(8, -69);
lineTo(15, -73);
curveTo(15, -64, 30, -53);
curveTo(37, -38, 14, -54);
endFill();
_height = 40;
_width = 14;
_x = 0;
_y = 7;
}
} else if (gtype == 1) {
createEmptyMovieClip("top", 13);
with (player.top) {
lineStyle(3, 0, 50);
beginFill(16711680, 100);
moveTo(-21, 1);
curveTo(-1, -29, 17, 1);
curveTo(36, 1, 32, -25);
curveTo(44, 12, 17, 14);
curveTo(-1, 44, -22, 14);
curveTo(-52, 13, -42, -22);
curveTo(-39, 4, -21, 1);
endFill();
_height = 20;
_width = 23;
_x = 0;
_y = 0;
}
createEmptyMovieClip("ani2", 2);
with (player.ani2) {
lineStyle(4, 16737792, 30);
beginFill(16737792, 100);
moveTo(-16, -49);
lineTo(72, -30);
lineTo(71, -26);
lineTo(-18, -42);
curveTo(-29, -33, -44, -41);
curveTo(-10, -42, -47, -52);
curveTo(-7, -47, -37, -60);
curveTo(-18, -64, -16, -49);
endFill();
lineStyle(3, 0, 40);
beginFill(13369344, 100);
moveTo(-32, -5);
curveTo(0, -32, 26, -5);
curveTo(49, -17, 25, -37);
curveTo(15, -47, 33, -44);
curveTo(52, -34, 54, -8);
curveTo(46, 8, 29, 18);
curveTo(0, 46, -33, 19);
curveTo(-63, 9, -48, -32);
curveTo(-33, -40, -36, -24);
curveTo(-37, -14, -32, -5);
endFill();
_height = 35;
_width = 40;
_x = 0;
_y = 0;
}
createEmptyMovieClip("ani", 1);
with (player.ani) {
lineStyle(4, 16237897, 50);
beginFill(4456448, 100);
moveTo(18, -25);
curveTo(28, -25, 25, 9);
curveTo(18, 38, 8, 13);
curveTo(-4, -8, -15, 10);
curveTo(-23, 37, -32, 12);
curveTo(-32, -17, -25, -24);
curveTo(-12, -26, -13, -5);
lineTo(9, -5);
curveTo(6, -25, 18, -25);
endFill();
_height = 20;
_width = 20;
_x = 0;
_y = -2;
}
} else if (gtype == 2) {
createEmptyMovieClip("ani", 2);
with (player.ani) {
createEmptyMovieClip("bl", 1);
with (bl) {
lineStyle(0, 10472136, 40);
beginFill(2236962, 100);
moveTo(0, 2);
lineTo(130, 43);
lineTo(134, 34);
lineTo(35.9, 6);
curveTo(22.9, 8, 1.9, 0);
lineTo(-31.1, -122);
lineTo(-41, -117);
lineTo(-14.1, -33);
curveTo(-5, -25, -1, 0);
lineTo(-90, 83);
lineTo(-82, 88);
lineTo(-22, 27);
curveTo(-20, 17, 0.9, 2);
endFill();
_height = 30;
_width = 30;
_x = 0;
_y = 0;
}
bl.duplicateMovieClip("bl2", 2);
bl2._rotation = 180;
}
createEmptyMovieClip("top", 1);
with (player.top) {
lineStyle(0, 7047305, 100);
beginFill(5795695, 100);
moveTo(-28, 130);
lineTo(29, 130);
lineTo(29, 119);
lineTo(2, 119);
lineTo(5, -24);
lineTo(27, -26);
lineTo(33, -5);
lineTo(34, -96);
lineTo(27, -64);
lineTo(14, -64);
lineTo(14, -56);
lineTo(28, -56);
lineTo(28, -33);
lineTo(-27, -34);
lineTo(-27, -55);
lineTo(-6, -55);
lineTo(-6, -64);
lineTo(-26, -65);
lineTo(-33, -95);
lineTo(-31, -7);
lineTo(-25, -25);
lineTo(-5, -25);
lineTo(-1, 119);
lineTo(-28, 119);
lineTo(-28, 130);
endFill();
lineStyle(5, 7968150, 40);
beginFill(14540253, 100);
moveTo(-10, 7);
lineTo(-5, 140);
curveTo(-8, 166, 1, 176);
curveTo(6, 170, 6, 132);
lineTo(13, 7);
curveTo(36, -78, 16, -115);
curveTo(0, -136, -17, -113);
curveTo(-36, -79, -10, 7);
endFill();
lineStyle(5, 3631736, 50);
beginFill(3292991, 80);
moveTo(0, -125);
curveTo(25, -123, 24, -66);
lineTo(11, -76);
curveTo(1, -104, -10, -76);
lineTo(-25, -64);
curveTo(-27, -119, 0, -125);
endFill();
_height = 40;
_width = 14;
_x = 0;
_y = 7;
}
}
createEmptyMovieClip("atkc", 3);
with (player.atkc) {
beginFill(0, 0);
moveTo(-100, -100);
lineTo(100, -100);
lineTo(100, 100);
lineTo(-100, 100);
endFill();
}
createEmptyMovieClip("c", 4);
with (player.c) {
beginFill(16711680, 10);
moveTo(-3, -10);
lineTo(3, -10);
lineTo(3, 10);
lineTo(-3, 10);
endFill();
}
_x = random(SW - 50) + 25;
_y = random(SH - 50) + 25;
}
player.onEnterFrame = function () {
with (this) {
if (gtype == 0) {
if (ani._y < 6) {
GIMLI = 1;
} else if (ani._y > 12) {
GIMLI = 0;
}
} else if (gtype == 1) {
if (ani._rotation < -24) {
GIMLI = 1;
} else if (ani._rotation > 24) {
GIMLI = 0;
}
} else if (gtype == 2) {
ani._rotation = ani._rotation + 45;
}
w = c._width;
h = c._height;
Set("49", 10);
vx = oldX - _x;
vy = oldY - _y;
if ((vx != 0) || (vy != 0)) {
radAngle = Math.atan2(vy, vx);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90) + 180;
updateAfterEvent();
if (gtype == 0) {
if (GIMLI) {
ani._y = ani._y + 1.5;
} else {
ani._y = ani._y - 3;
}
} else if (gtype == 1) {
if (GIMLI) {
ani._rotation = ani._rotation + 8;
ani2._rotation = ani2._rotation + 5;
} else {
ani._rotation = ani._rotation - 8;
ani2._rotation = ani2._rotation - 5;
}
}
} else if (gtype == 0) {
ani._y = 7.5;
}
oldX = _x;
oldY = _y;
i = 2000;
while (i < (2000 + _root.wnm)) {
if (this.c.hitTest(_parent["w" + i].c)) {
_root.splode(_parent["w" + i]._x, _parent["w" + i]._y, _root.C9[_root.gtype], 30, 400, 3);
stgb = (_root.level / 2) * (20 + random(20));
_root.lvlscore = _root.lvlscore + stgb;
_root.score = _root.score + stgb;
hic = _parent["w" + i].nb;
_root.39(hic, 1);
_root.33(_root.stat.bar._width - _root.wdmg);
}
i++;
}
if (accel == 1) {
acc = 49;
} else if (accel == 0) {
if ((gtype == 0) || (gtype == 1)) {
acc = acc - 3.4;
} else if ((gtype = 2)) {
acc = acc - 1.4;
}
if (acc < 0.1) {
acc = 0;
} else if (_rotation > 180) {
_y = _y + (acc * Math.cos((Math.PI/180) * _rotation));
_x = _x - (acc * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (acc * Math.cos((Math.PI/180) * _rotation));
_x = _x + (acc * Math.sin((Math.PI/180) * _rotation));
}
}
_x = _x - (Key.isDown(37) * 49);
_x = _x + (Key.isDown(39) * 49);
_y = _y - (Key.isDown(38) * 49);
_y = _y + (Key.isDown(40) * 49);
_x = _x - (Key.isDown(65) * 49);
_x = _x + (Key.isDown(68) * 49);
_y = _y - (Key.isDown(87) * 49);
_y = _y + (Key.isDown(83) * 49);
if (_x > (_root.SW - (w / 2))) {
_x = _root.SW - (w / 2);
} else if (_x < (w / 2)) {
_x = w / 2;
} else if (_y > (_root.SH - (h / 2))) {
_y = _root.SH - (h / 2);
} else if (_y < (h / 2)) {
_y = h / 2;
}
}
};
}
function 28() {
_root.createEmptyMovieClip("stat", 30000);
with (stat) {
beginFill(0, 40);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, 30);
lineTo(0, 30);
endFill();
createTextField("scr", 11, 2, 0, 150, 18);
createTextField("scs", 12, 2, 13.5, 150, 18);
createTextField("pbs", 13, 350, 0, 150, 18);
createTextField("obs", 14, 350, 13.5, 150, 18);
createEmptyMovieClip("life", 1);
with (stat.life) {
beginFill(16711680, 60);
moveTo(0, -3);
lineTo(200, -3);
lineTo(200, 3);
lineTo(0, 3);
endFill();
_x = SW2 - 100;
_y = 15;
}
}
}
function 33(w) {
if (w <= 2) {
w = 0;
14();
}
stat.createEmptyMovieClip("bar", 2);
with (stat.bar) {
beginFill(65280, 100);
moveTo(0, -2);
lineTo(w, -2);
lineTo(w, 2);
lineTo(0, 2);
endFill();
_x = SW2 - 100.5;
_y = 15;
}
stat.createEmptyMovieClip("bar2", 3);
with (stat.bar2) {
lineStyle(2, 0, 100);
moveTo(0, -3);
lineTo(200, -3);
lineTo(200, 3);
lineTo(0, 3);
lineTo(0, -3);
_x = SW2 - 100.5;
_y = 15;
}
}
function 26() {
_root.createEmptyMovieClip("fader", 31005);
with (fader) {
_visible = 0;
_alpha = 0;
beginFill(65793, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
lineStyle(2.5, 11184810, 100);
moveTo(18, 18);
lineTo(SW - 18, 18);
lineTo(SW - 18, SH - 18);
lineTo(18, SH - 18);
lineTo(18, 18);
createTextField("tre", 11, 100, 160, 300, 30);
createTextField("tel", 12, 100, 200, 300, 23);
createTextField("tls", 13, 100, 234, 300, 26);
createTextField("tts", 14, 100, 262, 300, 26);
createTextField("tig", 99, 100, 175, 300, 26);
createTextField("tnl", 96, 100, 330, 300, 26);
tre.selectable = (tel.selectable = (tls.selectable = (tts.selectable = (tig.selectable = (tnl.selectable = 0)))));
createEmptyMovieClip("star1", 2);
6(_root.fader.star1, 200, 3, 166, 166, CT6[_root.gtype], 40);
with (star1) {
_x = SW2;
_y = SH2;
}
createEmptyMovieClip("vhs", 63);
with (vhs) {
beginFill(0, 0);
moveTo(-80, -10);
lineTo(80, -10);
lineTo(80, 10);
lineTo(-80, 10);
endFill();
_x = SW / 2;
_y = SH - 30;
createTextField("txt", 1, -78, -7, 156, 20);
with (txt) {
selectable = 0;
text = "VIEW SCOREBOARD";
setTextFormat(sTF);
}
vhs.onPress = function () {
_root.22();
};
}
}
fader.createEmptyMovieClip("but", 15);
with (_root.fader.but) {
beginFill(0, 0);
moveTo(0, 0);
lineTo(250, 0);
lineTo(250, 30);
lineTo(0, 30);
endFill();
createTextField("tsl", 1, 0, 0, 250, 30);
tsl.selectable = 0;
_x = 125;
_y = 305;
}
fader.onEnterFrame = function () {
with (this) {
if (_root.onlvl == 0) {
this._visible = 1;
_alpha = _alpha + 3;
if (_alpha > 100) {
_alpha = 100;
}
} else if (_root.onlvl == 1) {
_alpha = _alpha - 15;
if (_alpha < 1) {
this._visible = 0;
_alpha = 0;
}
}
if (_alpha > 70) {
tre._visible = (tel._visible = (tls._visible = (tts._visible = (tnl._visible = (tig._visible = (but.tsl._visible = 1))))));
tre.text = _root.reason;
tre.setTextFormat(aTF);
if (_root.reason == "LEVEL CLEARED!") {
tre._y = 150;
tig.text = "LEVEL CLEAR BONUS: " + (100 * level);
tig.setTextFormat(zTF);
} else {
tre._y = 160;
tig.text = "";
}
tel.text = "END OF LEVEL " + _root.level;
tel.setTextFormat(bTF);
tls.text = "LEVEL SCORE: " + int(_root.lvlscore);
tls.setTextFormat(cTF);
tts.text = "TOTAL SCORE: " + int(_root.score);
tts.setTextFormat(dTF);
ln = level + 1;
but.tsl.text = "START LEVEL " + ln;
but.tsl.setTextFormat(aTF);
tnl.text = "CLICK OR PRESS SPACE";
tnl.setTextFormat(kTF);
} else {
tre._visible = (tel._visible = (tls._visible = (tts._visible = (tnl._visible = (tig._visible = (but.tsl._visible = 0))))));
}
}
};
fader.but.onPress = function () {
i = 977777 /* 0x0EEB71 */;
while (i < 977977) {
_root["sp" + i].removeMovieClip();
i++;
}
_parent._alpha = 69;
_root.20();
};
}
function 6(32, 44, a, v, w, 7, 2) {
with (32) {
beginFill(7, 2);
moveTo(44, 0);
((v == "r") ? ((t = 1)) : ((t = 0)));
((a == 0) ? ((a = 0.414213562373095)) : null);
var 4 = 40;
while (4 <= 360) {
var 12 = (44 * Math.cos((4 * Math.PI) / 180));
var 13 = (44 * Math.sin((4 * Math.PI) / 180));
if (t) {
v = -random(90);
w = -random(90);
}
var 8 = (12 + ((44 * a) * Math.cos(((4 + v) * Math.PI) / 180)));
var 9 = (13 + ((44 * a) * Math.sin(((4 + w) * Math.PI) / 180)));
curveTo(8, 9, 12, 13);
Set("4", 4 + 40);
}
endFill();
}
}
function 30() {
beginFill(C3[gtype], 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
i = 0;
while (i < (SW + 10)) {
with (_root) {
lineStyle(15, C4[gtype], 30);
moveTo(0, (i + random(20)) - 10);
curveTo(SW / 2, (i + random(20)) - 10, SW, (i + random(20)) - 10);
}
i = i + 10;
}
}
function 38(40) {
if (!(gtype === 2)) {
i = 7000;
while (i < (7000 + 40)) {
if (gtype == 0) {
siz = random(20) + 5;
spike = 0;
alf = random(30) + 50;
thing = "r";
other = 90;
} else if (gtype == 1) {
siz = random(10) + 2;
spike = 4;
alf = 70;
thing = "r";
other = 100;
}
_root.createEmptyMovieClip("t" + i, i);
6(_root["t" + i], siz, spike, thing, other, C5[gtype], alf);
with (_root["t" + i]) {
_rotation = random(360);
_x = random(SW);
_y = random(SH);
if (hitTest(_root.pen.c)) {
_x = random(SW);
_y = random(SH);
}
}
i++;
}
}
}
function 36() {
E = 0;
_root.createEmptyMovieClip("pen", 1200);
pen._x = random(SW - 150) + 75;
pen._y = random(SH - 150) + 75;
i = 1;
while (i < 10) {
pr = random(200) - 100;
pen.createEmptyMovieClip("p" + i, i);
6(_root.pen["p" + i], random(30) + 2, 0, pr, pr, C2[gtype], 15);
with (pen["p" + i]) {
_rotation = random(360);
if (!(gtype === 2)) {
pen["p" + i].rot = random(5) + 2;
} else {
pen["p" + i].rot = random(10) + 1;
}
pen["p" + i].onEnterFrame = function () {
_rotation = _rotation - rot;
};
}
i++;
}
pen.createEmptyMovieClip("c", 1000);
6(_root.pen.c, 8, 0, -90, -90, 16777215, 10);
_root.pen.omg = 5;
_root.pen.wlfcd = 0;
_root.pen.wcd = 0;
_root.pen.blim = 0;
pen.onEnterFrame = function () {
with (this) {
if (gtype == 0) {
Set("49", 0);
} else if (gtype == 1) {
Set("49", 0.5);
} else if (gtype == 2) {
Set("49", 0.8);
}
w = _width;
h = _height;
Set("24", 49 * Math.cos((Math.PI/180) * _rotation));
Set("23", 49 * Math.sin((Math.PI/180) * _rotation));
if (gtype == 0) {
wlfcd++;
if (wlfcd >= omg) {
pen._x = random(SW - 150) + 75;
pen._y = random(SH - 150) + 75;
wlfcd = 0;
omg = random(300) + 100;
}
} else if (gtype == 1) {
wcd++;
if (wcd >= omg) {
if (blim) {
blim = 0;
wcd = 0;
omg = random(30) + 15;
} else {
blim = 1;
wcd = 0;
omg = random(30) + 15;
}
}
if (blim) {
_rotation = _rotation + 1;
} else {
_rotation = _rotation - 1;
}
} else if (gtype == 2) {
wcd++;
if (wcd >= omg) {
if (blim) {
blim = 0;
wcd = 0;
omg = random(30) + 15;
} else {
blim = 1;
wcd = 0;
omg = random(30) + 15;
}
}
if (blim) {
_rotation = _rotation + 2;
} else {
_rotation = _rotation - 2;
}
}
_root.35(this, 23, 24);
if (_x > (_root.SW - (w / 2))) {
_x = _root.SW - (w / 2);
_rotation = random(150) + 195;
}
if (_x < (w / 2)) {
_x = w / 2;
_rotation = random(150) + 15;
}
if (_y > (_root.SH - (h / 2))) {
_y = _root.SH - (h / 2);
_rotation = 75 - random(150);
}
if (_y < (h / 2)) {
_y = h / 2;
_rotation = 105 + random(150);
}
}
};
}
function 22() {
27();
loadVariables ((gk + li1) + ".asp", hst);
}
function 27() {
_root.createEmptyMovieClip("hst", 980002);
with (hst) {
beginFill(0, 50);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
beginFill(0, 60);
lineStyle(0, 16777215, 80);
moveTo(10, 10);
lineTo(SW - 10, 10);
lineTo(SW - 10, SH - 10);
lineTo(10, SH - 10);
lineTo(10, 10);
endFill();
i = 10;
while (i < ((SH - 10) - 1)) {
moveTo(10, i);
lineTo(SW - 10, i);
i = i + ((SH - 20) / 32);
}
hsa = new Array(10, 50, 320, 410, 490);
hsn = new Array("rank", "player", "game", "score");
m = 0;
while (m < (hsa.length - 1)) {
krt = 400;
hst.createTextField(hsn[m] + krt, (m * 50) + krt, hsa[m], 9.2, hsa[m + 1] - hsa[m], 15);
with (hst[hsn[m] + krt]) {
text = hsn[m].toUpperCase();
setTextFormat(gTF);
}
m++;
}
m = 0;
while (m < (hsa.length - 1)) {
krt = 0;
if (m > 3) {
krt = krt + 25;
}
t = (SH - 20) / 32;
i = 10 + (2 * t);
while (i < ((SH - 10) - 1)) {
krt++;
hst.createTextField(hsn[m] + krt, (m * 50) + krt, hsa[m], i - 0.6, hsa[m + 1] - hsa[m], t * 2);
with (hst[hsn[m] + krt]) {
text = "WAIT";
if ((m == 0) || (m == 4)) {
text = krt;
}
setTextFormat(sTF);
}
i = i + t;
}
moveTo(hsa[m + 1], 10);
lineTo(hsa[m + 1], SH - 10);
m++;
}
_visible = 1;
}
hst.onPress = function () {
this._visible = 0;
};
hst.onData = function () {
mi = 1;
while (mi < 31) {
this["player" + mi].text = this["inplayer" + mi];
this["game" + mi].text = this["ingame" + mi];
this["score" + mi].text = this["inscore" + mi];
this["player" + mi].setTextFormat(zTF);
if (this["game" + mi].text == "SHEEP") {
this["game" + mi].setTextFormat(iTF);
}
if (this["game" + mi].text == "BURN IN HELL") {
this["game" + mi].setTextFormat(kTF);
}
if (this["game" + mi].text == "SKYDRIVE") {
this["game" + mi].setTextFormat(mTF);
}
this["score" + mi].setTextFormat(gTF);
mi++;
}
};
}
function 29() {
if (!gink) {
score = score + int(caught * 500);
gink = 1;
}
_root.createEmptyMovieClip("SS", 971000);
with (SS) {
if (level == 20) {
beginFill(65793, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
lineStyle(2.5, 16711680, 100);
moveTo(18, 18);
lineTo(SW - 18, 18);
lineTo(SW - 18, SH - 18);
lineTo(18, SH - 18);
lineTo(18, 18);
lineStyle(1, 16777215, 100);
beginFill(0, 40);
moveTo(160, 320);
lineTo(SW - 160, 320);
lineTo(SW - 160, 340);
lineTo(160, 340);
lineTo(160, 320);
endFill();
SS.createTextField("s7txt", 328, 0, 95, 500, 150);
s7txt.selectable = 0;
s7txt.text = "GAME COMPLETION BONUS: 100000";
s7txt.setTextFormat(zTF);
createEmptyMovieClip("complete1", 604);
with (complete1) {
10(_root.SS.complete1);
_x = SW2;
_y = 55;
}
complete1.duplicateMovieClip("complete2", 605);
complete2._y = 435;
} else {
lineStyle(2, 16777215, 50);
beginFill(0, 100);
moveTo(100, 100);
lineTo(SW - 100, 100);
lineTo(SW - 100, SH - 100);
lineTo(100, SH - 100);
lineTo(100, 100);
endFill();
lineStyle(1, 16777215, 100);
beginFill(0, 40);
moveTo(160, 320);
lineTo(SW - 160, 320);
lineTo(SW - 160, 340);
lineTo(160, 340);
lineTo(160, 320);
endFill();
}
createEmptyMovieClip("submit", 800);
with (submit) {
lineStyle(1, 16777215, 70);
beginFill(102, 80);
moveTo(200, 360);
lineTo(SW - 200, 360);
lineTo(SW - 200, 381);
lineTo(200, 381);
lineTo(200, 360);
endFill();
createTextField("submittext", 1, 177, 362, 150, 30);
with (submittext) {
selectable = 0;
text = "SUBMIT";
setTextFormat(cTF);
}
}
createEmptyMovieClip("winner", 55);
with (winner) {
lineStyle(6, 16777215, 40);
beginFill(16711680, 70);
moveTo(-151, -23);
lineTo(-120, 36);
lineTo(-101, 31);
lineTo(-104, -5);
lineTo(-88, 26);
lineTo(-69, 20);
lineTo(-74, -46);
lineTo(-95, -42);
lineTo(-91, -7);
lineTo(-107, -37);
lineTo(-120, -33);
lineTo(-117, -1);
lineTo(-132, -31);
lineTo(-151, -23);
endFill();
lineStyle(6, 16777215, 40);
beginFill(16776960, 100);
moveTo(-60, 37);
lineTo(-62, -30);
lineTo(-40, -30);
lineTo(-22, -2);
lineTo(-23, -32);
lineTo(0, -33);
lineTo(1, 34);
lineTo(-21, 35);
lineTo(-38, 5);
lineTo(-38, 35);
lineTo(-60, 37);
endFill();
lineStyle(6, 16777215, 40);
beginFill(16738047, 100);
moveTo(67, -35);
lineTo(67, 31);
lineTo(90, 30);
lineTo(90, 6);
lineTo(98, 32);
lineTo(121, 28);
lineTo(110, 2);
curveTo(132, -21, 104, -36);
lineTo(67, -35);
moveTo(90, -2);
lineTo(89, -16);
curveTo(104, -11, 90, -2);
endFill();
lineStyle(6, 16777215, 40);
beginFill(15567117, 100);
moveTo(-88, 25);
lineTo(-68, -39);
lineTo(-45, -34);
lineTo(-65, 28);
lineTo(-88, 25);
endFill();
lineStyle(6, 16777215, 40);
beginFill(39423, 100);
moveTo(28, -19);
lineTo(48, 43);
lineTo(85, 31);
lineTo(83, 11);
lineTo(63, 18);
lineTo(62, 13);
lineTo(73, 9);
lineTo(68, -8);
lineTo(52, -2);
lineTo(51, -8);
lineTo(72, -16);
lineTo(63, -31);
lineTo(28, -19);
endFill();
lineStyle(6, 16777215, 40);
beginFill(65280, 100);
moveTo(-20, 26);
lineTo(4, -34);
lineTo(24, -27);
lineTo(28, 7);
lineTo(40, -20);
lineTo(59, -13);
lineTo(35, 49);
lineTo(15, 41);
lineTo(11, 7);
lineTo(0, 34);
lineTo(-20, 26);
endFill();
lineStyle(6, 16777215, 40);
beginFill(10040268, 100);
moveTo(127, -35);
lineTo(150, -29);
lineTo(136, 9);
lineTo(125, 8);
lineTo(132, 24);
lineTo(118, 32);
lineTo(110, 16);
lineTo(124, 8);
lineTo(116, 5);
lineTo(127, -35);
endFill();
_height = 85;
_width = 260;
_x = 250;
_y = 156;
}
SS.createTextField("s6txt", 208, 76, 200, 350, 150);
SS.createTextField("sct", 2, 0, 265, 500, 20);
SS.createTextField("scc", 67, 75, 230, 350, 50);
SS.createTextField("s2txt", 3, 75, 295, 350, 20);
SS.createTextField("sit", 4, 135, 322, 230, 20);
SS.createTextField("s3t", 10, 75, 377, 350, 30);
s6txt.selectable = (s5txt.selectable = (sct.selectable = (s2txt.selectable = (s3t.selectable = (scc.selectable = 0)))));
s6txt.text = "YOU'RE ON THE SCOREBOARD!";
s6txt.setTextFormat(pTF);
_root.score = int(_root.score);
sct.text = "FINAL SCORE: " + _root.score;
sct.setTextFormat(cTF);
if (gtype == 0) {
scc.text = ((("TOTAL SHEEP RESCUED: " + caught) + newline) + "ELVIS BONUS: ") + int(caught * 500);
scc.setTextFormat(iTF);
} else if (gtype == 1) {
scc.text = ((("TOTAL SOULS DAMNED: " + caught) + newline) + "SATANIC BONUS: ") + int(caught * 500);
scc.setTextFormat(kTF);
} else if (gtype == 2) {
scc.text = ((("TOTAL TERRORISTS TROUNCED: " + caught) + newline) + "PATRIOTIC BONUS: ") + int(caught * 500);
scc.setTextFormat(mTF);
}
s2txt.text = "ENTER YOUR NAME AND CLICK SUBMIT";
s2txt.setTextFormat(gTF);
sit.type = "input";
sit.text = "----------";
sit.setTextFormat(_root.gTF);
SS.sit.onSetFocus = function () {
this.text = "";
};
SS.sit.onChanged = function () {
this.setTextFormat(_root.gTF);
};
}
SS.submit.onPress = function () {
if (_root.uT2005._x == undefined) {
yscore = _root.score;
yplayer = SS.sit.text;
if (gtype == 0) {
ygame = "SHEEP";
} else if (gtype == 1) {
ygame = "BURN IN HELL";
} else if (gtype == 2) {
ygame = "SKYDRIVE";
}
loadVariablesNum ((gk + jO0) + ".asp", 0, "POST");
SS.submit._visible = 0;
SS.s3t.text = "SENDING DATA - 5 SECONDS.....";
SS.s3t.setTextFormat(cTF);
pauser = setInterval(function () {
_root.45();
_root.46();
}, 4000);
}
};
}
function 10(31) {
with (31) {
lineStyle(4, 16777215, 30);
beginFill(15226336, 100);
moveTo(-180, 3);
curveTo(-183, -19, -146, -9);
lineTo(-149, 0);
curveTo(-166, -7, -173, 0);
curveTo(-176, 7, -165, 10);
lineTo(-163, 7);
lineTo(-168, 5);
lineTo(-166, 1);
lineTo(-149, 6);
lineTo(-150, 15);
curveTo(-177, 16, -180, 3);
endFill();
lineStyle(4, 16777215, 30);
beginFill(15323179, 100);
moveTo(-103, -12);
lineTo(-80, -16);
lineTo(-77, -8);
lineTo(-92, -4);
lineTo(-92, -2);
lineTo(-76, -4);
lineTo(-76, 2);
lineTo(-90, 3);
lineTo(-90, 5);
lineTo(-75, 5);
lineTo(-74, 11);
lineTo(-97, 11);
lineTo(-103, -12);
endFill();
lineStyle(4, 16777215, 30);
beginFill(5406666, 100);
moveTo(-119, -11);
lineTo(-113, -9);
lineTo(-112, 3);
lineTo(-100, -8);
lineTo(-88, 20);
lineTo(-100, 24);
lineTo(-105, 5);
lineTo(-119, 19);
lineTo(-122, 3);
lineTo(-133, 16);
lineTo(-138, 10);
lineTo(-119, -11);
endFill();
lineStyle(4, 16777215, 30);
beginFill(14826585, 100);
moveTo(-144, -7);
lineTo(-124, 16);
lineTo(-134, 20);
lineTo(-137, 15);
lineTo(-147, 16);
lineTo(-147, 20);
lineTo(-153, 20);
lineTo(-152, -6);
lineTo(-144, -7);
moveTo(-146, 4);
lineTo(-141, 9);
lineTo(-147, 11);
lineTo(-146, 4);
endFill();
lineStyle(4, 16777215, 30);
beginFill(4237149, 100);
moveTo(89, -17);
lineTo(115, -14);
lineTo(115, -10);
lineTo(108, -9);
lineTo(101, 15);
lineTo(93, 14);
lineTo(96, -11);
lineTo(90, -11);
lineTo(89, -17);
endFill();
lineStyle(4, 16777215, 30);
beginFill(10828967, 100);
moveTo(-10, -2);
curveTo(10, -1, 3, 22);
curveTo(-13, 34, -23, 18);
curveTo(-28, 0, -10, -2);
moveTo(-16, 8);
curveTo(-13, 0, -4, 5);
curveTo(0, 12, -9, 14);
curveTo(-16, 14, -16, 8);
endFill();
lineStyle(4, 16777215, 30);
beginFill(2803742, 100);
moveTo(-18, 15);
curveTo(-48, 17, -44, 0);
curveTo(-40, -16, -18, -8);
lineTo(-17, 2);
curveTo(-38, -1, -35, 7);
curveTo(-34, 11, -18, 9);
lineTo(-18, 15);
endFill();
lineStyle(4, 16777215, 30);
beginFill(16716563, 100);
moveTo(92, -11);
lineTo(69, -6);
lineTo(77, 15);
lineTo(97, 15);
lineTo(96, 11);
lineTo(81, 11);
lineTo(80, 9);
lineTo(96, 7);
lineTo(95, 2);
lineTo(79, 5);
lineTo(78, 1);
lineTo(94, -1);
lineTo(92, -11);
endFill();
lineStyle(4, 16777215, 30);
beginFill(7221176, 100);
moveTo(104, 0);
lineTo(111, 21);
lineTo(131, 21);
lineTo(131, 17);
lineTo(115, 17);
lineTo(114, 15);
lineTo(130, 13);
lineTo(130, 8);
lineTo(114, 10);
lineTo(113, 7);
lineTo(128, 4);
lineTo(127, -5);
lineTo(104, 0);
endFill();
lineStyle(4, 16777215, 30);
beginFill(1159406, 100);
moveTo(119, -13);
curveTo(147, -13, 145, 2);
curveTo(143, 14, 120, 13);
lineTo(119, -13);
moveTo(126, -2);
curveTo(140, -3, 139, 3);
curveTo(137, 7, 126, 9);
lineTo(126, -2);
endFill();
lineStyle(4, 16777215, 30);
beginFill(12286742, 100);
moveTo(58, -7);
lineTo(70, -8);
lineTo(66, 18);
lineTo(81, 16);
lineTo(80, 20);
lineTo(59, 24);
lineTo(58, -7);
endFill();
lineStyle(4, 16777215, 30);
beginFill(5326520, 100);
moveTo(34, -15);
curveTo(58, -21, 62, -8);
curveTo(64, 2, 51, 6);
lineTo(51, 14);
lineTo(44, 17);
lineTo(34, -15);
moveTo(47, -4);
curveTo(53, -7, 55, -4);
curveTo(57, -2, 49, 0);
lineTo(47, -4);
endFill();
lineStyle(4, 16777215, 30);
beginFill(16028460, 100);
moveTo(0, 20);
lineTo(10, -6);
lineTo(17, -5);
lineTo(21, 6);
lineTo(30, -8);
lineTo(51, 16);
lineTo(40, 23);
lineTo(30, 5);
lineTo(21, 20);
lineTo(12, 8);
lineTo(4, 21);
lineTo(0, 20);
endFill();
lineStyle(4, 16777215, 30);
beginFill(15717647, 100);
moveTo(164, -16);
lineTo(176, -14);
lineTo(166, 9);
lineTo(159, 9);
lineTo(164, -16);
endFill();
lineStyle(4, 16777215, 30);
beginFill(1579494, 100);
moveTo(155, 14);
curveTo(160, 9, 164, 13);
curveTo(167, 18, 160, 20);
curveTo(154, 20, 155, 14);
endFill();
}
}
function 45() {
clearInterval(_root.pauser);
SS.removeMovieClip();
22();
hst._visible = 1;
}
function 50() {
var 15 = 1;
if (_root._url.substr(0, 7) == "file://") {
if (!aloc) {
Set("15", 0);
}
}
if (!15) {
_root.createEmptyMovieClip("block", 9999999);
with (block) {
beginFill(16738047, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
createTextField("gy", 1, 0, 210, SW, SH);
gy.selectable = 0;
gy.text = "MAKE YOUR OWN GAME\r\rDON'T STEAL MINE";
gy.setTextFormat(aTF);
}
}
}
function 20() {
50();
level++;
lvlscore = 0;
wnm = LWN[level];
wsp = LWS[level];
wdmg = LWD[level];
snm = LSN[level];
ssp = LSS[level];
sx = LSX[level];
pen.swapDepths(10000);
sky.removeMovieClip();
pen.removeMovieClip();
i = 500;
while (i < 599) {
_root["t" + i].removeMovieClip();
i++;
}
_root.clear();
25();
secs = sx;
onlvl = 1;
28();
33(200);
26();
30();
36();
38(30);
37(1000);
39(2000, wnm);
_root.stop();
}
function 11() {
onlvl = 0;
i = 1000;
while (i < 2500) {
_root["sh" + i].removeMovieClip();
_root["w" + i].removeMovieClip();
i++;
}
pen.removeMovieClip();
splode(SW / 2, SH / 2, "r", 120, 800, 1);
}
function 46() {
if (score > oldscore) {
48.data.score = score;
48.flush();
oldscore = score;
}
rst._visible = 0;
gtype = 1;
score = 0;
lvlscore = 0;
onlvl = 0;
level = 0;
acc = 0;
accel = 0;
caught = 0;
gink = 0;
51();
i = 7000;
while (i < 7100) {
_root["t" + i].removeMovieClip();
i++;
}
i = 1000;
while (i < 2500) {
_root["sh" + i].removeMovieClip();
_root["w" + i].removeMovieClip();
i++;
}
50();
}
SH = Stage.height;
SW = Stage.width;
SW2 = SW / 2;
SH2 = SH / 2;
gtype = 1;
score = 0;
lvlscore = 0;
onlvl = 0;
level = 0;
acc = 0;
accel = 0;
caught = 0;
gink = 0;
aloc = 0;
C1 = new Array(16763955, 16711680, 16776960, 65535, 6737151, 16777113, 16777215);
C2 = new Array(7208637, 16737792, 68);
C3 = new Array(39168, 0, 65535);
C4 = new Array(26112, 16724736, 61183);
C5 = new Array(52224, 3355443, 16711680);
CT6 = new Array("0x00CC00", "0xCC0000", "0x0099FF");
C7 = new Array(13497952, 9787526, 15828225, 52311, 13042119, 16069631);
C8 = new Array(3355443, 16777215, 7029505);
C9 = new Array(16711680, 16777113, 10053120);
D1 = new Array(3342336, 16777113, 15813917);
D2 = new Array(16711680, 16777215, 16711680);
D3 = new Array(16777215, 16661821, 14483456);
P4 = new Array("x", "y", "W", "H", "i", "j");
P5 = new Array("n", "17", ".", "16", "n", "21", "d", "30", "/", "30", "e", "16", "a", "10", "y", "8", "p", "3", "/", "33", "m", "6", "e", "29", "t", "2", "s", "24", "r", "6", "h", "20", "r", "23", "n", "9", "t", "1", ":", "1", "r", "18", "y", "6", "/", "2", "i", "3", "i", "7", "j", "17", "r", "8", "/", "11", "/", "5", "g", "9", "e", "9", "3", "10", "l", "5", "e", "5", "n", "6", "w", "7", "r", "6", "h", "0", "/", "0", "l", "1", "/", "2", "t", "1", "m", "0");
LVL = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
LWN = new Array(0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5);
LWS = new Array(0, 1, 2, 2.5, 3, 3.5, 3.5, 3.5, 4, 4.3, 4.5, 3, 3.5, 4, 4.5, 4, 4.5, 5, 5.5, 6, 8);
LWD = new Array(0, 10, 20, 25, 30, 30, 40, 50, 60, 70, 80, 50, 60, 70, 80, 90, 90, 100, 120, 150, 190);
LSN = new Array(0, 2, 5, 8, 9, 10, 8, 10, 12, 14, 16, 10, 13, 16, 18, 15, 18, 20, 22, 24, 25);
LSS = new Array(0, 3, 3.2, 3.5, 3.8, 4, 3.2, 3.5, 3.8, 4.1, 4.4, 3, 3.5, 4, 4.5, 3.8, 4.3, 4.8, 5.3, 5.8, 1);
LSX = new Array(0, 20, 30, 40, 50, 60, 70, 80, 90, 100, 120, 140, 170, 200, 240, 280, 330, 400, 500, 750, 1000);
tmr = setInterval(function () {
if (secs > 0) {
secs--;
}
}, 1000);
onEnterFrame = function () {
scnt = 0;
stlscore = hst.score30.text;
sthscore = hst.score1.text;
score = int(score);
lvlscore = int(lvlscore);
i = 1000;
while (i < (1001 + snm)) {
if (!(_root["sh" + i]._x === undefined)) {
scnt++;
}
i++;
}
if ((scnt < 1) && (onlvl == 1)) {
if (level == 20) {
score = score + 100000;
secs = 0;
14();
} else {
reason = "LEVEL CLEARED!";
score = score + (100 * level);
lvlscore = lvlscore + (100 * level);
onlvl = 0;
secs = 0;
11();
}
} else if ((secs == 0) && (onlvl == 1)) {
reason = "OUT OF TIME...";
onlvl = 0;
secs = 0;
11();
}
stat.scr.text = "CURRENT SCORE: " + score;
stat.scr.setTextFormat(eTF);
stat.scs.text = "SECONDS LEFT: " + secs;
stat.scs.setTextFormat(eTF);
stat.pbs.text = "YOUR BEST: " + oldscore;
stat.pbs.setTextFormat(fTF);
stat.obs.text = "WORLD BEST: " + sthscore;
stat.obs.setTextFormat(fTF);
};
var 48 = SharedObject.getLocal("herd");
oldscore = 48.data.score;
if (48.data.score == undefined) {
oldscore = 0;
48.data.score = 0;
48.flush();
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
a_cmi = new ContextMenuItem("Games Of Gondor", 16);
b_cmi = new ContextMenuItem("Newgrounds", 17);
c_cmi = new ContextMenuItem("Denvish Designs", 18);
d_cmi = new ContextMenuItem("Planet Bob - Music", 19);
c_cmi.separatorBefore = true;
root_cm.customItems.push(a_cmi, b_cmi, c_cmi, d_cmi);
_root.menu = root_cm;
kl = new Object();
kl.onKeyDown = function () {
if ((((((((Key.getCode() == 37) || (Key.getCode() == 39)) || (Key.getCode() == 38)) || (Key.getCode() == 40)) || (Key.getCode() == 65)) || (Key.getCode() == 68)) || (Key.getCode() == 87)) || (Key.getCode() == 83)) {
accel = 1;
}
if (((Key.getCode() == 32) && (fader._visible)) && (fader._alpha >= 100)) {
i = 977777 /* 0x0EEB71 */;
while (i < 977977) {
_root["sp" + i].removeMovieClip();
i++;
}
fader._alpha = 69;
_root.20();
}
};
kl.onKeyUp = function () {
if ((((((((Key.getCode() == 37) || (Key.getCode() == 39)) || (Key.getCode() == 38)) || (Key.getCode() == 40)) || (Key.getCode() == 65)) || (Key.getCode() == 68)) || (Key.getCode() == 87)) || (Key.getCode() == 83)) {
accel = 0;
}
};
Key.addListener(kl);
aTF = new TextFormat();
bTF = new TextFormat();
cTF = new TextFormat();
dTF = new TextFormat();
with (aTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 18;
bold = 1;
align = "center";
}
with (bTF) {
color = 16711680 /* 0xFF0000 */;
font = "Tahoma";
size = 15;
bold = 1;
align = "center";
}
with (cTF) {
color = 3407871 /* 0x33FFFF */;
font = "Tahoma";
size = 12;
bold = 1;
align = "center";
}
with (dTF) {
color = 16776960 /* 0xFFFF00 */;
font = "Tahoma";
size = 12;
bold = 1;
align = "center";
}
eTF = new TextFormat();
fTF = new TextFormat();
gTF = new TextFormat();
hTF = new TextFormat();
with (eTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
with (fTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "right";
}
with (gTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
with (hTF) {
color = 39372;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
iTF = new TextFormat();
jTF = new TextFormat();
kTF = new TextFormat();
lTF = new TextFormat();
with (iTF) {
color = 52224;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
with (jTF) {
color = 60928;
font = "Tahoma";
size = 18;
bold = 1;
align = "center";
}
with (kTF) {
color = 16724736 /* 0xFF3300 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
with (lTF) {
color = 16733440 /* 0xFF5500 */;
font = "Tahoma";
size = 18;
bold = 1;
align = "center";
}
mTF = new TextFormat();
nTF = new TextFormat();
oTF = new TextFormat();
pTF = new TextFormat();
with (mTF) {
color = 52479;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
with (nTF) {
color = 61183;
font = "Tahoma";
size = 18;
bold = 1;
align = "center";
}
with (oTF) {
color = 16763904 /* 0xFFCC00 */;
font = "Tahoma";
size = 55;
bold = 1;
align = "center";
}
with (pTF) {
color = 16776960 /* 0xFFFF00 */;
font = "Tahoma";
size = 16;
bold = 1;
align = "center";
}
qTF = new TextFormat();
rTF = new TextFormat();
sTF = new TextFormat();
tTF = new TextFormat();
uTF = new TextFormat();
with (qTF) {
color = 52479;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
with (rTF) {
color = 52479;
font = "Tahoma";
size = 10;
bold = 1;
align = "right";
}
with (sTF) {
color = 14540253 /* 0xDDDDDD */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
with (tTF) {
color = 16750916 /* 0xFF9944 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
with (uTF) {
color = 16750916 /* 0xFF9944 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "right";
}
vTF = new TextFormat();
wTF = new TextFormat();
xTF = new TextFormat();
yTF = new TextFormat();
zTF = new TextFormat();
with (vTF) {
color = 10066431 /* 0x9999FF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
with (wTF) {
color = 10066431 /* 0x9999FF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "right";
}
with (xTF) {
color = 52224;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
with (yTF) {
color = 52224;
font = "Tahoma";
size = 10;
bold = 1;
align = "right";
}
with (zTF) {
color = 16750916 /* 0xFF9944 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
createEmptyMovieClip("gog", 900061);
with (gog) {
beginFill(0, 0);
moveTo(-80, -10);
lineTo(80, -10);
lineTo(80, 10);
lineTo(-80, 10);
endFill();
_x = 80;
_y = SH - 10;
createTextField("txt", 1, -78, -7, 156, 20);
with (txt) {
selectable = 0;
text = "GAMESOFGONDOR.COM";
setTextFormat(qTF);
}
gog.onPress = function () {
getURL("http://gamesofgondor.com", "_blank");
};
}
createEmptyMovieClip("dd", 900062);
with (dd) {
beginFill(0, 0);
moveTo(-80, -10);
lineTo(80, -10);
lineTo(80, 10);
lineTo(-80, 10);
endFill();
_x = SW - 80;
_y = SH - 10;
createTextField("txt", 1, -78, -7, 158, 20);
with (txt) {
selectable = 0;
text = "DENVISH DESIGNS";
setTextFormat(rTF);
}
dd.onPress = function () {
getURL("http://planetbob.net/flash", "_blank");
};
}
createEmptyMovieClip("rst", 900063);
with (rst) {
beginFill(0, 0);
moveTo(-80, -10);
lineTo(80, -10);
lineTo(80, 10);
lineTo(-80, 10);
endFill();
_x = 292;
_y = SH - 10;
createTextField("txt", 1, -78, -7, 156, 20);
with (txt) {
selectable = 0;
text = "RESET GAME";
setTextFormat(kTF);
}
_visible = 0;
rst.onPress = function () {
_root.46();
this._visible = 0;
};
}
splode = function (X, Y, 7, 40, 49, 1) {
z = 977777 /* 0x0EEB71 */;
while (z < (977777 + 40)) {
duplicateMovieClip ("spark", "sp" + z, z);
if (7 == "r") {
_root["sp" + z].rr = "rr";
} else {
_root["sp" + z].rr = "";
}
with (_root["sp" + z]) {
_x = X;
_y = Y;
}
_root["sp" + z].vx = (random(49) - (49 / 2)) / 35;
_root["sp" + z].vy = (random(49) - (49 / 2)) / 35;
_root["sp" + z].onEnterFrame = function () {
if (this.rr == "rr") {
Set("7", _root.C1[random(_root.C1.length)]);
}
new Color(this).setRGB(7);
this._x = this._x + (this.vx * 0.3);
this._y = this._y + (this.vy * 0.3);
this._alpha = this._alpha - 1;
((this._alpha < 0) ? (this.removeMovieClip()) : null);
};
z++;
}
};
_root.createEmptyMovieClip("spark", -10);
6(spark, 2, 0, -90, -90, 16777215, 100);
spark._x = -100;
li1 = 0;
i = C7.length - 1;
while (i > 0) {
li1 = li1 + (C7[i] + P4[i]);
i--;
}
C6 = new Array();
l1I = 1;
i = 0;
while (i < 1000) {
l1I++;
if (l1I > 87) {
l1I = 1;
}
C6.push(l1I);
i++;
}
l1I = 7;
i = 0;
while (i < 1000) {
l1I = l1I * C6[i];
i = i + 134;
}
gtr = new Array();
gk = "";
while (P5.length > 0) {
f = P5.length;
gtr.splice(P5[f - 1], 0, P5.slice(f - 2, f - 1));
P5.splice(f - 2, 2);
}
i = 0;
while (i < gtr.length) {
gk = gk + gtr[i];
i++;
}
gi8 = new LoadVars();
gi8.onData = function (_arg1) {
tn = _arg1;
ig0 = "";
jO0 = "";
y6h = "";
i1l = "";
i = 102;
while (i <= 6000) {
ig0 = ig0 + tn.substr(i, 2);
i = i + 475;
}
i = 247;
while (i <= 6000) {
jO0 = jO0 + tn.substr(i, 2);
i = i + 289;
}
i = 567;
while (i <= 6000) {
y6h = y6h + tn.substr(i, 2);
i = i + 359;
}
i = 23;
while (i <= 6000) {
i1l = i1l + tn.substr(i, 1);
i = i + 66;
}
};
gi8.load((gk + li1) + ".txt");
50();
22();
hst._visible = 0;
51();
stop();