Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
System.security.loadPolicyFile("http://www.ultimatearcade.com/crossdomain.xml");
mc_game = "mustache-warrior";
mc_score = _root.bestScore;
trackSubmittedScore = 0;
this.createEmptyMovieClip("UAScoreBoard", 1000000);
loadMovie ("http://www.ultimatearcade.com/include/flash/globalscores/globalscores_descending.swf", UAScoreBoard);
UAScoreBoard._lockroot = true;
UAScoreBoard._x = 140;
UAScoreBoard._y = 100;
gameTitle = "Mustache Warrior";
gameURL = "http://www.ultimatearcade.com/mustache-warrior";
this.createEmptyMovieClip("UATell", 2000000);
loadMovie ("http://www.ultimatearcade.com/include/flash/globaltell/tell.swf", UATell);
UATell._lockroot = true;
UATell._x = 110;
UATell._y = 100;
best = 0;
__com_mochibot__("d774104f", this, 10301, true);
Instance of Symbol 69 MovieClip "logo" in Frame 1
/* no clip actions */
Frame 2
stop();
Instance of Symbol 74 MovieClip "preloader" in Frame 2
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
text = ("Loaded " + percent) + "%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndStop("preloading");
} else {
stop();
}
}
Frame 5
stop();
trace("level:" + _root.UAScoreBoard);
trace("levelua:" + _root.UATell);
Frame 6
headshot = new Sound();
headshot.attachSound("headshot");
music.gotoAndStop(2);
score = 0;
headShotsCount = 0;
totalBirds = 0;
healthBar.gotoAndStop(1);
birdSpeed = 6;
spawnBirdTime = 70;
stop();
if (index == undefined) {
index = true;
}
if (wall == undefined) {
wall = false;
}
if (wind == undefined) {
wind = 0;
}
if (_root.wind != 0) {
_root.wind = Math.random() - 0.5;
}
if (_root.syokiHP == undefined) {
_root.syokiHP = 2;
}
hitoHP = _root.syokiHP;
hito2HP = _root.syokiHP;
_root.birdmode = false;
this.onEnterFrame = function () {
};
turn = 1;
_root.birdmode = true;
stop();
kankaku = spawnBirdTime;
this.onEnterFrame = function () {
if (gameOver != "yes") {
var _local2 = _root;
if (((time++) % kankaku) == 0) {
_local2.attachMovie("tori", "tori" + (++torid), torid);
_local2["tori" + torid]._x = (Math.round(Math.random()) * 620) - 20;
_local2["tori" + torid]._y = (Math.random() * 100) + 25;
}
}
};
Instance of Symbol 137 MovieClip "sign" in Frame 6
onClipEvent (load) {
this._visible = false;
if (_root.index == false) {
this._xscale = 0;
this._yscale = 0;
}
}
Instance of Symbol 173 MovieClip "hito" in Frame 6
onClipEvent (mouseDown) {
drag = true;
this.yumi.gotoAndStop(2);
xzero = _xmouse;
yzero = _ymouse;
_root.gravity = 0.8;
_root.sign._visible = true;
_root.sign._x = _root._xmouse;
_root.sign._y = _root._ymouse;
nagasa = 3;
radian = 0;
muki = true;
kakudo = 0;
power = 0;
}
onClipEvent (mouseMove) {
if (drag) {
xmo = (_root._xmouse - _root.sign._x) * (_root._xscale / 100);
ymo = (_root._ymouse - _root.sign._y) * (_root._xscale / 100);
radian = Math.atan2(-ymo, -xmo);
kakudo = (radian * 180) / 3.141593;
this.yumi._rotation = kakudo;
power = Math.sqrt((ymo * ymo) + (xmo * xmo)) / 10;
if (power > 25) {
power = 25;
}
nagasa = Math.floor(power) + 2;
this.yumi.gotoAndStop(nagasa);
}
}
onClipEvent (enterFrame) {
if (_root.totalBirds == 100) {
_root.nextFrame();
}
if ((Math.round(Math.random() * 30) == 1) && (_root.wind != 0)) {
_root.hadep++;
_root.haba.attachMovie("happa", "ha" + _root.hadep, _root.hadep);
_root.haba["ha" + _root.hadep]._x = (-_root._x) + (Math.random() * 400);
_root.haba["ha" + _root.hadep]._y = 265;
}
}
onClipEvent (mouseUp) {
drag = false;
_root.sign._visible = false;
this.yumi.gotoAndStop(this.yumi._totalframes);
addx = (Math.cos(radian) * power) * 1.5;
addy = (Math.sin(radian) * power) * 1.5;
_root.depth++;
_root.yaba.attachMovie("ya", "ya" + _root.depth, _root.depth);
_root.yaba["ya" + _root.depth]._x = this._x + (Math.cos(radian) * 32);
_root.yaba["ya" + _root.depth]._y = this._y + (Math.sin(radian) * 32);
_root.yaba["ya" + _root.depth].addx = addx;
_root.yaba["ya" + _root.depth].addy = addy;
_root.yaba["ya" + _root.depth].mydepth = _root.depth;
}
Instance of Symbol 175 MovieClip "heroHurtMC" in Frame 6
onClipEvent (enterFrame) {
if (this._currentframe > 1) {
this.play();
}
}
Instance of Symbol 177 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.totalBirds <= 10) {
_root.currentLevel = 1;
}
if ((_root.totalBirds > 10) and (_root.totalBirds < 20)) {
_root.currentLevel = 2;
}
}
Instance of Symbol 237 MovieClip "music" in Frame 6
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 239 MovieClip "gameTimer" in Frame 6
onClipEvent (load) {
_root.timeForLevel = 120000 /* 0x01D4C0 */;
maxTime = _root.timeForLevel;
timeStart = getTimer();
this.stopTimer = "no";
}
onClipEvent (enterFrame) {
if ((_root.score > 1200) and (_root.birdSpeed == 6)) {
_root.birdSpeed = _root.birdSpeed + 2;
}
if ((_root.score > 2200) and (_root.birdSpeed == 8)) {
_root.birdSpeed = _root.birdSpeed + 2;
}
if (this.stopTimer == "no") {
timeElapsed = maxTime - (getTimer() - timeStart);
timeRealSeconds = Math.floor(timeElapsed / 1000);
timeMinutes = Math.floor(timeRealSeconds / 60);
timeSeconds = timeRealSeconds - (timeMinutes * 60);
if (timeSeconds < 10) {
timeSeconds = String("0" + timeSeconds);
}
if ((timeSeconds % 5) == 0) {
trace("level:" + _root.UAScoreBoard);
}
_root.timer = (timeMinutes + ":") + timeSeconds;
_root.timeScore = timeRealSeconds;
if ((timeSeconds <= 0) && (timeMinutes <= 0)) {
_root.timer = "00:00";
_root.gotoAndStop("gameOver");
this.stopTimer = "yes";
}
}
}
Frame 7
gameOver = "yes";
music.gotoAndStop(3);
_root.timer = "00:00";
gameTimer.stopTimer = "yes";
trace("level:" + _root.UAScoreBoard);
Symbol 4 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 6
stop();
Symbol 16 MovieClip [ya] Frame 1
function syori() {
var _local3 = _root;
if (_local3.birdmode != true) {
if ((!((_local3.hitoHP <= 0) || (_local3.hito2HP <= 0))) || (sinifrag)) {
if ((_local3.camera == mydepth) || (sinifrag)) {
if (frag > 0) {
frag--;
rootaddx = ((((-this._x) * (_local3._xscale / 100)) - _local3._x) + 200) / (3 / (_local3._xscale / 100));
rootaddy = ((((-this._y) * (_local3._xscale / 100)) - _local3._y) + 150) / (3 / (_local3._xscale / 100));
_local3._x = _local3._x + rootaddx;
_local3._y = _local3._y + rootaddy;
_local3.sign._x = _local3.sign._x - (rootaddx / (_local3._xscale / 100));
_local3.sign._y = _local3.sign._y - (rootaddy / (_local3._xscale / 100));
return(undefined);
}
if ((frag <= 0) && (frag > -50)) {
if (((_local3.turn == 1) && (_local3.hitoHP > 0)) || (_local3.hito2HP <= 0)) {
frag--;
rootaddx = ((((-_local3.hito._x) * (_local3._xscale / 100)) - _local3._x) + 200) / 5;
rootaddy = ((((-(_local3.hito._y - 50)) * (_local3._xscale / 100)) - _local3._y) + 150) / 5;
_local3._x = _local3._x + rootaddx;
_local3._y = _local3._y + rootaddy;
_local3.sign._x = _local3.sign._x - (rootaddx / (_local3._xscale / 100));
_local3.sign._y = _local3.sign._y - (rootaddy / (_local3._xscale / 100));
return(undefined);
}
frag--;
rootaddx = ((((-_local3.hito2._x) * (_local3._xscale / 100)) - _local3._x) + 200) / 5;
rootaddy = ((((-(_local3.hito2._y - 50)) * (_local3._xscale / 100)) - _local3._y) + 150) / 5;
_local3._x = _local3._x + rootaddx;
_local3._y = _local3._y + rootaddy;
_local3.sign._x = _local3.sign._x - (rootaddx / (_local3._xscale / 100));
_local3.sign._y = _local3.sign._y - (rootaddy / (_local3._xscale / 100));
}
}
}
}
}
stop();
frag = 5;
_root.camera++;
divide = 6;
addx = addx / divide;
addy = addy / divide;
maziaddx = this._x;
maziaddy = this._y;
if (_root.critical) {
kaku = ((Math.atan2(addy, addx) * 180) / 3.141593) * -1;
if ((kaku >= 45) && (kaku <= 135)) {
cri = true;
}
}
this.onEnterFrame = function () {
var _local3 = _root;
var _local4 = this;
if (_local3.birdmode != true) {
if ((!((_local3.hitoHP <= 0) || (_local3.hito2HP <= 0))) || (sinifrag)) {
if ((_local3.camera == mydepth) || (sinifrag)) {
frag--;
if (frag < 0) {
rootaddx = ((((-_local4._x) * (_local3._xscale / 100)) - _local3._x) + 200) / (3 / (_local3._xscale / 100));
rootaddy = ((((-_local4._y) * (_local3._xscale / 100)) - _local3._y) + 150) / (3 / (_local3._xscale / 100));
_local3._x = _local3._x + rootaddx;
_local3._y = _local3._y + rootaddy;
_local3.sign._x = _local3.sign._x - (rootaddx / (_local3._xscale / 100));
_local3.sign._y = _local3.sign._y - (rootaddy / (_local3._xscale / 100));
}
}
}
}
addy = addy + (_local3.gravity / divide);
addx = addx + (_local3.wind / divide);
if (norotation != true) {
_local4._rotation = (Math.atan2(addy, addx) * 180) / 3.141593;
}
i = 0;
while (i < divide) {
maziaddx = maziaddx + addx;
maziaddy = maziaddy + addy;
_local4._x = maziaddx;
_local4._y = maziaddy;
if (_local3.mato.hitTest(_local4._x, _local4._y, false)) {
_local4.gotoAndStop(4);
return(undefined);
}
if (_local3.hitoatari.hitTest(_local4._x, _local4._y, false)) {
sibuki = 3;
if (_local4._y < 450) {
_local3.hitoHP--;
sibuki = 11;
if (cri) {
_local3.hitoHP--;
sibuki = sibuki + 15;
}
}
_local4.gotoAndStop(3);
return(undefined);
}
if (_local3.hitoatari2.hitTest(_local4._x, _local4._y, false)) {
sibuki = 3;
if (_local4._y < 450) {
_local3.hito2HP--;
sibuki = 11;
if (cri) {
_local3.hito2HP--;
sibuki = sibuki + 15;
}
}
_local4.gotoAndStop(3);
return(undefined);
}
if (_local4._y > 465) {
magari = _local4.yanoe._currentframe;
_local4.gotoAndStop(2);
_local4.sasari.gotoAndStop(magari);
return(undefined);
}
if (_local3.yaba["ya" + (_local3.depth - 1)].yanoe._currentframe == 1) {
if (Math.sqrt(((_local3.yaba["ya" + (_local3.depth - 1)]._x - _local3.yaba["ya" + _local3.depth]._x) * (_local3.yaba["ya" + (_local3.depth - 1)]._x - _local3.yaba["ya" + _local3.depth]._x)) + ((_local3.yaba["ya" + (_local3.depth - 1)]._y - _local3.yaba["ya" + _local3.depth]._y) * (_local3.yaba["ya" + (_local3.depth - 1)]._y - _local3.yaba["ya" + _local3.depth]._y))) < 15) {
_local3.yaba["ya" + (_local3.depth - 1)].addx = (Math.random() * 2) - 1;
_local3.yaba["ya" + (_local3.depth - 1)].addy = (Math.random() * 2) - 1;
_local3.yaba["ya" + (_local3.depth - 1)].yanoe.gotoAndStop(Math.ceil(Math.random() * 2) + 1);
_local3.yaba["ya" + _local3.depth].addx = (Math.random() * 2) - 1;
_local3.yaba["ya" + _local3.depth].addy = (Math.random() * 2) - 1;
}
}
i++;
}
};
Symbol 16 MovieClip [ya] Frame 2
frag = 30;
if (com) {
_root.hitresult = this._x - _root.hito._x;
}
if (_root.wind != 0) {
_root.wind = _root.wind + ((Math.random() * 0.2) - 0.1);
if (Math.abs(_root.wind) > 0.5) {
_root.wind = (_root.wind / Math.abs(_root.wind)) * 0.5;
}
}
this.onEnterFrame = function () {
syori();
if (Key.isDown(39) && (_root.camera != mydepth)) {
this.removeMovieClip();
}
};
Symbol 16 MovieClip [ya] Frame 3
frag = 30;
if (com) {
_root.hitresult = this._x - _root.hito._x;
}
if (_root.wind != 0) {
_root.wind = _root.wind + ((Math.random() * 0.2) - 0.1);
if (Math.abs(_root.wind) > 0.5) {
_root.wind = (_root.wind / Math.abs(_root.wind)) * 0.5;
}
}
tikazu = 0;
if ((_root.hitoHP <= 0) || (_root.hito2HP <= 0)) {
sinifrag = true;
tikazu = 40;
frag = frag + 50;
}
i = 1;
while (i < (sibuki + tikazu)) {
_root.tidep = _root.tidep + 1000;
_root.attachMovie("ti", "ti" + _root.tidep, _root.tidep);
_root["ti" + _root.tidep]._x = this._x;
_root["ti" + _root.tidep]._y = this._y;
_root["ti" + _root.tidep].addx = ((addx * 4) / i) + (((-addx) * tikazu) / 25);
_root["ti" + _root.tidep].addy = (((addy * 3) * Math.random()) - 0.5) - ((tikazu * 2) / (i + 10));
min = Math.random() * 80;
_root["ti" + _root.tidep]._xscale = _xscale - min;
_root["ti" + _root.tidep]._yscale = _yscale - min;
_root["ti" + _root.tidep].okure = i;
i++;
}
this.onEnterFrame = function () {
syori();
};
Symbol 16 MovieClip [ya] Frame 4
frag = 30;
if (com) {
_root.hitresult = "wall";
}
if (_root.wind != 0) {
_root.wind = _root.wind + ((Math.random() * 0.2) - 0.1);
if (Math.abs(_root.wind) > 0.5) {
_root.wind = (_root.wind / Math.abs(_root.wind)) * 0.5;
}
}
this.onEnterFrame = function () {
syori();
if (Key.isDown(39) && (_root.camera != mydepth)) {
this.removeMovieClip();
}
};
Symbol 26 MovieClip Frame 5
stop();
Symbol 27 MovieClip [ti] Frame 1
zimen = Math.random() * 20;
this._visible = false;
this.onEnterFrame = function () {
var _local3 = this;
var _local4 = _root;
okure--;
if (okure < 0) {
_local3._visible = true;
if (_local3._y < (zimen + 270)) {
addy = addy + _local4.gravity;
addx = addx + _local4.wind;
_local3._x = _local3._x + addx;
_local3._y = _local3._y + addy;
return(undefined);
}
teisu = _local3._xscale / 20;
_local4.tinuri.beginFill(16711680, 100);
_local4.tinuri.lineStyle(undefined);
_local4.tinuri.moveTo(_local3._x, _local3._y - (teisu / 2));
_local4.tinuri.curveTo(_local3._x + teisu, _local3._y - (teisu / 2), _local3._x + teisu, _local3._y);
_local4.tinuri.curveTo(_local3._x + teisu, _local3._y + (teisu / 2), _local3._x, _local3._y + (teisu / 2));
_local4.tinuri.curveTo(_local3._x - teisu, _local3._y + (teisu / 2), _local3._x - teisu, _local3._y);
_local4.tinuri.curveTo(_local3._x - teisu, _local3._y - (teisu / 2), _local3._x, _local3._y - (teisu / 2));
_local4.tinuri.endFill();
_local3.removeMovieClip();
}
};
Instance of Symbol 26 MovieClip in Symbol 27 MovieClip [ti] Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Symbol 36 MovieClip [happa] Frame 1
this.gotoAndStop(Math.ceil(Math.random() * _totalframes));
kieru = 0;
this._alpha = 0;
randro = (Math.random() * 40) + 80;
this.onEnterFrame = function () {
var _local3 = this;
_local3._x = _local3._x + (_root.wind * 20);
_local3._rotation = _local3._rotation + (_root.wind * randro);
_local3._alpha = 8 * (50 - Math.abs(kieru - 50));
kieru++;
if (kieru > 100) {
_local3.removeMovieClip();
}
};
Symbol 53 MovieClip Frame 1
gotoAndStop(Math.ceil(Math.random() * _totalframes));
Symbol 57 MovieClip [tori] Frame 1
i = 1;
seido = 6;
this.onMouseUp = function () {
oldx = this._x;
oldy = this._y;
};
hidarihazi = -20;
migihazi = 620;
otita = true;
irutoko = _root._currentframe;
waru = (Math.random() * 50) + 50;
sini = Math.random() * 2000;
addx = (((Math.random() * 3) + _root.birdSpeed) * (-this._x)) / Math.abs(this._x);
_xscale = ((_xscale * (-this._x)) / Math.abs(this._x));
this.onEnterFrame = function () {
var _local3 = _root;
var _local4 = this;
if (otita) {
_x = (_x + addx);
addy = Math.sin((++sini) / waru);
_y = (_y + addy);
if ((_x < hidarihazi) || (_x > migihazi)) {
_local4.removeMovieClip();
}
if (oldx != undefined) {
tesx = (oldx - _local3.yaba["ya" + _local3.depth]._x) / seido;
tesy = (oldy - _local3.yaba["ya" + _local3.depth]._y) / seido;
kai = 0;
while ((kai < seido) && (!atari)) {
if (torinoe.body.hitTest(_local3.yaba["ya" + _local3.depth]._x + (kai * tesx), _local3.yaba["ya" + _local3.depth]._y + (kai * tesy), true)) {
atari = true;
bodyHit = "yes";
if (!(headHit === "yes")) {
birdAlive = "no";
_root.score = _root.score + 10;
_root.show_10.gotoAndPlay(2);
_root.totalBirds++;
gotoAndPlay (2);
}
_local3.yaba["ya" + _local3.depth]._x = _local3.yaba["ya" + _local3.depth]._x + (kai * tesx);
_local3.yaba["ya" + _local3.depth]._y = _local3.yaba["ya" + _local3.depth]._y + (kai * tesy);
atarix = _local4._x - _local3.yaba["ya" + _local3.depth]._x;
atariy = _local4._y - _local3.yaba["ya" + _local3.depth]._y;
}
if (torinoe.head.hitTest(_local3.yaba["ya" + _local3.depth]._x + (kai * tesx), _local3.yaba["ya" + _local3.depth]._y + (kai * tesy), true)) {
atari = true;
headHit = "yes";
if (!(bodyHit === "yes")) {
birdAlive = "no";
_root.headShotsCount++;
_root.score = _root.score + 100;
_root.show_100.gotoAndPlay(2);
_root.headshot.start();
_root.totalBirds++;
gotoAndPlay (2);
}
_local3.yaba["ya" + _local3.depth]._x = _local3.yaba["ya" + _local3.depth]._x + (kai * tesx);
_local3.yaba["ya" + _local3.depth]._y = _local3.yaba["ya" + _local3.depth]._y + (kai * tesy);
atarix = _local4._x - _local3.yaba["ya" + _local3.depth]._x;
atariy = _local4._y - _local3.yaba["ya" + _local3.depth]._y;
}
kai++;
}
}
if (atari && (hit != true)) {
song = new Sound();
song.attachSound("hit2");
song.start();
sibuki = 3;
tikazu = 3;
i = 1;
while (i < (sibuki + tikazu)) {
_local3.tidep = _local3.tidep + 1000;
_local3.attachMovie("ti", "ti" + _local3.tidep, _local3.tidep);
_local4._rotation = _local4._rotation + 5;
_local3["ti" + _local3.tidep]._x = _local3.yaba["ya" + _local3.depth]._x;
_local3["ti" + _local3.tidep]._y = _local3.yaba["ya" + _local3.depth]._y;
_local3["ti" + _local3.tidep].addx = ((_local3.yaba["ya" + _local3.depth].addx + (Math.random() * 2)) - 1) * 2;
_local3["ti" + _local3.tidep].addy = ((_local3.yaba["ya" + _local3.depth].addy + (Math.random() * 2)) - 1) * 2;
min = Math.random() * 80;
_local3["ti" + _local3.tidep]._xscale = 100 - min;
_local3["ti" + _local3.tidep]._yscale = 100 - min;
_local3["ti" + _local3.tidep].okure = 0;
i++;
}
_local3.yaba["ya" + _local3.depth].addx = _local3.yaba["ya" + _local3.depth].addx / 3;
_local3.yaba["ya" + _local3.depth].addy = _local3.yaba["ya" + _local3.depth].addy / 3;
_local3.yaba["ya" + _local3.depth].norotation = true;
torinoe.naka.stop();
konoya = _local3.depth;
hit = true;
} else if (hit) {
_local4._x = _local3.yaba["ya" + konoya]._x + atarix;
_local4._y = _local3.yaba["ya" + konoya]._y + atariy;
if (_local3.yaba["ya" + konoya]._currentframe != 1) {
otita = false;
}
}
} else if (Key.isDown(37)) {
_local4.removeMovieClip();
}
if (irutoko != _local3._currentframe) {
_local4.removeMovieClip();
}
oldx = _local3.yaba["ya" + _local3.depth]._x;
oldy = _local3.yaba["ya" + _local3.depth]._y;
};
stop();
Instance of Symbol 53 MovieClip "torinoe" in Symbol 57 MovieClip [tori] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hito.dude) and (_root.heroHurtMC._currentframe == 1)) and (!(_parent.birdAlive === "no"))) {
_root.heroHurtMC.gotoAndPlay(2);
}
}
Symbol 57 MovieClip [tori] Frame 60
stop();
Symbol 69 MovieClip Frame 112
_root.gotoAndPlay(2);
Symbol 83 Button
on (release) {
play();
}
Symbol 89 Button
on (release) {
_root.UATell.gotoAndStop(2);
}
Symbol 94 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 100 Button
on (release) {
_root.UAScoreBoard.gotoAndStop(4);
}
Symbol 103 MovieClip Frame 1
var today_date = new Date();
var myyear = today_date.getFullYear();
copyright.text = ("Copyright \u00A9 1999-" + myyear) + " Ultimate Arcade Empire, Inc. - All Rights Reserved ";
Symbol 105 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 109 Button
on (release) {
nextFrame();
}
Symbol 113 Button
on (release) {
prevFrame();
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 1
this.gotoAndStop(Math.ceil(Math.random() * this._totalframes));
stop();
Symbol 137 MovieClip Frame 1
this.onMouseDown = function () {
var _local2 = this;
_local2.sen._xscale = 0;
_local2.kaku.text = 0;
_local2.powe.text = 0;
_local2.powe._x = -55;
_local2.powe._y = 0;
};
this.onEnterFrame = function () {
var _local3 = this;
var _local4 = _root;
if (_local4.turn == 1) {
_local3.kaku.text = (-Math.round(_local4.hito.kakudo * 1000)) / 1000;
_local3.powe.text = (Math.round(_local4.hito.power * 1000) / 1000) * 4;
_local3.sen._rotation = _local4.hito.kakudo + 180;
_local3.sen._xscale = _local3.powe.text;
pradian = (_local3.sen._rotation * 3.141593) / 180;
px = (Math.cos(pradian) * _local3.powe.text) * 2.5;
py = (Math.sin(pradian) * _local3.powe.text) * 2.5;
_local3.powe._x = px - 55;
_local3.powe._y = py;
return(undefined);
}
if (_local4.turn == 2) {
_local3.kaku.text = (Math.round(_local4.hito2.kakudo * 1000) / 1000) + 180;
_local3.powe.text = (Math.round(_local4.hito2.power * 1000) / 1000) * 4;
_local3.sen._rotation = _local4.hito2.kakudo + 180;
_local3.sen._xscale = _local3.powe.text;
pradian = (_local3.sen._rotation * 3.141593) / 180;
px = (Math.cos(pradian) * _local3.powe.text) * 2.5;
py = (Math.sin(pradian) * _local3.powe.text) * 2.5;
_local3.powe._x = px - 55;
_local3.powe._y = py;
}
};
Symbol 153 MovieClip Frame 8
stop();
Symbol 169 MovieClip Frame 22
_parent._rotation = (_parent._rotation + 90) / 2;
Symbol 169 MovieClip Frame 23
_parent._rotation = (_parent._rotation + 90) / 2;
Symbol 169 MovieClip Frame 24
_parent._rotation = (_parent._rotation + 90) / 2;
Symbol 169 MovieClip Frame 25
_parent._rotation = _parent.oldro;
_parent.gotoAndStop(1);
Symbol 172 MovieClip Frame 1
oldro = _rotation;
stop();
Symbol 172 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
_root.hito._y = _root.hito._y - 15;
_root.healthBar.nextFrame();
Symbol 175 MovieClip Frame 5
_root.hito._y = _root.hito._y + 15;
Symbol 192 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 231 Button
on (release) {
gotoAndPlay (3);
}
Symbol 236 Button
on (release) {
gotoAndPlay (2);
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 3
stop();
Symbol 253 Button
on (release) {
gameOver = "no";
prevFrame();
}
Symbol 258 Button
on (release) {
_root.mc_score = _parent.score;
_root.UAScoreBoard.gotoAndStop(2);
nextFrame();
}
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 31
stop();