Frame 1
md = false;
onMouseDown = function () {
md = true;
};
onMouseUp = function () {
md = false;
};
onEnterFrame = function () {
if (!snd) {
snd1.setVolume(0);
snd2.setVolume(0);
snd3.setVolume(0);
} else {
snd1.setVolume(100);
snd2.setVolume(100);
snd3.setVolume(100);
}
};
note = false;
function goMySite() {
getURL ("http://www.topaz-games.com/", _blank);
}
stop();
ldd = _root.getBytesLoaded();
ttl = _root.getBytesTotal();
pct = 0;
timr = 0;
dth = 0;
lstdth = 0;
_quality = "LOW";
achvs = [false, false, false, false, false, false, false, false];
rvs = false;
phr = ["'Bang and the dirt is gone!' ~Barry Scott", "'Trust Pink, forget stains!' ~Pink Ad", "'CMON!' ~Car Ad", "'Mentos. The Freshmaker!' ~Mentos"];
var sav = SharedObject.getLocal("ogotu");
achvs = sav.data.achvs;
snd = sav.data.snd;
ul = sav.data.ul;
stats = sav.data.stats;
ul2 = sav.data.ul2;
stats2 = sav.data.stats2;
idone = sav.data.idone;
var snd3 = new Sound(this);
snd3.attachSound("game");
var menu = new ContextMenu();
menu.hideBuiltInItems();
var cbtn2 = new ContextMenuItem("Visit Topaz Games!", goMySite);
menu.customItems.push(cbtn2);
_root.menu = menu;
strt = false;
chcstr = "";
pz = false;
if (idone == undefined) {
idone = false;
}
if (sav.data.achvs == undefined) {
sav.data.achvs = [false, false, false, false, false, false, false, false];
achvs = sav.data.achvs;
}
if (sav.data.snd == undefined) {
snd = true;
}
if (sav.data.ul == undefined) {
sav.data.ul = 1;
ul = 1;
}
if (sav.data.stats == undefined) {
stats = [[0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0], [0, 0, 7, 0]];
}
if (sav.data.ul2 == undefined) {
ul2 = ul;
}
if (sav.data.stats == undefined) {
stats2 = stats;
}
sndbtn.gotoAndStop(snd);
onEnterFrame = function () {
if (_currentframe == 1) {
if (Key.isDown(27)) {
_root.gotoAndStop("test");
}
ldd = _root.getBytesLoaded();
pct = Math.round((ldd * 100) / ttl);
img.gotoAndStop(pct);
if (pct == 100) {
playbtn._visible = true;
playbtn.enabled = true;
} else {
playbtn._visible = false;
playbtn.enabled = false;
}
_root.l1.filters = [glow];
}
};
Instance of Symbol 135 MovieClip "crs" in Frame 1
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_root.md) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 184 MovieClip "sndbtn" in Frame 1
on (release) {
if (_root.snd) {
gotoAndStop (2);
stopAllSounds();
_root.snd = false;
} else {
gotoAndStop (1);
_root.snd = true;
}
_root.sav.data.snd = _root.snd;
}
Frame 2
var snd1 = new Sound(this);
snd1.attachSound("menuloop");
snd1.start(3, 9999);
_root.l1.clear();
Frame 3
if (idone) {
_root.nextFrame();
}
Frame 4
clearInterval(id);
ttlscr = 0;
i = 0;
while (i < _root.stats.length) {
ttlscr = ttlscr + _root.stats[i][3];
i++;
}
sav.data.achvs = achvs;
idone = true;
sav.data.idone = idone;
Frame 6
onEnterFrame = function () {
if (Key.isDown(77)) {
_root.l1.unloadMovie(_root.l1);
_root.strt = false;
stopAllSounds();
_root.snd1.start(0, 9999);
_root.chcstr = "menu";
_root.otm.play();
}
};
function saveUl() {
if (sav.data.ul < ul) {
sav.data.ul = ul;
}
}
_quality = "LOW";
stop();
pid = 2;
lvln = 1;
lstdth = 0;
timr = 0;
dth = 0;
if (ul == 1) {
notice.alert("intro", "Welcome", "According to our sources, this is your first time playing.\rThe objective is simple: Drag objects to form paths in order to help the Ogotu reach the portal and escape.\r\rThere are rewards for skilled assistants, good luck.\r\rNOTE: Click anywhere to exit this message\r\rNOTE:Press Space when you're ready\r\rNOTE:To learn to assist better, take the Training Course from the Level Select page.");
}
Frame 7
_root.saveUl();
Frame 8
if (ul == 3) {
notice.alert("blueblk", "Blue Block", "The blue block can be dragged left and right, like the green block.\r\rHowever, if the blue block is not touching a surface, it will drop until it does.\r\rIf the block falls out of your contact, it will be transported back to its original location.\r\rLet's see if you can get used to it in the next few tests.");
}
_root.saveUl();
Frame 9
_root.saveUl();
Frame 10
if (ul == 5) {
notice.alert("purpleblk", "Purple Block", "The staff here have greatly debated its name, some say pink, some say purple. We're calling it the Purple Block by pure example, call it what you like.\r\rThe rules applied to the purple block are similar to that of the blue block, however...\r\rWhen the Ogotu touches the pink block, it is boosted into the air, this can be useful as you will now find out.");
}
_root.saveUl();
Frame 11
_root.saveUl();
Frame 12
_root.saveUl();
Frame 13
saveUl();
Frame 14
if (ul == 9) {
notice.alert("orangeblk", "Orange Block", "The orange block is a popular choice for fellow assistants, it can do alot of damage to the Ogotu, especially in large quanitities.\r\rUse your experience with the pink and blue blocks to avoid too much trouble with the orange blocks.\r\r\rUSEFUL NOTE: The orange blocks can sometimes be used!");
}
saveUl();
Frame 15
saveUl();
Frame 16
saveUl();
Frame 17
saveUl();
Frame 18
saveUl();
Frame 19
if (ul == 14) {
notice.alert("whiteblk", "White Block", "One of the very few obstacles in these tests.\r\rWhen an Ogotu touches a White block, it is teminated immediately, this is counted as a Termination or Fall to your score card, so be careful!\r\rNOTE:Draggable Blocks can go through the White Blocks.");
}
saveUl();
Frame 20
saveUl();
Frame 21
saveUl();
Frame 22
saveUl();
Frame 23
if (ul == 18) {
notice.alert("havefun", "Notice", "We are pleased to inform you that you are doing well to get this far!\r\rThough the worst is still to come, we will inform you of any chances to the environment or Ogotu.\r\rFor now, you're on your own, have fun!");
}
saveUl();
Frame 24
saveUl();
Frame 25
saveUl();
Frame 26
if (ul == 21) {
notice.alert("prpgrnblk", "End of Tier", "We've reached the final test of the Tier 1 Ogotu Testing Laboratory, you're doing very well to get this far.\r\rTo help you with this test, we've specially made a new block. It functions in the same way as the purple block, but we've given it anti-gravity capabilities, so you won't have to worry about finding a surface to place the block.\r\rWe will be having a short break once you are finished with the test, and then we will test the Ogotu against some more challenging tests... We feel that this could become the revolutionary new path finder and crash test dummy we've been working towards for so long.\r\rKeep up the good work, and good luck on your final test here at Tier 1.");
}
saveUl();
Frame 27
if (ul == 22) {
notice.alert("newtier", "New Tier", "You'll notice that the Tier 2 testing area has been altered.\r\rWe're trying to see if the Ogotu still responds to blocks, regardless of their colour, so we've replaced the coloured blocks with new testing equipment.\r\rIt is up to you do figure out which ones do what, based off of their shape, size and dragability, this should be no problem to an excellent assisstant such as yourself.\r\rThere is also some heavy machinery still active in Tier 2, so be careful.");
}
if (!_root.achvs[1]) {
alrtmsg.alert("achtier1", "Achievement", "Amateur Assistant");
achvs[1] = true;
}
sav.data.achvs = achvs;
saveUl();
Frame 28
saveUl();
Frame 29
saveUl();
Frame 30
saveUl();
Frame 31
saveUl();
Frame 32
saveUl();
Frame 33
saveUl();
Frame 34
saveUl();
Frame 35
saveUl();
Frame 36
saveUl();
Frame 37
saveUl();
Frame 38
saveUl();
Frame 39
if (ul == 34) {
notice.alert("newtier", "Almost Finished", "Tier 2 is nearing a finish, and you'll notice that the tests are getting ridiculously easier, this is all according to the test.\r\rContinue to assisst, we're almost ready to terminate the tests.");
}
saveUl();
Frame 40
if (ul == 35) {
notice.alert("newtier", "Almost Finished", "Welcome to the end of Tier 2, please assist the Ogotu into the car, our first customer is waiting.\r\rThank you for assisting in the production and release of Ogotu.");
}
saveUl();
Instance of Symbol 878 MovieClip in Frame 40
onClipEvent (enterFrame) {
if ((_root.pl35._y > 70) && (_currentframe == 1)) {
play();
}
}
Frame 41
if (ul == 36) {
notice.alert("newtier3", "Oh My...", "It appears that they abandoned the Ogotu.\r\rI have no idea why there was a gap in the ground, but OG2 Industries is counting on you to return the Ogotu back to the Initiation Centre immediately.\r\rIgnore any earlier prototype Ogotus that you may or may not encounter down there for whatever reason.");
}
if (!_root.achvs[2]) {
alrtmsg.alert("achtier2", "Achievement", "Pro Assistant");
achvs[2] = true;
}
sav.data.achvs = achvs;
saveUl();
onEnterFrame = function () {
if (Key.isDown(80)) {
_root.stats[lvln - 5][1] = 0;
sav.data.stats = _root.stats;
}
};
Frame 42
saveUl();
Frame 43
if (ul == 38) {
notice.alert("stickblk", "Sticky Block", "Looks like we've located one of our not so successful prototype blocks, the Stick Block.\r\rThe original function of this block was to grip to sides if it was falling, provided that there were sides to grip to...\r\rUnfortunately, this is more of a slide block, put it next to the side of an object/between two objects and it will slide slowly.\r\rLuckily, once the Ogotu is activated, all blocks freeze, so you should be able to quickly get across before the box drops.");
}
saveUl();
Frame 44
saveUl();
Frame 45
saveUl();
Frame 46
saveUl();
Frame 47
if (ul == 42) {
notice.alert("newtier3", "The Exit!?", "You actually managed to assist the Ogotu all the way to the exit!?\r\rWe appear to have made a break-through... None of the previous Ogotus have made it this far!\r\rEscort the Ogotu to the exit where cloning will begin.\r\rThank you for participating.");
}
saveUl();
Frame 48
onEnterFrame = function () {
if (Key.isDown(77)) {
_root.chcstr = "menu";
_root.otm.play();
}
};
function makeStick() {
_root.attachMovie("stickman3", "s" + ad, ad);
_root["s" + ad]._x = random(550);
_root["s" + ad]._y = 0;
ad++;
}
if (!_root.achvs[3]) {
alrtmsg.alert("achtier3", "Achievement", "Deity Assistant");
_root.achvs[3] = true;
}
ad = 2;
var id = setInterval(makeStick, 250);
Instance of Symbol 914 MovieClip in Frame 48
onClipEvent (enterFrame) {
_y = (_y - 0.5);
if (_y < 0) {
_root.chcstr = "menu";
_root.otm.play();
}
if (Key.isDown(38)) {
_y = (_y - 4.5);
}
}
Frame 49
notice.alert("howtoa", "Tutorial", "Welcome to the Ogotu Assistant Training Program.\r\rYour task as the Ogotu's assistant is to escort the Ogotu from where it starts to the portal.\r\rThis test is easy. Press space to activate the Ogotu.\r\rWhen ready, click anywhere to continue.");
Frame 50
notice.alert("howtob", "Tutorial", "This level isn't so simple, for it is possible to fail the level here.\r\rNotice the green block. Green blocks can be dragged anywhere, this is the most crucial part of assisting the Ogotu, whether a block is in its way or leaving a gap in the ground.\r\rIt is up to you to keep the Ogotu within reach of us and the exit.");
Frame 51
notice.alert("howtoc", "Tutorial", "Good job, let's step it up a little.\r\rThere're no lines guiding you this time, just get the Ogotu to the exit.");
Frame 52
notice.alert("howtod", "Tutorial", "Very nicely pulled off.\r\rLet's test your bridge building skills...");
Frame 53
notice.alert("howtoe", "Tutorial", "Efficient.\r\rThis is your final test, remember that there will be more than just a green block in the test chambers.\r\rUSEFUL NOTE: All blocks freeze when the Ogotu is activated. This will be important in the test chambers, I can assure you.");
Frame 54
notice.alert("howtoe", "Tutorial", "Congratulations, you're now qualified to assist the Ogotu.\r\rWhen you return to the Main Entrance, you'll notice a badge on your tray.\r\rThat particular badge will probably be for completing the tutorial mode, there are many other badges that you can earn from assisting the Ogotu.\r\rRemember, simply assist the Ogotu, play fair, and don't fail.\r\rPRESS SPACE TO RETURN TO MAIN ENTRANCE.");
if (!achvs[5]) {
alrtmsg.alert("achbeattut", "Achievement!", "Certified Assistant");
achvs[5] = true;
}
sav.data.achvs = achvs;
onEnterFrame = function () {
if ((_currentframe == 54) && (Key.isDown(32))) {
chcstr = "menu";
otm.play();
}
};
Symbol 8 MovieClip [stickman3] Frame 1
xspd = random(4) - 2;
var blur = (new flash.filters.BlurFilter(0, 0, 3));
yspd = 0;
stx = this._x;
sty = this._y;
rspd = 0;
timr = 4;
_root.rvs = false;
ls = 0;
lss = true;
str = "";
aok = true;
onEnterFrame = function () {
blur.blurY = yspd;
this.filters = [blur];
rad = Math.atan2(Math.round(this._y - _root.crs._y) / 5, Math.round(this._x - _root.crs._x) / 5);
deg = Math.round((180 * rad) / Math.PI);
this.smgf._rotation = deg - 90;
timr--;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this.unloadMovie(this);
}
this._x = this._x + xspd;
this._y = this._y + yspd;
if (!_root.rvs) {
if (!_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
yspd = yspd + 0.5;
} else {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = -yspd;
}
} else {
if (!_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
yspd = yspd - 0.5;
} else {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = -yspd;
}
}
if (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
this._x++;
}
xspd = -xspd;
}
};
Symbol 16 MovieClip [p1] Frame 1
gotoAndStop(random(8));
xspd = random(5) - 2.5;
yspd = random(5) - 2.5;
onEnterFrame = function () {
if (xspd == 0) {
xspd = random(5) - 2.5;
}
this._rotation = this._rotation + ((xspd * yspd) / 2);
this._x = this._x + xspd;
this._y = this._y + yspd;
yspd = yspd + 0.5;
if (this._x < 0) {
while (this._x < 0) {
this._x = this._x + 0.5;
}
xspd = -xspd;
}
if (this._x > 550) {
while (this._x > 550) {
this._x = this._x - 0.5;
}
xspd = -xspd;
}
if (this._y > 400) {
while (this._y > 400) {
this._y = this._y - 0.5;
}
yspd = (-yspd) / 1.2;
}
this._alpha = this._alpha - 0.5;
if (this._alpha < 0) {
this.unloadMovie(this);
}
};
stop();
Symbol 19 MovieClip [p2] Frame 20
this.unloadMovie(this);
Symbol 22 MovieClip [p3] Frame 1
this._rotation = random(360);
this._width = random(20);
this._height = this._width;
timr = 120;
spd = random(10);
this.onEnterFrame = function () {
timr = timr - 1.5;
this._alpha = timr;
if (timr < 0) {
this.unloadMovie(this);
}
if (this._rotation < 180) {
this._x = this._x + (spd * Math.sin((180 * this._rotation) / Math.PI));
this._y = this._y - (spd * Math.cos((180 * this._rotation) / Math.PI));
} else {
this._x = this._x + (spd * Math.sin((180 * this._rotation) / Math.PI));
this._y = this._y - (spd * Math.cos((180 * this._rotation) / Math.PI));
}
};
Symbol 30 Button
on (release) {
gotoAndStop (2);
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 10
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 1
function alert(type, msg, smsg) {
ok = true;
icn.gotoAndStop(type);
msga = msg;
smsga = smsg;
}
this._alpha = 0;
ok = false;
timr = 150;
msga = "";
smsga = "";
this.onEnterFrame = function () {
if (_root._currentframe == 2) {
alert("welcome", "Welcome", "to Ogotu!");
}
if (!ok) {
msga = "";
smsga = "";
timr = 150;
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
}
if (ok) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
} else {
timr--;
}
if (timr < 0) {
ok = false;
}
}
};
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1053
stop();
stopAllSounds();
_root.snd3.start(0, 9999);
Symbol 179 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
function alert(type, cpt, msg) {
ok = true;
icn.gotoAndStop(type);
cpta = cpt;
msga = msg;
}
this._alpha = 0;
ok = false;
cpta = "";
msga = "";
this._x = 9990;
this._y = 9990;
this.onEnterFrame = function () {
if (!ok) {
if (this._alpha <= 0) {
this._x = 9990;
this._y = 9990;
}
cpta = "";
msga = "";
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
this.enabled = false;
_root.note = false;
}
if (ok) {
_root.pz = true;
this._x = 275;
this._y = 200;
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
this.enabled = true;
_root.note = true;
}
};
this.onRelease = function () {
if (this._alpha >= 80) {
ok = false;
_root.pz = false;
}
};
Symbol 184 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 10
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 40
_root.gotoAndStop(_root.chcstr);
Symbol 192 MovieClip Frame 66
_root.nextFrame();
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 1
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 145
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 146
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 147
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 148
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 149
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 150
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 151
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 152
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 154
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 155
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 156
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 157
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 158
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 159
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 160
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Symbol 560 MovieClip Frame 162
_root.nextFrame();
Instance of Symbol 194 MovieClip in Symbol 560 MovieClip Frame 162
on (release) {
_root.getURL("http://www.topaz-games.com/", "_blank");
}
Symbol 663 MovieClip Frame 75
stop();
Symbol 667 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 1
stop();
Instance of Symbol 667 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(1);
_root.speech.txt = "Animal Lover\r\rRescue the teddy bear.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[0]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 669 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(5);
_root.speech.txt = "Deity Assistant\r\rEscape the vent.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[3]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 671 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(4);
_root.speech.txt = "Pro Assistant\r\rFinish Tier 2.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[2]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 673 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(3);
_root.speech.txt = "Amateur Assistant\r\rFinish Tier 1.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[1]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 675 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(8);
_root.speech.txt = "Survival\r\rMake it through all 42 levels without any falls.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[6]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 677 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(2);
_root.speech.txt = "Certified Assistant\r\rFinish Tutorial Mode.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[5]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 679 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(7);
_root.speech.txt = "Straight As\r\rGet an A or higher in every level.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[4]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 681 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(random(176), random(160)));
xspd = 0;
yspd = 0;
}
on (rollOver) {
_root.speech._alpha = 100;
_root.speech.badgeicon.gotoAndStop(6);
_root.speech.txt = "Superstar\r\rAccumulate atleast 20 star ratings.";
}
on (rollOut) {
_root.speech._alpha = 0;
_root.speech.txt = "";
}
onClipEvent (enterFrame) {
if (_root.achvs[7]) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.speech._x = _root._xmouse;
_root.speech._y = _root._ymouse;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Symbol 690 MovieClip Frame 150
stop();
Symbol 700 MovieClip Frame 1
stop();
Symbol 713 Button
on (release) {
_root.chcstr = "introa";
_root.otm.play();
}
Symbol 717 Button
on (release) {
_root.chcstr = "tutorial";
_root.otm.play();
}
Symbol 720 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 1
xspd = 0;
yspd = 0;
this._alpha = 0;
num = 0;
timrok = 0;
num = Number(this._name.substr(1, this._name.length - 1));
var pt1 = (new flash.geom.Point(random(Stage.width), random(Stage.height) / 2));
sypt = pt1.y;
this.onPress = function () {
md = true;
};
this.onRelease = function () {
if ((box._currentframe == 1) && (timrok <= 100)) {
stopAllSounds();
_root.snds.play();
_root.lvln = num;
_root.chcstr = Number(num + 5);
_root.otm.play();
}
md = false;
timrok = 0;
};
this.onRollOver = function () {
_parent.ttkn = _root.stats[num - 1][0];
_parent.dths = _root.stats[num - 1][1];
_parent.rmcs.gotoAndStop(_root.stats[num - 1][2]);
_parent.rkgs = _root.stats[num - 1][3];
};
onEnterFrame = function () {
if (md) {
timrok++;
}
if (_root.ul >= num) {
box.gotoAndStop(1);
} else {
box.gotoAndStop(2);
}
this._alpha = this._alpha + 3;
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (num <= 10) {
pt1.x = 100 + (32 * num);
pt1.y = 32;
}
if ((num >= 11) && (num <= 20)) {
pt1.x = 100 + (32 * (num - 10));
pt1.y = 64;
}
if ((num >= 21) && (num <= 30)) {
pt1.x = 100 + (32 * (num - 20));
pt1.y = 96;
}
if ((num >= 31) && (num <= 40)) {
pt1.x = 100 + (32 * (num - 30));
pt1.y = 128;
}
if (num >= 41) {
pt1.x = 228 + (32 * (num - 40));
pt1.y = 160;
}
} else if ((box._currentframe == 1) && (md)) {
pt1.x = _root._xmouse;
pt1.y = _root._ymouse;
}
this._x = this._x + (Math.round(pt1.x - this._x) / 5);
this._y = this._y + (Math.round(pt1.y - this._y) / 5);
};
Symbol 723 MovieClip Frame 1
scrttl = _root.ttlscr;
stop();
Instance of Symbol 576 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(20, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 578 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(60, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 580 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(220, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 582 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(140, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 584 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(180, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 580 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(100, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 586 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(260, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 588 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(300, 137));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.pbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 578 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(20, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 588 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(60, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 590 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(100, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 588 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(140, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 578 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(180, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 592 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(220, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 588 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(260, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 578 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(300, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 588 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(340, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 594 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(380, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 596 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
var pt = (new flash.geom.Point(420, 197));
xspd = 0;
yspd = 0;
}
onClipEvent (enterFrame) {
if (!_root.mnu.lsbtn.hitTest(_root._xmouse, _root._ymouse, true)) {
xspd = (pt.x - _x) / 5;
yspd = (pt.y - _y) / 5;
} else {
xspd = ((_root._xmouse + (random(300) - 150)) - _x) / 20;
yspd = ((_root._ymouse + (random(300) - 150)) - _y) / 20;
}
if (_root.mnu._currentframe == 1) {
this._x = this._x + xspd;
this._y = this._y + yspd;
} else {
this._x = this._x - xspd;
this._y = this._y - yspd;
}
}
Instance of Symbol 665 MovieClip "pbtn" in Symbol 723 MovieClip Frame 1
on (release) {
stopAllSounds();
_root.snds.play();
if ((_root.ul == 1) && (!_root.achvs[5])) {
_root.chcstr = "query";
_root.otm.play();
_root.mnu.nextFrame();
} else {
_root.chcstr = "level1";
_root.otm.play();
_root.mnu.nextFrame();
}
}
Instance of Symbol 665 MovieClip "lsbtn" in Symbol 723 MovieClip Frame 1
on (release) {
_root.mnu.gotoAndStop(3);
}
Instance of Symbol 663 MovieClip "logo" in Symbol 723 MovieClip Frame 2
onClipEvent (enterFrame) {
gotoAndStop (75);
_alpha = (_alpha - 5);
}
Instance of Symbol 665 MovieClip "pbtn" in Symbol 723 MovieClip Frame 2
onClipEvent (enterFrame) {
_alpha = (_alpha - 5);
}
Instance of Symbol 665 MovieClip "lsbtn" in Symbol 723 MovieClip Frame 2
onClipEvent (enterFrame) {
_alpha = (_alpha - 5);
}
Instance of Symbol 688 MovieClip "bg" in Symbol 723 MovieClip Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 3);
}
}
Symbol 723 MovieClip Frame 3
dth = 0;
ttkn = 0;
rnk = 0;
achok1 = true;
achok2 = true;
star = 0;
if ((!_root.achvs[4]) && (_root.ul >= 42)) {
i = 0;
while (i <= 41) {
if (_root.stats[i][2] <= 6) {
achok2 = false;
}
i++;
}
if (achok2) {
_root.alrtmsg.alert("achalla", "Achievement!", "Straight As");
_root.achvs[4] = true;
}
}
if ((!_root.achvs[6]) && (_root.ul >= 42)) {
i = 0;
while (i <= 41) {
if ((_root.stats[i][1] > 0) && (_root.stats[i][2] != "undefined")) {
achok1 = false;
}
i++;
}
if (achok1) {
_root.alrtmsg.alert("achnodie", "Achievement!", "Survival");
_root.achvs[6] = true;
}
}
if (!_root.achvs[7]) {
i = 0;
while (i <= 41) {
if (_root.stats[i][2] >= 8) {
star++;
}
i++;
}
if (star >= 20) {
_root.alrtmsg.alert("achstars", "Achievement!", "Superstar");
_root.achvs[7] = true;
}
}
_root.sav.data.achvs = _root.achvs;
onEnterFrame = function () {
if (ttkn == "undefined") {
ttkn = "???";
}
if (dth == "undefined") {
dth = "???";
}
if (rnk == "undefined") {
rnk = "???";
}
};
Instance of Symbol 663 MovieClip "logo" in Symbol 723 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop (75);
if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 665 MovieClip in Symbol 723 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Instance of Symbol 665 MovieClip in Symbol 723 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
}
}
Symbol 724 MovieClip Frame 1
xspd = 2;
var blur = (new flash.filters.BlurFilter(0, 0, 3));
yspd = 0;
stx = this._x;
sty = this._y;
rspd = 0;
timr = 4;
_root.rvs = false;
ls = 0;
lss = true;
str = "";
aok = true;
_root.createEmptyMovieClip("l1", 1);
this.onEnterFrame = function () {
if (lss) {
ls++;
} else {
ls--;
}
if (ls == 2) {
_root.l1.lineStyle(2, 16777215, 100);
lss = false;
}
if (ls == 0) {
_root.l1.lineStyle(2, 16777215, 0);
lss = true;
}
blur.blurY = yspd;
this.filters = [blur];
rad = Math.atan2(Math.round(this._y - _root.crs._y) / 5, Math.round(this._x - _root.crs._x) / 5);
deg = Math.round((180 * rad) / Math.PI);
this.smgf._rotation = deg - 90;
if (_root.strt && (!_root.pz)) {
_root.l1.blendMode = "difference";
_root.l1.lineTo(this._x, this._y);
timr--;
if (timr < 0) {
_root.pid++;
_root.attachMovie("p2", "p" + _root.pid, _root.pid);
_root["p" + _root.pid]._x = this._x;
_root["p" + _root.pid]._y = this._y;
_root["p" + _root.pid]._rotation = random(360);
_root["p" + _root.pid].blendMode = "overlay";
timr = 2;
}
if (Key.isDown(82)) {
_root.strt = false;
this._x = stx;
this._y = sty;
xspd = 2;
yspd = 0;
}
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
str = (_root.timr + " Time : Death ") + (_root.dth + 1);
_root.alrtmsg.alert("fail", "You Died!", str);
this._x = stx;
this._y = sty;
xspd = 2;
yspd = 0;
_root.rvs = false;
_root.dth++;
_root.rvs = false;
_root.strt = false;
}
if (this.hitTest(_root.exit)) {
_root.l1.clear();
if (aok) {
if (_root.ul == 21) {
_root.notice.alert("notice", "Congratulations", "We're pleased to inform you that you have successfully assissted the Ogotu through Tier 1 of the Ogotu Testing Laboratories.\r\rWe will be having a break, we recommend that you do too; Eye damage is a common side-effect from spending too much time around the Ogotu.\r\rYou may continue if you really want to, but we do not recommend it and are not responsible for anything that may happen to you if you choose to continue now.");
}
str = (_root.timr + " Time : Death ") + _root.dth;
_root.alrtmsg.alert("win", ("You Beat Level " + _root.lvln) + "!", str);
aok = false;
}
_root.pz = true;
_root.bg.play();
_root.win.play();
}
this._x = this._x + xspd;
this._y = this._y + yspd;
if (!_root.rvs) {
if (!_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
yspd = yspd + 0.25;
} else {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = -yspd;
}
} else {
if (!_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
yspd--;
} else {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = -yspd;
}
}
if (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
this._x++;
}
xspd = -xspd;
}
z = 0;
while (z < _root.lvl.maxn) {
if (_root.lvl["w" + z].hitTest(this)) {
str = (_root.timr + " Time : Death ") + (_root.dth + 1);
_root.alrtmsg.alert("fail", "You Died!", str);
this._x = stx;
this._y = sty;
xspd = 2;
yspd = 0;
_root.rvs = false;
_root.dth++;
_root.rvs = false;
_root.strt = false;
}
z++;
}
} else {
_root.rvs = false;
_root.l1.moveTo(this._x, this._y);
if (Key.isDown(32) && (!_root.note)) {
_root.strt = true;
}
}
};
Symbol 730 MovieClip Frame 1
drg = false;
ypt = 0;
xpt = 0;
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
};
onMouseUp = function () {
_root.crs.gotoAndStop(1);
drg = false;
};
this.onRelease = function () {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
this.onEnterFrame = function () {
if (!_root.strt) {
this._y = this._y + yspd;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
drg = true;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
if (xpt > 20) {
xpt = 20;
}
if (xpt <= -20) {
xpt = -20;
}
if (ypt > 20) {
ypt = 20;
}
if (ypt <= -20) {
ypt = -20;
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
}
};
Symbol 731 MovieClip Frame 1
maxn = 3;
Symbol 770 MovieClip Frame 1
timr = 4;
stop();
Symbol 770 MovieClip Frame 2
cfr = 0;
xpt = random(550);
ypt = random(400);
onEnterFrame = function () {
if (_currentframe != 1) {
timr--;
cfr = _root.lvln;
if (timr < 0) {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p3", "p" + i, i);
_root["p" + i]._x = xpt;
_root["p" + i]._y = ypt;
i++;
}
_root.pid = _root.pid + 10;
xpt = random(550);
ypt = random(400);
timr = 4;
}
}
};
Symbol 770 MovieClip Frame 11
if (_root.ul <= _root.lvln) {
_root.ul = _root.ul + 1;
if (_root.ul > _root.sav.data.ul) {
_root.sav.data.ul = _root.ul;
}
}
Symbol 770 MovieClip Frame 26
stop();
rnk = 0;
timr = _root.timr;
dth = _root.dth;
if (dth >= 1) {
rnk = timr + dth;
} else {
rnk = Math.round(timr / 1.5);
}
_root.sav.data.achvs = _root.achvs;
onEnterFrame = function () {
if (dth >= 1) {
if (rnk <= 10) {
rnkgxc.gotoAndStop(8);
} else if ((rnk >= 11) && (rnk <= 25)) {
rnkgxc.gotoAndStop(7);
} else if ((rnk >= 26) && (rnk <= 50)) {
rnkgxc.gotoAndStop(6);
} else if ((rnk >= 51) && (rnk <= 100)) {
rnkgxc.gotoAndStop(5);
} else if ((rnk >= 101) && (rnk <= 175)) {
rnkgxc.gotoAndStop(4);
} else if ((rnk >= 176) && (rnk <= 250)) {
rnkgxc.gotoAndStop(3);
} else {
rnkgxc.gotoAndStop(2);
}
} else if (rnk <= 50) {
rnkgxc.gotoAndStop(8);
} else if ((rnk >= 51) && (rnk <= 125)) {
rnkgxc.gotoAndStop(7);
} else if ((rnk >= 126) && (rnk <= 250)) {
rnkgxc.gotoAndStop(6);
} else if ((rnk >= 251) && (rnk <= 500)) {
rnkgxc.gotoAndStop(5);
} else if ((rnk >= 501) && (rnk <= 775)) {
rnkgxc.gotoAndStop(4);
} else if ((rnk >= 776) && (rnk <= 1250)) {
rnkgxc.gotoAndStop(3);
} else {
rnkgxc.gotoAndStop(2);
}
if (this._currentframe == 26) {
if (_root.stats[_root.lvln - 1][0] < timr) {
_root.stats[_root.lvln - 1][0] = timr;
}
if (_root.stats[_root.lvln - 1][1] > dth) {
_root.stats[_root.lvln - 1][1] = dth;
}
if (_root.stats[_root.lvln - 1][3] < rnk) {
_root.stats[_root.lvln - 1][3] = rnk;
}
if (_root.stats[_root.lvln - 1][2] < rnkgxc._currentframe) {
_root.stats[_root.lvln - 1][2] = rnkgxc._currentframe;
}
_root.sav.data.stats = _root.stats;
if (_root.md) {
this.gotoAndPlay(27);
}
}
};
trace(_root.ul);
Symbol 770 MovieClip Frame 27
_root.strt = false;
_root.pz = false;
_root.lvln++;
Symbol 770 MovieClip Frame 30
_root.dth = 0;
_root.timr = 0;
_root.strt = false;
_root.nextFrame();
Symbol 770 MovieClip Frame 40
_root.pz = false;
cfr = 0;
xpt = random(550);
ypt = random(400);
_root.sav.data.stats = _root.stats;
onEnterFrame = function () {
if (_currentframe != 1) {
cfr = _root.lvln;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p3", "p" + i, i);
_root["p" + i]._x = xpt;
_root["p" + i]._y = ypt;
i++;
}
_root.pid = _root.pid + 10;
xpt = random(550);
ypt = random(400);
}
};
Symbol 773 MovieClip Frame 1
function addTimer() {
_root.timr++;
}
onEnterFrame = function () {
if ((_root.strt && (_root.win._currentframe == 1)) && (!_root.pz)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
clearInterval(timer);
}
};
Symbol 773 MovieClip Frame 2
var timer = setInterval(addTimer, 100);
Symbol 774 MovieClip Frame 1
maxn = 3;
Symbol 778 MovieClip Frame 1
drg = false;
yspd = 0;
xpt = 0;
stx = this._x;
sty = this._y;
typ = "blue";
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._x);
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
this._y = this._y + yspd;
if (yspd >= 20) {
yspd = 20;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
yspd = 0;
}
};
Symbol 779 MovieClip Frame 1
maxn = 5;
Symbol 781 MovieClip Frame 1
maxn = 7;
Symbol 784 MovieClip Frame 1
drg = false;
yspd = 0;
xpt = 0;
stx = this._x;
sty = this._y;
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
this._y = this._y + yspd;
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
i = 1;
while (i < 100) {
if (this.hitTest(_root["pl" + i])) {
if (!_root["pl" + i].rvs) {
_root["pl" + i].yspd = -8;
} else {
_root["pl" + i].yspd = 8;
}
}
i++;
}
}
};
Symbol 785 MovieClip Frame 1
maxn = 4;
Symbol 787 MovieClip Frame 1
maxn = 4;
Symbol 789 MovieClip Frame 1
maxn = 8;
Symbol 792 MovieClip Frame 1
maxn = 11;
Symbol 795 MovieClip Frame 1
drg = false;
ypt = 0;
xpt = 0;
stx = this._x;
sty = this._y;
yspd = 0;
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
};
this.onRelease = function () {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
yspd = 0;
this._y = this._y + yspd;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
drg = true;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
} else {
this._y = this._y + yspd;
yspd++;
if ((((this._x < 0) || (this._x > 550)) || (this._y > 400)) || (this._y < 0)) {
this._x = stx;
this._y = sty;
}
a = 0;
while (a <= _root.lvl.maxn) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = -yspd;
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = -yspd;
}
}
a++;
}
}
};
Symbol 796 MovieClip Frame 1
maxn = 17;
Symbol 798 MovieClip Frame 1
maxn = 3;
Symbol 800 MovieClip Frame 1
maxn = 7;
Symbol 803 MovieClip Frame 1
maxn = 13;
Symbol 805 MovieClip Frame 1
maxn = 25;
Symbol 809 MovieClip Frame 1
maxn = 21;
Symbol 812 MovieClip Frame 1
maxn = 7;
Symbol 815 MovieClip Frame 1
maxn = 10;
Symbol 817 MovieClip Frame 1
maxn = 12;
Symbol 818 MovieClip Frame 1
maxn = 16;
Symbol 819 MovieClip Frame 1
maxn = 16;
Symbol 820 MovieClip Frame 1
maxn = 12;
Symbol 822 MovieClip Frame 1
drg = false;
xpt = 0;
ypt = 0;
stx = this._x;
sty = this._y;
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if (!_root.strt) {
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
} else {
i = 1;
while (i < 100) {
if (this.hitTest(_root["pl" + i])) {
if (!_root["pl" + i].rvs) {
_root["pl" + i].yspd = -8;
} else {
_root["pl" + i].yspd = 8;
}
}
i++;
}
}
};
Symbol 823 MovieClip Frame 1
maxn = 12;
Symbol 831 MovieClip Frame 1
drg = false;
xpt = 0;
ypt = 0;
stx = this._x;
sty = this._y;
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if (!_root.strt) {
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
} else {
i = 1;
while (i < 100) {
if (this.hitTest(_root["pl" + i])) {
if (!_root["pl" + i].rvs) {
_root["pl" + i].yspd = -8;
} else {
_root["pl" + i].yspd = 8;
}
}
i++;
}
}
};
Symbol 835 MovieClip Frame 1
drg = false;
ypt = 0;
xpt = 0;
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
};
onMouseUp = function () {
_root.crs.gotoAndStop(1);
drg = false;
};
this.onRelease = function () {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
this.onEnterFrame = function () {
if (!_root.strt) {
this._y = this._y + yspd;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
drg = true;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
if (xpt > 20) {
xpt = 20;
}
if (xpt <= -20) {
xpt = -20;
}
if (ypt > 20) {
ypt = 20;
}
if (ypt <= -20) {
ypt = -20;
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
}
};
Symbol 836 MovieClip Frame 1
maxn = 6;
Symbol 839 MovieClip Frame 1
spd = 0.5;
timr = this._height;
sty = this._y;
sttmr = timr;
onEnterFrame = function () {
if (_root.strt) {
timr--;
if (timr > 0) {
this._y = this._y - spd;
}
} else {
this._y = sty;
timr = sttmr;
}
};
Symbol 840 MovieClip Frame 1
maxn = 10;
Symbol 842 MovieClip Frame 1
drg = false;
yspd = 0;
xpt = 0;
stx = this._x;
sty = this._y;
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
this._y = this._y + yspd;
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
i = 1;
while (i < 100) {
if (this.hitTest(_root["pl" + i])) {
if (!_root["pl" + i].rvs) {
_root["pl" + i].yspd = -8;
} else {
_root["pl" + i].yspd = 8;
}
}
i++;
}
}
};
Symbol 843 MovieClip Frame 1
maxn = 9;
Symbol 844 MovieClip Frame 1
maxn = 10;
Symbol 849 MovieClip Frame 1
xspd = 0;
yspd = 0;
stx = this._x;
sty = this._y;
onEnterFrame = function () {
if (_root.strt) {
i = 26;
while (i <= 42) {
xspd = Math.round(_root["pl" + i]._x - this._x) / 240;
yspd = Math.round(_root["pl" + i]._y - this._y) / 240;
this._x = this._x + xspd;
this._y = this._y + yspd;
i++;
}
a = 0;
while (a < _root.lvl.maxn) {
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x++;
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x--;
}
}
a++;
}
} else {
this._x = stx;
this._y = sty;
}
};
Symbol 851 MovieClip Frame 1
drg = false;
yspd = 0;
xpt = 0;
stx = this._x;
sty = this._y;
typ = "blue";
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._x);
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
this._y = this._y + yspd;
if (yspd >= 20) {
yspd = 20;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
yspd = 0;
}
};
Symbol 852 MovieClip Frame 1
maxn = 7;
Symbol 854 MovieClip Frame 1
spd = 0.5;
timr = this._height;
sty = this._y;
sttmr = timr;
onEnterFrame = function () {
if (_root.strt) {
timr--;
if (timr > 0) {
this._y = this._y + spd;
}
} else {
this._y = sty;
timr = sttmr;
}
};
Symbol 855 MovieClip Frame 1
maxn = 18;
Symbol 857 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.achvs[0]) {
if (_root.pl27.hitTest(this)) {
_root.alrtmsg.alert("achfindteddy", "Achievement", "Animal Lover!");
_root.achvs[0] = true;
_root.sav.data.achvs = _root.sav.data.achvs;
}
} else {
this._visible = false;
}
};
Symbol 858 MovieClip Frame 1
maxn = 13;
Symbol 859 MovieClip Frame 1
maxn = 11;
Symbol 861 MovieClip Frame 1
drg = false;
ypt = 0;
xpt = 0;
stx = this._x;
sty = this._y;
yspd = 0;
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
};
this.onRelease = function () {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
yspd = 0;
this._y = this._y + yspd;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
drg = true;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
} else {
this._y = this._y + yspd;
yspd++;
if ((((this._x < 0) || (this._x > 550)) || (this._y > 400)) || (this._y < 0)) {
this._x = stx;
this._y = sty;
}
a = 0;
while (a <= _root.lvl.maxn) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = -yspd;
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = -yspd;
}
}
a++;
}
}
};
Symbol 862 MovieClip Frame 1
maxn = 5;
Symbol 865 MovieClip Frame 1
maxn = 9;
Symbol 866 MovieClip Frame 1
maxn = 9;
Symbol 867 MovieClip Frame 1
maxn = 11;
Symbol 868 MovieClip Frame 1
maxn = 11;
Symbol 870 MovieClip Frame 1
maxn = 11;
Symbol 878 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 30
stop();
Symbol 878 MovieClip Frame 146
stop();
Symbol 887 MovieClip Frame 1
drg = false;
yspd = 0;
xpt = 0;
stx = this._x;
sty = this._y;
typ = "blue";
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._x);
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
this._y = this._y + yspd;
if (yspd >= 20) {
yspd = 20;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
yspd = 0;
}
};
Symbol 888 MovieClip Frame 1
maxn = 4;
Symbol 889 MovieClip Frame 1
xspd = random(20) / 10;
var blur = (new flash.filters.BlurFilter(0, 0, 3));
yspd = 0;
rspd = 0;
timr = 4;
_root.rvs = false;
ls = 0;
lss = true;
str = "";
aok = true;
onEnterFrame = function () {
blur.blurY = yspd;
this.filters = [blur];
rad = Math.atan2(Math.round(this._y - _root.crs._y) / 5, Math.round(this._x - _root.crs._x) / 5);
deg = Math.round((180 * rad) / Math.PI);
this.smgf._rotation = deg - 90;
timr--;
if (timr < 0) {
_root.pid++;
_root.attachMovie("p2", "p" + _root.pid, _root.pid);
_root["p" + _root.pid]._x = this._x;
_root["p" + _root.pid]._y = this._y;
_root["p" + _root.pid]._rotation = random(360);
_root["p" + _root.pid].blendMode = "overlay";
timr = 2;
}
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this.unloadMovie(this);
}
this._x = this._x + xspd;
this._y = this._y + yspd;
if (!_root.rvs) {
if (!_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
yspd++;
} else {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = -yspd;
}
} else {
if (!_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
yspd--;
} else {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = -yspd;
}
}
if (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
this._x++;
}
xspd = -xspd;
}
z = 0;
while (z < _root.lvl.maxn) {
if (_root.lvl["w" + z].hitTest(this)) {
str = (_root.timr + " Time : Death ") + (_root.dth + 1);
_root.alrtmsg.alert("fail", "You Died!", str);
this._x = stx;
this._y = sty;
xspd = 4;
yspd = 0;
_root.rvs = false;
_root.dth++;
_root.rvs = false;
_root.strt = false;
}
z++;
}
};
Symbol 891 MovieClip Frame 1
maxn = 9;
Symbol 897 MovieClip Frame 1
xspd = 0;
yspd = 0;
stx = this._x;
sty = this._y;
onEnterFrame = function () {
if (_root.strt) {
i = 26;
while (i <= 42) {
xspd = Math.round(_root["pl" + i]._x - this._x) / 120;
yspd = Math.round(_root["pl" + i]._y - this._y) / 120;
this._x = this._x + xspd;
this._y = this._y + yspd;
i++;
}
a = 0;
while (a < _root.lvl.maxn) {
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x++;
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x--;
}
}
a++;
}
} else {
this._x = stx;
this._y = sty;
}
};
Symbol 899 MovieClip Frame 1
drg = false;
ypt = 0;
xpt = 0;
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
};
onMouseUp = function () {
_root.crs.gotoAndStop(1);
drg = false;
};
this.onRelease = function () {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
this.onEnterFrame = function () {
if (!_root.strt) {
this._y = this._y + yspd;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
drg = true;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
if (xpt > 20) {
xpt = 20;
}
if (xpt <= -20) {
xpt = -20;
}
if (ypt > 20) {
ypt = 20;
}
if (ypt <= -20) {
ypt = -20;
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
}
};
Symbol 901 MovieClip Frame 1
drg = false;
yspd = 0;
stx = this._x;
sty = this._y;
typ = "blue";
this.onPress = function () {
drg = true;
xd = Math.round(_root._xmouse - this._y);
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if (!_root.strt) {
this._y = this._y + yspd;
if (yspd >= 20) {
yspd = 20;
}
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (_root.lvl["b" + a].hitTest((this._x - (this._width / 2)) - 10, this._y, true) || (_root.lvl["b" + a].hitTest((this._x + (this._width / 2)) + 10, this._y, true))) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = 0;
}
} else if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if ((this._name != _root.lvl["b" + a]._name) && (_root.lvl["b" + a].typ != "white")) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
yspd = 0;
}
};
Symbol 902 MovieClip Frame 1
maxn = 5;
onEnterFrame = function () {
if ((this.b3._y > 300) && (!_root.strt)) {
this.b3._x = this.b3.stx;
this.b3._y = this.b3.sty;
}
};
Symbol 903 MovieClip Frame 1
maxn = 15;
Symbol 905 MovieClip Frame 1
drg = false;
yspd = 0;
xpt = 0;
stx = this._x;
sty = this._y;
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
}
if (!_root.strt) {
this._y = this._y + yspd;
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
yspd = 0;
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
if (!_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
yspd = yspd + 0.1;
}
}
} else {
yspd = 0;
}
a++;
}
} else {
i = 1;
while (i < 100) {
if (this.hitTest(_root["pl" + i])) {
if (!_root["pl" + i].rvs) {
_root["pl" + i].yspd = -8;
} else {
_root["pl" + i].yspd = 8;
}
}
i++;
}
}
};
Symbol 906 MovieClip Frame 1
maxn = 12;
Symbol 908 MovieClip Frame 1
drg = false;
xpt = 0;
ypt = 0;
stx = this._x;
sty = this._y;
this.onPress = function () {
xd = Math.round(_root._xmouse - this._x);
yd = Math.round(_root._ymouse - this._y);
drg = true;
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
onMouseUp = function () {
drg = false;
_root.crs.gotoAndStop(1);
};
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onEnterFrame = function () {
if (!_root.strt) {
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse - xd;
this._y = _root._ymouse - yd;
}
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
} else {
i = 1;
while (i < 100) {
if (this.hitTest(_root["pl" + i])) {
if (!_root["pl" + i].rvs) {
_root["pl" + i].yspd = -8;
} else {
_root["pl" + i].yspd = 8;
}
}
i++;
}
}
};
Symbol 909 MovieClip Frame 1
maxn = 16;
Symbol 911 MovieClip Frame 1
maxn = 13;
Symbol 912 MovieClip Frame 1
maxn = 13;
Symbol 918 MovieClip Frame 1
maxn = 1;
Symbol 919 MovieClip Frame 1
xspd = 2;
var blur = (new flash.filters.BlurFilter(0, 0, 3));
yspd = 0;
stx = this._x;
sty = this._y;
rspd = 0;
timr = 4;
_root.rvs = false;
ls = 0;
lss = true;
str = "";
aok = true;
_root.createEmptyMovieClip("l1", 1);
onEnterFrame = function () {
if (lss) {
ls++;
} else {
ls--;
}
if (ls == 2) {
_root.l1.lineStyle(2, 16777215, 100);
lss = false;
}
if (ls == 0) {
_root.l1.lineStyle(2, 16777215, 0);
lss = true;
}
blur.blurY = yspd;
this.filters = [blur];
rad = Math.atan2(Math.round(this._y - _root.crs._y) / 5, Math.round(this._x - _root.crs._x) / 5);
deg = Math.round((180 * rad) / Math.PI);
this.smgf._rotation = deg - 90;
if (_root.strt && (!_root.pz)) {
_root.l1.blendMode = "difference";
_root.l1.lineTo(this._x, this._y);
timr--;
if (timr < 0) {
_root.pid++;
_root.attachMovie("p2", "p" + _root.pid, _root.pid);
_root["p" + _root.pid]._x = this._x;
_root["p" + _root.pid]._y = this._y;
_root["p" + _root.pid]._rotation = random(360);
_root["p" + _root.pid].blendMode = "overlay";
timr = 2;
}
if (Key.isDown(82)) {
_root.strt = false;
this._x = stx;
this._y = sty;
xspd = 2;
yspd = 0;
}
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
this._x = stx;
this._y = sty;
xspd = 2;
yspd = 0;
_root.strt = false;
_root.rvs = false;
}
if (this.hitTest(_root.exit)) {
_root.l1.clear();
_root.pz = true;
_root.win.play();
}
this._x = this._x + xspd;
this._y = this._y + yspd;
if (!_root.rvs) {
if (!_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
yspd = yspd + 0.5;
} else {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = -yspd;
}
} else {
if (!_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
yspd = yspd - 0.5;
} else {
while (_root.lvl.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
yspd = 0;
}
if (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
while (_root.lvl.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
yspd = -yspd;
}
}
if (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x + (this._width / 2), this._y, true)) {
this._x--;
}
xspd = -xspd;
}
if (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
while (_root.lvl.hitTest(this._x - (this._width / 2), this._y, true)) {
this._x++;
}
xspd = -xspd;
}
} else {
_root.rvs = false;
_root.l1.moveTo(this._x, this._y);
if (Key.isDown(32) && (!_root.note)) {
_root.strt = true;
}
}
};
Symbol 922 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 10
_root.strt = false;
_root.nextFrame();
Symbol 922 MovieClip Frame 20
_root.pz = false;
Symbol 923 MovieClip Frame 1
drg = false;
ypt = 0;
xpt = 0;
this.onRollOver = function () {
_root.crs.gotoAndPlay(3);
};
this.onRollOut = function () {
_root.crs.gotoAndStop(1);
};
this.onPress = function () {
drg = true;
};
onMouseUp = function () {
_root.crs.gotoAndStop(1);
drg = false;
};
this.onRelease = function () {
i = _root.pid;
while (i < (_root.pid + 10)) {
_root.attachMovie("p1", "p" + i, i);
_root["p" + i]._x = _root._xmouse;
_root["p" + i]._y = _root._ymouse;
i++;
}
_root.pid = _root.pid + 10;
};
this.onEnterFrame = function () {
if (!_root.strt) {
this._y = this._y + yspd;
if ((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) {
drg = true;
}
if (!_root.pz) {
if (drg) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
if (xpt > 20) {
xpt = 20;
}
if (xpt <= -20) {
xpt = -20;
}
if (ypt > 20) {
ypt = 20;
}
if (ypt <= -20) {
ypt = -20;
}
a = 0;
while (a <= _root.lvl.maxn) {
if (!drg) {
if (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y + (this._height / 2), true)) {
this._y--;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x, this._y - (this._height / 2), true)) {
this._y++;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - 2;
}
}
}
if (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
if (this._name != _root.lvl["b" + a]._name) {
while (_root.lvl["b" + a].hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + 2;
}
}
}
}
a++;
}
}
};
Symbol 924 MovieClip Frame 1
maxn = 3;
Symbol 926 MovieClip Frame 1
maxn = 6;
Symbol 927 MovieClip Frame 1
maxn = 7;
Symbol 928 MovieClip Frame 1
maxn = 5;
Symbol 930 Button
on (release) {
_root.chcstr = "tutorial";
_root.otm.play();
}
Symbol 931 Button
on (release) {
_root.chcstr = "level1";
_root.otm.play();
}