Frame 1
_root.changeroom = 0;
_root.talk = 0;
_root.spacebuck = 0;
_root.persona = false;
_root.personb = false;
_root.personc = false;
_root.persond = false;
_root.persone = false;
_root.p1 = false;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
_root.p6 = false;
_root.p7 = false;
_root.p8 = false;
_root.keya = false;
_root.keyb = false;
_root.keyc = false;
_root.keyd = false;
_root.keye = false;
_root.keyf = false;
_root.orbhave = false;
_root.ehealth = 100;
fscommand ("showmenu", "False");
Stage.showMenu = false;
fscommand ("showmenu", "False");
Stage.showMenu = false;
_root.per = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.bar._xscale = _root.per;
Math.round(per);
if (_root.per == 100) {
gotoAndStop (3);
}
Instance of Symbol 66 MovieClip "main" in Frame 1
onClipEvent (enterFrame) {
if (_root.hidere == true) {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
this._alpha = 0;
this._visible = false;
}
}
if (_root.hidere == false) {
this._visible = true;
this._alpha = this._alpha + 5;
if (this._alpha > 100) {
this._alpha = 100;
}
}
}
Frame 2
gotoAndPlay (1);
Frame 3
_root.changeroom = 0;
_root.screenslidealpha = 100;
_root.hidere = true;
Frame 4
_root.maze.walls._visible = 0;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 111 MovieClip "door" in Frame 4
onClipEvent (enterFrame) {
if (_root.door._currentframe == 1) {
if (_root.maze.walls._currentframe == 2) {
_root.maze.walls.play();
}
}
if (_root.door._currentframe == 6) {
if (_root.maze.walls._currentframe == 1) {
_root.maze.walls.play();
}
}
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.walls.play();
_root.door.Play();
}
}
}
Instance of Symbol 117 MovieClip "desk" in Frame 4
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.message._y = 100;
_root.message._x = 50;
_root.message.gotoAndPlay(7);
}
}
}
Instance of Symbol 121 MovieClip "bounas01" in Frame 4
onClipEvent (load) {
_root.mainbar.music.facers.gotoAndPlay(2);
}
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keya == false) {
_root.message._y = 100;
_root.message._x = 50;
_root.keya = 1;
_root.message.gotoAndPlay(2);
}
}
}
}
Instance of Symbol 123 MovieClip "change" in Frame 4
onClipEvent (enterFrame) {
if (_root.door._currentframe == 6) {
with (_root.square) {
if (_root.change.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 3;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (_root.change.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 3;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (_root.change.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 3;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (_root.change.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 3;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
}
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 128 MovieClip "maze" in Frame 4
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 655 MovieClip "square2" in Frame 4
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 759 MovieClip "mainbar" in Frame 4
onClipEvent (load) {
stopAllSounds();
MovieClip.stop();
_root.mainbar.music.son.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if ((((((((_root.p1 == true) & (_root.p2 == true)) & (_root.p3 == true)) & (_root.p4 == true)) & (_root.p5 == true)) & (_root.p6 == true)) & (_root.p7 == true)) & (_root.p8 == true)) {
_root.gotoAndStop(393);
}
}
Instance of Symbol 900 MovieClip "inventory" in Frame 4
onClipEvent (load) {
_root.keya = false;
_root.keyb = false;
_root.keyc = false;
_root.keyd = false;
_root.keye = false;
_root.keyf = false;
}
onClipEvent (enterFrame) {
if (_root.playerdisable == true) {
_root.square2.gotoAndStop(1);
_root.personnumber = 1;
}
if (_root.p1 == true) {
_root.mainbar.f.f.p1._visible = true;
_root.mainbar.f.f.bb1._visible = true;
} else {
_root.mainbar.f.f.p1._visible = false;
_root.mainbar.f.f.bb1._visible = false;
}
if (_root.p2 == true) {
_root.mainbar.f.f.p2._visible = true;
_root.mainbar.f.f.bb2._visible = true;
} else {
_root.mainbar.f.f.p2._visible = false;
_root.mainbar.f.f.bb2._visible = false;
}
if (_root.p3 == true) {
_root.mainbar.f.f.p3._visible = true;
_root.mainbar.f.f.bb3._visible = true;
} else {
_root.mainbar.f.f.p3._visible = false;
_root.mainbar.f.f.bb3._visible = false;
}
if (_root.p4 == true) {
_root.mainbar.f.f.p4._visible = true;
_root.mainbar.f.f.bb4._visible = true;
} else {
_root.mainbar.f.f.p4._visible = false;
_root.mainbar.f.f.bb4._visible = false;
}
if (_root.p5 == true) {
_root.mainbar.f.f.p5._visible = true;
_root.mainbar.f.f.bb5._visible = true;
} else {
_root.mainbar.f.f.p5._visible = false;
_root.mainbar.f.f.bb5._visible = false;
}
if (_root.p6 == true) {
_root.mainbar.f.f.p6._visible = true;
_root.mainbar.f.f.bb6._visible = true;
} else {
_root.mainbar.f.f.p6._visible = false;
_root.mainbar.f.f.bb6._visible = false;
}
if (_root.p7 == true) {
_root.mainbar.f.f.p7._visible = true;
_root.mainbar.f.f.bb7._visible = true;
} else {
_root.mainbar.f.f.p7._visible = false;
_root.mainbar.f.f.bb7._visible = false;
}
if (_root.p8 == true) {
_root.mainbar.f.f.p8._visible = true;
_root.mainbar.f.f.bb8_visible = true;
} else {
_root.mainbar.f.f.p8._visible = false;
_root.mainbar.f.f.bb8._visible = false;
}
if (_root.keyf == false) {
_root.inventory.key06._visible = 0;
} else {
_root.inventory.key06._visible = 1;
}
if (_root.keye == false) {
_root.inventory.key05._visible = 0;
} else {
_root.inventory.key05._visible = 1;
}
if (_root.keyd == false) {
_root.inventory.key04._visible = 0;
} else {
_root.inventory.key04._visible = 1;
}
if (_root.keyc == false) {
_root.inventory.key03._visible = 0;
} else {
_root.inventory.key03._visible = 1;
}
if (_root.keyb == false) {
_root.inventory.key02._visible = 0;
} else {
_root.inventory.key02._visible = 1;
}
if (_root.keya == false) {
_root.inventory.key01._visible = 0;
} else {
_root.inventory.key01._visible = 1;
}
}
Instance of Symbol 942 MovieClip "message" in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.message.gotoAndStop(1);
}
if (Key.isDown(37)) {
_root.message.gotoAndStop(1);
}
if (Key.isDown(40)) {
_root.message.gotoAndStop(1);
}
if (Key.isDown(38)) {
_root.message.gotoAndStop(1);
}
_root.onEnterFrame = function () {
stop();
};
if (_root.message._x < 0) {
_root.message._x = 0;
}
if (_root.message._x > 150) {
_root.message._x = 150;
}
if (_root.message._y < 0) {
_root.message._y = 0;
}
if (_root.message._y > 210) {
_root.message._y = 210;
}
}
Frame 5
gotoAndPlay (4);
Frame 6
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 987 MovieClip "maze" in Frame 6
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
_root.square2._y = _root.square2._y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
_root.square2._y = _root.square2._y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
_root.square2._x = _root.square2._x - yspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
_root.square2._x = _root.square2._x + yspeed;
}
yspeed = 5.8;
xspeed = 10;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 6
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_root.changeroom == 17) {
_root.square._y = 258;
_root.square._x = 166;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 4) {
_root.square._y = 170;
_root.square._x = 165;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 3) {
_root.square._y = 200;
_root.square._x = 357;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 1;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 6
onClipEvent (load) {
gotoAndStop(_root.personnumber);
yspeed = 5.8;
xspeed = 10;
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_y >= 300) {
_root.maze._y = _root.maze._y - yspeed;
_root.square._y = _root.square._y - yspeed;
_root.telle._y = _root.telle._y - yspeed;
}
if (_y <= 150) {
_root.maze._y = _root.maze._y + yspeed;
_root.square._y = _root.square._y + yspeed;
_root.telle._y = _root.telle._y + yspeed;
}
if (_x <= 100) {
_root.maze._x = _root.maze._x + xspeed;
_root.square._x = _root.square._x + xspeed;
_root.telle._x = _root.telle._x + xspeed;
}
if (_x >= 400) {
_root.maze._x = _root.maze._x - xspeed;
_root.square._x = _root.square._x - xspeed;
_root.telle._x = _root.telle._x - xspeed;
}
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 7
gotoAndPlay (6);
Frame 8
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 996 MovieClip "door" in Frame 8
onClipEvent (enterFrame) {
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.door.play();
_root.maze.walls.gotoAndStop(2);
}
}
}
Instance of Symbol 1000 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.message._y = 100;
_root.message._x = 50;
_root.message.gotoAndPlay(7);
}
}
}
Instance of Symbol 121 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.bounas01;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keya == 0) {
_root.message._y = 150;
_root.message._x = 200;
_root.keya = _root.keya + 1;
_root.message.gotoAndPlay(2);
}
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 8
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1006 MovieClip "maze" in Frame 8
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 8
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
onClipEvent (load) {
this._visible = false;
}
Frame 9
gotoAndPlay (8);
Frame 10
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 987 MovieClip "maze" in Frame 10
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
with (_root.square) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(40)) {
_y = _y + yspeed;
_root.square2._y = _root.square2._y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
_root.square2._y = _root.square2._y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
_root.square2._x = _root.square2._x - yspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
_root.square2._x = _root.square2._x + yspeed;
}
yspeed = 5.8;
xspeed = 10;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 10
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_root.changeroom == 4) {
_root.square._y = 129;
_root.square._x = 352;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 3) {
_root.square._y = 200;
_root.square._x = 300;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 1;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 10
onClipEvent (load) {
gotoAndStop(_root.personnumber);
yspeed = 5.8;
xspeed = 10;
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_y >= 300) {
_root.maze._y = _root.maze._y - yspeed;
_root.square._y = _root.square._y - yspeed;
_root.telle._y = _root.telle._y - yspeed;
}
if (_y <= 150) {
_root.maze._y = _root.maze._y + yspeed;
_root.square._y = _root.square._y + yspeed;
_root.telle._y = _root.telle._y + yspeed;
}
if (_x <= 100) {
_root.maze._x = _root.maze._x + xspeed;
_root.square._x = _root.square._x + xspeed;
_root.telle._x = _root.telle._x + xspeed;
}
if (_x >= 400) {
_root.maze._x = _root.maze._x - xspeed;
_root.square._x = _root.square._x - xspeed;
_root.telle._x = _root.telle._x - xspeed;
}
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 11
gotoAndPlay (10);
Frame 12
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 12
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_root.changeroom == 9) {
_root.square._y = 90;
_root.square._x = 170;
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
_root.square._y = 90;
_root.square._x = 170;
}
if (_root.changeroom == 8) {
_root.square._y = 90;
_root.square._x = 230;
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
_root.square._y = 90;
_root.square._x = 230;
}
if (_root.changeroom == 6) {
_root.screenslide._alpha = 100;
_root.square._y = 200;
_root.square._x = 390;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
_root.screenslide._alpha = 100;
}
if (_root.changeroom == 5) {
_root.screenslidealpha = 100;
_root.square._y = 230;
_root.square._x = 280;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.screenslidealpha = 100;
_root.square._y = 270;
_root.square._x = 130;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 1;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1022 MovieClip "maze" in Frame 12
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + xspeed;
}
}
}
Instance of Symbol 960 MovieClip "door" in Frame 12
onClipEvent (enterFrame) {
if (_root.door._currentframe == 1) {
if (_root.maze.walls._currentframe == 2) {
_root.maze.walls.play();
}
}
if (_root.door._currentframe == 6) {
if (_root.maze.walls._currentframe == 1) {
_root.maze.walls.play();
}
}
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.walls.play();
_root.door.Play();
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 12
onClipEvent (load) {
gotoAndStop(_root.personnumber);
speed = 10;
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 13
gotoAndPlay (12);
Frame 14
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 1;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1046 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keyd == false) {
_root.message._y = 100;
_root.message._x = 50;
_root.message.gotoAndPlay(5);
_root.keyd = 1;
}
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 14
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1053 MovieClip "maze" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Frame 15
gotoAndPlay (14);
Frame 16
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1075 MovieClip "maze" in Frame 16
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 16
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1072 MovieClip "bed" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keyb == 0) {
_root.p7 = true;
_root.cub.cub.play();
_root.bed.cub.play();
_root.message._y = 100;
_root.message._x = 50;
_root.message.gotoAndPlay(6);
}
}
}
}
Frame 17
gotoAndPlay (16);
Frame 18
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 18
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_root.changeroom == 5) {
_root.square._y = 230;
_root.square._x = 280;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.square._y = 270;
_root.square._x = 130;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1022 MovieClip "maze" in Frame 18
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + xspeed;
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 18
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 127 MovieClip "changerabc" in Frame 18
onClipEvent (enterFrame) {
_root.changerabc;
if (hittest(_root.square)) {
_root.gotoAndPlay.play(13);
}
}
Frame 19
gotoAndPlay (18);
Frame 20
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 20
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
}
Instance of Symbol 1081 MovieClip "guy" in Frame 20
onClipEvent (enterFrame) {
_root.guy.hitbox;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keyb == 0) {
_root.message._y = 100;
_root.message._x = 50;
_root.keyb = _root.keyb + 1;
_root.message.gotoAndPlay(3);
}
}
_root.guy.prizeforweed._visible = 1;
} else {
_root.guy.prizeforweed._visible = 0;
}
}
Instance of Symbol 1091 MovieClip "maze" in Frame 20
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 11.6;
xspeed = 20;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + xspeed;
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 20
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 21
gotoAndPlay (20);
Frame 22
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 22
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (_root.changeroom == 10) {
_root.square._y = 310;
_root.square._x = 50;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
}
}
onClipEvent (enterFrame) {
vanishingpiont = -200;
vanishingpiontscale = 2;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1102 MovieClip "maze" in Frame 22
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = (_root.square._y - 350) / 22;
xspeed = (_root.square._y - 350) / 22;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - (xspeed + 10);
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + (xspeed + 10);
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - (xspeed + 10);
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + (xspeed + 10);
}
}
}
Instance of Symbol 1116 MovieClip "door" in Frame 22
onClipEvent (enterFrame) {
if (_root.door._currentframe == 1) {
if (_root.maze.walls._currentframe == 2) {
_root.maze.walls.play();
}
}
if (_root.door._currentframe == 6) {
if (_root.maze.walls._currentframe == 1) {
_root.maze.walls.play();
}
}
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.walls.play();
_root.door.Play();
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 22
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1021 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(25);
}
}
Frame 23
gotoAndPlay (22);
Frame 24
_root.playerdisable = false;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1142 MovieClip "maze" in Frame 24
onClipEvent (enterFrame) {
yspeed = (_root.square._y + 10) / 50;
xspeed = (_root.square._y + 10) / 50;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - (xspeed + 10);
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + (xspeed + 10);
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - (xspeed + 10);
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + (xspeed + 10);
}
}
with (_root.square) {
if (_root.maze.level.hitTest(getbounds(_root).xmax, _y, true)) {
_root.maze.level._visible = 0;
_root.hou._visible = 1;
} else {
_root.maze.level._visible = 0;
_root.hou._visible = 0;
}
if (_root.maze.level.hitTest(getbounds(_root).xmin, _y, true)) {
_root.maze.level._visible = 0;
_root.hou._visible = 1;
} else {
_root.maze.level._visible = 0;
_root.hou._visible = 0;
}
if (_root.maze.level.hitTest(_x, getbounds(_root).ymax, true)) {
_root.maze.level._visible = 0;
_root.hou._visible = 1;
} else {
_root.maze.level._visible = 0;
_root.hou._visible = 0;
}
if (_root.maze.level.hitTest(_x, getbounds(_root).ymin, true)) {
_root.maze.level._visible = 0;
_root.hou._visible = 1;
} else {
_root.maze.level._visible = 0;
_root.hou._visible = 0;
}
}
}
Instance of Symbol 1224 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(79);
}
}
Instance of Symbol 1021 MovieClip "forest" in Frame 24
onClipEvent (enterFrame) {
if (hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(83);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 24
onClipEvent (load) {
this._visible = false;
if (_root.changeroom == 29) {
_root.square._x = 128;
_root.square._y = 249;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 30) {
_root.square._x = 432;
_root.square._y = 148;
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
vanishingpiont = 0;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1226 MovieClip in Frame 24
onClipEvent (enterFrame) {
_root.door;
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(43);
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 24
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 130 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._visible = false;
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(59);
_root.changeroom = 1;
}
}
Instance of Symbol 1021 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(51);
}
}
Frame 25
gotoAndPlay (24);
Frame 26
if (screenslide._alpha == 100) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1236 MovieClip "maze" in Frame 26
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 26
onClipEvent (load) {
this._visible = false;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
if (_root.changeroom == 11) {
_root.square._x = 400;
_root.square._y = 350;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
}
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
vanishingpiont = -200;
vanishingpiontscale = 2;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1116 MovieClip "door" in Frame 26
onClipEvent (enterFrame) {
if (_root.door._currentframe == 1) {
if (_root.maze.walls._currentframe == 2) {
_root.maze.walls.play();
}
}
if (_root.door._currentframe == 6) {
if (_root.maze.walls._currentframe == 1) {
_root.maze.walls.play();
}
}
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.walls.play();
_root.door.Play();
}
}
}
Frame 27
gotoAndPlay (26);
Frame 28
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1251 MovieClip "maze" in Frame 28
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 28
onClipEvent (load) {
if (_root.changeroom == 12) {
_root.square._y = 257;
_root.square._x = 374;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
}
this._visible = false;
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 960 MovieClip "door" in Frame 28
onClipEvent (enterFrame) {
if (_root.door._currentframe == 1) {
if (_root.maze.walls._currentframe == 2) {
_root.maze.walls.play();
}
}
if (_root.door._currentframe == 6) {
if (_root.maze.walls._currentframe == 1) {
_root.maze.walls.play();
}
}
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.walls.play();
_root.door.Play();
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 28
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 29
gotoAndPlay (28);
Frame 30
_root.playerdisable = false;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1294 MovieClip "maze" in Frame 30
onClipEvent (load) {
_root.maze.walls._visible = 0;
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(40)) {
_root.carpetB._y = _root.carpetB._y - yspeed;
_root.maze._y = _root.maze._y - yspeed;
_root.coutch._y = _root.coutch._y - yspeed;
_root.coutch2._y = _root.coutch2._y - yspeed;
_root.coutcha._y = _root.coutcha._y - yspeed;
_root.coutcha2._y = _root.coutcha2._y - yspeed;
_root.carpet._y = _root.carpet._y - yspeed;
}
if (Key.isDown(38)) {
_root.carpetB._y = _root.carpetB._y + yspeed;
_root.maze._y = _root.maze._y + yspeed;
_root.coutch._y = _root.coutch._y + yspeed;
_root.coutch2._y = _root.coutch2._y + yspeed;
_root.coutcha._y = _root.coutcha._y + yspeed;
_root.coutcha2._y = _root.coutcha2._y + yspeed;
_root.carpet._y = _root.carpet._y + yspeed;
}
if (Key.isDown(37)) {
_root.carpetB._x = _root.carpetB._x + xspeed;
_root.maze._x = _root.maze._x + xspeed;
_root.coutch._x = _root.coutch._x + xspeed;
_root.coutch2._x = _root.coutch2._x + xspeed;
_root.coutcha._x = _root.coutcha._x + xspeed;
_root.coutcha2._x = _root.coutcha2._x + xspeed;
_root.carpet._x = _root.carpet._x + xspeed;
}
if (Key.isDown(39)) {
_root.carpetB._x = _root.carpetB._x - xspeed;
_root.maze._x = _root.maze._x - xspeed;
_root.coutch._x = _root.coutch._x - xspeed;
_root.coutch2._x = _root.coutch2._x - xspeed;
_root.coutcha._x = _root.coutcha._x - xspeed;
_root.coutcha2._x = _root.coutcha2._x - xspeed;
_root.carpet._x = _root.carpet._x - xspeed;
}
with (_root.square) {
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_root.carpetB._x = _root.carpetB._x + xspeed;
_root.maze._x = _root.maze._x + xspeed;
_root.coutch._x = _root.coutch._x + xspeed;
_root.coutch2._x = _root.coutch2._x + xspeed;
_root.coutcha._x = _root.coutcha._x + xspeed;
_root.coutcha2._x = _root.coutcha2._x + xspeed;
_root.carpet._x = _root.carpet._x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_root.carpetB._x = _root.carpetB._x - xspeed;
_root.maze._x = _root.maze._x - xspeed;
_root.coutch._x = _root.coutch._x - xspeed;
_root.coutch2._x = _root.coutch2._x - xspeed;
_root.coutcha._x = _root.coutcha._x - xspeed;
_root.coutcha2._x = _root.coutcha2._x - xspeed;
_root.carpet._x = _root.carpet._x - xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_root.carpetB._y = _root.carpetB._y + yspeed;
_root.maze._y = _root.maze._y + yspeed;
_root.coutch._y = _root.coutch._y + yspeed;
_root.coutch2._y = _root.coutch2._y + yspeed;
_root.coutcha._y = _root.coutcha._y + yspeed;
_root.coutcha2._y = _root.coutcha2._y + yspeed;
_root.carpet._y = _root.carpet._y + yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_root.carpetB._y = _root.carpetB._y - yspeed;
_root.maze._y = _root.maze._y - yspeed;
_root.coutch._y = _root.coutch._y - yspeed;
_root.coutch2._y = _root.coutch2._y - yspeed;
_root.coutcha._y = _root.coutcha._y - yspeed;
_root.coutcha2._y = _root.coutcha2._y - yspeed;
_root.carpet._y = _root.carpet._y - yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 30
onClipEvent (load) {
this._visible = false;
_root.square._y = 150;
_root.square._x = 200;
}
onClipEvent (enterFrame) {
if (_root.changeroom == 3) {
_root.square._y = 275;
_root.square._x = 345;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 1;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.screenslide._alpha = 100;
_root.changeroom = 0;
}
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 655 MovieClip "square2" in Frame 30
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 31
gotoAndPlay (30);
Frame 32
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 996 MovieClip "door" in Frame 32
onClipEvent (enterFrame) {
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.door.play();
_root.maze.walls.gotoAndStop(2);
}
}
}
Instance of Symbol 1304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.message._y = 100;
_root.message._x = 50;
_root.message.gotoAndPlay(7);
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 32
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 655 MovieClip "square2" in Frame 32
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1308 MovieClip "maze" in Frame 32
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Frame 33
gotoAndPlay (32);
Frame 34
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 34
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1319 MovieClip "maze" in Frame 34
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Frame 35
gotoAndPlay (34);
Frame 36
_root.playerdisable = false;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1294 MovieClip "maze" in Frame 36
onClipEvent (load) {
_root.maze.walls._visible = 0;
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
if (Key.isDown(40)) {
_root.carpetB._y = _root.carpetB._y - yspeed;
_root.maze._y = _root.maze._y - yspeed;
_root.coutch._y = _root.coutch._y - yspeed;
_root.coutch2._y = _root.coutch2._y - yspeed;
_root.coutcha._y = _root.coutcha._y - yspeed;
_root.coutcha2._y = _root.coutcha2._y - yspeed;
_root.carpet._y = _root.carpet._y - yspeed;
}
if (Key.isDown(38)) {
_root.carpetB._y = _root.carpetB._y + yspeed;
_root.maze._y = _root.maze._y + yspeed;
_root.coutch._y = _root.coutch._y + yspeed;
_root.coutch2._y = _root.coutch2._y + yspeed;
_root.coutcha._y = _root.coutcha._y + yspeed;
_root.coutcha2._y = _root.coutcha2._y + yspeed;
_root.carpet._y = _root.carpet._y + yspeed;
}
if (Key.isDown(37)) {
_root.carpetB._x = _root.carpetB._x + xspeed;
_root.maze._x = _root.maze._x + xspeed;
_root.coutch._x = _root.coutch._x + xspeed;
_root.coutch2._x = _root.coutch2._x + xspeed;
_root.coutcha._x = _root.coutcha._x + xspeed;
_root.coutcha2._x = _root.coutcha2._x + xspeed;
_root.carpet._x = _root.carpet._x + xspeed;
}
if (Key.isDown(39)) {
_root.carpetB._x = _root.carpetB._x - xspeed;
_root.maze._x = _root.maze._x - xspeed;
_root.coutch._x = _root.coutch._x - xspeed;
_root.coutch2._x = _root.coutch2._x - xspeed;
_root.coutcha._x = _root.coutcha._x - xspeed;
_root.coutcha2._x = _root.coutcha2._x - xspeed;
_root.carpet._x = _root.carpet._x - xspeed;
}
with (_root.square) {
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_root.carpetB._x = _root.carpetB._x + xspeed;
_root.maze._x = _root.maze._x + xspeed;
_root.coutch._x = _root.coutch._x + xspeed;
_root.coutch2._x = _root.coutch2._x + xspeed;
_root.coutcha._x = _root.coutcha._x + xspeed;
_root.coutcha2._x = _root.coutcha2._x + xspeed;
_root.carpet._x = _root.carpet._x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_root.carpetB._x = _root.carpetB._x - xspeed;
_root.maze._x = _root.maze._x - xspeed;
_root.coutch._x = _root.coutch._x - xspeed;
_root.coutch2._x = _root.coutch2._x - xspeed;
_root.coutcha._x = _root.coutcha._x - xspeed;
_root.coutcha2._x = _root.coutcha2._x - xspeed;
_root.carpet._x = _root.carpet._x - xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_root.carpetB._y = _root.carpetB._y + yspeed;
_root.maze._y = _root.maze._y + yspeed;
_root.coutch._y = _root.coutch._y + yspeed;
_root.coutch2._y = _root.coutch2._y + yspeed;
_root.coutcha._y = _root.coutcha._y + yspeed;
_root.coutcha2._y = _root.coutcha2._y + yspeed;
_root.carpet._y = _root.carpet._y + yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_root.carpetB._y = _root.carpetB._y - yspeed;
_root.maze._y = _root.maze._y - yspeed;
_root.coutch._y = _root.coutch._y - yspeed;
_root.coutch2._y = _root.coutch2._y - yspeed;
_root.coutcha._y = _root.coutcha._y - yspeed;
_root.coutcha2._y = _root.coutcha2._y - yspeed;
_root.carpet._y = _root.carpet._y - yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 36
onClipEvent (load) {
this._visible = false;
if (_root.changeroom == 16) {
_root.square._x = 60;
_root.square._y = 0;
_root.square2.down._visible = 1;
_root.square2.left._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
if (_root.changeroom == 15) {
_root.square._y = 280;
_root.square._x = 130;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
}
Instance of Symbol 655 MovieClip "square2" in Frame 36
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 37
gotoAndPlay (36);
Frame 38
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 1;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 996 MovieClip "door" in Frame 38
onClipEvent (enterFrame) {
_root.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.door.play();
_root.maze.walls.gotoAndStop(2);
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 38
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 655 MovieClip "square2" in Frame 38
onClipEvent (enterFrame) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1337 MovieClip "maze" in Frame 38
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Frame 39
gotoAndPlay (38);
Frame 40
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 1;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1341 MovieClip "maze" in Frame 40
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Frame 41
gotoAndPlay (40);
Frame 42
stop();
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 100;
}
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 1;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1351 MovieClip "maze" in Frame 42
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
_root.square2._y = _root.square2._y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
_root.square2._y = _root.square2._y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
_root.square2._x = _root.square2._x - yspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
_root.square2._x = _root.square2._x + yspeed;
}
yspeed = 5.8;
xspeed = 10;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "AI12" in Frame 42
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
depthlayer = _root.AI12._y;
_root.AI12art.swapdepths(depthlayer);
removeMovieClip("AI12art");
removeMovieClip("AI13art");
removeMovieClip("square2");
_root.AI12art._y = _root.AI12._y;
_root.AI12art._x = _root.AI12._x;
stopingdistance = 50;
if (AIdirection == 4) {
_root.AI12art.left.Play();
_root.AI12art.left._visible = 1;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.left.gotoAndStop(1);
}
if (AIdirection == 5) {
_root.AI12art.right.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 1;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.right.gotoAndStop(1);
}
if (AIdirection == 1) {
_root.AI12art.down.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 1;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.down.gotoAndStop(1);
}
if (AIdirection == 3) {
_root.AI12art.downright.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 1;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.downright.gotoAndStop(1);
}
if (AIdirection == 2) {
_root.AI12art.downleft.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 1;
} else {
_root.AI12art.downleft.gotoAndStop(1);
}
if (AIdirection == 6) {
_root.AI12art.up.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 1;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.up.gotoAndStop(1);
}
if (AIdirection == 8) {
_root.AI12art.upright.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 0;
_root.AI12art.upright._visible = 1;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.upright.gotoAndStop(1);
}
if (AIdirection == 7) {
_root.AI12art.upleft.Play();
_root.AI12art.left._visible = 0;
_root.AI12art.down._visible = 0;
_root.AI12art.downright._visible = 0;
_root.AI12art.right._visible = 0;
_root.AI12art.up._visible = 0;
_root.AI12art.upleft._visible = 1;
_root.AI12art.upright._visible = 0;
_root.AI12art.downleft._visible = 0;
} else {
_root.AI12art.upleft.gotoAndStop(1);
}
if (AIdirection == 10) {
_root.AI12art.left.gotoAndStop(1);
_root.AI12art.down.gotoAndStop(1);
_root.AI12art.downright.gotoAndStop(1);
_root.AI12art.right.gotoAndStop(1);
_root.AI12art.up.gotoAndStop(1);
_root.AI12art.upleft.gotoAndStop(1);
_root.AI12art.upright.gotoAndStop(1);
_root.AI12art.downleft.gotoAndStop(1);
}
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.AI12art._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.AI12art._xscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.overlay._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.overlay._xscale = (_y + vanishingpiont) / vanishingpiontscale;
if (_root.AI12._y > (_root.square._y + stopingdistance)) {
AISTATE = 1;
} else if (_root.AI12._x > (_root.square._x + stopingdistance)) {
AISTATE = 1;
} else if (_root.AI12._y < (_root.square._y - stopingdistance)) {
AISTATE = 1;
} else if (_root.AI12._x < (_root.square._x - stopingdistance)) {
AISTATE = 1;
} else {
AISTATE = 5;
AIdirection = 10;
}
yspeed = 5.8;
xspeed = 10;
with (_root.AI12) {
if (AISTATE == 5) {
if (directionR > 2) {
direction = 2;
}
if (directionR < 0) {
direction = 0;
}
if (direction > 2) {
direction = 2;
}
if (direction < 0) {
direction = 0;
}
directionnumber = 25;
upanddownnumber = 12.5;
if (((_root.square._x - directionnumber) - upanddownnumber) > _root.AI12._x) {
directionR = 0.5;
direction = 1;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if (((_root.square._x + directionnumber) - upanddownnumber) < _root.AI12._x) {
directionR = 1.5;
direction = 1;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if ((_root.square._y - directionnumber) > _root.AI12._y) {
direction = 1.5;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._y - (directionnumber - upanddownnumber)) > _root.AI12._y) {
direction = 1.5;
directionR = 1;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._y + directionnumber) < _root.AI12._y) {
direction = 0.5;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._y + (directionnumber - upanddownnumber)) < _root.AI12._y) {
direction = 0.5;
directionR = 1;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._x - directionnumber) > _root.AI12._x) {
directionR = 0.5;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if ((_root.square._x + directionnumber) < _root.AI12._x) {
directionR = 1.5;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if (directionR == 1.5) {
if (direction == 1) {
AIdirection = 4;
AIdirectionstop = 10;
}
}
if (directionR == 0.5) {
if (direction == 1) {
AIdirection = 5;
AIdirectionstop = 10;
}
}
if (direction > 1.1) {
AIdirection = 1;
AIdirectionstop = 10;
if (directionR < 0.9) {
AIdirection = 3;
AIdirectionstop = 10;
}
if (directionR > 1.1) {
AIdirection = 2;
AIdirectionstop = 10;
}
}
if (direction < 0.9) {
AIdirection = 6;
AIdirectionstop = 10;
if (directionR > 1.1) {
AIdirection = 7;
AIdirectionstop = 10;
}
if (directionR < 0.9) {
AIdirection = 8;
AIdirectionstop = 10;
}
}
if (AIdirectionstop == 10) {
_root.AI12art.left.gotoAndStop(1);
_root.AI12art.down.gotoAndStop(1);
_root.AI12art.downright.gotoAndStop(1);
_root.AI12art.right.gotoAndStop(1);
_root.AI12art.up.gotoAndStop(1);
_root.AI12art.upleft.gotoAndStop(1);
_root.AI12art.upright.gotoAndStop(1);
_root.AI12art.downleft.gotoAndStop(1);
}
if (_root.AI122.hittest(getbounds(_root).xmax, _y, true)) {
directionR = 1.5;
}
if (_root.AI122.hittest(getbounds(_root).xmin, _y, true)) {
directionR = 0.5;
}
if (_root.AI122.hittest(_x, getbounds(_root).ymax, true)) {
direction = 0.5;
}
if (_root.AI122.hittest(_x, getbounds(_root).ymin, true)) {
direction = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
directionR = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
directionR = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
direction = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
direction = 1.5;
}
stopingdistance = 100;
if (_root.square._y > (_root.AI12._y + stopingdistance)) {
if (_root.square._y < (_root.AI12._y - stopingdistance)) {
direction = 1;
}
}
if (_root.square._x > (_root.AI12._x + stopingdistance)) {
if (_root.square._x < (_root.AI12._x - stopingdistance)) {
directionR = 1;
}
}
if (direction > 1.1) {
}
if (direction < 0.9) {
}
if (directionR > 1.1) {
}
if (directionR < 0.9) {
}
}
if (AISTATE == 1) {
yspeed = 5.8;
xspeed = 10;
if (directionR > 2) {
direction = 2;
}
if (directionR < 0) {
direction = 0;
}
if (direction > 2) {
direction = 2;
}
if (direction < 0) {
direction = 0;
}
directionnumber = 25;
upanddownnumber = 12.5;
if (((_root.square._x - directionnumber) - upanddownnumber) > _root.AI12._x) {
directionR = 0.5;
direction = 1;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if (((_root.square._x + directionnumber) - upanddownnumber) < _root.AI12._x) {
directionR = 1.5;
direction = 1;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if ((_root.square._y - directionnumber) > _root.AI12._y) {
direction = 1.5;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._y - (directionnumber - upanddownnumber)) > _root.AI12._y) {
direction = 1.5;
directionR = 1;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._y + directionnumber) < _root.AI12._y) {
direction = 0.5;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._y + (directionnumber - upanddownnumber)) < _root.AI12._y) {
direction = 0.5;
directionR = 1;
if (_root.square._y == _root.AI12._y) {
direction = 1;
}
}
if ((_root.square._x - directionnumber) > _root.AI12._x) {
directionR = 0.5;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if ((_root.square._x + directionnumber) < _root.AI12._x) {
directionR = 1.5;
if (_root.square._x == _root.AI12._x) {
directionR = 1;
}
}
if (directionR == 1.5) {
if (direction == 1) {
AIdirection = 4;
}
}
if (directionR == 0.5) {
if (direction == 1) {
AIdirection = 5;
}
}
if (direction > 1.1) {
AIdirection = 1;
if (directionR < 0.9) {
AIdirection = 3;
}
if (directionR > 1.1) {
AIdirection = 2;
}
}
if (direction < 0.9) {
AIdirection = 6;
if (directionR > 1.1) {
AIdirection = 7;
}
if (directionR < 0.9) {
AIdirection = 8;
}
}
if (_root.AI122.hittest(getbounds(_root).xmax, _y, true)) {
_x = _x - xspeed;
directionR = 1.5;
}
if (_root.AI122.hittest(getbounds(_root).xmin, _y, true)) {
_x = _x + xspeed;
directionR = 0.5;
}
if (_root.AI122.hittest(_x, getbounds(_root).ymax, true)) {
_y = _y - yspeed;
direction = 0.5;
}
if (_root.AI122.hittest(_x, getbounds(_root).ymin, true)) {
_y = _y + yspeed;
direction = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
directionR = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
directionR = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
direction = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
direction = 1.5;
}
stopingdistance = 100;
if (_root.square._y > (_root.AI12._y + stopingdistance)) {
if (_root.square._y < (_root.AI12._y - stopingdistance)) {
direction = 1;
}
}
if (_root.square._x > (_root.AI12._x + stopingdistance)) {
if (_root.square._x < (_root.AI12._x - stopingdistance)) {
directionR = 1;
}
}
if (direction > 1.1) {
_root.AI12._y = _root.AI12._y + yspeed;
}
if (direction < 0.9) {
_root.AI12._y = _root.AI12._y - yspeed;
}
if (directionR > 1.1) {
_root.AI12._x = _root.AI12._x - yspeed;
}
if (directionR < 0.9) {
_root.AI12._x = _root.AI12._x + yspeed;
}
}
}
if (_root.AI122.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - xspeed);
directionR = 1.5;
}
if (_root.AI122.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + xspeed);
directionR = 0.5;
}
if (_root.AI122.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - yspeed);
direction = 1.5;
}
if (_root.AI122.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + yspeed);
direction = 0.5;
}
if (_root.square.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - xspeed);
directionR = 1.5;
}
if (_root.square.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + xspeed);
directionR = 0.5;
}
if (_root.square.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - yspeed);
direction = 1.5;
}
if (_root.square.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + yspeed);
direction = 0.5;
}
}
Instance of Symbol 130 MovieClip "AI13" in Frame 42
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.AI13;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keyb == 1) {
_root.message.gotoAndPlay(8);
_root.keyb = 0;
_root.p2 = true;
}
}
}
depthlayer = _root.AI13._y;
_root.AI13art.swapdepths(depthlayer);
removeMovieClip("AI12art");
removeMovieClip("AI13art");
removeMovieClip("square2");
_root.AI13art._y = _root.AI13._y;
_root.AI13art._x = _root.AI13._x;
stopingdistance = 50;
if (AIdirection == 4) {
_root.AI13art.left.Play();
_root.AI13art.left._visible = 1;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.left.gotoAndStop(1);
}
if (AIdirection == 5) {
_root.AI13art.right.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 1;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.right.gotoAndStop(1);
}
if (AIdirection == 1) {
_root.AI13art.down.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 1;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.down.gotoAndStop(1);
}
if (AIdirection == 3) {
_root.AI13art.downright.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 1;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.downright.gotoAndStop(1);
}
if (AIdirection == 2) {
_root.AI13art.downleft.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 1;
} else {
_root.AI13art.downleft.gotoAndStop(1);
}
if (AIdirection == 6) {
_root.AI13art.up.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 1;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.up.gotoAndStop(1);
}
if (AIdirection == 8) {
_root.AI13art.upright.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 0;
_root.AI13art.upright._visible = 1;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.upright.gotoAndStop(1);
}
if (AIdirection == 7) {
_root.AI13art.upleft.Play();
_root.AI13art.left._visible = 0;
_root.AI13art.down._visible = 0;
_root.AI13art.downright._visible = 0;
_root.AI13art.right._visible = 0;
_root.AI13art.up._visible = 0;
_root.AI13art.upleft._visible = 1;
_root.AI13art.upright._visible = 0;
_root.AI13art.downleft._visible = 0;
} else {
_root.AI13art.upleft.gotoAndStop(1);
}
if (AIdirection == 10) {
_root.AI13art.left.gotoAndStop(1);
_root.AI13art.down.gotoAndStop(1);
_root.AI13art.downright.gotoAndStop(1);
_root.AI13art.right.gotoAndStop(1);
_root.AI13art.up.gotoAndStop(1);
_root.AI13art.upleft.gotoAndStop(1);
_root.AI13art.upright.gotoAndStop(1);
_root.AI13art.downleft.gotoAndStop(1);
}
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.AI13art._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.AI13art._xscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.overlay._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.overlay._xscale = (_y + vanishingpiont) / vanishingpiontscale;
if (_root.AI13._y > (_root.square._y + stopingdistance)) {
AISTATE = 1;
} else if (_root.AI13._x > (_root.square._x + stopingdistance)) {
AISTATE = 1;
} else if (_root.AI13._y < (_root.square._y - stopingdistance)) {
AISTATE = 1;
} else if (_root.AI13._x < (_root.square._x - stopingdistance)) {
AISTATE = 1;
} else {
AISTATE = 5;
AIdirection = 10;
}
yspeed = 5.8;
xspeed = 10;
if (_root.AI12.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - xspeed);
directionR = 1.5;
}
if (_root.AI12.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + xspeed);
directionR = 0.5;
}
if (_root.AI12.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - yspeed);
direction = 0.5;
}
if (_root.AI12.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + yspeed);
direction = 1.5;
}
stopingdistance = 100;
if (_root.square._y > (_root.AI13._y + stopingdistance)) {
if (_root.square._y < (_root.AI13._y - stopingdistance)) {
direction = 1;
}
}
if (_root.square._x > (_root.AI13._x + stopingdistance)) {
if (_root.square._x < (_root.AI13._x - stopingdistance)) {
directionR = 1;
}
}
with (_root.AI13) {
if (AISTATE == 5) {
if (directionR > 2) {
direction = 2;
}
if (directionR < 0) {
direction = 0;
}
if (direction > 2) {
direction = 2;
}
if (direction < 0) {
direction = 0;
}
directionnumber = 25;
upanddownnumber = 12.5;
if (((_root.square._x - directionnumber) - upanddownnumber) > _root.AI13._x) {
directionR = 0.5;
direction = 1;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if (((_root.square._x + directionnumber) - upanddownnumber) < _root.AI13._x) {
directionR = 1.5;
direction = 1;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if ((_root.square._y - directionnumber) > _root.AI13._y) {
direction = 1.5;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._y - (directionnumber - upanddownnumber)) > _root.AI13._y) {
direction = 1.5;
directionR = 1;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._y + directionnumber) < _root.AI13._y) {
direction = 0.5;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._y + (directionnumber - upanddownnumber)) < _root.AI13._y) {
direction = 0.5;
directionR = 1;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._x - directionnumber) > _root.AI13._x) {
directionR = 0.5;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if ((_root.square._x + directionnumber) < _root.AI13._x) {
directionR = 1.5;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if (directionR == 1.5) {
if (direction == 1) {
AIdirection = 4;
AIdirectionstop = 10;
}
}
if (directionR == 0.5) {
if (direction == 1) {
AIdirection = 5;
AIdirectionstop = 10;
}
}
if (direction > 1.1) {
AIdirection = 1;
AIdirectionstop = 10;
if (directionR < 0.9) {
AIdirection = 3;
AIdirectionstop = 10;
}
if (directionR > 1.1) {
AIdirection = 2;
AIdirectionstop = 10;
}
}
if (direction < 0.9) {
AIdirection = 6;
AIdirectionstop = 10;
if (directionR > 1.1) {
AIdirection = 7;
AIdirectionstop = 10;
}
if (directionR < 0.9) {
AIdirection = 8;
AIdirectionstop = 10;
}
}
if (AIdirectionstop == 10) {
_root.AI13art.left.gotoAndStop(1);
_root.AI13art.down.gotoAndStop(1);
_root.AI13art.downright.gotoAndStop(1);
_root.AI13art.right.gotoAndStop(1);
_root.AI13art.up.gotoAndStop(1);
_root.AI13art.upleft.gotoAndStop(1);
_root.AI13art.upright.gotoAndStop(1);
_root.AI13art.downleft.gotoAndStop(1);
}
if (_root.AI132.hittest(getbounds(_root).xmax, _y, true)) {
directionR = 1.5;
}
if (_root.AI132.hittest(getbounds(_root).xmin, _y, true)) {
directionR = 0.5;
}
if (_root.AI132.hittest(_x, getbounds(_root).ymax, true)) {
direction = 0.5;
}
if (_root.AI132.hittest(_x, getbounds(_root).ymin, true)) {
direction = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
directionR = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
directionR = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
direction = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
direction = 1.5;
}
stopingdistance = 100;
if (_root.square._y > (_root.AI13._y + stopingdistance)) {
if (_root.square._y < (_root.AI13._y - stopingdistance)) {
direction = 1;
}
}
if (_root.square._x > (_root.AI13._x + stopingdistance)) {
if (_root.square._x < (_root.AI13._x - stopingdistance)) {
directionR = 1;
}
}
if (direction > 1.1) {
}
if (direction < 0.9) {
}
if (directionR > 1.1) {
}
if (directionR < 0.9) {
}
}
if (AISTATE == 1) {
yspeed = 5.8;
xspeed = 10;
if (directionR > 2) {
direction = 2;
}
if (directionR < 0) {
direction = 0;
}
if (direction > 2) {
direction = 2;
}
if (direction < 0) {
direction = 0;
}
directionnumber = 25;
upanddownnumber = 12.5;
if (((_root.square._x - directionnumber) - upanddownnumber) > _root.AI13._x) {
directionR = 0.5;
direction = 1;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if (((_root.square._x + directionnumber) - upanddownnumber) < _root.AI13._x) {
directionR = 1.5;
direction = 1;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if ((_root.square._y - directionnumber) > _root.AI13._y) {
direction = 1.5;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._y - (directionnumber - upanddownnumber)) > _root.AI13._y) {
direction = 1.5;
directionR = 1;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._y + directionnumber) < _root.AI13._y) {
direction = 0.5;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._y + (directionnumber - upanddownnumber)) < _root.AI13._y) {
direction = 0.5;
directionR = 1;
if (_root.square._y == _root.AI13._y) {
direction = 1;
}
}
if ((_root.square._x - directionnumber) > _root.AI13._x) {
directionR = 0.5;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if ((_root.square._x + directionnumber) < _root.AI13._x) {
directionR = 1.5;
if (_root.square._x == _root.AI13._x) {
directionR = 1;
}
}
if (directionR == 1.5) {
if (direction == 1) {
AIdirection = 4;
}
}
if (directionR == 0.5) {
if (direction == 1) {
AIdirection = 5;
}
}
if (direction > 1.1) {
AIdirection = 1;
if (directionR < 0.9) {
AIdirection = 3;
}
if (directionR > 1.1) {
AIdirection = 2;
}
}
if (direction < 0.9) {
AIdirection = 6;
if (directionR > 1.1) {
AIdirection = 7;
}
if (directionR < 0.9) {
AIdirection = 8;
}
}
if (_root.AI132.hittest(getbounds(_root).xmax, _y, true)) {
_x = _x - xspeed;
directionR = 1.5;
}
if (_root.AI132.hittest(getbounds(_root).xmin, _y, true)) {
_x = _x + xspeed;
directionR = 0.5;
}
if (_root.AI132.hittest(_x, getbounds(_root).ymax, true)) {
_y = _y - yspeed;
direction = 0.5;
}
if (_root.AI132.hittest(_x, getbounds(_root).ymin, true)) {
_y = _y + yspeed;
direction = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
directionR = 1.5;
}
if (_root.maze.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
directionR = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
direction = 0.5;
}
if (_root.maze.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
direction = 1.5;
}
stopingdistance = 100;
if (_root.square._y > (_root.AI13._y + stopingdistance)) {
if (_root.square._y < (_root.AI13._y - stopingdistance)) {
direction = 1;
}
}
if (_root.square._x > (_root.AI13._x + stopingdistance)) {
if (_root.square._x < (_root.AI13._x - stopingdistance)) {
directionR = 1;
}
}
if (direction > 1.1) {
_root.AI13._y = _root.AI13._y + yspeed;
}
if (direction < 0.9) {
_root.AI13._y = _root.AI13._y - yspeed;
}
if (directionR > 1.1) {
_root.AI13._x = _root.AI13._x - yspeed;
}
if (directionR < 0.9) {
_root.AI13._x = _root.AI13._x + yspeed;
}
}
}
if (_root.AI132.hittest(getbounds(_root).xmax, _y, true)) {
_x = (_x - xspeed);
directionR = 1.5;
}
if (_root.AI132.hittest(getbounds(_root).xmin, _y, true)) {
_x = (_x + xspeed);
directionR = 0.5;
}
if (_root.AI132.hittest(_x, getbounds(_root).ymax, true)) {
_y = (_y - yspeed);
direction = 1.5;
}
if (_root.AI132.hittest(_x, getbounds(_root).ymin, true)) {
_y = (_y + yspeed);
direction = 0.5;
}
if (_root.square.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - xspeed);
directionR = 1.5;
}
if (_root.square.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + xspeed);
directionR = 0.5;
}
if (_root.square.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - yspeed);
direction = 1.5;
}
if (_root.square.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + yspeed);
direction = 0.5;
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 42
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
if (_y >= 350) {
_root.maze._y = _root.maze._y - yspeed;
_root.square._y = _root.square._y - yspeed;
}
if (_y <= 50) {
_root.maze._y = _root.maze._y + yspeed;
_root.square._y = _root.square._y + yspeed;
}
if (_x <= 50) {
_root.maze._x = _root.maze._x + xspeed;
_root.square._x = _root.square._x + xspeed;
}
if (_x >= 450) {
_root.maze._x = _root.maze._x - xspeed;
_root.square._x = _root.square._x - xspeed;
}
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 42
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
depthlayer = _root.square._y;
_root.square2.swapDepths(depthlayer);
removeMovieClip("AI12art");
removeMovieClip("AI13art");
removeMovieClip("square2");
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Frame 43
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
removeMovieClip("AI12art");
removeMovieClip("AI13art");
removeMovieClip("square2");
gotoAndPlay (42);
Frame 45
removeMovieClip("AI12art");
removeMovieClip("AI13art");
removeMovieClip("square2");
gotoAndPlay (25);
Frame 46
_root.playerdisable = false;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1412 MovieClip "maze" in Frame 46
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 46
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
if (_y >= 350) {
_root.maze._y = _root.maze._y - yspeed;
_root.square._y = _root.square._y - yspeed;
}
if (_y <= 50) {
_root.maze._y = _root.maze._y + yspeed;
_root.square._y = _root.square._y + yspeed;
}
if (_x <= 50) {
_root.maze._x = _root.maze._x + xspeed;
_root.square._x = _root.square._x + xspeed;
}
if (_x >= 450) {
_root.maze._x = _root.maze._x - xspeed;
_root.square._x = _root.square._x - xspeed;
}
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 46
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.changeroom == 23) {
_root.square._y = 300;
_root.square._x = 230;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.changeroom = 0;
}
vanishingpiont = 200;
vanishingpiontscale = 10;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Frame 47
gotoAndPlay (46);
Frame 48
_root.playerdisable = false;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1422 MovieClip "maze" in Frame 48
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(53);
}
}
Instance of Symbol 1021 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.changeroom = 23;
_root.gotoAndPlay(47);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 48
onClipEvent (load) {
this._visible = false;
if (_root.changeroom == 1) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2._x = 268;
_root.square2._y = 225;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 50;
_root.square._y = 232;
_root.changeroom = 0;
}
}
onClipEvent (enterFrame) {
vanishingpiont = 400;
vanishingpiontscale = 10;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 655 MovieClip "square2" in Frame 48
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 49
if (Key.isDown(13)) {
stop();
} else {
gotoAndPlay (48);
}
Frame 50
_root.playerdisable = false;
if (screenslide._alpha == 100) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1021 MovieClip "forest" in Frame 50
onClipEvent (enterFrame) {
_root.forest;
if (hittest(_root.square)) {
_root.gotoAndPlay(25);
_root.changeroom = 30;
}
}
Instance of Symbol 1433 MovieClip "maze" in Frame 50
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1021 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
gotoAndPlay (24);
_root.changeroom = 30;
}
}
Instance of Symbol 1451 MovieClip "guy" in Frame 50
onClipEvent (enterFrame) {
_root.guy.hitbox;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
if (_root.keyc == 0) {
_root.message._y = 100;
_root.message._x = 50;
_root.keyc = _root.keyc + 1;
_root.message.gotoAndPlay(4);
}
}
_root.guy.prizeforweed._visible = 1;
} else {
_root.guy.prizeforweed._visible = 0;
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 50
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Frame 51
gotoAndPlay (50);
Frame 52
_root.playerdisable = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1455 MovieClip "maze" in Frame 52
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 52
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.changeroom == 1) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 215;
_root.square._y = 270;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 190;
_root.square._y = 180;
_root.changeroom = 0;
}
vanishingpiont = 400;
vanishingpiontscale = 10;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1021 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
gotoAndPlay (24);
}
}
Instance of Symbol 655 MovieClip "square2" in Frame 52
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1021 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 2;
_root.screenslidealpha = 100;
_root.gotoAndPlay(49);
}
}
Instance of Symbol 1021 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(55);
}
}
Frame 53
gotoAndPlay (52);
Frame 54
_root.playerdisable = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1021 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 2;
_root.screenslidealpha = 100;
_root.gotoAndPlay(53);
}
}
Instance of Symbol 1021 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(57);
}
}
Instance of Symbol 1468 MovieClip "maze" in Frame 54
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 54
onClipEvent (enterFrame) {
if (_root.changeroom == 1) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 232;
_root.square._y = 290;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 100;
_root.square._y = 230;
_root.changeroom = 0;
}
vanishingpiont = 400;
vanishingpiontscale = 10;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Frame 55
gotoAndPlay (54);
Frame 56
_root.playerdisable = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1021 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 2;
_root.screenslidealpha = 100;
_root.gotoAndPlay(55);
}
}
Instance of Symbol 1482 MovieClip "maze" in Frame 56
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 56
onClipEvent (load) {
this._visible = false;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 241;
_root.square._y = 300;
}
Frame 57
gotoAndPlay (56);
Frame 58
_root.playerdisable = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1021 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(25);
}
}
Instance of Symbol 1021 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.gotoAndPlay(61);
_root.screenslidealpha = 100;
}
}
Instance of Symbol 1486 MovieClip "maze" in Frame 58
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 58
onClipEvent (enterFrame) {
this._visible = false;
if (_root.changeroom == 1) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2._x = 17;
_root.square2._y = 329;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.square2.right._visible = 0;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square._x = 298;
_root.square._y = 329;
_root.changeroom = 0;
}
}
Instance of Symbol 1021 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(25);
}
}
Frame 59
gotoAndPlay (58);
Frame 60
_root.personnumber = 1;
_root.playerdisable = true;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._alpha = 0;
screenslide._visible = 0;
}
Instance of Symbol 1476 MovieClip "powersphare" in Frame 60
onClipEvent (enterFrame) {
if (_root.orbhave == true) {
_root.powersphare._visible = 1;
_root.powersphare.sound.play();
} else {
_root.powersphare._visible = 0;
_root.powersphare.sound.stop();
}
if (this._visible == false) {
stop();
} else {
play();
}
}
Instance of Symbol 130 MovieClip "pad" in Frame 60
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.keye == true) {
if (Key.isDown(13)) {
_root.powersphare._visible = 1;
_root.orbhave = true;
}
}
}
Instance of Symbol 1507 MovieClip "maze" in Frame 60
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 2;
_root.screenslidealpha = 100;
_root.gotoAndPlay(59);
}
}
Instance of Symbol 130 MovieClip in Frame 60
onClipEvent (enterFrame) {
this._visible = 0;
if (hittest(_root.square)) {
_root.Stop();
if (Key.isDown(13)) {
_root.gotoAndStop(140);
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 60
onClipEvent (load) {
this._visible = 0;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Frame 61
if (Key.isDown(13)) {
stop();
} else {
gotoAndPlay (60);
}
Frame 62
_root.personnumber = 1;
_root.playerdisable = true;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 1021 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.changeroom = 2;
_root.screenslidealpha = 100;
_root.gotoAndPlay(55);
}
}
Instance of Symbol 1511 MovieClip "maze" in Frame 62
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(65);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 62
onClipEvent (load) {
this._visible = 0;
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Frame 63
gotoAndPlay (62);
Frame 64
_root.personnumber = 1;
_root.playerdisable = true;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 1516 MovieClip "maze" in Frame 64
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 64
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(63);
}
}
Instance of Symbol 1021 MovieClip "th" in Frame 64
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.Stop();
_root.gotoAndStop(143);
}
}
Instance of Symbol 130 MovieClip "square" in Frame 64
onClipEvent (load) {
this._visible = 0;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Frame 65
if (_root.th.hitTest(_root.square)) {
stop();
} else {
gotoAndPlay (64);
}
Frame 66
_root.playerdisable = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 66
onClipEvent (load) {
this._visible = 0;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Instance of Symbol 655 MovieClip "square2" in Frame 66
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1532 MovieClip "maze" in Frame 66
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 66
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(25);
_root.changeroom = 30;
}
}
Frame 67
gotoAndPlay (66);
Frame 68
_root.inventory._visible = 0;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 1577 MovieClip "mon" in Frame 68
onClipEvent (load) {
decay = 0;
_root.monfire = false;
_root.monhitfire = false;
}
onClipEvent (enterFrame) {
if (_root.personnumber == 6) {
if (_root.square2.fireup._visible == true) {
if ((_root.square._x > 150) && (_root.square._x < 250)) {
_root.ehealth = _root.ehealth - 25;
}
}
}
_root.mon.eye._x = -17 + (_root.square._x / 100);
decay++;
if ((decay > 10) && (decay < 19)) {
_root.monfire = true;
}
this._y = Math.sin(decay) + 150;
if (decay > 20) {
_root.mon.gotoAndPlay(21);
_root.monfire = true;
decay = 0;
}
}
Instance of Symbol 130 MovieClip "square" in Frame 68
onClipEvent (load) {
this._visible = 0;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mon.zap)) {
_root.health = _root.health - 2;
}
}
Instance of Symbol 1583 MovieClip "maze" in Frame 68
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1585 MovieClip in Frame 68
onClipEvent (load) {
_root.health = 100;
}
onClipEvent (enterFrame) {
this._xscale = _root.health;
while (_root.health <= 0) {
_root.gotoAndPlay(31);
_root.health = 100;
}
}
Instance of Symbol 1585 MovieClip in Frame 68
onClipEvent (load) {
_root.ehealth = 100;
}
onClipEvent (enterFrame) {
this._xscale = _root.ehealth;
while (_root.ehealth <= 0) {
_root.mon.gotoAndStop(29);
_root.Stop();
_root.gotoAndStop(145);
_root.ehealth = 100;
}
}
Frame 69
if (_root.ehealth <= 0) {
stop();
} else {
gotoAndPlay (68);
}
Frame 70
_root.playerdisable = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 70
onClipEvent (load) {
this._visible = 0;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 1;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Instance of Symbol 1604 MovieClip "maze" in Frame 70
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(73);
}
}
Frame 71
gotoAndPlay (70);
Frame 72
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 1609 MovieClip "maze" in Frame 72
onClipEvent (load) {
yspeed = 5.8;
xspeed = 10;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 72
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(71);
}
}
Frame 73
gotoAndPlay (72);
Frame 74
_root.personnumber = 1;
_root.playerdisable = true;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "hitbox" in Frame 74
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.square)) {
if (Key.isDown(13)) {
_root.Stop();
_root.gotoAndStop(147);
}
}
}
Instance of Symbol 130 MovieClip "square" in Frame 74
onClipEvent (load) {
this._visible = false;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Instance of Symbol 1614 MovieClip "maze" in Frame 74
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 123 MovieClip "change1" in Frame 74
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (this.hitTest(getBounds(_root).xMax, _y, true)) {
_root.gotoAndPlay(37);
_root.changeroom = 16;
_root.screenslidealpha = 100;
}
if (this.hitTest(getBounds(_root).xMin, _y, true)) {
_root.gotoAndPlay(37);
_root.changeroom = 16;
_root.screenslidealpha = 100;
}
if (this.hitTest(_x, getBounds(_root).yMax, true)) {
_root.gotoAndPlay(37);
_root.changeroom = 16;
_root.screenslidealpha = 100;
}
if (this.hitTest(_x, getBounds(_root).yMin, true)) {
_root.gotoAndPlay(37);
_root.changeroom = 16;
_root.screenslidealpha = 100;
}
}
}
Frame 75
if (Key.isDown(13)) {
stop();
} else {
gotoAndPlay (74);
}
Frame 76
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.square.gotoAndStop(1);
_root.decaym = 1;
_root.healthc = 100;
_root.healthb = 100;
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 1627 MovieClip "fireup" in Frame 76
onClipEvent (enterFrame) {
if (this._visible == true) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1648 MovieClip "square" in Frame 76
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
gotoAndPlay (2);
}
if (Key.isDown(37)) {
gotoAndStop (7);
}
if (Key.isDown(40)) {
gotoAndStop (1);
}
}
Instance of Symbol 1655 MovieClip "firedown" in Frame 76
onClipEvent (enterFrame) {
if (this._visible == true) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1662 MovieClip "bscore" in Frame 76
onClipEvent (load) {
_root.ehealthcc = 100;
_root.ehealthbb = 100;
_root.talk = 1;
}
onClipEvent (enterFrame) {
_root.bscore.you._xscale = _root.ehealthbb;
_root.bscore.enimy._xscale = _root.ehealthcc;
if (_root.ehealthbb <= 0) {
_root.talk = 1;
_root.gotoAndPlay(65);
}
if (_root.ehealthcc <= 0) {
_root.talk = 2;
_root.persone = true;
_root.gotoAndPlay(65);
}
}
Instance of Symbol 1676 MovieClip "fireb" in Frame 76
onClipEvent (enterFrame) {
if (this._visible == true) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1697 MovieClip "laser" in Frame 76
onClipEvent (load) {
_root.decaym = 1;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
play();
} else {
gotoAndStop (1);
}
if (_root.decaym >= 1) {
if (_root.fireup.up.hitTest(_root.square)) {
_root.ehealthbb = _root.ehealthbb - 1;
}
_root.fireup.play();
_root.fireup._visible = true;
_root.laser._visible = false;
_root.fireb._visible = false;
_root.firedown._visible = false;
}
if (_root.decaym > 4) {
if (_root.firedown.up.hitTest(_root.square)) {
_root.ehealthbb = _root.ehealthbb - 2;
}
_root.firedown.play();
_root.firedown._visible = true;
_root.laser._visible = false;
_root.fireb._visible = false;
_root.fireup._visible = false;
}
if (_root.decaym > 5) {
if (_root.laser.upb.hitTest(_root.square)) {
_root.ehealthbb = _root.ehealthbb - 5;
}
if (_root.laser.up.hitTest(_root.square)) {
_root.ehealthbb = _root.ehealthbb - 5;
}
_root.laser.play();
_root.laser._visible = true;
_root.fireb._visible = false;
_root.firedown._visible = false;
_root.fireup._visible = false;
}
if (_root.decaym > 6) {
if (_root.fireb.up.hitTest(_root.square)) {
_root.ehealthbb = _root.ehealthbb - 6;
}
_root.fireb.play();
_root.fireb._visible = true;
_root.laser._visible = false;
_root.firedown._visible = false;
_root.fireup._visible = false;
}
if (_root.decaym > 7) {
_root.decaym = 1;
}
}
Frame 77
gotoAndPlay (76);
Frame 78
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.square.gotoAndStop(1);
_root.decaym = 1;
_root.healthc = 100;
_root.healthb = 100;
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 78
onClipEvent (load) {
this._visible = false;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
onClipEvent (enterFrame) {
vanishingpiont = 80;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 655 MovieClip "square2" in Frame 78
onClipEvent (load) {
gotoAndStop(_root.personnumber);
}
onClipEvent (enterFrame) {
_root.square2._y = _root.square._y;
_root.square2._x = _root.square._x;
if (Key.isDown(37)) {
if (Key.isDown(37)) {
_root.square2.left.Play();
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.left.gotoAndStop(1);
}
if (Key.isDown(39)) {
if (Key.isDown(39)) {
_root.square2.right.Play();
_root.square2.right._visible = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
} else {
_root.square2.right.gotoAndStop(1);
}
if (Key.isDown(40)) {
if (Key.isDown(40)) {
_root.square2.down.Play();
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.downright.Play();
_root.square2.downright._visible = 1;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.downleft.Play();
_root.square2.downleft._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (Key.isDown(38)) {
_root.square2.up.Play();
_root.square2.up._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(39)) {
_root.square2.upright.Play();
_root.square2.upright._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.downleft._visible = 0;
_root.square2.left._visible = 0;
}
if (Key.isDown(37)) {
_root.square2.upleft.Play();
_root.square2.upleft._visible = 1;
_root.square2.downleft._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.down._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.left._visible = 0;
}
} else {
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
}
}
Instance of Symbol 1703 MovieClip "maze" in Frame 78
onClipEvent (enterFrame) {
vanishingpiont = 60;
yspeed = 5.8 + (this._y / vanishingpiont);
xspeed = 10 + (this._y / vanishingpiont);
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 78
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.changeroom = 29;
_root.gotoAndPlay(25);
}
}
Instance of Symbol 1021 MovieClip in Frame 78
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(81);
_root.changeroom = 1;
}
}
Frame 79
gotoAndPlay (78);
Frame 80
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.square.gotoAndStop(1);
_root.decaym = 1;
_root.healthc = 100;
_root.healthb = 100;
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 80
onClipEvent (load) {
if (_root.changeroom == 1) {
this._x = 225;
this._y = 292;
_root.changeroom = 0;
}
if (_root.changeroom == 2) {
_root.square._x = 345;
_root.square._y = 186;
_root.changeroom = 0;
}
this._visible = false;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1712 MovieClip "maze" in Frame 80
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(25);
}
}
Instance of Symbol 1021 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(79);
}
}
Frame 81
gotoAndPlay (80);
_root.score = 0;
Frame 82
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.square.gotoAndStop(1);
_root.decaym = 1;
_root.healthc = 100;
_root.healthb = 100;
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 130 MovieClip "square" in Frame 82
onClipEvent (load) {
this._visible = false;
_root.square2.left._visible = 0;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 1;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
onClipEvent (enterFrame) {
vanishingpiont = 200;
vanishingpiontscale = 7;
_root.square2._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.square2._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
Instance of Symbol 1721 MovieClip "walls" in Frame 82
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (this.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (this.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (this.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - yspeed;
}
if (this.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + yspeed;
}
}
}
Instance of Symbol 1021 MovieClip "forest" in Frame 82
onClipEvent (enterFrame) {
if (this.hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(25);
}
}
Frame 83
gotoAndPlay (82);
Frame 85
gotoAndPlay (84);
Frame 86
stop();
_root.inventory._visible = false;
if (screenslide._alpha < 0) {
screenslide._alpha = 0;
}
screenslide._alpha = _root.screenslidealpha;
if (screenslide._alpha > 0) {
_root.square.gotoAndStop(1);
_root.decaym = 1;
_root.healthc = 100;
_root.healthb = 100;
_root.screenslidealpha = _root.screenslidealpha - 10;
}
if (screenslide._alpha == 0) {
screenslide._visible = 0;
} else {
screenslide._visible = 1;
}
if (Key.isDown(13)) {
screenslide._visible = 0;
}
Instance of Symbol 1753 MovieClip "robot" in Frame 86
onClipEvent (load) {
_root.amo = 100;
}
onClipEvent (enterFrame) {
if (_root.score > 300000) {
_root.gotoAndPlay(100);
_root.p5 = true;
Mouse.show();
_root.changeroom = 2;
removeMovieClip("mar");
removeMovieClip("babe");
removeMovieClip("fish");
removeMovieClip("squid");
removeMovieClip("shark");
removeMovieClip("kiwi");
removeMovieClip("mon");
removeMovieClip("sword");
removeMovieClip("robot");
}
this.swapDepths(this._y);
removeMovieClip("mar");
removeMovieClip("babe");
removeMovieClip("fish");
removeMovieClip("squid");
removeMovieClip("shark");
removeMovieClip("kiwi");
removeMovieClip("mon");
removeMovieClip("sword");
this.onMouseDown = function () {
_root.amo = _root.amo - 1;
};
_root.thing = Math.round(_xmouse / 27.5) + 10;
gotoAndStop(_root.thing);
}
Instance of Symbol 1767 MovieClip "sword" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 21) {
_root.score = _root.score + (_root.score * 0.2);
_root.score = Math.round(_root.score);
gotoAndPlay (21);
}
}
};
this.swapdepths(this._y);
if (this._currentframe == 20) {
this._y = Math.random() * 300;
this._x = Math.random() * 400;
}
}
Instance of Symbol 1774 MovieClip "shark" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 5) {
_root.score = _root.score + 5;
gotoAndPlay (5);
}
}
};
this.swapDepths(this._y);
this._x = this._x + -20;
if (this._x >= 550) {
this._y = Math.random() * 300;
}
if (this._x < 0) {
this._x = 1000;
}
}
Instance of Symbol 1784 MovieClip "squid" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 2) {
_root.score = _root.score + 2;
gotoAndPlay (9);
}
}
};
depthlayer = this._y;
this.swapDepths(depthlayer);
this._x = this._x + -4;
if (this._x >= 550) {
this._y = Math.random() * 300;
}
if (this._x < 0) {
this._x = 1000;
}
}
Instance of Symbol 1793 MovieClip "kiwi" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
_root.score = _root.score + -25;
gotoAndPlay (7);
}
};
this.swapDepths(this._y);
this._x = this._x + -5;
if (this._x >= 550) {
this._y = Math.random() * 300;
}
if (this._x < 0) {
this._x = 560;
}
}
Instance of Symbol 1801 MovieClip "fish" in Frame 86
onClipEvent (enterFrame) {
this.swapDepths(this._y);
this._x = this._x + -10;
if (this._x >= 550) {
this._y = Math.random() * 300;
}
if (this._x < 0) {
this._x = 560;
}
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 7) {
_root.score = _root.score + 5;
gotoAndPlay (7);
}
}
};
}
Instance of Symbol 1816 MovieClip "mon" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 32) {
gotoAndPlay (32);
_root.score = _root.score + 50;
}
}
};
this.swapDepths(this._y);
if (this._currentframe == 30) {
this._y = Math.random() * 300;
this._x = Math.random() * 400;
}
}
Instance of Symbol 1818 MovieClip in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
gotoAndPlay (2);
};
}
Instance of Symbol 1847 MovieClip "mar" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 56) {
_root.amo = _root.amo + 25;
_root.score = _root.score + (_root.score * 0.1);
_root.score = Math.round(_root.score);
gotoAndPlay (56);
}
}
};
this.swapDepths(this._y);
if (this._currentframe == 55) {
this._y = Math.random() * 300;
this._x = Math.random() * 400;
}
}
Instance of Symbol 1863 MovieClip "babe" in Frame 86
onClipEvent (enterFrame) {
this.onMouseDown = function () {
if (this.hitTest(_root.mc)) {
if (this._currentframe <= 2) {
_root.score = _root.score + 2;
gotoAndPlay (2);
}
}
};
this.swapDepths(this._y);
this._x = this._x + -20;
if (this._x >= 550) {
this._y = Math.random() * 300;
}
if (this._x < 0) {
this._x = 700;
}
}
Instance of Symbol 1865 MovieClip "mc" in Frame 86
onClipEvent (enterFrame) {
Mouse.hide();
startDrag (this, true);
}
Frame 87
gotoAndPlay (86);
Frame 88
_root.reload = 16;
_root.fireing = 0;
_root.lasers = 1;
_root.leveld = 1;
_root.changelevel = 0;
_root.health = 100;
_root.screenslide._alpha = 0;
_root.inventory._visible = 0;
stop();
Instance of Symbol 1872 MovieClip "b" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
_root.thing.arm.gotoAndStop(3);
this.gotoAndStop(2);
_root.thing.gotoAndPlay(38 - _root.thing._currentframe);
}
}
Instance of Symbol 1874 MovieClip "f" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
this.gotoAndStop(2);
_root.thing.arm.gotoAndStop(4);
_root.thing.gotoAndPlay(37 - _root.thing._currentframe);
}
}
Instance of Symbol 1876 MovieClip "m" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
_root.thing.arm.gotoAndStop(2);
this.gotoAndStop(2);
_root.thing.gotoAndPlay(38 - _root.thing._currentframe);
}
}
Instance of Symbol 1878 MovieClip "D" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
_root.thing.arm.gotoAndStop(6);
this.gotoAndStop(2);
_root.thing.gotoAndPlay(38 - _root.thing._currentframe);
}
}
Instance of Symbol 1880 MovieClip "e" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
this.gotoAndStop(2);
_root.thing.arm.gotoAndStop(7);
_root.thing.gotoAndPlay(38 - _root.thing._currentframe);
}
}
Instance of Symbol 1882 MovieClip "l" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
_root.thing.arm.gotoAndStop(5);
this.gotoAndStop(2);
_root.thing.gotoAndPlay(38 - _root.thing._currentframe);
}
}
Instance of Symbol 1884 MovieClip "s" in Frame 88
onClipEvent (enterFrame) {
if (this.hitTest(_root.thing.arm)) {
this.gotoAndStop(2);
_root.thing.arm.gotoAndStop(8);
_root.thing.gotoAndPlay(38 - _root.thing._currentframe);
}
}
Frame 89
stop();
Instance of Symbol 1937 MovieClip "thingmainship" in Frame 89
onClipEvent (load) {
_root.morehealth = 1;
_root.damagemultiplyer = 1;
numbfr = 10;
frames = 20;
i = (1 + _currentframe) - 1;
bomb = false;
bombactivater = false;
_root.bombs = 3;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.spaceee.bombb)) {
_root.healthb = _root.healthb - 20;
}
if (Key.isDown(40)) {
if (_root.bombs > 0) {
if (bombactivater == false) {
_root.bombs = _root.bombs - 1;
_root.bomb._x = this._x;
_root.bomb._y = this._y;
bombactivater = true;
}
}
}
if (bombactivater == true) {
_root.bomb._y = _root.bomb._y + -3;
_root.bomb._x = _root.bomb._x + Math.sin(_root.bomb._y);
_root.bomb._rotation = _root.bomb._rotation + 10;
if (_root.bomb._y < 50) {
_root.bomb.play();
bombactivater = false;
}
}
if (Key.isDown(38)) {
if (_root.fireing == 0) {
_root.fireing = 1;
}
}
if (_root.fireing == 1) {
_root.fireing = 2;
if (_root.lasers >= 1) {
_root.fire.gotoAndPlay(2);
_root.fire._x = this._x;
if (_root.lasers >= 2) {
_root.firel.gotoAndPlay(2);
_root.firel._x = this._x + 20;
if (_root.lasers >= 3) {
_root.firer.gotoAndPlay(2);
_root.firer._x = this._x - 20;
}
}
}
}
if (_root.fireing == 2) {
if (_root.fire._currentframe > _root.reload) {
_root.fireing = false;
_root.fire._x = -100;
_root.firel._x = -100;
_root.firer._x = -100;
_root.fire.gotoAndStop(1);
}
}
this.gun.gotoAndStop(numbfr);
_x = (_x + acelerar);
acelerar = acelerar * 0.85;
if (numbfr == frames) {
numbfr = frames - 1;
}
if (numbfr == 0) {
numbfr = 1;
}
if (Key.isDown(32)) {
this.play();
}
if (Key.isDown(37)) {
acelerar = -10;
numbfr = numbfr - 1;
} else if (numbfr < 10) {
numbfr = numbfr + 1;
}
if (Key.isDown(39)) {
acelerar = 10;
numbfr = numbfr + 1;
} else if (numbfr > 10) {
numbfr = numbfr - 1;
}
if (this._x < 0) {
this._x = 1;
}
if (this._x > 500) {
this._x = 499;
}
}
Instance of Symbol 1872 MovieClip "b" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
_root.thingmainship.arm.gotoAndStop(3);
this.gotoAndStop(2);
_root.thingmainship.gotoAndPlay(38 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1874 MovieClip "f" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
this.gotoAndStop(2);
_root.thingmainship.arm.gotoAndStop(4);
_root.thingmainship.gotoAndPlay(37 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1876 MovieClip "m" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
_root.thingmainship.arm.gotoAndStop(2);
this.gotoAndStop(2);
_root.thingmainship.gotoAndPlay(38 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1878 MovieClip "D" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
_root.thingmainship.arm.gotoAndStop(6);
this.gotoAndStop(2);
_root.thingmainship.gotoAndPlay(38 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1880 MovieClip "e" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
this.gotoAndStop(2);
_root.thingmainship.arm.gotoAndStop(7);
_root.thingmainship.gotoAndPlay(38 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1882 MovieClip "l" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
_root.thingmainship.arm.gotoAndStop(5);
this.gotoAndStop(2);
_root.thingmainship.gotoAndPlay(38 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1884 MovieClip "s" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.thingmainship.arm)) {
this.gotoAndStop(2);
_root.thingmainship.arm.gotoAndStop(8);
_root.thingmainship.gotoAndPlay(38 - _root.thingmainship._currentframe);
}
}
Instance of Symbol 1585 MovieClip in Frame 89
onClipEvent (load) {
_root.healthb = 100;
}
onClipEvent (enterFrame) {
while (_root.healthb <= 0) {
_root.gotoAndPlay(97);
}
while (i < 10) {
duplicateMovieClip (_root.spaceee, "mc" + i, i);
setProperty("mc" + i, _x , random(500));
setProperty("mc" + i, _y , random(400));
i++;
}
if (_root.changelevelb > 10) {
_root.play();
_root.changelevelb = 0;
i = 0;
_root.bomb._x = -1000;
_root.bomb._y = -1000;
_root.bomb.gotoAndStop(1);
}
this._xscale = _root.health;
_root.damage = 1;
}
Instance of Symbol 1965 MovieClip "spaceee" in Frame 89
onClipEvent (load) {
chance = 10;
BOUNUSNAME = _root.f;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 20;
health = 100;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.bomb)) {
health = health - 1000;
}
this.white._visible = false;
this.white._alpha = health;
if (this._currentframe < 19) {
if (health <= 0) {
_root.changelevelb++;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
gotoAndPlay (21);
AI = 3;
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - (_root.damage / _root.morehealth);
}
distanceapart = this._x - _root.thingmainship._x;
speed = 10 + Math.random(4);
if (AI == 0) {
if ((distanceapart > -50) && (distanceapart < 50)) {
AI = 2;
}
this._x = this._x + (Math.sin(this._y) * speed);
this._y = this._y + (Math.sin(this._x) * speed);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
if (AI == 2) {
play();
if (this._currentframe == endingframe) {
AI = 0;
}
}
} else {
removeMovieClip(this);
gotoAndStop (29);
}
}
Frame 90
stop();
Instance of Symbol 1974 MovieClip "spaceee" in Frame 90
onClipEvent (load) {
chance = 20;
BOUNUSNAME = _root.e;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 20;
health = 200;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.bomb)) {
health = health - 1000;
}
speed = 8 + Math.random(2);
this.white._visible = false;
this.white._alpha = health;
if (this._currentframe < 19) {
if (health <= 0) {
_root.changelevelb++;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
gotoAndPlay (21);
AI = 3;
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - (_root.damage / _root.morehealth);
}
distanceapart = this._x - _root.thingmainship._x;
if (AI == 0) {
if ((distanceapart > -50) && (distanceapart < 50)) {
AI = 2;
}
this._x = this._x + (Math.sin(this._x) * speed);
this._y = this._y + (Math.sin(this._y) * speed);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
if (AI == 2) {
play();
if (this._currentframe == endingframe) {
AI = 0;
}
}
} else {
gotoAndStop (29);
removeMovieClip(this);
}
}
Frame 91
stop();
Instance of Symbol 1980 MovieClip "spaceee" in Frame 91
onClipEvent (load) {
chance = 40;
BOUNUSNAME = _root.b;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 20;
health = 1000;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.bomb)) {
health = health - 1000;
}
this.white._visible = false;
this.white._alpha = health;
if (this._currentframe < 19) {
if (health <= 0) {
_root.changelevelb++;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
gotoAndPlay (21);
AI = 3;
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - (_root.damage / _root.morehealth);
}
distanceapart = this._x - _root.thingmainship._x;
speed = 2 + Math.random(1);
if (AI == 0) {
if ((distanceapart > -50) && (distanceapart < 50)) {
AI = 2;
}
this._x = this._x + (Math.sin(this._y) * speed);
this._y = this._y + (Math.sin(this._x) * speed);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
if (AI == 2) {
play();
if (this._currentframe == endingframe) {
AI = 0;
}
}
} else {
gotoAndStop (29);
removeMovieClip(this);
}
}
Frame 92
stop();
Instance of Symbol 1990 MovieClip "spaceee" in Frame 92
onClipEvent (load) {
chance = 10;
BOUNUSNAME = _root.d;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 20;
health = 20;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.bomb)) {
health = health - 1000;
}
this.white._visible = false;
this.white._alpha = health;
if (this._currentframe < 19) {
if (health <= 0) {
_root.changelevelb++;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
gotoAndPlay (21);
AI = 3;
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - (_root.damage / _root.morehealth);
}
distanceapart = this._x - _root.thingmainship._x;
speed = 200 + Math.random(1);
if (AI == 0) {
if ((distanceapart > -50) && (distanceapart < 50)) {
AI = 2;
}
this._x = this._x + (Math.sin(this._y * speed) * 10);
this._y = this._y + (Math.sin(this._x * speed) * 10);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
if (AI == 2) {
play();
if (this._currentframe == endingframe) {
AI = 0;
}
}
} else {
removeMovieClip(this);
gotoAndStop (10);
}
}
Frame 93
stop();
Instance of Symbol 1995 MovieClip "spaceee" in Frame 93
onClipEvent (load) {
chance = 50;
BOUNUSNAME = _root.l;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 2;
health = 1000;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.bomb)) {
health = health - 1000;
}
this.white._visible = false;
this.white._alpha = health;
if (health <= 0) {
_root.changelevelb++;
gotoAndPlay (3);
AI = 3;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - (_root.damage / _root.morehealth);
}
if (this.bombb._y > 250) {
this.bombb.play();
}
distanceapart = this._x - _root.thingmainship._x;
if ((distanceapart > -100) && (distanceapart < 100)) {
AI = 2;
this.bombb._y = this.bombb._y - -3;
this.bombb._x = this.bombb._x - Math.sin(_root.bomb._y);
} else {
AI = 0;
}
if (AI == 0) {
speed = 200 + Math.random(1);
this.bombb._y = 0;
this.bombb._x = 0;
this._x = this._x + (Math.sin(this._y * speed) * 10);
this._y = this._y + (Math.sin(this._x * speed) * 10);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
} else {
removeMovieClip(this);
gotoAndStop (10);
}
}
Frame 94
stop();
Instance of Symbol 1585 MovieClip in Frame 94
onClipEvent (load) {
_root.changelevelb = 0;
}
onClipEvent (enterFrame) {
while (_root.health <= 0) {
_root.gotoAndPlay(97);
}
while (i < 10) {
duplicateMovieClip (_root.spaceee, "mc" + i, i);
setProperty("mc" + i, _x , random(500));
setProperty("mc" + i, _y , random(400));
i++;
}
if (_root.changelevelb >= 12) {
_root.gotoAndPlay(95);
i = 0;
_root.leveld++;
_root.changelevelb = 0;
}
this._xscale = _root.health;
_root.damage = 1;
}
Instance of Symbol 2004 MovieClip in Frame 94
onClipEvent (load) {
chance = 100;
BOUNUSNAME = _root.l;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 20;
health = 2000;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.thing)) {
health - 100;
}
this.white._visible = false;
this.white._alpha = health;
if (this._currentframe < 19) {
if (health <= 0) {
_root.changelevelb++;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
gotoAndPlay (21);
AI = 3;
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - _root.damage;
}
distanceapart = this._x - _root.thingmainship._x;
speed = 3 + Math.random(4);
if (AI == 0) {
if ((distanceapart > -50) && (distanceapart < 50)) {
AI = 2;
}
this._x = this._x + (Math.sin(this._y) * speed);
this._y = this._y + (Math.sin(this._x) * speed);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
if (AI == 2) {
play();
if (this._currentframe == endingframe) {
AI = 0;
}
}
} else {
removeMovieClip(this);
gotoAndStop (29);
}
}
Instance of Symbol 1965 MovieClip "spaceee" in Frame 94
onClipEvent (load) {
chance = 10;
BOUNUSNAME = _root.s;
AI = 0;
ymin = 150;
xmin = 400;
endingframe = 20;
health = 100;
}
onClipEvent (enterFrame) {
if ((_root._currentframe >= 89) && (_root._currentframe <= 94)) {
if (this.hitTest(_root.bomb)) {
health = health - 1000;
}
this.white._visible = false;
this.white._alpha = health;
if (this._currentframe < 19) {
if (health <= 0) {
_root.changelevelb++;
if ((Math.random(1) * 100) < chance) {
BOUNUSNAME._y = this._y;
BOUNUSNAME._x = this._x;
BOUNUSNAME.gotoAndStop(1);
}
gotoAndPlay (21);
AI = 3;
}
}
if (_root.fireing == 2) {
if (_root.firer.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.firel.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
if (_root.fire.hitTest(this)) {
this.white._visible = true;
health = health - (10 * _root.damagemultiplyer);
}
}
if (this.laser.hitTest(_root.thingmainship)) {
_root.health = _root.health - (_root.damage / _root.morehealth);
}
distanceapart = this._x - _root.thingmainship._x;
speed = 10 + Math.random(4);
if (AI == 0) {
if ((distanceapart > -50) && (distanceapart < 50)) {
AI = 2;
}
this._x = this._x + (Math.sin(this._y) * speed);
this._y = this._y + (Math.sin(this._x) * speed);
if (this._y < 0) {
AI = 1;
}
if (this._x < 0) {
AI = 1;
}
if (this._x > 550) {
AI = 1;
}
if (this._y > 200) {
AI = 1;
}
}
if (AI == 1) {
if (this._y < 0) {
this._y = this._y + 100;
}
if (this._x < 0) {
this._x = this._x + 100;
}
if (this._x > xmin) {
this._x = this._x - 100;
}
if (this._y > ymin) {
this._y = this._y - 100;
}
if ((((this._x > 0) && (this._x < xmin)) && (this._y > 0)) && (this._y < ymin)) {
AI = 0;
}
}
if (AI == 2) {
play();
if (this._currentframe == endingframe) {
AI = 0;
}
}
} else {
removeMovieClip(this);
gotoAndStop (29);
}
}
Frame 95
_root.spacebuck = _root.spacebuck + 1;
Frame 96
stop();
_root.p6 = true;
Frame 97
stop();
removeMovieClip("md1");
removeMovieClip("md2");
removeMovieClip("md3");
removeMovieClip("md4");
removeMovieClip("md5");
removeMovieClip("md6");
removeMovieClip("md7");
removeMovieClip("md8");
removeMovieClip("md9");
removeMovieClip("md10");
removeMovieClip("md11");
removeMovieClip("md12");
_root.changelevel = 0;
_root.leveld = 1;
_root.damage = 0;
_root.health = 100;
_root.reload = 16;
_root.lasers = 1;
_root.fireing = 0;
_root.bombs = 0;
_root.morehealth = 0;
Frame 98
gotoAndPlay (49);
Frame 100
removeMovieClip("mar");
removeMovieClip("babe");
removeMovieClip("fish");
removeMovieClip("squid");
removeMovieClip("shark");
removeMovieClip("kiwi");
removeMovieClip("mon");
removeMovieClip("sword");
removeMovieClip("robot");
_root.changeroom = 2;
gotoAndPlay (81);
Frame 103
gotoAndPlay (102);
Frame 105
gotoAndPlay (104);
Frame 140
stop();
screenslide._alpha = 0;
Frame 141
stop();
Frame 142
gotoAndPlay (63);
Frame 143
stop();
Frame 144
gotoAndPlay (67);
Frame 145
stop();
_root.p8 = true;
Frame 146
gotoAndPlay (31);
Frame 147
stop();
Frame 148
gotoAndPlay (73);
Frame 149
screenslide._alpha = 0;
Frame 167
play();
Frame 168
play();
play();
Instance of Symbol 2128 MovieClip in Frame 168
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndPlay(388);
}
}
Frame 169
play();
Frame 170
play();
Frame 171
play();
Frame 172
play();
Frame 173
play();
Frame 174
play();
Frame 175
play();
play();
Frame 176
play();
Frame 177
play();
Frame 178
play();
Frame 179
play();
Frame 180
play();
Frame 181
play();
Frame 182
play();
Frame 183
play();
Frame 184
play();
Frame 185
play();
Frame 186
play();
Frame 187
play();
Frame 188
play();
Frame 189
play();
Frame 190
play();
Frame 191
play();
Frame 192
play();
Frame 193
play();
Frame 194
play();
Frame 195
play();
Frame 196
play();
Frame 197
play();
Frame 198
play();
Frame 199
play();
Frame 200
play();
Frame 201
play();
Frame 202
play();
Frame 203
play();
Frame 204
play();
Frame 205
play();
Frame 206
play();
Frame 207
play();
Frame 208
play();
Frame 209
play();
Frame 210
play();
Frame 211
play();
Frame 212
play();
Frame 213
play();
Frame 214
play();
Frame 215
play();
Frame 216
play();
Frame 217
play();
Frame 218
play();
Frame 219
play();
Frame 220
play();
Frame 221
play();
Frame 222
play();
Frame 223
play();
Frame 224
play();
Frame 225
play();
Frame 226
play();
Frame 227
play();
Frame 228
play();
Frame 229
play();
Frame 230
play();
Frame 231
play();
Frame 232
play();
Frame 233
play();
Frame 234
play();
Frame 235
play();
Frame 236
play();
Frame 237
play();
Frame 238
play();
Frame 239
play();
Frame 240
play();
Frame 241
play();
Frame 242
play();
Frame 243
play();
Frame 244
play();
Frame 245
play();
Frame 246
play();
Frame 247
play();
Frame 248
play();
Frame 249
play();
Frame 250
play();
Frame 251
play();
Frame 252
play();
Frame 253
play();
Frame 254
play();
Frame 255
play();
Frame 256
play();
Frame 257
play();
Frame 258
play();
Frame 259
play();
Frame 260
play();
Frame 261
play();
Frame 262
play();
Frame 263
play();
Frame 264
play();
Frame 265
play();
Frame 266
play();
Frame 267
play();
Frame 268
play();
Frame 269
play();
Frame 270
play();
Frame 271
play();
Frame 272
play();
Frame 273
play();
Frame 274
play();
Frame 275
play();
Frame 276
play();
Frame 277
play();
Frame 278
play();
Frame 279
play();
Frame 280
play();
Frame 281
play();
Frame 282
play();
Frame 283
play();
Frame 284
play();
Frame 285
play();
Frame 286
play();
Frame 287
play();
Frame 288
play();
Frame 289
play();
Frame 290
play();
Frame 291
play();
Frame 292
play();
Frame 293
play();
Frame 294
play();
Frame 295
play();
Frame 296
play();
Frame 297
play();
Frame 298
play();
Frame 299
play();
Frame 300
play();
Frame 301
play();
Frame 302
play();
Frame 303
play();
Frame 304
play();
Frame 305
play();
Frame 306
play();
Frame 307
play();
Frame 308
play();
Frame 309
play();
Frame 310
play();
Frame 311
play();
Frame 312
play();
Frame 313
play();
Frame 314
play();
Frame 315
play();
Frame 316
play();
Frame 317
play();
Frame 318
play();
Frame 319
play();
Frame 320
play();
Frame 321
play();
Frame 322
play();
Frame 323
play();
Frame 324
play();
Frame 325
play();
Frame 326
play();
Frame 327
play();
Frame 328
play();
Frame 329
play();
Frame 330
play();
Frame 331
play();
Frame 332
play();
Frame 333
play();
Frame 334
play();
Frame 335
play();
Frame 336
play();
Frame 337
play();
Frame 338
play();
Frame 339
play();
Frame 340
play();
Frame 341
play();
Frame 342
play();
Frame 343
play();
Frame 344
play();
Frame 345
play();
Frame 346
play();
Frame 347
play();
Frame 348
play();
Frame 349
play();
Frame 350
play();
Frame 351
play();
Frame 352
play();
Frame 353
play();
Frame 354
play();
Frame 355
play();
Frame 356
play();
Frame 357
play();
Frame 358
play();
Frame 359
play();
Frame 360
play();
Frame 361
play();
Frame 362
play();
Frame 363
play();
Frame 364
play();
Frame 365
play();
Frame 366
play();
Frame 367
play();
Frame 368
play();
Frame 369
play();
Frame 370
play();
Frame 371
play();
Frame 372
play();
Frame 373
play();
Frame 374
play();
Frame 375
play();
Frame 376
play();
Frame 377
play();
Frame 378
play();
Frame 379
play();
Frame 380
play();
Frame 381
play();
Frame 382
play();
Frame 383
play();
Frame 384
play();
Frame 385
play();
Frame 386
play();
Frame 387
play();
play();
Frame 388
stop();
Instance of Symbol 2220 MovieClip in Frame 388
onClipEvent (load) {
thime = 0;
}
onClipEvent (enterFrame) {
thime++;
if (Key.isDown(32)) {
if (thime > 15) {
_root.cencored = true;
_root.gotoAndPlay(5);
}
}
}
Frame 389
stop();
Frame 390
stop();
stopAllSounds();
MovieClip.stop();
Frame 391
stop();
Frame 392
stop();
Frame 393
stop();
Instance of Symbol 2329 MovieClip in Frame 393
onClipEvent (enterFrame) {
this._rotation = this._rotation + 12;
}
Symbol 13 Button [close]
on (release) {
gotoAndStop (1);
}
Symbol 24 Button
on (release) {
_root.hidere = false;
_root.starterbutton._visible = false;
}
Symbol 38 Button
on (release) {
_root.started = true;
_root.main.start._visible = true;
_root.main.stoped._visible = false;
}
Symbol 41 Button
on (release) {
_root.started = false;
_root.main.stoped._visible = true;
_root.main.start._visible = false;
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
play();
Symbol 51 Button
on (release) {
gotoAndStop (1);
}
Symbol 55 Button
on (release) {
gotoAndStop (2);
}
Symbol 56 Button
on (release) {
_root.hidere = true;
_root.starterbutton._visible = true;
}
Symbol 58 Button
on (release) {
_root.started = true;
_root.main.startscoree = 0;
_root.startrest = false;
_root.main.box._x = 11.5;
_root.main.box._y = 186;
}
Symbol 62 Button
on (release) {
gotoAndStop (2);
}
Symbol 64 Button
on (release) {
gotoAndStop (3);
}
Symbol 66 MovieClip Frame 1
stop();
Instance of Symbol 27 MovieClip "slider" in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x + 15;
if (hitTest(_root.main.r)) {
this._x = this._x - 20;
}
}
if (Key.isDown(37)) {
this._x = this._x - 15;
if (hitTest(_root.main.l)) {
this._x = this._x + 20;
}
}
}
Instance of Symbol 29 MovieClip "box" in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
_root.main.stoped._visible = false;
yspeed = 10;
xspeed = 10;
_root.startlevel = 10;
_root.main.startlevel = 0;
_root.main.startscoree = 0;
}
onClipEvent (enterFrame) {
if (_root.started == false) {
this._y = this._y + (yspeed + _root.main.startlevel);
this._x = this._x + (xspeed + _root.main.startlevel);
if (hitTest(_root.main.slider)) {
yspeed = -_root.startlevel;
xspeed = (this._x - _root.main.slider._x) - 8;
}
if (hitTest(_root.main.b)) {
_root.main.startscoree = _root.main.startscoree - 1;
yspeed = -_root.startlevel;
}
if (hitTest(_root.main.t)) {
yspeed = _root.startlevel;
}
if (hitTest(_root.main.r)) {
xspeed = -_root.startlevel;
}
if (hitTest(_root.main.l)) {
xspeed = _root.startlevel;
}
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Instance of Symbol 43 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.box)) {
_root.main.startlevel = _root.main.startlevel + 0.05;
_root.main.startscoree = _root.main.startscoree + 1;
gotoAndStop (2);
}
}
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 93 Button
on (release) {
gotoAndPlay (149);
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 6
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
stop();
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 128 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 8
gotoAndPlay (2);
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 8
gotoAndPlay (2);
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 8
gotoAndPlay (2);
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 8
gotoAndPlay (2);
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 8
gotoAndPlay (2);
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 8
gotoAndPlay (2);
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 8
gotoAndPlay (2);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 8
gotoAndPlay (2);
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 5
gotoAndPlay (2);
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 5
gotoAndPlay (2);
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 5
gotoAndPlay (2);
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 5
gotoAndPlay (2);
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 5
gotoAndPlay (2);
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 5
gotoAndPlay (2);
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 5
gotoAndPlay (2);
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 5
gotoAndPlay (2);
Symbol 310 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 5
gotoAndPlay (2);
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 5
gotoAndPlay (2);
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 5
gotoAndPlay (2);
Symbol 412 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 5
gotoAndPlay (2);
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 5
gotoAndPlay (2);
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 5
gotoAndPlay (2);
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 5
gotoAndPlay (2);
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 5
gotoAndPlay (2);
Symbol 456 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 5
gotoAndPlay (2);
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 5
gotoAndPlay (2);
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 5
gotoAndPlay (2);
Symbol 480 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 5
gotoAndPlay (2);
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 5
gotoAndPlay (2);
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 5
gotoAndPlay (2);
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 5
gotoAndPlay (2);
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 5
gotoAndPlay (2);
Symbol 655 MovieClip Frame 1
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 217 MovieClip "down" in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Symbol 655 MovieClip Frame 2
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 293 MovieClip "down" in Symbol 655 MovieClip Frame 2
onClipEvent (load) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Symbol 655 MovieClip Frame 3
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 367 MovieClip "down" in Symbol 655 MovieClip Frame 3
onClipEvent (load) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Symbol 655 MovieClip Frame 4
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 443 MovieClip "down" in Symbol 655 MovieClip Frame 4
onClipEvent (load) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Symbol 655 MovieClip Frame 5
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 511 MovieClip "down" in Symbol 655 MovieClip Frame 5
onClipEvent (load) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Symbol 655 MovieClip Frame 6
stop();
_root.square2.fireup._visible = false;
_root.square2.fireup.gotoAndStop(1);
_root.square2.firedown._visible = false;
_root.square2.firedown.gotoAndStop(1);
_root.square2.firel._visible = false;
_root.square2.firel.gotoAndStop(1);
_root.square2.firer._visible = false;
_root.square2.firer.gotoAndStop(1);
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 621 MovieClip "down" in Symbol 655 MovieClip Frame 6
onClipEvent (load) {
_root.square2.left._visible = 1;
_root.square2.down._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
Instance of Symbol 654 MovieClip "fireup" in Symbol 655 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
smi = 0;
if (((_root.square2.left._visible == true) | (_root.square2.upleft._visible == true)) | (_root.square2.downleft._visible == true)) {
_root.square2.firel._visible = true;
_root.square2.firel.play();
}
if (((_root.square2.right._visible == true) | (_root.square2.upright._visible == true)) | (_root.square2.downright._visible == true)) {
_root.square2.firer._visible = true;
_root.square2.firer.play();
}
if (_root.square2.up._visible == true) {
_root.square2.fireup._visible = true;
_root.square2.fireup.play();
}
if (_root.square2.down._visible == true) {
_root.square2.firedown._visible = true;
_root.square2.firedown.play();
}
this.play();
_root.square2.left._visible = false;
_root.square2.right._visible = false;
_root.square2.up._visible = false;
_root.square2.upright._visible = false;
_root.square2.upleft._visible = false;
_root.square2.down._visible = false;
_root.square2.downleft._visible = false;
_root.square2.downright._visible = false;
} else {
if (smi == 0) {
if (_root.square2.fireup._visible == true) {
_root.square2.up._visible = true;
}
if (_root.square2.firedown._visible == true) {
_root.square2.down._visible = true;
}
if (_root.square2.firel._visible == true) {
_root.square2.left._visible = true;
}
if (_root.square2.firer._visible == true) {
_root.square2.right._visible = true;
}
}
smi = 1;
_root.square2.firel.stop();
_root.square2.firer.stop();
_root.square2.fireup.stop();
_root.square2.firedown.stop();
_root.square2.firedown._visible = false;
_root.square2.fireup._visible = false;
_root.square2.firer._visible = false;
_root.square2.firel._visible = false;
this.stop();
}
}
Symbol 663 Button
on (release) {
_quality = "low";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(9);
}
Symbol 666 Button
on (release) {
getURL ("http://web.1asphost.com/torl/index.html", _top);
}
on (rollOver) {
_root.inventory.help.gotoAndStop(8);
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 673 Button
on (release) {
_quality = "medium";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(10);
}
Symbol 677 Button
on (release) {
_quality = "high";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(11);
}
Symbol 694 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 2
stop();
Symbol 694 MovieClip Frame 3
stop();
Symbol 694 MovieClip Frame 4
stop();
Symbol 694 MovieClip Frame 5
stop();
Symbol 697 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(15);
play();
if (_root.mainbar.ppl._currentframe == 5) {
_root.mainbar.ppl.play();
}
}
Symbol 698 Button
on (rollOver) {
_root.mainbar.music.facers.gotoAndStop(2);
}
on (release) {
stopAllSounds();
MovieClip.stop();
this.son.gotoAndStop(2);
}
Symbol 699 Button
on (rollOver) {
_root.mainbar.music.facers.gotoAndStop(3);
}
on (release) {
stopAllSounds();
MovieClip.stop();
this.son.gotoAndStop(3);
}
Symbol 700 Button
on (rollOver) {
_root.mainbar.music.facers.gotoAndStop(4);
}
on (release) {
stopAllSounds();
MovieClip.stop();
this.son.gotoAndStop(4);
}
Symbol 701 Button
on (rollOver) {
_root.mainbar.music.facers.gotoAndStop(5);
}
on (release) {
stopAllSounds();
MovieClip.stop();
this.son.gotoAndStop(5);
}
Symbol 702 Button
on (rollOver) {
_root.mainbar.music.facers.gotoAndStop(1);
}
on (release) {
stopAllSounds();
MovieClip.stop();
this.son.gotoAndStop(1);
}
Symbol 709 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 2
stop();
Symbol 709 MovieClip Frame 3
stop();
Symbol 709 MovieClip Frame 4
stop();
Symbol 709 MovieClip Frame 5
stop();
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 5
stop();
Symbol 712 Button
on (release) {
_root.square2.gotoAndStop(6);
}
Symbol 714 Button
on (release) {
_root.square2.gotoAndStop(6);
}
Symbol 716 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(16);
if (_root.playerdisable == true) {
_root.personnumber = 1;
} else {
play();
_root.mainbar.ppl.icon.gotoAndStop(1);
}
if (_root.mainbar.music._currentframe == 5) {
_root.mainbar.music.play();
}
}
Symbol 717 Button
on (rollOver) {
if (_root.persona == true) {
_root.mainbar.ppl.icon.gotoAndStop(6);
}
}
on (release) {
if (_root.persona == true) {
_root.personnumber = 2;
_root.square2.gotoAndStop(2);
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
}
Symbol 718 Button
on (rollOver) {
if (_root.personb == true) {
_root.mainbar.ppl.icon.gotoAndStop(4);
}
}
on (release) {
if (_root.personb == true) {
_root.personnumber = 3;
_root.square2.gotoAndStop(3);
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
}
Symbol 719 Button
on (rollOver) {
if (_root.personc == true) {
_root.mainbar.ppl.icon.gotoAndStop(3);
}
}
on (release) {
if (_root.personc == true) {
_root.personnumber = 4;
_root.square2.gotoAndStop(4);
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
}
Symbol 720 Button
on (rollOver) {
if (_root.persond == true) {
_root.mainbar.ppl.icon.gotoAndStop(5);
}
}
on (release) {
if (_root.persond == true) {
_root.personnumber = 5;
_root.square2.gotoAndStop(5);
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
}
Symbol 721 Button
on (rollOver) {
if (_root.persone == true) {
_root.mainbar.ppl.icon.gotoAndStop(2);
}
}
on (release) {
if (_root.persone == true) {
_root.personnumber = 6;
_root.square2.gotoAndStop(6);
_root.square2.down._visible = 1;
_root.square2.left._visible = 0;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
}
Symbol 722 Button
on (release) {
_root.square2.gotoAndStop(1);
_root.personnumber = 1;
_root.square2.left._visible = 0;
_root.square2.down._visible = 1;
_root.square2.downright._visible = 0;
_root.square2.right._visible = 0;
_root.square2.up._visible = 0;
_root.square2.upleft._visible = 0;
_root.square2.upright._visible = 0;
_root.square2.downleft._visible = 0;
}
on (rollOver) {
_root.mainbar.ppl.icon.gotoAndStop(7);
}
Symbol 727 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 2
stop();
Symbol 727 MovieClip Frame 3
stop();
Symbol 727 MovieClip Frame 4
stop();
Symbol 727 MovieClip Frame 5
stop();
Symbol 727 MovieClip Frame 6
stop();
Symbol 727 MovieClip Frame 7
stop();
Symbol 728 MovieClip Frame 1
stop();
Symbol 728 MovieClip Frame 5
stop();
Symbol 733 Button
on (release) {
play();
_root.inventory._visible = 0;
_root.mainbar.music.gotoAndStop(1);
_root.mainbar.ppl.gotoAndStop(1);
}
on (rollOver) {
_root.inventory.help.gotoAndStop(12);
}
Symbol 737 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 741 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 745 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Symbol 746 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (3);
}
}
Symbol 747 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (4);
}
}
Symbol 748 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (9);
}
}
Symbol 749 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (8);
}
}
Symbol 750 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (6);
}
}
Symbol 751 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (7);
}
}
Symbol 752 Button
on (release) {
if (_root.cencored == true) {
gotoAndStop (1);
} else {
gotoAndStop (5);
}
}
Symbol 753 MovieClip Frame 1
stop();
Instance of Symbol 737 MovieClip "p1" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 738 MovieClip "p2" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 739 MovieClip "p3" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p3 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 740 MovieClip "p4" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p4 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 741 MovieClip "p5" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p5 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 742 MovieClip "p7" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p7 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 743 MovieClip "p6" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p6 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 744 MovieClip "p8" in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p8 == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 9
stop();
Symbol 754 MovieClip Frame 16
_root.inventory._visible = true;
Symbol 755 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(17);
}
Symbol 758 Button
on (release) {
_root.gotoAndPlay(1);
}
on (rollOver) {
_root.inventory.help.gotoAndStop(18);
}
Symbol 764 Button
on (release) {
_root.inventory._visible = 1;
}
Symbol 766 Button
on (release) {
_root.inventory._visible = 0;
}
Symbol 771 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(2);
}
Symbol 775 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(3);
}
Symbol 779 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(4);
}
Symbol 783 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(5);
}
Symbol 805 MovieClip Frame 1
stop();
Symbol 805 MovieClip Frame 2
stop();
Symbol 805 MovieClip Frame 3
stop();
Symbol 805 MovieClip Frame 4
stop();
Symbol 805 MovieClip Frame 5
stop();
Symbol 805 MovieClip Frame 6
stop();
Symbol 805 MovieClip Frame 7
stop();
Symbol 805 MovieClip Frame 8
stop();
Symbol 805 MovieClip Frame 9
stop();
Symbol 805 MovieClip Frame 10
stop();
Symbol 805 MovieClip Frame 11
stop();
Symbol 805 MovieClip Frame 12
stop();
Symbol 805 MovieClip Frame 13
stop();
Symbol 805 MovieClip Frame 14
stop();
Symbol 805 MovieClip Frame 15
stop();
Symbol 805 MovieClip Frame 16
stop();
Symbol 805 MovieClip Frame 17
stop();
Symbol 805 MovieClip Frame 18
stop();
Symbol 811 Button
on (release) {
play();
}
on (rollOver) {
_root.inventory.help.gotoAndStop(13);
}
Symbol 815 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(14);
}
Symbol 862 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(6);
}
Symbol 864 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(7);
}
Symbol 866 Button
on (rollOver) {
_root.inventory.help.gotoAndStop(13);
}
Symbol 867 Button
on (release) {
play();
}
on (rollOver) {
_root.inventory.help.gotoAndStop(14);
}
Symbol 900 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 8
stop();
Symbol 903 Button
on (press) {
startDrag ("_root.message");
}
on (release) {
stopDrag();
}
on (releaseOutside) {
stopDrag();
}
on (rollOut) {
stopDrag();
}
Symbol 904 Button
on (press) {
_yscale = (_yscale - 10);
if (_yscale <= 10) {
_yscale = 20;
}
if (_yscale >= 200) {
_yscale = 180;
}
}
Symbol 905 Button
on (press) {
_yscale = (_yscale + 10);
if (_yscale <= 10) {
_yscale = 20;
}
if (_yscale >= 200) {
_yscale = 180;
}
}
Symbol 912 Button
on (press) {
_xscale = 100;
_yscale = 100;
}
Symbol 913 Button
on (press) {
_xscale = (_xscale - 5);
if (_xscale <= 60) {
_xscale = 60;
}
if (_xscale >= 120) {
_xscale = 110;
}
}
Symbol 914 Button
on (press) {
_xscale = (_xscale + 5);
if (_xscale <= 60) {
_xscale = 60;
}
if (_xscale >= 120) {
_xscale = 110;
}
}
Symbol 918 MovieClip Frame 1
function reset() {
tx.scroll = 1;
totalLines = tx.bottomScroll - tx.scroll;
}
function update() {
if (!foreground.dragando) {
if (tx.maxscroll > 1) {
totalLines = tx.bottomScroll - tx.scroll;
_alpha = 100;
if (tx.scroll > tx.maxscroll) {
tx.scroll = tx.maxscroll;
}
foreground._height = rot(tx.maxscroll + totalLines, totalLines + 1, background._height);
foreground._y = rot(tx.maxscroll - 1, tx.scroll - 1, background._height - foreground._height);
foreground.onRollOver = (background.onRollover = function () {
});
foreground.useHandCursor = useHand;
background.useHandCursor = useHand;
} else {
_alpha = disAlpha;
foreground._y = 0;
foreground._height = background._height;
delete foreground.onRollover;
delete background.onRollover;
foreground.useHandCursor = false;
background.useHandCursor = false;
}
}
}
rot = function (a, b, x) {
return((x * b) / a);
};
foreground.onLoad = function () {
this.dragando = false;
this.offset = 0;
};
foreground.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
this.dragando = true;
this.offset = this._y - _parent._ymouse;
}
};
foreground.onMouseUp = function () {
this.dragando = false;
};
foreground.onMouseMove = function () {
if (this.dragando) {
this._y = _parent._ymouse + this.offset;
if (this._y < 0) {
this._y = 0;
}
if ((this._y + this._height) > this._parent.background._height) {
this._y = this._parent.background._height - this._height;
}
tx.scroll = math.round(rot(this._parent.background._height, this._y, tx.maxScroll + totalLines)) + 1;
}
};
background.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, false) && (!this._parent.foreground.hitTest(_root._xmouse, _root._ymouse, false))) {
if (this._parent._ymouse < this._parent.foreground._y) {
this.contador = 0;
this.onEnterFrame = function () {
if ((this.contador % 5) == 0) {
tx.scroll = tx.scroll - totalLines;
}
this.contador++;
if (this._parent._ymouse >= this._parent.foreground._y) {
delete this.onEnterFrame;
}
};
} else if (this._parent._ymouse > (this._parent.foreground._y + this._parent.foreground._height)) {
this.contador = 0;
this.onEnterFrame = function () {
if ((this.contador % 5) == 0) {
tx.scroll = tx.scroll + totalLines;
}
this.contador++;
if (this._parent._ymouse <= (this._parent.foreground._y + this._parent.foreground._height)) {
delete this.onEnterFrame;
}
};
}
}
};
background.onMouseUp = function () {
delete this.onEnterFrame;
};
this.onEnterFrame = function () {
var mx = tx._parent._xmouse;
var my = tx._parent._ymouse;
if ((((mx >= tx._x) && (mx <= (tx._x + tx._width))) && (my >= tx._y)) && (my <= (tx._y + tx._height))) {
ticksPerLine = 60;
if ((_level0.__wheelDelta + 0) != 0) {
tx.scroll = tx.scroll - (_level0.__wheelDelta / ticksPerLine);
_level0.__wheelDelta = 0;
}
}
};
tx = _parent[textfield_name];
background._height = this._height;
this._yscale = 100;
clr = new Color(foreground);
clr.setRGB(fgColor);
foreground._alpha = fgAlpha;
clr = new Color(background);
clr.setRGB(bgColor);
background._alpha = bgAlpha;
delete clr;
tx.reset = reset;
tx.reset();
tx.onChanged = (tx.onScroller = update);
tx.onChanged();
stop();
Symbol 934 Button
on (release) {
gotoAndPlay (1);
}
Symbol 936 Button
on (release) {
if (_root.spacebuck >= 2) {
gotoAndPlay (1);
_root.personc = true;
_root.spacebuck = _root.spacebuck - 2;
}
}
Symbol 939 Button
on (release) {
if (_root.spacebuck >= 3) {
_root.personb = true;
gotoAndPlay (1);
_root.spacebuck = _root.spacebuck - 3;
}
}
Symbol 942 MovieClip Frame 1
stop();
Instance of Symbol 918 MovieClip in Symbol 942 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
textfield_name = "utext";
fgColor = 39423;
fgAlpha = 100;
bgColor = 255;
bgAlpha = 100;
disAlpha = 30;
useHand = false;
}
Symbol 951 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 2
stop();
Symbol 951 MovieClip Frame 3
stop();
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 6
stop();
Instance of Symbol 960 MovieClip "door1" in Symbol 981 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.outside1.door1;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.outside1.door1.play();
_root.maze.outside1.door2.gotoAndPlay(7);
_root.maze.walls.gotoAndStop(3);
}
}
}
Instance of Symbol 960 MovieClip "door2" in Symbol 981 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.maze.outside1.door1._currentframe == 1) {
if (_root.maze.outside1.door2._currentframe == 1) {
_root.maze.walls.gotoAndStop(1);
}
}
_root.maze.outside1.door2;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.outside1.door2.play();
_root.maze.outside1.door1.gotoAndPlay(7);
_root.maze.walls.gotoAndStop(2);
}
}
}
Instance of Symbol 123 MovieClip "change1" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(5);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(5);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(5);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(5);
}
}
}
Instance of Symbol 123 MovieClip "change2" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change2.hitTest(getBounds(_root).xMax, _y, true)) {
_root.gotoAndPlay(17);
}
if (_root.maze.change2.hitTest(getBounds(_root).xMin, _y, true)) {
_root.gotoAndPlay(17);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMax, true)) {
_root.gotoAndPlay(17);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMin, true)) {
_root.gotoAndPlay(17);
}
}
}
Instance of Symbol 123 MovieClip "change3" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change3.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(9);
}
if (_root.maze.change3.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(9);
}
if (_root.maze.change3.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(9);
}
if (_root.maze.change3.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(9);
}
}
}
Instance of Symbol 123 MovieClip "change4" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change4.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(13);
}
if (_root.maze.change4.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(13);
}
if (_root.maze.change4.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(13);
}
if (_root.maze.change4.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(13);
}
}
}
Instance of Symbol 123 MovieClip "change5" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change5.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(15);
}
if (_root.maze.change5.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(15);
}
if (_root.maze.change5.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(15);
}
if (_root.maze.change5.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(15);
}
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 127 MovieClip "tellelevel" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.tellelevel;
if (hittest(_root.square)) {
_root.tellelevel._visible = 0;
_root.telle._visible = 1;
} else {
_root.tellelevel._visible = 0;
_root.telle._visible = 0;
}
}
Instance of Symbol 123 MovieClip "change6" in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change6.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 17;
_root.gotoAndPlay(41);
}
if (_root.maze.change6.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 17;
_root.gotoAndPlay(41);
}
if (_root.maze.change6.hitTest(_x, getBounds(_root).yMax, true)) {
_root.changeroom = 17;
_root.screenslidealpha = 100;
_root.gotoAndPlay(41);
}
if (_root.maze.change6.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 17;
_root.gotoAndPlay(41);
}
}
}
onClipEvent (load) {
this._visible = false;
}
Symbol 996 MovieClip Frame 1
stop();
Symbol 996 MovieClip Frame 5
stop();
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1002 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
}
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1006 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(11);
_root.changeroom = 3;
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(11);
_root.changeroom = 3;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(11);
_root.changeroom = 3;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(11);
_root.changeroom = 3;
}
}
}
onClipEvent (load) {
this._visible = false;
}
Symbol 1017 MovieClip Frame 1
stop();
Symbol 1017 MovieClip Frame 2
stop();
Instance of Symbol 123 MovieClip "changer" in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.keya == true) {
with (_root.square) {
if (_root.maze.changer.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(17);
}
if (_root.maze.changer.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(17);
}
if (_root.maze.changer.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(17);
}
if (_root.maze.changer.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(17);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
}
}
}
Instance of Symbol 1019 MovieClip "change1" in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(11);
}
}
}
Instance of Symbol 1021 MovieClip "changerabc" in Symbol 1022 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.changerabc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(19);
}
if (_root.maze.changerabc.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(19);
}
if (_root.maze.changerabc.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(19);
}
if (_root.maze.changerabc.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 1021 MovieClip "changerabd" in Symbol 1022 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.changerabd.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabd.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabd.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabd.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(13);
}
}
}
Instance of Symbol 1021 MovieClip "changerabe" in Symbol 1022 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.changerabe.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(21);
}
if (_root.maze.changerabe.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(21);
}
if (_root.maze.changerabe.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(21);
}
if (_root.maze.changerabe.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(21);
}
}
}
Instance of Symbol 123 MovieClip "change2" in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change2.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(23);
}
if (_root.maze.change2.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(23);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(23);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(23);
}
}
}
Instance of Symbol 127 MovieClip "bedlevel2" in Symbol 1027 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.coutch._visible = 1;
} else {
_root.coutch._visible = 0;
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1036 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
timer = true;
}
onClipEvent (enterFrame) {
if (timer == false) {
if (this.hitTest(_root.square)) {
_root.p1 = true;
_root.mainbar.flasher.play();
_root.guyredhead.prizeforweed2._visible = 1;
_root.guyredhead.prizeforweed._visible = 0;
} else {
_root.guyredhead.prizeforweed2._visible = 0;
_root.guyredhead.prizeforweed._visible = 0;
}
}
if (timer == true) {
if (this.hitTest(_root.square)) {
if (_root.keyc == 1) {
_root.keyc = 0;
timer = false;
}
_root.guyredhead.prizeforweed._visible = 1;
} else {
_root.guyredhead.prizeforweed._visible = 0;
_root.guyredhead.prizeforweed2._visible = 0;
}
}
}
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1038 MovieClip Frame 1
onClipEvent (enterFrame) {
this.bedlevel;
if (hittest(_root.square)) {
_root.coutch2._visible = 1;
} else {
_root.coutch2._visible = 0;
}
}
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1050 MovieClip Frame 1
stop();
Instance of Symbol 127 MovieClip "desklevel" in Symbol 1053 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.desklevel;
if (hittest(_root.square)) {
_root.desk._visible = 1;
} else {
_root.desk._visible = 0;
}
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(7);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(7);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(7);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 4;
_root.gotoAndPlay(7);
}
}
}
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1054 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
}
}
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1071 MovieClip Frame 6
stop();
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1072 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
}
}
Instance of Symbol 1071 MovieClip "cub" in Symbol 1072 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.cubboerd1;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.bed.cubboerd1.play();
_root.mainbar.flasher.play();
_root.p7 = true;
}
}
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1075 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslide._alpha = 100;
_root.screenslidealpha = 100;
_root.changeroom = 5;
_root.gotoAndPlay(13);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslide._alpha = 100;
_root.screenslidealpha = 100;
_root.changeroom = 5;
_root.gotoAndPlay(13);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslide._alpha = 100;
_root.screenslidealpha = 100;
_root.changeroom = 5;
_root.gotoAndPlay(13);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslide._alpha = 100;
_root.screenslidealpha = 100;
_root.changeroom = 5;
_root.gotoAndPlay(13);
}
}
}
Symbol 1088 MovieClip Frame 1
stop();
Instance of Symbol 127 MovieClip "hittester" in Symbol 1091 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.hittester;
if (hittest(_root.square)) {
_root.maze.hittester._visible = 0;
_root.beda._visible = 1;
} else {
_root.maze.hittester._visible = 0;
_root.beda._visible = 0;
}
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1091 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 8;
_root.gotoAndPlay(13);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 8;
_root.gotoAndPlay(13);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 8;
_root.gotoAndPlay(13);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 8;
_root.gotoAndPlay(13);
}
}
}
Symbol 1098 MovieClip Frame 1
stop();
Symbol 1098 MovieClip Frame 2
stop();
Instance of Symbol 1019 MovieClip "changerabe" in Symbol 1102 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.changerabe.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabe.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabe.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabe.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabd.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(21);
}
if (_root.maze.changerabd.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(13);
}
if (_root.maze.changerabd.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 6;
_root.gotoAndPlay(13);
}
}
}
Instance of Symbol 1100 MovieClip "maze" in Symbol 1102 MovieClip Frame 1
onClipEvent (enterFrame) {
yspeed = 5.8;
xspeed = 10;
with (_root.square) {
if (Key.isDown(40)) {
_y = _y + yspeed;
}
if (Key.isDown(38)) {
_y = _y - yspeed;
}
if (Key.isDown(37)) {
_x = _x - xspeed;
}
if (Key.isDown(39)) {
_x = _x + xspeed;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - xspeed;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - xspeed;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + xspeed;
}
}
}
Symbol 1116 MovieClip Frame 1
stop();
Symbol 1116 MovieClip Frame 7
stop();
Symbol 1139 MovieClip Frame 1
stop();
Instance of Symbol 123 MovieClip "change1" in Symbol 1142 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 10;
_root.gotoAndPlay(23);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 10;
_root.gotoAndPlay(23);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 10;
_root.gotoAndPlay(23);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 10;
_root.gotoAndPlay(23);
}
}
}
Instance of Symbol 123 MovieClip "change3" in Symbol 1142 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change3.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 11;
_root.gotoAndPlay(27);
}
if (_root.maze.change3.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 11;
_root.gotoAndPlay(27);
}
if (_root.maze.change3.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 11;
_root.gotoAndPlay(27);
}
if (_root.maze.change3.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 11;
_root.gotoAndPlay(27);
}
}
}
Instance of Symbol 123 MovieClip "change4" in Symbol 1142 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change4.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(47);
}
if (_root.maze.change4.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(47);
}
if (_root.maze.change4.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(47);
}
if (_root.maze.change4.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 1;
_root.gotoAndPlay(47);
}
}
}
Instance of Symbol 1139 MovieClip "walls" in Symbol 1142 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.walls._visible = 0;
}
Instance of Symbol 1141 MovieClip "level" in Symbol 1142 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.level._visible = 0;
_root.maze.change1._visible = 0;
_root.maze.change2._visible = 0;
_root.maze.change3._visible = 0;
_root.maze.change4._visible = 0;
}
Instance of Symbol 1019 MovieClip "changerabe" in Symbol 1236 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.changerabe.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(29);
}
if (_root.maze.changerabe.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(29);
}
if (_root.maze.changerabe.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(29);
}
if (_root.maze.changerabe.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(29);
}
}
}
Instance of Symbol 1021 MovieClip "changeraber" in Symbol 1236 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.changeroom = 9;
_root.gotoAndPlay(25);
}
}
Symbol 1240 MovieClip Frame 1
stop();
Symbol 1240 MovieClip Frame 2
stop();
Instance of Symbol 127 MovieClip "tellelevel" in Symbol 1251 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.maze.tellelevel;
if (hittest(_root.square)) {
_root.tellelevel._visible = 0;
_root.telle._visible = 1;
} else {
_root.tellelevel._visible = 0;
_root.telle._visible = 0;
}
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1251 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
}
}
}
Instance of Symbol 123 MovieClip "change2" in Symbol 1251 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change2.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(27);
}
if (_root.maze.change2.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(27);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(27);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(27);
}
}
}
Instance of Symbol 127 MovieClip "tellelevel" in Symbol 1258 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.carpetB._visible = 1;
} else {
_root.carpetB._visible = 0;
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1268 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1290 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
numb = 1;
}
onClipEvent (enterFrame) {
if (_root.ehealth <= 0) {
_root.mon._visible = true;
this.hitbox;
if (hitTest(_root.square)) {
if (Key.isDown(13)) {
numb++;
}
if (numb <= 1) {
_root.maze.mon.word1._visible = true;
_root.maze.mon.word2._visible = false;
_root.maze.mon.word3._visible = false;
}
if (numb == 2) {
_root.maze.mon.word1._visible = false;
_root.maze.mon.word2._visible = true;
_root.maze.mon.word3._visible = false;
}
if (numb == 3) {
_root.maze.mon.word1._visible = false;
_root.maze.mon.word2._visible = false;
_root.maze.mon.word3._visible = true;
}
} else {
_root.maze.mon.word1._visible = false;
_root.maze.mon.word2._visible = false;
_root.maze.mon.word3._visible = false;
}
} else {
_root.maze.mon._visible = false;
}
}
Symbol 1293 MovieClip Frame 1
stop();
Symbol 1293 MovieClip Frame 2
stop();
Instance of Symbol 123 MovieClip "change2" in Symbol 1294 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change2.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 12;
_root.gotoAndPlay(29);
}
if (_root.maze.change2.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 12;
_root.gotoAndPlay(29);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 12;
_root.gotoAndPlay(29);
}
if (_root.maze.change2.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 12;
_root.gotoAndPlay(29);
}
}
}
Instance of Symbol 960 MovieClip "door" in Symbol 1294 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.maze.door._currentframe == 1) {
if (_root.maze.walls._currentframe == 2) {
_root.maze.walls.play();
}
}
if (_root.maze.door._currentframe == 6) {
if (_root.maze.walls._currentframe == 1) {
_root.maze.walls.play();
}
}
_root.maze.door;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.maze.walls.play();
_root.maze.door.Play();
}
}
}
Instance of Symbol 123 MovieClip "change3" in Symbol 1294 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change3.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 3;
_root.gotoAndPlay(33);
}
if (_root.maze.change3.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 3;
_root.gotoAndPlay(33);
}
if (_root.maze.change3.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 3;
_root.gotoAndPlay(33);
}
if (_root.maze.change3.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 3;
_root.gotoAndPlay(33);
}
}
}
Instance of Symbol 123 MovieClip "change4" in Symbol 1294 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change4.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(35);
}
if (_root.maze.change4.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(35);
}
if (_root.maze.change4.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(35);
}
if (_root.maze.change4.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(35);
}
}
}
Instance of Symbol 123 MovieClip "change5" in Symbol 1294 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change5.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 15;
_root.gotoAndPlay(39);
}
if (_root.maze.change5.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 15;
_root.gotoAndPlay(39);
}
if (_root.maze.change5.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 15;
_root.gotoAndPlay(39);
}
if (_root.maze.change5.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.changeroom = 15;
_root.gotoAndPlay(39);
}
}
}
Instance of Symbol 1021 MovieClip in Symbol 1294 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
if (_root.ehealth > 0) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(69);
}
}
}
Instance of Symbol 1268 MovieClip "wo" in Symbol 1294 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitbox;
if (hitTest(_root.square)) {
this.word._visible = 1;
} else {
this.word._visible = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 1294 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(75);
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.girl.hitbox;
if (hitTest(_root.square)) {
if (Key.isDown(13)) {
_root.girl.word._visible = 1;
}
} else {
_root.girl.word._visible = 0;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1308 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
_root.changeroom = 3;
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
_root.changeroom = 3;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
_root.changeroom = 3;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(31);
_root.changeroom = 3;
}
}
}
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1315 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
}
}
Symbol 1318 MovieClip Frame 1
stop();
Symbol 1318 MovieClip Frame 2
stop();
Instance of Symbol 123 MovieClip "change1" in Symbol 1319 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.changeroom = -1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.changeroom = -1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.changeroom = -1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.changeroom = -1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
}
}
}
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1321 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
}
}
Instance of Symbol 127 MovieClip "bedlevel" in Symbol 1333 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bed.bedlevel;
if (hittest(_root.square)) {
_root.bedlevel._visible = 0;
_root.bed._visible = 1;
_root.bed2._visible = 0;
} else {
_root.bedlevel._visible = 0;
_root.bed._visible = 0;
_root.bed2._visible = 1;
}
}
Symbol 1336 MovieClip Frame 1
stop();
Symbol 1336 MovieClip Frame 2
stop();
Instance of Symbol 1336 MovieClip "walls" in Symbol 1337 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 123 MovieClip "change1" in Symbol 1337 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
_root.changeroom = 15;
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
_root.changeroom = 15;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
_root.changeroom = 15;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(37);
_root.changeroom = 15;
}
}
}
onClipEvent (load) {
this._visible = false;
}
Symbol 1340 MovieClip Frame 1
stop();
Instance of Symbol 123 MovieClip "change1" in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 17;
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 17;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 17;
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(7);
_root.changeroom = 17;
}
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1346 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this.hitbox;
if (hitTest(_root.square)) {
_root.dg.word1._visible = true;
if (Key.isDown(13)) {
_root.message._y = 100;
_root.message._x = 50;
_root.message.gotoAndPlay(11);
if (_root.personb == false) {
_root.message.gotoAndPlay(10);
}
if (_root.personc == false) {
_root.message.gotoAndPlay(9);
}
}
} else {
_root.dg.word1._visible = false;
}
}
Symbol 1349 MovieClip Frame 1
stop();
Symbol 1351 MovieClip Frame 1
stop();
Instance of Symbol 123 MovieClip "change1" in Symbol 1351 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(45);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(45);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(45);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(45);
}
}
}
Symbol 1355 MovieClip Frame 1
stop();
Symbol 1394 MovieClip Frame 1
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Symbol 1394 MovieClip Frame 2
gotoAndStop (1);
Symbol 1409 MovieClip Frame 1
stop();
Symbol 1412 MovieClip Frame 1
stop();
Instance of Symbol 1409 MovieClip "walls" in Symbol 1412 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1411 MovieClip "change1" in Symbol 1412 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
with (_root.square) {
if (_root.maze.change1.hitTest(getBounds(_root).xMax, _y, true)) {
_root.changeroom = 1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(49);
}
if (_root.maze.change1.hitTest(getBounds(_root).xMin, _y, true)) {
_root.changeroom = 1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(49);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMax, true)) {
_root.changeroom = 1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(49);
}
if (_root.maze.change1.hitTest(_x, getBounds(_root).yMin, true)) {
_root.changeroom = 1;
_root.screenslidealpha = 100;
_root.gotoAndPlay(49);
}
}
}
Instance of Symbol 1021 MovieClip "change2" in Symbol 1412 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest(_root.square)) {
_root.screenslidealpha = 100;
_root.gotoAndPlay(25);
_root.changeroom = 29;
}
}
Symbol 1416 MovieClip Frame 1
stop();
Symbol 1422 MovieClip Frame 1
stop();
Instance of Symbol 1416 MovieClip "walls" in Symbol 1422 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1429 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.girl.hitbox;
if (hitTest(_root.square)) {
_root.girl.word._visible = 1;
if (Key.isDown(13)) {
_root.gotoAndStop(48);
_root.Stop();
_root.screenslide._alpha = 100;
_root.gotoAndStop(88);
}
} else {
_root.girl.word._visible = 0;
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1451 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.girl.hitbox;
if (hittest(_root.square)) {
_root.girl.word._visible = 1;
if (_root.keyd == 1) {
_root.girl.word._visible = 0;
if (Key.isDown(13)) {
_root.p3 = true;
_root.girl.word2._visible = 1;
}
}
} else {
_root.girl.word._visible = 0;
_root.girl.word2._visible = 0;
}
}
Symbol 1470 MovieClip Frame 50
gotoAndPlay (1);
Symbol 1472 MovieClip Frame 1
n++;
if (n < 150) {
duplicateMovieClip ("nutz", "nutz" + n, n);
}
setProperty("nutz", _rotation , getProperty(nutz, _rotation) - (n / 0.5));
tellTarget ("nutz") {
gotoAndPlay (1);
};
Instance of Symbol 1476 MovieClip "powersphare" in Symbol 1479 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._visible == false) {
stop();
} else {
play();
}
}
Instance of Symbol 130 MovieClip "pad" in Symbol 1479 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.back.pad;
if (hittest(_root.square)) {
if (Key.isDown(13)) {
_root.keye = true;
}
}
if (_root.keye == true) {
_root.back.powersphare._visible = 0;
_root.back.powersphare.sound.stop();
} else {
_root.back.powersphare.sound.play();
_root.back.powersphare._visible = 1;
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1493 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = 0;
_root.guy.hitbox;
if (hittest(_root.square)) {
_root.guy.word._visible = 1;
if (_root.orbhave == true) {
_root.guy.word._visible = 0;
if (Key.isDown(13)) {
_root.p4 = true;
_root.guy.word2._visible = 1;
}
}
} else {
_root.guy.word._visible = 0;
_root.guy.word2._visible = 0;
}
}
Symbol 1500 MovieClip Frame 1
stop();
Symbol 1504 MovieClip Frame 1
function lightningStrike() {
x1 = 0;
y1 = 0;
lasty = 1;
max = 15;
branch1 = random(5) + 1;
branch2 = random(3) + 11;
i = 1;
while (i <= max) {
x0 = x1 + (random(14) - 7);
y0 = lasty + 2;
if (i == branch1) {
b = max + 1;
xfork = x0;
yfork = y0;
x1bak = x1;
y1bak = y1;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + ((random(30) - 15) / 100);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , (y0 - y1) / 10);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x1 = x1bak;
y1 = y1bak;
x0 = xfork;
y0 = yfork;
}
if (i == branch2) {
b = (max + 10) + 1;
xfork = x0;
yfork = y0;
x1bak = x1;
y1bak = y1;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x0 = x1 + (random(30) - 15);
y0 = lasty + 10;
duplicateMovieClip ("bolt0", "bolt" add b, b);
setProperty("bolt" add b, _x , x1);
setProperty("bolt" add b, _y , y1);
setProperty("bolt" add b, _xscale , x0 - x1);
setProperty("bolt" add b, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
b = b + 1;
lasty = y0;
x1 = x1bak;
y1 = y1bak;
x0 = xfork;
y0 = yfork;
}
duplicateMovieClip ("bolt0", "bolt" add i, i);
setProperty("bolt" add i, _x , x1);
setProperty("bolt" add i, _y , y1);
setProperty("bolt" add i, _xscale , x0 - x1);
setProperty("bolt" add i, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
lasty = y0;
if (lasty >= 300) {
x1 = 300;
y1 = 0;
lasty = 0;
}
i++;
}
gotoAndPlay (2);
}
Symbol 1504 MovieClip Frame 3
if (_root.orbhave == true) {
lightningStrike();
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1527 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.girl.hitbox.hitTest(_root.square)) {
if (Key.isDown(13)) {
_root.talk = 1;
_root.healthb = 100;
_root.healthc = 100;
_root.gotoAndPlay(77);
}
if (_root.talk == 0) {
_root.girl.words1._visible = 1;
}
if (_root.talk == 1) {
_root.girl.words2._visible = 1;
_root.girl.words1._visible = 0;
}
if (_root.talk == 2) {
_root.persone = true;
_root.girl.words3._visible = 1;
_root.girl.words2._visible = 0;
_root.girl.words1._visible = 0;
}
} else {
_root.girl.words1._visible = false;
_root.girl.words2._visible = false;
_root.girl.words3._visible = false;
}
}
Instance of Symbol 1520 MovieClip "firelaser" in Symbol 1527 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.decaym >= 1) {
_root.firedown._visible = true;
_root.fireup._visible = false;
_root.firelaser._visible = false;
if (_root.firedown.up.hitTest(_root.square)) {
_root.healthb = _root.healthb + -2;
}
}
if (_root.decaym > 4) {
_root.firedown._visible = false;
_root.fireup._visible = true;
_root.firelaser._visible = false;
if (_root.fireup.up.hitTest(_root.square)) {
_root.healthb = _root.healthb + -2;
}
}
if (_root.decaym > 7) {
_root.firedown._visible = false;
_root.fireup._visible = false;
_root.firelaser._visible = true;
if (_root.firelaser.up.hitTest(_root.square)) {
_root.healthb = _root.healthb + -4;
}
}
if (_root.decaym > 10) {
_root.decaym = 1;
}
}
Symbol 1562 MovieClip Frame 12
_root.mon.gotoAndStop(11);
Symbol 1577 MovieClip Frame 14
stop();
Instance of Symbol 1549 MovieClip "a2" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a2;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(16);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a3" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a3;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(17);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a1" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
if (_root.mon.a1.hittest(_root.square)) {
_root.mon.gotoAndStop(15);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a4" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a4;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(18);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a5" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a5;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(19);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a6" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a6;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(20);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a7" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a7;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(21);
_root.monfire = false;
}
}
}
Instance of Symbol 1549 MovieClip "a8" in Symbol 1577 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.monfire == true) {
_root.mon.a8;
if (hittest(_root.square)) {
_root.mon.gotoAndStop(22);
_root.monfire = false;
}
}
}
Symbol 1577 MovieClip Frame 28
gotoAndPlay (12);
Symbol 1577 MovieClip Frame 29
stop();
Symbol 1580 Button
on (release) {
gotoAndPlay (31);
_root.health = 100;
_root.ehealth = 100;
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitbox.hitTest(_root.square)) {
if (Key.isDown(13)) {
_root.persond = true;
_root.gotoAndPlay(25);
}
_root.guy.word._visible = 1;
} else {
_root.guy.word._visible = 0;
}
}
Symbol 1627 MovieClip Frame 1
stop();
Symbol 1627 MovieClip Frame 9
_root.decaym = _root.decaym + 1;
Symbol 1648 MovieClip Frame 1
stop();
Symbol 1648 MovieClip Frame 4
_root.ehealthcc = _root.ehealthcc - 1;
Symbol 1648 MovieClip Frame 6
gotoAndPlay (3);
Symbol 1648 MovieClip Frame 7
stop();
Symbol 1655 MovieClip Frame 1
stop();
Symbol 1655 MovieClip Frame 9
_root.decaym = _root.decaym + 1;
Symbol 1676 MovieClip Frame 1
stop();
Symbol 1676 MovieClip Frame 44
_root.decaym = _root.decaym + 1;
Symbol 1697 MovieClip Frame 28
_root.decaym = _root.decaym + 1;
Symbol 1698 Button
on (release) {
gotoAndPlay (65);
_root.decaym = 1;
_root.talk = 0;
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1717 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitbox.hitTest(_root.square)) {
if (Key.isDown(13)) {
_root.gotoAndPlay(105);
}
_root.guy.word._visible = 1;
} else {
_root.guy.word._visible = 0;
}
}
Instance of Symbol 130 MovieClip "hitbox" in Symbol 1724 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this.hitbox;
if (hitTest(_root.square)) {
_root.g.word._visible = 1;
if (Key.isDown(13)) {
_root.personb = true;
}
} else {
_root.g.word._visible = 0;
}
}
Symbol 1767 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1767 MovieClip Frame 51
this._x = 600;
Symbol 1774 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1774 MovieClip Frame 68
this._x = 550;
Symbol 1784 MovieClip Frame 8
gotoAndPlay (1);
Symbol 1784 MovieClip Frame 40
this._x = 600;
Symbol 1793 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1793 MovieClip Frame 35
this._x = 550;
Symbol 1801 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1801 MovieClip Frame 35
this._x = 550;
Symbol 1816 MovieClip Frame 31
gotoAndPlay (1);
Symbol 1816 MovieClip Frame 63
this._x = 550;
Symbol 1818 MovieClip Frame 1
stop();
Symbol 1847 MovieClip Frame 55
gotoAndPlay (1);
Symbol 1863 MovieClip Frame 1
stop();
Symbol 1866 Button
on (release) {
Mouse.show();
gotoAndPlay (100);
_root.changeroom = 2;
removeMovieClip("mar");
removeMovieClip("babe");
removeMovieClip("fish");
removeMovieClip("squid");
removeMovieClip("shark");
removeMovieClip("kiwi");
removeMovieClip("mon");
removeMovieClip("sword");
removeMovieClip("robot");
}
Symbol 1872 MovieClip Frame 1
stop();
Symbol 1872 MovieClip Frame 2
stop();
Symbol 1874 MovieClip Frame 1
stop();
Symbol 1874 MovieClip Frame 2
stop();
Symbol 1876 MovieClip Frame 1
stop();
Symbol 1876 MovieClip Frame 2
stop();
Symbol 1878 MovieClip Frame 1
stop();
Symbol 1878 MovieClip Frame 2
stop();
Symbol 1880 MovieClip Frame 1
stop();
Symbol 1880 MovieClip Frame 2
stop();
Symbol 1882 MovieClip Frame 1
stop();
Symbol 1882 MovieClip Frame 2
stop();
Symbol 1884 MovieClip Frame 1
stop();
Symbol 1884 MovieClip Frame 2
stop();
Symbol 1893 Button
on (release) {
gotoAndPlay (49);
removeMovieClip("md1");
removeMovieClip("md2");
removeMovieClip("md3");
removeMovieClip("md4");
removeMovieClip("md5");
removeMovieClip("md6");
removeMovieClip("md7");
removeMovieClip("md8");
removeMovieClip("md9");
removeMovieClip("md10");
removeMovieClip("md11");
removeMovieClip("md12");
_root.changelevel = 0;
_root.leveld = 1;
_root.damage = 0;
_root.health = 100;
_root.reload = 16;
_root.lasers = 1;
_root.fireing = 0;
_root.bombs = 0;
_root.morehealth = 0;
}
Symbol 1895 Button
on (release) {
gotoAndPlay (103);
}
Symbol 1902 Button
on (release) {
play();
}
Symbol 1933 MovieClip Frame 1
stop();
Symbol 1933 MovieClip Frame 2
stop();
Symbol 1933 MovieClip Frame 3
stop();
Symbol 1933 MovieClip Frame 4
stop();
Symbol 1933 MovieClip Frame 5
stop();
Symbol 1933 MovieClip Frame 6
stop();
Symbol 1933 MovieClip Frame 7
stop();
Symbol 1933 MovieClip Frame 8
stop();
Symbol 1937 MovieClip Frame 1
stop();
Symbol 1937 MovieClip Frame 34
if (_root.thingmainship.arm._currentframe == 2) {
_root.lasers++;
}
if (_root.thingmainship.arm._currentframe == 3) {
_root.bombs++;
}
if (_root.thingmainship.arm._currentframe == 4) {
_root.reload--;
}
if (_root.thingmainship.arm._currentframe == 5) {
_root.damagemultiplyer++;
}
if (_root.thingmainship.arm._currentframe == 6) {
amount = 5;
while (amount > 0) {
duplicateMovieClip (_root.spaceee, "mc" + i, i);
setProperty("mc" + i, _x , random(500));
setProperty("mc" + i, _y , random(400));
i++;
amount--;
}
}
if (_root.thingmainship.arm._currentframe == 7) {
_root.health = _root.health + 20;
}
if (_root.thingmainship.arm._currentframe == 8) {
_root.morehealth++;
}
Symbol 1943 MovieClip Frame 1
stop();
Symbol 1943 MovieClip Frame 9
this._x = -20;
this._y = -20;
Symbol 1965 MovieClip Frame 1
stop();
Symbol 1965 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1965 MovieClip Frame 29
stop();
removeMovieClip(this);
Symbol 1974 MovieClip Frame 1
stop();
Symbol 1974 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1974 MovieClip Frame 29
stop();
removeMovieClip(this);
Symbol 1980 MovieClip Frame 1
stop();
Symbol 1980 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1980 MovieClip Frame 29
stop();
removeMovieClip(this);
Symbol 1990 MovieClip Frame 1
stop();
Symbol 1990 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1990 MovieClip Frame 29
stop();
removeMovieClip(this);
Symbol 1995 MovieClip Frame 1
stop();
Symbol 1995 MovieClip Frame 10
stop();
removeMovieClip(this);
Symbol 2004 MovieClip Frame 1
stop();
Symbol 2004 MovieClip Frame 20
gotoAndStop (1);
Symbol 2004 MovieClip Frame 29
stop();
removeMovieClip(this);
Symbol 2006 Button
on (release) {
gotoAndPlay (89);
}
Symbol 2011 Button
on (release) {
gotoAndPlay (88);
}
Symbol 2016 Button
on (release) {
gotoAndStop (88);
}
Symbol 2022 Button
on (release) {
_root.gotoAndPlay(87);
}
Symbol 2027 Button
on (release) {
_root.magicnumberone = _root.magicnumberone + 1;
}
Symbol 2029 Button
on (release) {
_root.magicnumbertwo = _root.magicnumbertwo + 1;
}
Symbol 2031 Button
on (release) {
_root.magicnumberthree = _root.magicnumberthree + 1;
}
Symbol 2033 Button
on (release) {
_root.magicnumberfour = _root.magicnumberfour + 1;
}
Symbol 2035 Button
on (release) {
_root.magicnumberfive = _root.magicnumberfive + 1;
}
Symbol 2037 Button
on (release) {
_root.magicnumbersix = _root.magicnumbersix + 1;
}
Symbol 2039 Button
on (press) {
_root.magicnumberseven = _root.magicnumberseven + 1;
}
Symbol 2041 Button
on (release) {
_root.magicnumbereget = _root.magicnumbereget + 1;
}
Symbol 2043 Button
on (release) {
_root.magicnumbernine = _root.magicnumbernine + 1;
}
Symbol 2055 MovieClip Frame 1
this.onEnterFrame = function () {
stop();
};
Symbol 2058 Button
on (release) {
_root.magicnumbernine = 0;
_root.magicnumbereget = 0;
_root.magicnumberseven = 0;
_root.magicnumbersix = 0;
_root.magicnumberfive = 0;
_root.magicnumberfour = 0;
_root.magicnumberthree = 0;
_root.magicnumberone = 0;
_root.magicnumbertwo = 0;
}
Symbol 2061 Button
on (release) {
_root.gotoAndPlay(61);
_root.screenslidealpha = 100;
}
Symbol 2064 MovieClip Frame 1
stop();
Instance of Symbol 2055 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumber2 = 1;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.magicnumber2);
if (_root.magicnumberone == 1) {
_root.magicnumber2 = 1;
}
if (_root.magicnumbertwo == 1) {
_root.magicnumber2 = 2;
}
if (_root.magicnumberthree == 1) {
_root.magicnumber2 = 5;
if (_root.magicnumberone == 1) {
_root.magicnumber2 = 4;
}
}
if (_root.magicnumberfive == 1) {
_root.magicnumber2 = 2;
if (_root.magicnumberone == 1) {
_root.magicnumber2 = 5;
}
}
if (_root.magicnumbersix == 1) {
_root.magicnumber2 = 3;
if (_root.magicnumberone == 1) {
_root.magicnumber2 = 6;
if (_root.magicnumberseven == 1) {
_root.magicnumber2 = 9;
}
}
}
if (_root.magicnumberseven == 1) {
_root.magicnumber2 = 3;
if (_root.magicnumberone == 1) {
_root.magicnumber2 = 5;
if (_root.magicnumberthree == 1) {
_root.magicnumber2 = 7;
}
}
}
if (_root.magicnumbernine == 1) {
_root.magicnumber2 = 4;
if (_root.magicnumberthree == 1) {
_root.magicnumber2 = 5;
}
}
if (_root.magicnumberfour == 1) {
_root.magicnumber2 = 6;
if (_root.magicnumberone == 1) {
_root.magicnumber2 = 8;
if (_root.magicnumbernine == 1) {
_root.magicnumber2 = 11;
_root.main.play();
if (_root.magicnumbertwo == 1) {
_root.magicnumber2 = 2;
}
if (_root.magicnumberthree == 1) {
_root.magicnumber2 = 2;
}
if (_root.magicnumberfive == 1) {
_root.magicnumber2 = 2;
}
if (_root.magicnumbersix == 1) {
_root.magicnumber2 = 2;
}
if (_root.magicnumberseven == 1) {
_root.magicnumber2 = 2;
}
if (_root.magicnumbereget == 1) {
_root.magicnumber2 = 2;
}
}
}
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumberone = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumberone == 0) {
this._visible = false;
}
if (_root.magicnumberone == 1) {
this._visible = true;
}
if (_root.magicnumberone == 2) {
this._visible = false;
_root.magicnumberone = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumbertwo = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumbertwo == 0) {
this._visible = false;
}
if (_root.magicnumbertwo == 1) {
this._visible = true;
}
if (_root.magicnumbertwo == 2) {
this._visible = false;
_root.magicnumbertwo = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumberthree = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumberthree == 0) {
this._visible = false;
}
if (_root.magicnumberthree == 1) {
this._visible = true;
}
if (_root.magicnumberthree == 2) {
this._visible = false;
_root.magicnumberthree = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumberfour = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumberfour == 0) {
this._visible = false;
}
if (_root.magicnumberfour == 1) {
this._visible = true;
}
if (_root.magicnumberfour == 2) {
this._visible = false;
_root.magicnumberfour = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumberfive = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumberfive == 0) {
this._visible = false;
}
if (_root.magicnumberfive == 1) {
this._visible = true;
}
if (_root.magicnumberfive == 2) {
this._visible = false;
_root.magicnumberfive = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumbersix = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumbersix == 0) {
this._visible = false;
}
if (_root.magicnumbersix == 1) {
this._visible = true;
}
if (_root.magicnumbersix == 2) {
this._visible = false;
_root.magicnumbersix = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumbereget = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumbereget == 0) {
this._visible = false;
}
if (_root.magicnumbereget == 1) {
this._visible = true;
}
if (_root.magicnumbereget == 2) {
this._visible = false;
_root.magicnumbereget = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumberseven = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumberseven == 0) {
this._visible = false;
}
if (_root.magicnumberseven == 1) {
this._visible = true;
}
if (_root.magicnumberseven == 2) {
this._visible = false;
_root.magicnumberseven = 0;
}
}
Instance of Symbol 2063 MovieClip in Symbol 2064 MovieClip Frame 1
onClipEvent (load) {
_root.magicnumbernine = 0;
}
onClipEvent (enterFrame) {
if (_root.magicnumbernine == 0) {
this._visible = false;
}
if (_root.magicnumbernine == 1) {
this._visible = true;
}
if (_root.magicnumbernine == 2) {
this._visible = false;
_root.magicnumbernine = 0;
}
}
Symbol 2064 MovieClip Frame 16
_root.gotoAndPlay(141);
Symbol 2079 MovieClip Frame 17
_root.gotoAndPlay(142);
Symbol 2092 MovieClip Frame 17
_root.gotoAndPlay(144);
Symbol 2102 MovieClip Frame 12
_root.gotoAndPlay(146);
Symbol 2106 MovieClip Frame 6
_root.gotoAndPlay(148);
Symbol 2231 Button
on (release) {
gotoAndStop (390);
}
Symbol 2238 Button
on (release) {
gotoAndStop (391);
}
Symbol 2241 Button
on (release) {
gotoAndStop (392);
}
Symbol 2244 Button
on (release) {
gotoAndStop (389);
}
Instance of Symbol 2308 MovieClip in Symbol 2329 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 2331 Button
on (release) {
gotoAndPlay (1);
}