Frame 1
function menuChoiceOne() {
getURL ("http://www.gameprison.org");
}
stop();
score = 0;
scoreb = 0;
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Gameprison.com", menuChoiceOne));
this.menu = NewMenu;
stop();
Instance of Symbol 31 MovieClip "loadBar" in Frame 1
onClipEvent (enterFrame) {
bytes = _root.getBytesTotal();
bytes_loaded = _root.getBytesLoaded();
percent = int((bytes_loaded / bytes) * 100);
if (bytes_loaded == bytes) {
_parent.gotoAndPlay(2);
}
_xscale = percent;
}
Instance of Symbol 48 MovieClip "a" in Frame 1
onClipEvent (load) {
stx = _x;
sty = _y;
}
onClipEvent (enterFrame) {
if ((_root._currentframe < 6) || (_root._currentframe > 33)) {
hud._y = hud.sty;
} else {
hud._y = hud.gpy;
}
if (_root.modea == 2) {
hud.score = _root.score;
} else if (_root.score < 10) {
hud.score = "0" + (Math.round(_root.score * 100) / 100);
} else {
hud.score = Math.round(_root.score * 100) / 100;
}
if (_root.modea == 2) {
hud.scoreb = "+" + _root.scoreb;
} else {
hud.scoreb = ("+" + Math.floor(_root.scoreb)) + "sec";
}
}
Frame 2
stop();
Instance of Symbol 97 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(65) && (Key.isDown(68))) {
_root.play();
}
}
Frame 3
_root.musicplaying = false;
_root.music1.stop();
if (musicplaying == false) {
music1.stop();
music1 = new Sound(this);
music1.attachSound("menu");
music1.setVolume(50);
music1.start(0, 99999);
musicplaying = true;
}
stop();
score = 0;
scoreb = 0;
i = 0;
while (i < 20) {
_root[("lvl" + i) + "start"] = false;
i++;
}
Frame 4
music1.stop();
if (musicplaying == false) {
music1 = new Sound(this);
music1.attachSound("start");
music1.setVolume(50);
music1.start(0, 99999);
musicplaying = true;
}
stop();
Frame 5
stop();
Frame 6
stop();
bottomdb = 450;
Instance of Symbol 273 MovieClip in Frame 6
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 6
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 6
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 7
stop();
Frame 8
stop();
bottomdb = 450;
Instance of Symbol 273 MovieClip in Frame 8
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 8
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 8
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 9
if (lvl3start == true) {
scene.gotoAndPlay("end");
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 10
stop();
lvl3start = true;
bottomdb = 450;
scrollyspd = 0;
scrollxspd = 0;
scrolling = false;
buh = _currentframe;
onEnterFrame = function () {
if ((((((bottomdb > -1200) && (!_root.guy.win)) && (!_root.guy.die)) && (!_root.friend.die)) && (scrolling == true)) && (_currentframe == buh)) {
_y = (_y + scrollyspd);
a._y = a._y - scrollyspd;
sky._y = sky._y - scrollyspd;
robo._y = robo._y - scrollyspd;
bottomdb = bottomdb - scrollyspd;
_x = (_x - scrollxspd);
}
};
Instance of Symbol 397 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.scrolling = true;
_root.scrollyspd = 2;
}
}
Instance of Symbol 397 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.scrolling = true;
_root.scrollyspd = 3;
}
}
Instance of Symbol 382 MovieClip "robo" in Frame 10
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
xChange = Math.round(_root.guy._x - this._x);
xMove = Math.round(xChange / 20);
this._x = this._x + xMove;
if (_x < (_root.guy._x - 8)) {
_xscale = (-scale);
}
if (_x > (_root.guy._x + 8)) {
_xscale = scale;
}
if (((_y + 60) > _root.bottomdb) && (_root.scrolling == true)) {
_y = (_y - 2);
}
}
Instance of Symbol 273 MovieClip in Frame 10
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 407 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.grav = -23;
_root.guy.jump.gotoAndPlay(1);
gotoAndStop (2);
}
}
Instance of Symbol 407 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.grav = -23;
_root.guy.jump.gotoAndPlay(1);
gotoAndStop (2);
}
}
Instance of Symbol 407 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.grav = -23;
_root.guy.jump.gotoAndPlay(1);
gotoAndStop (2);
}
}
Instance of Symbol 407 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.grav = -23;
_root.guy.jump.gotoAndPlay(1);
gotoAndStop (2);
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 10
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 10
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 11
if (lvl4start == true) {
scene.gotoAndPlay("end");
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 12
stop();
bottomdb = 450;
lvl4start = true;
Instance of Symbol 461 MovieClip "boss" in Frame 12
onClipEvent (load) {
hp = 8;
}
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 12
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 12
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 13
if (lvl5start == true) {
scene.gotoAndPlay("end");
}
if (musicplaying == false) {
music1.stop();
music1 = new Sound(this);
music1.attachSound("base1");
music1.setVolume(50);
music1.start(0, 99999);
musicplaying = true;
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 14
stop();
bottomdb = 450;
lvl5start = true;
Instance of Symbol 506 MovieClip "b1" in Frame 14
onClipEvent (enterFrame) {
a = 1;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 2;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.075;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 9;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 1;
_root.arrows.play();
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
_root.gproof.gotoAndPlay(a + 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 7;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.3;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 4;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.075;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 8;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.5;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 5;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.075;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 6;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.1;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 14
onClipEvent (enterFrame) {
a = 3;
}
onClipEvent (mouseDown) {
if ((_root.friend.hit.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.killy.xspd = _root.killy.xspd + 0.075;
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 534 MovieClip in Frame 14
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 14
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 14
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Instance of Symbol 537 MovieClip "killy" in Frame 14
onClipEvent (load) {
xspd = 0.6;
}
onClipEvent (enterFrame) {
if (_root.b1._currentframe == 1) {
_x = (_x + 0);
} else {
_x = (_x + xspd);
}
}
Frame 15
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 16
stop();
bottomdb = 450;
scrollyspd = 0;
scrollxspd = 0;
scrolling = false;
buh = _currentframe;
onEnterFrame = function () {
if (scrolling && (scrollxspd < 4.1)) {
scrollxspd = scrollxspd + 0.1;
}
if (((((!_root.guy.win) && (!_root.guy.die)) && (!_root.friend.die)) && (scrolling == true)) && (_currentframe == buh)) {
_x = (_x - scrollxspd);
a._x = a._x + scrollxspd;
sky._x = sky._x + scrollxspd;
robo._x = robo._x + scrollxspd;
}
};
Instance of Symbol 397 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.scrolling = true;
}
}
Instance of Symbol 555 MovieClip "robo" in Frame 16
onClipEvent (load) {
scale = _xscale;
baaaa = 0;
}
onClipEvent (enterFrame) {
if (_x < (_root.guy._x - 8)) {
_xscale = (-scale);
}
if (_x > (_root.guy._x + 8)) {
_xscale = scale;
}
if ((baaaa < 200) && (_root.scrolling == true)) {
_x = (_x + 3);
baaaa = baaaa + 3;
}
}
Instance of Symbol 534 MovieClip in Frame 16
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 16
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if ((((((!win) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if ((!win) && (!attack)) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 16
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 17
if (lvl7start == true) {
scene.gotoAndPlay("end");
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 18
stop();
bottomdb = 450;
cagex = 460;
cagey = 360;
lvlcomplete = false;
lvl7start = true;
Instance of Symbol 632 MovieClip "oaa" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Instance of Symbol 640 MovieClip "bossk" in Frame 18
onClipEvent (load) {
timer = 0;
hp = 3;
gotoAndStop(hp + 1);
aa._alpha = 0;
ab._alpha = 0;
elves = 3;
}
onClipEvent (enterFrame) {
gotoAndStop(hp + 1);
timer--;
if (_root.lvlcomplete == true) {
elves--;
}
if (elves < 1) {
_root.play();
}
if (_root.boss.hitTest(_x, _y, true) && (timer < 1)) {
hp--;
timer = 60;
}
if ((hp < 1) && (_root.cages._currentframe == 1)) {
_root.cages.play();
}
if (hp < 1) {
_root.gproof.gotoAndStop(2);
_root.ground.cages.gotoAndStop(2);
} else {
_root.gproof.gotoAndStop(1);
_root.ground.cages.gotoAndStop(1);
}
}
Instance of Symbol 679 MovieClip "boss" in Frame 18
onClipEvent (load) {
hp = 3;
sm = 0;
timer = 20 + (hp * 20);
}
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
timer--;
}
while (_y < 200) {
_y = (_y+1);
}
if (timer < 1) {
gotoAndStop ("lasercharge");
}
if ((attack._currentframe > (25 + (5 * hp))) && (attack._currentframe < 50)) {
attack.gotoAndPlay("fire");
}
if (hp != 3) {
if (attack._currentframe == lol) {
_root.attachMovie("btec", "btec2", 1000);
_root.btec2._x = _x - 40;
_root.btec2._y = _y + 40;
}
}
if (_root.bosshp != 1) {
if ((_currentframe == 2) && (attack._currentframe < 30)) {
_rotation = (Math.atan((_y - _root.friend._y) / (-Math.abs(_x - _root.friend._x))) * 57.2957795130823);
}
}
if (_root.bosshp == 1) {
if ((_currentframe == 2) && (attack._currentframe < 20)) {
_rotation = (Math.atan((_y - _root._ymouse) / (-Math.abs(_x - _root._xmouse))) * 57.2957795130823);
}
}
if (_currentframe != 4) {
_y = (_y + Math.cos(sm));
sm++;
}
if (_currentframe == 2) {
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy.hei / 2), true)) {
_root.guy.die = true;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 18
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 18
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 19
if (lvl8start == true) {
scene.gotoAndPlay("end");
}
if (musicplaying == false) {
music1.stop();
music1 = new Sound(this);
music1.attachSound("base2");
music1.setVolume(50);
music1.start(0, 100000);
musicplaying = true;
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 20
stop();
bottomdb = 450;
lvl8start = true;
Instance of Symbol 506 MovieClip "b1" in Frame 20
onClipEvent (enterFrame) {
a = 1;
}
onClipEvent (mouseDown) {
if ((_root.friend.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 20
onClipEvent (enterFrame) {
a = 2;
}
onClipEvent (mouseDown) {
if ((_root.friend.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 506 MovieClip in Frame 20
onClipEvent (enterFrame) {
a = 3;
}
onClipEvent (mouseDown) {
if ((_root.friend.hitTest(this.hit) && (_currentframe == 1)) && (_root.ground["a" + a]._currentframe == 1)) {
_root.ground["a" + a].play();
_root.arrows.play();
_root.gproof.gotoAndPlay(a + 1);
snd = new Sound(this);
snd.attachSound("btn");
snd.setVolume(30);
snd.start(0, 1);
play();
}
}
Instance of Symbol 534 MovieClip in Frame 20
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 20
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if (((((!Key.isDown(37)) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if (!attack) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 20
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Instance of Symbol 537 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.b1._currentframe == 1) {
_y = (_y + 0.5);
} else {
_y = (_y + 0.7);
}
}
Frame 21
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 22
stop();
bottomdb = 450;
lvl8start = true;
scrollyspd = 0;
scrollxspd = 0;
ax = 0;
ay = 0;
scrolling = false;
buh = _currentframe;
onEnterFrame = function () {
if (scrolling && (scrollxspd < 3.2)) {
scrollxspd = scrollxspd + 0.1;
}
if (scrolling && (scrollyspd < 1.4)) {
scrollyspd = scrollyspd + 0.025;
}
if (ax > 2350) {
scrolling = false;
}
if (((((!_root.guy.win) && (!_root.guy.die)) && (!_root.friend.die)) && (scrolling == true)) && (_currentframe == buh)) {
_x = (_x - scrollxspd);
ax = ax - scrollxspd;
a._x = a._x + scrollxspd;
sky._x = sky._x + scrollxspd;
robo._x = robo._x + scrollxspd;
argss._x = argss._x + scrollxspd;
_y = (_y + scrollyspd);
ay = ay - scrollyspd;
a._y = a._y - (scrollyspd - 0.025);
sky._y = sky._y - scrollyspd;
robo._y = robo._y - scrollyspd;
argss._y = argss._y - scrollyspd;
}
};
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.scrolling = true;
}
}
Instance of Symbol 748 MovieClip in Frame 22
onClipEvent (load) {
burnt = false;
burn = new Color(_root.guy);
resetTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
hitTransform = {ra:40, rb:0, ga:20, gb:0, ba:20, bb:0, aa:100, ab:0};
}
onClipEvent (enterFrame) {
burn.setTransform((burnt ? (hitTransform) : (resetTransform)));
}
onClipEvent (enterFrame) {
if ((this.hit.hitTest(_root.guy._x, _root.guy._y - 4, true) || (this.hit.hitTest(_root.guy._x - (_root.guy.wid / 2.4), _root.guy._y - (_root.guy.hei / 2), true))) || (this.hit.hitTest(_root.guy._x + (_root.guy.wid / 2.4), _root.guy._y - (_root.guy.hei / 2), true))) {
burnt = true;
_root.guy.die = true;
}
}
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.robo)) {
_root.scrolling = false;
}
}
Instance of Symbol 731 MovieClip "robo" in Frame 22
onClipEvent (load) {
baaaa = 0;
}
onClipEvent (enterFrame) {
if ((baaaa < 220) && (_root.scrolling == true)) {
_x = (_x + 3);
baaaa = baaaa + 3;
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.die = true;
}
}
Instance of Symbol 534 MovieClip in Frame 22
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 22
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
die = false;
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if ((((((!win) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if ((!win) && (!attack)) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 22
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Instance of Symbol 27 MovieClip "argss" in Frame 22
onClipEvent (enterFrame) {
if (!_root.guy.hitTest(this)) {
_root.guy.die = true;
}
}
Frame 23
if (lvl10start == true) {
scene.gotoAndPlay("end");
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 24
stop();
bottomdb = 450;
lvl10start = true;
Instance of Symbol 793 MovieClip "ground" in Frame 24
onClipEvent (load) {
gotoAndStop(9 - _root.boss.hp);
}
onClipEvent (enterFrame) {
gotoAndStop(9 - _root.boss.hp);
}
Instance of Symbol 808 MovieClip in Frame 24
onClipEvent (load) {
gotoAndStop(9 - _root.boss.hp);
}
onClipEvent (enterFrame) {
gotoAndStop(9 - _root.boss.hp);
}
Instance of Symbol 824 MovieClip "boss" in Frame 24
onClipEvent (load) {
hp = 8;
omnom = 0;
}
onClipEvent (enterFrame) {
omnom = omnom + ((9 - hp) * 0.25);
if (hp > 0) {
_x = (275 + (100 * Math.sin(omnom / 57.2957795130823)));
}
}
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 24
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if ((((((!win) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if ((!win) && (!attack)) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 24
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 25
if (lvl11start == true) {
scene.gotoAndPlay("end");
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 26
stop();
bottomdb = 450;
lvl11start = true;
if (musicplaying == false) {
music1.stop();
music1 = new Sound(this);
music1.attachSound("pluto");
music1.setVolume(50);
music1.start(0, 100000);
musicplaying = true;
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao++;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy.hei / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao--;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 2;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 2;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 3;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao - 2;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 4;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 4;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 0;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 26
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
ao = ao + 0;
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 273 MovieClip in Frame 26
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 26
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if ((((((!win) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if ((!win) && (!attack)) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 26
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 27
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
if (_root.modea != 2) {
aaas._x = 10000;
}
Frame 28
stop();
bottomdb = 450;
scrollyspd = 0;
scrollxspd = 0;
scrolling = false;
buh = _currentframe;
onEnterFrame = function () {
if (scrolling && (scrollxspd < 3.4)) {
scrollxspd = scrollxspd + 0.1;
}
if (((((!_root.guy.win) && (!_root.guy.die)) && (!_root.friend.die)) && (scrolling == true)) && (_currentframe == buh)) {
_x = (_x - scrollxspd);
a._x = a._x + scrollxspd;
sky._x = sky._x + scrollxspd;
robo._x = robo._x + scrollxspd;
}
};
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.scrolling = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao--;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao + 1.5;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao + 1;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao - 1.5;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao - 3;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao + 3;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao + 3;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao + 1;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao - 1;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao + 1;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 873 MovieClip in Frame 28
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_root.scrolling == true) {
ao = ao - 1;
}
_y = (sty + (150 * Math.sin(ao / 57.2957795130823)));
if (this.hit.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
if (this.hit.hitTest(_root.friend.hit)) {
_root.friend.die = true;
}
}
Instance of Symbol 731 MovieClip "robo" in Frame 28
onClipEvent (load) {
baaaa = 0;
}
onClipEvent (enterFrame) {
if ((baaaa < 220) && (_root.scrolling == true)) {
_x = (_x + 3);
baaaa = baaaa + 3;
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.die = true;
}
}
Instance of Symbol 534 MovieClip in Frame 28
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 28
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if ((((((!win) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if ((!win) && (!attack)) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 28
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 29
if (lvl13start == true) {
scene.gotoAndPlay("end");
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Frame 30
stop();
bottomdb = 450;
lvl13start = true;
music1.stop();
music1 = new Sound(this);
music1.attachSound("pluto2");
music1.setVolume(50);
music1.start(0, 100000);
musicplaying = true;
Instance of Symbol 930 MovieClip "boss" in Frame 30
onClipEvent (load) {
hp = 8;
}
onClipEvent (load) {
laa = 0;
}
onClipEvent (enterFrame) {
if (((_root.guy.die != true) && (_root.guy.win != true)) && (_root.friend.die != true)) {
if (_root.modea == 1) {
_root.scoreb = _root.scoreb + 0.037037037037037;
}
}
}
Instance of Symbol 303 MovieClip "guy" in Frame 30
onClipEvent (load) {
scale = _xscale;
speed = 6;
airspeed = 4;
jumpheight = 13;
fallspeed = 1.5;
maxfall = 15;
grav = 0;
die = false;
attack = false;
hei = _height * 0.95;
wid = _width;
cjt = 2;
canjump = false;
contact = false;
contact3 = false;
contactn2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ground.hitTest(_x, _y + 3, true) || (_root.ground.hitTest(_x - 10, _y + 3, true))) || (_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = true;
}
if (((!_root.ground.hitTest(_x, _y + 3, true)) && (!_root.ground.hitTest(_x - 10, _y + 3, true))) && (!_root.ground.hitTest(_x + 10, _y + 3, true))) {
contact = false;
}
if ((_root.ground.hitTest(_x, _y - 2, true) || (_root.ground.hitTest(_x - 10, _y - 2, true))) || (_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = true;
}
if (((!_root.ground.hitTest(_x, _y - 2, true)) && (!_root.ground.hitTest(_x - 10, _y - 2, true))) && (!_root.ground.hitTest(_x + 10, _y - 2, true))) {
contactn2 = false;
}
if ((_root.ground.hitTest(_x, _y + 6, true) || (_root.ground.hitTest(_x - 10, _y + 6, true))) || (_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = true;
}
if (((!_root.ground.hitTest(_x, _y + 6, true)) && (!_root.ground.hitTest(_x - 10, _y + 6, true))) && (!_root.ground.hitTest(_x + 10, _y + 6, true))) {
contact3 = false;
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt--;
}
if (contact3 || (_root.friend.plat.hitTest(_x, _y + 6, true))) {
cjt = 2;
}
if (cjt < 1) {
canjump = false;
} else {
canjump = true;
}
if (die) {
gotoAndStop ("die");
}
if (win) {
gotoAndStop ("warp");
}
if ((!die) && (!win)) {
if (!contactn2) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x, _y - 2, true) || (_root.friend.plat.hitTest(_x, _y - 2, true))) {
_y = (_y - 1.5);
grav = 0;
}
while (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, (_y - hei) - 3, true) && (_root.friend.plat.hitTest(_x, _y - 5, true))) {
die = true;
}
if (_y > _root.bottomdb) {
die = true;
}
while ((_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 4), true))) {
_x = (_x+1);
}
while ((_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) || (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 4), true))) {
_x = (_x-1);
}
if ((Key.isDown(38) && (!hold)) || (Key.isDown(87) && (!hold))) {
hold = true;
if (canjump) {
grav = -jumpheight;
}
}
if ((!Key.isDown(38)) && (!Key.isDown(87))) {
hold = false;
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (contact) {
_x = (_x + speed);
}
if (!contact) {
_x = (_x + airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = (-scale);
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (contact) {
_x = (_x - speed);
}
if (!contact) {
_x = (_x - airspeed);
}
if (contact && (!attack)) {
gotoAndStop ("run");
}
_xscale = scale;
}
if ((((((!win) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(39))) && (!attack)) {
if (contact3) {
gotoAndStop ("idle");
}
}
if ((!win) && (!attack)) {
if (_root.friend.plat.hitTest(_x, _y + 6, true)) {
gotoAndStop ("idle");
}
}
if ((!contact3) && (!_root.friend.plat.hitTest(_x, _y + 6, true))) {
gotoAndStop ("jump");
}
if ((((_root.friend.keep.hitTest(_x, _y + 6, true) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 1.33), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 1.33), true))) {
_x = _root.friend._x;
if (!Key.isDown(38)) {
_y = (_root.friend._y - 10);
}
}
}
}
Instance of Symbol 325 MovieClip "friend" in Frame 30
onClipEvent (load) {
die = false;
scale = _xscale;
wid = _width;
}
onClipEvent (enterFrame) {
if (die) {
gotoAndStop ("die");
}
if (_root.gproof.hitTest(_x, _y, true)) {
die = true;
}
if ((((_root.ground.hitTest(_x + (wid / 4), _y, true) || (_root.ground.hitTest(_x - (wid / 4), _y, true))) || (_root.ground.hitTest(_x + (wid / 2), _y, true))) || (_root.ground.hitTest(_x - (wid / 2), _y, true))) || (_root.ground.hitTest(_x, _y, true))) {
keep._name = "nokeep";
} else {
nokeep._name = "keep";
}
if (!die) {
yChange = Math.round(_root._ymouse - this._y);
xChange = Math.round(_root._xmouse - this._x);
yMove = Math.round(yChange / 2.3);
xMove = Math.round(xChange / 2.3);
this._y = this._y + yMove;
this._x = this._x + xMove;
if (_x < (_root._xmouse - 5)) {
_xscale = (-scale);
}
if (_x > (_root._xmouse + 5)) {
_xscale = scale;
}
}
}
onClipEvent (mouseDown) {
if (!die) {
gotoAndStop ("brick");
}
}
onClipEvent (mouseUp) {
if (!die) {
gotoAndStop ("idle");
}
}
Frame 31
if (musicplaying == false) {
music1.stop();
music1 = new Sound(this);
music1.attachSound("winss");
music1.setVolume(100);
music1.start(0, 1);
musicplaying = true;
}
stop();
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
Instance of Symbol 938 MovieClip "scene" in Frame 31
onClipEvent (enterFrame) {
lol = _root.score;
}
Frame 36
_x = 0;
_y = 0;
a._x = a.stx;
a._y = a.sty;
gotoAndStop ("scoresub");
Frame 37
stop();
Frame 38
stop();
Frame 39
music1.stop();
musicplaying = false;
if (musicplaying == false) {
music1 = new Sound(this);
music1.attachSound("menu");
music1.setVolume(50);
music1.start(0, 99999);
musicplaying = true;
}
stop();
if (modea == 2) {
as._x = 344;
as._y = 234;
bs._x = 113;
bs._y = 343;
}
if (modea == 1) {
ad._x = 344;
ad._y = 234;
bd._x = 113;
bd._y = 343;
}
Frame 40
stop();
if (modea == 2) {
as._x = 344;
as._y = 234;
bs._x = 113;
bs._y = 343;
}
if (modea == 1) {
ad._x = 344;
ad._y = 234;
bd._x = 113;
bd._y = 343;
}
Instance of Symbol 24 MovieClip in Symbol 28 MovieClip [btec] Frame 1
onClipEvent (load) {
fallspd = 1.3;
grav = 0;
xspd = 0;
ground = false;
accel = (4 - _root.boss.hp) / 3;
maxxspd = 5 + (4 - _root.boss.hp);
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_parent._x, (_parent._y + (_parent._height / 2.3)) + 3, true)) {
_parent._y = _parent._y + grav;
grav = grav + fallspd;
}
if (_root.ground.hitTest(_parent._x, (_parent._y + (_parent._height / 2.3)) + 3, true)) {
ground = true;
_parent._x = _parent._x + xspd;
if (xspd < maxxspd) {
xspd = xspd + accel;
}
}
while (_root.ground.hitTest(_parent._x, _parent._y + (_parent._height / 2.3), true) && (ground == false)) {
_parent._y = _parent._y - 1.3;
grav = 0;
}
}
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip [btec] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
}
Symbol 44 Button
on (release) {
_root.music1.setVolume(0);
_root.music2.setVolume(0);
gotoAndStop (2);
}
Symbol 46 Button
on (release) {
_root.music1.setVolume(50);
_root.music2.setVolume(50);
gotoAndStop (1);
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Instance of Symbol 39 MovieClip "hud" in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
gpx = 311.6;
gpy = -264.5;
stx = 311.6;
sty = -324.5;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_currentframe == 1) && (Key.isDown(77))) && (!ohold)) {
_root.music1.setVolume(0);
_root.music2.setVolume(0);
ohold = true;
gotoAndStop (2);
} else if (!Key.isDown(77)) {
ohold = false;
}
if (((_currentframe == 2) && (Key.isDown(77))) && (!ohold)) {
_root.music1.setVolume(50);
_root.music2.setVolume(50);
ohold = true;
gotoAndStop (1);
} else if (!Key.isDown(77)) {
ohold = false;
}
}
Symbol 973 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 66 Button
on (release) {
getURL ("http://www.gameprison.com", "_blank");
}
Symbol 87 MovieClip Frame 119
gotoAndPlay (39);
Symbol 97 MovieClip Frame 220
_root.gotoAndPlay(_root._currentframe + 1);
Symbol 105 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("gon");
snd.setVolume(30);
snd.start(0, 1);
Symbol 105 MovieClip Frame 29
gotoAndPlay (2);
Symbol 118 Button
on (release) {
musicplaying = false;
_root.modea = 2;
_root.play();
}
Symbol 126 Button
on (release) {
musicplaying = false;
_root.modea = 2;
gotoAndStop ("tutorial");
}
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kill)) {
_parent.gotoAndPlay("crack");
}
}
Symbol 143 MovieClip Frame 2
egg = new Sound(this);
egg.attachSound("time");
egg.start(0, 0);
egg.setVolume(400);
Symbol 143 MovieClip Frame 14
this.unloadMovie();
stop();
Symbol 143 MovieClip Frame 15
egg = new Sound(this);
egg.attachSound("crack");
egg.start(0, 0);
Symbol 143 MovieClip Frame 26
this.unloadMovie();
stop();
Symbol 148 Button
on (release) {
musicplaying = false;
_root.modea = 1;
_root.play();
}
Symbol 155 Button
on (release) {
getURL ("http://www.gameprison.com", blank);
}
Symbol 161 Button
on (release) {
getURL ("http://rankz.armorbot.com/GuyAndBuddy/", blank);
}
Symbol 163 Button
on (release) {
getURL ("http://rankz.armorbot.com/GuyAndBuddyT/", blank);
}
Symbol 166 Button
on (release) {
gotoAndStop (22);
}
Symbol 225 MovieClip Frame 404
_root.play();
Symbol 227 Button
on (release) {
_root.play();
}
Symbol 239 Button
on (release) {
_root.play();
}
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
if (_root.modea != 2) {
_parent.unloadMovie();
}
}
onClipEvent (enterFrame) {
if (_root.guy.hit.hitTest(this)) {
_root.scoreb = _root.scoreb + 200;
snd = new Sound(this);
snd.attachSound("coin");
snd.setVolume(30);
snd.start(0, 1);
_parent.unloadMovie();
}
if (_root.friend.hit.hitTest(this)) {
_root.scoreb = _root.scoreb + 100;
snd = new Sound(this);
snd.attachSound("coin");
snd.setVolume(20);
snd.start(0, 1);
_parent.unloadMovie();
}
}
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
if (_root.modea != 2) {
_parent.unloadMovie();
}
}
onClipEvent (enterFrame) {
if (_root.friend.hit.hitTest(this)) {
_root.scoreb = _root.scoreb + 200;
snd = new Sound(this);
snd.attachSound("coin");
snd.setVolume(30);
snd.start(0, 1);
_parent.unloadMovie();
}
}
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
if (_root.modea != 2) {
_parent.unloadMovie();
}
}
onClipEvent (enterFrame) {
if (_root.guy.hit.hitTest(this)) {
_root.scoreb = _root.scoreb + 400;
snd = new Sound(this);
snd.attachSound("coin");
snd.setVolume(30);
snd.start(0, 1);
_parent.unloadMovie();
}
}
Symbol 272 MovieClip Frame 50
stop();
Instance of Symbol 27 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this) && (!_root.guy.die)) {
_root.guy.win = true;
}
}
Symbol 280 MovieClip Frame 3
step = new Sound(this);
step.attachSound("step");
step.setVolume(30);
step.start(0, 1);
Symbol 280 MovieClip Frame 9
step = new Sound(this);
step.attachSound("step");
step.setVolume(30);
step.start(0, 1);
Symbol 285 MovieClip Frame 11
stop();
Symbol 292 MovieClip Frame 10
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 300 MovieClip Frame 1
if (_root.modea == 2) {
if (_root.score > 1000) {
_root.score = _root.score - 1000;
} else {
_root.score = 0;
}
} else {
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
}
Symbol 300 MovieClip Frame 2
die = new Sound(this);
die.attachSound("die");
die.setVolume(60);
die.start(0, 1);
Symbol 300 MovieClip Frame 43
_root.scoreb = 0;
_root.prevFrame();
Symbol 302 MovieClip Frame 2
warp1 = new Sound(this);
warp1.attachSound("warp");
warp1.setVolume(60);
warp2 = new Sound(this);
warp2.attachSound("win");
warp2.setVolume(60);
warp1.start(0, 1);
warp2.start(0, 1);
Symbol 302 MovieClip Frame 13
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
stop();
_root.play();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 3
stop();
Symbol 303 MovieClip Frame 4
stop();
Symbol 303 MovieClip Frame 5
stop();
_xscale = Math.abs(_xscale);
Symbol 303 MovieClip Frame 6
stop();
die = false;
Symbol 306 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("goff");
snd.setVolume(30);
snd.start(0, 1);
Symbol 306 MovieClip Frame 5
stop();
Symbol 324 MovieClip Frame 1
if (_root.modea == 2) {
if (_root.score > 1000) {
_root.score = _root.score - 1000;
} else {
_root.score = 0;
}
} else {
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
}
Symbol 324 MovieClip Frame 2
gdie = new Sound(this);
gdie.attachSound("gdie");
gdie.start(0, 1);
Symbol 324 MovieClip Frame 51
_root.scoreb = 0;
_root.prevFrame();
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
stop();
Instance of Symbol 307 MovieClip "keep" in Symbol 325 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.guy.hit.hitTest(_parent)) {
_xscale = 150;
} else {
_xscale = 80;
}
}
Symbol 325 MovieClip Frame 3
stop();
_xscale = Math.abs(_xscale);
Symbol 341 Button
on (release) {
_root.gotoAndStop("scoresub");
}
Symbol 392 Button
on (release) {
_root.play();
}
Symbol 393 MovieClip Frame 249
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 394 Button
on (release) {
scene.gotoAndPlay("end");
}
Symbol 406 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 440 MovieClip Frame 249
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 448 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("hrt");
snd.start(0, 1);
Symbol 448 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
stop();
Instance of Symbol 448 MovieClip in Symbol 449 MovieClip Frame 2
onClipEvent (load) {
multipliercur = _root.boss.hit.multiplier;
ulp = ["500x" + multipliercur];
_root.boss.hit.multiplier = _root.boss.hit.multiplier * 3;
}
Symbol 452 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("elec");
snd.setVolume(10);
snd.start(0, 1);
Instance of Symbol 452 MovieClip in Symbol 453 MovieClip Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 453 MovieClip Frame 103
_parent.gotoAndStop(1);
Symbol 455 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("elec");
snd.setVolume(10);
snd.start(0, 1);
Instance of Symbol 455 MovieClip in Symbol 456 MovieClip Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Instance of Symbol 452 MovieClip in Symbol 456 MovieClip Frame 114
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 456 MovieClip Frame 118
_parent.gotoAndStop(1);
Symbol 458 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("elec");
snd.setVolume(10);
snd.start(0, 1);
Instance of Symbol 458 MovieClip in Symbol 459 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 459 MovieClip Frame 120
_parent.gotoAndStop(1);
Symbol 460 MovieClip Frame 2
snd = new Sound(this);
snd.attachSound("sdie");
snd.start(0, 1);
Symbol 460 MovieClip Frame 51
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.play();
Symbol 461 MovieClip Frame 1
stop();
if (hp < 1) {
gotoAndStop (5);
}
Instance of Symbol 449 MovieClip "idle" in Symbol 461 MovieClip Frame 1
onClipEvent (load) {
timer = 25 + (_parent.hp * 4);
}
onClipEvent (enterFrame) {
timer--;
if (timer < 1) {
_parent.play();
}
}
Instance of Symbol 27 MovieClip "hit" in Symbol 461 MovieClip Frame 1
onClipEvent (load) {
multiplier = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y, true) && (_parent.idle._currentframe == 1)) {
_parent.hp--;
if (_root.modea == 2) {
_root.scoreb = _root.scoreb + (500 * multiplier);
}
_root.guy.grav = -13;
_root.guy.jump.gotoAndPlay(1);
_parent.idle.gotoAndStop(2);
}
}
Symbol 461 MovieClip Frame 2
stop();
if (hp < 5) {
gotoAndStop (3);
}
Instance of Symbol 453 MovieClip in Symbol 461 MovieClip Frame 2
onClipEvent (load) {
timer = 80 - (hp * 8);
}
Symbol 461 MovieClip Frame 3
stop();
if (hp < 3) {
gotoAndStop (4);
}
Instance of Symbol 456 MovieClip in Symbol 461 MovieClip Frame 3
onClipEvent (load) {
timer = 80 - (hp * 8);
}
Symbol 461 MovieClip Frame 4
stop();
if (hp < 1) {
gotoAndStop (5);
}
Instance of Symbol 459 MovieClip in Symbol 461 MovieClip Frame 4
onClipEvent (load) {
timer = 80 - (hp * 8);
}
Symbol 461 MovieClip Frame 5
stop();
if (hp < 1) {
gotoAndStop (5);
}
_root.musicplaying = false;
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
stop();
Symbol 508 Button
on (release) {
_root.scoreb = 0;
_root.gotoAndStop("mainmenu");
}
Symbol 515 MovieClip Frame 208
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 2
snd = new Sound(this);
snd.attachSound("door");
snd.setVolume(30);
snd.start(0, 1);
Symbol 523 MovieClip Frame 3
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
stop();
Symbol 526 MovieClip Frame 3
stop();
Symbol 526 MovieClip Frame 4
stop();
Symbol 526 MovieClip Frame 5
stop();
Symbol 526 MovieClip Frame 6
stop();
Symbol 526 MovieClip Frame 7
stop();
Symbol 526 MovieClip Frame 8
stop();
Symbol 526 MovieClip Frame 9
stop();
Symbol 526 MovieClip Frame 10
stop();
Symbol 533 MovieClip Frame 50
stop();
Symbol 534 MovieClip Frame 1
stop();
Instance of Symbol 27 MovieClip in Symbol 534 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this) && (_root.friend.hitTest(this))) {
_root.guy.win = true;
}
}
Instance of Symbol 499 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Instance of Symbol 27 MovieClip in Symbol 537 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.guy.die = true;
_root.friend.die = true;
}
}
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 2
stop();
Symbol 541 MovieClip Frame 3
stop();
Symbol 541 MovieClip Frame 4
stop();
Symbol 541 MovieClip Frame 5
stop();
Symbol 541 MovieClip Frame 6
stop();
Symbol 541 MovieClip Frame 7
stop();
Symbol 541 MovieClip Frame 8
stop();
Symbol 541 MovieClip Frame 9
stop();
Symbol 541 MovieClip Frame 10
stop();
Symbol 550 Button
on (release) {
_root.play();
}
Instance of Symbol 27 MovieClip in Symbol 555 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy.hit)) {
_root.guy.die = true;
}
}
Symbol 583 MovieClip Frame 17
gotoAndPlay (9);
Symbol 607 MovieClip Frame 8
stop();
Symbol 622 MovieClip Frame 304
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 623 Button
on (release) {
scene.gotoAndPlay("end");
}
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
stop();
Symbol 635 MovieClip Frame 12
stop();
Symbol 653 MovieClip Frame 17
gotoAndPlay (9);
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 2
stop();
Symbol 654 MovieClip Frame 3
stop();
Symbol 654 MovieClip Frame 4
stop();
Symbol 665 MovieClip Frame 4
stop();
Symbol 669 MovieClip Frame 19
if (_root.boss.hp == 1) {
snd = new Sound(this);
snd.attachSound("lazor");
snd.start(0, 1);
}
Symbol 669 MovieClip Frame 26
if (_root.boss.hp != 1) {
snd = new Sound(this);
snd.attachSound("lazor");
snd.start(0, 1);
}
Symbol 669 MovieClip Frame 74
if (_root.boss.hp == 1) {
gotoAndPlay (80);
}
Symbol 669 MovieClip Frame 81
b.gotoAndStop(2);
Symbol 669 MovieClip Frame 105
_root.boss.timer = 10 + (_root.boss.hp * 10);
if (_root.bossk.hp > 0) {
_root.boss._rotation = 0;
_parent.gotoAndStop(1);
} else {
_root.boss._rotation = 0;
_parent.gotoAndStop(3);
}
Symbol 676 MovieClip Frame 6
b.gotoAndStop(3);
Instance of Symbol 27 MovieClip in Symbol 676 MovieClip Frame 8
onClipEvent (load) {
hitty = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this) && (!hitty)) {
if (_root.modea == 2) {
if (_root.boss.hp == 3) {
_root.scoreb = _root.scoreb + 2500;
}
if (_root.boss.hp == 2) {
_root.scoreb = _root.scoreb + 5000;
}
if (_root.boss.hp == 1) {
_root.scoreb = _root.scoreb + 10000;
}
}
if (_root.boss.hp == 3) {
_parent.woo = 2500;
}
if (_root.boss.hp == 2) {
_parent.woo = 5000;
}
if (_root.boss.hp == 1) {
_parent.woo = 10000;
}
_root.boss.hp = _root.boss.hp - 1;
hitty = true;
_parent.gotoAndPlay("hit");
}
}
Symbol 676 MovieClip Frame 11
gotoAndPlay (7);
Instance of Symbol 27 MovieClip in Symbol 676 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.guy._alpha = 0;
_root.guy._x = _root.boss._x - 40;
_root.guy._y = _root.boss._y + 40;
_root.guy.grav = 5;
}
Symbol 676 MovieClip Frame 44
_root.guy._alpha = 100;
b.gotoAndStop(4);
snd = new Sound(this);
snd.attachSound("dmg");
snd.start(0, 1);
Symbol 676 MovieClip Frame 71
if (_root.boss.hp > 0) {
_root.guy._x = _root.cagex;
_root.guy._y = _root.cagey;
_root.bossk.hp = 6 - _root.boss.hp;
_root.bossk._y = _root.bossk._y + (10 * (3 - _root.boss.hp));
_root.cages.gotoAndStop(1);
}
snd = new Sound(this);
snd.attachSound("bon");
snd.setVolume(30);
snd.start(0, 1);
Symbol 676 MovieClip Frame 84
if (_root.boss.hp > 0) {
_parent.gotoAndStop(1);
} else {
_root.oaa.unloadMovie();
_root.gproof.unloadMovie();
_parent.gotoAndStop(4);
}
Symbol 678 MovieClip Frame 1
b.gotoAndStop(4);
Symbol 678 MovieClip Frame 64
_root.musicplaying = false;
Symbol 678 MovieClip Frame 65
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.lvlcomplete = true;
_root.boss.removeMovieClip();
Symbol 679 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 2
lol = random(15) + 5;
stop();
Symbol 679 MovieClip Frame 3
stop();
Symbol 679 MovieClip Frame 4
stop();
_root.musicplayin = false;
_root.boss.swapDepths(9000);
Symbol 681 MovieClip Frame 1
stop();
aa.gotoAndStop(1);
ab.gotoAndStop(1);
Symbol 681 MovieClip Frame 2
aa.play();
ab.play();
Symbol 681 MovieClip Frame 5
stop();
Symbol 711 MovieClip Frame 150
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 715 MovieClip Frame 1
stop();
Symbol 715 MovieClip Frame 2
stop();
Symbol 715 MovieClip Frame 3
stop();
Symbol 715 MovieClip Frame 4
stop();
Symbol 729 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 2
stop();
Symbol 729 MovieClip Frame 3
stop();
Symbol 729 MovieClip Frame 4
stop();
Instance of Symbol 768 MovieClip in Symbol 769 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(9 - _root.boss.hp);
}
onClipEvent (enterFrame) {
gotoAndStop(9 - _root.boss.hp);
}
Symbol 784 MovieClip Frame 140
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 2
stop();
Instance of Symbol 811 MovieClip in Symbol 812 MovieClip Frame 1
onClipEvent (load) {
scax = _xscale;
scay = _xscale;
sty = 0;
a = 0;
}
onClipEvent (enterFrame) {
a = a - 18;
_y = (sty + (7 * Math.sin(a / 57.2957795130823)));
_xscale = (scax + (8 * (8 / _root.boss.hp)));
_yscale = (scay + (8 * (8 / _root.boss.hp)));
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Symbol 812 MovieClip Frame 21
gotoAndStop (1);
Symbol 815 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("hrt");
snd.start(0, 1);
Instance of Symbol 811 MovieClip in Symbol 815 MovieClip Frame 1
onClipEvent (load) {
scax = _xscale;
scay = _xscale;
}
onClipEvent (enterFrame) {
_xscale = (scax + (8 * (8 / _root.boss.hp)));
_yscale = (scay + (8 * (8 / _root.boss.hp)));
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Symbol 815 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 816 MovieClip Frame 1
stop();
Symbol 816 MovieClip Frame 2
stop();
Instance of Symbol 815 MovieClip in Symbol 816 MovieClip Frame 2
onClipEvent (load) {
multipliercur = _root.boss.hit.multiplier;
ulp = ["500x" + multipliercur];
_root.boss.hit.multiplier = _root.boss.hit.multiplier * 8;
_root.peter.gotoAndStop(2);
}
Instance of Symbol 811 MovieClip in Symbol 817 MovieClip Frame 1
onClipEvent (load) {
scax = _xscale;
scay = _xscale;
}
onClipEvent (enterFrame) {
_xscale = (scax + (8 * (8 / _root.boss.hp)));
_yscale = (scay + (8 * (8 / _root.boss.hp)));
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Instance of Symbol 452 MovieClip in Symbol 817 MovieClip Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 817 MovieClip Frame 103
_parent.gotoAndStop(1);
Instance of Symbol 811 MovieClip in Symbol 818 MovieClip Frame 1
onClipEvent (load) {
scax = _xscale;
scay = _xscale;
}
onClipEvent (enterFrame) {
_xscale = (scax + (8 * (8 / _root.boss.hp)));
_yscale = (scay + (8 * (8 / _root.boss.hp)));
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Instance of Symbol 455 MovieClip in Symbol 818 MovieClip Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Instance of Symbol 452 MovieClip in Symbol 818 MovieClip Frame 114
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 818 MovieClip Frame 118
_parent.gotoAndStop(1);
Instance of Symbol 811 MovieClip in Symbol 819 MovieClip Frame 1
onClipEvent (load) {
scax = _xscale;
scay = _xscale;
}
onClipEvent (enterFrame) {
_xscale = (scax + (8 * (8 / _root.boss.hp)));
_yscale = (scay + (8 * (8 / _root.boss.hp)));
if (this.hitTest(_root.friend._x, _root.friend._y, true)) {
_root.friend.die = true;
}
}
Instance of Symbol 458 MovieClip in Symbol 819 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 819 MovieClip Frame 120
_parent.gotoAndStop(1);
Symbol 823 MovieClip Frame 2
snd = new Sound(this);
snd.attachSound("sdie");
snd.start(0, 1);
Symbol 823 MovieClip Frame 64
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.musicplaying = false;
_root.play();
Symbol 824 MovieClip Frame 1
stop();
if (hp < 1) {
gotoAndStop (5);
}
Instance of Symbol 816 MovieClip "idle" in Symbol 824 MovieClip Frame 1
onClipEvent (load) {
timer = 35 + (_parent.hp * 4);
}
onClipEvent (enterFrame) {
timer--;
if (timer < 1) {
_parent.play();
}
}
Instance of Symbol 27 MovieClip "hit" in Symbol 824 MovieClip Frame 1
onClipEvent (load) {
multiplier = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y, true) && (_parent.idle._currentframe == 1)) {
_parent.hp--;
if (_root.modea == 2) {
_root.scoreb = _root.scoreb + (500 * multiplier);
}
_root.guy.grav = -13;
_root.guy.jump.gotoAndPlay(1);
_parent.idle.gotoAndStop(2);
}
}
Symbol 824 MovieClip Frame 2
stop();
if (hp < 5) {
gotoAndStop (3);
}
Instance of Symbol 817 MovieClip in Symbol 824 MovieClip Frame 2
onClipEvent (load) {
timer = 80 - (hp * 8);
}
onClipEvent (load) {
_root.peter.gotoAndStop(1);
}
Symbol 824 MovieClip Frame 3
stop();
if (hp < 3) {
gotoAndStop (4);
}
Instance of Symbol 818 MovieClip in Symbol 824 MovieClip Frame 3
onClipEvent (load) {
timer = 80 - (hp * 8);
}
onClipEvent (load) {
_root.peter.gotoAndStop(1);
}
Symbol 824 MovieClip Frame 4
stop();
if (hp < 1) {
gotoAndStop (5);
}
Instance of Symbol 819 MovieClip in Symbol 824 MovieClip Frame 4
onClipEvent (load) {
timer = 80 - (hp * 8);
}
onClipEvent (load) {
_root.peter.gotoAndStop(1);
}
Symbol 824 MovieClip Frame 5
stop();
if (hp < 1) {
gotoAndStop (5);
}
_root.musicplaying = false;
Symbol 843 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 3
step = new Sound(this);
step.attachSound("step");
step.setVolume(30);
step.start(0, 1);
Symbol 865 MovieClip Frame 9
step = new Sound(this);
step.attachSound("step");
step.setVolume(30);
step.start(0, 1);
Symbol 880 MovieClip Frame 326
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 917 MovieClip Frame 92
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 922 MovieClip Frame 1
snd = new Sound(this);
snd.attachSound("hrt");
snd.start(0, 1);
Symbol 922 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 923 MovieClip Frame 1
stop();
Symbol 923 MovieClip Frame 2
stop();
Instance of Symbol 922 MovieClip in Symbol 923 MovieClip Frame 2
onClipEvent (load) {
multipliercur = _root.boss.hit.multiplier;
ulp = ["500x" + multipliercur];
_root.boss.hit.multiplier = _root.boss.hit.multiplier * 10;
}
Symbol 924 MovieClip Frame 4
stop();
Instance of Symbol 452 MovieClip in Symbol 925 MovieClip Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 925 MovieClip Frame 93
_parent.gotoAndStop(1);
Instance of Symbol 455 MovieClip in Symbol 926 MovieClip Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Instance of Symbol 452 MovieClip in Symbol 926 MovieClip Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 926 MovieClip Frame 102
_parent.gotoAndStop(1);
Instance of Symbol 458 MovieClip in Symbol 927 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y - (_root.guy._height / 2), true)) {
_root.guy.die = true;
}
if (this.hitTest(_root.friend._x, _root.friend._y - (_root.friend._height / 2), true)) {
_root.friend.die = true;
}
}
Symbol 927 MovieClip Frame 106
_parent.gotoAndStop(1);
Symbol 929 MovieClip Frame 62
stop();
Symbol 930 MovieClip Frame 1
stop();
if (hp < 1) {
gotoAndStop (5);
}
Instance of Symbol 923 MovieClip "idle" in Symbol 930 MovieClip Frame 1
onClipEvent (load) {
timer = 25 + (_parent.hp * 4);
}
onClipEvent (enterFrame) {
timer--;
if (timer < 1) {
_parent.play();
}
}
onClipEvent (load) {
ao = 0;
sty = _y;
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
ao = ao + 5;
}
_y = (sty + (11 * Math.sin(ao / 57.2957795130823)));
}
Instance of Symbol 27 MovieClip "hit" in Symbol 930 MovieClip Frame 1
onClipEvent (load) {
multiplier = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y, true) && (_parent.idle._currentframe == 1)) {
_parent.hp--;
if (_root.modea == 2) {
_root.scoreb = _root.scoreb + (500 * multiplier);
}
_root.guy.grav = -13;
_root.guy.jump.gotoAndPlay(1);
_parent.idle.gotoAndStop(2);
}
}
Symbol 930 MovieClip Frame 2
stop();
if (hp < 5) {
gotoAndStop (3);
}
Instance of Symbol 925 MovieClip in Symbol 930 MovieClip Frame 2
onClipEvent (load) {
timer = 80 - (hp * 8);
}
Symbol 930 MovieClip Frame 3
stop();
if (hp < 3) {
gotoAndStop (4);
}
Instance of Symbol 926 MovieClip in Symbol 930 MovieClip Frame 3
onClipEvent (load) {
timer = 80 - (hp * 8);
}
Symbol 930 MovieClip Frame 4
stop();
if (hp < 1) {
gotoAndStop (5);
}
Instance of Symbol 927 MovieClip in Symbol 930 MovieClip Frame 4
onClipEvent (load) {
timer = 80 - (hp * 8);
}
Symbol 930 MovieClip Frame 5
stop();
if (hp < 1) {
gotoAndStop (5);
}
_root.musicplaying = false;
Symbol 936 Button
on (release) {
_root.play();
}
Symbol 938 MovieClip Frame 75
if (_root.modea != 2) {
aaas._x = 10000;
}
if (_root.modea != 1) {
aaad._x = 10000;
}
_root.skipbut._x = _root.skipbut._x + 3000;
stop();
Symbol 939 Button
on (release) {
_root.gotoAndStop("scoresub");
}
Symbol 950 Button
on (release) {
play();
}
Symbol 953 Button
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 961 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.pname;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MzE3N2olZSVhJW4lcw==", "Y0dGZUJDRkQ=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.play();
}
Symbol 967 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.pname;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MzE3OGolZSVhJW4lcw==", "Z1V0ZkVHTFk=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
}