Frame 1
stop();
Frame 2
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
current_bytes = this.getBytesLoaded();
tot_bytes = this.getBytesTotal();
percent = int((current_bytes / tot_bytes) * 100) + "% ";
if (current_bytes >= tot_bytes) {
gotoAndStop (9);
}
Frame 3
this.gotoAndPlay("loader");
Frame 4
stop();
Frame 5
c1 = _url.indexOf("://") + 3;
c2 = _url.indexOf("/", c1);
domain = _url.substring(c1, c2);
domain != "www.ultimatearcade.com";
if ("216.55.181.4") {
gotoAndStop (4);
} else {
gotoAndPlay (6);
}
Frame 6
gotoAndStop (9);
Frame 9
_root._quality = "HIGH";
stop();
Instance of Symbol 70 MovieClip "help" in Frame 9
onClipEvent (load) {
this._visible = 0;
}
Frame 10
_root.bg.swapDepths(9999999);
_root._quality = "high";
_root.quality_option.gotoAndStop(2);
_root.who = 0;
hit = new sound();
hit.attachSound("hit");
monk = 0;
hero = 0;
bobcheck = 0;
kills = 0;
ready = 0;
_root.score.score = 0;
stop();
timeForLevel = 300000 /* 0x0493E0 */;
function FireCannon() {
if (_root.wait.wait == 0) {
Angle = _root.Slider.Angle;
duplicateMovieClip ("CannonBall", "CannonBall" + n, n);
setProperty(_root["CannonBall" + n], _x , _root.Cannon._x + (100 * math.cos((math.pi / 180) * Angle)));
setProperty(_root["CannonBall" + n], _y , (_root.Cannon._y - (100 * math.sin((math.pi / 180) * Angle))) - 15);
_root["CannonBall" + n].xmov = Speed * math.cos((math.pi / 180) * Angle);
_root["CannonBall" + n].ymov = (-Speed) * math.sin((math.pi / 180) * Angle);
n = Number(n) + 1;
}
}
n = 1;
gravity = 0.05;
Speed = 25;
Instance of Symbol 262 MovieClip "Slider" in Frame 10
onClipEvent (load) {
_x = _root.Line._x;
_y = _root.Line._y;
x = this._x;
y = this._y;
Angle = 0;
ymax = (Number(y) - Number(_root.Line._height)) + Number(this._height / 2);
}
onClipEvent (enterFrame) {
if (Down == "Yes") {
Angle = 90 * (1 - ((this._y - ymax) / (y - ymax)));
setProperty(_root.Cannon, _rotation , -Angle);
setProperty(_root.CannonBall, _rotation , -Angle);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) && (170 < this._y)) {
this._y = this._y - 2;
Down = "Yes";
} else if (Key.isDown(40) && (this._y < 220)) {
this._y = this._y + 2;
Down = "Yes";
} else {
Down = "";
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
FireCannon();
Cannon.gotoAndPlay(2);
}
}
Instance of Symbol 264 MovieClip "CannonBall" in Frame 10
onClipEvent (load) {
gravity = _root.gravity;
}
onClipEvent (enterFrame) {
if (_name != "CannonBall") {
x = this._x;
y = this._y;
ymov = ymov + gravity;
_x = (Number(x) + xmov);
_y = (Number(y) + ymov);
}
}
Instance of Symbol 291 MovieClip "BadGuy" in Frame 10
onClipEvent (load) {
alanspeed = 11;
xmov = alanspeed;
}
onClipEvent (enterFrame) {
if (_root.ready == 0) {
this._x = this._x - xmov;
}
}
onClipEvent (enterFrame) {
if (125 >= this._x) {
this._x = 125;
}
}
Instance of Symbol 297 MovieClip "score" in Frame 10
onClipEvent (enterFrame) {
if (this.score < 0) {
this.score = 0;
}
}
Instance of Symbol 311 MovieClip in Frame 10
onClipEvent (load) {
maxTime = _root.timeForLevel;
timeStart = getTimer();
}
onClipEvent (enterFrame) {
timeElapsed = maxTime - (getTimer() - timeStart);
timeRealSeconds = Math.floor(timeElapsed / 1000);
timeMinutes = Math.floor(timeRealSeconds / 60);
trace(timeMinutes);
timeSeconds = timeRealSeconds - (timeMinutes * 60);
if (timeSeconds < 10) {
timeseconds = String("0" + timeseconds);
}
_root.timer = (timeMinutes + ":") + timeSeconds;
_root.timeScore = timeRealSeconds;
if ((0 >= timeSeconds) && (0 >= timeMinutes)) {
_root.gotoAndStop("over");
}
}
Frame 11
bg.stop();
_root._quality = "HIGH";
_root.quality_option.gotoAndStop(2);
_root.finalscore = _root.score.score + _root.kills;
if (_root.hero == 1) {
_root.message.gotoAndStop(1);
} else {
_root.message.gotoAndStop(2);
}
stop();
Symbol 24 MovieClip Frame 112
_root.gotoAndStop("loader");
Symbol 33 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 48 Button
on (release) {
play();
}
Symbol 59 Button
on (release) {
_root.help._visible = 1;
}
Symbol 69 Button
on (release) {
_root.help._visible = 0;
}
Symbol 76 Button
on (release) {
getURL ("http://www.ultimatearcade.com/", "_blank");
}
Symbol 80 Button
on (release) {
getURL ("http://www.ultimatearcade.com/downloads/", "_blank");
}
Symbol 84 Button
on (release) {
getURL ("http://www.ultimatearcade.com/maillist/signup.html", "_blank");
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 20
gotoAndStop (1);
Symbol 108 MovieClip Frame 22
play();
Symbol 108 MovieClip Frame 55
gotoAndStop (1);
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 40
gotoAndStop (1);
Instance of Symbol 110 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_root.hit.start();
_root.hit.setVolume(50);
_root.flagman.gotoAndPlay("oops");
_root.score.score = _root.score.score - 15;
_parent.hand.gotoAndPlay(2);
}
n = Number(n) + 1;
}
}
Symbol 117 MovieClip Frame 365
if (_root.monk == 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 117 MovieClip Frame 366
_root.monk = 1;
play();
play();
Symbol 117 MovieClip Frame 633
_root.monk = 0;
Symbol 117 MovieClip Frame 917
gotoAndPlay (1);
Instance of Symbol 126 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.BadGuy._x == 125) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (_root.bobcheck == 1) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if ((_root.BadGuy._x == 125) && (_root.bobcheck == 1)) {
_parent.gotoAndStop(1);
} else {
play();
}
}
Instance of Symbol 126 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.BadGuy._x == 125) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (_root.bobcheck == 1) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if ((_root.BadGuy._x == 125) && (_root.bobcheck == 1)) {
_parent.gotoAndStop(1);
} else {
play();
}
}
Instance of Symbol 126 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.BadGuy._x == 125) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (_root.bobcheck == 1) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if ((_root.BadGuy._x == 125) && (_root.bobcheck == 1)) {
_parent.gotoAndStop(1);
} else {
play();
}
}
Symbol 175 MovieClip Frame 1
rnd = Math.floor(Math.random() * 4);
gotoAndStop(rnd);
stop();
_root.who2 = 1;
stop();
Symbol 175 MovieClip Frame 2
_root.who2 = 2;
stop();
Symbol 175 MovieClip Frame 3
_root.who2 = 3;
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 2
play();
Symbol 190 MovieClip Frame 40
_root.ready = 0;
gotoAndStop (1);
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
play();
Symbol 193 MovieClip Frame 40
_root.ready = 0;
gotoAndStop (1);
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
play();
Symbol 208 MovieClip Frame 40
_root.ready = 0;
gotoAndStop (1);
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
play();
Symbol 221 MovieClip Frame 40
_root.ready = 0;
gotoAndStop (1);
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
play();
Symbol 233 MovieClip Frame 40
_root.ready = 0;
gotoAndStop (1);
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 2
play();
Symbol 244 MovieClip Frame 40
_root.ready = 0;
gotoAndStop (1);
Symbol 245 MovieClip Frame 1
stop();
Instance of Symbol 120 MovieClip "body" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
_root.score.score = _root.score.score + 10;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(50);
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].ymov = (-_root["CannonBall" + n].ymov) + 2000;
_root.flagman.gotoAndPlay(2);
_root.bob.stop();
_parent.gotoAndPlay("body");
}
n = Number(n) + 1;
}
}
Instance of Symbol 120 MovieClip "head" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
_root.score.score = _root.score.score + 15;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(70);
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].ymov = (-_root["CannonBall" + n].ymov) + 2000;
_root.flagman.gotoAndPlay(2);
_root.bob.stop();
_parent.gotoAndPlay("head");
}
n = Number(n) + 1;
}
}
Symbol 245 MovieClip Frame 2
stop();
Symbol 245 MovieClip Frame 5
if (_root.who2 == 1) {
one.gotoAndPlay(2);
}
if (_root.who2 == 2) {
two.gotoAndPlay(2);
}
if (_root.who2 == 3) {
three.gotoAndPlay(2);
}
Symbol 245 MovieClip Frame 43
_root.who2 = 0;
_root.bob.gotoAndPlay(1);
_parent.gotoAndStop(1);
Symbol 245 MovieClip Frame 53
if (_root.who2 == 1) {
one1.gotoAndPlay(2);
}
if (_root.who2 == 2) {
two2.gotoAndPlay(2);
}
if (_root.who2 == 3) {
three3.gotoAndPlay(2);
}
Symbol 245 MovieClip Frame 92
_root.who2 = 0;
_root.bob.gotoAndPlay(1);
_parent.gotoAndStop(1);
Symbol 246 MovieClip Frame 1
_root.bobcheck = 0;
play();
Symbol 246 MovieClip Frame 120
_root.bobcheck = 1;
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 5
stop();
Instance of Symbol 256 MovieClip in Symbol 257 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.wait.wait == 0) {
_root.Cannon.gotoAndStop(1);
}
}
Symbol 261 Button
on (press) {
startDrag ("", false, x, ymax, x, y);
Down = "Yes";
}
on (release, dragOut, dragOver, releaseOutside) {
stopDrag();
Down = "";
}
Symbol 267 Button
on (keyPress "<Space>") {
if (_root.wait.wait == 0) {
_root.wait.gotoAndPlay(2);
FireCannon();
Cannon.gotoAndPlay(2);
}
}
Symbol 269 MovieClip Frame 1
wait = 0;
stop();
Symbol 269 MovieClip Frame 2
wait = 1;
Symbol 269 MovieClip Frame 25
gotoAndStop (1);
Symbol 277 MovieClip Frame 1
rnd = Math.floor(Math.random() * 4);
gotoAndStop(rnd);
stop();
_root.who = 3;
_root.BadGuy.gotoAndStop(1);
stop();
Symbol 277 MovieClip Frame 2
_root.who = 1;
_root.BadGuy.gotoAndStop(3);
stop();
Symbol 277 MovieClip Frame 3
_root.who = 2;
_root.BadGuy.gotoAndStop(2);
stop();
Symbol 278 MovieClip Frame 1
_root.ready = 0;
stop();
Symbol 278 MovieClip Frame 2
if (_root.who == 1) {
one.gotoAndPlay(2);
}
if (_root.who == 2) {
two.gotoAndPlay(2);
}
if (_root.who == 3) {
three.gotoAndPlay(2);
}
Symbol 278 MovieClip Frame 40
_root.BadGuy.xmov = _root.BadGuy.alanspeed;
_root.who = 0;
_root.BadGuy._x = 800;
_parent.gotoAndStop(1);
_root.BadGuy.gotoAndStop(1);
Symbol 278 MovieClip Frame 50
if (_root.who == 1) {
one1.gotoAndPlay(2);
}
if (_root.who == 2) {
two2.gotoAndPlay(2);
}
if (_root.who == 3) {
three3.gotoAndPlay(2);
}
Symbol 278 MovieClip Frame 89
_root.BadGuy.xmov = _root.BadGuy.alanspeed;
_root.who = 0;
_root.BadGuy._x = 800;
_parent.gotoAndStop(1);
_root.BadGuy.gotoAndStop(1);
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_root.score.score = _root.score.score + 15;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(70);
_parent.xmov = 0;
_root.flagman.gotoAndPlay(2);
_root.BadGuy.alan.gotoAndPlay("head");
_root.BadGuy.gotoAndStop("wait");
}
n = Number(n) + 1;
}
}
Instance of Symbol 282 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_root.score.score = _root.score.score + 10;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(50);
_parent.xmov = 0;
_root.flagman.gotoAndPlay(2);
_root.BadGuy.alan.gotoAndPlay("body");
_root.BadGuy.gotoAndStop("wait");
}
n = Number(n) + 1;
}
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 2
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_parent.xmov = 0;
_root.score.score = _root.score.score + 15;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(70);
_root.flagman.gotoAndPlay(2);
_root.BadGuy.alan.gotoAndPlay("head");
_root.BadGuy.gotoAndStop("wait");
}
n = Number(n) + 1;
}
}
Instance of Symbol 286 MovieClip in Symbol 291 MovieClip Frame 2
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_root.score.score = _root.score.score + 10;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(50);
_parent.xmov = 0;
_root.flagman.gotoAndPlay(2);
_root.BadGuy.alan.gotoAndPlay("body");
_root.BadGuy.gotoAndStop("wait");
}
n = Number(n) + 1;
}
}
Instance of Symbol 288 MovieClip in Symbol 291 MovieClip Frame 3
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_parent.xmov = 0;
_root.score.score = _root.score.score + 15;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(70);
_root.flagman.gotoAndPlay(2);
_root.BadGuy.alan.gotoAndPlay("head");
_root.BadGuy.gotoAndStop("wait");
}
n = Number(n) + 1;
}
}
Instance of Symbol 290 MovieClip in Symbol 291 MovieClip Frame 3
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
n = 1;
while (_root.n >= n) {
if (_root["CannonBall" + n].hitTest(this)) {
setProperty("_root[\"CannonBall\"+n]", _y , (this._y - (this._height / 2)) - (_root["CannonBall" + n]._height / 2));
_root["CannonBall" + n].removeMovieClip();
_root.score.score = _root.score.score + 10;
_root.kills = _root.kills + 1;
_root.hit.start();
_root.hit.setVolume(50);
_parent.xmov = 0;
_root.flagman.gotoAndPlay(2);
_root.BadGuy.alan.gotoAndPlay("body");
_root.BadGuy.gotoAndStop("wait");
}
n = Number(n) + 1;
}
}
Symbol 291 MovieClip Frame 4
_root.ready = 1;
stop();
Symbol 292 MovieClip Frame 131
if (_root.monk == 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 292 MovieClip Frame 132
_root.monk = 1;
play();
Symbol 292 MovieClip Frame 548
_root.monk = 0;
Symbol 292 MovieClip Frame 616
gotoAndPlay (1);
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 3
stop();
Symbol 302 MovieClip Frame 4
stop();
Symbol 302 MovieClip Frame 5
stop();
Symbol 302 MovieClip Frame 6
stop();
Symbol 302 MovieClip Frame 7
stop();
Symbol 302 MovieClip Frame 8
stop();
Symbol 302 MovieClip Frame 9
stop();
Symbol 302 MovieClip Frame 10
stop();
Symbol 302 MovieClip Frame 11
stop();
Symbol 302 MovieClip Frame 12
stop();
Symbol 302 MovieClip Frame 13
stop();
Symbol 302 MovieClip Frame 14
stop();
Symbol 302 MovieClip Frame 15
stop();
Symbol 302 MovieClip Frame 16
stop();
Symbol 302 MovieClip Frame 17
stop();
Symbol 302 MovieClip Frame 18
stop();
Symbol 302 MovieClip Frame 19
stop();
Symbol 302 MovieClip Frame 20
stop();
Symbol 302 MovieClip Frame 21
stop();
Symbol 302 MovieClip Frame 22
stop();
Symbol 302 MovieClip Frame 23
stop();
Symbol 302 MovieClip Frame 24
stop();
Symbol 302 MovieClip Frame 25
stop();
Symbol 302 MovieClip Frame 26
stop();
Symbol 302 MovieClip Frame 27
stop();
Symbol 302 MovieClip Frame 28
stop();
Symbol 302 MovieClip Frame 29
stop();
Symbol 302 MovieClip Frame 30
stop();
Symbol 302 MovieClip Frame 31
stop();
Symbol 302 MovieClip Frame 32
stop();
Symbol 302 MovieClip Frame 33
stop();
Symbol 302 MovieClip Frame 34
stop();
Symbol 302 MovieClip Frame 35
stop();
Symbol 302 MovieClip Frame 36
stop();
Symbol 302 MovieClip Frame 37
stop();
Symbol 302 MovieClip Frame 38
stop();
Symbol 302 MovieClip Frame 39
stop();
Symbol 302 MovieClip Frame 40
stop();
Symbol 302 MovieClip Frame 41
stop();
Symbol 302 MovieClip Frame 42
stop();
Symbol 302 MovieClip Frame 43
stop();
Symbol 302 MovieClip Frame 44
stop();
Symbol 302 MovieClip Frame 45
stop();
Symbol 302 MovieClip Frame 46
stop();
Symbol 302 MovieClip Frame 47
stop();
Symbol 302 MovieClip Frame 48
stop();
Symbol 302 MovieClip Frame 49
stop();
Symbol 302 MovieClip Frame 50
_root.gotoAndStop("over");
_root.hero = 1;
stop();
Symbol 308 Button
on (release) {
_root.help._visible = 1;
}
Symbol 314 Button
on (press) {
_root._quality = "HIGH";
gotoAndStop (2);
}
Symbol 316 Button
on (press) {
_root._quality = "MEDIUM";
gotoAndStop (3);
}
Symbol 318 Button
on (press) {
_root._quality = "LOW";
gotoAndStop (4);
}
Symbol 320 Button
on (press) {
_root._quality = "BEST";
gotoAndStop (1);
}
Symbol 323 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
play();
Symbol 328 MovieClip Frame 25
stop();
Symbol 334 Button
on (release) {
gotoAndStop (9);
}
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
stop();