Frame 1
_root.menu = new ContextMenu();
_root.menu.hideBuiltInItems();
stop();
Instance of Symbol 298 MovieClip in Frame 1
onClipEvent (load) {
if (_root.highScore < 100) {
_root.highScore = 0;
}
}
Frame 2
stop();
name = "";
name2 = "";
name3 = "";
Frame 3
stop();
Frame 4
stopAllSounds();
stop();
for (i in starsOnScreen) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
for (i in boxesOnScreen) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
Frame 5
_root.timer = 5;
clearInterval(id);
id = setInterval(function () {
_root.timer--;
}, 1000);
starsOnScreen = new Array();
var score = 0;
_root.hp = 100;
_root.coins = 0;
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
_root.number = 0;
}
};
delay = 6;
boxesOnScreen = new Array();
y = 1;
power = 7;
force = 24;
var number = 1;
Instance of Symbol 62 MovieClip [man] "man" in Frame 5
onClipEvent (load) {
if (_root.score < 100) {
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x + 10;
}
if (Key.isDown(37)) {
this._x = this._x - 10;
}
if (Key.isDown(38)) {
this._y = this._y - 10;
}
if (Key.isDown(40)) {
this._y = this._y + 10;
}
if (_root.coin.hitTest(_root.man)) {
_root.score = _root.score + 100;
_root.coins = _root.coins + 1;
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.timer = 5;
}
}
Instance of Symbol 349 MovieClip "hpBar" in Frame 5
onClipEvent (enterFrame) {
this._xscale = _root.hp;
if (_root.hp < 0) {
_root.hp = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hp < 1) {
_root.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 351 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.man._y = _root.man._y - 10;
}
}
Instance of Symbol 352 MovieClip "wall_top" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.man._y = _root.man._y + 10;
}
}
Instance of Symbol 354 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.man._x = _root.man._x + 10;
}
}
Instance of Symbol 355 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.man._x = _root.man._x - 10;
}
}
Frame 6
if (_root.timer < 0) {
_root.timer = 0;
}
if (_root.timer eq 0) {
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.hp = _root.hp - 3;
_root.timer = 5;
}
if (_root.coins eq 50) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 51;
_root.score = _root.score + 100;
}
if (_root.coins eq 100) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 101;
_root.score = _root.score + 100;
}
if (_root.coins eq 200) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 201;
_root.score = _root.score + 100;
}
if (_root.coins eq 300) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 301;
_root.score = _root.score + 100;
}
if (_root.coins eq 400) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 401;
_root.score = _root.score + 100;
}
if (_root.coins eq 500) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 501;
_root.score = _root.score + 100;
}
for (i in starsOnScreen) {
this[starsOnScreen[i]]._y = this[starsOnScreen[i]]._y + 3;
if (this[starsOnScreen[i]]._y > 250) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
if (this[starsOnScreen[i]].hitTest(_root.man)) {
_root.hp = _root.hp + 75;
_root.score = _root.score + 500;
_root.timer = _root.timer + 5;
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
}
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
_root.number = 0;
}
};
for (i in boxesOnScreen) {
if (this[boxesOnScreen[i]].box2.hitTest(_root.man)) {
_root.hp = _root.hp - (random(10) + 10);
this[boxesOnScreen[i]].gotoAndPlay(10);
boxesOnScreen.splice(i, 1);
}
}
Frame 7
if (_root.timer < 0) {
_root.timer = 0;
}
if (_root.timer eq 0) {
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.hp = _root.hp - 3;
_root.timer = 5;
}
if (_root.coins eq 50) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 51;
_root.score = _root.score + 100;
}
if (_root.coins eq 100) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 101;
_root.score = _root.score + 100;
}
if (_root.coins eq 200) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 201;
_root.score = _root.score + 100;
}
if (_root.coins eq 300) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 301;
_root.score = _root.score + 100;
}
if (_root.coins eq 400) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 401;
_root.score = _root.score + 100;
}
if (_root.coins eq 500) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 501;
_root.score = _root.score + 100;
}
for (i in starsOnScreen) {
this[starsOnScreen[i]]._y = this[starsOnScreen[i]]._y + 3;
if (this[starsOnScreen[i]]._y > 250) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
if (this[starsOnScreen[i]].hitTest(_root.man)) {
_root.hp = _root.hp + 75;
_root.score = _root.score + 500;
_root.timer = _root.timer + 5;
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
}
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
_root.number = 0;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
_root.number = 0;
}
};
gotoAndPlay (6);
delay--;
if (delay <= 15) {
delay = force;
y++;
_root.attachMovie("box", "box" + y, y);
this["box" + y]._y = random(340);
this["box" + y]._x = 575;
numBoxes = boxesOnScreen.push("box" + y);
}
for (i in boxesOnScreen) {
this[boxesOnScreen[i]]._x = this[boxesOnScreen[i]]._x - power;
this[boxesOnScreen[i]]._y = this[boxesOnScreen[i]]._y + (random(20) - 7);
if (this[boxesOnScreen[i]]._x < -20) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]]._y < 50) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]]._y > 330) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]].box2.hitTest(_root.man)) {
_root.hp = _root.hp - (random(10) + 10);
this[boxesOnScreen[i]].gotoAndPlay(10);
boxesOnScreen.splice(i, 1);
}
}
Frame 8
_root.timer = 4;
clearInterval(id);
id = setInterval(function () {
_root.timer--;
}, 1000);
starsOnScreen = new Array();
var score2 = 0;
_root.hp = 100;
_root.coins = 0;
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
}
};
delay = 6;
boxesOnScreen = new Array();
y = 1;
power = 8;
force = 22;
var number = 1;
Instance of Symbol 62 MovieClip [man] "man" in Frame 8
onClipEvent (load) {
if (_root.score < 100) {
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x + 10;
}
if (Key.isDown(37)) {
this._x = this._x - 10;
}
if (Key.isDown(38)) {
this._y = this._y - 10;
}
if (Key.isDown(40)) {
this._y = this._y + 10;
}
if (_root.coin.hitTest(_root.man)) {
_root.score2 = _root.score2 + 150;
_root.coins = _root.coins + 1;
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.timer = 4;
}
}
Instance of Symbol 349 MovieClip "hpBar" in Frame 8
onClipEvent (enterFrame) {
this._xscale = _root.hp;
if (_root.hp < 0) {
_root.hp = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hp < 1) {
_root.gotoAndStop(23);
}
}
Frame 9
if (_root.timer < 0) {
_root.timer = 0;
}
if (_root.timer eq 0) {
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.hp = _root.hp - 3;
_root.timer = 4;
}
if (_root.coins eq 25) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 26;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 50) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 51;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 75) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 76;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 100) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 101;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 200) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 201;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 300) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 301;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 400) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 401;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 500) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 501;
_root.score2 = _root.score2 + 150;
}
for (i in starsOnScreen) {
this[starsOnScreen[i]]._y = this[starsOnScreen[i]]._y + 3;
if (this[starsOnScreen[i]]._y > 250) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
if (this[starsOnScreen[i]].hitTest(_root.man)) {
_root.hp = _root.hp + 50;
_root.score2 = _root.score2 + 500;
_root.timer = _root.timer + 5;
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
}
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
}
};
for (i in boxesOnScreen) {
if (this[boxesOnScreen[i]].box2.hitTest(_root.man)) {
_root.hp = _root.hp - (random(10) + 18);
this[boxesOnScreen[i]].gotoAndPlay(10);
boxesOnScreen.splice(i, 1);
}
}
Instance of Symbol 349 MovieClip "hpBar" in Frame 9
onClipEvent (enterFrame) {
this._xscale = _root.hp;
if (_root.hp < 0) {
_root.hp = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hp < 1) {
_root.gotoAndStop(23);
}
}
onClipEvent (enterFrame) {
if (_root.hp > 100) {
_root.hp = 100;
}
}
Frame 10
if (_root.timer < 0) {
_root.timer = 0;
}
if (_root.timer eq 0) {
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.hp = _root.hp - 3;
_root.timer = 4;
}
if (_root.coins eq 25) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 26;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 50) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 51;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 75) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 76;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 100) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 101;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 200) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 201;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 300) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 301;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 400) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 401;
_root.score2 = _root.score2 + 150;
}
if (_root.coins eq 500) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 501;
_root.score2 = _root.score2 + 150;
}
for (i in starsOnScreen) {
this[starsOnScreen[i]]._y = this[starsOnScreen[i]]._y + 3;
if (this[starsOnScreen[i]]._y > 250) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
if (this[starsOnScreen[i]].hitTest(_root.man)) {
_root.hp = _root.hp + 50;
_root.score2 = _root.score2 + 500;
_root.timer = _root.timer + 5;
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
}
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
}
};
gotoAndPlay (9);
delay--;
if (delay <= 15) {
delay = force;
y++;
_root.attachMovie("box", "box" + y, y);
this["box" + y]._y = random(340);
this["box" + y]._x = 575;
numBoxes = boxesOnScreen.push("box" + y);
}
for (i in boxesOnScreen) {
this[boxesOnScreen[i]]._x = this[boxesOnScreen[i]]._x - power;
this[boxesOnScreen[i]]._y = this[boxesOnScreen[i]]._y + (random(20) - 7);
if (this[boxesOnScreen[i]]._x < -20) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]]._y < 50) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]]._y > 330) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]].box2.hitTest(_root.man)) {
_root.hp = _root.hp - (random(10) + 18);
this[boxesOnScreen[i]].gotoAndPlay(10);
boxesOnScreen.splice(i, 1);
}
}
Frame 11
_root.timer = 3;
clearInterval(id);
id = setInterval(function () {
_root.timer--;
}, 1000);
starsOnScreen = new Array();
var score3 = 0;
_root.hp = 100;
_root.coins = 0;
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
}
};
delay = 6;
boxesOnScreen = new Array();
y = 1;
power = 9;
force = 22;
var number = 1;
Instance of Symbol 62 MovieClip [man] "man" in Frame 11
onClipEvent (load) {
if (_root.score < 100) {
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x + 10;
}
if (Key.isDown(37)) {
this._x = this._x - 10;
}
if (Key.isDown(38)) {
this._y = this._y - 10;
}
if (Key.isDown(40)) {
this._y = this._y + 10;
}
if (_root.coin.hitTest(_root.man)) {
_root.score3 = _root.score3 + 200;
_root.coins = _root.coins + 1;
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.timer = 3;
}
}
Instance of Symbol 349 MovieClip "hpBar" in Frame 11
onClipEvent (enterFrame) {
this._xscale = _root.hp;
if (_root.hp < 0) {
_root.hp = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hp < 1) {
_root.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (_root.hp > 100) {
_root.hp = 100;
}
}
Frame 12
if (_root.timer < 0) {
_root.timer = 0;
}
if (_root.timer eq 0) {
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.hp = _root.hp - 3;
_root.timer = 3;
}
if (_root.coins eq 25) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 26;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 50) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 51;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 75) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 76;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 100) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 101;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 200) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 201;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 300) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 301;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 400) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 401;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 500) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 501;
_root.score3 = _root.score3 + 200;
}
for (i in starsOnScreen) {
this[starsOnScreen[i]]._y = this[starsOnScreen[i]]._y + 3;
if (this[starsOnScreen[i]]._y > 250) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
if (this[starsOnScreen[i]].hitTest(_root.man)) {
_root.hp = _root.hp + 25;
_root.score3 = _root.score3 + 500;
_root.timer = _root.timer + 5;
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
}
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
}
};
for (i in boxesOnScreen) {
if (this[boxesOnScreen[i]].box2.hitTest(_root.man)) {
_root.hp = _root.hp - (random(10) + 20);
this[boxesOnScreen[i]].gotoAndPlay(10);
boxesOnScreen.splice(i, 1);
}
}
Frame 13
if (_root.timer < 0) {
_root.timer = 0;
}
if (_root.timer eq 0) {
_root.coin._x = (Math.random() * 400) + 50;
_root.coin._y = (Math.random() * 200) + 50;
_root.hp = _root.hp - 3;
_root.timer = 3;
}
if (_root.coins eq 25) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 26;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 50) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 51;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 75) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 76;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 100) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 101;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 200) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 201;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 300) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 301;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 400) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 401;
_root.score3 = _root.score3 + 200;
}
if (_root.coins eq 500) {
_root.attachMovie("power_up", "power_up" + x, x);
this["power_up" + x]._x = random(350);
this["power_up" + x]._y = -20;
numStars = starsOnScreen.push("power_up" + x);
_root.coins = 501;
_root.score3 = _root.score3 + 200;
}
for (i in starsOnScreen) {
this[starsOnScreen[i]]._y = this[starsOnScreen[i]]._y + 3;
if (this[starsOnScreen[i]]._y > 250) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
if (this[starsOnScreen[i]].hitTest(_root.man)) {
_root.hp = _root.hp + 25;
_root.score3 = _root.score3 + 500;
_root.timer = _root.timer + 5;
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
}
onEnterFrame = function () {
if (_root.number eq 1) {
_root.coin1._x = (Math.random() * 400) + 50;
_root.coin1._y = (Math.random() * 200) + 50;
}
if (_root.number eq 2) {
_root.coin2._x = (Math.random() * 400) + 50;
_root.coin2._y = (Math.random() * 200) + 50;
}
if (_root.number eq 3) {
_root.coin3._x = (Math.random() * 400) + 50;
_root.coin3._y = (Math.random() * 200) + 50;
}
if (_root.number eq 4) {
_root.coin4._x = (Math.random() * 400) + 50;
_root.coin4._y = (Math.random() * 200) + 50;
}
};
gotoAndPlay (12);
delay--;
if (delay <= 15) {
delay = force;
y++;
_root.attachMovie("box", "box" + y, y);
this["box" + y]._y = random(340);
this["box" + y]._x = 575;
numBoxes = boxesOnScreen.push("box" + y);
}
for (i in boxesOnScreen) {
this[boxesOnScreen[i]]._x = this[boxesOnScreen[i]]._x - power;
this[boxesOnScreen[i]]._y = this[boxesOnScreen[i]]._y + (random(20) - 7);
if (this[boxesOnScreen[i]]._x < -20) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]]._y < 50) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]]._y > 330) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
if (this[boxesOnScreen[i]].box2.hitTest(_root.man)) {
_root.hp = _root.hp - (random(10) + 20);
this[boxesOnScreen[i]].gotoAndPlay(10);
boxesOnScreen.splice(i, 1);
}
}
Frame 14
stop();
Instance of Symbol 402 MovieClip in Frame 14
onClipEvent (load) {
if (_root.highScore < 100) {
_root.highScore = 0;
}
}
Frame 15
stop();
stop();
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 944;
__top10_send__.kid = "RVULRE";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(15);
}
};
Frame 16
stop();
stop();
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 945;
__top10_send__.kid = "QUPYOO";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
Frame 17
stop();
stop();
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 946;
__top10_send__.kid = "DVLENH";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
Frame 18
stop();
Frame 19
stop();
Frame 20
stop();
Frame 21
stop();
Frame 22
stopAllSounds();
for (i in starsOnScreen) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
for (i in boxesOnScreen) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
stop();
Frame 23
stopAllSounds();
for (i in starsOnScreen) {
this[starsOnScreen[i]].removeMovieClip();
starsOnScreen.splice(i, 1);
}
for (i in boxesOnScreen) {
this[boxesOnScreen[i]].removeMovieClip();
boxesOnScreen.splice(i, 1);
}
stop();
Frame 25
stop();
Frame 26
stop();
Symbol 37 MovieClip Frame 16
stop();
Instance of Symbol 2 MovieClip "box2" in Symbol 39 MovieClip [box] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.hp = _root.hp - (random(5) + 1);
}
}
Symbol 39 MovieClip [box] Frame 5
gotoAndPlay (1);
Symbol 39 MovieClip [box] Frame 10
stop();
Symbol 39 MovieClip [box] Frame 20
stop();
Symbol 80 MovieClip Frame 40
stop();
Symbol 90 Button
on (press) {
_root.play();
}
Symbol 91 Button
on (press) {
play();
}
Instance of Symbol 63 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("play_button");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 94 MovieClip Frame 130
stop();
Symbol 94 MovieClip Frame 140
_root.play();
Symbol 144 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 148 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 289 MovieClip Frame 141
gotoAndPlay ("bb");
Symbol 522 MovieClip [__Packages.ab20] Frame 0
class ab20
{
function ab20 () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 303 Button
on (press) {
stopAllSounds();
gotoAndStop (26);
}
Symbol 307 Button
on (press) {
stopAllSounds();
gotoAndStop (18);
}
Symbol 311 Button
on (press) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 312 Button
on (press) {
stopAllSounds();
gotoAndStop (14);
}
Symbol 318 Button
on (press) {
stopAllSounds();
}
on (press) {
gotoAndStop (14);
}
Symbol 323 Button
on (press) {
stopAllSounds();
}
on (press) {
gotoAndStop (2);
}
Symbol 329 Button
on (press) {
ab20_09 = new LoadVars();
ab20_09.z = name_;
ab20_09.x = ab20.encodeNum(score);
ab20_09.c = 944;
ab20_09.v = "RVULRE";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
gotoAndStop (25);
}
Symbol 336 Button
on (press) {
stopAllSounds();
}
on (press) {
gotoAndStop (14);
}
on (press) {
delete _root.score;
delete _root.score_2;
delete _root.score_3;
}
on (press) {
name_ = "";
name_2 = "";
name_3 = "";
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 406 Button
on (press) {
gotoAndPlay (21);
}
Symbol 410 Button
on (press) {
gotoAndPlay (20);
}
Symbol 414 Button
on (press) {
gotoAndPlay (19);
}
Symbol 415 Button
on (press) {
stopAllSounds();
gotoAndStop (17);
}
Symbol 416 Button
on (press) {
stopAllSounds();
gotoAndStop (16);
}
Symbol 446 Button
on (press) {
stopAllSounds();
gotoAndStop (15);
}
Symbol 492 Button
on (press) {
gotoAndStop (17);
}
Symbol 493 Button
on (press) {
gotoAndStop (16);
}
Symbol 494 Button
on (press) {
gotoAndStop (15);
}
Symbol 496 Button
on (press) {
if (name.text eq "") {
gotoAndStop (19);
} else {
gotoAndPlay (5);
}
}
on (keyPress "<Enter>") {
if (name.text eq "") {
gotoAndStop (19);
} else {
gotoAndPlay (5);
}
}
Symbol 500 Button
on (press) {
if (name_2.text eq "") {
gotoAndStop (20);
} else {
gotoAndPlay (8);
}
}
on (keyPress "<Enter>") {
if (name_2.text eq "") {
gotoAndStop (20);
} else {
gotoAndPlay (8);
}
}
Symbol 502 Button
on (press) {
if (name_3.text eq "") {
gotoAndStop (21);
} else {
gotoAndPlay (11);
}
}
on (keyPress "<Enter>") {
if (name_3.text eq "") {
gotoAndStop (21);
} else {
gotoAndPlay (11);
}
}
Symbol 504 Button
on (press) {
ab20_09 = new LoadVars();
ab20_09.z = name_3;
ab20_09.x = ab20.encodeNum(score3);
ab20_09.c = 946;
ab20_09.v = "DVLENH";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
gotoAndStop (25);
}
Symbol 511 Button
on (press) {
ab20_09 = new LoadVars();
ab20_09.z = name_2;
ab20_09.x = ab20.encodeNum(score2);
ab20_09.c = 945;
ab20_09.v = "QUPYOO";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
gotoAndStop (25);
}
Symbol 513 Button
on (press) {
stopAllSounds();
}
on (press) {
gotoAndStop (14);
}
on (press) {
delete _root.score;
delete _root.score_2;
delete _root.score_3;
}
on (press) {
name = "";
name2 = "";
name3 = "";
}