Frame 1
stop();
newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
this.menu = newMenu;
Instance of Symbol 138 MovieClip [API Connector (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
api_id = "12960:WDQOeMyo";
encryption_key = "jcMPMAX4QmGxaBbqQpXJQyre2GCtGqvt";
version = "";
fake_session = true;
debug = true;
error_screens = true;
medal_popups = true;
}
Instance of Symbol 66 MovieClip [Flash Ad (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
show_background = true;
}
Instance of Symbol 164 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (qual > 3) {
qual = 1;
}
if (qual == 1) {
_quality = "LOW";
}
if (qual == 2) {
_quality = "MEDIUM";
}
if (qual == 3) {
_quality = "HIGH";
}
if (Key.isDown(81)) {
if (qdown == false) {
qual = qual + 1;
qdown = true;
}
} else {
qdown = false;
}
}
onClipEvent (load) {
qual = 2;
qdown = false;
}
Frame 3
_root.spacestart = true;
_root.spacec = 0.5;
Instance of Symbol 200 MovieClip "musicloopmc" in Frame 3
onClipEvent (enterFrame) {
if (_root.musicstart == true) {
musicloop = new Sound(this);
musicloop.attachSound("fun");
musicloop.start(0, 9999);
musicvol = 40;
musicloop.setVolume(musicvol);
_root.musicstart = false;
}
musicloop.setVolume(musicvol);
musicvol = musicvol + _root.musicc;
if (_root._currentframe < 725) {
if ((musicvol == 40) || (musicvol == 25)) {
_root.musicc = 0;
}
} else if (musicvol < 1) {
_root.musicc = 0;
}
}
Instance of Symbol 200 MovieClip "humloopmc" in Frame 3
onClipEvent (enterFrame) {
if (_root.humstart == true) {
humloop = new Sound(this);
humloop.attachSound("hum");
humloop.start(0, 9999);
humvol = 0;
humloop.setVolume(humvol);
_root.humstart = false;
}
humvol = humvol + _root.humc;
if (_root.game == 2) {
if ((humvol > 50) || (humvol < 20)) {
_root.humc = 0;
}
} else if ((humvol > 20) || (humvol < 0)) {
_root.humc = 0;
}
humloop.setVolume(humvol);
}
Instance of Symbol 200 MovieClip "beamloopmc" in Frame 3
onClipEvent (enterFrame) {
if (_root.beamstart == true) {
beamloop = new Sound(this);
beamloop.attachSound("beam");
beamloop.start(0, 9999);
beamvol = 0;
beamloop.setVolume(beamvol);
_root.beamstart = false;
}
beamvol = beamvol + _root.beamc;
if ((beamvol > 70) || (beamvol < 0)) {
if (beamvol > 70) {
beamvol = 70;
}
if (beamvol < 0) {
beamvol = 0;
}
_root.beamc = 0;
}
beamloop.setVolume(this.beamvol);
}
Instance of Symbol 200 MovieClip "beeploopmc" in Frame 3
onClipEvent (enterFrame) {
if (_root.beepstart == true) {
beeploop = new Sound(this);
beeploop.attachSound("beep");
beeploop.start(0, 9999);
_root.beepstart = false;
beepvol = 10;
beeploop.setVolume(beepvol);
}
beeploop.setVolume(beepvol);
beepvol = beepvol + _root.beepc;
if (beepvol < 1) {
_root.beepc = 0;
}
}
Instance of Symbol 200 MovieClip "hissloopmc" in Frame 3
onClipEvent (enterFrame) {
if (_root.hissstart == true) {
hissloop = new Sound(this);
hissloop.attachSound("hiss");
hissloop.start(0, 9999);
hissloop.setVolume(hissvol);
_root.hissstart = false;
}
hissvol = hissvol + _root.hissc;
if (_root._currentframe < 725) {
if ((hissvol > 60) || (hissvol < 1)) {
_root.hissc = 0;
}
}
if (_root._currentframe > 725) {
if (hissvol < 1) {
_root.hissc = 0;
}
}
hissloop.setVolume(hissvol);
}
Instance of Symbol 200 MovieClip "spaceloopmc" in Frame 3
onClipEvent (enterFrame) {
if (_root.spacestart == true) {
spaceloop = new Sound(this);
spaceloop.attachSound("space");
spaceloop.start(0, 9999);
spacevol = 0;
spaceloop.setVolume(spacevol);
_root.spacestart = false;
}
spaceloop.setVolume(spacevol);
spacevol = spacevol + _root.spacec;
if ((spacevol > 50) || (spacevol < 0)) {
_root.spacec = 0;
}
}
Instance of Symbol 200 MovieClip "eng" in Frame 3
onClipEvent (enterFrame) {
if (_root.engstart == true) {
eng = new Sound(this);
eng.attachSound("engine");
eng.start(0, 1);
eng.setVolume(_root.engvol);
_root.engstart = false;
}
}
Frame 4
_root.bars = 2;
Frame 5
stop();
Instance of Symbol 643 MovieClip "p" in Frame 5
onClipEvent (load) {
canRot = true;
_root.cam._x = this._x;
_root.cam._y = this._y;
_root.cam._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (zshow == true) {
alphaz = 20;
}
if (zshow == false) {
alphaz = -20;
}
if (((_root.p.z._alpha > 0) && (alphaz < 0)) || ((_root.p.z._alpha < 100) && (alphaz > 0))) {
_root.p.z._alpha = _root.p.z._alpha + alphaz;
}
if (((((_root.plboth == true) && (walk == "plan1")) && (angle > 3.5)) && (angle < 4.4)) && (_root.ship._currentframe == 1)) {
_root.ship.play();
}
if ((((_root.hatchopen == true) && (angle > 3.93)) && (angle < 3.98)) && (collide == 3)) {
_root.ship.play();
}
if (_root.game == 1) {
qdown = false;
zshow = false;
alphaz = 0;
_root.p.z._alpha = 0;
_root.medal1 = false;
_root.medal2 = false;
_root.medal3 = false;
_root.hatchopen = false;
_root.click2vol = 20;
_root.beepc = 0;
_root.beepstart = false;
_root.bars = 2;
_root.humc = 0;
_root.beamc = 0;
_root.musicc = 0;
camrot = 0;
puzzle = 0;
cam = 1;
climb = false;
_root.clouds1.swapDepths(55);
this.swapDepths(53);
_root.hatch.swapDepths(20);
_root.clouds2.swapDepths(49);
_root.ship.swapDepths(52);
_root.ext1.swapDepths(45);
_root.ext2.swapDepths(44);
_root.int1.swapDepths(39);
_root.int2.swapDepths(38);
_root.cam.puzzle.swapDepths(59);
_root.cam.black.swapDepths(60);
_root.cam.swapDepths(120);
_root.bg.swapDepths(31);
_root.star.swapDepths(30);
_root.planet1._visible = false;
_root.planet2._visible = false;
stand = true;
crouch = false;
walk = "plan1";
rad = 590;
collide = 3;
angle = 3.95;
jump = 0;
spd = 0;
_root.p1o = false;
_root.p2o = false;
_root.p3o = false;
_root.p4o = false;
_root.p4o2 = false;
_root.p5o = false;
_root.p6o = false;
_root.p1c = false;
_root.p2c = false;
_root.p3c = false;
_root.p4c = false;
_root.p5c = false;
_root.p6c = false;
_root.o1 = false;
_root.o2 = false;
_root.dev = false;
_root.pl1 = false;
_root.pl2 = false;
_root.plboth = false;
_root.game = 2;
}
if (_root.p2c == true) {
_root.int1.comp1.l.gotoAndStop(2);
} else {
_root.int1.comp1.l.gotoAndStop(1);
}
if (_root.p5c == true) {
_root.int1.comp2.l.gotoAndStop(2);
} else {
_root.int1.comp2.l.gotoAndStop(1);
}
if (_root.p3c == true) {
_root.int2.comp1.l.gotoAndStop(2);
} else {
_root.int2.comp1.l.gotoAndStop(1);
}
if (_root.p6c == true) {
_root.int2.comp2.l.gotoAndStop(2);
} else {
_root.int2.comp2.l.gotoAndStop(1);
}
if (_root.p.puzzle != 0) {
_root.cam.puzzle.swapDepths(59);
} else {
_root.cam.puzzle.swapDepths(5);
}
xdist1 = _root.planet1._x - _x;
ydist1 = _root.planet1._y - _y;
dist1 = Math.sqrt((xdist1 * xdist1) + (ydist1 * ydist1));
rangle1_2 = rangle1;
rangle1 = Math.atan2(ydist1, xdist1);
spr1 = rangle1 - rangle1_2;
xdist2 = _root.planet2._x - _x;
ydist2 = _root.planet2._y - _y;
dist2 = Math.sqrt((xdist2 * xdist2) + (ydist2 * ydist2));
rangle2_2 = rangle2;
rangle2 = Math.atan2(ydist2, xdist2);
spr2 = rangle2 - rangle2_2;
x1 = (Math.cos(angle) * rad) + _root.planet1._x;
y1 = (Math.sin(angle) * rad) + _root.planet1._y;
radians1 = Math.atan2(ydist1, xdist1);
degrees1 = (360 * radians1) / (Math.PI*2);
x2 = (Math.cos(angle) * rad) + _root.planet2._x;
y2 = (Math.sin(angle) * rad) + _root.planet2._y;
radians2 = Math.atan2(ydist2, xdist2);
degrees2 = (360 * radians2) / (Math.PI*2);
if (cam == 1) {
_root.ext1.ext1._alpha = _root.ext1.ext1._alpha + _root.ext1.alphac;
_root.ext2.ext2._alpha = _root.ext2.ext2._alpha + _root.ext2.alphac2;
}
if (angle < 0) {
angle = angle + (Math.PI*2);
}
if (angle > (Math.PI*2)) {
angle = angle - (Math.PI*2);
}
if ((walk == "plan1") || (walk == "plan2")) {
if (((collide == 0) && (jump < 0)) && ((rad + jump) < 426)) {
jump = 0;
rad = 425;
}
if (crouch == true) {
gotoAndStop (5);
}
if (((collide == 1) || (collide == 2)) || (collide == 3)) {
jump = 0;
if (stand == true) {
if ((spd > -0.005) && (spd < 0.005)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
}
if (puzzle == 0) {
rad = rad + jump;
angle = angle + spd;
if ((((collide == 1) || (collide == 2)) && (stand == true)) && (cam == 1)) {
if (Key.isDown(38)) {
collide = 0;
rad = 428;
jump = 27;
} else {
rad = 425;
}
}
if (((Key.isDown(37) && (spd > -0.03)) && (stand == true)) && (cam == 1)) {
if (!Key.isDown(39)) {
_xscale = -100;
}
spd = spd - 0.005;
}
if (((Key.isDown(39) && (spd < 0.03)) && (stand == true)) && (cam == 1)) {
if (!Key.isDown(37)) {
_xscale = 100;
}
spd = spd + 0.005;
}
if ((((!Key.isDown(37)) && (!Key.isDown(39))) || (Key.isDown(37) && (Key.isDown(39)))) || (stand == false)) {
if (spd < 0) {
spd = spd + 0.005;
}
if (spd > 0) {
spd = spd - 0.005;
}
if ((spd > -0.006) && (spd < 0.006)) {
spd = 0;
}
}
}
}
if (walk == "plan1") {
if (_root.ext1.ext1._alpha == 100) {
_root.ext1.alphac = 0;
}
if (_root.plboth == true) {
if ((angle > 0) && (angle < 1.2)) {
_root.beamloopmc.beamvol = angle * 60;
}
if ((angle > 1.2) && (angle < Math.PI)) {
_root.beamloopmc.beamvol = (Math.PI - angle) * 60;
}
}
if (((angle > 0) && (angle < 1.2)) && (collide == 0)) {
angle = angle + ((angle * 0.02) + ((rad - 425) * 5E-5));
if ((angle > 0.5) && (angle < 1.2)) {
jump = jump + (angle - 0.5);
}
}
if (((angle < Math.PI) && (angle > 1.2)) && (collide == 0)) {
angle = angle - (((Math.PI - angle) * 0.02) + ((rad - 425) * 5E-5));
if ((angle < 2.64159265358979) && (angle > 1.2)) {
jump = jump + ((Math.PI - angle) - 0.5);
}
}
if (((angle > 4.64) && (angle < 4.79)) && (collide == 1)) {
zshow = true;
} else {
zshow = false;
}
if (Key.isDown(90) && (collide == 1)) {
if (((((angle > 4.64) && (angle < 4.79)) && (puzzle == 0)) && (_root.cam.black._currentframe == 26)) && (_root.p1c == false)) {
spd = 0;
puzzle = 1;
_root.cam.black.play();
gotoAndStop (1);
}
}
if ((((angle > 4.64) && (angle < 4.79)) && (rad < 426)) && (_root.o1 == true)) {
if (_root.pl1 == true) {
_root.beamc = 2;
}
_root.humc = 2;
_root.musicc = -1;
_root.ext1.ext1._alpha = 100;
_root.ext1.alphac = -4.5;
walk = "plat1";
collide = 0;
spd = spd * 150;
this.swapDepths(41);
}
if ((angle > 1.1) && (angle < 1.2)) {
angle = 1.1;
}
if ((angle < 2.04159265358979) && (angle > 1.2)) {
angle = 2.04159265358979;
}
if (rad < 426) {
if (((_root.o1 == true) && ((angle < 4.64) || (angle > 4.79))) || (_root.o1 == false)) {
collide = 1;
}
}
if ((angle < 4.318) && (angle > 3.6)) {
if (((rad < 591) && (rad > 585)) && (jump < 0)) {
collide = 3;
}
}
if (((angle > 4.318) || (angle < 3.6)) && (collide == 3)) {
collide = 0;
}
_rotation = (degrees1 - 90);
_x = x1;
_y = y1;
if (puzzle == 0) {
if (collide == 3) {
if (Key.isDown(38)) {
collide = 0;
rad = 593;
jump = 27;
} else {
rad = 590;
}
}
}
}
if (walk == "plan2") {
if (_root.ext2.ext2._alpha == 100) {
_root.ext2.alphac = 0;
}
if (_root.plboth == true) {
if ((angle > Math.PI) && (angle < 4.34)) {
_root.beamloopmc.beamvol = (angle - Math.PI) * 60;
}
if ((angle > 4.34) && (angle < (Math.PI*2))) {
_root.beamloopmc.beamvol = ((Math.PI*2) - angle) * 60;
}
}
if (((angle > Math.PI) && (angle < 4.34)) && (collide == 0)) {
angle = angle + (((angle - Math.PI) * 0.02) + ((rad - 425) * 5E-5));
if (angle > 3.64159265358979) {
jump = jump + (angle - 3.64159265358979);
}
}
if (((angle < (Math.PI*2)) && (angle > 4.34)) && (collide == 0)) {
angle = angle - ((((Math.PI*2) - angle) * 0.02) + ((rad - 425) * 5E-5));
if (angle < 5.78318530717959) {
jump = jump + (((Math.PI*2) - angle) - 0.5);
}
}
if (((angle > 1.49) && (angle < 1.64)) && (collide == 2)) {
zshow = true;
} else {
zshow = false;
}
if (Key.isDown(90) && (collide == 2)) {
if (((((angle > 1.49) && (angle < 1.64)) && (puzzle == 0)) && (_root.cam.black._currentframe == 26)) && (_root.p4c == false)) {
spd = 0;
gotoAndStop (1);
puzzle = 4;
_root.cam.black.play();
}
}
if ((((angle > 1.49) && (angle < 1.64)) && (dist2 < 426)) && (_root.o2 == true)) {
if (_root.pl2 == true) {
_root.beamc = 2;
}
_root.humc = 2;
_root.musicc = -1;
_root.ext2.ext2._alpha = 100;
_root.ext2.alphac2 = -4.5;
walk = "plat2";
collide = 0;
spd = spd * 150;
this.swapDepths(42);
}
if ((angle > 4.24) && (angle < 4.34)) {
angle = 4.24;
}
if ((angle < 5.18) && (angle > 5.08)) {
angle = 5.18;
}
if ((rad < 426) && ((angle < 4.64) || (angle > 4.79))) {
collide = 2;
}
if (((angle > 4.318) || (angle < 3.6)) && (collide == 3)) {
collide = 0;
}
_rotation = (degrees2 - 90);
_x = x2;
_y = y2;
if (puzzle == 0) {
}
}
if (walk == "plat1") {
if (_root.ext1.ext1._alpha == 0) {
_root.ext1.alphac = 0;
}
if (timer > 0) {
timer = timer - 1;
}
if (((collide == 0) && (jump < 0)) && ((_y - jump) > 654)) {
jump = 0;
_y = 655;
}
if (((Key.isDown(90) || (Key.isDown(40))) && (collide == 5)) && (timer == 0)) {
collide = 0;
}
if (collide == 5) {
if (_y < 300) {
_root.climbdist = 0;
_root.beamc = -3;
_root.humc = -2;
_root.musicc = 1;
_root.ext1.play();
this.swapDepths(53);
angle = 4.71238898038469;
rad = 500;
dist1 = Math.sqrt((xdist1 * xdist1) + (ydist1 * ydist1));
jump = 24;
walk = "plan1";
collide = 0;
spd = 0;
_root.ext1.ext1._alpha = 0;
_root.ext2.ext2._alpha = 100;
_root.ext1.alphac = 4.5;
}
}
if ((((_x == 470) || (_x == 330)) || ((_x < 420) && (_x > 380))) && (collide == 4)) {
zshow = true;
} else {
zshow = false;
}
if ((Key.isDown(90) && (collide == 4)) && (cam == 1)) {
if (((((_x == 470) && (puzzle == 0)) && (_root.cam.black._currentframe == 26)) && (_root.p5c == false)) && (spd == 0)) {
puzzle = 5;
if ((_root.int1.comp2._currentframe == 1) && (_root.p5c == false)) {
_root.int1.comp2.play();
}
}
if (((((_x == 330) && (puzzle == 0)) && (_root.cam.black._currentframe == 26)) && (_root.p2c == false)) && (spd == 0)) {
puzzle = 2;
if ((_root.int1.comp1._currentframe == 1) && (_root.p2c == false)) {
_root.int1.comp1.play();
}
}
if ((((_x < 420) && (_x > 380)) && (spd < 5)) && (spd > -5)) {
timer = 10;
_y = 654;
_x = 404;
_xscale = 100;
collide = 5;
spd = 0;
gotoAndStop (4);
}
}
if (_x < 330) {
spd = 0;
_x = 330;
}
if (_x > 470) {
spd = 0;
_x = 470;
}
if (_y > 654) {
collide = 4;
} else if (collide != 5) {
collide = 0;
}
this._x = this._x + spd;
_y = (_y - jump);
_rotation = 0;
if ((_x + spd) > 470) {
_x = 470;
spd = 0;
}
if ((_x - spd) < 330) {
_x = 330;
spd = 0;
}
if ((((collide == 4) || (collide == 0)) && (puzzle == 0)) && (walk == "plat1")) {
if (((Key.isDown(37) && (spd > -12)) && (_x > 330)) && (cam == 1)) {
if (!Key.isDown(39)) {
_xscale = -100;
}
spd = spd - 2;
}
if (((Key.isDown(39) && (spd < 12)) && (_x < 470)) && (cam == 1)) {
if (!Key.isDown(37)) {
_xscale = 100;
}
spd = spd + 2;
}
}
if ((collide == 4) && (puzzle == 0)) {
if ((spd > -0.005) && (spd < 0.005)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
jump = 0;
if (Key.isDown(38) && (cam == 1)) {
collide = 0;
jump = 27;
_y = 654;
} else {
_y = 655;
}
}
if (((!Key.isDown(37)) && (!Key.isDown(39))) || ((Key.isDown(37) && (Key.isDown(39))) && (puzzle == 0))) {
if (spd < -1) {
spd = spd + 2;
}
if (spd > 1) {
spd = spd - 2;
}
if ((spd > -1) && (spd < 1)) {
spd = 0;
}
}
}
if (walk == "plat2") {
if (_root.ext2.ext2._alpha == 0) {
_root.ext2.alphac = 0;
}
if (timer > 0) {
timer = timer - 1;
}
if (((Key.isDown(90) || (Key.isDown(40))) && (collide == 7)) && (timer == 0)) {
_root.climbdist = 0;
collide = 0;
}
if (((collide == 0) && (jump < 0)) && ((_y + jump) < 1587)) {
jump = 0;
_y = 1586;
}
if (_y > 1942) {
_root.climbdist = 0;
_root.beamc = -2;
_root.humc = -2;
_root.musicc = 1;
collide = 0;
this.swapDepths(53);
angle = (Math.PI/2);
rad = 500;
dist2 = Math.sqrt((xdist1 * xdist1) + (ydist1 * ydist1));
jump = 24;
spd = 0;
walk = "plan2";
_root.ext2.ext2._alpha = 0;
_root.ext1.ext1._alpha = 100;
_root.ext2.alphac2 = 4.5;
}
if ((((_x == 470) || (_x == 330)) || ((_x < 420) && (_x > 380))) && (collide == 6)) {
zshow = true;
} else {
zshow = false;
}
if ((Key.isDown(90) && (collide == 6)) && (cam == 1)) {
if (((((_x == 470) && (puzzle == 0)) && (_root.cam.black._currentframe == 26)) && (_root.p3c == false)) && (spd == 0)) {
puzzle = 3;
if (_root.int2.comp1._currentframe == 1) {
_root.int2.comp1.play();
}
}
if (((((_x == 330) && (puzzle == 0)) && (_root.cam.black._currentframe == 26)) && (_root.p6c == false)) && (spd == 0)) {
puzzle = 6;
if (_root.int2.comp2._currentframe == 1) {
_root.int2.comp2.play();
}
}
if ((((_x < 420) && (_x > 380)) && (spd < 5)) && (spd > -5)) {
timer = 10;
_y = 1587;
_x = 396;
_xscale = 100;
collide = 7;
spd = 0;
gotoAndStop (4);
}
}
if (_x < 330) {
spd = 0;
_x = 330;
}
if (_x > 470) {
spd = 0;
_x = 470;
}
if (_y < 1587) {
collide = 6;
} else if (collide != 7) {
collide = 0;
}
this._x = this._x - spd;
_y = (_y + jump);
_rotation = 180;
if (((((collide == 6) || (collide == 0)) && (puzzle == 0)) && (walk == "plat2")) && (cam == 1)) {
if ((Key.isDown(37) && (spd > -12)) && (_x < 470)) {
if (!Key.isDown(39)) {
_xscale = -100;
}
spd = spd - 2;
}
if ((Key.isDown(39) && (spd < 12)) && (_x > 330)) {
if (!Key.isDown(37)) {
_xscale = 100;
}
spd = spd + 2;
}
}
if (collide == 6) {
if ((spd > -0.005) && (spd < 0.005)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
jump = 0;
if (Key.isDown(38)) {
collide = 0;
jump = 27;
_y = 1587;
} else {
_y = 1586;
}
}
if (((!Key.isDown(37)) && (!Key.isDown(39))) || ((Key.isDown(37) && (Key.isDown(39))) && (puzzle == 0))) {
if (spd < -1) {
spd = spd + 2;
}
if (spd > 1) {
spd = spd - 2;
}
if ((spd > -1) && (spd < 1)) {
spd = 0;
}
}
}
if ((collide == 0) && (puzzle == 0)) {
gotoAndStop (3);
jump = jump - 2;
}
if (_root.p.puzzle == 0) {
if (((cam != 3) || (cam != 4)) || (cam != 5)) {
_root.cam._x = _root.cam._x + ((this._x - _root.cam._x) / 2);
_root.cam._y = _root.cam._y + ((this._y - _root.cam._y) / 2);
if (cam == 2) {
_root.cam._rotation = _root.cam._rotation + ((this._rotation - _root.cam._rotation) / 4);
if ((int((_root.cam._rotation / 7) * 25) / 25) == (int((this._rotation / 7) * 25) / 25)) {
cam = 1;
}
}
if (cam == 1) {
_root.cam._rotation = _root.cam._rotation + (this._rotation - _root.cam._rotation);
}
}
if ((_root.p.dist1 < 426) && (walk == "plan2")) {
stand = false;
crouch = true;
spd = spr1 / 2;
angle = rangle1 + Math.PI;
rad = 425;
x1 = (Math.cos(angle) * rad) + _root.planet1._x;
y1 = (Math.sin(angle) * rad) + _root.planet1._y;
_x = x1;
_y = y1;
jump = 0;
_rotation = (degrees1 - 90);
cam = 2;
camdir = 1;
relr = _rotation - _root.cam._rotation;
walk = "plan1";
}
if ((_root.p.dist2 < 426) && (walk == "plan1")) {
stand = false;
crouch = true;
spd = spr2 / 2;
angle = rangle2 + Math.PI;
rad = 425;
x2 = (Math.cos(angle) * rad) + _root.planet2._x;
y2 = (Math.sin(angle) * rad) + _root.planet2._y;
_x = x2;
_y = y2;
jump = 0;
_rotation = (degrees2 - 90);
cam = 2;
camdir = 1;
relr = _rotation - _root.cam._rotation;
walk = "plan2";
}
if (cam == 3) {
_root.cam._x = 400;
_root.cam._y = 950;
_root.cam._rotation = 0;
}
if (cam == 4) {
_root.cam._x = 400;
_root.cam._y = 1290;
_root.cam._rotation = 180;
}
if (cam == 5) {
_root.cam._x = 400;
_root.cam._y = 1118;
_root.cam._rotation = 0;
}
if (_root.p._xscale == 100) {
_root.p.z._xscale = 100;
} else {
_root.p.z._xscale = -100;
}
}
}
Frame 7
_root.bars = 1;
Frame 44
_root.hissstart = true;
_root.hissloopmc.hissvol = 1;
_root.hissc = 0.4;
Frame 329
_root.spacec = -0.5;
Frame 357
_root.humc = 0.3;
_root.humstart = true;
Frame 569
_root.musicc = 0;
_root.musicstart = true;
_root.spaceloopmc.spaceloop.stop();
_root.hissloopmc.hissloop.stop();
_root.engstart = true;
_root.engvol = 20;
Frame 724
_root.game = 1;
_root.cam.black.play();
stop();
Frame 725
removeMovieClip(_root.clouds1);
removeMovieClip(_root.p);
removeMovieClip(_root.clouds2);
removeMovieClip(_root.ship);
removeMovieClip(_root.ext1);
removeMovieClip(_root.ext2);
removeMovieClip(_root.int1);
removeMovieClip(_root.int2);
removeMovieClip(_root.bg);
removeMovieClip(_root.cam);
removeMovieClip(_root.star);
removeMovieClip(_root.hatch);
removeMovieClip(_root.cam);
_root.bars = 1;
Instance of Symbol 186 MovieClip in Frame 725
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.08;
}
Frame 753
_root.hissstart = true;
_root.hissloopmc.hissvol = 100;
_root.engstart = true;
_root.engvol = 60;
Frame 862
_root.musicc = -0.1;
_root.humc = -0.15;
_root.spacestart = true;
_root.spacec = 0.75;
_root.hissc = -0.5;
Frame 1168
stop();
Frame 1169
gotoAndStop (4);
Symbol 24 MovieClip Frame 40
stop();
Symbol 31 Button
on (release) {
startMovie();
}
Symbol 32 MovieClip [Preloader Bar (NewgroundsAPI)] Frame 1
#initclip 26
Object.registerClass("Preloader Bar (NewgroundsAPI)", com.newgrounds.components.PreloaderBar);
#endinitclip
Symbol 58 Button
on (release) {
com.newgrounds.API.loadNewgrounds();
}
Symbol 64 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (865 % 511) * true);
return(\x03);
}
var \x01 = (-67 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 65 MovieClip Frame 11
gotoAndPlay (1);
Symbol 66 MovieClip [Flash Ad (NewgroundsAPI)] Frame 1
#initclip 27
Object.registerClass("Flash Ad (NewgroundsAPI)", com.newgrounds.components.FlashAd);
#endinitclip
Symbol 74 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 76 MovieClip Frame 10
stop();
Symbol 78 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 90 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 90 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 90 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 90 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 96 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
!!!ERROR
Symbol 96 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 96 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 99 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 99 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 99 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 120 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 124 Button
on (release) {
!!!ERROR
Symbol 130 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 132 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 133 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 137 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 138 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 28
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 138 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 143 Button
on (release) {
gotoAndStop (4);
}
Symbol 158 Button
on (release) {
_root.black.play();
_root.loaderf = true;
}
Symbol 159 MovieClip Frame 1
var loaded = (_root.getBytesLoaded() / _root.getBytesTotal());
bar._xscale = 100 * loaded;
_root.lbutt = loaded / 10;
Symbol 159 MovieClip Frame 2
if (loaded != 1) {
gotoAndPlay (1);
}
Symbol 159 MovieClip Frame 12
stop();
Symbol 162 MovieClip Frame 25
if ((_root.o1 == false) && (_root.p1c == true)) {
_root.ext1.ext1.hatch.play();
_root.int1.ladder.gotoAndPlay(2);
}
if ((_root.o2 == false) && (_root.p4c == true)) {
_root.ext2.ext2.hatch.play();
_root.int2.ladder.gotoAndPlay(2);
}
if (_root.p.puzzle == 0) {
if (_root.int1.comp1._currentframe != 1) {
_root.int1.comp1.play();
}
if (_root.int1.comp2._currentframe != 1) {
_root.int1.comp2.play();
}
if (_root.int2.comp1._currentframe != 1) {
_root.int2.comp1.play();
}
if (_root.int2.comp2._currentframe != 1) {
_root.int2.comp2.play();
}
}
if ((((_root.p2c == true) && (_root.p5c == true)) && (_root.pl1 == true)) && (_root.medal1 == false)) {
var medal_name = "01";
com.newgrounds.API.unlockMedal(medal_name, -1000, -1000);
_root.cam.medal.gotoAndStop(2);
_root.medal1 = true;
}
if ((((_root.p3c == true) && (_root.p6c == true)) && (_root.pl2 == true)) && (_root.medal2 == false)) {
var medal_name = "10";
com.newgrounds.API.unlockMedal(medal_name, -1000, -1000);
_root.cam.medal.gotoAndStop(3);
_root.medal2 = true;
}
if ((_root.plboth == true) && (_root.medal3 == false)) {
var medal_name = "11";
com.newgrounds.API.unlockMedal(medal_name, -1000, -1000);
_root.cam.medal.gotoAndStop(4);
_root.medal3 = true;
}
Symbol 162 MovieClip Frame 26
stop();
Symbol 162 MovieClip Frame 27
if (_root.p.walk == "plat1") {
_root.ext1.ext1._alpha = 0;
}
if (_root.p.walk == "plat2") {
_root.ext2.ext2._alpha = 0;
}
if (_root.p.walk == "plan1") {
_root.ext2.ext2._alpha = 100;
}
if (_root.p.walk == "plan2") {
_root.ext1.ext1._alpha = 100;
}
Symbol 162 MovieClip Frame 74
if (_root.p.puzzle == -1) {
_root.p.puzzle = 0;
}
if (((_root.p.cam == 3) || (_root.p.cam == 4)) || (_root.plboth == true)) {
_root.p.cam = 1;
_root.bars = 2;
}
_root.cam.puzzle.gotoAndStop(_root.p.puzzle + 1);
if (((_root.p2c == true) && (_root.p5c == true)) && (_root.pl1 == false)) {
_root.bars = 1;
_root.p.cam = 3;
_root.int1.r.play();
}
if (((_root.p3c == true) && (_root.p6c == true)) && (_root.pl2 == false)) {
_root.bars = 1;
_root.p.cam = 4;
_root.int2.r.play();
}
if (((_root.pl1 == true) && (_root.pl2 == true)) && (_root.plboth == false)) {
_root.ext1.ext1._alpha = 0;
_root.ext1.alphac = 0;
_root.ext2.ext2._alpha = 0;
_root.ext2.alphac = 0;
_root.int1.r.play();
_root.int2.r.play();
_root.bars = 1;
_root.p.cam = 5;
}
if (_root.game == 0) {
_root.gotoAndPlay(7);
_root.bars = 1;
}
if (_root.game == 1) {
_root.gotoAndStop(5);
}
if (_root.game == 3) {
_root.gotoAndPlay(725);
}
if (_root.game == 4) {
_root.gotoAndStop(4);
_root.bars = 2;
_root.game = 0;
}
if (_root.loaderf == true) {
_root.loaderf = false;
_root.gotoAndStop(3);
}
gotoAndPlay (2);
Symbol 34 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 35 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 36 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 37 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 40 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 42 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 41 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 51 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 39 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 33 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 695 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
!!!ERROR
Symbol 696 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
!!!ERROR
Symbol 1 MovieClip [__Packages.com.newgrounds.components.PreloaderBar] Frame 0
!!!ERROR
Symbol 38 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 43 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 44 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 45 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 46 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 47 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 48 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 49 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 50 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 52 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 53 MovieClip [__Packages.com.newgrounds.components.FlashAd] Frame 0
!!!ERROR
Symbol 67 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 166 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Symbol 182 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.08;
}
Symbol 189 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 198 MovieClip Frame 429
_root.gotoAndStop(4);
stop();
Symbol 216 MovieClip Frame 1
boop = new Sound(_root.drillmc);
boop.attachSound("boop");
boop.start(0, 1);
if ((_root.p.walk == "plan1") || (_root.p.walk == "plan2")) {
boop.setVolume(20);
} else {
boop.setVolume(30);
}
Symbol 216 MovieClip Frame 24
_root.p.puzzle = -1;
_root.cam.black.play();
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 239 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(55);
if ((_root.cam.puzzle.swapping == false) && (_root.cam.puzzle.rot4 == false)) {
_root.cam.puzzle.swapping = true;
if (((_root.cam.puzzle.pos4 == 1) && (_root.cam.puzzle.rot1 == false)) && (_root.p2c == false)) {
if (_root.cam.puzzle.pos1 == 1) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b11;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b12;
_root.cam.puzzle.b11 = _root.cam.puzzle.b41;
_root.cam.puzzle.b12 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos1 == 2) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b14;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b11;
_root.cam.puzzle.b14 = _root.cam.puzzle.b41;
_root.cam.puzzle.b11 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos1 == 3) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b13;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b14;
_root.cam.puzzle.b13 = _root.cam.puzzle.b41;
_root.cam.puzzle.b14 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos1 == 4) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b12;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b13;
_root.cam.puzzle.b12 = _root.cam.puzzle.b41;
_root.cam.puzzle.b13 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
}
if ((_root.cam.puzzle.pos4 == 2) && (_root.cam.puzzle.rot2 == false)) {
if (_root.cam.puzzle.pos2 == 1) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b21;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b22;
_root.cam.puzzle.b21 = _root.cam.puzzle.b41;
_root.cam.puzzle.b22 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos2 == 2) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b24;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b21;
_root.cam.puzzle.b24 = _root.cam.puzzle.b41;
_root.cam.puzzle.b21 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos2 == 3) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b23;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b24;
_root.cam.puzzle.b23 = _root.cam.puzzle.b41;
_root.cam.puzzle.b24 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos2 == 4) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b22;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b23;
_root.cam.puzzle.b22 = _root.cam.puzzle.b41;
_root.cam.puzzle.b23 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
}
if ((_root.cam.puzzle.pos4 == 3) && (_root.cam.puzzle.rot3 == false)) {
if (_root.cam.puzzle.pos3 == 1) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b31;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b32;
_root.cam.puzzle.b31 = _root.cam.puzzle.b41;
_root.cam.puzzle.b32 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos3 == 2) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b34;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b31;
_root.cam.puzzle.b34 = _root.cam.puzzle.b41;
_root.cam.puzzle.b31 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos3 == 3) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b33;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b34;
_root.cam.puzzle.b33 = _root.cam.puzzle.b41;
_root.cam.puzzle.b34 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
if (_root.cam.puzzle.pos3 == 4) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.b32;
_root.cam.puzzle.temp2 = _root.cam.puzzle.b33;
_root.cam.puzzle.b32 = _root.cam.puzzle.b41;
_root.cam.puzzle.b33 = _root.cam.puzzle.b42;
_root.cam.puzzle.b41 = _root.cam.puzzle.temp1;
_root.cam.puzzle.b42 = _root.cam.puzzle.temp2;
}
}
_root.cam.puzzle.swapping = false;
}
}
Symbol 241 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(55);
if ((((_root.cam.puzzle.swapping == false) && (_root.cam.puzzle.rot4 == false)) && (_root.cam.puzzle.sq4._currentframe == 1)) && (_root.p2c == false)) {
_root.cam.puzzle.rot4 = true;
_root.cam.puzzle.sq4.sq.play();
}
}
Symbol 244 MovieClip Frame 1
if (_root.cam.puzzle.rot4 == true) {
_root.cam.puzzle.pos4 = _root.cam.puzzle.pos4 - 1;
_root.cam.puzzle.sq4r = _root.cam.puzzle.sq4r + 120;
_root.cam.puzzle.sq4.sq._rotation = _root.cam.puzzle.sq4r;
_root.cam.puzzle.rot4 = false;
}
stop();
Symbol 246 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((((_root.cam.puzzle.swapping == false) && (_root.cam.puzzle.rot3 == false)) && (_root.cam.puzzle.sq3.sq._currentframe == 1)) && (_root.p2c == false)) {
_root.cam.puzzle.rot3 = true;
_root.cam.puzzle.sq3.sq.gotoAndPlay(2);
_root.cam.puzzle.swapping = true;
}
}
Symbol 247 MovieClip Frame 1
stop();
if (_root.cam.puzzle.rot1 == true) {
_root.cam.puzzle.sq1r = _root.cam.puzzle.sq1r + 90;
_root.cam.puzzle.sq1.sq._rotation = _root.cam.puzzle.sq1r;
_root.cam.puzzle.pos1 = _root.cam.puzzle.pos1 + 1;
_root.cam.puzzle.rot1 = false;
}
if (_root.cam.puzzle.rot2 == true) {
_root.cam.puzzle.sq2r = _root.cam.puzzle.sq2r + 90;
_root.cam.puzzle.sq2.sq._rotation = _root.cam.puzzle.sq2r;
_root.cam.puzzle.pos2 = _root.cam.puzzle.pos2 + 1;
_root.cam.puzzle.rot2 = false;
}
if (_root.cam.puzzle.rot3 == true) {
_root.cam.puzzle.sq3r = _root.cam.puzzle.sq3r + 90;
_root.cam.puzzle.sq3.sq._rotation = _root.cam.puzzle.sq3r;
_root.cam.puzzle.pos3 = _root.cam.puzzle.pos3 + 1;
_root.cam.puzzle.rot3 = false;
}
_root.cam.puzzle.swapping = false;
Symbol 248 MovieClip Frame 1
stop();
Symbol 249 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((((_root.cam.puzzle.swapping == false) && (_root.cam.puzzle.rot1 == false)) && (_root.cam.puzzle.sq1.sq._currentframe == 1)) && (_root.p2c == false)) {
_root.cam.puzzle.rot1 = true;
_root.cam.puzzle.sq1.sq.gotoAndPlay(2);
_root.cam.puzzle.swapping = true;
}
}
Symbol 250 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((((_root.cam.puzzle.swapping == false) && (_root.cam.puzzle.rot2 == false)) && (_root.cam.puzzle.sq2.sq._currentframe == 1)) && (_root.p2c == false)) {
_root.cam.puzzle.rot2 = true;
_root.cam.puzzle.sq2.sq.gotoAndPlay(2);
_root.cam.puzzle.swapping = true;
}
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 10
gotoAndStop (1);
_root.cam.puzzle.wrot1 = _root.cam.puzzle.wrot1 + 30;
_root.cam.puzzle.w1.m2._rotation = _root.cam.puzzle.wrot1;
Symbol 265 MovieClip Frame 20
gotoAndStop (11);
_root.cam.puzzle.wrot2 = _root.cam.puzzle.wrot2 - 30;
_root.cam.puzzle.w2.m2._rotation = _root.cam.puzzle.wrot2;
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 10
if (_root.cam.puzzle.w1rot == true) {
_root.cam.puzzle.wpos1 = _root.cam.puzzle.wpos1 - 1;
_root.cam.puzzle.temp1 = _root.cam.puzzle.c11;
_root.cam.puzzle.c11 = _root.cam.puzzle.c112;
_root.cam.puzzle.c112 = _root.cam.puzzle.c111;
_root.cam.puzzle.c111 = _root.cam.puzzle.c110;
_root.cam.puzzle.c110 = _root.cam.puzzle.c19;
_root.cam.puzzle.c19 = _root.cam.puzzle.c18;
_root.cam.puzzle.c18 = _root.cam.puzzle.c17;
_root.cam.puzzle.c17 = _root.cam.puzzle.c16;
_root.cam.puzzle.c16 = _root.cam.puzzle.c15;
_root.cam.puzzle.c15 = _root.cam.puzzle.c14;
_root.cam.puzzle.c14 = _root.cam.puzzle.c13;
_root.cam.puzzle.c13 = _root.cam.puzzle.c12;
_root.cam.puzzle.c12 = _root.cam.puzzle.temp1;
_root.cam.puzzle.w1.w.c1.gotoAndStop(_root.cam.puzzle.c11);
_root.cam.puzzle.w1.w.c2.gotoAndStop(_root.cam.puzzle.c12);
_root.cam.puzzle.w1.w.c3.gotoAndStop(_root.cam.puzzle.c13);
_root.cam.puzzle.w1.w.c4.gotoAndStop(_root.cam.puzzle.c14);
_root.cam.puzzle.w1.w.c5.gotoAndStop(_root.cam.puzzle.c15);
_root.cam.puzzle.w1.w.c6.gotoAndStop(_root.cam.puzzle.c16);
_root.cam.puzzle.w1.w.c7.gotoAndStop(_root.cam.puzzle.c17);
_root.cam.puzzle.w1.w.c8.gotoAndStop(_root.cam.puzzle.c18);
_root.cam.puzzle.w1.w.c9.gotoAndStop(_root.cam.puzzle.c19);
_root.cam.puzzle.w1.w.c10.gotoAndStop(_root.cam.puzzle.c110);
_root.cam.puzzle.w1.w.c11.gotoAndStop(_root.cam.puzzle.c111);
_root.cam.puzzle.w1.w.c12.gotoAndStop(_root.cam.puzzle.c112);
_root.cam.puzzle.w1rot = false;
}
gotoAndStop (1);
Symbol 276 MovieClip Frame 20
if (_root.cam.puzzle.w2rot == true) {
_root.cam.puzzle.wpos2 = _root.cam.puzzle.wpos2 + 1;
_root.cam.puzzle.temp1 = _root.cam.puzzle.c21;
_root.cam.puzzle.c21 = _root.cam.puzzle.c22;
_root.cam.puzzle.c22 = _root.cam.puzzle.c23;
_root.cam.puzzle.c23 = _root.cam.puzzle.c24;
_root.cam.puzzle.c24 = _root.cam.puzzle.c25;
_root.cam.puzzle.c25 = _root.cam.puzzle.c26;
_root.cam.puzzle.c26 = _root.cam.puzzle.c27;
_root.cam.puzzle.c27 = _root.cam.puzzle.c28;
_root.cam.puzzle.c28 = _root.cam.puzzle.c29;
_root.cam.puzzle.c29 = _root.cam.puzzle.c210;
_root.cam.puzzle.c210 = _root.cam.puzzle.c211;
_root.cam.puzzle.c211 = _root.cam.puzzle.c212;
_root.cam.puzzle.c212 = _root.cam.puzzle.temp1;
_root.cam.puzzle.w2.w.c1.gotoAndStop(_root.cam.puzzle.c21);
_root.cam.puzzle.w2.w.c2.gotoAndStop(_root.cam.puzzle.c22);
_root.cam.puzzle.w2.w.c3.gotoAndStop(_root.cam.puzzle.c23);
_root.cam.puzzle.w2.w.c4.gotoAndStop(_root.cam.puzzle.c24);
_root.cam.puzzle.w2.w.c5.gotoAndStop(_root.cam.puzzle.c25);
_root.cam.puzzle.w2.w.c6.gotoAndStop(_root.cam.puzzle.c26);
_root.cam.puzzle.w2.w.c7.gotoAndStop(_root.cam.puzzle.c27);
_root.cam.puzzle.w2.w.c8.gotoAndStop(_root.cam.puzzle.c28);
_root.cam.puzzle.w2.w.c9.gotoAndStop(_root.cam.puzzle.c29);
_root.cam.puzzle.w2.w.c10.gotoAndStop(_root.cam.puzzle.c210);
_root.cam.puzzle.w2.w.c11.gotoAndStop(_root.cam.puzzle.c211);
_root.cam.puzzle.w2.w.c12.gotoAndStop(_root.cam.puzzle.c212);
_root.cam.puzzle.w2rot = false;
}
gotoAndStop (11);
Symbol 278 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p3c == false) {
_root.cam.puzzle.w1.play();
_root.cam.puzzle.w2.play();
_root.cam.puzzle.w1.m2.play();
_root.cam.puzzle.w2.m2.play();
_root.cam.puzzle.w1rot = true;
_root.cam.puzzle.w2rot = true;
}
}
Symbol 279 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (((_root.p3c == false) && (_root.cam.puzzle.w1rot == false)) && (_root.cam.puzzle.w2rot == false)) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.c18;
_root.cam.puzzle.temp2 = _root.cam.puzzle.c12;
_root.cam.puzzle.c18 = _root.cam.puzzle.c22;
_root.cam.puzzle.c12 = _root.cam.puzzle.c28;
_root.cam.puzzle.c28 = _root.cam.puzzle.temp2;
_root.cam.puzzle.c22 = _root.cam.puzzle.temp1;
}
}
Symbol 280 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((_root.p3c == false) && (_root.cam.puzzle.w1rot == false)) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.c113;
_root.cam.puzzle.c113 = _root.cam.puzzle.c12;
_root.cam.puzzle.c12 = _root.cam.puzzle.temp1;
}
}
Symbol 281 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((_root.p3c == false) && (_root.cam.puzzle.w2rot == false)) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.c213;
_root.cam.puzzle.c213 = _root.cam.puzzle.c28;
_root.cam.puzzle.c28 = _root.cam.puzzle.temp1;
}
}
Symbol 294 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(_root.click2vol);
if (_root.p4o2 == false) {
_root.cam.puzzle.kk1 = _root.cam.puzzle.kk1 + 1;
}
}
Symbol 295 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(_root.click2vol);
if (_root.p4o2 == false) {
_root.cam.puzzle.kk2 = _root.cam.puzzle.kk2 + 1;
}
}
Symbol 296 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(_root.click2vol);
if (_root.p4o2 == false) {
_root.cam.puzzle.kk3 = _root.cam.puzzle.kk3 + 1;
}
}
Symbol 297 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(_root.click2vol);
if (_root.p4o2 == false) {
_root.cam.puzzle.kk4 = _root.cam.puzzle.kk4 + 1;
}
}
Symbol 298 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(_root.click2vol);
if (_root.p4o2 == false) {
_root.cam.puzzle.kk5 = _root.cam.puzzle.kk5 + 1;
}
}
Symbol 299 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(_root.click2vol);
if (_root.p4o2 == false) {
_root.cam.puzzle.kk6 = _root.cam.puzzle.kk6 + 1;
}
}
Symbol 303 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf1;
_root.cam.puzzle.bf1 = _root.cam.puzzle.be1;
_root.cam.puzzle.be1 = _root.cam.puzzle.bd1;
_root.cam.puzzle.bd1 = _root.cam.puzzle.bc1;
_root.cam.puzzle.bc1 = _root.cam.puzzle.bb1;
_root.cam.puzzle.bb1 = _root.cam.puzzle.ba1;
_root.cam.puzzle.ba1 = _root.cam.puzzle.temp1;
}
}
Symbol 304 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf2;
_root.cam.puzzle.bf2 = _root.cam.puzzle.be2;
_root.cam.puzzle.be2 = _root.cam.puzzle.bd2;
_root.cam.puzzle.bd2 = _root.cam.puzzle.bc2;
_root.cam.puzzle.bc2 = _root.cam.puzzle.bb2;
_root.cam.puzzle.bb2 = _root.cam.puzzle.ba2;
_root.cam.puzzle.ba2 = _root.cam.puzzle.temp1;
}
}
Symbol 305 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf3;
_root.cam.puzzle.bf3 = _root.cam.puzzle.be3;
_root.cam.puzzle.be3 = _root.cam.puzzle.bd3;
_root.cam.puzzle.bd3 = _root.cam.puzzle.bc3;
_root.cam.puzzle.bc3 = _root.cam.puzzle.bb3;
_root.cam.puzzle.bb3 = _root.cam.puzzle.ba3;
_root.cam.puzzle.ba3 = _root.cam.puzzle.temp1;
}
}
Symbol 306 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf4;
_root.cam.puzzle.bf4 = _root.cam.puzzle.be4;
_root.cam.puzzle.be4 = _root.cam.puzzle.bd4;
_root.cam.puzzle.bd4 = _root.cam.puzzle.bc4;
_root.cam.puzzle.bc4 = _root.cam.puzzle.bb4;
_root.cam.puzzle.bb4 = _root.cam.puzzle.ba4;
_root.cam.puzzle.ba4 = _root.cam.puzzle.temp1;
}
}
Symbol 307 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf5;
_root.cam.puzzle.bf5 = _root.cam.puzzle.be5;
_root.cam.puzzle.be5 = _root.cam.puzzle.bd5;
_root.cam.puzzle.bd5 = _root.cam.puzzle.bc5;
_root.cam.puzzle.bc5 = _root.cam.puzzle.bb5;
_root.cam.puzzle.bb5 = _root.cam.puzzle.ba5;
_root.cam.puzzle.ba5 = _root.cam.puzzle.temp1;
}
}
Symbol 308 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf6;
_root.cam.puzzle.bf6 = _root.cam.puzzle.be6;
_root.cam.puzzle.be6 = _root.cam.puzzle.bd6;
_root.cam.puzzle.bd6 = _root.cam.puzzle.bc6;
_root.cam.puzzle.bc6 = _root.cam.puzzle.bb6;
_root.cam.puzzle.bb6 = _root.cam.puzzle.ba6;
_root.cam.puzzle.ba6 = _root.cam.puzzle.temp1;
}
}
Symbol 309 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.ba1;
_root.cam.puzzle.ba1 = _root.cam.puzzle.ba2;
_root.cam.puzzle.ba2 = _root.cam.puzzle.ba3;
_root.cam.puzzle.ba3 = _root.cam.puzzle.ba4;
_root.cam.puzzle.ba4 = _root.cam.puzzle.ba5;
_root.cam.puzzle.ba5 = _root.cam.puzzle.ba6;
_root.cam.puzzle.ba6 = _root.cam.puzzle.temp1;
}
}
Symbol 310 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bb1;
_root.cam.puzzle.bb1 = _root.cam.puzzle.bb2;
_root.cam.puzzle.bb2 = _root.cam.puzzle.bb3;
_root.cam.puzzle.bb3 = _root.cam.puzzle.bb4;
_root.cam.puzzle.bb4 = _root.cam.puzzle.bb5;
_root.cam.puzzle.bb5 = _root.cam.puzzle.bb6;
_root.cam.puzzle.bb6 = _root.cam.puzzle.temp1;
}
}
Symbol 311 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bc1;
_root.cam.puzzle.bc1 = _root.cam.puzzle.bc2;
_root.cam.puzzle.bc2 = _root.cam.puzzle.bc3;
_root.cam.puzzle.bc3 = _root.cam.puzzle.bc4;
_root.cam.puzzle.bc4 = _root.cam.puzzle.bc5;
_root.cam.puzzle.bc5 = _root.cam.puzzle.bc6;
_root.cam.puzzle.bc6 = _root.cam.puzzle.temp1;
}
}
Symbol 312 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bd1;
_root.cam.puzzle.bd1 = _root.cam.puzzle.bd2;
_root.cam.puzzle.bd2 = _root.cam.puzzle.bd3;
_root.cam.puzzle.bd3 = _root.cam.puzzle.bd4;
_root.cam.puzzle.bd4 = _root.cam.puzzle.bd5;
_root.cam.puzzle.bd5 = _root.cam.puzzle.bd6;
_root.cam.puzzle.bd6 = _root.cam.puzzle.temp1;
}
}
Symbol 313 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
_root.p5c == false;
_root.cam.puzzle.temp1 = _root.cam.puzzle.be1;
_root.cam.puzzle.be1 = _root.cam.puzzle.be2;
_root.cam.puzzle.be2 = _root.cam.puzzle.be3;
_root.cam.puzzle.be3 = _root.cam.puzzle.be4;
_root.cam.puzzle.be4 = _root.cam.puzzle.be5;
_root.cam.puzzle.be5 = _root.cam.puzzle.be6;
_root.cam.puzzle.be6 = _root.cam.puzzle.temp1;
}
Symbol 314 Button
on (release) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (_root.p5c == false) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.bf1;
_root.cam.puzzle.bf1 = _root.cam.puzzle.bf2;
_root.cam.puzzle.bf2 = _root.cam.puzzle.bf3;
_root.cam.puzzle.bf3 = _root.cam.puzzle.bf4;
_root.cam.puzzle.bf4 = _root.cam.puzzle.bf5;
_root.cam.puzzle.bf5 = _root.cam.puzzle.bf6;
_root.cam.puzzle.bf6 = _root.cam.puzzle.temp1;
}
}
Symbol 321 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (((_root.cam.puzzle.frot1 == false) && (_root.cam.puzzle.frot2 == false)) && (_root.p6c == false)) {
_root.cam.puzzle.temp2 = _root.cam.puzzle.f211;
_root.cam.puzzle.temp3 = _root.cam.puzzle.f28;
_root.cam.puzzle.f211 = 17;
_root.cam.puzzle.f28 = 17;
_root.cam.puzzle.frot1 = true;
_root.cam.puzzle.fw1.play();
}
}
Symbol 334 MovieClip Frame 1
stop();
if (_root.cam.puzzle.frot2 == true) {
_root.cam.puzzle.f12 = _root.cam.puzzle.temp2;
_root.cam.puzzle.f15 = _root.cam.puzzle.temp3;
_root.cam.puzzle.temp1 = _root.cam.puzzle.f21;
_root.cam.puzzle.f21 = _root.cam.puzzle.f22;
_root.cam.puzzle.f22 = _root.cam.puzzle.f23;
_root.cam.puzzle.f23 = _root.cam.puzzle.f24;
_root.cam.puzzle.f24 = _root.cam.puzzle.f25;
_root.cam.puzzle.f25 = _root.cam.puzzle.f26;
_root.cam.puzzle.f26 = _root.cam.puzzle.f27;
_root.cam.puzzle.f27 = _root.cam.puzzle.f28;
_root.cam.puzzle.f28 = _root.cam.puzzle.f29;
_root.cam.puzzle.f29 = _root.cam.puzzle.f210;
_root.cam.puzzle.f210 = _root.cam.puzzle.f211;
_root.cam.puzzle.f211 = _root.cam.puzzle.f212;
_root.cam.puzzle.f212 = _root.cam.puzzle.temp1;
_root.cam.puzzle.fpos2 = _root.cam.puzzle.fpos2 + 1;
if (_root.cam.puzzle.f211 == 2) {
_root.cam.puzzle.f12 = 11;
}
if (_root.cam.puzzle.f211 == 11) {
_root.cam.puzzle.f12 = 2;
}
if (_root.cam.puzzle.f211 == 8) {
_root.cam.puzzle.f12 = 3;
}
if (_root.cam.puzzle.f211 == 9) {
_root.cam.puzzle.f12 = 8;
}
if (_root.cam.puzzle.f211 == 10) {
_root.cam.puzzle.f12 = 9;
}
if (_root.cam.puzzle.f211 == 3) {
_root.cam.puzzle.f12 = 10;
}
if (_root.cam.puzzle.f211 == 12) {
_root.cam.puzzle.f12 = 5;
}
if (_root.cam.puzzle.f211 == 13) {
_root.cam.puzzle.f12 = 12;
}
if (_root.cam.puzzle.f211 == 14) {
_root.cam.puzzle.f12 = 13;
}
if (_root.cam.puzzle.f211 == 5) {
_root.cam.puzzle.f12 = 14;
}
if (_root.cam.puzzle.f211 == 6) {
_root.cam.puzzle.f12 = 15;
}
if (_root.cam.puzzle.f211 == 15) {
_root.cam.puzzle.f12 = 6;
}
if (_root.cam.puzzle.f211 == 4) {
_root.cam.puzzle.f12 = 16;
}
if (_root.cam.puzzle.f211 == 16) {
_root.cam.puzzle.f12 = 4;
}
if ((_root.cam.puzzle.f211 == 1) || (_root.cam.puzzle.f211 == 7)) {
_root.cam.puzzle.f12 = _root.cam.puzzle.f211;
}
if (_root.cam.puzzle.f28 == 2) {
_root.cam.puzzle.f15 = 11;
}
if (_root.cam.puzzle.f28 == 11) {
_root.cam.puzzle.f15 = 2;
}
if (_root.cam.puzzle.f28 == 8) {
_root.cam.puzzle.f15 = 9;
}
if (_root.cam.puzzle.f28 == 9) {
_root.cam.puzzle.f15 = 10;
}
if (_root.cam.puzzle.f28 == 10) {
_root.cam.puzzle.f15 = 3;
}
if (_root.cam.puzzle.f28 == 3) {
_root.cam.puzzle.f15 = 8;
}
if (_root.cam.puzzle.f28 == 12) {
_root.cam.puzzle.f15 = 13;
}
if (_root.cam.puzzle.f28 == 13) {
_root.cam.puzzle.f15 = 14;
}
if (_root.cam.puzzle.f28 == 14) {
_root.cam.puzzle.f15 = 5;
}
if (_root.cam.puzzle.f28 == 5) {
_root.cam.puzzle.f15 = 12;
}
if (_root.cam.puzzle.f28 == 6) {
_root.cam.puzzle.f15 = 15;
}
if (_root.cam.puzzle.f28 == 15) {
_root.cam.puzzle.f15 = 6;
}
if (_root.cam.puzzle.f28 == 4) {
_root.cam.puzzle.f15 = 16;
}
if (_root.cam.puzzle.f28 == 16) {
_root.cam.puzzle.f15 = 4;
}
if ((_root.cam.puzzle.f28 == 1) || (_root.cam.puzzle.f28 == 7)) {
_root.cam.puzzle.f15 = _root.cam.puzzle.f28;
}
_root.cam.puzzle.frot2 = false;
}
Symbol 334 MovieClip Frame 10
if (_root.cam.puzzle.frot1 == true) {
_root.cam.puzzle.f211 = _root.cam.puzzle.temp2;
_root.cam.puzzle.f28 = _root.cam.puzzle.temp3;
_root.cam.puzzle.temp1 = _root.cam.puzzle.f11;
_root.cam.puzzle.f11 = _root.cam.puzzle.f112;
_root.cam.puzzle.f112 = _root.cam.puzzle.f111;
_root.cam.puzzle.f111 = _root.cam.puzzle.f110;
_root.cam.puzzle.f110 = _root.cam.puzzle.f19;
_root.cam.puzzle.f19 = _root.cam.puzzle.f18;
_root.cam.puzzle.f18 = _root.cam.puzzle.f17;
_root.cam.puzzle.f17 = _root.cam.puzzle.f16;
_root.cam.puzzle.f16 = _root.cam.puzzle.f15;
_root.cam.puzzle.f15 = _root.cam.puzzle.f14;
_root.cam.puzzle.f14 = _root.cam.puzzle.f13;
_root.cam.puzzle.f13 = _root.cam.puzzle.f12;
_root.cam.puzzle.f12 = _root.cam.puzzle.temp1;
_root.cam.puzzle.fpos1 = _root.cam.puzzle.fpos1 + 1;
if (_root.cam.puzzle.f12 == 2) {
_root.cam.puzzle.f211 = 11;
}
if (_root.cam.puzzle.f12 == 11) {
_root.cam.puzzle.f211 = 2;
}
if (_root.cam.puzzle.f12 == 8) {
_root.cam.puzzle.f211 = 9;
}
if (_root.cam.puzzle.f12 == 9) {
_root.cam.puzzle.f211 = 10;
}
if (_root.cam.puzzle.f12 == 10) {
_root.cam.puzzle.f211 = 3;
}
if (_root.cam.puzzle.f12 == 3) {
_root.cam.puzzle.f211 = 8;
}
if (_root.cam.puzzle.f12 == 12) {
_root.cam.puzzle.f211 = 13;
}
if (_root.cam.puzzle.f12 == 13) {
_root.cam.puzzle.f211 = 14;
}
if (_root.cam.puzzle.f12 == 14) {
_root.cam.puzzle.f211 = 5;
}
if (_root.cam.puzzle.f12 == 5) {
_root.cam.puzzle.f211 = 12;
}
if (_root.cam.puzzle.f12 == 6) {
_root.cam.puzzle.f211 = 15;
}
if (_root.cam.puzzle.f12 == 15) {
_root.cam.puzzle.f211 = 6;
}
if (_root.cam.puzzle.f12 == 4) {
_root.cam.puzzle.f211 = 16;
}
if (_root.cam.puzzle.f12 == 16) {
_root.cam.puzzle.f211 = 4;
}
if ((_root.cam.puzzle.f12 == 1) || (_root.cam.puzzle.f12 == 7)) {
_root.cam.puzzle.f211 = _root.cam.puzzle.f12;
}
if (_root.cam.puzzle.f15 == 2) {
_root.cam.puzzle.f28 = 11;
}
if (_root.cam.puzzle.f15 == 11) {
_root.cam.puzzle.f28 = 2;
}
if (_root.cam.puzzle.f15 == 8) {
_root.cam.puzzle.f28 = 3;
}
if (_root.cam.puzzle.f15 == 9) {
_root.cam.puzzle.f28 = 8;
}
if (_root.cam.puzzle.f15 == 10) {
_root.cam.puzzle.f28 = 9;
}
if (_root.cam.puzzle.f15 == 3) {
_root.cam.puzzle.f28 = 10;
}
if (_root.cam.puzzle.f15 == 12) {
_root.cam.puzzle.f28 = 5;
}
if (_root.cam.puzzle.f15 == 13) {
_root.cam.puzzle.f28 = 12;
}
if (_root.cam.puzzle.f15 == 14) {
_root.cam.puzzle.f28 = 13;
}
if (_root.cam.puzzle.f15 == 5) {
_root.cam.puzzle.f28 = 14;
}
if (_root.cam.puzzle.f15 == 6) {
_root.cam.puzzle.f28 = 15;
}
if (_root.cam.puzzle.f15 == 15) {
_root.cam.puzzle.f28 = 6;
}
if (_root.cam.puzzle.f15 == 4) {
_root.cam.puzzle.f28 = 16;
}
if (_root.cam.puzzle.f15 == 16) {
_root.cam.puzzle.f28 = 4;
}
if ((_root.cam.puzzle.f15 == 1) || (_root.cam.puzzle.f15 == 7)) {
_root.cam.puzzle.f28 = _root.cam.puzzle.f15;
}
_root.cam.puzzle.frot1 = false;
}
gotoAndStop (1);
Symbol 335 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if (((_root.cam.puzzle.frot2 == false) && (_root.cam.puzzle.frot1 == false)) && (_root.p6c == false)) {
_root.cam.puzzle.temp2 = _root.cam.puzzle.f12;
_root.cam.puzzle.temp3 = _root.cam.puzzle.f15;
_root.cam.puzzle.f12 = 17;
_root.cam.puzzle.f15 = 17;
_root.cam.puzzle.fw2.gotoAndPlay(11);
_root.cam.puzzle.frot2 = true;
}
}
Symbol 336 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((_root.p6c == false) && (_root.cam.puzzle.frot2 == false)) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.f4;
_root.cam.puzzle.f4 = _root.cam.puzzle.f13;
_root.cam.puzzle.f13 = _root.cam.puzzle.temp1;
}
}
Symbol 337 Button
on (press) {
click = new Sound(this);
click.attachSound("click");
click.start(0, 1);
click.setVolume(35);
if ((_root.p6c == false) && (_root.cam.puzzle.frot1 == false)) {
_root.cam.puzzle.temp1 = _root.cam.puzzle.f3;
_root.cam.puzzle.f3 = _root.cam.puzzle.f210;
_root.cam.puzzle.f210 = _root.cam.puzzle.temp1;
}
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 2
if (_root.p1o == false) {
_root.cam.puzzle.flip1 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip2 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip3 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip4 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip5 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip6 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip7 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip8 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip9 = Math.ceil(Math.random() * 2);
_root.cam.puzzle.flip10 = Math.ceil(Math.random() * 2);
_root.p1o = true;
win = 1;
}
Instance of Symbol 208 MovieClip "s1" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip2 == 1) {
_root.cam.puzzle.flip2 = 2;
} else {
_root.cam.puzzle.flip2 = 1;
}
if (_root.cam.puzzle.flip1 == 1) {
_root.cam.puzzle.flip1 = 2;
} else {
_root.cam.puzzle.flip1 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s2" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip1 == 1) {
_root.cam.puzzle.flip1 = 2;
} else {
_root.cam.puzzle.flip1 = 1;
}
if (_root.cam.puzzle.flip3 == 1) {
_root.cam.puzzle.flip3 = 2;
} else {
_root.cam.puzzle.flip3 = 1;
}
if (_root.cam.puzzle.flip2 == 1) {
_root.cam.puzzle.flip2 = 2;
} else {
_root.cam.puzzle.flip2 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s3" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip4 == 1) {
_root.cam.puzzle.flip4 = 2;
} else {
_root.cam.puzzle.flip4 = 1;
}
if (_root.cam.puzzle.flip2 == 1) {
_root.cam.puzzle.flip2 = 2;
} else {
_root.cam.puzzle.flip2 = 1;
}
if (_root.cam.puzzle.flip3 == 1) {
_root.cam.puzzle.flip3 = 2;
} else {
_root.cam.puzzle.flip3 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s4" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip5 == 1) {
_root.cam.puzzle.flip5 = 2;
} else {
_root.cam.puzzle.flip5 = 1;
}
if (_root.cam.puzzle.flip3 == 1) {
_root.cam.puzzle.flip3 = 2;
} else {
_root.cam.puzzle.flip3 = 1;
}
if (_root.cam.puzzle.flip4 == 1) {
_root.cam.puzzle.flip4 = 2;
} else {
_root.cam.puzzle.flip4 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s5" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip4 == 1) {
_root.cam.puzzle.flip4 = 2;
} else {
_root.cam.puzzle.flip4 = 1;
}
if (_root.cam.puzzle.flip6 == 1) {
_root.cam.puzzle.flip6 = 2;
} else {
_root.cam.puzzle.flip6 = 1;
}
if (_root.cam.puzzle.flip5 == 1) {
_root.cam.puzzle.flip5 = 2;
} else {
_root.cam.puzzle.flip5 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s6" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip7 == 1) {
_root.cam.puzzle.flip7 = 2;
} else {
_root.cam.puzzle.flip7 = 1;
}
if (_root.cam.puzzle.flip5 == 1) {
_root.cam.puzzle.flip5 = 2;
} else {
_root.cam.puzzle.flip5 = 1;
}
if (_root.cam.puzzle.flip6 == 1) {
_root.cam.puzzle.flip6 = 2;
} else {
_root.cam.puzzle.flip6 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s7" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip6 == 1) {
_root.cam.puzzle.flip6 = 2;
} else {
_root.cam.puzzle.flip6 = 1;
}
if (_root.cam.puzzle.flip8 == 1) {
_root.cam.puzzle.flip8 = 2;
} else {
_root.cam.puzzle.flip8 = 1;
}
if (_root.cam.puzzle.flip7 == 1) {
_root.cam.puzzle.flip7 = 2;
} else {
_root.cam.puzzle.flip7 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s8" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip7 == 1) {
_root.cam.puzzle.flip7 = 2;
} else {
_root.cam.puzzle.flip7 = 1;
}
if (_root.cam.puzzle.flip9 == 1) {
_root.cam.puzzle.flip9 = 2;
} else {
_root.cam.puzzle.flip9 = 1;
}
if (_root.cam.puzzle.flip8 == 1) {
_root.cam.puzzle.flip8 = 2;
} else {
_root.cam.puzzle.flip8 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s9" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip8 == 1) {
_root.cam.puzzle.flip8 = 2;
} else {
_root.cam.puzzle.flip8 = 1;
}
if (_root.cam.puzzle.flip10 == 1) {
_root.cam.puzzle.flip10 = 2;
} else {
_root.cam.puzzle.flip10 = 1;
}
if (_root.cam.puzzle.flip9 == 1) {
_root.cam.puzzle.flip9 = 2;
} else {
_root.cam.puzzle.flip9 = 1;
}
}
}
Instance of Symbol 208 MovieClip "s10" in Symbol 340 MovieClip Frame 2
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if (_root.p1c == false) {
if (_root.cam.puzzle.flip9 == 1) {
_root.cam.puzzle.flip9 = 2;
} else {
_root.cam.puzzle.flip9 = 1;
}
if (_root.cam.puzzle.flip10 == 1) {
_root.cam.puzzle.flip10 = 2;
} else {
_root.cam.puzzle.flip10 = 1;
}
}
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 2
onClipEvent (enterFrame) {
win = 2;
if (((((((((((_root.cam.puzzle.flip1 == win) && (_root.cam.puzzle.flip2 == win)) && (_root.cam.puzzle.flip3 == win)) && (_root.cam.puzzle.flip4 == win)) && (_root.cam.puzzle.flip5 == win)) && (_root.cam.puzzle.flip6 == win)) && (_root.cam.puzzle.flip7 == win)) && (_root.cam.puzzle.flip8 == win)) && (_root.cam.puzzle.flip9 == win)) && (_root.cam.puzzle.flip10 == win)) && ((win == 1) || (win == 2))) {
_root.p1c = true;
_root.cam.puzzle.swlight.gotoAndStop(2);
_root.p.angle = 4.5;
_root.p._xscale = 100;
}
_root.cam.puzzle.s1.gotoAndStop(_root.cam.puzzle.flip1);
_root.cam.puzzle.s2.gotoAndStop(_root.cam.puzzle.flip2);
_root.cam.puzzle.s3.gotoAndStop(_root.cam.puzzle.flip3);
_root.cam.puzzle.s4.gotoAndStop(_root.cam.puzzle.flip4);
_root.cam.puzzle.s5.gotoAndStop(_root.cam.puzzle.flip5);
_root.cam.puzzle.s6.gotoAndStop(_root.cam.puzzle.flip6);
_root.cam.puzzle.s7.gotoAndStop(_root.cam.puzzle.flip7);
_root.cam.puzzle.s8.gotoAndStop(_root.cam.puzzle.flip8);
_root.cam.puzzle.s9.gotoAndStop(_root.cam.puzzle.flip9);
_root.cam.puzzle.s10.gotoAndStop(_root.cam.puzzle.flip10);
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.dev == true)) {
_root.p1c = true;
_root.cam.puzzle.swlight.gotoAndStop(2);
_root.p.angle = 4.5;
_root.p._xscale = 100;
}
if ((Key.isDown(90) && (_root.p.puzzle != 0)) && (_root.cam.black._currentframe == 26)) {
_root.p.puzzle = -1;
_root.cam.black.play();
}
}
Symbol 340 MovieClip Frame 3
stop();
if (_root.p2o == false) {
_root.cam.puzzle.swapping = false;
_root.cam.puzzle.rot1 = false;
_root.cam.puzzle.rot2 = false;
_root.cam.puzzle.rot3 = false;
_root.cam.puzzle.rot4 = false;
_root.cam.puzzle.pos1 = 1;
_root.cam.puzzle.pos2 = 1;
_root.cam.puzzle.pos3 = 1;
_root.cam.puzzle.pos4 = 2;
_root.cam.puzzle.b11 = 3;
_root.cam.puzzle.b12 = 1;
_root.cam.puzzle.b13 = 2;
_root.cam.puzzle.b14 = 3;
_root.cam.puzzle.b21 = 3;
_root.cam.puzzle.b22 = 1;
_root.cam.puzzle.b23 = 1;
_root.cam.puzzle.b24 = 2;
_root.cam.puzzle.b31 = 1;
_root.cam.puzzle.b32 = 3;
_root.cam.puzzle.b33 = 2;
_root.cam.puzzle.b34 = 2;
_root.cam.puzzle.b41 = 4;
_root.cam.puzzle.b42 = 4;
_root.p2o = true;
_root.cam.puzzle.sq1r = 0;
_root.cam.puzzle.sq2r = 0;
_root.cam.puzzle.sq3r = 0;
_root.cam.puzzle.sq4r = 0;
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((((_root.cam.puzzle.b11 == 1) && (_root.cam.puzzle.b12 == 1)) && (_root.cam.puzzle.b13 == 1)) && (_root.cam.puzzle.b14 == 1)) {
_root.cam.puzzle.sqc1 = true;
_root.cam.puzzle.sqlight1.gotoAndStop(2);
} else {
_root.cam.puzzle.sqc1 = false;
_root.cam.puzzle.sqlight1.gotoAndStop(1);
}
if ((((_root.cam.puzzle.b21 == 2) && (_root.cam.puzzle.b22 == 2)) && (_root.cam.puzzle.b23 == 2)) && (_root.cam.puzzle.b24 == 2)) {
_root.cam.puzzle.sqc2 = true;
_root.cam.puzzle.sqlight2.gotoAndStop(2);
} else {
_root.cam.puzzle.sqc2 = false;
_root.cam.puzzle.sqlight2.gotoAndStop(1);
}
if ((((_root.cam.puzzle.b31 == 3) && (_root.cam.puzzle.b32 == 3)) && (_root.cam.puzzle.b33 == 3)) && (_root.cam.puzzle.b34 == 3)) {
_root.cam.puzzle.sqc3 = true;
_root.cam.puzzle.sqlight3.gotoAndStop(2);
} else {
_root.cam.puzzle.sqc3 = false;
_root.cam.puzzle.sqlight3.gotoAndStop(1);
}
if (((_root.cam.puzzle.sqc1 == true) && (_root.cam.puzzle.sqc2 == true)) && (_root.cam.puzzle.sqc3 == true)) {
_root.p2c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if (_root.cam.puzzle.pos1 > 4) {
_root.cam.puzzle.pos1 = 1;
}
if (_root.cam.puzzle.pos2 > 4) {
_root.cam.puzzle.pos2 = 1;
}
if (_root.cam.puzzle.pos3 > 4) {
_root.cam.puzzle.pos3 = 1;
}
if (_root.cam.puzzle.pos4 < 1) {
_root.cam.puzzle.pos4 = 3;
}
_root.cam.puzzle.sq1.sq.b1.gotoAndStop(_root.cam.puzzle.b11);
_root.cam.puzzle.sq1.sq.b2.gotoAndStop(_root.cam.puzzle.b12);
_root.cam.puzzle.sq1.sq.b3.gotoAndStop(_root.cam.puzzle.b13);
_root.cam.puzzle.sq1.sq.b4.gotoAndStop(_root.cam.puzzle.b14);
_root.cam.puzzle.sq2.sq.b1.gotoAndStop(_root.cam.puzzle.b21);
_root.cam.puzzle.sq2.sq.b2.gotoAndStop(_root.cam.puzzle.b22);
_root.cam.puzzle.sq2.sq.b3.gotoAndStop(_root.cam.puzzle.b23);
_root.cam.puzzle.sq2.sq.b4.gotoAndStop(_root.cam.puzzle.b24);
_root.cam.puzzle.sq3.sq.b1.gotoAndStop(_root.cam.puzzle.b31);
_root.cam.puzzle.sq3.sq.b2.gotoAndStop(_root.cam.puzzle.b32);
_root.cam.puzzle.sq3.sq.b3.gotoAndStop(_root.cam.puzzle.b33);
_root.cam.puzzle.sq3.sq.b4.gotoAndStop(_root.cam.puzzle.b34);
_root.cam.puzzle.sq4.sq.b1.gotoAndStop(_root.cam.puzzle.b41);
_root.cam.puzzle.sq4.sq.b2.gotoAndStop(_root.cam.puzzle.b42);
_root.cam.puzzle.sq1.sq._rotation = _root.cam.puzzle.sq1r;
_root.cam.puzzle.sq2.sq._rotation = _root.cam.puzzle.sq2r;
_root.cam.puzzle.sq3.sq._rotation = _root.cam.puzzle.sq3r;
_root.cam.puzzle.sq4.sq._rotation = _root.cam.puzzle.sq4r;
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.dev == true)) {
_root.p2c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if ((Key.isDown(90) && (_root.p.puzzle != 0)) && (_root.cam.black._currentframe == 26)) {
_root.p.puzzle = -1;
_root.cam.black.play();
}
}
Symbol 340 MovieClip Frame 4
if (_root.p3o == false) {
_root.cam.puzzle.w1rot = false;
_root.cam.puzzle.w2rot = false;
_root.cam.puzzle.wrot1 = 180;
_root.cam.puzzle.wrot2 = -180;
_root.cam.puzzle.wpos1 = 2;
_root.cam.puzzle.wpos2 = 8;
_root.cam.puzzle.c11 = 2;
_root.cam.puzzle.c12 = 4;
_root.cam.puzzle.c13 = 5;
_root.cam.puzzle.c14 = 3;
_root.cam.puzzle.c15 = 7;
_root.cam.puzzle.c16 = 3;
_root.cam.puzzle.c17 = 1;
_root.cam.puzzle.c18 = 5;
_root.cam.puzzle.c19 = 1;
_root.cam.puzzle.c110 = 5;
_root.cam.puzzle.c111 = 2;
_root.cam.puzzle.c112 = 4;
_root.cam.puzzle.c113 = 5;
_root.cam.puzzle.c21 = 7;
_root.cam.puzzle.c22 = 4;
_root.cam.puzzle.c23 = 1;
_root.cam.puzzle.c24 = 6;
_root.cam.puzzle.c25 = 6;
_root.cam.puzzle.c26 = 3;
_root.cam.puzzle.c27 = 6;
_root.cam.puzzle.c28 = 2;
_root.cam.puzzle.c29 = 3;
_root.cam.puzzle.c210 = 2;
_root.cam.puzzle.c211 = 4;
_root.cam.puzzle.c212 = 6;
_root.cam.puzzle.c213 = 1;
_root.p3o = true;
}
_root.cam.puzzle.w2.gotoAndStop(11);
_root.cam.puzzle.w2.m._xscale = -100;
_root.cam.puzzle.w2.m2._xscale = -100;
_root.cam.puzzle.w2.m2.gotoAndStop(11);
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.dev == true)) {
_root.p3c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if ((Key.isDown(90) && (_root.p.puzzle != 0)) && (_root.cam.black._currentframe == 26)) {
_root.p.puzzle = -1;
_root.cam.black.play();
}
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.cam.puzzle.wrot1 > 360) {
_root.cam.puzzle.wrot1 = 30;
}
if (_root.cam.puzzle.wrot2 < -360) {
_root.cam.puzzle.wrot2 = -30;
}
_root.cam.puzzle.w1.m2._rotation = _root.cam.puzzle.wrot1;
_root.cam.puzzle.w2.m2._rotation = _root.cam.puzzle.wrot2;
_root.cam.puzzle.w1.w.c1.gotoAndStop(_root.cam.puzzle.c11);
_root.cam.puzzle.w1.w.c2.gotoAndStop(_root.cam.puzzle.c12);
_root.cam.puzzle.w1.w.c3.gotoAndStop(_root.cam.puzzle.c13);
_root.cam.puzzle.w1.w.c4.gotoAndStop(_root.cam.puzzle.c14);
_root.cam.puzzle.w1.w.c5.gotoAndStop(_root.cam.puzzle.c15);
_root.cam.puzzle.w1.w.c6.gotoAndStop(_root.cam.puzzle.c16);
_root.cam.puzzle.w1.w.c7.gotoAndStop(_root.cam.puzzle.c17);
_root.cam.puzzle.w1.w.c8.gotoAndStop(_root.cam.puzzle.c18);
_root.cam.puzzle.w1.w.c9.gotoAndStop(_root.cam.puzzle.c19);
_root.cam.puzzle.w1.w.c10.gotoAndStop(_root.cam.puzzle.c110);
_root.cam.puzzle.w1.w.c11.gotoAndStop(_root.cam.puzzle.c111);
_root.cam.puzzle.w1.w.c12.gotoAndStop(_root.cam.puzzle.c112);
_root.cam.puzzle.w2.w.c1.gotoAndStop(_root.cam.puzzle.c21);
_root.cam.puzzle.w2.w.c2.gotoAndStop(_root.cam.puzzle.c22);
_root.cam.puzzle.w2.w.c3.gotoAndStop(_root.cam.puzzle.c23);
_root.cam.puzzle.w2.w.c4.gotoAndStop(_root.cam.puzzle.c24);
_root.cam.puzzle.w2.w.c5.gotoAndStop(_root.cam.puzzle.c25);
_root.cam.puzzle.w2.w.c6.gotoAndStop(_root.cam.puzzle.c26);
_root.cam.puzzle.w2.w.c7.gotoAndStop(_root.cam.puzzle.c27);
_root.cam.puzzle.w2.w.c8.gotoAndStop(_root.cam.puzzle.c28);
_root.cam.puzzle.w2.w.c9.gotoAndStop(_root.cam.puzzle.c29);
_root.cam.puzzle.w2.w.c10.gotoAndStop(_root.cam.puzzle.c210);
_root.cam.puzzle.w2.w.c11.gotoAndStop(_root.cam.puzzle.c211);
_root.cam.puzzle.w2.w.c12.gotoAndStop(_root.cam.puzzle.c212);
_root.cam.puzzle.c1_13.gotoAndStop(_root.cam.puzzle.c113);
_root.cam.puzzle.c2_13.gotoAndStop(_root.cam.puzzle.c213);
if (_root.cam.puzzle.cpos1 < 1) {
_root.cam.puzzle.cpos1 = 12;
}
if (_root.cam.puzzle.cpos2 < 1) {
_root.cam.puzzle.cpos2 = 12;
}
if ((((((((((((((((((((((((((_root.cam.puzzle.c11 == 1) && (_root.cam.puzzle.c12 == 1)) && (_root.cam.puzzle.c13 == 1)) && (_root.cam.puzzle.c14 == 1)) && (_root.cam.puzzle.c15 == 2)) && (_root.cam.puzzle.c16 == 2)) && (_root.cam.puzzle.c17 == 2)) && (_root.cam.puzzle.c18 == 2)) && (_root.cam.puzzle.c19 == 3)) && (_root.cam.puzzle.c110 == 3)) && (_root.cam.puzzle.c111 == 3)) && (_root.cam.puzzle.c112 == 3)) && (_root.cam.puzzle.c113 == 7)) && (_root.cam.puzzle.c21 == 6)) && (_root.cam.puzzle.c22 == 5)) && (_root.cam.puzzle.c23 == 5)) && (_root.cam.puzzle.c24 == 5)) && (_root.cam.puzzle.c25 == 5)) && (_root.cam.puzzle.c26 == 4)) && (_root.cam.puzzle.c27 == 4)) && (_root.cam.puzzle.c28 == 4)) && (_root.cam.puzzle.c29 == 4)) && (_root.cam.puzzle.c210 == 6)) && (_root.cam.puzzle.c211 == 6)) && (_root.cam.puzzle.c212 == 6)) && (_root.cam.puzzle.c213 == 7)) {
_root.p3c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
}
Symbol 340 MovieClip Frame 5
if (_root.p4o == false) {
_root.cam.puzzle.kk1 = 1;
_root.cam.puzzle.kk2 = 1;
_root.cam.puzzle.kk3 = 1;
_root.cam.puzzle.kk4 = 1;
_root.cam.puzzle.kk5 = 1;
_root.cam.puzzle.kk6 = 1;
if (_root.p4o2 == false) {
_root.cam.puzzle.bflip1 = 1;
_root.cam.puzzle.bflip2 = 1;
_root.cam.puzzle.bflip3 = 1;
_root.cam.puzzle.bflip4 = 1;
_root.cam.puzzle.bflip5 = 1;
_root.cam.puzzle.bflip6 = 1;
_root.cam.puzzle.bflip7 = 1;
_root.cam.puzzle.bflip8 = 1;
_root.cam.puzzle.bflip9 = 1;
_root.cam.puzzle.bflip10 = 1;
}
_root.p4o = true;
}
Instance of Symbol 287 MovieClip "s1" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip1 = _root.cam.puzzle.bflip1 + 1;
_root.cam.puzzle.bflip2 = _root.cam.puzzle.bflip2 + 1;
}
}
Instance of Symbol 287 MovieClip "s2" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip1 = _root.cam.puzzle.bflip1 + 1;
_root.cam.puzzle.bflip2 = _root.cam.puzzle.bflip2 + 1;
_root.cam.puzzle.bflip3 = _root.cam.puzzle.bflip3 + 1;
}
}
Instance of Symbol 287 MovieClip "s3" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip2 = _root.cam.puzzle.bflip2 + 1;
_root.cam.puzzle.bflip3 = _root.cam.puzzle.bflip3 + 1;
_root.cam.puzzle.bflip4 = _root.cam.puzzle.bflip4 + 1;
}
}
Instance of Symbol 287 MovieClip "s4" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip3 = _root.cam.puzzle.bflip3 + 1;
_root.cam.puzzle.bflip4 = _root.cam.puzzle.bflip4 + 1;
_root.cam.puzzle.bflip5 = _root.cam.puzzle.bflip5 + 1;
}
}
Instance of Symbol 287 MovieClip "s5" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip4 = _root.cam.puzzle.bflip4 + 1;
_root.cam.puzzle.bflip5 = _root.cam.puzzle.bflip5 + 1;
_root.cam.puzzle.bflip6 = _root.cam.puzzle.bflip6 + 1;
}
}
Instance of Symbol 287 MovieClip "s6" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip5 = _root.cam.puzzle.bflip5 + 1;
_root.cam.puzzle.bflip6 = _root.cam.puzzle.bflip6 + 1;
_root.cam.puzzle.bflip7 = _root.cam.puzzle.bflip7 + 1;
}
}
Instance of Symbol 287 MovieClip "s7" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip6 = _root.cam.puzzle.bflip6 + 1;
_root.cam.puzzle.bflip7 = _root.cam.puzzle.bflip7 + 1;
_root.cam.puzzle.bflip8 = _root.cam.puzzle.bflip8 + 1;
}
}
Instance of Symbol 287 MovieClip "s8" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip7 = _root.cam.puzzle.bflip7 + 1;
_root.cam.puzzle.bflip8 = _root.cam.puzzle.bflip8 + 1;
_root.cam.puzzle.bflip9 = _root.cam.puzzle.bflip9 + 1;
}
}
Instance of Symbol 287 MovieClip "s9" in Symbol 340 MovieClip Frame 5
on (press) {
click2 = new Sound(_root.drillmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(_root.click2vol);
if ((((_root.p4c == false) && (_root.p2c == true)) && (_root.p5c == true)) && (_root.p4o2 == true)) {
_root.cam.puzzle.bflip8 = _root.cam.puzzle.bflip8 + 1;
_root.cam.puzzle.bflip9 = _root.cam.puzzle.bflip9 + 1;
}
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.p4o2 == false) {
if (_root.cam.puzzle.kk1 > 6) {
_root.cam.puzzle.kk1 = 1;
}
if (_root.cam.puzzle.kk2 > 6) {
_root.cam.puzzle.kk2 = 1;
}
if (_root.cam.puzzle.kk3 > 6) {
_root.cam.puzzle.kk3 = 1;
}
if (_root.cam.puzzle.kk4 > 6) {
_root.cam.puzzle.kk4 = 1;
}
if (_root.cam.puzzle.kk5 > 6) {
_root.cam.puzzle.kk5 = 1;
}
if (_root.cam.puzzle.kk6 > 6) {
_root.cam.puzzle.kk6 = 1;
}
}
if (_root.p4c == false) {
if (win == 2) {
win = 3;
} else {
win = 2;
}
}
if ((((((((_root.cam.puzzle.kk1 == _root.int1.xx1) && (_root.cam.puzzle.kk2 == _root.int1.xx2)) && (_root.cam.puzzle.kk3 == _root.int1.xx3)) && (_root.cam.puzzle.kk4 == _root.int1.xx4)) && (_root.cam.puzzle.kk5 == _root.int1.xx5)) && (_root.cam.puzzle.kk6 == _root.int1.xx6)) && (_root.p4o2 == false)) || ((Key.isDown(32) && (_root.dev == true)) && (_root.p4o2 == false))) {
_root.cam.puzzle.kk1 = 7;
_root.cam.puzzle.kk2 = 7;
_root.cam.puzzle.kk3 = 7;
_root.cam.puzzle.kk4 = 7;
_root.cam.puzzle.kk5 = 7;
_root.cam.puzzle.kk6 = 7;
click2 = new Sound(_root.spaceloopmc);
click2.attachSound("click22");
click2.start(0, 1);
click2.setVolume(35);
boop = new Sound(_root.drillmc);
boop.attachSound("boop");
boop.start(0, 1);
boop.setVolume(30);
_root.cam.puzzle.bflip1 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip2 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip3 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip4 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip5 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip6 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip7 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip8 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip9 = Math.ceil(Math.random() * 3);
_root.cam.puzzle.bflip10 = Math.ceil(Math.random() * 3);
_root.p4o2 = true;
}
_root.cam.puzzle.k1.gotoAndStop(_root.cam.puzzle.kk1);
_root.cam.puzzle.k2.gotoAndStop(_root.cam.puzzle.kk2);
_root.cam.puzzle.k3.gotoAndStop(_root.cam.puzzle.kk3);
_root.cam.puzzle.k4.gotoAndStop(_root.cam.puzzle.kk4);
_root.cam.puzzle.k5.gotoAndStop(_root.cam.puzzle.kk5);
_root.cam.puzzle.k6.gotoAndStop(_root.cam.puzzle.kk6);
if (_root.cam.puzzle.bflip1 > 3) {
_root.cam.puzzle.bflip1 = 1;
}
if (_root.cam.puzzle.bflip2 > 3) {
_root.cam.puzzle.bflip2 = 1;
}
if (_root.cam.puzzle.bflip3 > 3) {
_root.cam.puzzle.bflip3 = 1;
}
if (_root.cam.puzzle.bflip4 > 3) {
_root.cam.puzzle.bflip4 = 1;
}
if (_root.cam.puzzle.bflip5 > 3) {
_root.cam.puzzle.bflip5 = 1;
}
if (_root.cam.puzzle.bflip6 > 3) {
_root.cam.puzzle.bflip6 = 1;
}
if (_root.cam.puzzle.bflip7 > 3) {
_root.cam.puzzle.bflip7 = 1;
}
if (_root.cam.puzzle.bflip8 > 3) {
_root.cam.puzzle.bflip8 = 1;
}
if (_root.cam.puzzle.bflip9 > 3) {
_root.cam.puzzle.bflip9 = 1;
}
if ((((((((((_root.cam.puzzle.bflip1 == win) && (_root.cam.puzzle.bflip2 == win)) && (_root.cam.puzzle.bflip3 == win)) && (_root.cam.puzzle.bflip4 == win)) && (_root.cam.puzzle.bflip5 == win)) && (_root.cam.puzzle.bflip6 == win)) && (_root.cam.puzzle.bflip7 == win)) && (_root.cam.puzzle.bflip8 == win)) && (_root.cam.puzzle.bflip9 == win)) && (_root.p4o2 == true)) {
_root.p4c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
_root.p.angle = 1.35;
_root.p._xscale = 100;
}
_root.cam.puzzle.s1.gotoAndStop(_root.cam.puzzle.bflip1);
_root.cam.puzzle.s2.gotoAndStop(_root.cam.puzzle.bflip2);
_root.cam.puzzle.s3.gotoAndStop(_root.cam.puzzle.bflip3);
_root.cam.puzzle.s4.gotoAndStop(_root.cam.puzzle.bflip4);
_root.cam.puzzle.s5.gotoAndStop(_root.cam.puzzle.bflip5);
_root.cam.puzzle.s6.gotoAndStop(_root.cam.puzzle.bflip6);
_root.cam.puzzle.s7.gotoAndStop(_root.cam.puzzle.bflip7);
_root.cam.puzzle.s8.gotoAndStop(_root.cam.puzzle.bflip8);
_root.cam.puzzle.s9.gotoAndStop(_root.cam.puzzle.bflip9);
}
onClipEvent (load) {
win = 2;
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((Key.isDown(32) && (_root.dev == true)) && (_root.p4o2 == true)) {
_root.p4c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if ((Key.isDown(90) && (_root.p.puzzle != 0)) && (_root.cam.black._currentframe == 26)) {
_root.p.puzzle = -1;
_root.cam.black.play();
}
}
Symbol 340 MovieClip Frame 6
if (_root.p5o == false) {
_root.cam.puzzle.ba1 = 4;
_root.cam.puzzle.ba2 = 5;
_root.cam.puzzle.ba3 = 5;
_root.cam.puzzle.ba4 = 2;
_root.cam.puzzle.ba5 = 5;
_root.cam.puzzle.ba6 = 4;
_root.cam.puzzle.bb1 = 6;
_root.cam.puzzle.bb2 = 1;
_root.cam.puzzle.bb3 = 2;
_root.cam.puzzle.bb4 = 3;
_root.cam.puzzle.bb5 = 6;
_root.cam.puzzle.bb6 = 5;
_root.cam.puzzle.bc1 = 1;
_root.cam.puzzle.bc2 = 3;
_root.cam.puzzle.bc3 = 3;
_root.cam.puzzle.bc4 = 2;
_root.cam.puzzle.bc5 = 1;
_root.cam.puzzle.bc6 = 2;
_root.cam.puzzle.bd1 = 1;
_root.cam.puzzle.bd2 = 4;
_root.cam.puzzle.bd3 = 6;
_root.cam.puzzle.bd4 = 3;
_root.cam.puzzle.bd5 = 4;
_root.cam.puzzle.bd6 = 5;
_root.cam.puzzle.be1 = 5;
_root.cam.puzzle.be2 = 3;
_root.cam.puzzle.be3 = 1;
_root.cam.puzzle.be4 = 6;
_root.cam.puzzle.be5 = 2;
_root.cam.puzzle.be6 = 1;
_root.cam.puzzle.bf1 = 6;
_root.cam.puzzle.bf2 = 2;
_root.cam.puzzle.bf3 = 3;
_root.cam.puzzle.bf4 = 4;
_root.cam.puzzle.bf5 = 4;
_root.cam.puzzle.bf6 = 6;
_root.p5o = true;
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((((((((((((((((((((((((((((((((((((_root.cam.puzzle.ba1 == 1) && (_root.cam.puzzle.ba2 == 2)) && (_root.cam.puzzle.ba3 == 3)) && (_root.cam.puzzle.ba4 == 4)) && (_root.cam.puzzle.ba5 == 5)) && (_root.cam.puzzle.ba6 == 6)) && (_root.cam.puzzle.bb1 == 1)) && (_root.cam.puzzle.bb2 == 2)) && (_root.cam.puzzle.bb3 == 3)) && (_root.cam.puzzle.bb4 == 4)) && (_root.cam.puzzle.bb5 == 5)) && (_root.cam.puzzle.bb6 == 6)) && (_root.cam.puzzle.bc1 == 1)) && (_root.cam.puzzle.bc2 == 2)) && (_root.cam.puzzle.bc3 == 3)) && (_root.cam.puzzle.bc4 == 4)) && (_root.cam.puzzle.bc5 == 5)) && (_root.cam.puzzle.bc6 == 6)) && (_root.cam.puzzle.bd1 == 1)) && (_root.cam.puzzle.bd2 == 2)) && (_root.cam.puzzle.bd3 == 3)) && (_root.cam.puzzle.bd4 == 4)) && (_root.cam.puzzle.bd5 == 5)) && (_root.cam.puzzle.bd6 == 6)) && (_root.cam.puzzle.be1 == 1)) && (_root.cam.puzzle.be2 == 2)) && (_root.cam.puzzle.be3 == 3)) && (_root.cam.puzzle.be4 == 4)) && (_root.cam.puzzle.be5 == 5)) && (_root.cam.puzzle.be6 == 6)) && (_root.cam.puzzle.bf1 == 1)) && (_root.cam.puzzle.bf2 == 2)) && (_root.cam.puzzle.bf3 == 3)) && (_root.cam.puzzle.bf4 == 4)) && (_root.cam.puzzle.bf5 == 5)) && (_root.cam.puzzle.bf6 == 6)) {
_root.p5c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
_root.cam.puzzle.a1.gotoAndStop(_root.cam.puzzle.ba1);
_root.cam.puzzle.a2.gotoAndStop(_root.cam.puzzle.ba2);
_root.cam.puzzle.a3.gotoAndStop(_root.cam.puzzle.ba3);
_root.cam.puzzle.a4.gotoAndStop(_root.cam.puzzle.ba4);
_root.cam.puzzle.a5.gotoAndStop(_root.cam.puzzle.ba5);
_root.cam.puzzle.a6.gotoAndStop(_root.cam.puzzle.ba6);
_root.cam.puzzle.b1.gotoAndStop(_root.cam.puzzle.bb1);
_root.cam.puzzle.b2.gotoAndStop(_root.cam.puzzle.bb2);
_root.cam.puzzle.b3.gotoAndStop(_root.cam.puzzle.bb3);
_root.cam.puzzle.b4.gotoAndStop(_root.cam.puzzle.bb4);
_root.cam.puzzle.b5.gotoAndStop(_root.cam.puzzle.bb5);
_root.cam.puzzle.b6.gotoAndStop(_root.cam.puzzle.bb6);
_root.cam.puzzle.c1.gotoAndStop(_root.cam.puzzle.bc1);
_root.cam.puzzle.c2.gotoAndStop(_root.cam.puzzle.bc2);
_root.cam.puzzle.c3.gotoAndStop(_root.cam.puzzle.bc3);
_root.cam.puzzle.c4.gotoAndStop(_root.cam.puzzle.bc4);
_root.cam.puzzle.c5.gotoAndStop(_root.cam.puzzle.bc5);
_root.cam.puzzle.c6.gotoAndStop(_root.cam.puzzle.bc6);
_root.cam.puzzle.d1.gotoAndStop(_root.cam.puzzle.bd1);
_root.cam.puzzle.d2.gotoAndStop(_root.cam.puzzle.bd2);
_root.cam.puzzle.d3.gotoAndStop(_root.cam.puzzle.bd3);
_root.cam.puzzle.d4.gotoAndStop(_root.cam.puzzle.bd4);
_root.cam.puzzle.d5.gotoAndStop(_root.cam.puzzle.bd5);
_root.cam.puzzle.d6.gotoAndStop(_root.cam.puzzle.bd6);
_root.cam.puzzle.e1.gotoAndStop(_root.cam.puzzle.be1);
_root.cam.puzzle.e2.gotoAndStop(_root.cam.puzzle.be2);
_root.cam.puzzle.e3.gotoAndStop(_root.cam.puzzle.be3);
_root.cam.puzzle.e4.gotoAndStop(_root.cam.puzzle.be4);
_root.cam.puzzle.e5.gotoAndStop(_root.cam.puzzle.be5);
_root.cam.puzzle.e6.gotoAndStop(_root.cam.puzzle.be6);
_root.cam.puzzle.f1.gotoAndStop(_root.cam.puzzle.bf1);
_root.cam.puzzle.f2.gotoAndStop(_root.cam.puzzle.bf2);
_root.cam.puzzle.fa3.gotoAndStop(_root.cam.puzzle.bf3);
_root.cam.puzzle.fa4.gotoAndStop(_root.cam.puzzle.bf4);
_root.cam.puzzle.f5.gotoAndStop(_root.cam.puzzle.bf5);
_root.cam.puzzle.f6.gotoAndStop(_root.cam.puzzle.bf6);
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.dev == true)) {
_root.p5c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if ((Key.isDown(90) && (_root.p.puzzle != 0)) && (_root.cam.black._currentframe == 26)) {
_root.p.puzzle = -1;
_root.cam.black.play();
}
}
Symbol 340 MovieClip Frame 7
if (_root.p6o == false) {
_root.cam.puzzle.frot1 = false;
_root.cam.puzzle.frot2 = false;
_root.cam.puzzle.fpos1 = 1;
_root.cam.puzzle.fpos2 = 1;
_root.cam.puzzle.f11 = 2;
_root.cam.puzzle.f12 = 2;
_root.cam.puzzle.f13 = 1;
_root.cam.puzzle.f14 = 1;
_root.cam.puzzle.f15 = 7;
_root.cam.puzzle.f16 = 1;
_root.cam.puzzle.f17 = 1;
_root.cam.puzzle.f18 = 2;
_root.cam.puzzle.f19 = 7;
_root.cam.puzzle.f110 = 2;
_root.cam.puzzle.f111 = 2;
_root.cam.puzzle.f112 = 1;
_root.cam.puzzle.f21 = 2;
_root.cam.puzzle.f22 = 2;
_root.cam.puzzle.f23 = 1;
_root.cam.puzzle.f24 = 1;
_root.cam.puzzle.f25 = 2;
_root.cam.puzzle.f26 = 2;
_root.cam.puzzle.f27 = 1;
_root.cam.puzzle.f28 = 7;
_root.cam.puzzle.f29 = 2;
_root.cam.puzzle.f210 = 1;
_root.cam.puzzle.f211 = 2;
_root.cam.puzzle.f212 = 1;
_root.cam.puzzle.f3 = 7;
_root.cam.puzzle.f4 = 7;
_root.p6c = false;
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((((((((((((((((((((((_root.cam.puzzle.f11 == 1) && (_root.cam.puzzle.f12 == 7)) && (_root.cam.puzzle.f13 == 1)) && (_root.cam.puzzle.f14 == 1)) && (_root.cam.puzzle.f15 == 7)) && (_root.cam.puzzle.f16 == 1)) && (_root.cam.puzzle.f17 == 1)) && (_root.cam.puzzle.f18 == 1)) && (_root.cam.puzzle.f19 == 1)) && (_root.cam.puzzle.f110 == 1)) && (_root.cam.puzzle.f111 == 1)) && (_root.cam.puzzle.f112 == 1)) && ((_root.cam.puzzle.f21 == 2) || (_root.cam.puzzle.f21 == 11))) && ((_root.cam.puzzle.f22 == 2) || (_root.cam.puzzle.f22 == 11))) && ((_root.cam.puzzle.f23 == 2) || (_root.cam.puzzle.f23 == 11))) && ((_root.cam.puzzle.f24 == 2) || (_root.cam.puzzle.f24 == 11))) && ((_root.cam.puzzle.f25 == 2) || (_root.cam.puzzle.f25 == 11))) && ((_root.cam.puzzle.f26 == 2) || (_root.cam.puzzle.f26 == 11))) && ((_root.cam.puzzle.f27 == 2) || (_root.cam.puzzle.f27 == 11))) && ((_root.cam.puzzle.f28 == 7) || (_root.cam.puzzle.f28 == 11))) && ((_root.cam.puzzle.f29 == 2) || (_root.cam.puzzle.f29 == 11))) && ((_root.cam.puzzle.f210 == 2) || (_root.cam.puzzle.f210 == 11))) && (_root.cam.puzzle.f211 == 7)) && ((_root.cam.puzzle.f212 == 2) || (_root.cam.puzzle.f212 == 11))) {
_root.p6c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if (_root.cam.puzzle.fpos1 > 12) {
_root.cam.puzzle.fpos1 = 1;
}
if (_root.cam.puzzle.fpos2 > 12) {
_root.cam.puzzle.fpos2 = 1;
}
_root.cam.puzzle.fw1.w.w.w1.gotoAndStop(_root.cam.puzzle.f11);
_root.cam.puzzle.fw1.w.w.w2.gotoAndStop(_root.cam.puzzle.f12);
_root.cam.puzzle.fw1.w.w.w3.gotoAndStop(_root.cam.puzzle.f13);
_root.cam.puzzle.fw1.w.w.w4.gotoAndStop(_root.cam.puzzle.f14);
_root.cam.puzzle.fw1.w.w.w5.gotoAndStop(_root.cam.puzzle.f15);
_root.cam.puzzle.fw1.w.w.w6.gotoAndStop(_root.cam.puzzle.f16);
_root.cam.puzzle.fw1.w.w.w7.gotoAndStop(_root.cam.puzzle.f17);
_root.cam.puzzle.fw1.w.w.w8.gotoAndStop(_root.cam.puzzle.f18);
_root.cam.puzzle.fw1.w.w.w9.gotoAndStop(_root.cam.puzzle.f19);
_root.cam.puzzle.fw1.w.w.w10.gotoAndStop(_root.cam.puzzle.f110);
_root.cam.puzzle.fw1.w.w.w11.gotoAndStop(_root.cam.puzzle.f111);
_root.cam.puzzle.fw1.w.w.w12.gotoAndStop(_root.cam.puzzle.f112);
_root.cam.puzzle.fw2.w.w.w1.gotoAndStop(_root.cam.puzzle.f21);
_root.cam.puzzle.fw2.w.w.w2.gotoAndStop(_root.cam.puzzle.f22);
_root.cam.puzzle.fw2.w.w.w3.gotoAndStop(_root.cam.puzzle.f23);
_root.cam.puzzle.fw2.w.w.w4.gotoAndStop(_root.cam.puzzle.f24);
_root.cam.puzzle.fw2.w.w.w5.gotoAndStop(_root.cam.puzzle.f25);
_root.cam.puzzle.fw2.w.w.w6.gotoAndStop(_root.cam.puzzle.f26);
_root.cam.puzzle.fw2.w.w.w7.gotoAndStop(_root.cam.puzzle.f27);
_root.cam.puzzle.fw2.w.w.w8.gotoAndStop(_root.cam.puzzle.f28);
_root.cam.puzzle.fw2.w.w.w9.gotoAndStop(_root.cam.puzzle.f29);
_root.cam.puzzle.fw2.w.w.w10.gotoAndStop(_root.cam.puzzle.f210);
_root.cam.puzzle.fw2.w.w.w11.gotoAndStop(_root.cam.puzzle.f211);
_root.cam.puzzle.fw2.w.w.w12.gotoAndStop(_root.cam.puzzle.f212);
_root.cam.puzzle.fw3.fw3.gotoAndStop(_root.cam.puzzle.f3);
_root.cam.puzzle.fw3.fw4.gotoAndStop(_root.cam.puzzle.f4);
}
Instance of Symbol 164 MovieClip in Symbol 340 MovieClip Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.dev == true)) {
_root.p6c = true;
_root.cam.puzzle.winlight.gotoAndStop(2);
}
if ((Key.isDown(90) && (_root.p.puzzle != 0)) && (_root.cam.black._currentframe == 26)) {
_root.p.puzzle = -1;
_root.cam.black.play();
}
}
Symbol 342 MovieClip Frame 20
stop();
Symbol 343 MovieClip Frame 23
stop();
Symbol 344 MovieClip Frame 2
stop();
Symbol 351 MovieClip Frame 103
_root.cam.medal.gotoAndStop(1);
Symbol 356 MovieClip Frame 103
_root.cam.medal.gotoAndStop(1);
Symbol 361 MovieClip Frame 103
_root.cam.medal.gotoAndStop(1);
Symbol 362 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Instance of Symbol 344 MovieClip "cinbars" in Symbol 363 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.bars);
}
Symbol 376 Button
on (release) {
if (_currentframe != 109) {
play();
} else {
gotoAndPlay (36);
}
}
Symbol 378 Button
on (release) {
_root.cam.black.play();
_root.menuplay = true;
_root.game = 0;
}
Symbol 380 Button
on (release) {
if (_currentframe != 109) {
gotoAndStop (109);
} else {
_root.menuz.credits.play();
}
}
Symbol 383 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 385 Button
on (release) {
play();
}
Instance of Symbol 405 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
}
Symbol 443 Button
on (release) {
getURL ("http://ansel.newgrounds.com", "_blank");
}
Symbol 445 Button
on (release) {
getURL ("http://parlormonkey.newgrounds.com", "_blank");
}
Symbol 446 MovieClip Frame 19
stop();
Symbol 446 MovieClip Frame 39
_root.menuz.gotoAndStop(35);
Symbol 447 MovieClip Frame 1
gotoAndPlay (17);
Symbol 447 MovieClip Frame 35
stop();
Symbol 447 MovieClip Frame 54
stop();
Symbol 447 MovieClip Frame 71
stop();
Symbol 447 MovieClip Frame 89
stop();
Symbol 447 MovieClip Frame 108
gotoAndStop (35);
Symbol 448 Button
on (release) {
gotoAndStop (5);
_root.game = 1;
_root.menuplay = false;
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 27
ladder = new Sound(_root.drillmc);
ladder.attachSound("click3");
ladder.start(0, 1);
ladder.setVolume(8);
Symbol 470 MovieClip Frame 36
stop();
Symbol 481 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 2
drill = new Sound(_root.drillmc);
drill.attachSound("drill");
drill.start(0, 1);
drill.setVolume(6);
_root.cam.black.play();
Symbol 481 MovieClip Frame 16
stop();
Symbol 481 MovieClip Frame 17
drill = new Sound(_root.drillmc);
drill.attachSound("drill2");
drill.start(0, 1);
drill.setVolume(6);
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 45
hiss2 = new Sound(_root.hissloopmc);
hiss2.attachSound("hiss2");
hiss2.start(0, 1);
hiss2.setVolume(30);
Symbol 513 MovieClip Frame 53
_root.beamstart = true;
_root.beamc = 10;
Symbol 513 MovieClip Frame 160
stop();
if (_root.p.cam == 3) {
_root.pl1 = true;
}
if (_root.p.cam == 4) {
_root.pl2 = true;
}
_root.cam.black.play();
Symbol 513 MovieClip Frame 263
_root.engstart = true;
_root.engvol = 20;
Symbol 513 MovieClip Frame 267
_root.beepstart = true;
Symbol 513 MovieClip Frame 300
_root.plboth = true;
_root.cam.black.play();
stop();
Symbol 518 MovieClip Frame 1
_root.int1.xx1 = 7;
_root.int1.xx2 = 7;
_root.int1.xx3 = 7;
_root.int1.xx4 = 7;
_root.int1.xx5 = 7;
_root.int1.xx6 = 7;
Instance of Symbol 164 MovieClip in Symbol 518 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.int1.x1.gotoAndStop(_root.int1.xx1);
_root.int1.x2.gotoAndStop(_root.int1.xx2);
_root.int1.x3.gotoAndStop(_root.int1.xx3);
_root.int1.x4.gotoAndStop(_root.int1.xx4);
_root.int1.x5.gotoAndStop(_root.int1.xx5);
_root.int1.x6.gotoAndStop(_root.int1.xx6);
if ((_root.p2c == true) && (_root.int1.xx1 == 7)) {
_root.int1.xx1 = Math.ceil(Math.random() * 6);
_root.int1.xx2 = Math.ceil(Math.random() * 6);
_root.int1.xx3 = Math.ceil(Math.random() * 6);
}
if ((_root.p5c == true) && (_root.int1.xx4 == 7)) {
_root.int1.xx4 = Math.ceil(Math.random() * 6);
_root.int1.xx5 = Math.ceil(Math.random() * 6);
_root.int1.xx6 = Math.ceil(Math.random() * 6);
}
}
Symbol 538 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 11
drill = new Sound(_root.drillmc);
drill.attachSound("drill2");
drill.start(0, 1);
drill.setVolume(8);
Symbol 538 MovieClip Frame 17
if ((_root.p1c == true) && (_root.o1 == false)) {
_root.o1 = true;
}
if ((_root.p4c == true) && (_root.o2 == false)) {
_root.o2 = true;
}
Symbol 538 MovieClip Frame 23
stop();
Symbol 543 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 27
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 2
drill = new Sound(_root.drillmc);
drill.attachSound("drill");
drill.start(0, 1);
drill.setVolume(10);
Symbol 585 MovieClip Frame 14
stop();
_root.hatch.swapDepths(36);
_root.hatchopen = true;
Symbol 585 MovieClip Frame 15
removeMovieClip(_root.p);
Symbol 585 MovieClip Frame 46
drill = new Sound(_root.drillmc);
drill.attachSound("drill2");
drill.start(0, 1);
drill.setVolume(10);
_root.hatch.swapDepths(11);
Symbol 585 MovieClip Frame 73
_root.game = 3;
_root.cam.black.play();
stop();
Symbol 589 MovieClip Frame 32
gotoAndPlay (6);
Symbol 635 MovieClip Frame 8
if (_root.p.walk == "plat1") {
if (Key.isDown(38)) {
gotoAndPlay (9);
_root.p._y = _root.p._y - 17.5;
} else {
gotoAndPlay (7);
}
}
if (_root.p.walk == "plat2") {
if (Key.isDown(38)) {
gotoAndPlay (9);
_root.p._y = _root.p._y + 17.5;
} else {
gotoAndPlay (7);
}
}
Symbol 635 MovieClip Frame 16
if (_root.p.walk == "plat1") {
if (Key.isDown(38)) {
gotoAndPlay (1);
_root.p._y = _root.p._y - 17.5;
} else {
gotoAndPlay (15);
}
}
if (_root.p.walk == "plat2") {
if (Key.isDown(38)) {
gotoAndPlay (1);
_root.p._y = _root.p._y + 17.5;
} else {
gotoAndPlay (15);
}
}
Symbol 642 MovieClip Frame 23
_root.p.stand = true;
_root.p.crouch = false;
Symbol 643 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 577
drill = new Sound(_root.drillmc);
drill.attachSound("drill");
drill.start(0, 1);
drill.setVolume(10);
Symbol 667 MovieClip Frame 625
drill = new Sound(_root.drillmc);
drill.attachSound("drill2");
drill.start(0, 1);
drill.setVolume(10);
Symbol 667 MovieClip Frame 654
stop();
Symbol 694 MovieClip Frame 823
_root.beepc = -0.13;
Symbol 694 MovieClip Frame 928
_root.beeploopmc.beeploop.stop();
_root.humloopmc.humloop.stop();
_root.musicloopmc.musicloop.stop();
_root.beamloopmc.beamloop.stop();
_root.hissloopmc.hissloop.stop();
Symbol 694 MovieClip Frame 1028
_root.gotoAndStop(1169);
_root.game = 0;
_root.bars = 2;