Frame 1
levelNo = 0;
txtTotalBytes = Math.round(getBytesTotal() / 1024);
Stage.showMenu = false;
stop();
Frame 2
function removeAttachedMCsPTM(platform, thoughForm, missile) {
if (platform) {
i = platformArr.length;
while ((i--) > 0) {
targ = eval (platformArr[i].targ);
removeMovieClip(targ);
}
}
if (thoughForm) {
i = thoughFormArr.length;
while ((i--) > 0) {
targ = eval (thoughFormArr[i].targ);
removeMovieClip(targ);
}
}
if (missile) {
i = missileArr.length;
while ((i--) > 0) {
targ = eval (missileArr[i].targ);
removeMovieClip(targ);
}
}
}
function Missile(type, px, py, vx, vy) {
if (missileArr.length == 0) {
missileNo = 0;
}
attachMovie("missile", "m" + missileNo, missileNo + 110);
m = eval ("m" + missileNo);
m._x = px;
m._y = py;
missileNo++;
this.targ = m;
this.type = type;
this.vx = vx;
this.vy = vy;
trace("Missile " + vy);
}
function MovingPlatform(targ) {
this.targ = targ;
trace("moving platform -- : " + targ);
}
function Enemy(targ, type) {
this.targ = targ;
this.type = type;
trace("CREATING ENEMY -- : " + targ);
}
function Level(firstFrameNo, bossSubLevelNo) {
this.firstFrameNo = firstFrameNo;
this.bossSubLevelNo = bossSubLevelNo;
}
function Platform(x, y, w, h) {
x = int(x);
y = int(y);
w = int(w);
h = int(h);
no = platformArr.length + 1;
attachMovie("Platform", "p" + no, no + 1000);
currPlatform = eval ("p" + no);
currPlatform._x = x;
currPlatform._y = y;
currPlatform._width = w;
currPlatform._height = h;
currPlatform._visible = false;
this.targ = "p" + no;
this.x = x;
this.y = y;
this.w = w;
this.h = h;
}
function ThoughtForm(subLevelNo, x, y, col) {
no = thoughFormArr.length + 1;
this.targ = "tf" + no;
this.subLevelNo = subLevelNo;
this.x = x;
this.y = y;
this.col = col;
this.pickedUp = false;
trace(((((((("thoughFormArr.push(new ThoughtForm(" + subLevelNo) + ", ") + x) + ", ") + y) + ", \"") + col) + "\"))");
}
function levelInit() {
txt_pLnoOfLives = pLnoOfLives;
subLevelNo = 1;
thoughFormArr = [];
deadShooterEnemyArr = [];
trace(("Level " + levelNo) + " TF's");
switch (levelNo) {
case 1 :
thoughFormArr.push(new ThoughtForm(1, 175, 322, "black"));
thoughFormArr.push(new ThoughtForm(1, 393, 153, "pink"));
thoughFormArr.push(new ThoughtForm(1, 349, 153, "pink"));
thoughFormArr.push(new ThoughtForm(1, 509, 223, "pink"));
thoughFormArr.push(new ThoughtForm(1, 307, 152, "pink"));
thoughFormArr.push(new ThoughtForm(1, 58, 109, "blue"));
thoughFormArr.push(new ThoughtForm(1, 32, 110, "pink"));
thoughFormArr.push(new ThoughtForm(1, 467, 116, "pink"));
thoughFormArr.push(new ThoughtForm(1, 163, 231, "pink"));
thoughFormArr.push(new ThoughtForm(2, 257, 260, "pink"));
thoughFormArr.push(new ThoughtForm(2, 517, 258, "pink"));
thoughFormArr.push(new ThoughtForm(2, 395, 77, "pink"));
thoughFormArr.push(new ThoughtForm(2, 534, 102, "pink"));
thoughFormArr.push(new ThoughtForm(2, 293, 261, "pink"));
thoughFormArr.push(new ThoughtForm(2, 284, 52, "blue"));
thoughFormArr.push(new ThoughtForm(2, 59, 58, "pink"));
thoughFormArr.push(new ThoughtForm(2, 121, 205, "pink"));
thoughFormArr.push(new ThoughtForm(3, 245, 229, "pink"));
thoughFormArr.push(new ThoughtForm(3, 342, 230, "pink"));
thoughFormArr.push(new ThoughtForm(3, 145, 63, "pink"));
thoughFormArr.push(new ThoughtForm(3, 533, 155, "pink"));
thoughFormArr.push(new ThoughtForm(3, 432, 228, "pink"));
thoughFormArr.push(new ThoughtForm(3, 353, 58, "pink"));
thoughFormArr.push(new ThoughtForm(3, 35, 223, "pink"));
thoughFormArr.push(new ThoughtForm(4, 317, 173, "pink"));
thoughFormArr.push(new ThoughtForm(4, 376, 294, "pink"));
thoughFormArr.push(new ThoughtForm(4, 216, 173, "pink"));
thoughFormArr.push(new ThoughtForm(4, 34, 225, "pink"));
thoughFormArr.push(new ThoughtForm(4, 504, 250, "pink"));
thoughFormArr.push(new ThoughtForm(4, 290, 44, "pink"));
thoughFormArr.push(new ThoughtForm(4, 158, 293, "pink"));
thoughFormArr.push(new ThoughtForm(4, 488, 104, "blue"));
thoughFormArr.push(new ThoughtForm(5, 371, 253, "pink"));
thoughFormArr.push(new ThoughtForm(5, 68, 216, "pink"));
thoughFormArr.push(new ThoughtForm(5, 194, 187, "pink"));
thoughFormArr.push(new ThoughtForm(5, 436, 141, "pink"));
thoughFormArr.push(new ThoughtForm(5, 528, 236, "pink"));
thoughFormArr.push(new ThoughtForm(5, 194, 244, "pink"));
thoughFormArr.push(new ThoughtForm(5, 196, 293, "pink"));
thoughFormArr.push(new ThoughtForm(5, 196, 138, "blue"));
thoughFormArr.push(new ThoughtForm(6, 452, 59, "pink"));
thoughFormArr.push(new ThoughtForm(6, 345, 258, "pink"));
thoughFormArr.push(new ThoughtForm(6, 128, 49, "pink"));
thoughFormArr.push(new ThoughtForm(6, 516, 261, "pink"));
thoughFormArr.push(new ThoughtForm(6, 245, 255, "pink"));
thoughFormArr.push(new ThoughtForm(6, 336, 62, "pink"));
thoughFormArr.push(new ThoughtForm(6, 76, 223, "pink"));
thoughFormArr.push(new ThoughtForm(7, 459, 255, "pink"));
thoughFormArr.push(new ThoughtForm(7, 376, 258, "pink"));
thoughFormArr.push(new ThoughtForm(7, 268, 61, "pink"));
thoughFormArr.push(new ThoughtForm(7, 52, 41, "pink"));
thoughFormArr.push(new ThoughtForm(7, 504, 298, "pink"));
thoughFormArr.push(new ThoughtForm(7, 336, 60, "pink"));
thoughFormArr.push(new ThoughtForm(7, 106, 199, "pink"));
thoughFormArr.push(new ThoughtForm(8, 193, 213, "pink"));
thoughFormArr.push(new ThoughtForm(8, 318, 76, "pink"));
thoughFormArr.push(new ThoughtForm(8, 194, 93, "pink"));
thoughFormArr.push(new ThoughtForm(8, 460, 225, "pink"));
thoughFormArr.push(new ThoughtForm(8, 424, 50, "pink"));
thoughFormArr.push(new ThoughtForm(8, 424, 128, "pink"));
thoughFormArr.push(new ThoughtForm(8, 370, 225, "pink"));
thoughFormArr.push(new ThoughtForm(8, 15, 142, "violet"));
thoughFormArr.push(new ThoughtForm(8, 273, 143, "life"));
thoughFormArr.push(new ThoughtForm(9, 437, 85, "pink"));
thoughFormArr.push(new ThoughtForm(9, 269, 40, "pink"));
thoughFormArr.push(new ThoughtForm(9, 93, 192, "pink"));
thoughFormArr.push(new ThoughtForm(9, 401, 163, "pink"));
thoughFormArr.push(new ThoughtForm(9, 151, 194, "pink"));
thoughFormArr.push(new ThoughtForm(9, 540, 48, "blue"));
thoughFormArr.push(new ThoughtForm(9, 302, 230, "pink"));
thoughFormArr.push(new ThoughtForm(9, 129, 46, "pink"));
thoughFormArr.push(new ThoughtForm(10, 79, 238, "pink"));
thoughFormArr.push(new ThoughtForm(10, 184, 63, "pink"));
thoughFormArr.push(new ThoughtForm(10, 455, 220, "pink"));
thoughFormArr.push(new ThoughtForm(10, 369, 76, "pink"));
thoughFormArr.push(new ThoughtForm(10, 265, 255, "pink"));
thoughFormArr.push(new ThoughtForm(10, 47, 110, "pink"));
break;
case 2 :
thoughFormArr.push(new ThoughtForm(1, 123, 154, "pink"));
thoughFormArr.push(new ThoughtForm(1, 522, 231, "pink"));
thoughFormArr.push(new ThoughtForm(1, 276, 142, "pink"));
thoughFormArr.push(new ThoughtForm(1, 137, 329, "pink"));
thoughFormArr.push(new ThoughtForm(1, 185, 329, "pink"));
thoughFormArr.push(new ThoughtForm(1, 447, 173, "black"));
thoughFormArr.push(new ThoughtForm(1, 86, 212, "black"));
thoughFormArr.push(new ThoughtForm(1, 59, 212, "black"));
thoughFormArr.push(new ThoughtForm(2, 256, 221, "pink"));
thoughFormArr.push(new ThoughtForm(2, 264, 43, "pink"));
thoughFormArr.push(new ThoughtForm(2, 494, 56, "pink"));
thoughFormArr.push(new ThoughtForm(2, 133, 233, "pink"));
thoughFormArr.push(new ThoughtForm(2, 379, 77, "pink"));
thoughFormArr.push(new ThoughtForm(2, 383, 173, "black"));
thoughFormArr.push(new ThoughtForm(2, 503, 132, "black"));
thoughFormArr.push(new ThoughtForm(2, 449, 258, "black"));
thoughFormArr.push(new ThoughtForm(2, 118, 132, "blue"));
thoughFormArr.push(new ThoughtForm(3, 41, 198, "pink"));
thoughFormArr.push(new ThoughtForm(3, 504, 152, "pink"));
thoughFormArr.push(new ThoughtForm(3, 257, 98, "pink"));
thoughFormArr.push(new ThoughtForm(3, 165, 192, "pink"));
thoughFormArr.push(new ThoughtForm(3, 303, 248, "pink"));
thoughFormArr.push(new ThoughtForm(3, 393, 73, "black"));
thoughFormArr.push(new ThoughtForm(3, 232, 255, "black"));
thoughFormArr.push(new ThoughtForm(3, 383, 147, "black"));
thoughFormArr.push(new ThoughtForm(4, 351, 198, "pink"));
thoughFormArr.push(new ThoughtForm(4, 446, 42, "pink"));
thoughFormArr.push(new ThoughtForm(4, 257, 42, "pink"));
thoughFormArr.push(new ThoughtForm(4, 493, 284, "pink"));
thoughFormArr.push(new ThoughtForm(4, 255, 286, "pink"));
thoughFormArr.push(new ThoughtForm(4, 141, 169, "black"));
thoughFormArr.push(new ThoughtForm(4, 173, 168, "blue"));
thoughFormArr.push(new ThoughtForm(4, 462, 151, "pink"));
thoughFormArr.push(new ThoughtForm(4, 106, 168, "pink"));
thoughFormArr.push(new ThoughtForm(5, 252, 227, "pink"));
thoughFormArr.push(new ThoughtForm(5, 370, 50, "pink"));
thoughFormArr.push(new ThoughtForm(5, 204, 227, "pink"));
thoughFormArr.push(new ThoughtForm(5, 128, 44, "pink"));
thoughFormArr.push(new ThoughtForm(5, 377, 248, "pink"));
thoughFormArr.push(new ThoughtForm(5, 149, 159, "black"));
thoughFormArr.push(new ThoughtForm(5, 428, 75, "blue"));
thoughFormArr.push(new ThoughtForm(5, 434, 179, "pink"));
thoughFormArr.push(new ThoughtForm(5, 101, 226, "pink"));
thoughFormArr.push(new ThoughtForm(5, 351, 183, "life"));
thoughFormArr.push(new ThoughtForm(6, 274, 247, "pink"));
thoughFormArr.push(new ThoughtForm(6, 522, 40, "pink"));
thoughFormArr.push(new ThoughtForm(6, 230, 42, "pink"));
thoughFormArr.push(new ThoughtForm(6, 430, 112, "pink"));
thoughFormArr.push(new ThoughtForm(6, 505, 254, "pink"));
thoughFormArr.push(new ThoughtForm(6, 231, 245, "black"));
thoughFormArr.push(new ThoughtForm(6, 380, 149, "pink"));
thoughFormArr.push(new ThoughtForm(6, 125, 158, "pink"));
thoughFormArr.push(new ThoughtForm(7, 260, 161, "pink"));
thoughFormArr.push(new ThoughtForm(7, 278, 70, "pink"));
thoughFormArr.push(new ThoughtForm(7, 116, 94, "pink"));
thoughFormArr.push(new ThoughtForm(7, 396, 232, "pink"));
thoughFormArr.push(new ThoughtForm(7, 81, 254, "pink"));
thoughFormArr.push(new ThoughtForm(7, 119, 253, "black"));
thoughFormArr.push(new ThoughtForm(7, 434, 129, "pink"));
thoughFormArr.push(new ThoughtForm(7, 159, 252, "pink"));
thoughFormArr.push(new ThoughtForm(8, 114, 63, "pink"));
thoughFormArr.push(new ThoughtForm(8, 274, 90, "pink"));
thoughFormArr.push(new ThoughtForm(8, 346, 82, "pink"));
thoughFormArr.push(new ThoughtForm(8, 390, 264, "pink"));
thoughFormArr.push(new ThoughtForm(8, 293, 288, "pink"));
thoughFormArr.push(new ThoughtForm(8, 309, 85, "black"));
thoughFormArr.push(new ThoughtForm(8, 434, 91, "pink"));
thoughFormArr.push(new ThoughtForm(8, 113, 162, "pink"));
thoughFormArr.push(new ThoughtForm(8, 321, 318, "violet"));
thoughFormArr.push(new ThoughtForm(9, 382, 101, "pink"));
thoughFormArr.push(new ThoughtForm(9, 472, 18, "pink"));
thoughFormArr.push(new ThoughtForm(9, 288, 102, "pink"));
thoughFormArr.push(new ThoughtForm(9, 55, 160, "pink"));
thoughFormArr.push(new ThoughtForm(9, 500, 97, "pink"));
thoughFormArr.push(new ThoughtForm(9, 332, 142, "black"));
thoughFormArr.push(new ThoughtForm(9, 153, 86, "violet"));
thoughFormArr.push(new ThoughtForm(9, 13, 50, "blue"));
thoughFormArr.push(new ThoughtForm(9, 316, 17, "black"));
thoughFormArr.push(new ThoughtForm(9, 333, 90, "pink"));
thoughFormArr.push(new ThoughtForm(10, 440, 204, "violet"));
thoughFormArr.push(new ThoughtForm(10, 412, 165, "pink"));
thoughFormArr.push(new ThoughtForm(10, 278, 70, "pink"));
thoughFormArr.push(new ThoughtForm(10, 144, 66, "pink"));
thoughFormArr.push(new ThoughtForm(10, 512, 324, "pink"));
thoughFormArr.push(new ThoughtForm(10, 141, 156, "pink"));
thoughFormArr.push(new ThoughtForm(10, 307, 319, "black"));
thoughFormArr.push(new ThoughtForm(10, 362, 197, "pink"));
thoughFormArr.push(new ThoughtForm(10, 227, 174, "pink"));
thoughFormArr.push(new ThoughtForm(10, 177, 319, "black"));
thoughFormArr.push(new ThoughtForm(10, 479, 321, "black"));
thoughFormArr.push(new ThoughtForm(10, 20, 246, "black"));
thoughFormArr.push(new ThoughtForm(11, 312, 106, "blue"));
break;
case 3 :
thoughFormArr.push(new ThoughtForm(1, 243, 143, "black"));
thoughFormArr.push(new ThoughtForm(1, 49, 137, "pink"));
thoughFormArr.push(new ThoughtForm(1, 78, 138, "pink"));
thoughFormArr.push(new ThoughtForm(1, 476, 299, "pink"));
thoughFormArr.push(new ThoughtForm(1, 99, 88, "blue"));
thoughFormArr.push(new ThoughtForm(1, 283, 126, "pink"));
thoughFormArr.push(new ThoughtForm(1, 284, 75, "pink"));
thoughFormArr.push(new ThoughtForm(1, 469, 54, "pink"));
thoughFormArr.push(new ThoughtForm(1, 284, 180, "pink"));
thoughFormArr.push(new ThoughtForm(1, 340, 272, "black"));
thoughFormArr.push(new ThoughtForm(2, 293, 158, "black"));
thoughFormArr.push(new ThoughtForm(2, 415, 176, "pink"));
thoughFormArr.push(new ThoughtForm(2, 168, 183, "pink"));
thoughFormArr.push(new ThoughtForm(2, 123, 220, "pink"));
thoughFormArr.push(new ThoughtForm(2, 519, 69, "pink"));
thoughFormArr.push(new ThoughtForm(2, 334, 195, "pink"));
thoughFormArr.push(new ThoughtForm(2, 456, 174, "blue"));
thoughFormArr.push(new ThoughtForm(2, 225, 177, "violet"));
thoughFormArr.push(new ThoughtForm(2, 288, 44, "pink"));
thoughFormArr.push(new ThoughtForm(3, 293, 158, "black"));
thoughFormArr.push(new ThoughtForm(3, 409, 206, "pink"));
thoughFormArr.push(new ThoughtForm(3, 354, 110, "pink"));
thoughFormArr.push(new ThoughtForm(3, 217, 106, "pink"));
thoughFormArr.push(new ThoughtForm(3, 156, 206, "pink"));
thoughFormArr.push(new ThoughtForm(3, 288, 44, "pink"));
thoughFormArr.push(new ThoughtForm(3, 442, 204, "black"));
thoughFormArr.push(new ThoughtForm(3, 120, 206, "black"));
thoughFormArr.push(new ThoughtForm(4, 208, 265, "black"));
thoughFormArr.push(new ThoughtForm(4, 518, 283, "pink"));
thoughFormArr.push(new ThoughtForm(4, 495, 167, "pink"));
thoughFormArr.push(new ThoughtForm(4, 28, 163, "pink"));
thoughFormArr.push(new ThoughtForm(4, 315, 279, "pink"));
thoughFormArr.push(new ThoughtForm(4, 115, 285, "pink"));
thoughFormArr.push(new ThoughtForm(4, 243, 83, "black"));
thoughFormArr.push(new ThoughtForm(4, 474, 50, "blue"));
thoughFormArr.push(new ThoughtForm(5, 156, 206, "black"));
thoughFormArr.push(new ThoughtForm(5, 354, 43, "pink"));
thoughFormArr.push(new ThoughtForm(5, 495, 167, "pink"));
thoughFormArr.push(new ThoughtForm(5, 358, 163, "pink"));
thoughFormArr.push(new ThoughtForm(5, 261, 263, "pink"));
thoughFormArr.push(new ThoughtForm(5, 105, 243, "pink"));
thoughFormArr.push(new ThoughtForm(5, 284, 222, "black"));
thoughFormArr.push(new ThoughtForm(5, 284, 178, "blue"));
thoughFormArr.push(new ThoughtForm(5, 409, 206, "black"));
thoughFormArr.push(new ThoughtForm(6, 220, 341, "black"));
thoughFormArr.push(new ThoughtForm(6, 537, 263, "pink"));
thoughFormArr.push(new ThoughtForm(6, 451, 193, "pink"));
thoughFormArr.push(new ThoughtForm(6, 156, 79, "pink"));
thoughFormArr.push(new ThoughtForm(6, 283, 177, "pink"));
thoughFormArr.push(new ThoughtForm(6, 417, 79, "pink"));
thoughFormArr.push(new ThoughtForm(6, 287, 81, "black"));
thoughFormArr.push(new ThoughtForm(6, 471, 339, "black"));
thoughFormArr.push(new ThoughtForm(7, 224, 343, "black"));
thoughFormArr.push(new ThoughtForm(7, 254, 345, "pink"));
thoughFormArr.push(new ThoughtForm(7, 133, 167, "pink"));
thoughFormArr.push(new ThoughtForm(7, 440, 343, "pink"));
thoughFormArr.push(new ThoughtForm(7, 297, 161, "pink"));
thoughFormArr.push(new ThoughtForm(7, 471, 161, "pink"));
thoughFormArr.push(new ThoughtForm(7, 89, 341, "black"));
thoughFormArr.push(new ThoughtForm(7, 353, 343, "black"));
thoughFormArr.push(new ThoughtForm(7, 469, 343, "black"));
thoughFormArr.push(new ThoughtForm(8, 126, 343, "black"));
thoughFormArr.push(new ThoughtForm(8, 254, 345, "pink"));
thoughFormArr.push(new ThoughtForm(8, 133, 167, "pink"));
thoughFormArr.push(new ThoughtForm(8, 382, 343, "pink"));
thoughFormArr.push(new ThoughtForm(8, 221, 343, "pink"));
thoughFormArr.push(new ThoughtForm(8, 448, 160, "pink"));
thoughFormArr.push(new ThoughtForm(8, 157, 121, "black"));
thoughFormArr.push(new ThoughtForm(8, 221, 343, "black"));
thoughFormArr.push(new ThoughtForm(8, 355, 343, "black"));
thoughFormArr.push(new ThoughtForm(8, 299, 171, "life"));
thoughFormArr.push(new ThoughtForm(9, 153, 344, "black"));
thoughFormArr.push(new ThoughtForm(9, 116, 342, "pink"));
thoughFormArr.push(new ThoughtForm(9, 275, 90, "pink"));
thoughFormArr.push(new ThoughtForm(9, 94, 148, "pink"));
thoughFormArr.push(new ThoughtForm(9, 439, 90, "pink"));
thoughFormArr.push(new ThoughtForm(9, 275, 274, "pink"));
thoughFormArr.push(new ThoughtForm(9, 246, 276, "black"));
thoughFormArr.push(new ThoughtForm(9, 356, 86, "black"));
thoughFormArr.push(new ThoughtForm(9, 522, 50, "blue"));
thoughFormArr.push(new ThoughtForm(9, 477, 330, "violet"));
thoughFormArr.push(new ThoughtForm(10, 359, 326, "black"));
thoughFormArr.push(new ThoughtForm(10, 470, 324, "pink"));
thoughFormArr.push(new ThoughtForm(10, 233, 150, "pink"));
thoughFormArr.push(new ThoughtForm(10, 314, 196, "pink"));
thoughFormArr.push(new ThoughtForm(10, 33, 192, "pink"));
thoughFormArr.push(new ThoughtForm(10, 501, 184, "pink"));
thoughFormArr.push(new ThoughtForm(10, 388, 326, "black"));
thoughFormArr.push(new ThoughtForm(10, 298, 36, "pink"));
thoughFormArr.push(new ThoughtForm(10, 386, 94, "pink"));
thoughFormArr.push(new ThoughtForm(10, 174, 36, "pink"));
break;
case 4 :
thoughFormArr.push(new ThoughtForm(1, 487, 351, "black"));
thoughFormArr.push(new ThoughtForm(1, 203, 76, "pink"));
thoughFormArr.push(new ThoughtForm(1, 391, 256, "pink"));
thoughFormArr.push(new ThoughtForm(1, 362, 255, "pink"));
thoughFormArr.push(new ThoughtForm(1, 530, 316, "blue"));
thoughFormArr.push(new ThoughtForm(1, 215, 275, "pink"));
thoughFormArr.push(new ThoughtForm(1, 245, 174, "pink"));
thoughFormArr.push(new ThoughtForm(1, 458, 131, "pink"));
thoughFormArr.push(new ThoughtForm(1, 303, 319, "black"));
thoughFormArr.push(new ThoughtForm(2, 252, 314, "black"));
thoughFormArr.push(new ThoughtForm(2, 299, 214, "pink"));
thoughFormArr.push(new ThoughtForm(2, 520, 207, "pink"));
thoughFormArr.push(new ThoughtForm(2, 225, 121, "pink"));
thoughFormArr.push(new ThoughtForm(2, 486, 94, "pink"));
thoughFormArr.push(new ThoughtForm(2, 380, 96, "pink"));
thoughFormArr.push(new ThoughtForm(2, 422, 204, "pink"));
thoughFormArr.push(new ThoughtForm(2, 156, 308, "black"));
thoughFormArr.push(new ThoughtForm(2, 401, 318, "black"));
thoughFormArr.push(new ThoughtForm(2, 88, 180, "pink"));
thoughFormArr.push(new ThoughtForm(3, 274, 291, "black"));
thoughFormArr.push(new ThoughtForm(3, 418, 188, "pink"));
thoughFormArr.push(new ThoughtForm(3, 236, 69, "pink"));
thoughFormArr.push(new ThoughtForm(3, 290, 180, "pink"));
thoughFormArr.push(new ThoughtForm(3, 88, 178, "pink"));
thoughFormArr.push(new ThoughtForm(3, 440, 94, "pink"));
thoughFormArr.push(new ThoughtForm(3, 541, 203, "pink"));
thoughFormArr.push(new ThoughtForm(3, 195, 246, "black"));
thoughFormArr.push(new ThoughtForm(3, 263, 112, "black"));
thoughFormArr.push(new ThoughtForm(3, 72, 287, "pink"));
thoughFormArr.push(new ThoughtForm(3, 86, 364, "blue"));
thoughFormArr.push(new ThoughtForm(4, 398, 182, "black"));
thoughFormArr.push(new ThoughtForm(4, 442, 210, "pink"));
thoughFormArr.push(new ThoughtForm(4, 254, 45, "pink"));
thoughFormArr.push(new ThoughtForm(4, 344, 130, "pink"));
thoughFormArr.push(new ThoughtForm(4, 132, 102, "pink"));
thoughFormArr.push(new ThoughtForm(4, 499, 104, "pink"));
thoughFormArr.push(new ThoughtForm(4, 541, 213, "pink"));
thoughFormArr.push(new ThoughtForm(4, 275, 316, "black"));
thoughFormArr.push(new ThoughtForm(4, 431, 326, "black"));
thoughFormArr.push(new ThoughtForm(4, 183, 169, "pink"));
thoughFormArr.push(new ThoughtForm(5, 451, 210, "black"));
thoughFormArr.push(new ThoughtForm(5, 93, 87, "pink"));
thoughFormArr.push(new ThoughtForm(5, 207, 133, "pink"));
thoughFormArr.push(new ThoughtForm(5, 525, 328, "blue"));
thoughFormArr.push(new ThoughtForm(5, 456, 43, "violet"));
thoughFormArr.push(new ThoughtForm(5, 418, 222, "pink"));
thoughFormArr.push(new ThoughtForm(5, 320, 65, "pink"));
thoughFormArr.push(new ThoughtForm(5, 442, 328, "pink"));
thoughFormArr.push(new ThoughtForm(5, 528, 122, "pink"));
thoughFormArr.push(new ThoughtForm(5, 477, 176, "pink"));
thoughFormArr.push(new ThoughtForm(5, 315, 336, "black"));
thoughFormArr.push(new ThoughtForm(6, 501, 328, "black"));
thoughFormArr.push(new ThoughtForm(6, 213, 293, "pink"));
thoughFormArr.push(new ThoughtForm(6, 155, 167, "pink"));
thoughFormArr.push(new ThoughtForm(6, 390, 200, "pink"));
thoughFormArr.push(new ThoughtForm(6, 404, 290, "pink"));
thoughFormArr.push(new ThoughtForm(6, 304, 168, "pink"));
thoughFormArr.push(new ThoughtForm(6, 306, 242, "pink"));
thoughFormArr.push(new ThoughtForm(6, 455, 168, "pink"));
thoughFormArr.push(new ThoughtForm(6, 117, 326, "black"));
thoughFormArr.push(new ThoughtForm(6, 310, 328, "black"));
thoughFormArr.push(new ThoughtForm(7, 23, 200, "black"));
thoughFormArr.push(new ThoughtForm(7, 451, 269, "pink"));
thoughFormArr.push(new ThoughtForm(7, 251, 119, "pink"));
thoughFormArr.push(new ThoughtForm(7, 390, 222, "pink"));
thoughFormArr.push(new ThoughtForm(7, 88, 214, "pink"));
thoughFormArr.push(new ThoughtForm(7, 316, 226, "pink"));
thoughFormArr.push(new ThoughtForm(7, 522, 204, "pink"));
thoughFormArr.push(new ThoughtForm(7, 471, 104, "pink"));
thoughFormArr.push(new ThoughtForm(7, 491, 204, "black"));
thoughFormArr.push(new ThoughtForm(7, 206, 110, "black"));
thoughFormArr.push(new ThoughtForm(7, 442, 53, "blue"));
thoughFormArr.push(new ThoughtForm(7, 400, 74, "life"));
thoughFormArr.push(new ThoughtForm(8, 483, 53, "pink"));
thoughFormArr.push(new ThoughtForm(8, 16, 131, "pink"));
thoughFormArr.push(new ThoughtForm(8, 113, 110, "pink"));
thoughFormArr.push(new ThoughtForm(8, 434, 85, "pink"));
thoughFormArr.push(new ThoughtForm(8, 180, 94, "pink"));
thoughFormArr.push(new ThoughtForm(8, 78, 42, "pink"));
thoughFormArr.push(new ThoughtForm(8, 384, 60, "pink"));
thoughFormArr.push(new ThoughtForm(8, 264, 128, "black"));
thoughFormArr.push(new ThoughtForm(9, 513, 229, "pink"));
thoughFormArr.push(new ThoughtForm(9, 253, 151, "pink"));
thoughFormArr.push(new ThoughtForm(9, 470, 136, "pink"));
thoughFormArr.push(new ThoughtForm(9, 136, 180, "pink"));
thoughFormArr.push(new ThoughtForm(9, 316, 66, "pink"));
thoughFormArr.push(new ThoughtForm(9, 210, 62, "pink"));
thoughFormArr.push(new ThoughtForm(9, 533, 134, "pink"));
thoughFormArr.push(new ThoughtForm(9, 392, 180, "black"));
thoughFormArr.push(new ThoughtForm(9, 247, 252, "black"));
thoughFormArr.push(new ThoughtForm(9, 459, 262, "black"));
thoughFormArr.push(new ThoughtForm(10, 513, 213, "pink"));
thoughFormArr.push(new ThoughtForm(10, 227, 151, "pink"));
thoughFormArr.push(new ThoughtForm(10, 390, 190, "pink"));
thoughFormArr.push(new ThoughtForm(10, 92, 111, "pink"));
thoughFormArr.push(new ThoughtForm(10, 344, 82, "pink"));
thoughFormArr.push(new ThoughtForm(10, 204, 72, "pink"));
thoughFormArr.push(new ThoughtForm(10, 455, 96, "pink"));
thoughFormArr.push(new ThoughtForm(10, 304, 254, "black"));
thoughFormArr.push(new ThoughtForm(10, 165, 234, "black"));
thoughFormArr.push(new ThoughtForm(10, 429, 266, "black"));
thoughFormArr.push(new ThoughtForm(10, 516, 38, "blue"));
thoughFormArr.push(new ThoughtForm(10, 515, 140, "violet"));
thoughFormArr.push(new ThoughtForm(11, 536, 232, "blue"));
break;
case 5 :
thoughFormArr.push(new ThoughtForm(1, 185, 281, "black"));
thoughFormArr.push(new ThoughtForm(1, 139, 218, "pink"));
thoughFormArr.push(new ThoughtForm(1, 249, 128, "pink"));
thoughFormArr.push(new ThoughtForm(1, 106, 217, "pink"));
thoughFormArr.push(new ThoughtForm(1, 403, 101, "pink"));
thoughFormArr.push(new ThoughtForm(1, 83, 120, "pink"));
thoughFormArr.push(new ThoughtForm(1, 324, 131, "pink"));
thoughFormArr.push(new ThoughtForm(1, 333, 237, "black"));
thoughFormArr.push(new ThoughtForm(2, 336, 316, "black"));
thoughFormArr.push(new ThoughtForm(2, 291, 73, "pink"));
thoughFormArr.push(new ThoughtForm(2, 400, 85, "pink"));
thoughFormArr.push(new ThoughtForm(2, 277, 197, "pink"));
thoughFormArr.push(new ThoughtForm(2, 58, 43, "pink"));
thoughFormArr.push(new ThoughtForm(2, 170, 227, "pink"));
thoughFormArr.push(new ThoughtForm(2, 503, 180, "pink"));
thoughFormArr.push(new ThoughtForm(2, 298, 149, "black"));
thoughFormArr.push(new ThoughtForm(2, 438, 44, "pink"));
thoughFormArr.push(new ThoughtForm(3, 316, 196, "black"));
thoughFormArr.push(new ThoughtForm(3, 226, 231, "pink"));
thoughFormArr.push(new ThoughtForm(3, 400, 141, "pink"));
thoughFormArr.push(new ThoughtForm(3, 285, 61, "pink"));
thoughFormArr.push(new ThoughtForm(3, 520, 47, "pink"));
thoughFormArr.push(new ThoughtForm(3, 208, 59, "pink"));
thoughFormArr.push(new ThoughtForm(3, 33, 120, "pink"));
thoughFormArr.push(new ThoughtForm(3, 484, 251, "black"));
thoughFormArr.push(new ThoughtForm(3, 364, 365, "pink"));
thoughFormArr.push(new ThoughtForm(4, 272, 176, "black"));
thoughFormArr.push(new ThoughtForm(4, 335, 217, "pink"));
thoughFormArr.push(new ThoughtForm(4, 211, 54, "pink"));
thoughFormArr.push(new ThoughtForm(4, 9, 293, "pink"));
thoughFormArr.push(new ThoughtForm(4, 356, 59, "pink"));
thoughFormArr.push(new ThoughtForm(4, 484, 365, "pink"));
thoughFormArr.push(new ThoughtForm(4, 197, 364, "pink"));
thoughFormArr.push(new ThoughtForm(4, 362, 175, "black"));
thoughFormArr.push(new ThoughtForm(4, 166, 176, "pink"));
thoughFormArr.push(new ThoughtForm(4, 246, 117, "violet"));
thoughFormArr.push(new ThoughtForm(4, 470, 74, "pink"));
thoughFormArr.push(new ThoughtForm(5, 338, 160, "black"));
thoughFormArr.push(new ThoughtForm(5, 154, 287, "pink"));
thoughFormArr.push(new ThoughtForm(5, 478, 271, "pink"));
thoughFormArr.push(new ThoughtForm(5, 311, 281, "pink"));
thoughFormArr.push(new ThoughtForm(5, 260, 39, "pink"));
thoughFormArr.push(new ThoughtForm(5, 36, 77, "pink"));
thoughFormArr.push(new ThoughtForm(5, 477, 122, "pink"));
thoughFormArr.push(new ThoughtForm(5, 366, 155, "black"));
thoughFormArr.push(new ThoughtForm(6, 216, 163, "black"));
thoughFormArr.push(new ThoughtForm(6, 267, 270, "pink"));
thoughFormArr.push(new ThoughtForm(6, 454, 43, "pink"));
thoughFormArr.push(new ThoughtForm(6, 129, 267, "pink"));
thoughFormArr.push(new ThoughtForm(6, 270, 47, "pink"));
thoughFormArr.push(new ThoughtForm(6, 104, 47, "pink"));
thoughFormArr.push(new ThoughtForm(6, 509, 290, "pink"));
thoughFormArr.push(new ThoughtForm(6, 512, 251, "black"));
thoughFormArr.push(new ThoughtForm(7, 338, 126, "black"));
thoughFormArr.push(new ThoughtForm(7, 401, 270, "pink"));
thoughFormArr.push(new ThoughtForm(7, 174, 225, "pink"));
thoughFormArr.push(new ThoughtForm(7, 129, 293, "pink"));
thoughFormArr.push(new ThoughtForm(7, 242, 295, "pink"));
thoughFormArr.push(new ThoughtForm(7, 152, 67, "pink"));
thoughFormArr.push(new ThoughtForm(7, 509, 290, "pink"));
thoughFormArr.push(new ThoughtForm(7, 110, 331, "black"));
thoughFormArr.push(new ThoughtForm(7, 357, 94, "pink"));
thoughFormArr.push(new ThoughtForm(8, 254, 294, "black"));
thoughFormArr.push(new ThoughtForm(8, 356, 269, "pink"));
thoughFormArr.push(new ThoughtForm(8, 231, 297, "pink"));
thoughFormArr.push(new ThoughtForm(8, 45, 38, "pink"));
thoughFormArr.push(new ThoughtForm(8, 430, 135, "pink"));
thoughFormArr.push(new ThoughtForm(8, 133, 189, "pink"));
thoughFormArr.push(new ThoughtForm(8, 449, 286, "pink"));
thoughFormArr.push(new ThoughtForm(8, 298, 133, "black"));
thoughFormArr.push(new ThoughtForm(9, 444, 246, "black"));
thoughFormArr.push(new ThoughtForm(9, 371, 241, "pink"));
thoughFormArr.push(new ThoughtForm(9, 480, 245, "pink"));
thoughFormArr.push(new ThoughtForm(9, 157, 241, "pink"));
thoughFormArr.push(new ThoughtForm(9, 260, 63, "pink"));
thoughFormArr.push(new ThoughtForm(9, 260, 177, "pink"));
thoughFormArr.push(new ThoughtForm(9, 243, 280, "pink"));
thoughFormArr.push(new ThoughtForm(9, 98, 233, "black"));
thoughFormArr.push(new ThoughtForm(9, 386, 203, "pink"));
thoughFormArr.push(new ThoughtForm(10, 416, 304, "black"));
thoughFormArr.push(new ThoughtForm(10, 371, 241, "pink"));
thoughFormArr.push(new ThoughtForm(10, 508, 35, "pink"));
thoughFormArr.push(new ThoughtForm(10, 337, 241, "pink"));
thoughFormArr.push(new ThoughtForm(10, 362, 45, "pink"));
thoughFormArr.push(new ThoughtForm(10, 314, 143, "pink"));
thoughFormArr.push(new ThoughtForm(10, 521, 188, "pink"));
thoughFormArr.push(new ThoughtForm(10, 20, 261, "black"));
thoughFormArr.push(new ThoughtForm(10, 134, 236, "pink"));
thoughFormArr.push(new ThoughtForm(10, 48, 139, "violet"));
break;
case 4 :
thoughFormArr.push(new ThoughtForm(1, 487, 351, "black"));
thoughFormArr.push(new ThoughtForm(1, 203, 76, "pink"));
thoughFormArr.push(new ThoughtForm(1, 391, 256, "pink"));
thoughFormArr.push(new ThoughtForm(1, 362, 255, "pink"));
thoughFormArr.push(new ThoughtForm(1, 530, 316, "blue"));
thoughFormArr.push(new ThoughtForm(1, 215, 275, "pink"));
thoughFormArr.push(new ThoughtForm(1, 245, 174, "pink"));
thoughFormArr.push(new ThoughtForm(1, 458, 131, "pink"));
thoughFormArr.push(new ThoughtForm(1, 303, 319, "black"));
thoughFormArr.push(new ThoughtForm(2, 252, 314, "black"));
thoughFormArr.push(new ThoughtForm(2, 299, 214, "pink"));
thoughFormArr.push(new ThoughtForm(2, 520, 207, "pink"));
thoughFormArr.push(new ThoughtForm(2, 225, 121, "pink"));
thoughFormArr.push(new ThoughtForm(2, 486, 94, "pink"));
thoughFormArr.push(new ThoughtForm(2, 380, 96, "pink"));
thoughFormArr.push(new ThoughtForm(2, 422, 204, "pink"));
thoughFormArr.push(new ThoughtForm(2, 156, 308, "black"));
thoughFormArr.push(new ThoughtForm(2, 401, 318, "black"));
thoughFormArr.push(new ThoughtForm(2, 88, 180, "pink"));
thoughFormArr.push(new ThoughtForm(3, 274, 291, "black"));
thoughFormArr.push(new ThoughtForm(3, 418, 188, "pink"));
thoughFormArr.push(new ThoughtForm(3, 236, 69, "pink"));
thoughFormArr.push(new ThoughtForm(3, 290, 180, "pink"));
thoughFormArr.push(new ThoughtForm(3, 88, 178, "pink"));
thoughFormArr.push(new ThoughtForm(3, 440, 94, "pink"));
thoughFormArr.push(new ThoughtForm(3, 541, 203, "pink"));
thoughFormArr.push(new ThoughtForm(3, 195, 246, "black"));
thoughFormArr.push(new ThoughtForm(3, 263, 112, "black"));
thoughFormArr.push(new ThoughtForm(3, 72, 287, "pink"));
thoughFormArr.push(new ThoughtForm(3, 86, 364, "blue"));
thoughFormArr.push(new ThoughtForm(4, 398, 182, "black"));
thoughFormArr.push(new ThoughtForm(4, 442, 210, "pink"));
thoughFormArr.push(new ThoughtForm(4, 254, 45, "pink"));
thoughFormArr.push(new ThoughtForm(4, 344, 130, "pink"));
thoughFormArr.push(new ThoughtForm(4, 132, 102, "pink"));
thoughFormArr.push(new ThoughtForm(4, 499, 104, "pink"));
thoughFormArr.push(new ThoughtForm(4, 541, 213, "pink"));
thoughFormArr.push(new ThoughtForm(4, 275, 316, "black"));
thoughFormArr.push(new ThoughtForm(4, 431, 326, "black"));
thoughFormArr.push(new ThoughtForm(4, 183, 169, "pink"));
thoughFormArr.push(new ThoughtForm(5, 451, 210, "black"));
thoughFormArr.push(new ThoughtForm(5, 93, 87, "pink"));
thoughFormArr.push(new ThoughtForm(5, 207, 133, "pink"));
thoughFormArr.push(new ThoughtForm(5, 525, 328, "blue"));
thoughFormArr.push(new ThoughtForm(5, 456, 43, "violet"));
thoughFormArr.push(new ThoughtForm(5, 418, 222, "pink"));
thoughFormArr.push(new ThoughtForm(5, 320, 65, "pink"));
thoughFormArr.push(new ThoughtForm(5, 442, 328, "pink"));
thoughFormArr.push(new ThoughtForm(5, 528, 122, "pink"));
thoughFormArr.push(new ThoughtForm(5, 477, 176, "pink"));
thoughFormArr.push(new ThoughtForm(5, 315, 336, "black"));
thoughFormArr.push(new ThoughtForm(6, 501, 328, "black"));
thoughFormArr.push(new ThoughtForm(6, 213, 293, "pink"));
thoughFormArr.push(new ThoughtForm(6, 155, 167, "pink"));
thoughFormArr.push(new ThoughtForm(6, 390, 200, "pink"));
thoughFormArr.push(new ThoughtForm(6, 404, 290, "pink"));
thoughFormArr.push(new ThoughtForm(6, 304, 168, "pink"));
thoughFormArr.push(new ThoughtForm(6, 306, 242, "pink"));
thoughFormArr.push(new ThoughtForm(6, 455, 168, "pink"));
thoughFormArr.push(new ThoughtForm(6, 117, 326, "black"));
thoughFormArr.push(new ThoughtForm(6, 310, 328, "black"));
thoughFormArr.push(new ThoughtForm(7, 23, 200, "black"));
thoughFormArr.push(new ThoughtForm(7, 451, 269, "pink"));
thoughFormArr.push(new ThoughtForm(7, 251, 119, "pink"));
thoughFormArr.push(new ThoughtForm(7, 390, 222, "pink"));
thoughFormArr.push(new ThoughtForm(7, 88, 214, "pink"));
thoughFormArr.push(new ThoughtForm(7, 316, 226, "pink"));
thoughFormArr.push(new ThoughtForm(7, 522, 204, "pink"));
thoughFormArr.push(new ThoughtForm(7, 471, 104, "pink"));
thoughFormArr.push(new ThoughtForm(7, 491, 204, "black"));
thoughFormArr.push(new ThoughtForm(7, 206, 110, "black"));
thoughFormArr.push(new ThoughtForm(7, 442, 53, "blue"));
thoughFormArr.push(new ThoughtForm(8, 483, 53, "pink"));
thoughFormArr.push(new ThoughtForm(8, 16, 131, "pink"));
thoughFormArr.push(new ThoughtForm(8, 113, 110, "pink"));
thoughFormArr.push(new ThoughtForm(8, 434, 85, "pink"));
thoughFormArr.push(new ThoughtForm(8, 180, 94, "pink"));
thoughFormArr.push(new ThoughtForm(8, 78, 42, "pink"));
thoughFormArr.push(new ThoughtForm(8, 384, 60, "pink"));
thoughFormArr.push(new ThoughtForm(8, 264, 128, "black"));
thoughFormArr.push(new ThoughtForm(9, 513, 229, "pink"));
thoughFormArr.push(new ThoughtForm(9, 253, 151, "pink"));
thoughFormArr.push(new ThoughtForm(9, 470, 136, "pink"));
thoughFormArr.push(new ThoughtForm(9, 136, 180, "pink"));
thoughFormArr.push(new ThoughtForm(9, 316, 66, "pink"));
thoughFormArr.push(new ThoughtForm(9, 210, 62, "pink"));
thoughFormArr.push(new ThoughtForm(9, 533, 134, "pink"));
thoughFormArr.push(new ThoughtForm(9, 392, 180, "black"));
thoughFormArr.push(new ThoughtForm(9, 247, 252, "black"));
thoughFormArr.push(new ThoughtForm(9, 459, 262, "black"));
thoughFormArr.push(new ThoughtForm(10, 513, 213, "pink"));
thoughFormArr.push(new ThoughtForm(10, 227, 151, "pink"));
thoughFormArr.push(new ThoughtForm(10, 390, 190, "pink"));
thoughFormArr.push(new ThoughtForm(10, 92, 111, "pink"));
thoughFormArr.push(new ThoughtForm(10, 344, 82, "pink"));
thoughFormArr.push(new ThoughtForm(10, 204, 72, "pink"));
thoughFormArr.push(new ThoughtForm(10, 455, 96, "pink"));
thoughFormArr.push(new ThoughtForm(10, 304, 254, "black"));
thoughFormArr.push(new ThoughtForm(10, 165, 234, "black"));
thoughFormArr.push(new ThoughtForm(10, 429, 266, "black"));
thoughFormArr.push(new ThoughtForm(10, 516, 38, "blue"));
thoughFormArr.push(new ThoughtForm(10, 515, 140, "violet"));
thoughFormArr.push(new ThoughtForm(11, 536, 232, "blue"));
break;
case 5 :
thoughFormArr.push(new ThoughtForm(1, 185, 281, "black"));
thoughFormArr.push(new ThoughtForm(1, 139, 218, "pink"));
thoughFormArr.push(new ThoughtForm(1, 249, 128, "pink"));
thoughFormArr.push(new ThoughtForm(1, 106, 217, "pink"));
thoughFormArr.push(new ThoughtForm(1, 403, 101, "pink"));
thoughFormArr.push(new ThoughtForm(1, 83, 120, "pink"));
thoughFormArr.push(new ThoughtForm(1, 324, 131, "pink"));
thoughFormArr.push(new ThoughtForm(1, 333, 237, "black"));
thoughFormArr.push(new ThoughtForm(2, 336, 316, "black"));
thoughFormArr.push(new ThoughtForm(2, 291, 73, "pink"));
thoughFormArr.push(new ThoughtForm(2, 400, 85, "pink"));
thoughFormArr.push(new ThoughtForm(2, 277, 197, "pink"));
thoughFormArr.push(new ThoughtForm(2, 58, 43, "pink"));
thoughFormArr.push(new ThoughtForm(2, 170, 227, "pink"));
thoughFormArr.push(new ThoughtForm(2, 503, 180, "pink"));
thoughFormArr.push(new ThoughtForm(2, 298, 149, "black"));
thoughFormArr.push(new ThoughtForm(2, 438, 44, "pink"));
thoughFormArr.push(new ThoughtForm(3, 316, 196, "black"));
thoughFormArr.push(new ThoughtForm(3, 226, 231, "pink"));
thoughFormArr.push(new ThoughtForm(3, 400, 141, "pink"));
thoughFormArr.push(new ThoughtForm(3, 285, 61, "pink"));
thoughFormArr.push(new ThoughtForm(3, 520, 47, "pink"));
thoughFormArr.push(new ThoughtForm(3, 208, 59, "pink"));
thoughFormArr.push(new ThoughtForm(3, 33, 120, "pink"));
thoughFormArr.push(new ThoughtForm(3, 484, 251, "black"));
thoughFormArr.push(new ThoughtForm(3, 364, 365, "pink"));
thoughFormArr.push(new ThoughtForm(4, 272, 176, "black"));
thoughFormArr.push(new ThoughtForm(4, 335, 217, "pink"));
thoughFormArr.push(new ThoughtForm(4, 211, 54, "pink"));
thoughFormArr.push(new ThoughtForm(4, 9, 293, "pink"));
thoughFormArr.push(new ThoughtForm(4, 356, 59, "pink"));
thoughFormArr.push(new ThoughtForm(4, 484, 365, "pink"));
thoughFormArr.push(new ThoughtForm(4, 197, 364, "pink"));
thoughFormArr.push(new ThoughtForm(4, 362, 175, "black"));
thoughFormArr.push(new ThoughtForm(4, 166, 176, "pink"));
thoughFormArr.push(new ThoughtForm(4, 246, 117, "violet"));
thoughFormArr.push(new ThoughtForm(4, 470, 74, "pink"));
thoughFormArr.push(new ThoughtForm(5, 338, 160, "black"));
thoughFormArr.push(new ThoughtForm(5, 154, 287, "pink"));
thoughFormArr.push(new ThoughtForm(5, 478, 271, "pink"));
thoughFormArr.push(new ThoughtForm(5, 311, 281, "pink"));
thoughFormArr.push(new ThoughtForm(5, 260, 39, "pink"));
thoughFormArr.push(new ThoughtForm(5, 36, 77, "pink"));
thoughFormArr.push(new ThoughtForm(5, 477, 122, "pink"));
thoughFormArr.push(new ThoughtForm(5, 366, 155, "black"));
thoughFormArr.push(new ThoughtForm(6, 216, 163, "black"));
thoughFormArr.push(new ThoughtForm(6, 267, 270, "pink"));
thoughFormArr.push(new ThoughtForm(6, 454, 43, "pink"));
thoughFormArr.push(new ThoughtForm(6, 129, 267, "pink"));
thoughFormArr.push(new ThoughtForm(6, 270, 47, "pink"));
thoughFormArr.push(new ThoughtForm(6, 104, 47, "pink"));
thoughFormArr.push(new ThoughtForm(6, 509, 290, "pink"));
thoughFormArr.push(new ThoughtForm(6, 512, 251, "black"));
thoughFormArr.push(new ThoughtForm(7, 338, 126, "black"));
thoughFormArr.push(new ThoughtForm(7, 401, 270, "pink"));
thoughFormArr.push(new ThoughtForm(7, 174, 225, "pink"));
thoughFormArr.push(new ThoughtForm(7, 129, 293, "pink"));
thoughFormArr.push(new ThoughtForm(7, 242, 295, "pink"));
thoughFormArr.push(new ThoughtForm(7, 152, 67, "pink"));
thoughFormArr.push(new ThoughtForm(7, 509, 290, "pink"));
thoughFormArr.push(new ThoughtForm(7, 110, 331, "black"));
thoughFormArr.push(new ThoughtForm(7, 357, 94, "pink"));
thoughFormArr.push(new ThoughtForm(8, 254, 294, "black"));
thoughFormArr.push(new ThoughtForm(8, 356, 269, "pink"));
thoughFormArr.push(new ThoughtForm(8, 231, 297, "pink"));
thoughFormArr.push(new ThoughtForm(8, 45, 38, "pink"));
thoughFormArr.push(new ThoughtForm(8, 430, 135, "pink"));
thoughFormArr.push(new ThoughtForm(8, 133, 189, "pink"));
thoughFormArr.push(new ThoughtForm(8, 449, 286, "pink"));
thoughFormArr.push(new ThoughtForm(8, 298, 133, "black"));
thoughFormArr.push(new ThoughtForm(9, 444, 246, "black"));
thoughFormArr.push(new ThoughtForm(9, 371, 241, "pink"));
thoughFormArr.push(new ThoughtForm(9, 480, 245, "pink"));
thoughFormArr.push(new ThoughtForm(9, 157, 241, "pink"));
thoughFormArr.push(new ThoughtForm(9, 260, 63, "pink"));
thoughFormArr.push(new ThoughtForm(9, 260, 177, "pink"));
thoughFormArr.push(new ThoughtForm(9, 243, 280, "pink"));
thoughFormArr.push(new ThoughtForm(9, 98, 233, "black"));
thoughFormArr.push(new ThoughtForm(9, 386, 203, "pink"));
thoughFormArr.push(new ThoughtForm(10, 416, 304, "black"));
thoughFormArr.push(new ThoughtForm(10, 371, 241, "pink"));
thoughFormArr.push(new ThoughtForm(10, 508, 35, "pink"));
thoughFormArr.push(new ThoughtForm(10, 337, 241, "pink"));
thoughFormArr.push(new ThoughtForm(10, 362, 45, "pink"));
thoughFormArr.push(new ThoughtForm(10, 314, 143, "pink"));
thoughFormArr.push(new ThoughtForm(10, 521, 188, "pink"));
thoughFormArr.push(new ThoughtForm(10, 20, 261, "black"));
thoughFormArr.push(new ThoughtForm(10, 134, 236, "pink"));
thoughFormArr.push(new ThoughtForm(10, 48, 139, "violet"));
break;
default :
trace("no case tested true");
}
switch (levelNo) {
case 1 :
gotoAndStop (4);
break;
case 2 :
gotoAndStop (19);
break;
case 3 :
gotoAndStop (34);
break;
case 4 :
gotoAndStop (49);
break;
case 5 :
gotoAndStop (64);
}
asdf = eval (("level_" + levelNo) + "_start");
subLevelInit();
trace(((" goto " + asdf) + " ") + levelStartFrame);
statusWindowMC._visible = false;
game_stat = "play";
pLalive = "resetPosition";
changeMusic(levelNo);
}
function subLevelInit() {
txtSubLevel = subLevelNo;
txtLevel = levelNo;
removeAttachedMCsPTM(true, true, true);
platformArr = [];
missileArr = [];
enemyArr = [];
movingPlatformArr = [];
delete platformArr;
platformArr = [];
trace(((("======= Level: " + levelNo) + " Sub Level: ") + subLevelNo) + " =========");
if (levelNo == 1) {
switch (subLevelNo) {
case 1 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(262, 182, 157, 27));
platformArr.push(new Platform(124, 259, 79, 27));
platformArr.push(new Platform(473, 257, 79, 27));
platformArr.push(new Platform(98, 115, 79, 27));
platformArr.push(new Platform(19, 140, 79, 27));
break;
case 2 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(103, 151, 79, 27));
platformArr.push(new Platform(239, 81, 79, 27));
platformArr.push(new Platform(393, 251, 79, 27));
platformArr.push(new Platform(-1, 257, 79, 27));
platformArr.push(new Platform(476, 139, 79, 27));
break;
case 3 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-1, 139, 79, 27));
platformArr.push(new Platform(397, 101, 158, 27));
platformArr.push(new Platform(202, 138, 103, 27));
break;
case 4 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(163, 126, 397, 27));
platformArr.push(new Platform(3, 101, 158, 27));
platformArr.push(new Platform(228, 254, 79, 27));
break;
case 5 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(0, 126, 79, 27));
platformArr.push(new Platform(476, 126, 79, 27));
platformArr.push(new Platform(322, 86, 79, 27));
platformArr.push(new Platform(420, 217, 79, 27));
platformArr.push(new Platform(393, 244, 54, 27));
break;
case 6 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(476, 127, 79, 27));
platformArr.push(new Platform(125, 247, 79, 27));
platformArr.push(new Platform(228, 153, 79, 27));
platformArr.push(new Platform(377, 249, 79, 27));
platformArr.push(new Platform(0, 126, 105, 27));
break;
case 7 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-1, 127, 79, 27));
platformArr.push(new Platform(117, 70, 79, 27));
platformArr.push(new Platform(398, 67, 157, 27));
platformArr.push(new Platform(259, 151, 79, 27));
platformArr.push(new Platform(140, 248, 79, 27));
break;
case 8 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-1, 67, 79, 27));
platformArr.push(new Platform(273, 172, 79, 27));
platformArr.push(new Platform(474, 139, 79, 27));
platformArr.push(new Platform(36, 169, 79, 27));
break;
case 9 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(395, 263, 79, 27));
platformArr.push(new Platform(474, 236, 79, 27));
platformArr.push(new Platform(159, 148, 79, 27));
platformArr.push(new Platform(237, 175, 79, 27));
platformArr.push(new Platform(476, 73, 79, 27));
platformArr.push(new Platform(319, 71, 79, 27));
platformArr.push(new Platform(2, 119, 79, 27));
platformArr.push(new Platform(315, 202, 27, 27));
break;
case 10 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(76, 143, 44, 14));
platformArr.push(new Platform(336, 247, 44, 14));
platformArr.push(new Platform(462, 177, 44, 14));
platformArr.push(new Platform(154, 245, 44, 14));
platformArr.push(new Platform(252, 143, 44, 14));
platformArr.push(new Platform(-1, 69, 44, 14));
break;
case 11 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(-1, 258, 44, 14));
platformArr.push(new Platform(258, 175, 44, 14));
platformArr.push(new Platform(106, 175, 44, 14));
platformArr.push(new Platform(505, 258, 44, 14));
platformArr.push(new Platform(402, 175, 44, 14));
break;
default :
trace("no level 1 sublevel tested true");
}
} else if (levelNo == 2) {
switch (subLevelNo) {
case 1 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(236, 168, 79, 27));
platformArr.push(new Platform(203, 249, 79, 27));
platformArr.push(new Platform(282, 249, 79, 27));
platformArr.push(new Platform(473, 250, 79, 27));
platformArr.push(new Platform(1, 105, 79, 27));
platformArr.push(new Platform(371, 165, 27, 27));
platformArr.push(new Platform(438, 106, 27, 27));
platformArr.push(new Platform(108, 179, 27, 27));
break;
case 2 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(156, 193, 54, 27));
platformArr.push(new Platform(292, 171, 54, 27));
platformArr.push(new Platform(420, 137, 54, 27));
platformArr.push(new Platform(1, 250, 79, 27));
platformArr.push(new Platform(248, 102, 27, 27));
platformArr.push(new Platform(525, 74, 27, 27));
break;
case 3 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(291, 100, 273, 27));
platformArr.push(new Platform(-1, 74, 27, 27));
platformArr.push(new Platform(25, 100, 158, 27));
platformArr.push(new Platform(184, 205, 54, 27));
platformArr.push(new Platform(105, 232, 107, 27));
platformArr.push(new Platform(419, 235, 107, 27));
platformArr.push(new Platform(500, 208, 79, 27));
platformArr.push(new Platform(366, 261, 79, 27));
break;
case 4 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-13, 100, 572, 27));
platformArr.push(new Platform(-14, 208, 227, 27));
platformArr.push(new Platform(185, 128, 26, 79));
platformArr.push(new Platform(473, 235, 107, 27));
platformArr.push(new Platform(419, 261, 53, 27));
break;
case 5 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(418, 100, 131, 27));
platformArr.push(new Platform(287, 120, 26, 62));
platformArr.push(new Platform(76, 259, 79, 27));
platformArr.push(new Platform(-1, 235, 79, 27));
platformArr.push(new Platform(470, 243, 79, 27));
platformArr.push(new Platform(392, -137, 26, 318));
platformArr.push(new Platform(-21, 100, 335, 27));
platformArr.push(new Platform(287, 183, 131, 27));
platformArr.push(new Platform(287, 154, 27, 27));
platformArr.push(new Platform(287, 128, 27, 27));
break;
case 6 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-1, 100, 392, 27));
platformArr.push(new Platform(-26, 243, 236, 27));
platformArr.push(new Platform(470, 100, 79, 27));
platformArr.push(new Platform(443, 202, 108, 27));
platformArr.push(new Platform(338, 243, 53, 27));
break;
case 7 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(0, 100, 79, 27));
platformArr.push(new Platform(156, 72, 79, 27));
platformArr.push(new Platform(314, 73, 79, 27));
platformArr.push(new Platform(183, 229, 27, 135));
platformArr.push(new Platform(278, 245, 53, 27));
platformArr.push(new Platform(470, 100, 79, 27));
platformArr.push(new Platform(-25, 202, 236, 27));
platformArr.push(new Platform(416, 202, 186, 27));
platformArr.push(new Platform(211, 283, 27, 27));
break;
case 8 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(-63, 202, 352, 27));
platformArr.push(new Platform(416, 202, 186, 27));
platformArr.push(new Platform(76, 101, 79, 27));
platformArr.push(new Platform(470, 100, 79, 27));
platformArr.push(new Platform(314, 256, 27, 27));
platformArr.push(new Platform(287, 230, 27, 27));
platformArr.push(new Platform(341, 283, 27, 77));
platformArr.push(new Platform(225, 73, 27, 27));
platformArr.push(new Platform(366, 72, 27, 27));
break;
case 9 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(306, 265, 79, 27));
platformArr.push(new Platform(110, 203, 156, 27));
platformArr.push(new Platform(394, 201, 156, 27));
platformArr.push(new Platform(80, 38, 549, 27));
platformArr.push(new Platform(1, 246, 27, 27));
platformArr.push(new Platform(0, 105, 27, 27));
platformArr.push(new Platform(110, 64, 27, 136));
platformArr.push(new Platform(83, 175, 27, 27));
platformArr.push(new Platform(523, 64, 27, 136));
break;
case 10 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(536, 133, 14, 223));
platformArr.push(new Platform(438, 119, 130, 14));
platformArr.push(new Platform(180, 79, 44, 14));
platformArr.push(new Platform(284, 143, 44, 14));
platformArr.push(new Platform(63, 50, 44, 14));
platformArr.push(new Platform(0, 143, 44, 14));
platformArr.push(new Platform(58, 240, 44, 14));
platformArr.push(new Platform(-10, -53, 18, 263));
break;
case 11 :
platformArr.push(new Platform(-26, 359, 593, 14));
platformArr.push(new Platform(402, 175, 44, 14));
platformArr.push(new Platform(106, 175, 44, 14));
platformArr.push(new Platform(505, 258, 44, 14));
platformArr.push(new Platform(-1, 258, 44, 14));
platformArr.push(new Platform(257, 237, 44, 14));
break;
default :
trace("no level 2 sublevel tested true");
}
} else if (levelNo == 3) {
switch (subLevelNo) {
case 1 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(522, 111, 101, 14));
break;
case 2 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(-1, 109, 101, 14));
platformArr.push(new Platform(466, 107, 101, 14));
break;
case 3 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(-1, 107, 101, 14));
platformArr.push(new Platform(482, 105, 101, 14));
break;
case 4 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(263, 243, 101, 14));
platformArr.push(new Platform(-15, 108, 627, 14));
platformArr.push(new Platform(536, 259, 14, 101));
platformArr.push(new Platform(451, 245, 101, 14));
platformArr.push(new Platform(87, 244, 101, 14));
platformArr.push(new Platform(87, 259, 14, 101));
break;
case 5 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(-1, 109, 101, 14));
platformArr.push(new Platform(466, 107, 101, 14));
break;
case 6 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(-1, 107, 101, 14));
platformArr.push(new Platform(482, 107, 101, 14));
break;
case 7 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(0, 108, 101, 14));
platformArr.push(new Platform(499, 108, 101, 14));
platformArr.push(new Platform(158, 108, 101, 14));
platformArr.push(new Platform(351, 108, 101, 14));
break;
case 8 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(-1, 109, 101, 15));
platformArr.push(new Platform(466, 107, 101, 15));
break;
case 9 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(535, -277, 14, 383));
platformArr.push(new Platform(451, 245, 101, 14));
platformArr.push(new Platform(451, 260, 14, 101));
platformArr.push(new Platform(87, 244, 101, 14));
platformArr.push(new Platform(87, 259, 14, 101));
platformArr.push(new Platform(-30, 108, 627, 14));
break;
case 10 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(536, 74, 14, 341));
platformArr.push(new Platform(64, 143, 131, 14));
platformArr.push(new Platform(368, 121, 44, 14));
platformArr.push(new Platform(272, 61, 44, 14));
platformArr.push(new Platform(154, 51, 44, 14));
platformArr.push(new Platform(0, 63, 44, 14));
platformArr.push(new Platform(490, 305, 44, 14));
platformArr.push(new Platform(350, 277, 44, 14));
platformArr.push(new Platform(210, 241, 44, 14));
platformArr.push(new Platform(491, 59, 88, 14));
break;
case 11 :
platformArr.push(new Platform(-26, 356, 593, 14));
platformArr.push(new Platform(106, 175, 44, 14));
platformArr.push(new Platform(-1, 258, 44, 14));
platformArr.push(new Platform(505, 258, 44, 14));
platformArr.push(new Platform(402, 175, 44, 14));
platformArr.push(new Platform(258, 175, 44, 14));
break;
default :
trace("no level 3 sublevel tested true");
}
} else if (levelNo == 4) {
switch (subLevelNo) {
case 1 :
platformArr.push(new Platform(-1, 356, 150, 14));
platformArr.push(new Platform(192, 297, 44, 14));
platformArr.push(new Platform(214, 210, 44, 14));
platformArr.push(new Platform(296, 253, 44, 14));
platformArr.push(new Platform(48, 177, 44, 14));
platformArr.push(new Platform(133, 122, 44, 14));
platformArr.push(new Platform(-1, 93, 74, 14));
platformArr.push(new Platform(354, 327, 44, 14));
platformArr.push(new Platform(439, 162, 44, 14));
platformArr.push(new Platform(507, 113, 44, 14));
platformArr.push(new Platform(504, 342, 44, 14));
platformArr.push(new Platform(336, 114, 44, 14));
break;
case 2 :
platformArr.push(new Platform(-3, 113, 44, 14));
platformArr.push(new Platform(284, 99, 44, 14));
platformArr.push(new Platform(428, 79, 44, 14));
platformArr.push(new Platform(184, 293, 44, 14));
platformArr.push(new Platform(272, 351, 44, 14));
platformArr.push(new Platform(422, 339, 44, 14));
platformArr.push(new Platform(0, 233, 44, 14));
platformArr.push(new Platform(-3, 342, 44, 14));
platformArr.push(new Platform(138, 139, 44, 14));
platformArr.push(new Platform(506, 113, 44, 14));
platformArr.push(new Platform(86, 321, 44, 14));
platformArr.push(new Platform(470, 265, 44, 14));
break;
case 3 :
platformArr.push(new Platform(118, 137, 44, 14));
platformArr.push(new Platform(338, 333, 44, 14));
platformArr.push(new Platform(448, 267, 44, 14));
platformArr.push(new Platform(510, 151, 44, 14));
platformArr.push(new Platform(-2, 113, 44, 14));
platformArr.push(new Platform(210, 265, 44, 14));
platformArr.push(new Platform(142, 199, 44, 14));
break;
case 4 :
platformArr.push(new Platform(228, 267, 44, 14));
platformArr.push(new Platform(0, 151, 44, 14));
platformArr.push(new Platform(136, 345, 44, 14));
platformArr.push(new Platform(530, 233, 44, 14));
platformArr.push(new Platform(439, 342, 88, 14));
platformArr.push(new Platform(316, 163, 44, 14));
platformArr.push(new Platform(230, 69, 44, 14));
platformArr.push(new Platform(164, 37, 44, 14));
platformArr.push(new Platform(460, 130, 44, 14));
break;
case 5 :
platformArr.push(new Platform(118, 137, 44, 14));
platformArr.push(new Platform(350, 69, 133, 14));
platformArr.push(new Platform(0, 233, 44, 14));
platformArr.push(new Platform(361, 276, 199, 14));
platformArr.push(new Platform(292, 277, 14, 87));
platformArr.push(new Platform(291, 365, 266, 14));
platformArr.push(new Platform(537, 292, 14, 71));
platformArr.push(new Platform(246, 69, 44, 14));
platformArr.push(new Platform(468, -355, 14, 424));
platformArr.push(new Platform(0, 65, 44, 14));
platformArr.push(new Platform(204, 195, 44, 14));
break;
case 6 :
platformArr.push(new Platform(525, 351, 44, 14));
platformArr.push(new Platform(1, 276, 44, 14));
platformArr.push(new Platform(426, 351, 44, 14));
platformArr.push(new Platform(143, 351, 44, 14));
platformArr.push(new Platform(241, 351, 44, 14));
platformArr.push(new Platform(336, 351, 44, 14));
platformArr.push(new Platform(57, 167, 44, 14));
platformArr.push(new Platform(351, 167, 44, 14));
platformArr.push(new Platform(49, 351, 44, 14));
platformArr.push(new Platform(201, 167, 44, 14));
platformArr.push(new Platform(505, 167, 44, 14));
break;
case 7 :
platformArr.push(new Platform(186, 218, 44, 14));
platformArr.push(new Platform(246, 327, 44, 14));
platformArr.push(new Platform(322, 91, 44, 14));
platformArr.push(new Platform(1, 166, 44, 14));
platformArr.push(new Platform(366, 357, 44, 14));
platformArr.push(new Platform(486, 357, 44, 14));
platformArr.push(new Platform(-1, 350, 44, 14));
platformArr.push(new Platform(88, 121, 44, 14));
platformArr.push(new Platform(186, 75, 44, 14));
platformArr.push(new Platform(278, 107, 44, 14));
platformArr.push(new Platform(100, 295, 44, 14));
platformArr.push(new Platform(528, 307, 44, 14));
platformArr.push(new Platform(531, 88, 44, 14));
platformArr.push(new Platform(366, 75, 133, 14));
platformArr.push(new Platform(416, -123, 14, 198));
break;
case 8 :
platformArr.push(new Platform(532, 83, 44, 14));
platformArr.push(new Platform(52, 201, 44, 14));
platformArr.push(new Platform(1, 312, 44, 14));
platformArr.push(new Platform(108, 73, 44, 14));
platformArr.push(new Platform(282, 85, 44, 14));
platformArr.push(new Platform(1, 88, 44, 14));
platformArr.push(new Platform(200, 125, 44, 14));
platformArr.push(new Platform(424, 181, 44, 14));
break;
case 9 :
platformArr.push(new Platform(1, 83, 44, 14));
platformArr.push(new Platform(23, 348, 44, 14));
platformArr.push(new Platform(402, 61, 44, 14));
platformArr.push(new Platform(463, 356, 133, 14));
platformArr.push(new Platform(140, 257, 44, 14));
platformArr.push(new Platform(312, 253, 44, 14));
platformArr.push(new Platform(356, 137, 44, 14));
platformArr.push(new Platform(100, 143, 44, 14));
platformArr.push(new Platform(330, 325, 44, 14));
break;
case 10 :
platformArr.push(new Platform(350, 277, 44, 14));
platformArr.push(new Platform(380, 67, 44, 14));
platformArr.push(new Platform(0, 95, 44, 14));
platformArr.push(new Platform(536, -110, 14, 391));
platformArr.push(new Platform(491, 59, 44, 14));
platformArr.push(new Platform(122, 63, 44, 14));
platformArr.push(new Platform(254, 69, 44, 14));
platformArr.push(new Platform(490, 267, 44, 14));
platformArr.push(new Platform(210, 241, 44, 14));
platformArr.push(new Platform(84, 173, 44, 14));
platformArr.push(new Platform(-15, 356, 571, 14));
break;
case 11 :
platformArr.push(new Platform(180, 106, 44, 14));
platformArr.push(new Platform(-15, 356, 571, 14));
platformArr.push(new Platform(505, 258, 44, 14));
platformArr.push(new Platform(321, 105, 44, 14));
platformArr.push(new Platform(94, 175, 44, 14));
platformArr.push(new Platform(404, 175, 44, 14));
platformArr.push(new Platform(-1, 258, 44, 14));
break;
default :
trace("no level 4 sublevel tested true");
}
} else if (levelNo == 5) {
switch (subLevelNo) {
case 1 :
platformArr.push(new Platform(0, 357, 88, 14));
platformArr.push(new Platform(0, 179, 88, 14));
platformArr.push(new Platform(118, 277, 44, 14));
platformArr.push(new Platform(265, 226, 44, 14));
platformArr.push(new Platform(414, 142, 44, 14));
platformArr.push(new Platform(505, 240, 44, 14));
break;
case 2 :
platformArr.push(new Platform(1, 240, 44, 14));
platformArr.push(new Platform(419, 73, 44, 14));
platformArr.push(new Platform(178, 313, 44, 14));
platformArr.push(new Platform(107, 151, 44, 14));
platformArr.push(new Platform(222, 67, 44, 14));
platformArr.push(new Platform(321, 73, 44, 14));
platformArr.push(new Platform(252, 386, 44, 14));
platformArr.push(new Platform(368, 323, 44, 14));
platformArr.push(new Platform(506, 323, 44, 14));
platformArr.push(new Platform(43, 313, 44, 14));
break;
case 3 :
platformArr.push(new Platform(0, 323, 44, 14));
platformArr.push(new Platform(1, 59, 44, 14));
platformArr.push(new Platform(242, 385, 44, 14));
platformArr.push(new Platform(510, 265, 44, 14));
platformArr.push(new Platform(458, 149, 44, 14));
platformArr.push(new Platform(100, 141, 44, 14));
platformArr.push(new Platform(292, 297, 44, 14));
platformArr.push(new Platform(346, 79, 44, 14));
platformArr.push(new Platform(408, 217, 44, 14));
platformArr.push(new Platform(54, 241, 44, 14));
platformArr.push(new Platform(83, 387, 44, 14));
break;
case 4 :
platformArr.push(new Platform(100, 24, 267, 14));
platformArr.push(new Platform(90, 141, 88, 14));
platformArr.push(new Platform(-2, 258, 44, 14));
platformArr.push(new Platform(48, 194, 44, 14));
platformArr.push(new Platform(-1, 67, 44, 14));
platformArr.push(new Platform(222, 141, 147, 14));
platformArr.push(new Platform(222, 39, 14, 101));
platformArr.push(new Platform(198, 256, 44, 14));
platformArr.push(new Platform(174, 385, 44, 14));
platformArr.push(new Platform(18, 387, 44, 14));
platformArr.push(new Platform(308, 385, 44, 14));
platformArr.push(new Platform(462, 387, 44, 14));
platformArr.push(new Platform(504, 305, 44, 14));
platformArr.push(new Platform(416, 215, 44, 14));
platformArr.push(new Platform(91, -213, 14, 247));
platformArr.push(new Platform(98, 309, 44, 14));
platformArr.push(new Platform(248, 309, 44, 14));
platformArr.push(new Platform(380, 307, 44, 14));
platformArr.push(new Platform(354, -208, 14, 247));
break;
case 5 :
platformArr.push(new Platform(60, 193, 44, 14));
platformArr.push(new Platform(386, 385, 44, 14));
platformArr.push(new Platform(212, 387, 44, 14));
platformArr.push(new Platform(1, 305, 44, 14));
platformArr.push(new Platform(50, 385, 44, 14));
platformArr.push(new Platform(154, 109, 44, 14));
platformArr.push(new Platform(262, 153, 44, 14));
platformArr.push(new Platform(386, 115, 44, 14));
platformArr.push(new Platform(506, 153, 44, 14));
platformArr.push(new Platform(504, 385, 44, 14));
break;
case 6 :
platformArr.push(new Platform(356, 153, 224, 14));
platformArr.push(new Platform(178, 385, 44, 14));
platformArr.push(new Platform(246, 153, 44, 14));
platformArr.push(new Platform(310, 385, 44, 14));
platformArr.push(new Platform(444, 385, 44, 14));
platformArr.push(new Platform(532, 385, 44, 14));
platformArr.push(new Platform(0, 385, 88, 14));
platformArr.push(new Platform(2, 153, 175, 14));
break;
case 7 :
platformArr.push(new Platform(532, 385, 44, 14));
platformArr.push(new Platform(132, 385, 44, 14));
platformArr.push(new Platform(310, 385, 44, 14));
platformArr.push(new Platform(444, 385, 44, 14));
platformArr.push(new Platform(48, 277, 44, 14));
platformArr.push(new Platform(0, 385, 88, 14));
platformArr.push(new Platform(-4, 151, 558, 14));
break;
case 8 :
platformArr.push(new Platform(394, 243, 44, 14));
platformArr.push(new Platform(178, 271, 44, 14));
platformArr.push(new Platform(284, 295, 44, 14));
platformArr.push(new Platform(34, 281, 44, 14));
platformArr.push(new Platform(-4, 152, 558, 14));
platformArr.push(new Platform(-2, 385, 224, 14));
platformArr.push(new Platform(472, 301, 44, 14));
platformArr.push(new Platform(354, 385, 224, 14));
break;
case 9 :
platformArr.push(new Platform(266, 385, 44, 14));
platformArr.push(new Platform(290, 153, 44, 14));
platformArr.push(new Platform(398, 385, 44, 14));
platformArr.push(new Platform(400, 153, 224, 14));
platformArr.push(new Platform(537, -191, 16, 442));
platformArr.push(new Platform(0, 385, 44, 14));
platformArr.push(new Platform(102, 385, 44, 14));
platformArr.push(new Platform(180, 153, 44, 14));
platformArr.push(new Platform(508, 356, 44, 14));
platformArr.push(new Platform(1, 153, 88, 14));
break;
case 10 :
platformArr.push(new Platform(535, 64, 16, 293));
platformArr.push(new Platform(-14, -191, 16, 442));
platformArr.push(new Platform(-2, 356, 555, 14));
platformArr.push(new Platform(398, 97, 44, 14));
platformArr.push(new Platform(491, 59, 88, 14));
platformArr.push(new Platform(272, 93, 44, 14));
platformArr.push(new Platform(250, 195, 44, 14));
platformArr.push(new Platform(140, 111, 44, 14));
platformArr.push(new Platform(490, 305, 44, 14));
platformArr.push(new Platform(210, 275, 44, 14));
platformArr.push(new Platform(0, 85, 44, 14));
break;
case 11 :
platformArr.push(new Platform(62, 160, 44, 14));
platformArr.push(new Platform(-24, 251, 44, 14));
platformArr.push(new Platform(-1, 59, 44, 14));
platformArr.push(new Platform(217, 121, 44, 14));
platformArr.push(new Platform(210, 273, 44, 14));
platformArr.push(new Platform(320, 194, 44, 14));
platformArr.push(new Platform(445, 159, 44, 14));
platformArr.push(new Platform(506, 59, 44, 14));
platformArr.push(new Platform(527, 249, 44, 14));
platformArr.push(new Platform(492, 355, 76, 14));
platformArr.push(new Platform(-27, 355, 72, 14));
platformArr.push(new Platform(197, 355, 146, 14));
break;
default :
trace("no level 5 sublevel tested true");
}
} else {
trace("no Level tested true");
}
trace("========add Thought Forms from array==================== " + thoughFormArr.length);
i = thoughFormArr.length;
while ((i--) > 0) {
if (thoughFormArr[i].subLevelNo == subLevelNo) {
trace((((((((("TF " + thoughFormArr[i].targ) + " :: pickedUp: ") + thoughFormArr[i].pickedUp) + " :: x: ") + thoughFormArr[i].x) + " :: y: ") + thoughFormArr[i].y) + " :: col: ") + thoughFormArr[i].col);
if (!thoughFormArr[i].pickedUp) {
attachMovie("ThoughForm", thoughFormArr[i].targ, i + 2000);
currTF = eval (thoughFormArr[i].targ);
currTF._x = thoughFormArr[i].x;
currTF._y = thoughFormArr[i].y;
currTF.gotoAndStop(thoughFormArr[i].col);
}
}
}
}
trace("LevelNo: " + levelNo);
missileNo = 0;
DtR = degToRad;
Abs = Math.abs;
Sqrt = Math.sqrt;
Acos = Math.acos;
FPS = 18;
sw = 550;
sh = 400;
pLwHlf = 15;
pLh = 60;
pLxspeed = 160 / FPS;
pLyspeed = 0;
pLjumpSpeed = -580 / FPS;
pLjumping = false;
pLisHit = false;
pLalive = "alive";
pLattackOn = false;
pLwalking = false;
pLhealth = 10;
platfBD = 10;
grav = 60 / FPS;
movePLwithMouse = false;
subLevelNo = 1;
enemyArr = [];
deadShooterEnemyArr = [];
missileArr = [];
movingPlatformArr = [];
levelCodeArr = [];
levelCodeArr[2] = "AGAAD";
levelCodeArr[3] = "JTSSD";
levelCodeArr[4] = "KTHXA";
levelCodeArr[5] = "HJADA";
game_stat = "paused";
music_stat = true;
musicSelection = "";
onEnterFrame = function () {
if (game_stat == "play") {
if (pLalive == "alive") {
if (movePLwithMouse) {
pL._x = _xmouse;
pL._y = _ymouse;
} else {
if (Key.isDown(38) && (!pLjumping)) {
pLyspeed = pLjumpSpeed;
mcJosephJumping.gotoAndPlay(2);
}
pLjumping = true;
pLwalking = false;
currpLxspeed = 0;
pLstat = "";
pLattack = false;
if ((Key.isDown(17) && (!pLblocking)) && (!pLisHit)) {
pL.gotoAndStop("attack");
pL.Joseph.play();
pLattack = true;
pLstat = "attack";
}
if (Key.isDown(37)) {
if (!pLblocking) {
currpLxspeed = -pLxspeed;
pLxscale = -100;
pLwalking = true;
pLstat = "walking";
if (!pLattack) {
pL.gotoAndStop("walking");
}
}
} else if (Key.isDown(39)) {
if (!pLblocking) {
currpLxspeed = pLxspeed;
pLxscale = 100;
pLwalking = true;
pLstat = "walking";
if (!pLattack) {
pL.gotoAndStop("walking");
}
}
}
pLblocking = false;
if (Key.isDown(16)) {
trace("pLblocking");
pL.gotoAndStop("block");
pLblocking = true;
pLstat = "block";
}
if (pLstat == "") {
pLstat = "standing";
pL.gotoAndStop("standing");
}
txt_pLstat = pLstat;
txt_pLattackOn = pLattack;
pL._x = pL._x + currpLxspeed;
pLyspeed = pLyspeed + grav;
pL._y = pL._y + pLyspeed;
pL._xscale = pLxscale;
}
pLxMin = pL._x - pLwHlf;
pLxMax = pL._x + pLwHlf;
pLyMin = pL._y - pLh;
pLyMax = pL._y;
i = platformArr.length;
while ((i--) > 0) {
targ = eval (platformArr[i].targ);
pxMin = platformArr[i].x;
pxMax = platformArr[i].x + platformArr[i].w;
pyMin = platformArr[i].y;
pyMax = platformArr[i].y + platformArr[i].h;
if (pL.hitArea.hitTest(targ)) {
platformSide = false;
if (pLxMax < (pxMin + currpLxspeed)) {
pL._x = (pxMin - pLwHlf) - 1;
platformSide = true;
} else if (pLxMin > (pxMax + currpLxspeed)) {
pL._x = (pxMax + pLwHlf) + 1;
platformSide = true;
}
if (!platformSide) {
if (pLyMax < (pyMin + pLyspeed)) {
pL._y = pyMin;
pLyspeed = 0;
pLjumping = false;
} else if (pLyMin < (pyMax - pLyspeed)) {
pL._y = pyMax + pLh;
pLyspeed = 0;
trace("JUMP");
}
}
}
}
i = thoughFormArr.length;
while ((i--) > 0) {
currSubLevNo = thoughFormArr[i].subLevelNo;
if (currSubLevNo == subLevelNo) {
currTF = eval (thoughFormArr[i].targ);
if (pL.hitArea.hitTest(currTF.hitArea)) {
removeMovieClip(currTF);
thoughFormArr[i].pickedUp = true;
trace(currTF);
if (thoughFormArr[i].col == "pink") {
increaseScore(10);
pLgetsHit(-0.3);
} else if (thoughFormArr[i].col == "violet") {
pLgetsHit(-5);
increaseScore(50);
} else if (thoughFormArr[i].col == "black") {
pLgetsHit(1);
} else if (thoughFormArr[i].col == "blue") {
txtBlueTFs = 1 + int(txtBlueTFs);
increaseScore(100);
} else if (thoughFormArr[i].col == "life") {
pLnoOfLives++;
txt_pLnoOfLives = pLnoOfLives;
increaseScore(100);
}
thoughtFormPickUpSoundMC.gotoAndStop(thoughFormArr[i].col);
}
} else if (currSubLevNo < subLevelNo) {
i = 0;
}
}
if (pLyMin > sh) {
trace("DEAD");
pLgetsHit(1);
} else if (pLxMin < 0) {
trace((("subLevelNo: " + subLevelNo) + " :: bossSubLevelNo: ") + levelArr[levelNo - 1].bossSubLevelNo);
if ((subLevelNo != 1) && (subLevelNo != 11)) {
trace("previous screen");
prevFrame();
subLevelNo--;
subLevelInit();
pL._x = sw - pLwHlf;
pL._x = pL._x - 5;
} else {
trace("previous screen stopped");
pL._x = pLwHlf;
}
} else if (pLxMax > sw) {
if (subLevelNo != 11) {
trace("next screen");
nextFrame();
subLevelNo++;
subLevelInit();
pL._x = pLwHlf;
pL._y = pL._y - 3;
} else {
pL._x = sw - pLwHlf;
}
}
} else if (pLalive == "dead") {
pL.gotoAndStop("dies");
} else if (pLalive == "resetPosition") {
if (pLnoOfLives > 0) {
pLnoOfLives--;
txt_pLnoOfLives = pLnoOfLives;
pLhealth = 10;
mcHealth.amount._xscale = pLhealth * 10;
pL._x = 20;
pL._y = 80;
pLyspeed = 0;
pLalive = "alive";
pLstat = "walking";
pL.gotoAndStop("walking");
} else {
txtBlueTFs = 0;
txtScore = 0;
game_stat = "over";
statusWindowMC._visible = true;
statusWindowMC.gotoAndStop("game_over");
removeAttachedMCsPTM(true, true, true);
}
}
i = missileArr.length;
while ((i--) > 0) {
targ = eval (missileArr[i].targ);
targ._x = targ._x + missileArr[i].vx;
targ._y = targ._y + missileArr[i].vy;
if (pL.hitArea.hitTest(targ)) {
trace(" --- missile hit " + pL._xscale);
if ((pLstat != "block") || ((pLstat == "block") && ((missileArr[i].vx * pL._xscale) > 0))) {
pLgetsHit(missileArr[i].type);
} else {
pL.JosephShieldGlowMC._visible = true;
pL.JosephShieldGlowMC.play();
}
targ.removeMovieClip();
missileArr.splice(i, 1);
} else if ((targ._x < 0) || (targ._x > sw)) {
targ.removeMovieClip();
missileArr.splice(i, 1);
}
}
i = movingPlatformArr.length;
while ((i--) > 0) {
targ = eval (movingPlatformArr[i]);
with (targ) {
_x = _x + xSpeed;
_y = _y + ySpeed;
if ((_x > xTravelMax) || (_x < xTravelMin)) {
xSpeed = xSpeed * -1;
}
if ((_y > yTravelMax) || (_y < yTravelMin)) {
ySpeed = ySpeed * -1;
}
pLxMin = R.pLxMin;
pLxMax = R.pLxMax;
pLyMin = R.pLyMin;
pLyMax = R.pLyMax;
pLwHlf = R.pLwHlf;
pxMin = _x;
pxMax = _x + _width;
pyMin = _y;
pyMax = _y + _height;
currpLxspeed = R.currpLxspeed;
if (hitTest(R.pL.hitArea)) {
platformSide = false;
if (pLxMax < (pxMin + currpLxspeed)) {
R.pL._x = (pxMin - pLwHlf) - 1;
platformSide = true;
pLstat = "jump";
} else if (pLxMin > (pxMax + currpLxspeed)) {
R.pL._x = (pxMax + pLwHlf) + 1;
platformSide = true;
pLstat = "jump";
}
d = pyMin - R.pLyspeed;
trace((("Collision :: pLxMax: " + pLyMax) + " d: ") + d);
if (!platformSide) {
if (pLyMax < ((pyMax + R.pLyspeed) + ySpeed)) {
R.pL._y = pyMin;
R.pL._x = R.pL._x + xSpeed;
pLstat = "";
R.pLyspeed = 0;
R.pLjumping = false;
} else if (pLyMin < ((pyMax - R.pLyspeed) - ySpeed)) {
R.pL._y = (pyMax + R.pLh) + ySpeed;
R.pLyspeed = 0;
pLstat = "jump";
trace("JUMP");
}
}
}
}
}
i = enemyArr.length;
while ((i--) > 0) {
targ = eval (enemyArr[i].targ);
type = enemyArr[i].type;
if (type == "walker") {
walkerA_onEnterFrame(targ);
} else if (type == "shooter") {
shooterA_onEnterFrame(targ);
} else if (type == "flyer") {
flyerA_onEnterFrame(targ);
}
}
} else if (game_stat == "paused") {
} else if (game_stat == "over") {
}
};
stop();
function changeMusic(currentMusic) {
_level0.musicSelection = currentMusic;
stopAllSounds();
music_stat = false;
turnMusicOnOff();
}
function turnMusicOnOff() {
if (music_stat) {
stopAllSounds();
levelMusicMC.gotoAndStop(1);
} else {
levelMusicMC.gotoAndStop("levelMusic_" + musicSelection);
}
music_stat = !music_stat;
}
function checkSubLevel(actualSubLevel) {
if (subLevelNo != actualSubLevel) {
removeAttachedMCsPTM(true, true, true);
gotoAndPlay (2);
statusWindowMC._visible = true;
statusWindowMC.gotoAndStop("main_menu");
}
}
function increaseScore(score) {
txtScore = score + int(txtScore);
}
function pLgetsHit(damage) {
if (pLalive == "alive") {
pLhealth = pLhealth - damage;
if (damage > 0) {
pL.mcGetsHit.gotoAndPlay(2);
pLisHit = true;
}
if (pLhealth <= 0) {
pLhealth = 0;
pLalive = "dead";
} else if (pLhealth > 10) {
pLhealth = 10;
}
mcHealth.amount._xscale = pLhealth * 10;
trace("PLAYER HEALTH: " + pLhealth);
}
}
function degToRad(angle) {
return((angle * Math.PI) / 180);
}
function levelComplete() {
removeAttachedMCsPTM(true, true, true);
game_stat = "paused";
statusWindowMC._visible = true;
increaseScore(1000);
if (levelNo <= 3) {
pL_levelCode = levelCodeArr[levelNo + 1];
statusWindowMC.gotoAndStop("level_code");
statusWindowMC.txtLevelCode = pL_levelCode;
statusWindowMC.txtLevelNo = levelNo + 1;
} else if (levelNo == 4) {
trace("txtBlueTFs " + txtBlueTFs);
if (txtBlueTFs >= 20) {
pL_levelCode = levelCodeArr[5];
statusWindowMC.gotoAndStop("level_code");
} else {
pL_levelCode = "level_conclusion_movie";
statusWindowMC.gotoAndStop("conclusion_movie");
}
statusWindowMC.txtLevelCode = pL_levelCode;
statusWindowMC.txtLevelNo = levelNo + 1;
} else if (levelNo == 5) {
statusWindowMC.gotoAndStop("bonus_movie");
}
trace((("levelNo: " + levelNo) + " -- code: ") + pL_levelCode);
levelNo++;
}
function pLhitsEnemy() {
pLattackOn = false;
pLhitsEnemyMC._x = pL._x + ((2 * pLwHlf) * (pL._xscale / Abs(pL._xscale)));
pLhitsEnemyMC._y = pL._y - (pLh * 0.66);
pLhitsEnemyMC._xscale = pL._xscale;
pLhitsEnemyMC.gotoAndPlay(2);
}
function calcAngleBetween2points(dx, dy) {
angle = Acos(dx / Sqrt((dx * dx) + (dy * dy)));
if (dy < 0) {
angle = angle * -1;
}
return(angle);
}
function isShooterEnemyDead(obj) {
with (eval (obj)) {
R.deadShooterEnemyArr;
name = _name;
i = R.deadShooterEnemyArr.length;
while ((i--) > 0) {
trace((("CHECKING SHOOTERS: " + name) + " currname: ") + R.deadShooterEnemyArr[i].name);
if ((name == R.deadShooterEnemyArr[i].name) && (subLevelNo == R.deadShooterEnemyArr[i].subLevelNo)) {
stat = "dead";
_visible = false;
}
}
}
}
function flyerA_onEnterFrame(opponent) {
opp = eval (opponent);
with (opp) {
if (stat != "dead") {
if (_x > sw) {
_x = -50;
}
if ((missileAttackFr--) <= 0) {
missileAttackFr = int(missileAttackFrMax * (1 + Math.random()));
alfa = R.calcAngleBetween2points(pL._x - _x, pL._y - _y);
R.missileArr.push(new R.Missile(1, _x, _y - (_height / 2), miss_v * Math.cos(alfa), miss_v * Math.sin(alfa)));
}
vx = vx_max;
_x = _x + vx;
if (R.pLattackOn) {
if (T.hitArea.hitTest(R.pL.Joseph.armWithSword)) {
pLydist = _x - PL._x;
pLxdist = _x - PL._x;
health--;
pLhitsEnemy();
R.pLattackOn = false;
if (health <= 0) {
gotoAndStop("dies");
stat = "dead";
increaseScore(50);
}
}
}
} else if (reset) {
reset = false;
_x = -50;
health = 2;
stat = "walking";
gotoAndStop("walking");
}
}
}
function walkerA_onEnterFrame(opponent) {
opp = eval (opponent);
with (opp) {
if (stat != "dead") {
pLdistX = _x - PL._x;
pLdistY = _y - PL._y;
if (pLdistX < 0) {
_xscale = -100;
vx = -vx_max;
} else {
_xscale = 100;
vx = vx_max;
}
Abs_pLdistX = Math.abs(pLdistX);
Abs_pLdistY = Math.abs(pLdistY);
if (Abs_pLdistX < approachDistance) {
if (Abs_pLdistX > (2 * pLwHlf)) {
gotoAndStop("walking");
attacking = false;
} else {
vx = 0;
if (Abs_pLdistY < pLh) {
gotoAndStop("attacking");
if (attacking) {
attacking = false;
if ((pLdistX * _xscale) > 0) {
pLgetsHit(1);
}
}
} else {
gotoAndStop("standing");
}
}
} else {
_xscale = 100;
vx = vx_max;
gotoAndStop("walking");
attacking = false;
}
_x = _x + vx;
if (_x < 0) {
_x = sw + 50;
}
if (R.pLattackOn) {
if (T.hitArea.hitTest(R.pL.Joseph.armWithSword)) {
health--;
pLhitsEnemy();
R.pLattackOn = false;
if (health <= 0) {
gotoAndStop("dies");
stat = "dead";
increaseScore(50);
}
}
}
} else if (reset) {
reset = false;
_x = sw + 50;
health = 2;
stat = "walking";
gotoAndStop("walking");
}
}
}
function shooterA_onEnterFrame(opponent) {
opp = eval (opponent);
with (opp) {
if (stat != "dead") {
if ((missileAttackFr--) == 0) {
missileAttackFr = int((4 * FPS) * (1 - (Math.random() / 2)));
R.missileArr.push(new R.Missile(1, missileStartX, missileStartY, missileSpeedX, 0));
}
if (R.pLattackOn) {
if (T.hitArea.hitTest(R.pL.Joseph.armWithSword)) {
health--;
pLhitsEnemy();
R.pLattackOn = false;
if (health <= 0) {
gotoAndStop("dies");
stat = "dead";
increaseScore(50);
R.deadShooterEnemyArr.push({name:_name, subLevelNo:R.subLevelNo});
}
}
}
}
}
}
Frame 4
checkSubLevel(1);
Instance of Symbol 532 MovieClip "3" in Frame 4
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 2;
approachDistance = 100;
attackDistance = 30;
type = "walker";
R.enemyArr.push(new R.Enemy(_target, type));
}
Frame 5
checkSubLevel(2);
Instance of Symbol 586 MovieClip "1" in Frame 5
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "2" in Frame 5
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 6
checkSubLevel(3);
Instance of Symbol 624 MovieClip "2" in Frame 6
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 2;
approachDistance = 100;
attackDistance = 30;
type = "walker";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 586 MovieClip "3" in Frame 6
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "4" in Frame 6
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 7
checkSubLevel(4);
Instance of Symbol 586 MovieClip "8" in Frame 7
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "5" in Frame 7
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "6" in Frame 7
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 586 MovieClip "7" in Frame 7
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 8
checkSubLevel(5);
Instance of Symbol 532 MovieClip "2" in Frame 8
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 2;
approachDistance = 100;
attackDistance = 30;
type = "walker";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 586 MovieClip "1" in Frame 8
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "21" in Frame 8
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "3" in Frame 8
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 9
checkSubLevel(6);
Instance of Symbol 599 MovieClip "6" in Frame 9
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "4" in Frame 9
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 586 MovieClip "5" in Frame 9
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 10
checkSubLevel(7);
Instance of Symbol 624 MovieClip "2" in Frame 10
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 2;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 586 MovieClip "21" in Frame 10
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "1" in Frame 10
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 11
checkSubLevel(8);
Instance of Symbol 586 MovieClip "4" in Frame 11
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "3" in Frame 11
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 599 MovieClip "5" in Frame 11
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 586 MovieClip "6" in Frame 11
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 12
checkSubLevel(9);
Instance of Symbol 532 MovieClip "2" in Frame 12
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 2;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 599 MovieClip "1" in Frame 12
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 586 MovieClip "21" in Frame 12
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 13
checkSubLevel(10);
Frame 14
checkSubLevel(11);
Instance of Symbol 650 MovieClip "mcBoss" in Frame 14
onClipEvent (load) {
R = _parent;
R.changeMusic("boss");
T = this;
PL = R.pL;
stat = "walking";
gotoAndStop (2);
vx_max = -100 / R.FPS;
vx = vx_max;
screenLimitWidth = 70;
xmin = screenLimitWidth;
xmax = R.sw - screenLimitWidth;
health = 100;
isHit = false;
}
onClipEvent (enterFrame) {
if (stat != "dead") {
limitReached = false;
if (_x < xmin) {
_x = (xmin + 1);
limitReached = true;
} else if (_x > xmax) {
_x = (xmax - 1);
limitReached = true;
}
if (limitReached) {
_xscale = (_xscale * -1);
vx = vx * -1;
bossDirection = _xscale / Math.abs(_xscale);
Arrows = R.mcArrows;
Arrows._x = _x - (bossDirection * 70);
Arrows._y = _y - (_height / 2.5);
Arrows._xscale = 100 * bossDirection;
Arrows.gotoAndPlay(1);
Arrows._visible = true;
}
_x = (_x + vx);
if (Arrows.hitTest(PL)) {
R.pLgetsHit(1);
Arrows._y = -100;
Arrows._visible = false;
}
contact = false;
if (T.hitArea1.hitTest(R.pL.hitArea)) {
contact = true;
} else if (T.hitArea2.hitTest(R.pL.hitArea)) {
contact = true;
}
if (contact) {
R.pLgetsHit(0.1);
mcHealth.amount._xscale = mcHealth.amount._xscale - pLhealth;
}
trace(R.pLhealth);
isHit = false;
if (T.hitArea1.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
} else if (T.hitArea2.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
}
trace("Boss health: " + health);
if (isHit && (R.pLattackOn)) {
health = health - 10;
R.pLhitsEnemy();
R.mcBossHealth.amount._xscale = health;
}
if (health <= 0) {
health = 0;
trace(("Boss health: " + health) + "-- dies ");
gotoAndPlay (2);
stat = "dead";
R.levelComplete();
}
}
}
Frame 15
checkSubLevel(0);
Frame 19
checkSubLevel(1);
Instance of Symbol 703 MovieClip in Frame 19
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Frame 20
checkSubLevel(2);
Instance of Symbol 721 MovieClip "1" in Frame 20
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "3" in Frame 20
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 721 MovieClip "2" in Frame 20
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 21
checkSubLevel(3);
Instance of Symbol 750 MovieClip in Frame 21
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 721 MovieClip "4" in Frame 21
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "5" in Frame 21
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 22
checkSubLevel(4);
Instance of Symbol 721 MovieClip "8" in Frame 22
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "7" in Frame 22
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 721 MovieClip "6" in Frame 22
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 23
checkSubLevel(5);
Instance of Symbol 703 MovieClip in Frame 23
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 721 MovieClip "2" in Frame 23
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "1" in Frame 23
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "3" in Frame 23
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 24
checkSubLevel(6);
Instance of Symbol 750 MovieClip in Frame 24
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 721 MovieClip "6" in Frame 24
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "4" in Frame 24
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 721 MovieClip "5" in Frame 24
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 25
checkSubLevel(7);
Instance of Symbol 721 MovieClip "2" in Frame 25
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "8" in Frame 25
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 721 MovieClip "1" in Frame 25
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "7" in Frame 25
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 26
checkSubLevel(8);
Instance of Symbol 721 MovieClip "5" in Frame 26
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "3" in Frame 26
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "4" in Frame 26
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 27
checkSubLevel(9);
Instance of Symbol 703 MovieClip in Frame 27
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 721 MovieClip "7" in Frame 27
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 732 MovieClip "6" in Frame 27
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 28
checkSubLevel(10);
Frame 29
checkSubLevel(11);
Instance of Symbol 768 MovieClip "mcBoss" in Frame 29
onClipEvent (load) {
R = _parent;
R.changeMusic("boss");
T = this;
PL = R.pL;
stat = "walking";
gotoAndStop (2);
health = 100;
isHit = false;
}
onClipEvent (enterFrame) {
if (stat != "dead") {
_x = (R.mcBossController._x + R.mcBossController.positionMC._x);
if (R.bossRayL.hitTest(PL)) {
R.pLgetsHit(1);
R.bossRayL._y = -100;
R.bossRayL._visible = false;
} else if (R.bossRayR.hitTest(PL)) {
R.pLgetsHit(1);
R.bossRayR._y = -100;
R.bossRayR._visible = false;
}
contact = false;
if (T.hitArea1.hitTest(R.pL.hitArea)) {
contact = true;
} else if (T.hitArea2.hitTest(R.pL.hitArea)) {
contact = true;
}
if (contact) {
R.pLgetsHit(0.1);
mcHealth.amount._xscale = mcHealth.amount._xscale - pLhealth;
}
trace(R.pLhealth);
isHit = false;
if (T.hitArea1.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
} else if (T.hitArea2.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
}
trace("Boss health: " + health);
if (isHit && (R.pLattackOn)) {
health = health - 8;
R.pLhitsEnemy();
R.mcBossHealth.amount._xscale = health;
}
if (health <= 0) {
health = 0;
trace(("Boss health: " + health) + "-- dies ");
gotoAndPlay (2);
stat = "dead";
R.levelComplete();
}
}
}
Instance of Symbol 770 MovieClip "bossRayL" in Frame 29
onClipEvent (enterFrame) {
_x = (_x + xspeed);
}
Instance of Symbol 770 MovieClip "bossRayR" in Frame 29
onClipEvent (enterFrame) {
_x = (_x + xspeed);
}
Frame 30
checkSubLevel(0);
Frame 34
checkSubLevel(1);
Instance of Symbol 777 MovieClip "p100" in Frame 34
onClipEvent (load) {
xTravelMin = 0;
xTravelMax = 0;
yTravelMin = 150;
yTravelMax = 280;
xSpeed = 0;
ySpeed = 2;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 777 MovieClip "p101" in Frame 34
onClipEvent (load) {
xTravelMin = 260;
xTravelMax = 410;
yTravelMin = 0;
yTravelMax = 0;
xSpeed = 4;
ySpeed = 0;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 808 MovieClip in Frame 34
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Frame 35
checkSubLevel(2);
Instance of Symbol 777 MovieClip "p101" in Frame 35
onClipEvent (load) {
xTravelMin = 160;
xTravelMax = 310;
yTravelMin = 0;
yTravelMax = 0;
xSpeed = 4;
ySpeed = 0;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 843 MovieClip in Frame 35
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Frame 36
checkSubLevel(3);
Instance of Symbol 777 MovieClip "pm1" in Frame 36
onClipEvent (load) {
xTravelMin = 0;
xTravelMax = 0;
yTravelMin = 150;
yTravelMax = 250;
xSpeed = 0;
ySpeed = 2;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 777 MovieClip "pm2" in Frame 36
onClipEvent (load) {
xTravelMin = 0;
xTravelMax = 0;
yTravelMin = 150;
yTravelMax = 250;
xSpeed = 0;
ySpeed = -2;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 808 MovieClip in Frame 36
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 858 MovieClip "1" in Frame 36
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 37
checkSubLevel(4);
Instance of Symbol 874 MovieClip "3" in Frame 37
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 858 MovieClip "4" in Frame 37
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 874 MovieClip "2" in Frame 37
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 38
checkSubLevel(5);
Instance of Symbol 777 MovieClip "p101" in Frame 38
onClipEvent (load) {
xTravelMin = 160;
xTravelMax = 350;
yTravelMin = 0;
yTravelMax = 0;
xSpeed = 4;
ySpeed = 0;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 843 MovieClip in Frame 38
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 858 MovieClip "5" in Frame 38
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 39
checkSubLevel(6);
Instance of Symbol 777 MovieClip "pm1" in Frame 39
onClipEvent (load) {
xTravelMin = 0;
xTravelMax = 0;
yTravelMin = 150;
yTravelMax = 250;
xSpeed = 0;
ySpeed = 2;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 777 MovieClip "pm2" in Frame 39
onClipEvent (load) {
xTravelMin = 0;
xTravelMax = 0;
yTravelMin = 150;
yTravelMax = 250;
xSpeed = 0;
ySpeed = -2;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 808 MovieClip in Frame 39
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 874 MovieClip "6" in Frame 39
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 40
checkSubLevel(7);
Instance of Symbol 843 MovieClip in Frame 40
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Instance of Symbol 874 MovieClip "7" in Frame 40
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 41
checkSubLevel(8);
Instance of Symbol 777 MovieClip "p101" in Frame 41
onClipEvent (load) {
xTravelMin = 160;
xTravelMax = 310;
yTravelMin = 0;
yTravelMax = 0;
xSpeed = 4;
ySpeed = 0;
R = _parent;
T = this;
R.movingPlatformArr.push(_target);
}
Instance of Symbol 808 MovieClip in Frame 41
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = -72 / R.FPS;
health = 1;
approachDistance = 100;
attackDistance = 30;
}
onClipEvent (enterFrame) {
R.walkerA_onEnterFrame(T);
}
Frame 42
checkSubLevel(9);
Instance of Symbol 874 MovieClip "2" in Frame 42
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 858 MovieClip "1" in Frame 42
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 874 MovieClip "8" in Frame 42
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 2;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 43
checkSubLevel(10);
Frame 44
checkSubLevel(11);
Instance of Symbol 886 MovieClip "mcBoss" in Frame 44
onClipEvent (load) {
R = _parent;
R.changeMusic("boss");
T = this;
PL = R.pL;
stat = "walking";
gotoAndStop (2);
health = 100;
isHit = false;
}
onClipEvent (enterFrame) {
if (stat != "dead") {
_x = (R.mcBossController._x + R.mcBossController.positionMC._x);
_y = (R.mcBossController._y + R.mcBossController.positionMC._y);
if (R.bossRayL.hitTest(PL)) {
R.pLgetsHit(1);
R.bossRayL._y = -100;
R.bossRayL._visible = false;
} else if (R.bossRayR.hitTest(PL)) {
R.pLgetsHit(1);
R.bossRayR._y = -100;
R.bossRayR._visible = false;
}
contact = false;
if (T.hitArea1.hitTest(R.pL.hitArea)) {
contact = true;
} else if (T.hitArea2.hitTest(R.pL.hitArea)) {
contact = true;
}
if (contact) {
R.pLgetsHit(0.1);
mcHealth.amount._xscale = mcHealth.amount._xscale - pLhealth;
}
trace(R.pLhealth);
isHit = false;
if (T.hitArea1.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
} else if (T.hitArea2.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
}
if (isHit && (R.pLattackOn)) {
health = health - 6;
R.pLhitsEnemy();
R.mcBossHealth.amount._xscale = health;
}
if (health <= 0) {
health = 0;
trace(("Boss health: " + health) + "-- dies ");
gotoAndPlay (2);
stat = "dead";
R.levelComplete();
}
trace("bossArrow x: " + R.arrowsMC._x);
if (R.arrowsMC.hitTest(PL)) {
i = 0;
while ((i++) <= 5) {
bossArrow = eval ("R.arrowsMC.a" + i);
trace(bossArrow);
if (bossArrow.hitTest(PL)) {
R.pLgetsHit(0.1);
}
}
}
}
}
Frame 45
checkSubLevel(0);
Frame 49
checkSubLevel(1);
Instance of Symbol 908 MovieClip "1" in Frame 49
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 916 MovieClip "11" in Frame 49
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 50
checkSubLevel(2);
Instance of Symbol 916 MovieClip "4" in Frame 50
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "2" in Frame 50
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "3" in Frame 50
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 51
checkSubLevel(3);
Instance of Symbol 938 MovieClip "2" in Frame 51
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 916 MovieClip "7" in Frame 51
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "6" in Frame 51
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "5" in Frame 51
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 52
checkSubLevel(4);
Instance of Symbol 908 MovieClip "11" in Frame 52
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 916 MovieClip "31" in Frame 52
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "21" in Frame 52
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 53
checkSubLevel(5);
Instance of Symbol 916 MovieClip "3" in Frame 53
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "2" in Frame 53
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "4" in Frame 53
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 916 MovieClip "5" in Frame 53
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 54
checkSubLevel(6);
Instance of Symbol 938 MovieClip "2" in Frame 54
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 916 MovieClip "6" in Frame 54
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "7" in Frame 54
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "8" in Frame 54
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 55
checkSubLevel(7);
Instance of Symbol 916 MovieClip "2" in Frame 55
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "1" in Frame 55
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "3" in Frame 55
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 916 MovieClip "4" in Frame 55
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 56
checkSubLevel(8);
Instance of Symbol 916 MovieClip "5" in Frame 56
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "7" in Frame 56
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "6" in Frame 56
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 57
checkSubLevel(9);
Instance of Symbol 908 MovieClip "1" in Frame 57
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 916 MovieClip "2" in Frame 57
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "3" in Frame 57
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 925 MovieClip "4" in Frame 57
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 58
checkSubLevel(10);
Frame 59
checkSubLevel(11);
Instance of Symbol 951 MovieClip "mcBoss" in Frame 59
onClipEvent (load) {
R = _parent;
R.changeMusic("boss");
T = this;
PL = R.pL;
stat = "walking";
gotoAndStop (2);
health = 100;
isHit = false;
}
onClipEvent (enterFrame) {
if (stat != "dead") {
contact = false;
if (T.hitArea1.hitTest(R.pL.hitArea)) {
contact = true;
} else if (T.hitArea2.hitTest(R.pL.hitArea)) {
contact = true;
}
if (contact) {
R.pLgetsHit(0.1);
mcHealth.amount._xscale = mcHealth.amount._xscale - pLhealth;
}
isHit = false;
if (T.hitArea1.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
}
if (isHit && (R.pLattackOn)) {
health = health - 4;
R.pLhitsEnemy();
R.mcBossHealth.amount._xscale = health;
}
if (health <= 0) {
health = 0;
trace(("Boss health: " + health) + "-- dies ");
gotoAndPlay (2);
stat = "dead";
R.levelComplete();
}
if (R.bossMissileMC.hitTest(PL)) {
i = 0;
while ((i++) <= 3) {
bossMissile = eval ("R.bossMissileMC.m" + i);
trace(bossMissile);
if (bossMissile.hitTest(PL)) {
R.pLgetsHit(0.1);
}
}
}
if (R.groundFireMC.hitTest(PL)) {
R.pLgetsHit(0.1);
}
}
}
Frame 60
checkSubLevel(0);
Frame 64
checkSubLevel(1);
Instance of Symbol 982 MovieClip "21" in Frame 64
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 991 MovieClip "1" in Frame 64
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "2" in Frame 64
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 65
checkSubLevel(2);
Instance of Symbol 1020 MovieClip "11" in Frame 65
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 1003 MovieClip "4" in Frame 65
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "3" in Frame 65
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 66
checkSubLevel(3);
Instance of Symbol 1020 MovieClip "12" in Frame 66
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 1003 MovieClip "6" in Frame 66
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "7" in Frame 66
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "5" in Frame 66
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 67
checkSubLevel(4);
Instance of Symbol 1003 MovieClip "3" in Frame 67
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "2" in Frame 67
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = 15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "8" in Frame 67
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "1" in Frame 67
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 68
checkSubLevel(5);
Instance of Symbol 982 MovieClip "11" in Frame 68
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 1003 MovieClip "5" in Frame 68
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "4" in Frame 68
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 69
checkSubLevel(6);
Instance of Symbol 982 MovieClip "21" in Frame 69
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 1003 MovieClip "6" in Frame 69
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "8" in Frame 69
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "7" in Frame 69
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 70
checkSubLevel(7);
Instance of Symbol 1020 MovieClip "11" in Frame 70
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 991 MovieClip "3" in Frame 70
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "2" in Frame 70
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "1" in Frame 70
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 6;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
mo = 1;
}
onClipEvent (enterFrame) {
R.shooterA_onEnterFrame(T);
}
Frame 71
checkSubLevel(8);
Instance of Symbol 982 MovieClip "21" in Frame 71
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 991 MovieClip "4" in Frame 71
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "5" in Frame 71
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 991 MovieClip "6" in Frame 71
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 72
checkSubLevel(9);
Instance of Symbol 1020 MovieClip "11" in Frame 72
onClipEvent (load) {
R = _parent;
PL = R.pL;
T = this;
stat = "walking";
gotoAndStop (2);
vx_max = 72 / R.FPS;
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
miss_v = 4;
type = "flyer";
R.enemyArr.push(new R.Enemy(_target, type));
}
Instance of Symbol 1003 MovieClip "1" in Frame 72
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "8" in Frame 72
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Instance of Symbol 1003 MovieClip "7" in Frame 72
onClipEvent (load) {
R = _parent;
T = this;
stat = "lying";
health = 3;
missileAttackFrMax = 2 * R.FPS;
missileAttackFr = 0;
missileStartX = _x;
missileStartY = _y - _height;
missileSpeedX = -15;
type = "shooter";
if (!R.isShooterEnemyDead(T)) {
R.enemyArr.push(new R.Enemy(_target, type));
}
}
Frame 73
checkSubLevel(10);
Frame 74
checkSubLevel(11);
Instance of Symbol 1026 MovieClip "mcBoss" in Frame 74
onClipEvent (load) {
R = _parent;
R.changeMusic("boss");
T = this;
PL = R.pL;
stat = "walking";
health = 100;
isHit = false;
}
onClipEvent (enterFrame) {
if (stat != "dead") {
bossController = R.mcBossController;
_x = (bossController._x + bossController.positionMC._x);
_y = (bossController._y + bossController.positionMC._y);
_rotation = bossController.positionMC._rotation;
if (R.bossRayL.hitTest(PL)) {
R.pLgetsHit(1);
R.bossRayL._y = -100;
R.bossRayL._visible = false;
} else if (R.bossRayR.hitTest(PL)) {
R.pLgetsHit(1);
R.bossRayR._y = -100;
R.bossRayR._visible = false;
}
contact = false;
if (T.hitArea1.hitTest(R.pL.hitArea)) {
contact = true;
} else if (T.hitArea2.hitTest(R.pL.hitArea)) {
contact = true;
}
if (contact) {
R.pLgetsHit(0.1);
mcHealth.amount._xscale = mcHealth.amount._xscale - pLhealth;
}
trace(R.pLhealth);
isHit = false;
if (T.hitArea1.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
} else if (T.hitArea2.hitTest(R.pL.Joseph.armWithSword)) {
isHit = true;
}
if (isHit && (R.pLattackOn)) {
health = health - 3;
R.pLhitsEnemy();
R.mcBossHealth.amount._xscale = health;
}
if (health <= 0) {
health = 0;
trace(("Boss health: " + health) + "-- dies ");
gotoAndPlay (2);
stat = "dead";
R.levelComplete();
}
trace("bossArrow x: " + R.arrowsMC._x);
if (R.bubbles1_MC.hitTest(PL)) {
i = 0;
while ((i++) <= 5) {
bossArrow = eval ("R.bubbles1_MC.m" + i);
trace(bossArrow);
if (bossArrow.hitTest(PL)) {
R.pLgetsHit(0.1);
}
}
}
if (R.bubbles2_MC.hitTest(PL)) {
i = 0;
while ((i++) <= 5) {
bossArrow = eval ("R.bubbles2_MC.m" + i);
trace(bossArrow);
if (bossArrow.hitTest(PL)) {
R.pLgetsHit(0.1);
}
}
}
}
}
Frame 75
checkSubLevel(0);
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "blue";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 78
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughtForm(_parent.subLevelNo, this._x, this._y, col));
}
Instance of Symbol 7 MovieClip [Platform] "p1" in Frame 79
onClipEvent (load) {
_parent.platformArr.push(new _parent.Platform(this._target, this._x, this._y, this._width, this._height));
}
Instance of Symbol 26 MovieClip [ThoughForm] in Frame 79
onClipEvent (load) {
col = "pink";
_parent.thoughFormArr.push(new _parent.ThoughForm(this._target, this._x, this._y, col));
}
Symbol 4 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 5 MovieClip [missile] Frame 1
stop();
Symbol 7 MovieClip [Platform] Frame 1
trace("creating platform " + this._target);
Symbol 26 MovieClip [ThoughForm] Frame 1
stop();
Instance of Symbol 9 MovieClip "hitArea" in Symbol 26 MovieClip [ThoughForm] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 38 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 38 MovieClip Frame 2
gotoAndPlay (1);
Symbol 38 MovieClip Frame 3
_root.play();
Symbol 53 Button
on (release) {
gotoAndStop (12);
}
Symbol 54 Button
on (release) {
gotoAndStop (2);
}
Symbol 78 Button
on (release) {
gotoAndStop (2);
}
Symbol 80 Button
on (release) {
gotoAndStop (14);
}
Symbol 82 Button
on (release) {
gotoAndStop (12);
}
Symbol 84 Button
on (release) {
gotoAndStop (13);
}
Symbol 88 Button
on (release) {
gotoAndStop (15);
}
Symbol 91 Button
on (release) {
_parent.pLnoOfLives = 7;
nextFrame();
}
Symbol 92 Button
on (release) {
_parent.pLnoOfLives = 5;
nextFrame();
}
Symbol 93 Button
on (release) {
_parent.pLnoOfLives = 3;
nextFrame();
}
Symbol 98 Button
on (release) {
_parent.levelNo = 1;
_parent.levelInit();
}
Symbol 100 Button
on (release) {
trace("player level code: " + _root.pL_levelCode);
R = _parent;
if (txtLevelCode == R.levelCodeArr[2]) {
gotoAndStop (4);
trace((("code: " + txtLevelCode) + "code: ") + txtLevelCode);
txtLevelCode = "Code Accepted";
R.pL_levelCode = R.levelCodeArr[2];
} else if (txtLevelCode == R.levelCodeArr[3]) {
gotoAndStop (5);
trace((("code: " + txtLevelCode) + "code: ") + txtLevelCode);
txtLevelCode = "Code Accepted";
R.pL_levelCode = R.levelCodeArr[3];
} else if (txtLevelCode == R.levelCodeArr[4]) {
gotoAndStop (6);
trace((("code: " + txtLevelCode) + "code: ") + txtLevelCode);
txtLevelCode = "Code Accepted";
R.pL_levelCode = R.levelCodeArr[4];
} else if (txtLevelCode == R.levelCodeArr[5]) {
gotoAndStop (8);
trace((("code: " + txtLevelCode) + "code: ") + txtLevelCode);
txtLevelCode = "Code Accepted";
R.pL_levelCode = R.levelCodeArr[5];
} else {
gotoAndStop (3);
txtLevelCode = "Invalid Code";
}
}
Symbol 120 Button
on (release) {
gotoAndStop (16);
}
Symbol 127 Button
on (release) {
gotoAndStop (1);
}
Symbol 128 Button
on (release) {
_parent.levelNo = 2;
_parent.levelInit();
}
Symbol 135 Button
on (release) {
_root.levelNo = 3;
_parent.levelInit();
}
Symbol 143 Button
on (release) {
_root.levelNo = 4;
_parent.levelInit();
}
Symbol 159 Button
on (release) {
gotoAndStop (17);
}
Symbol 162 Button
on (release) {
gotoAndStop (18);
}
Symbol 163 Button
on (release) {
_root.levelNo = 5;
_parent.levelInit();
}
Symbol 171 Button
on (release) {
if (_parent.levelNo < 5) {
_parent.levelInit();
} else {
gotoAndStop (17);
}
}
Symbol 193 Button
on (release) {
_parent.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 8
_parent._parent.pLisHit = false;
_x = 0;
_y = 0;
Symbol 279 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1030
gotoAndStop (1);
stop();
Symbol 379 Button
on (release) {
gotoAndPlay (3);
}
Symbol 411 MovieClip Frame 636
stop();
Symbol 480 MovieClip Frame 364
stop();
Symbol 481 MovieClip Frame 1
stop();
_root.removeAttachedMCsPTM(true, true, true);
stopAllSounds();
Symbol 481 MovieClip Frame 3
stopAllSounds();
R = _parent;
levelCode = _root.pL_levelCode;
if (levelCode == R.levelCodeArr[2]) {
gotoAndStop (4);
R.pL_levelCode = R.levelCodeArr[2];
} else if (levelCode == R.levelCodeArr[3]) {
gotoAndStop (5);
R.pL_levelCode = R.levelCodeArr[3];
} else if (levelCode == R.levelCodeArr[4]) {
gotoAndStop (6);
R.pL_levelCode = R.levelCodeArr[4];
} else if (levelCode == "level_conclusion_movie") {
gotoAndStop (7);
R.pL_levelCode = "level_conclusion_movie";
} else if (levelCode == R.levelCodeArr[5]) {
gotoAndStop (8);
R.pL_levelCode = R.levelCodeArr[5];
} else {
gotoAndStop (3);
}
txtLevelCode = levelCode;
trace("player level code: " + _parent.pL_levelCode);
trace("txtStoredLevelCode: " + txtLevelCode);
Symbol 481 MovieClip Frame 9
_root.removeAttachedMCsPTM(true, true, true);
txtLevelNo = _parent.levelNo;
stopAllSounds();
Symbol 481 MovieClip Frame 10
_root.removeAttachedMCsPTM(true, true, true);
stopAllSounds();
Symbol 481 MovieClip Frame 11
_root.removeAttachedMCsPTM(true, true, true);
stopAllSounds();
Symbol 481 MovieClip Frame 16
_root.removeAttachedMCsPTM(true, true, true);
stopAllSounds();
Symbol 481 MovieClip Frame 17
_root.removeAttachedMCsPTM(true, true, true);
stopAllSounds();
Symbol 481 MovieClip Frame 18
_root.removeAttachedMCsPTM(true, true, true);
stopAllSounds();
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 2
gotoAndStop (1);
Symbol 489 MovieClip Frame 3
gotoAndStop (1);
Symbol 489 MovieClip Frame 4
gotoAndStop (1);
Symbol 489 MovieClip Frame 5
gotoAndStop (1);
Symbol 489 MovieClip Frame 6
gotoAndStop (1);
Symbol 497 MovieClip Frame 1
stop();
Symbol 502 Button
on (keyPress "m") {
turnMusicOnOff();
}
on (keyPress "q") {
toggleHighQuality();
}
Symbol 505 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 5
_parent.attacking = true;
Symbol 526 MovieClip Frame 18
_parent.attacking = false;
Symbol 531 MovieClip Frame 11
_parent.reset = true;
stop();
Symbol 532 MovieClip Frame 1
trace("standing--");
Instance of Symbol 513 MovieClip "hitArea" in Symbol 532 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 532 MovieClip Frame 2
trace("walking");
Symbol 532 MovieClip Frame 3
trace("ATTACKING");
Symbol 532 MovieClip Frame 4
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 9
_parent._parent.pLisHit = false;
Symbol 544 MovieClip Frame 1
_parent._parent.pLattackOn = false;
stop();
Symbol 544 MovieClip Frame 6
_parent._parent.pLattackOn = true;
Symbol 544 MovieClip Frame 9
_parent._parent.pLattackOn = false;
_parent._parent.pLattack = false;
Symbol 549 MovieClip Frame 25
_parent._parent.pLalive = "resetPosition";
stop();
Symbol 550 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 550 MovieClip Frame 2
stop();
Symbol 550 MovieClip Frame 3
stop();
Symbol 550 MovieClip Frame 4
Instance of Symbol 279 MovieClip "JosephShieldGlowMC" in Symbol 550 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
Symbol 585 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 586 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 586 MovieClip Frame 2
stop();
Symbol 586 MovieClip Frame 3
trace("dies");
Symbol 598 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 599 MovieClip Frame 2
stop();
Symbol 599 MovieClip Frame 3
trace("dies");
Symbol 618 MovieClip Frame 6
_parent.attacking = true;
Symbol 618 MovieClip Frame 16
_parent.attacking = true;
Symbol 618 MovieClip Frame 20
_parent.attacking = false;
Symbol 623 MovieClip Frame 11
_parent.reset = true;
stop();
Symbol 624 MovieClip Frame 1
trace("standing--");
Instance of Symbol 513 MovieClip "hitArea" in Symbol 624 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 624 MovieClip Frame 2
trace("walking");
Symbol 624 MovieClip Frame 3
trace("ATTACKING");
Symbol 624 MovieClip Frame 4
Symbol 630 MovieClip Frame 31
stop();
Instance of Symbol 513 MovieClip "hitArea1" in Symbol 650 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 513 MovieClip "hitArea2" in Symbol 650 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 650 MovieClip Frame 2
stop();
Symbol 650 MovieClip Frame 3
stop();
Symbol 688 MovieClip Frame 5
_parent.attacking = true;
Symbol 688 MovieClip Frame 10
_parent.attacking = false;
Symbol 702 MovieClip Frame 11
_parent.reset = true;
stop();
Symbol 703 MovieClip Frame 1
trace("standing--");
Instance of Symbol 513 MovieClip "hitArea" in Symbol 703 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 703 MovieClip Frame 2
trace("walking");
Symbol 703 MovieClip Frame 3
trace("ATTACKING");
Symbol 703 MovieClip Frame 4
Symbol 720 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 721 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 721 MovieClip Frame 2
stop();
Symbol 721 MovieClip Frame 3
trace("dies");
Symbol 731 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 732 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 732 MovieClip Frame 2
stop();
Symbol 732 MovieClip Frame 3
trace("dies");
Symbol 746 MovieClip Frame 7
_parent.attacking = true;
Symbol 746 MovieClip Frame 13
_parent.attacking = false;
Symbol 749 MovieClip Frame 11
_parent.reset = true;
stop();
Symbol 750 MovieClip Frame 1
Instance of Symbol 513 MovieClip "hitArea" in Symbol 750 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 750 MovieClip Frame 2
Symbol 750 MovieClip Frame 3
trace("ATTACKING");
Symbol 750 MovieClip Frame 4
trace("dies");
Symbol 755 MovieClip Frame 1
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 755 MovieClip Frame 73
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 755 MovieClip Frame 124
_parent.mcBoss._xscale = _parent.mcBoss._xscale * -1;
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 755 MovieClip Frame 196
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 755 MovieClip Frame 248
_parent.mcBoss._xscale = _parent.mcBoss._xscale * -1;
Symbol 761 MovieClip Frame 1
xRaySpeed = 12;
stop();
Symbol 761 MovieClip Frame 11
_root.bossRayR._x = _root.mcBoss._x;
_root.bossRayR.xspeed = xRaySpeed;
_root.bossRayL._x = _root.mcBoss._x;
_root.bossRayL._y = (_root.bossRayR._y = mcBoss._y + 360);
_root.bossRayL._visible = (_root.bossRayR._visible = true);
_root.bossRayL.xspeed = -xRaySpeed;
Instance of Symbol 513 MovieClip "hitArea1" in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 513 MovieClip "hitArea2" in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 804 MovieClip Frame 5
_parent.attacking = true;
Symbol 804 MovieClip Frame 12
_parent.attacking = false;
Symbol 807 MovieClip Frame 11
_parent.reset = true;
stop();
Symbol 808 MovieClip Frame 1
Instance of Symbol 513 MovieClip "hitArea" in Symbol 808 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 808 MovieClip Frame 2
Symbol 808 MovieClip Frame 3
trace("ATTACKING");
Symbol 808 MovieClip Frame 4
trace("dies");
Symbol 839 MovieClip Frame 5
_parent.attacking = true;
Symbol 839 MovieClip Frame 14
_parent.attacking = false;
Symbol 842 MovieClip Frame 11
_parent.reset = true;
stop();
Symbol 843 MovieClip Frame 1
Instance of Symbol 513 MovieClip "hitArea" in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 843 MovieClip Frame 2
Symbol 843 MovieClip Frame 3
trace("ATTACKING");
Symbol 843 MovieClip Frame 4
trace("dies");
Symbol 857 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 858 MovieClip Frame 2
stop();
Symbol 858 MovieClip Frame 3
trace("dies");
Symbol 873 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 874 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 874 MovieClip Frame 2
stop();
Symbol 874 MovieClip Frame 3
trace("dies");
Symbol 875 MovieClip Frame 1
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 875 MovieClip Frame 2
trace("_parent.arrowsMC X " + _parent.arrowsMC._x);
_parent.arrowsMC.gotoAndPlay(2);
Symbol 875 MovieClip Frame 60
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 875 MovieClip Frame 121
_parent.mcBoss._xscale = _parent.mcBoss._xscale * -1;
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 875 MovieClip Frame 180
_parent.mcBoss.attackMC.gotoAndPlay(1);
Symbol 875 MovieClip Frame 204
_parent.mcBoss._xscale = _parent.mcBoss._xscale * -1;
Instance of Symbol 513 MovieClip "hitArea1" in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 513 MovieClip "hitArea2" in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 890 MovieClip Frame 1
stop();
Symbol 907 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 908 MovieClip Frame 2
stop();
Symbol 908 MovieClip Frame 3
trace("dies");
Symbol 915 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 916 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 916 MovieClip Frame 2
stop();
Symbol 916 MovieClip Frame 3
trace("dies");
Symbol 924 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 925 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 925 MovieClip Frame 2
stop();
Symbol 925 MovieClip Frame 3
trace("dies");
Symbol 937 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 938 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 938 MovieClip Frame 2
stop();
Symbol 938 MovieClip Frame 3
trace("dies");
Symbol 941 MovieClip Frame 2
trace("_parent.arrowsMC X " + _parent.arrowsMC._x);
_parent.bossMissileMC.gotoAndPlay(2);
Symbol 941 MovieClip Frame 83
_parent.groundFireMC.gotoAndPlay(2);
Instance of Symbol 513 MovieClip "hitArea2" in Symbol 951 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 513 MovieClip "hitArea1" in Symbol 951 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 956 MovieClip Frame 1
stop();
Symbol 956 MovieClip Frame 2
R = _parent;
dx = _x - R.pL._x;
dy = _y - R.pL._y;
if (dx > 0) {
pLangle = 34.3949044585987 * R.calcAngleBetween2points(dx, dy);
}
trace("bossArrow x: " + pLangle);
m1._rotation = (pLangle + 5) + (5 * (0.5 - Math.random()));
m2._rotation = (pLangle + 0) + (5 * (0.5 - Math.random()));
m3._rotation = (pLangle + -5) + (5 * (0.5 - Math.random()));
Symbol 957 MovieClip Frame 1
stop();
Symbol 981 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 982 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 982 MovieClip Frame 2
stop();
Symbol 982 MovieClip Frame 3
trace("dies");
Symbol 990 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 991 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 991 MovieClip Frame 2
stop();
Symbol 991 MovieClip Frame 3
trace("dies");
Symbol 1002 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 1003 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1003 MovieClip Frame 2
stop();
Symbol 1003 MovieClip Frame 3
trace("dies");
Symbol 1019 MovieClip Frame 11
_parent.reset = true;
stop();
Instance of Symbol 513 MovieClip "hitArea" in Symbol 1020 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1020 MovieClip Frame 2
stop();
Symbol 1020 MovieClip Frame 3
trace("dies");
Instance of Symbol 513 MovieClip "hitArea1" in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 513 MovieClip "hitArea2" in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1027 MovieClip Frame 1
_visible = false;
Symbol 1027 MovieClip Frame 403
_parent.mcBoss._yscale = -100;
Symbol 1027 MovieClip Frame 411
_parent.bubbles1_MC.gotoAndPlay(2);
Symbol 1027 MovieClip Frame 442
_parent.mcBoss._yscale = 100;
Symbol 1027 MovieClip Frame 450
_parent.bubbles2_MC.gotoAndPlay(2);
Symbol 1029 MovieClip Frame 1
stop();