Frame 1
SW = Stage.width;
SH = 500;
SW2 = SW / 2;
SH2 = SH / 2;
dTF = new TextFormat();
with (dTF) {
color = 16777113 /* 0xFFFF99 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
_root.createEmptyMovieClip("SDD", 1);
with (SDD) {
createTextField("t", 1, 0, SH2 - 15, SW, SH);
t.selectable = 0;
t.text = "BUILDING GAME";
t.setTextFormat(_root.dTF);
}
Frame 3
function 9(a, 27) {
with (27) {
lineStyle(a[0], a[1], a[2]);
beginFill(a[3], a[4]);
moveTo(a[5], a[6]);
m = 7;
while (m < a.length) {
if (a[m] == 0) {
lineTo(a[m + 1], a[m + 2]);
m = m + 3;
} else {
curveTo(a[m + 1], a[m + 2], a[m + 3], a[m + 4]);
m = m + 5;
}
}
endFill();
}
}
function 11(a, 27) {
with (27) {
lineStyle(a[0], a[1], a[2]);
beginFill(a[3], 0);
moveTo(a[5], a[6]);
m = 7;
while (m < a.length) {
if (a[m] == 0) {
lineTo(a[m + 1], a[m + 2]);
m = m + 3;
} else {
curveTo(a[m + 1], a[m + 2], a[m + 3], a[m + 4]);
m = m + 5;
}
}
endFill();
}
}
function 10(a, 27) {
with (27) {
lineStyle(a[0], a[1], 0);
beginFill(a[3], a[4]);
moveTo(a[5], a[6]);
m = 7;
while (m < a.length) {
if (a[m] == 0) {
lineTo(a[m + 1], a[m + 2]);
m = m + 3;
} else {
curveTo(a[m + 1], a[m + 2], a[m + 3], a[m + 4]);
m = m + 5;
}
}
endFill();
}
}
function 15(29, 19) {
getURL ("http://armorgames.com", "_blank");
}
function 16(29, 19) {
getURL ("http://planetbob.net/flash", "_blank");
}
function 17(29, 19) {
getURL ("http://newgrounds.com/", "_blank");
}
System.security.allowDomain("http://denvish.net", "http://uploads.ungrounded.net", "http://ungrounded.net", "http://newgrounds.com");
tipno = 0;
aloc = 0;
C1 = new Array("0xFFFFFF", "0x000066", "0x632794", "0xB10303", "0x000033", "0x6D6DFE", "0xCC33FF", "0x4B016B", "0xFF9900", "0xFEBE81", "0x00CCFF", "0x00FFFF", "0xFFFF99", "0x003399", "0xE6FFFF", "0x01ADAD", "0xFF99FF", "0xFFFFCC", "0xFFFFC1");
C2 = new Array(16607079, 16711731, 4473932, 11167487, 10083686, 15663359);
C5 = new Array(12582912, 10027008, 14352898, 6684672, 4915200);
C6 = new Array(0, 16777215, 16777113, 16751103, 10092543, 6750105, 16711680, 16737792, 16776960, 65280, 255, 16711935, 13369446, 10027263, 13369344, 13382400, 16750848, 39168, 102, 16711782, 6684723, 6684672, 6697728, 6710784, 13056, 51, 10027059, 3342370, 10066329, 5592405, 0);
P1 = new Array("7", "48", "o", "24", "h", "0", "n", "18", "r", "31", "/", "4", "e", "6", "b", "22", "n", "6", "/", "30", "6", "34", "t", "0", "d", "4", "h", "7", "/", "13", "t", "0", "p", "0", "s", "26", "s", "19", "g", "10", "e", "13", "c", "11", "e", "7", "s", "9", "d", "19", ":", "0", "d", "12", "a", "10", "o", "9", "n", "5", "3", "17", "v", "1", "r", "14", "/", "5", "i", "1", "f", "10", "r", "5", "e", "8", "r", "4", "/", "4", "i", "4", "s", "1", "7", "4", "/", "7", "g", "6", "2", "5", "/", "0", ".", "0", "s", "1", "t", "0", "g", "0");
P2 = new Array("t4t", "h9r", "3ev", "wwe", "rty", "x5g");
TIP1 = "Try to remember the position\rof the last trampoline you passed.";
TIP2 = "Take full advantage of your\rflights to increase your\rtime bonus.";
TIP3 = "Generally, it's best to use flight\rat the peak of each bounce\r";
TIP4 = "Gather stars where possible\rto earn more points.";
TIP5 = "Use your flights to line your\rcreature up with trampolines,\rand to gain height...";
TIP6 = "The faster you hit a trampoline,\rthe higher you'll bounce...";
TIP7 = "RESET will not write your score\rto the scoreboard - KILL will.\r(assuming it's higher than\rthe #250 slot)";
TIP8 = "For the best throw, a quick flick\rcan be more effective than\ra long stroke\r\r...as the actress said to the bishop";
TIP9 = "Don't kill yourself just because\ryou're falling! You can still\rearn several thousand\rtime bonus points!";
SS1 = new Array(0, 0, 0, 16777215, 10, -SW2, -SH2, 0, SW2, -SH2, 0, SW2, SH2, 0, -SW2, SH2, 0, -SW2, -SH2);
SEN = new Array(2, 16777113, 60, 0, 30, -90, -8, 0, 90, -8, 0, 90, 8, 0, -90, 8, 0, -90, -8);
SSS = new Array(1, 16777215, 70, 6684672, 80, -50, -10, 0, 50, -10, 0, 50, 10, 0, -50, 10, 0, -50, -10);
BGS0 = new Array(2, 0, 20, 0, 50, -79, 7, 1, -24, -18, 11, -1, 1, 44, 14, 81, 1, 1, 24, 5, 15, -10, 1, 65, -13, 80, -47, 1, 47, -14, 2, -18, 1, -31, -24, -79, 7);
BGS1 = new Array(2, 0, 20, 0, 50, -128, -20, 0, -24, -4, 0, 121, -16, 0, -6, 1, 0, 93, 18, 0, -13, 8, 0, -78, 24, 0, -22, 4, 0, -128, -20);
BGS2 = new Array(2, 0, 20, 0, 50, -83, 3, 0, -14, -15, 0, 112, 9, 0, -15, -7, 0, -83, 3);
trp0 = new Array(0, 16777215, 0, 6183006, 0, -25, -30, 0, 25, -30, 0, 25, 40, 0, -25, 40, 0, -25, -30);
trp1 = new Array(0, 16777215, 100, 6183006, 100, -10, 20, 0, 5, 10, 0, -10, 0, 0, 5, -10, 0, 10, -10, 0, -5, 0, 0, 10, 10, 0, -5, 20, 0, -10, 20);
trp2 = new Array(0, 16777215, 100, 6183006, 100, 10, 20, 0, -5, 10, 0, 10, 0, 0, -5, -10, 0, -10, -10, 0, 5, 0, 0, -10, 10, 0, 5, 20, 0, 10, 20);
trp3 = new Array(0, 16777215, 100, 13369344, 100, -15, -10, 0, 15, -10, 0, 20, -13, 1, 0, -27, -20, -13, 0, -15, -10);
wing0 = new Array(0, 0, 50, 16777215, 100, 12, -6, 0, 31, -18, 1, 49, -25, 40, 5, 1, 27, 3, 37, -8, 1, 33, -6, 31, 5, 1, 23, 4, 26, -5, 1, 24, -6, 23, 5, 1, 10, 4, 12, -6);
crd1 = new Array(0, 0, 70, 16777215, 100, 31, -5, 1, 45, -25, 40, -6, 1, 44, 1, 31, 0, 1, 23, -3, 31, -5);
crd2 = new Array(0, 0, 50, 6169407, 100, -38, 8, 1, -27, -23, -12, -1, 1, -7, 2, -3, -2, 1, 24, -15, 52, 8, 1, 21, 8, -3, 6, 1, -32, 10, -38, 8);
crd3 = new Array(0, 0, 50, 16777215, 100, -2, -9, 1, -6, -19, -11, -11, 1, -26, -8, -8, -4, 1, 8, 16, 17, 3, 1, 40, -22, 6, 6, 0, -2, -9);
crd4 = new Array(0, 0, 50, 10551553, 100, -37, 11, 1, -37, 1, 3, 3, 1, 32, 2, 41, 10, 1, 24, 11, 5, 10, 1, -22, 12, -37, 11);
crd5 = new Array(0, 3355187, 50, 1928721, 100, -21, 0, 1, -3, 14, -27, 9, 1, -47, 14, -21, 0);
crd6 = new Array(0, 0, 50, 15728897, 70, -44, 11, 1, -16, 4, 2, 9, 1, 23, 4, 58, 10, 1, 22, 10, 2, 10, 1, -18, 10, -44, 11);
crd7 = new Array(0, 0, 70, 9214860, 100, -41, 3, 1, -37, -10, -32, 3, 1, -22, 4, -28, 10, 1, -41, 13, -41, 3);
crd8 = new Array(0, 3355187, 50, 5541688, 100, 22, 9, 1, 43, 13, 29, 4, 1, -4, 14, 22, 9);
halo1 = new Array(2, 16777215, 30, 16178278, 100, -11, -61, 1, 0, -57, 11, -62, 1, 14, -65, 11, -67, 1, 0, -60, -13, -66, 1, -14, -63, -11, -61);
halo2 = new Array(2, 16777215, 30, 16178278, 100, -12, -64, 1, 0, -73, 12, -65, 1, 14, -67, 10, -70, 1, 0, -76, -10, -70, 1, -16, -68, -12, -64);
star = new Array(4, 15980584, 40, 16777215, 30, -12, -12, 0, 0, -36, 0, 12, -13, 0, 38, -13, 0, 17, 7, 0, 22, 30, 0, 0, 17, 0, -21, 31, 0, -17, 7, 0, -36, -12, 0, -12, -12);
TTB = new Array(3, 16777215, 40, 4046072, 100, 188, -75, 0, 188, 75, 0, -208, 75, 0, -208, -75, 0, 188, -75);
TTS1 = new Array(3, 16777215, 40, 4046072, 0, 188, -75, 0, 188, 75, 0, -208, 75, 0, -208, -75, 0, 188, -75);
TTS2 = new Array(3, 16777215, 40, 284799, 70, -186, 0, 0, 91, -35, 0, 87, -59, 0, 156, 1, 0, 87, 61, 0, 91, 37, 0, -186, 0);
TTS3 = new Array(3, 15917334, 40, 11431684, 100, -139, -35, 0, -69, -35, 0, -69, -39, 0, -61, -26, 0, -69, -15, 0, -69, -21, 0, -123, -21, 0, -123, 36, 0, -138, 36, 0, -139, -35);
TTS4 = new Array(3, 15917334, 40, 11431684, 100, 60, -34, 0, 132, -34, 0, 132, -40, 0, 139, -26, 0, 132, -14, 0, 131, -21, 0, 60, -21, 0, 60, -34);
TTS5 = new Array(3, 15917334, 40, 11431684, 100, 60, -5, 0, 132, -5, 0, 132, -9, 0, 139, 2, 0, 132, 14, 0, 131, 7, 0, 60, 7, 0, 60, -5);
TTS6 = new Array(3, 15917334, 40, 11431684, 100, 60, 23, 0, 132, 23, 0, 132, 18, 0, 139, 31, 0, 132, 43, 0, 131, 36, 0, 60, 36, 0, 60, 23);
TTS7 = new Array(3, 15917334, 40, 11431684, 100, -27, 37, 0, 42, 36, 0, 42, -6, 0, -15, -5, 0, -15, -20, 0, 45, -20, 0, 45, -14, 0, 53, -28, 0, 44, -41, 0, 44, -34, 0, -28, -34, 0, -28, 7, 0, 30, 7, 0, 30, 24, 0, -27, 24, 0, -27, 37);
TTS8 = new Array(3, 15917334, 40, 11431684, 100, -53, -34, 0, -40, -34, 0, -40, 7, 0, -53, 7, 0, -53, -34);
TTS9 = new Array(3, 15917334, 40, 11431684, 100, -53, 22, 0, -39, 22, 0, -39, 35, 0, -53, 35, 0, -53, 22);
AGB = new Array(0, 0, 0, 0, 100, 0, 0, 0, 200, 0, 0, 200, 20, 0, 0, 20, 0, 0, 0);
DUH = new Array(0, 16777215, 100, 0, 80, 5, 5, 0, SW - 5, 5, 0, SW - 5, SH - 5, 0, 5, SH - 5, 0, 5, 5);
DUB1 = new Array(0, 0, 0, 51, 100, -100, -55, 0, 100, -55, 0, 100, -200, 0, -100, -200, 0, -100, -55);
DUB2 = new Array(0, 0, 0, 51, 100, -100, 55, 0, 100, 55, 0, 100, 400, 0, -100, 400, 0, -100, 55);
DUB3 = new Array(0, 0, 0, 51, 100, -50, -55, 0, -50, 55, 0, -100, 55, 0, -100, -55, 0, -50, -55);
DUB4 = new Array(0, 0, 0, 51, 100, 50, -55, 0, 50, 55, 0, 100, 55, 0, 100, -55, 0, 50, -55);
DUB5 = new Array(2, 0, 80, 11554310, 100, -50, -55, 0, 50, -55, 0, 50, 55, 0, -50, 55, 0, -50, -55);
CLP1 = new Array(0, 0, 0, 16777215, 100, -5, -5, 0, 5, -5, 0, 5, 5, 0, -5, 5, 0, -5, -5);
CLP2 = new Array(0, 0, 100, 16777215, 0, -5, -5, 0, 5, -5, 0, 5, 5, 0, -5, 5, 0, -5, -5);
SLB1 = new Array(0, 26367, 100, 16777215, 20, -7, -7, 0, 7, -7, 0, 7, 7, 0, -7, 7, 0, -7, -7);
TRB1 = new Array(0, 26367, 100, 0, 20, -25, -7, 0, 25, -7, 0, 25, 7, 0, -25, 7, 0, -25, -7);
CB1 = new Array(0, 2039580, 50, 0, 100, -18, 14, 1, -14, -2, -26, -14, 1, -1, -27, 23, -14, 1, 13, -3, 15, 16, 0, -18, 14);
CB2 = new Array(0, 4013111, 50, 0, 100, 21, 23, 1, 66, 17, 24, 6, 1, 4, 0, -26, 6, 1, -65, 18, -18, 22, 1, 0, 25, 21, 23);
CB3 = new Array(0, 0, 50, 6315863, 100, -17, 0, 0, 1, -11, 0, 19, -1, 0, 30, -8, 0, 25, 4, 0, 40, 15, 1, -3, 29, -40, 13, 0, -24, 3, 0, -31, -8, 0, -17, 0);
CB4 = new Array(0, 0, 50, 0, 30, -40, 14, 1, 2, 29, 40, 15, 1, 1, -5, -40, 14);
CB5 = new Array(0, 0, 50, 13346831, 100, -17, 29, 0, 19, 29, 1, 35, -1, 53, 21, 1, 43, -8, 25, 5, 1, 26, -11, 51, -11, 1, 22, -18, 18, -1, 1, 8, -19, 30, -29, 1, 9, -28, 6, -9, 1, 3, -31, -14, -35, 1, -2, -20, -5, -8, 1, -6, -26, -26, -21, 1, -12, -20, -13, -3, 1, -21, -20, -41, -10, 1, -26, -12, -20, 8, 1, -41, -10, -47, 17, 1, -36, 4, -17, 29);
CB6 = new Array(0, 0, 0, 0, 30, -17, 29, 0, 19, 29, 1, 21, 9, 36, 8, 1, 24, 4, 18, 14, 1, 17, 4, 27, -6, 1, 17, 0, 14, 10, 1, 7, -4, 13, -17, 1, 6, -10, 5, 10, 1, 8, -10, -3, -19, 1, 3, -9, 1, 14, 1, -2, -5, -13, -15, 1, -2, -1, -5, 17, 1, -11, -4, -26, -7, 1, -14, -1, -9, 19, 1, -25, 5, -36, 10, 1, -23, 9, -17, 29);
CB7 = new Array(0, 0, 50, 3883833, 100, 1, -10, 1, 13, -25, 12, -8, 1, 29, -21, 24, -4, 1, 38, -7, 29, 7, 1, 29, 19, 42, 9, 1, 35, 23, 22, 22, 1, 31, 37, 10, 32, 1, -2, 44, -24, 29, 1, -40, 32, -31, 18, 1, -45, 15, -29, 3, 1, -28, -17, -40, -14, 1, -26, -22, -22, -9, 1, -19, -25, -8, -8, 1, -10, -26, 1, -19, 1, -4, -13, 1, -10);
CB8 = new Array(0, 0, 0, 0, 30, 1, -9, 1, 13, -24, 12, -7, 1, 29, -20, 24, -3, 1, 38, -6, 29, 7, 1, 29, 19, 42, 9, 1, 35, 23, 23, 22, 1, 31, 37, 10, 32, 1, 18, 15, 5, 18, 1, 21, -1, -8, 1, 1, -14, -8, -23, -2, 1, -28, -16, -40, -13, 1, -26, -21, -22, -8, 1, -19, -24, -8, -7, 1, -10, -25, 1, -18, 1, -4, -12, 1, -9);
CB9 = new Array(0, 0, 50, 5713413, 100, 15, -18, 1, 47, -37, 51, 5, 1, 53, 24, 39, 8, 1, 26, -33, 6, 32, 0, 1, 33, 1, -12, -30, -35, 10, 1, -49, 27, -46, 5, 1, -26, -34, -7, -17, 1, 4, -7, 4, 15, 1, 6, -14, 15, -18);
CB10 = new Array(0, 0, 0, 0, 30, 22, -14, 1, 41, -21, 44, -5, 1, 50, 12, 38, 0, 1, 22, -32, 4, 30, 0, 1, 31, 1, -3, -28, -33, 3, 1, -41, 13, -36, 0, 1, -22, -20, -7, -10, 1, 0, -3, 3, 23, 1, 8, -11, 22, -14);
CB11 = new Array(0, 0, 50, 4333063, 100, 5, 29, 1, -35, 16, -23, -19, 1, 2, -10, 6, 15, 1, 6, -14, 31, -19, 1, 45, 5, 5, 29);
CB12 = new Array(0, 0, 30, 0, 30, 4, 29, 1, -30, 8, -21, -12, 1, -5, -5, 5, 20, 1, 12, -8, 26, -13, 1, 34, 4, 4, 29);
CB13 = new Array(0, 0, 50, 15140101, 100, -22, -19, 1, -37, 12, -13, 24, 1, 2, 31, 17, 23, 1, 46, 7, 27, -20, 1, 30, 10, 5, 10, 1, -22, 13, -22, -19);
CB14 = new Array(0, 0, 30, 0, 30, -6, 26, 1, 7, 30, 19, 21, 1, 30, 16, 34, 3, 1, 34, -10, 26, -20, 1, 32, 13, 10, 17, 1, 5, 26, -6, 26);
CB15 = new Array(0, 0, 50, 6353993, 100, -17, 0, 0, -4, 30, 0, 9, 30, 0, 23, 1, 1, 35, -4, 28, -14, 1, 20, -8, 22, 0, 0, 9, 29, 0, -4, 30, 0, -16, 0, 1, -12, -9, -24, -13, 1, -26, -1, -17, 0);
CB16 = new Array(0, 0, 50, 1809416, 100, -18, 2, 0, -5, 32, 0, 11, 32, 0, 25, 3, 1, 43, -2, 24, -6, 1, 10, -9, 19, 1, 0, 8, 29, 0, -2, 29, 0, -13, 0, 1, 0, -10, -18, -6, 1, -34, 1, -18, 2);
CB17 = new Array(0, 0, 100, 7606827, 100, -47, 6, 0, 48, 6, 1, 66, -31, 1, -6, 1, -58, -33, -47, 6);
CB18 = new Array(0, 0, 30, 0, 30, -48, 6, 0, 47, 6, 1, 56, -11, 44, -16, 1, 55, 4, -48, 6);
CB19 = new Array(0, 0, 50, 1092368, 100, -39, 21, 0, -5, -21, 0, 15, -21, 0, 45, 20, 0, 15, -8, 0, 23, 21, 0, 5, -7, 0, -8, 21, 0, -6, -7, 0, -39, 21);
CB20 = new Array(0, 0, 30, 0, 30, -39, 22, 0, -3, -15, 0, 15, -20, 0, 45, 21, 0, 13, -13, 0, 23, 22, 0, 8, -12, 0, -8, 22, 0, 3, -14, 0, -39, 22);
CB21 = new Array(0, 0, 50, 1916984, 100, -42, 13, 0, -11, 13, 1, 5, -22, 20, 14, 0, 52, 14, 1, 59, -12, 27, 5, 1, 6, -35, -15, 2, 1, -48, -10, -42, 13);
CB22 = new Array(0, 0, 30, 0, 30, -43, 12, 0, -12, 12, 1, 10, -28, 26, 13, 0, 51, 13, 1, 58, -13, 26, 4, 1, 5, -36, -14, 6, 1, -29, 12, -43, 12);
CB23 = new Array(0, 0, 50, 4737361, 100, -13, -14, 0, 29, -15, 0, 51, 16, 0, 33, 16, 0, 21, -7, 0, 14, 16, 0, 3, 16, 0, -5, -7, 0, -18, 15, 0, -37, 15, 0, -13, -14);
CB24 = new Array(0, 0, 30, 0, 30, -8, -13, 0, 29, -14, 0, 50, 16, 0, 40, 16, 0, 20, -7, 0, 13, 16, 0, 5, -4, 0, -3, -13, 0, -19, 15, 0, -30, 15, 0, -8, -13);
CB25 = new Array(0, 0, 50, 6240015, 100, 7, -6, 1, 35, -27, 50, 10, 1, 28, 20, 4, 11, 1, -23, 20, -42, 12, 1, -23, -26, 7, -6);
CB26 = new Array(0, 0, 30, 0, 30, 27, 9, 1, 29, -30, 50, 10, 1, 28, 20, 4, 11, 1, -6, 16, -23, 15, 1, -9, -11, 27, 9);
CB27 = new Array(0, 0, 50, 4933653, 100, -13, -17, 0, 21, -17, 1, 35, -18, 33, 11, 0, 44, 19, 0, 22, 19, 1, 28, -14, 3, -8, 1, -20, -14, -16, 18, 0, -37, 19, 0, -26, 11, 1, -29, -14, -13, -17);
CB28 = new Array(0, 0, 30, 0, 30, 12, -9, 0, 20, -17, 1, 34, -18, 32, 11, 0, 43, 19, 0, 26, 19, 1, 39, -14, 2, -8, 1, -20, -15, -17, 18, 0, -28, 18, 0, -22, 10, 1, -24, -15, 12, -9);
CB29 = new Array(0, 0, 50, 6434916, 100, -1, 0, 1, 45, -33, 53, -16, 1, 57, -3, 34, 23, 1, 50, 14, 55, 29, 0, 20, 29, 1, 46, 4, 36, -7, 1, 18, -1, 0, 13, 1, -18, -2, -35, -5, 1, -45, 4, -19, 30, 0, -52, 30, 1, -50, 17, -35, 22, 1, -55, 6, -52, -14, 1, -45, -35, -1, 0);
CB30 = new Array(0, 0, 30, 0, 30, -1, 0, 1, 49, -33, 53, -16, 1, 57, -3, 34, 23, 1, 50, 14, 55, 29, 0, 20, 29, 1, 52, 6, 44, -21, 1, 13, -19, 0, 13, 1, -18, -2, -35, -5, 1, -45, 4, -19, 30, 0, -36, 30, 1, -28, 28, -33, 21, 1, -46, 6, -41, -13, 1, -27, -17, -1, 0);
CB31 = new Array(0, 0, 50, 1447007, 100, -5, -17, 0, -5, 18, 0, -17, 18, 0, -17, 29, 0, 21, 29, 0, 21, 18, 0, 9, 18, 0, 9, -17, 0, -5, -17);
CB32 = new Array(0, 0, 30, 0, 30, 3, -17, 0, 4, 18, 0, 1, 24, 0, -8, 29, 0, 21, 29, 0, 21, 18, 0, 9, 18, 0, 9, -17, 0, 3, -17);
CB33 = new Array(0, 0, 50, 3417942, 100, -33, -39, 1, -1, 1, 35, -39, 1, 31, -20, 36, -12, 1, 56, 38, -2, 41, 1, -46, 37, -35, -12, 1, -29, -21, -33, -39);
CB34 = new Array(0, 0, 0, 0, 30, 2, -20, 1, 16, -19, 35, -40, 1, 31, -21, 36, -13, 1, 56, 37, -2, 40, 1, 17, 30, 23, 15, 1, 27, -5, 2, -20);
CB35 = new Array(0, 0, 50, 7015436, 100, -6, -23, 1, 4, -60, 12, -22, 1, 64, -40, 27, 8, 0, 49, 39, 0, -40, 39, 0, -22, 9, 1, -56, -39, -6, -23);
CB36 = new Array(0, 0, 0, 0, 30, 2, -41, 1, 6, -45, 12, -22, 1, 64, -40, 27, 8, 0, 49, 39, 0, 18, 39, 0, 4, 7, 1, 15, -10, 2, -41);
CB37 = new Array(0, 0, 50, 3284280, 100, 2, -39, 1, 33, -42, 42, -8, 1, 45, 18, 17, 0, 1, 12, 22, 42, 38, 1, 2, 47, -38, 38, 1, -7, 21, -15, -2, 1, -41, 17, -40, -7, 1, -28, -39, 2, -39);
CB38 = new Array(0, 0, 0, 0, 30, 2, -39, 1, 33, -42, 42, -8, 1, 45, 18, 17, 0, 1, 12, 22, 42, 38, 1, 18, 44, 2, 42, 1, -7, 21, 3, -5, 1, 17, -15, 8, -28, 1, -32, -37, 2, -39);
CB39 = new Array(0, 0, 50, 5713413, 100, 0, -24, 1, 52, -37, 35, 2, 1, 51, 52, 5, 39, 1, -48, 50, -32, 4, 1, -41, -32, 0, -24);
CB40 = new Array(0, 0, 0, 0, 30, -1, -24, 1, 51, -37, 34, 2, 1, 50, 52, 4, 39, 1, 23, 24, 9, 4, 1, 32, -13, -1, -24);
CB41 = new Array(0, 0, 50, 2518792, 100, -29, 40, 1, -13, 17, -33, 5, 1, -11, -6, -30, -32, 1, 5, -14, 35, -33, 1, 20, -17, 37, 5, 1, 12, 15, 34, 40, 0, -29, 40);
CB42 = new Array(0, 0, 0, 0, 30, 17, 40, 1, -4, 20, 16, 4, 1, 0, -7, 10, -24, 1, 14, -21, 35, -33, 1, 20, -17, 37, 5, 1, 12, 17, 34, 40, 0, 17, 40);
CB43 = new Array(0, 0, 50, 2839607, 100, -30, 45, 1, 43, 55, 28, 36, 1, 49, -6, 22, -13, 1, 33, -40, 5, -38, 1, -25, -40, -15, -13, 1, -39, -7, -23, 37, 1, -6, 44, 19, 38, 1, -6, 44, -23, 37, 1, -51, 36, -30, 45);
CB44 = new Array(0, 0, 0, 0, 30, -31, 45, 1, 42, 55, 27, 36, 1, 48, -6, 21, -13, 1, 32, -40, 4, -38, 1, 18, -23, 5, -13, 1, 29, 16, -7, 40, 1, 6, 42, 18, 38, 1, 6, 47, -20, 42, 1, -52, 36, -31, 45);
CB45 = new Array(0, 0, 50, 4144950, 100, -21, -15, 0, -13, 43, 0, 21, 43, 0, 29, -15, 0, 32, 25, 0, 49, 26, 0, 33, -33, 0, -25, -33, 0, -41, 26, 0, -24, 25, 0, -21, -15);
CB46 = new Array(0, 0, 0, 0, 30, 19, -7, 0, 9, 44, 0, 21, 44, 0, 29, -14, 0, 41, 26, 0, 49, 27, 0, 33, -32, 0, 12, -32, 0, 16, -23, 0, 18, -16, 0, 19, -7);
CB47 = new Array(0, 0, 50, 6952264, 100, 3, -23, 1, 25, -42, 38, -18, 1, 45, 1, 18, 45, 1, 2, 26, -18, 45, 1, -44, 1, -38, -17, 1, -25, -42, 3, -23);
CB48 = new Array(0, 0, 0, 0, 30, 4, -22, 1, 26, -41, 39, -17, 1, 46, 2, 19, 46, 1, 13, 38, 7, 37, 1, 20, 20, 23, 5, 1, 31, -21, 4, -22);
CB49 = new Array(0, 0, 50, 4457474, 100, -18, -9, 1, 0, 3, 16, -8, 1, 1, 34, -18, -9);
CB50 = new Array(0, 0, 50, 16777215, 100, -16, -7, 1, 0, 1, 13, -6, 0, 7, 2, 0, 4, -1, 0, 1, 3, 0, 0, -1, 0, -3, 2, 0, -6, -2, 0, -9, 1, 0, -16, -7);
CB51 = new Array(0, 0, 50, 9767428, 100, -6, -1, 1, 1, -18, 7, 0, 1, 0, 24, -6, -1);
CB52 = new Array(0, 0, 50, 4457474, 100, -5, -1, 1, 1, -11, 6, 0, 1, 0, 17, -5, -1);
CB53 = new Array(0, 0, 50, 16777215, 100, -22, -6, 1, 0, 8, 13, -7, 0, 18, 1, 1, -7, 16, -22, -6);
CB54 = new Array(0, 0, 50, 16777215, 100, -14, -2, 1, -11, 0, -6, 1, 0, -6, 7, 1, -1, 8, 3, 7, 0, 2, 0, 1, 6, -1, 8, -2, 0, 11, 5, 1, -2, 11, -14, 3, 0, -14, -2);
CB55 = new Array(0, 0, 50, 16777215, 100, -16, 0, 1, 4, -10, 16, 0, 0, 11, 11, 0, 10, 1, 1, 0, -7, -9, 1, 0, -11, 11, 0, -16, 0);
CB56 = new Array(0, 0, 50, 9832964, 100, -16, 0, 1, 4, -10, 16, 0, 0, 10, -3, 0, 10, 1, 1, 0, -7, -9, 1, 0, -10, -2, 0, -16, 0);
CB57 = new Array(0, 0, 50, 3605249, 100, -13, -1, 1, 0, -15, 12, -1, 1, 15, 11, -1, 10, 1, -14, 10, -13, -1);
CB58 = new Array(0, 0, 50, 7341827, 100, 3, 4, 1, 10, 4, 8, 15, 1, 8, 25, 3, 19, 1, 2, 4, -3, 10, 1, -9, 8, -3, 5, 1, -1, 3, 1, 6, 1, 1, 4, 3, 4);
CB59 = new Array(0, 0, 50, 7341827, 100, -14, 3, 1, 0, -10, 14, 4, 0, 9, 5, 1, 0, -5, -11, 5, 0, -14, 3);
CB60 = new Array(0, 0, 50, 2097664, 100, -8, 7, 1, 1, -5, 7, 7, 0, 5, 6, 1, 1, 0, -4, 6, 0, -8, 7);
CB61 = new Array(0, 0, 50, 16777215, 100, -12, -1, 1, 1, -15, 13, -1, 1, 16, 11, 0, 10, 1, -13, 10, -12, -1);
CB62 = new Array(0, 0, 50, 16777215, 100, -12, 2, 0, 13, 2, 1, 13, -3, 8, -5, 0, 9, 11, 1, 3, 11, 3, 11, 0, 3, -7, 1, 0, -8, -4, -7, 0, -4, 11, 1, -12, 8, -12, 2);
CB63 = new Array(0, 0, 50, 11012869, 100, -19, 2, 0, 12, -2, 1, 16, 14, 1, 4, 1, -4, 1, -19, 2);
CB64 = new Array(0, 0, 50, 16710908, 100, -20, 2, 0, 11, -2, 1, 14, 1, -2, 3, 1, -5, 1, -20, 2);
CB65 = new Array(0, 0, 50, 16777215, 100, -8, 13, 1, -1, -6, 14, 11, 1, 14, -9, -3, -4, 1, -13, 0, -8, 13);
CB66 = new Array(0, 7212631, 50, 9376625, 100, -3, 4, 1, 0, 0, 6, 3, 0, 7, -2, 1, -1, -4, -6, 0, 0, -3, 4);
CB67 = new Array(0, 0, 50, 16777215, 100, -10, -3, 1, 6, -20, 14, 0, 1, 14, 15, -1, 15, 1, -14, 13, -10, -3);
CB68 = new Array(0, 0, 20, 1577687, 100, 2, -4, 1, 11, 3, 3, 12, 1, -4, 3, 2, -4);
CB69 = new Array(0, 0, 50, 16777215, 100, -13, -1, 1, 1, 3, 14, -8, 1, 19, 14, 0, 17, 1, -16, 9, -13, -1);
CB70 = new Array(0, 0, 30, 10291204, 100, -3, 2, 0, -2, 15, 1, 10, 14, 7, 9, 0, 5, 0, 1, 6, 0, -3, 2);
CB71 = new Array(0, 0, 50, 16777215, 100, -16, 0, 1, -17, 20, 1, 20, 1, 21, 20, 20, 1, 1, 21, -15, 4, -16, 1, -11, -18, -16, 0);
CB72 = new Array(0, 0, 40, 498199, 100, -9, 3, 1, 1, -17, 12, 1, 1, 0, -6, -9, 3);
CB73 = new Array(0, 0, 50, 5371491, 100, 0, 9, 0, -4, 32, 0, -2, 32, 0, 3, 9, 1, 23, 9, 13, -14, 1, 0, -25, -9, -13, 1, -20, 2, 0, 9);
CB74 = new Array(0, 0, 50, 0, 100, -6, -9, 1, 1, -18, 4, -7, 1, -3, -2, -6, -9);
CB75 = new Array(0, 0, 50, 16777215, 100, -14, 4, 0, 2, 19, 0, 16, 4, 0, 2, -11, 0, -14, 4);
CB76 = new Array(0, 0, 60, 8947834, 100, -8, 5, 0, 3, 15, 0, 12, 4, 0, 2, -6, 0, -8, 5);
CB77 = new Array(0, 0, 50, 16334912, 100, -17, 8, 0, 17, -10, 1, 9, -1, 9, 5, 1, -1, 35, -17, 8);
CB78 = new Array(0, 0, 50, 0, 100, -9, 8, 0, 7, -1, 1, 0, 7, 1, 7, 1, -3, 24, -9, 8);
CB79 = new Array(0, 0, 50, 12301245, 100, -14, 8, 1, -9, -17, 6, -14, 1, 21, -12, 10, 17, 1, -1, 4, -14, 8);
CB80 = new Array(0, 16777215, 100, 16777215, 100, 4, -8, 1, 16, -10, 9, 8, 0, 4, 6, 1, 9, -5, 4, -8);
CB81 = new Array(0, 0, 50, 16777215, 100, -16, 8, 1, -2, -5, 8, 13, 1, 15, -3, -2, -5, 1, -18, -3, -16, 8);
CB82 = new Array(0, 7212631, 50, 9376625, 100, -6, 3, 1, -2, -1, 3, 4, 0, 4, -1, 1, -1, -4, -7, -2, 0, -6, 3);
CB83 = new Array(0, 0, 50, 16777215, 100, -12, -1, 1, 4, -18, 12, 2, 1, 12, 17, -3, 17, 1, -16, 15, -12, -1);
CB84 = new Array(0, 0, 20, 1577687, 100, 0, -3, 1, 9, 4, 1, 13, 1, -6, 4, 0, -3);
CB85 = new Array(0, 0, 50, 16777215, 100, -15, -10, 1, 1, 6, 15, -2, 1, 16, 14, -1, 15, 1, -21, 12, -15, -10);
CB86 = new Array(0, 0, 30, 10291204, 100, 3, 13, 0, 5, 3, 1, 0, 3, -4, 0, 0, -7, 10, 1, -5, 14, 3, 13);
CB87 = new Array(0, 0, 50, 16777215, 100, -17, -1, 1, -18, 19, 0, 19, 1, 20, 19, 19, 0, 1, 20, -16, 3, -17, 1, -12, -19, -17, -1);
CB88 = new Array(0, 0, 40, 498199, 100, -10, 1, 1, 3, -17, 12, 4, 1, 1, -6, -10, 1);
CB89 = new Array(0, 0, 50, 5371491, 100, 0, 6, 0, 7, 29, 0, 8, 28, 0, 3, 6, 1, 21, 2, 11, -19, 1, -3, -28, -13, -13, 1, -19, 4, 0, 6);
CB90 = new Array(0, 0, 50, 0, 100, -6, -9, 1, 1, -18, 4, -7, 1, -3, -2, -6, -9);
CB91 = new Array(0, 0, 50, 16777215, 100, -14, 3, 0, 2, 16, 0, 16, 1, 0, -1, -14, 0, -14, 3);
CB92 = new Array(0, 0, 60, 8947834, 100, -8, 3, 0, 2, 12, 0, 11, 1, 0, 0, -9, 0, -8, 3);
CB93 = new Array(0, 0, 50, 16334912, 100, -18, -15, 0, 19, 2, 1, -1, 34, -8, -2, 1, -10, -7, -18, -15);
CB94 = new Array(0, 0, 50, 0, 100, -6, -7, 0, 9, 2, 1, 0, 16, 0, -1, 1, -3, -3, -6, -7);
CB95 = new Array(0, 0, 50, 12301245, 100, -11, 15, 1, -17, -4, -5, -13, 1, 15, -17, 15, 11, 1, 5, 2, -11, 15);
CB96 = new Array(0, 16777215, 100, 16777215, 100, -1, -9, 1, 10, -11, 11, 5, 0, 3, 4, 1, 6, -5, -1, -9);
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
a_cmi = new ContextMenuItem("Play More Games!", 15);
b_cmi = new ContextMenuItem("Denvish Designs", 16);
d_cmi = new ContextMenuItem("Newgrounds", 17);
root_cm.customItems.push(a_cmi, b_cmi, d_cmi);
_root.menu = root_cm;
_root.s = new Sound();
_root.s.attachSound("atb");
_root.s.setVolume(100);
var 33 = SharedObject.getLocal("riser");
oldscore = 33.data.score;
pbscore = 33.data.score;
if (33.data.score == undefined) {
trace("NO RECORD");
oldscore = 0;
pbscore = 0;
33.data.score = 0;
33.flush();
}
Frame 4
function 22() {
createTextField("mht", 99999, 0, 0, SW, SH);
createTextField("cht", 99998, 0, 0, SW, SH);
createTextField("tb", 99997, 0, 15, SW, SH);
createTextField("ab", 99996, 0, 15, SW, SH);
createTextField("gover", 99994, 0, 100, SW, SH);
createTextField("fs", 99993, 0, 190, SW, SH);
mht.selectable = (cht.selectable = (gover.selectable = (tb.selectable = (ab.selectable = (fs.selectable = (rst.t.selectable = (wc.selectable = 0)))))));
}
function 26() {
_root.createEmptyMovieClip("ttlu", 239998);
_root.9(_root.TTB, _root.ttlu);
with (_root.ttlu) {
_width = 523;
_height = 203;
_rotation = 270;
_x = SW2;
_y = 246;
}
_root.createEmptyMovieClip("ttlp", 239999);
with (_root.ttlp) {
i = 700;
while (i > -200) {
j = 200;
while (i > -200) {
lineStyle(0, 16777215, 25);
moveTo(j, i);
curveTo(0, 160, 200, 160 + (i * 2));
moveTo(0, i);
curveTo(200, 160, 0, 160 + (i * 2));
i = i - 10;
}
i = i - 20;
}
}
_root.createEmptyMovieClip("ttl", 240000);
g = 1;
while (g < 10) {
_root.9(_root["TTS" + g], _root.ttl);
g++;
}
with (_root.ttl) {
_width = 523;
_height = 203;
_rotation = 270;
_x = SW2;
_y = 246;
}
_root.ttl.onPress = function () {
_root.ttlt.removeMovieClip();
_root.ttlb.removeMovieClip();
_root.ttlu.removeMovieClip();
_root.ttlp.removeMovieClip();
stopAllSounds();
_root.snd2.gotoAndPlay(15);
this.removeMovieClip();
};
_root.createEmptyMovieClip("ttlt", 240001);
with (_root.ttlt) {
createTextField("t", 1, 0, 5, SW, SH);
t.selectable = 0;
t.text = "DENVISH DESIGNS PRESENTS";
t.setTextFormat(df);
createTextField("u", 2, 0, 18, SW, SH);
u.selectable = 0;
u.text = "A PURE CODE GAME";
u.setTextFormat(bf);
}
_root.createEmptyMovieClip("ttlb", 240002);
with (_root.ttlb) {
createTextField("t", 1, 0, 30, SW, SH);
t.selectable = 0;
t.text = "SPONSORED BY ARMORGAMES.COM";
t.setTextFormat(ef);
_y = 470;
}
ttlb.onPress = function () {
getURL ("http://armorgames.com", "_blank");
};
_root.createEmptyMovieClip("ag", 239000);
with (_root.ag) {
createEmptyMovieClip("b", 1);
_root.9(_root.AGB, _root.ag);
createTextField("t", 2, 0, 2, SW, SH);
t.selectable = 0;
t.text = "PLAY MORE GAMES!";
t.setTextFormat(df);
_y = 500;
}
ag.onRollOver = function () {
this.t.setTextFormat(bf);
};
ag.onRollOut = (ag.onDragOut = (ag.onReleaseOutside = function () {
this.t.setTextFormat(df);
}));
ag.onPress = function () {
getURL ("http://denvish.net/flash", "_blank");
getURL ("http://armorgames.com", "_blank");
};
}
aTF = new TextFormat();
with (aTF) {
color = 16777113 /* 0xFFFF99 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
bTF = new TextFormat();
with (bTF) {
color = 16777113 /* 0xFFFF99 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "right";
}
cTF = new TextFormat();
with (cTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 30;
bold = 1;
align = "center";
}
dTF = new TextFormat();
with (dTF) {
color = 16777113 /* 0xFFFF99 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
eTF = new TextFormat();
with (eTF) {
color = 16763904 /* 0xFFCC00 */;
font = "Tahoma";
size = 11;
bold = 1;
align = "center";
}
fTF = new TextFormat();
with (fTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 12;
bold = 1;
align = "center";
}
af = new TextFormat();
with (af) {
color = 16777113 /* 0xFFFF99 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
bf = new TextFormat();
with (bf) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
cf = new TextFormat();
with (cf) {
color = 16777011 /* 0xFFFF33 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
df = new TextFormat();
with (df) {
color = 11431684 /* 0xAE6F04 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
ef = new TextFormat();
with (ef) {
color = 3355443 /* 0x333333 */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
gf = new TextFormat();
with (gf) {
color = 16596542 /* 0xFD3E3E */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
hf = new TextFormat();
with (hf) {
color = 52479;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
jf = new TextFormat();
with (jf) {
color = 52479;
font = "Tahoma";
size = 10;
bold = 1;
align = "left";
}
kf = new TextFormat();
with (kf) {
color = 65535;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
lf = new TextFormat();
with (lf) {
color = 0;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
26();
Frame 5
function 23() {
bgh = 120000 /* 0x01D4C0 */;
bgh2 = bgh / 2;
createEmptyMovieClip("bg", 2000);
with (bg) {
fillType = "linear";
colors = [16724736, 13763074, 5517825, 39168, 65535, 0];
alphas = [100, 100, 100, 100, 100, 100];
ratios = [0, 10, 63, 126, 192, 255];
matrix = {matrixType:"box", x:0, y:-bgh2, w:100, h:bgh, r:4.71};
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(-100, -bgh2);
lineTo(100, -bgh2);
lineTo(100, bgh2);
lineTo(-100, bgh2);
lineTo(-100, -bgh2);
endFill();
}
bg._x = 100;
bg._y = SH - (bg._height / 2);
bg.stpos = bg._y;
i = 1;
while (i < 75) {
_root.bg.createEmptyMovieClip("tr" + i, i + 10000);
n = 0;
while (n < 5) {
_root.9(_root["trp" + n], _root.bg["tr" + i]);
n++;
}
_root.bg["tr" + i]._alpha = 50;
_root.bg["tr" + i]._x = random(180) - 90;
_root.bg["tr" + i]._y = random(bgh) - bgh2;
_root.bg["tr" + i].w2 = _root.bg["tr" + i]._width / 2;
_root.bg["tr" + i].onEnterFrame = function () {
if (ball.sb == 4) {
if (((ball._x - 100) < (this._x + this.w2)) && ((ball._x - 100) > (this._x - this.w2))) {
if (((ball._y - _root.bg._y) < (this._y + this.w2)) && ((ball._y - _root.bg._y) > (this._y - this.w2))) {
if (!this.destroyed) {
_root.snd2.gotoAndPlay(11);
this.destroyed = 1;
_root.exhausted = 0;
_root.abonus = _root.abonus + 25;
ball._y = ball._y - (this._width * 3);
ball.vy = ball.vy * -1.5;
ball.vy = ball.vy - 15;
ball.sb = 5;
clearInterval(ping);
ball.vx = ball.vx + ((ball._x - 100) - this._x);
this._height = this._height * 0.5;
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
this._height = this._height * 0.8;
} else {
this.removeMovieClip();
}
};
}
}
}
}
};
i++;
}
i = 1;
while (i < 75) {
_root.bg.createEmptyMovieClip("abo" + i, i + 14000);
_root.bg["abo" + i].scr = 75 + random(325);
with (_root.bg["abo" + i]) {
createEmptyMovieClip("back", 1);
_root.9(_root.star, back);
back._xscale = (back._yscale = 70);
createTextField("tt", 13, -25, -8, 50, 15);
tt.selectable = 0;
tt.text = _root.bg["abo" + i].scr;
tt.setTextFormat(_root.dTF);
}
_root.bg["abo" + i]._x = random(180) - 90;
_root.bg["abo" + i]._y = random(bgh) - bgh2;
_root.bg["abo" + i].w2 = _root.bg["abo" + i]._width / 2;
_root.bg["abo" + i].onEnterFrame = function () {
if ((ball.sb > 1) && (ball.sb < 20)) {
if (((ball._x - 100) < (this._x + this.w2)) && ((ball._x - 100) > (this._x - this.w2))) {
if (((ball._y - _root.bg._y) < (this._y + this.w2)) && ((ball._y - _root.bg._y) > (this._y - this.w2))) {
if (!this.destroyed) {
this.destroyed = 1;
_root.snd2.gotoAndPlay(12);
_root.abonus = _root.abonus + this.scr;
_root.createEmptyMovieClip("txthld", 90100);
_root.txthld.createTextField("ab", 1, -50, -10, 100, 20);
_root.txthld.ab.selectable = 0;
_root.txthld.ab.text = "+" + this.scr;
_root.txthld.ab.setTextFormat(_root.fTF);
_root.txthld.onEnterFrame = function () {
this._x = _root.ball._x;
this._y = _root.ball._y - 30;
};
pang = setTimeout(function () {
_root.txthld.removeMovieClip();
}, 1500);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
this._width = this._width * 1.2;
this.tt.text = "";
this._height = this._width;
} else {
this.removeMovieClip();
}
};
}
}
}
}
};
i++;
}
i = 1;
while (i < 750) {
_root.bg.createEmptyMovieClip("prt" + i, i + 5000);
_root.9(_root["BGS" + random(3)], _root.bg["prt" + i]);
_root.bg["prt" + i]._xscale = random(100) + 50;
_root.bg["prt" + i]._yscale = random(100) + 50;
_root.bg["prt" + i]._rotation = random(360);
_root.bg["prt" + i]._alpha = random(20);
_root.bg["prt" + i]._x = random(180) - 90;
_root.bg["prt" + i]._y = random(bgh) - bgh2;
i++;
}
i = 1;
while (i < 500) {
_root.bg.createEmptyMovieClip("str" + i, i + 8000);
_root.bg["str" + i].lineStyle(2, 16777215, 100);
_root.bg["str" + i].moveTo(0, 0);
_root.bg["str" + i].lineTo(0, 0.2);
_root.bg["str" + i]._alpha = random(20) + 80;
_root.bg["str" + i]._xscale = (_root.bg["str" + i]._yscale = 100);
_root.bg["str" + i]._x = random(180) - 90;
_root.bg["str" + i]._y = random(bgh) - bgh2;
i++;
}
}
_root.onEnterFrame = function () {
if ((ball.sb > 2) && (ball.sb < 20)) {
ch = int((492 - ball._y) + (bg._y - bg.stpos));
if (ch > mh) {
mh = ch;
}
if (ch < 0) {
ch = 0;
}
cht.text = "HEIGHT: " + ch;
cht.setTextFormat(aTF);
mht.text = "MAX: " + mh;
mht.setTextFormat(bTF);
tbonus = tbonus + 2;
tb.text = "TIME BONUS: " + tbonus;
tb.setTextFormat(bTF);
ab.text = "BONUS: " + abonus;
ab.setTextFormat(aTF);
}
};
Frame 6
function 34() {
_root.9(_root.wing0, _root.ball.rw);
_root.9(_root.wing0, _root.ball.lw);
_root.ball.body.gin = 1;
_root.ball.body.onEnterFrame = function () {
if (this.gin) {
if (_root.ball.rw._xscale > 90) {
_root.ball.rw._xscale = _root.ball.rw._xscale - 20;
_root.ball.lw._xscale = _root.ball.lw._xscale + 20;
} else {
this.gin = 0;
}
} else if (_root.ball.rw._xscale < 140) {
_root.ball.rw._xscale = _root.ball.rw._xscale + 20;
_root.ball.lw._xscale = _root.ball.lw._xscale - 20;
} else {
this.gin = 1;
}
};
ball._rotation = 0;
}
function 5(_arg2, fs) {
_arg2._x = _arg2._x + (Key.isDown(68) * fs);
_arg2._x = _arg2._x + (Key.isDown(39) * fs);
_arg2._x = _arg2._x - (Key.isDown(65) * fs);
_arg2._x = _arg2._x - (Key.isDown(37) * fs);
if (Key.isDown(83) || (Key.isDown(40))) {
if ((_arg2._y + fs) > (SH * 0.9)) {
_arg2._y = SH * 0.9;
_root.bg._y = _root.bg._y - fs;
} else {
_arg2._y = _arg2._y + fs;
}
}
if (Key.isDown(87) || (Key.isDown(38))) {
if ((_arg2._y - fs) < (SH * 0.15)) {
_arg2._y = SH * 0.15;
_root.bg._y = _root.bg._y + fs;
} else {
_arg2._y = _arg2._y - fs;
}
}
_arg2.vx = _arg2._x - _arg2.oldX;
_arg2.oldX = _arg2._x;
_arg2.vy = (_arg2._y - _arg2.oldY) / 2;
_arg2.oldY = _arg2._y;
}
kl = new Object();
kl.onKeyDown = function () {
if ((((Key.getCode() == 32) && (ball.sb < 6)) && (ball.sb > 3)) && (!exhausted)) {
34();
ball.sb = 6;
exhausted = 1;
clearInterval(ping);
ping = setInterval(function () {
_root.ball.rw.clear();
_root.ball.lw.clear();
_root.ball.body.onEnterFrame = null;
ball.sb = 4;
clearInterval(ping);
}, 6000);
}
};
Key.addListener(kl);
Frame 7
function 20() {
24();
loadVariables ((l11l + lI11) + ".asp", hst);
}
function 24() {
_root.createEmptyMovieClip("hst", 1000005);
with (hst) {
hspace = 14;
beginFill(0, 50);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, (hspace * 253) + 5);
lineTo(0, (hspace * 253) + 5);
lineTo(0, 0);
endFill();
beginFill(0, 60);
lineStyle(0, 16777215, 80);
moveTo(5, 5);
lineTo(SW - 5, 5);
lineTo(SW - 5, (hspace * 252) + 5);
lineTo(5, (hspace * 252) + 5);
lineTo(5, 5);
endFill();
i = 5;
while (i < ((hspace * 253) + 5)) {
moveTo(5, i);
lineTo(SW - 5, i);
i = i + hspace;
}
hsa = new Array(5, 150, 195);
hsn = new Array("player", "score");
m = 0;
while (m < (hsa.length - 1)) {
krt = 7000;
hst.createTextField(hsn[m] + krt, (m * 250) + krt, hsa[m], 4.2, hsa[m + 1] - hsa[m], 15);
with (hst[hsn[m] + krt]) {
text = hsn[m].toUpperCase();
setTextFormat(af);
}
m++;
}
m = 0;
while (m < (hsa.length - 1)) {
krt = 0;
i = 5 + (2 * hspace);
while (i < ((hspace * 252) + 5)) {
krt++;
hst.createTextField(hsn[m] + krt, (m * 250) + krt, hsa[m], i - 0.6, hsa[m + 1] - hsa[m], hspace * 2);
with (hst[hsn[m] + krt]) {
selectable = 0;
text = "WAIT";
setTextFormat(af);
}
i = i + hspace;
}
moveTo(hsa[m + 1], 5);
lineTo(hsa[m + 1], (hspace * 252) + 5);
m++;
}
}
hst.onData = function () {
mi = 1;
while (mi < 251) {
this["player" + mi].text = this["inplayer" + mi];
this["score" + mi].text = this["inscore" + mi];
this["player" + mi].setTextFormat(bf);
this["score" + mi].setTextFormat(af);
mi++;
}
};
_root.createEmptyMovieClip("hsts", 1000006);
hsts.scrollspeed = 5;
hsts.sbcentre = 250;
hsts.stpos = hst._y;
hsts.sttopstop = (-hst._height) + 507.5;
hsts.stbotstop = hst._y;
with (hsts) {
beginFill(16711680, 20);
lineStyle(0, 0, 0);
moveTo(0, 0);
lineTo(_root.SW, 0);
lineTo(_root.SW, 500);
lineTo(0, 500);
lineTo(0, 0);
endFill();
}
hsts.onEnterFrame = function () {
with (this) {
if (this._visible) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
var 35 = ((_root._ymouse - sbcentre) / scrollspeed);
stpos = Math.round(stpos - 35);
}
if (stpos < sttopstop) {
stpos = sttopstop;
}
if (stpos > stbotstop) {
stpos = stbotstop;
}
_root.hst._y = stpos;
}
}
};
hsts.onPress = function () {
this._visible = 0;
hst._visible = 0;
if (!pss._visible) {
_root.psd = 0;
}
if (_root.gameover) {
_root.32();
}
};
}
function 25() {
_root.createEmptyMovieClip("SS", 999980);
9(SS1, SS);
SS._x = _root.SW2;
SS._y = _root.SH2;
SS.createTextField("sta", 41, -190, 20, 380, 300);
SS.sta.selectable = 0;
SS.createTextField("stb", 42, -190, -55, 380, 300);
SS.stb.selectable = 0;
SS.createTextField("stc", 43, -190, 95, 380, 300);
SS.stc.selectable = 0;
SS.createTextField("std", 44, -190, 160, 380, 300);
SS.std.selectable = 0;
SS.createTextField("ste", 45, -190, 180, 380, 300);
SS.ste.selectable = 0;
if ((_root.wintxt == 1) || (_root.wintxt == 2)) {
if (_root.wintxt == 1) {
SS.sta.text = "OMFG!!!!\r\rYOU'RE THE NEW R!SE\rWORLD RECORD HOLDER!!!!!";
SS.sta.setTextFormat(bf);
ptang = setInterval(function () {
new Color(SS.sta).setRGB(_root.C6[random(_root.C6.length)]);
}, 100);
} else {
SS.sta.text = "CONGRATULATIONS!\r\rYOU MADE IT ONTO\rTHE SCOREBOARD!";
SS.sta.setTextFormat(kf);
}
SS.stc.text = "PLEASE ENTER YOUR NAME";
SS.stc.setTextFormat(bf);
SS.createEmptyMovieClip("en", 51);
9(SEN, SS.en);
SS.en._y = 125;
SS.createTextField("sti", 52, -130, 117, 260, 30);
SS.sti.type = "input";
if (_root["33"].pname == undefined) {
SS.sti.text = "------";
} else {
SS.sti.text = _root["33"].pname;
}
SS.sti.setTextFormat(af);
SS.createEmptyMovieClip("sbt", 50);
9(SSS, SS.sbt);
SS.sbt._y = 160;
SS.sbt.createTextField("st", 1, -100, -8, 200, 30);
SS.sbt.st.selectable = 0;
SS.sbt.st.text = "SUBMIT";
SS.sbt.st.setTextFormat(bf);
SS.sti.onSetFocus = function () {
this.text = "";
};
SS.sti.onChanged = function () {
this.setTextFormat(bf);
};
if (score > oldscore) {
oldscore = score;
33.data.score = score;
33.flush();
}
_root.createEmptyMovieClip("rst", 9993);
rst.createTextField("t", 1, 0, SH - 15, SW, SH);
rst.t.selectable = 0;
rst.t.text = "RESET";
rst.t.setTextFormat(bTF);
rst.onPress = function () {
_root.32();
_root.SS.removeMovieClip();
_root.rst.removeMovieClip();
};
SS.sbt.onPress = function () {
if (_root.uT2005._x == undefined) {
yscore = _root.score;
yplayer = SS.sti.text;
_root["33"].pname = yplayer;
_root["33"].flush();
loadVariablesNum ((l11l + ll1I) + ".asp", 0, "POST");
SS.sbt._visible = (SS.sti._visible = (SS.en._visible = (SS.stc._visible = (_root.rst._visible = 0))));
SS.std.text = "SENDING DATA - 5 SECONDS.....";
SS.std.setTextFormat(af);
scs = 5;
pauser = setInterval(function () {
scs--;
SS.std.text = ("SENDING DATA - " + scs) + " SECONDS.....";
SS.std.setTextFormat(af);
if (scs < 1) {
clearInterval(pauser);
_root.31();
_root.32();
}
}, 1000);
}
};
} else if (_root.wintxt == 3) {
SS.sta.text = "YOU BEAT YOUR\rPERSONAL BEST\rOF " + oldscore;
SS.sta.setTextFormat(af);
SS.ste.text = "CLICK ANYWHERE TO RESET";
SS.ste.setTextFormat(bf);
oldscore = score;
33.data.score = score;
33.flush();
SS.onPress = function () {
_root.32();
this.removeMovieClip();
};
} else {
SS.sta.text = "\r\rBLAHHHH...\rTHAT WAS RUBBISH";
SS.sta.setTextFormat(ef);
SS.ste.text = "CLICK ANYWHERE TO RESET";
SS.ste.setTextFormat(bf);
SS.onPress = function () {
_root.32();
this.removeMovieClip();
};
}
}
function 31() {
SS.removeMovieClip();
20();
hst._visible = 1;
}
function 36() {
var 13 = 1;
if (_root._url.substr(0, 7) == "file://") {
if (!aloc) {
Set("13", 0);
}
}
if (!13) {
_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, 170, SW, SH);
gy.selectable = 0;
gy.text = "MAKE YOUR OWN GAME\r\rDON'T STEAL MINE";
gy.setTextFormat(af);
}
_root.w._visible = 0;
}
}
function 3() {
lI11 = 5;
i = C2.length - 1;
while (i > 0) {
lI11 = lI11 + (P2[i] + C2[i]);
i--;
}
C3 = new Array();
llI1 = 1;
i = 0;
while (i < 1000) {
llI1++;
if (llI1 > 86) {
llI1 = 1;
}
C3.push(llI1);
i++;
}
llI1 = 7;
i = 0;
while (i < 1000) {
llI1 = llI1 * C3[i];
i = i + 127;
}
gtr = new Array();
l11l = "";
while (P1.length > 0) {
f = P1.length;
gtr.splice(P1[f - 1], 0, P1.slice(f - 2, f - 1));
P1.splice(f - 2, 2);
}
i = 0;
while (i < gtr.length) {
l11l = l11l + gtr[i];
i++;
}
gi8 = new LoadVars();
gi8.onData = function (_arg1) {
tn = _arg1;
I1il = "";
ll1I = "";
l1Il = "";
IIl1 = "";
i = 102;
while (i <= 6000) {
I1il = I1il + tn.substr(i, 2);
i = i + 469;
}
i = 247;
while (i <= 6000) {
ll1I = ll1I + tn.substr(i, 2);
i = i + 284;
}
i = 567;
while (i <= 6000) {
l1Il = l1Il + tn.substr(i, 2);
i = i + 339;
}
i = 23;
while (i <= 6000) {
IIl1 = IIl1 + tn.substr(i, 1);
i = i + 64;
}
};
gi8.load((l11l + lI11) + ".txt");
}
36();
3();
20();
hst._visible = 0;
hsts._visible = 0;
Frame 8
function 21() {
_root.ccount = 0;
if ((_root["33"].data.C1N == 0) || (_root["33"].data.C1N == undefined)) {
} else {
_root.ldc = _root["33"].data.C1N.split(",");
_root.ldx = _root["33"].data.C1X.split(",");
_root.ldy = _root["33"].data.C1Y.split(",");
_root.ldcl = _root["33"].data.C1C.split(",");
_root.ccount++;
_root.createEmptyMovieClip("ct1", 90001);
_root.2(_root.ct1, 33);
}
if ((_root["33"].data.C2N == 0) || (_root["33"].data.C2N == undefined)) {
} else {
_root.ldc = _root["33"].data.C2N.split(",");
_root.ldx = _root["33"].data.C2X.split(",");
_root.ldy = _root["33"].data.C2Y.split(",");
_root.ldcl = _root["33"].data.C2C.split(",");
_root.ccount++;
_root.createEmptyMovieClip("ct2", 90002);
_root.2(_root.ct2, 66);
}
if ((_root["33"].data.C3N == 0) || (_root["33"].data.C3N == undefined)) {
} else {
_root.ldc = _root["33"].data.C3N.split(",");
_root.ldx = _root["33"].data.C3X.split(",");
_root.ldy = _root["33"].data.C3Y.split(",");
_root.ldcl = _root["33"].data.C3C.split(",");
_root.ccount++;
_root.createEmptyMovieClip("ct3", 90003);
_root.2(_root.ct3, 100);
}
if ((_root["33"].data.C4N == 0) || (_root["33"].data.C4N == undefined)) {
} else {
_root.ldc = _root["33"].data.C4N.split(",");
_root.ldx = _root["33"].data.C4X.split(",");
_root.ldy = _root["33"].data.C4Y.split(",");
_root.ldcl = _root["33"].data.C4C.split(",");
_root.ccount++;
_root.createEmptyMovieClip("ct4", 90004);
_root.2(_root.ct4, 133);
}
if ((_root["33"].data.C5N == 0) || (_root["33"].data.C5N == undefined)) {
} else {
_root.ldc = _root["33"].data.C5N.split(",");
_root.ldx = _root["33"].data.C5X.split(",");
_root.ldy = _root["33"].data.C5Y.split(",");
_root.ldcl = _root["33"].data.C5C.split(",");
_root.ccount++;
_root.createEmptyMovieClip("ct5", 90005);
_root.2(_root.ct5, 166);
}
_root.createEmptyMovieClip("choose", 90400);
_root.createEmptyMovieClip("dirarr", 90350);
with (_root.choose) {
createTextField("t", 1, 0, -10, SW, SH);
t.selectable = 0;
if (ccount > 0) {
t.text = "\r\r\r\r\r\r\r\r\r\r\r\rCHOOSE YOUR CREATURE";
t.setTextFormat(_root.eTF);
} else {
t.text = "\r\r\r\r\r\r\r\r\r\r\r\rNO CREATURES CREATED YET!\rClick the EDITOR button";
t.setTextFormat(_root.dTF);
}
_y = 10;
}
_root.createEmptyMovieClip("bte", 90401);
with (_root.bte) {
createTextField("t", 1, 0, -10, SW, SH);
t.selectable = 0;
t.text = " <<< EDITOR";
t.setTextFormat(_root.aTF);
_y = 492;
}
_root.bte.onPress = function () {
i = 1;
while (i < 6) {
_root["ct" + i].removeMovieClip();
i++;
}
_root.1();
};
_root.createEmptyMovieClip("bts", 90402);
with (_root.bts) {
createTextField("t", 1, 100, -10, SW2, SH);
t.selectable = 0;
t.text = "SCOREBOARD";
t.setTextFormat(_root.bTF);
_y = 492;
}
_root.bts.onPress = function () {
20();
};
}
function 2(27, 18) {
27.createEmptyMovieClip("back", 1);
27._x = 18;
27._y = 220;
_root.9(_root.DUB5, 27.back);
i = 1;
while (i < ldc.length) {
27.createEmptyMovieClip("part" + i, i + 10);
BUM = _root.ldc[i].substr(4);
POO = (BUM * 2) - 1;
WEE = POO + 1;
with (27["part" + i]) {
createEmptyMovieClip("back", 1);
createEmptyMovieClip("mid", 2);
createEmptyMovieClip("front", 3);
_root.10(_root["CB" + _root.POO], back);
_root.11(_root["CB" + _root.POO], mid);
_root.9(_root["CB" + _root.WEE], front);
new Color(back).setRGB(_root.ldcl[i]);
}
27["part" + i]._xscale = (27["part" + i]._yscale = 75);
27["part" + i]._x = _root.ldx[i] - 100;
27["part" + i]._y = _root.ldy[i] - 200;
27._xscale = (27._yscale = 40);
27.back.removeMovieClip();
i++;
}
27.onRelease = function () {
i = 1;
while (i < 6) {
if (i != this._name.substr(2)) {
_root["ct" + i].removeMovieClip();
}
i++;
}
this._xscale = (this._yscale = 30);
this._name = "ball";
this.swapDepths(90000);
this.onRelease = null;
_root.bte.removeMovieClip();
_root.bts.removeMovieClip();
with (_root.choose.t) {
_root.tipno++;
if (_root.tipno > 9) {
_root.tipno = 1;
}
text = "\rTHROW YOUR CREATURE!!!\r\rHOW TO THROW:\r\r1) Click and hold mouse to\rgrab your critter.\r\r2) Push mouse quickly, directly\raway from you (upwards),";
text = (((((((((((((text + newline) + "while still holding the button...") + newline) + newline) + newline) + newline) + newline) + newline) + newline) + newline) + newline) + newline) + newline) + newline;
text = (((((((text + "3) Release mouse button at") + newline) + "top of screen") + newline) + newline) + "---===+===0===+===---") + newline) + newline;
text = ((((((text + "Once launched, press SPACE") + newline) + "between bounces to fly for a") + newline) + "short distance, using ARROW") + newline) + "keys to steer";
text = ((((text + newline) + newline) + "TIP: ") + newline) + _root["TIP" + _root.tipno];
setTextFormat(_root.lf);
}
_root.9(_root.TTS2, _root.dirarr);
with (_root.dirarr) {
_xscale = 50;
_yscale = 70;
_rotation = 270;
_x = 100;
_y = 215;
_alpha = 60;
}
_root.4();
};
}
function 1() {
cbn = [0];
cbx = [0, 56, 54, 53, 56, 53, 53, 53, 54, 138, 137, 138, 136, 137, 137, 140, 139, 37, 77, 112, 158, 34, 76, 115, 157, 176, 130, 69, 111, 151, 86, 24, 41, 33, 167, 32, 165, 34, 182, 33, 180, 22, 182, 20, 180, 18, 167, 17, 166];
cby = [0, 341, 350, 370, 383, 392, 408, 417, 422, 344, 355, 366, 377, 390, 408, 417, 424, 59, 60, 60, 54, 101, 100, 100, 101, 300, 302, 315, 312, 311, 300, 311, 300, 242, 266, 265, 220, 160, 188, 201, 154, 238, 272, 272, 236, 172, 186, 211, 161];
cbc = [0];
_root.createEmptyMovieClip("edtr", 170000);
_root.edtr.createTextField("ttl", 169050, 0, 0, SW, 30);
with (_root.edtr.ttl) {
selectable = 0;
text = "- BUILD A CREATURE -";
setTextFormat(_root.eTF);
}
_root.edtr.createEmptyMovieClip("duhf", 169051);
with (_root.edtr.duhf) {
createTextField("t", 1, 0, 0, SW, 30);
t.selectable = 0;
t.text = "HELP";
t.setTextFormat(_root.bf);
_y = 15;
_x = -60;
}
_root.edtr.duhf.onPress = function () {
_root.edtr.createEmptyMovieClip("vhf", 189052);
_root.9(_root.DUH, _root.edtr.vhf);
with (_root.edtr.vhf) {
createTextField("t", 1, 10, 10, SW - 20, SH - 20);
t.selectable = 0;
t.text = "HELP\r\rDrag and drop various pieces\rto the orange box to\rcreate your creature.\r\r";
t.text = (((((t.text + "Any items touching or outside") + newline) + "the box outline will not be saved.") + newline) + newline) + newline;
t.text = (((((t.text + "When you have finished") + newline) + "building your creature, save it") + newline) + "in one of the five SAVE slots by") + newline;
t.text = ((((((((t.text + "clicking one of the numbers.") + newline) + newline) + "You can edit a saved creature by") + newline) + "clicking the relevant LOAD button.") + newline) + newline) + newline;
t.text = ((((((t.text + "The TIDY button will rearrange") + newline) + "items that are not touching the") + newline) + "orange box.") + newline) + newline;
t.text = ((((((t.text + "The REVERT button will return") + newline) + "ALL items to their original") + newline) + "positions and colours.") + newline) + newline;
t.text = (((((((t.text + "To clear a save slot, click") + newline) + "REVERT, then the relevant SAVE") + newline) + "slot number.") + newline) + newline) + newline;
t.text = (((((((t.text + "When you've finished building,") + newline) + "click the PLAY R!SE button to") + newline) + "start the game.") + newline) + newline) + newline;
t.text = ((t.text + "Click anywhere to") + newline) + "close this window";
t.setTextFormat(_root.bf);
}
_root.edtr.vhf.onPress = function () {
this.removeMovieClip();
};
};
_root.edtr.createEmptyMovieClip("crdt", 169053);
with (_root.edtr.crdt) {
createTextField("t", 1, 0, 0, SW, 30);
t.selectable = 0;
t.text = "CREDITS";
t.setTextFormat(_root.bf);
_y = 15;
_x = 60;
}
_root.edtr.crdt.onPress = function () {
_root.edtr.createEmptyMovieClip("crd", 189054);
_root.9(_root.DUH, _root.edtr.crd);
with (_root.edtr.crd) {
createTextField("t", 1, 10, 7, SW - 20, SH);
t.selectable = 0;
t.text = "CREDITS\r\rConcept, graphics & coding:\rDenvish\r\r";
t.text = (((((((((((((((t.text + "Audio (click to visit):") + newline) + newline) + newline) + newline) + newline) + "Idea for KILL button:") + newline) + "Mogly") + newline) + newline) + "Beta Testers:") + newline) + "Mogly") + newline) + "-hashbrown-";
t.text = ((((((((((t.text + newline) + "tomylee") + newline) + "JamesPrankardInc") + newline) + "KirkCocaine") + newline) + "sheffgb") + newline) + newline) + "This is a Pure Code game - all";
t.text = (((((t.text + newline) + "graphics are made with") + newline) + "Actionscript, using the Flash") + newline) + "drawing API. This means there";
t.text = (((((((t.text + newline) + "are no preconstructed graphics") + newline) + "in the library - everything is") + newline) + "created dynamically - thus") + newline) + "allowing the small filesize.";
t.text = (((((((t.text + newline) + newline) + "R!SE has taken about 6 weeks") + newline) + "from conception to completion.") + newline) + "There are 2000+ lines of ") + newline;
t.text = (((((t.text + "code, all of which were") + newline) + "written from scratch.") + newline) + newline) + "I hope you enjoy it =)";
t.text = ((((t.text + newline) + newline) + "Click anywhere to") + newline) + "close this window";
t.setTextFormat(_root.bf);
createEmptyMovieClip("ab1", 2);
createEmptyMovieClip("ab2", 3);
with (ab1) {
createTextField("t", 1, 10, 10, SW - 20, 18);
t.selectable = 0;
t.text = "pitters - rockabilly";
t.setTextFormat(_root.hf);
_y = 73;
}
with (ab2) {
createTextField("t", 1, 10, 10, SW - 20, 19);
t.selectable = 0;
t.text = "Klawd - Mario Bros: Water Stage";
t.setTextFormat(_root.hf);
_y = 90;
}
}
_root.edtr.crd.onPress = function () {
if (this.ab1.hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1515287&sub=45551", "_blank");
} else if (this.ab2.hitTest(_root._xmouse, _root._ymouse, true)) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1153700&sub=24981", "_blank");
} else {
this.removeMovieClip();
}
};
};
_root.28();
_root.6();
g = 1;
while (g < 5) {
_root.edtr.createEmptyMovieClip("dubg" + g, g + 129000);
_root.9(_root["DUB" + g], _root.edtr["dubg" + g]);
_root.edtr["dubg" + g]._x = 100;
_root.edtr["dubg" + g]._y = 200;
g++;
}
_root.edtr.createEmptyMovieClip("ttlp", 129010);
with (_root.edtr.ttlp) {
i = 700;
while (i > -200) {
j = 200;
while (i > -200) {
lineStyle(0, 16777215, 10);
moveTo(100, i);
curveTo(200, 160, j, 160 + (i * 2));
moveTo(100, i);
curveTo(0, 160, 0, 160 + (i * 2));
i = i - 10;
}
i = i - 20;
}
}
_root.edtr.createEmptyMovieClip("dubg5", 129011);
_root.9(_root.DUB5, _root.edtr.dubg5);
_root.edtr.dubg5._x = 100;
_root.edtr.dubg5._y = 200;
_root.edtr.createEmptyMovieClip("sv", 180000);
with (_root.edtr.sv) {
createTextField("t", 1, 33, -8, 100, 14);
t.selectable = 0;
t.text = "SAVE";
t.setTextFormat(_root.jf);
_y = 455;
}
g = 1;
while (g < 6) {
_root.edtr.createEmptyMovieClip("sb" + g, g + 179000);
_root.9(_root.SLB1, _root.edtr["sb" + g]);
with (_root.edtr["sb" + g]) {
createTextField("t", g, -6, -8, 14, 14);
t.selectable = 0;
t.text = g;
t.setTextFormat(_root.hf);
_x = 1 + (g * 16);
_y = 470;
}
_root.edtr["sb" + g].onRollOver = function () {
this.t.setTextFormat(bf);
};
_root.edtr["sb" + g].onRollOut = (_root.edtr["sb" + g].onDragOut = (_root.edtr["sb" + g].onReleaseOutside = function () {
this.t.setTextFormat(_root.hf);
}));
_root.edtr["sb" + g].onPress = function () {
_root.tbn = [0];
_root.tbx = [0];
_root.tby = [0];
_root.tbc = [0];
c = 1;
while (c < 49) {
_root.edtr["cbit" + c].GRR = 0;
h = 1;
while (h < 5) {
if (_root.edtr["cbit" + c].hitTest(_root.edtr["dubg" + h])) {
_root.edtr["cbit" + c].GRR++;
}
h++;
}
if (_root.edtr["cbit" + c].GRR < 1) {
_root.tbn.push(_root.edtr["cbit" + c]._name);
_root.tbx.push(_root.edtr["cbit" + c]._x);
_root.tby.push(_root.edtr["cbit" + c]._y);
_root.tbc.push(_root.edtr["cbit" + c].col);
}
c++;
}
if (this._name.substr(2) == "1") {
_root["33"].data.C1N = _root.tbn.toString();
_root["33"].data.C1X = _root.tbx.toString();
_root["33"].data.C1Y = _root.tby.toString();
_root["33"].data.C1C = _root.tbc.toString();
} else if (this._name.substr(2) == "2") {
_root["33"].data.C2N = _root.tbn.toString();
_root["33"].data.C2X = _root.tbx.toString();
_root["33"].data.C2Y = _root.tby.toString();
_root["33"].data.C2C = _root.tbc.toString();
} else if (this._name.substr(2) == "3") {
_root["33"].data.C3N = _root.tbn.toString();
_root["33"].data.C3X = _root.tbx.toString();
_root["33"].data.C3Y = _root.tby.toString();
_root["33"].data.C3C = _root.tbc.toString();
} else if (this._name.substr(2) == "4") {
_root["33"].data.C4N = _root.tbn.toString();
_root["33"].data.C4X = _root.tbx.toString();
_root["33"].data.C4Y = _root.tby.toString();
_root["33"].data.C4C = _root.tbc.toString();
} else if (this._name.substr(2) == "5") {
_root["33"].data.C5N = _root.tbn.toString();
_root["33"].data.C5X = _root.tbx.toString();
_root["33"].data.C5Y = _root.tby.toString();
_root["33"].data.C5C = _root.tbc.toString();
}
v = 1;
while (v < 6) {
_root.edtr["sb" + v]._visible = 0;
_root.edtr["lb" + v]._visible = 0;
v++;
}
_root.edtr.createTextField("svv", 190056, 0, 462, 200, 500);
_root.edtr.svv.selectable = 0;
_root.edtr.svv.text = "SAVED TO SLOT #" + this._name.substr(2);
_root.edtr.svv.setTextFormat(_root.bf);
clrsvv = setTimeout(function () {
_root.edtr.svv.text = "";
v = 1;
while (v < 6) {
_root.edtr["sb" + v]._visible = 1;
_root.edtr["lb" + v]._visible = 1;
v++;
}
}, 1000);
};
g++;
}
_root.edtr.createEmptyMovieClip("ld", 180001);
with (_root.edtr.ld) {
createTextField("t", 1, 135, -8, 100, 14);
t.selectable = 0;
t.text = "LOAD";
t.setTextFormat(_root.jf);
_y = 455;
}
g = 1;
while (g < 6) {
_root.edtr.createEmptyMovieClip("lb" + g, g + 179050);
_root.9(_root.SLB1, _root.edtr["lb" + g]);
with (_root.edtr["lb" + g]) {
createTextField("t", g, -6, -8, 14, 14);
t.selectable = 0;
t.text = g;
t.setTextFormat(_root.hf);
_x = 101 + (g * 16);
_y = 470;
}
_root.edtr["lb" + g].onRollOver = function () {
this.t.setTextFormat(bf);
};
_root.edtr["lb" + g].onRollOut = (_root.edtr["lb" + g].onDragOut = (_root.edtr["lb" + g].onReleaseOutside = function () {
this.t.setTextFormat(_root.hf);
}));
_root.edtr["lb" + g].onPress = function () {
_root.28();
if (this._name.substr(2) == "1") {
_root.tbn = _root["33"].data.C1N.split(",");
_root.tbx = _root["33"].data.C1X.split(",");
_root.tby = _root["33"].data.C1Y.split(",");
_root.tbc = _root["33"].data.C1C.split(",");
} else if (this._name.substr(2) == "2") {
_root.tbn = _root["33"].data.C2N.split(",");
_root.tbx = _root["33"].data.C2X.split(",");
_root.tby = _root["33"].data.C2Y.split(",");
_root.tbc = _root["33"].data.C2C.split(",");
} else if (this._name.substr(2) == "3") {
_root.tbn = _root["33"].data.C3N.split(",");
_root.tbx = _root["33"].data.C3X.split(",");
_root.tby = _root["33"].data.C3Y.split(",");
_root.tbc = _root["33"].data.C3C.split(",");
} else if (this._name.substr(2) == "4") {
_root.tbn = _root["33"].data.C4N.split(",");
_root.tbx = _root["33"].data.C4X.split(",");
_root.tby = _root["33"].data.C4Y.split(",");
_root.tbc = _root["33"].data.C4C.split(",");
} else if (this._name.substr(2) == "5") {
_root.tbn = _root["33"].data.C5N.split(",");
_root.tbx = _root["33"].data.C5X.split(",");
_root.tby = _root["33"].data.C5Y.split(",");
_root.tbc = _root["33"].data.C5C.split(",");
}
c = 1;
while (c < _root.tbn.length) {
_root.edtr[_root.tbn[c]]._x = _root.tbx[c];
_root.edtr[_root.tbn[c]]._y = _root.tby[c];
_root.edtr[_root.tbn[c]].col = _root.tbc[c];
new Color(_root.edtr[_root.tbn[c]].back).setRGB(_root.tbc[c]);
c++;
}
};
g++;
}
_root.edtr.createEmptyMovieClip("tidy", 180008);
_root.edtr.createEmptyMovieClip("rstdu", 180009);
_root.9(_root.TRB1, _root.edtr.tidy);
_root.9(_root.TRB1, _root.edtr.rstdu);
with (_root.edtr.tidy) {
createTextField("t", 1, -25, -8, 50, 14);
t.selectable = 0;
t.text = "TIDY";
t.setTextFormat(_root.hf);
_y = 488;
_x = 35;
}
_root.edtr.tidy.onRollOver = function () {
this.t.setTextFormat(bf);
};
_root.edtr.tidy.onRollOut = (_root.edtr.tidy.onDragOut = (_root.edtr.tidy.onReleaseOutside = function () {
this.t.setTextFormat(hf);
}));
_root.edtr.tidy.onPress = function () {
_root.37(1);
};
with (_root.edtr.rstdu) {
createTextField("t", 1, -23.5, -8, 50, 14);
t.selectable = 0;
t.text = "REVERT";
t.setTextFormat(_root.hf);
_y = 488;
_x = 88;
}
_root.edtr.rstdu.onRollOver = function () {
this.t.setTextFormat(bf);
};
_root.edtr.rstdu.onRollOut = (_root.edtr.rstdu.onDragOut = (_root.edtr.rstdu.onReleaseOutside = function () {
this.t.setTextFormat(hf);
}));
_root.edtr.rstdu.onPress = function () {
_root.37(0);
};
_root.edtr.createEmptyMovieClip("plyrs", 180010);
_root.9(_root.TRB1, _root.edtr.plyrs);
with (_root.edtr.plyrs) {
_width = 60;
createTextField("t", 1, -34, -8, 70, 14);
t.selectable = 0;
t.text = "PLAY R!SE";
t.setTextFormat(_root.hf);
_y = 488;
_x = 158;
}
_root.edtr.plyrs.onRollOver = function () {
this.t.setTextFormat(bf);
};
_root.edtr.plyrs.onRollOut = (_root.edtr.plyrs.onDragOut = (_root.edtr.plyrs.onReleaseOutside = function () {
this.t.setTextFormat(hf);
}));
_root.edtr.plyrs.onPress = function () {
_root.edtr._visible = 0;
_root.21();
};
}
function 6() {
z = 1;
while (z < 31) {
_root.edtr.createEmptyMovieClip("cp" + z, 140000 + z);
_root.edtr["cp" + z].colu = _root.C6[z];
with (_root.edtr["cp" + z]) {
createEmptyMovieClip("back", 1);
createEmptyMovieClip("front", 2);
_root.9(_root.CLP1, back);
_root.9(_root.CLP2, front);
new Color(back).setRGB(_root.edtr["cp" + z].colu);
if (z < 11) {
_y = 260;
_x = 45 + (z * 10);
} else if (z < 21) {
_y = 270;
_x = (z * 10) - 55;
} else {
_y = 280;
_x = (z * 10) - 155;
}
}
_root.edtr["cp" + z].onPress = function () {
_root.edtr["cbit" + _root.curr].col = this.colu;
new Color(_root.edtr["cbit" + _root.curr].back).setRGB(_root.edtr["cbit" + _root.curr].col);
};
z++;
}
}
function 28() {
c = 1;
while (c < 49) {
_root.edtr.createEmptyMovieClip("cbit" + c, c + 170000);
d = (c * 2) - 1;
e = d + 1;
_root.edtr["cbit" + c].col = _root["CB" + d][3];
with (_root.edtr["cbit" + c]) {
createEmptyMovieClip("back", 1);
createEmptyMovieClip("mid", 2);
createEmptyMovieClip("front", 3);
_root.10(_root["CB" + d], back);
_root.11(_root["CB" + d], mid);
_root.9(_root["CB" + e], front);
_x = _root.cbx[c];
_y = _root.cby[c];
_xscale = (_yscale = 75);
_root.cbn.push(_root.edtr["cbit" + c]);
_root.cbc.push(_root.edtr["cbit" + c].col);
}
_root.edtr["cbit" + c].onPress = function () {
startDrag (this);
_root.curr = this._name.substr(4);
_root.onMouseUp = function () {
stopDrag();
_root.onMouseUp = null;
};
};
_root.edtr["cbit" + c].onRelease = function () {
};
c++;
}
}
function 37(_arg2) {
c = 1;
while (c < 49) {
if (_arg2) {
if (!_root.cbn[c].hitTest(_root.edtr.dubg5)) {
_root.cbn[c]._x = _root.cbx[c];
_root.cbn[c]._y = _root.cby[c];
}
} else {
_root.cbn[c]._x = _root.cbx[c];
_root.cbn[c]._y = _root.cby[c];
_root.cbn[c].col = _root.cbc[c];
new Color(_root.cbn[c].back).setRGB(_root.cbn[c].col);
}
c++;
}
}
1();
Frame 9
function 4() {
bxvel = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
byvel = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
ball.createEmptyMovieClip("body", 3);
ball.createEmptyMovieClip("lw", 1);
ball.createEmptyMovieClip("rw", 2);
ball.lw._xscale = -100;
ball._x = SW / 2;
ball._y = SH - (ball._height / 2);
ball.vy = 0;
ball.vx = 0;
ball.thrown = 0;
ball.sb = 0;
ball.gravity = 2;
ball.fs = 0;
ball.fts = 5;
ball.killed = 0;
ball.onEnterFrame = function () {
with (this) {
if (!killed) {
if ((sb > 2) && (sb < 20)) {
if (_x < (_width / 2)) {
_x = _width / 2;
vx = vx * -0.8;
}
if (_x > (_root.SW - (_width / 2))) {
_x = _root.SW - (_width / 2);
vx = vx * -0.8;
}
if (sb != 6) {
fs = 0;
if (vy > 0) {
sb = 4;
} else {
sb = 5;
}
}
}
if (sb == 1) {
_x = _root._xmouse;
_y = _root._ymouse;
vx = _x - oldX;
vy = (_y - oldY) / 2;
oldX = _x;
oldY = _y;
if (_y > SH) {
_y = SH - (_height / 2);
}
if (((_x > SW) || (_x < 0)) || (_y < 0)) {
stopAllSounds();
_root.snd2.gotoAndPlay(2);
sb = 2;
}
} else if (sb == 2) {
sb = 3;
_root.createEmptyMovieClip("rst", 9993);
_root.rst.createTextField("t", 1, 0, SH - 15, SW, SH);
_root.rst.t.selectable = 0;
rst.t.text = "RESET";
_root.rst.t.setTextFormat(bTF);
_root.rst.onPress = function () {
_root.32();
_root.SS.removeMovieClip();
_root.rst.removeMovieClip();
};
_root.createEmptyMovieClip("kll", 9994);
_root.kll.createTextField("t", 1, 0, SH - 15, SW / 2, SH);
_root.kll.t.selectable = 0;
kll.t.text = "KILL";
_root.kll.t.setTextFormat(aTF);
_root.kll.onPress = function () {
_root.ball.killed = 1;
_root.kll.removeMovieClip();
};
} else if (sb == 3) {
vy = vy + gravity;
_y = _y + vy;
_x = _x + vx;
} else if (sb == 4) {
_rotation = this.vx * -2;
vy = vy + gravity;
if (vy > 50) {
vy = 50;
}
_x = _x + vx;
if (_root.bg._y > (_root.bg.stpos + vy)) {
if ((_y + vy) > (SH * 0.9)) {
_y = SH * 0.9;
_root.bg._y = _root.bg._y - vy;
} else {
_y = _y + vy;
}
} else if (_y > (_root.SH - (_height / 2))) {
_root.7(vy, 1);
_root.rst.removeMovieClip();
_rotation = 0;
sb = 20;
vy = 0;
_y = _root.SH - (_height / 2);
_root.bg._y = _root.bg.stpos;
} else {
_y = _y + vy;
}
} else if (sb == 5) {
_rotation = this.vx * 2;
vy = vy + gravity;
_x = _x + vx;
if ((_y + vy) < (SH * 0.15)) {
_y = SH * 0.15;
_root.bg._y = _root.bg._y - vy;
} else {
_y = _y + vy;
}
} else if (sb == 6) {
if (fs == 0) {
vy = 0;
}
if (fs < fts) {
fs = fs + 0.15;
} else if (fs > 0) {
fs = fs - 0.1;
}
_root.5(this, fs);
}
} else {
this.onEnterFrame = null;
_root.7(50, 0);
}
}
bxvel.pop();
bxvel.unshift(ball.vx);
byvel.pop();
((ball.vy < -50) ? (byvel.unshift(-50)) : (byvel.unshift(ball.vy)));
bxp.pop();
bxp.unshift(ball._x);
byp.pop();
byp.unshift(ball._y);
if (!_root.ball.killed) {
if (this.sb < 20) {
k = 1;
while (k < 9) {
_root.createEmptyMovieClip("b" + k, 88888 - k);
_root["b" + k].lineStyle(3, 16777215, 100);
m = 1;
while (m < 9) {
if (ball.vy > 0) {
bdy = (random(byvel[m]) - (byvel[m] / 2)) + (random(10) - 5);
} else if (ball.vy < 0) {
bdy = (random(-byvel[m]) + (byvel[m] / 2)) - (random(10) - 5);
} else {
bdy = random(10) - 5;
}
if (ball.vx > 0) {
bdx = (random(bxvel[m]) - (bxvel[m] / 2)) + (random(10) - 5);
} else if (ball.vx < 0) {
bdx = (random(-bxvel[m]) + (bxvel[m] / 2)) + (random(10) - 5);
} else {
bdx = random(10) - 5;
}
_root["b" + k].moveTo(bdx, bdy);
_root["b" + k].lineTo(bdx, bdy + 0.2);
m++;
}
spy = 0;
spx = 0;
n = 1;
while (n < (k + 1)) {
spy = spy + byvel[n];
n++;
}
n = 1;
while (n < (k + 1)) {
spx = spx + bxvel[n];
n++;
}
_root["b" + k]._y = this._y - spy;
_root["b" + k]._x = this._x - spx;
_root["b" + k]._alpha = 100 - (k * 11);
_root["b" + k].cacheAsBitmap = 1;
k++;
}
}
}
};
ball.onPress = function () {
if (this.sb == 0) {
_root.choose.removeMovieClip();
_root.dirarr.removeMovieClip();
this.sb = 1;
ball.onPress = null;
}
};
ball.onRelease = (ball.onReleaseOutside = function () {
if (this.sb < 3) {
stopAllSounds();
_root.snd2.gotoAndPlay(2);
this.sb = 2;
}
});
}
function 7(_arg3, _arg4) {
stopAllSounds();
_root.snd2.gotoAndPlay(3);
_root.kll.removeMovieClip();
w = 1;
while (w < 9) {
_root["b" + w].removeMovieClip();
w++;
}
w = 1;
while (w < 50) {
_root.bg["abo" + w].removeMovieClip();
w++;
}
w = 1;
while (w < 50) {
_root.bg["tr" + w].removeMovieClip();
w++;
}
if (_arg4) {
_root.createEmptyMovieClip("corpse", 6666);
n = 0;
while (n < 9) {
9(_root["crd" + n], corpse);
n++;
}
corpse._width = 40;
corpse._height = 12;
corpse._x = ball._x;
corpse._y = (SH - (corpse._height / 2)) + 2;
ball._alpha = 0;
deadp = setTimeout(function () {
ball._alpha = 50;
9(halo1, ball.body);
9(halo2, ball.body);
34();
_root.ball.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 0.5;
this._y = this._y - 5;
} else {
this.onEnterFrame = null;
_root.12();
_root.corpse.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
this.onEnterFrame = null;
this.removeMovieClip();
}
};
this.removeMovieClip();
}
};
}, 400);
}
scnt = 297800 /* 0x048B48 */;
while (scnt < 297860) {
_root.createEmptyMovieClip("spk" + scnt, scnt);
_root["spk" + scnt].lineStyle(random(3) + 3, _root.C5[random(_root.C5.length)], 100);
_root["spk" + scnt].moveTo(0, 0);
_root["spk" + scnt].lineTo(1, 0);
_root["spk" + scnt]._xscale = 50 + random(100);
_root["spk" + scnt]._alpha = random(50) + 50;
_root["spk" + scnt]._x = ball._x;
_root["spk" + scnt]._y = ball._y;
_root["spk" + scnt].xvel = (random(int(_arg3)) - (_arg3 / 2)) / 2;
_root["spk" + scnt].yvel = (-random(int(_arg3 * 2))) / 10;
_root["spk" + scnt]._rotation = random(360);
_root["spk" + scnt].onEnterFrame = function () {
this._x = this._x + this.xvel;
if (this._x > _root.SW) {
this._x = _root.SW;
}
if (this._x < 0) {
this._x = 0;
}
this.yvel = this.yvel + 0.5;
this._y = this._y + this.yvel;
if (this._y > ((_root.SH + this._width) + 20)) {
this.removeMovieClip();
}
};
scnt++;
}
if (!_arg4) {
_root.ball._visible = 0;
_root.ball.onEnterFrame = function () {
blct = 0;
bcnt = 297800 /* 0x048B48 */;
while (bcnt < 297860) {
if (_root["spk" + bcnt]._x != undefined) {
blct++;
}
bcnt++;
}
if (blct < 1) {
this.onEnterFrame = null;
_root.12();
this.removeMovieClip();
}
};
}
}
function 12() {
gover.text = "GAME\rOVER";
gover.setTextFormat(cTF);
score = int((mh + abonus) + tbonus);
fs.text = (((((("MAX HEIGHT: " + mh) + newline) + "BONUS: ") + abonus) + newline) + "TIME BONUS: ") + tbonus;
fs.text = (((fs.text + newline) + newline) + "FINAL SCORE: ") + score;
fs.setTextFormat(dTF);
if (score >= hst.score1.text) {
_root.wintxt = 1;
} else if (score >= hst.score250.text) {
_root.wintxt = 2;
} else if (score > oldscore) {
_root.wintxt = 3;
_root.rst.removeMovieClip();
} else {
_root.wintxt = 4;
_root.rst.removeMovieClip();
}
_root.25();
}
function 32() {
_root.rst.t.text = "";
tbonus = 0;
abonus = 0;
mh = 0;
exhausted = 0;
score = 0;
ball.removeMovieClip();
corpse.removeMovieClip();
rst.removeMovieClip();
kll.removeMovieClip();
k = 1;
while (k < 9) {
_root["b" + k].removeMovieClip();
k++;
}
clearInterval(ptang);
21();
23();
22();
stopAllSounds();
if (_root.ttl._x == undefined) {
_root.snd2.gotoAndPlay(15);
}
36();
}
_root.SDD.removeMovieClip();
32();
Frame 10
stop();
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 2
gotoAndStop (1);
Symbol 7 MovieClip Frame 5
gotoAndStop (1);
Symbol 7 MovieClip Frame 11
gotoAndStop (1);
Symbol 7 MovieClip Frame 12
gotoAndStop (1);
Symbol 7 MovieClip Frame 15
gotoAndStop (1);