Frame 1 (6.3 KiB) ● ●
musics = true;
torelease = 2;
team = 0;
lev = 0;
continues = 3;
char1 = "";
char2 = "";
jump = 0;
jumplength = 0;
nmehealth = 2;
wtfmode = false;
hardmode = false;
timeout = false;
sp1 = 0;
sp2 = 0;
health = 100;
phealth = 100;
_root.stop();
nmes_japan = new Array("domokun", "S", "N", "schoolgirl", "nes");
nmes_nyc = new Array("raphael", "mikey", "donatello", "leonardo", "joker", "kermit", "alex", "droog1", "droog2", "droog3");
nmes_fightclub = new Array("monkey", "soap", "marla", "priest", "boss", "blondie", "black");
nmes_latenight = new Array("interrupter", "bear", "vomit", "triumph", "sandm");
nmes_adventure = new Array("ninja", "pirate", "monkey", "popeye", "mickey");
nmes_fox = new Array("milhouse", "tai", "peter", "brian", "fry", "bender", "news1", "news2", "cameron");
nmes_washington = new Array("dick", "nixon", "hitler", "hilary", "obama");
nmes_belaire = new Array("jeeves", "oldersister", "youngersister", "aunt", "mib1", "mib2", "mib3");
nmes_hospital = new Array("irwin", "zombie1", "zombie2", "dick", "alex");
levels_1 = new Array("washington", "japan", "nyc", "hospital", "adventure");
levels_2 = new Array("japan", "hospital", "fox", "fightclub", "nyc");
levels_3 = new Array("nyc", "adventure", "belaire", "fox", "japan");
levels_4 = new Array("fightclub", "washington", "latenight", "japan", "hospital");
levels_5 = new Array("hospital", "adventure", "latenight", "fightclub", "belaire");
levels_6 = new Array("fox", "adventure", "japan", "nyc", "latenight");
levels_7 = new Array("belaire", "hospital", "nyc", "washington", "fightclub");
levels_8 = new Array("adventure", "latenight", "belaire", "washington", "fox");
levels_9 = new Array("latenight", "fightclub", "fox", "belaire", "washington");
levels_10 = new Array("adventure", "japan", "nyc", "hospital", "belaire", "latenight", "fightclub", "fox", "washington");
says_1 = new Array("Pen and Jake always wanted to see Washington D.C. what with it's non-union Lincoln and all.", "From Washington Pen and Jake went to Japan to see where all network television children's animations are made.\nTally HO 4Kids!", "PEN AND JAKE REQUIRE HOTGODS, PIZZA AND SOFT PRETZELS!", "Oh lawdy, so many soft pretzels...what time is it?\nHospital time.", "What time is it now?\nADVENTURE TIME!\n*knuckle touch*");
says_2 = new Array("C'mon R and Raito! Time to save Japan from the most devestating Death God ever... GODZIRRA!", "You're not gonna need your Death Note here Light-kun...\njust take out the I.V.", "L sure does love having people die on tv...\nand FOX NEWS sure does love airing it.", "L and Light need to get these homoerotic tensions out of the way...\nTO FIGHTCLUB!", "Time for Ryuuk to take a bite out of the Big Apple. [LAME INTRO]");
says_3 = new Array("Gothammmmetropolis city is in danger! Who will save the day?", "What time is it? Saving imaginary place time!\n*knuckle touch*", "Let me tell you a story all about how, Batman and Superman flipped the earth upside down.", "NEWS ALERT! Fox is being assaulted by two caped weirdos! GET EM FELLAS!", "Batman and Superman vs Godzilla!\nMELT INSIDE FANBOYS!");
says_4 = new Array("Gregory House needs some fightclub time.", "To Washington! To cure America of politicians!", "And now an interview with Hugh Laurie.\nOH NO! THE FOURTH WALL!", "To Japan! For Sake, barbituates and love hotels!", "House! Wilson! Time to cure some patients! HARDCORE!");
says_5 = new Array("Will and Carlton off to perform medicine without a licence... Uncle Phil isn't going to be happy with this.", "Will and Carlton off to beat up cartoon characters... Uncle Phil isn't going to be happy with this.", "Will and Carlton off to intern at Late Night... Uncle Phil really shouldn't have a problem with this.", "Will and Carlton off to beat each other up... Uncle Phil likey.", "UNCLE PHIL!");
says_6 = new Array("Uh oh, this plane goes to FOX! BZZZZZZZZZ!", "The pilot is drunk! We're crashing!\n....into Adventure!", "What Max? ...no, piloting a plane is not like driving a fat person from the inside.", "Thanks for piloting the plane ghost of Godzilla 3d to the MAX! New Pork City here we come!", "TO LATENIGHT! ZOOM! Tell the writing staff more OJ and Paris jokes! HURRAH!");
says_7 = new Array("You wake up at LAX.", "You wake up at LaGuardia.", "You wake up at Logan.", "You wake up at SeaTac.", "You wake up at O'Hare.");
says_8 = new Array("What time is it? Inform the world with humor time!\n*knuckle touch*", "Time to promote Colbert's new book...\nI AM AMERICA (AND SO CAN YOU). ...i feel so dirty.", "In this part of our 138 part series, better know a fictional Judge, we interview Uncle Phil...\nTHE FIGHTIN' PHIL!", "COLBERT '08! COLBERT '08! COLBERT '08! DON'T F#%@K THIS UP AMERICA!", "Papa Bear is still a Bear! KEEL!");
says_9 = new Array("C'mon Lincoln! Visit your number one fan... Conan O'Brien!", "Conan wasn't in but maybe you can make Tyler Durden's dream come true!", "Tyler wasn't in either. Well, let's go beat some American values into FOX!", "I whistled for a cab and when it came near the licence plate said: LINCOLN!", "Time to take back the Whitehouse, Lincolns.\nFOUR MORE YEARS!");
says_10 = new Array("ADVENTURE LAND HURRRRR!", "Japan, creating 98% of the worlds weird shit since Einstein turned them into Atomic Nazi Supermen.", "COCKROACHES AND RATS THE SIZE OF TURKEYS!", "FICTION! New Jersey wouldn't have such a nice hospital.", "JAZZYY JEFF IS GREEN WITTH ENVVY!", "I'm fapping to Manatees tonight!", "The first rule of Fight Club is YOU DO NOT GIVE MEAN REVIEWS CUZ ZOMG THEY HURTS PEOPLES FEELERS! BAWWWWWWWWWWWWWW", "IMMA HACK UR NEW SECURITY SYSTEMS AND IMMA DDOS UR CALLER ID AND IMMA SHOOT MAH LAZERS AT UR CURTAINS... but god help me if you bought a dog.", "My job is a decision making job and it's because of that i have made lots of decisions... call me THE DECIDER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! we couldn't just get him impeached? we had to wait 4 years? ...Colbert '08.");
rightkey = 39;
leftkey = 37;
upkey = 38;
downkey = 40;
aykey = 65;
eskey = 83;
dikey = 68;
firstload = true;
function ggp() {
getURL ("http://googumproduce.com", "_blank");
}
NewgroundsAPI.connectMovie(433);
_root._x = 0;
_root._y = 0;
_root._xscale = 100;
_root._yscale = 100;
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("googumproduce.com", ggp));
_root.menu = my_cm;
stopAllSounds();
Instance of Symbol 11 MovieClip in Frame 1 (357 B)
onClipEvent (load) {
loading = true;
overall = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
if (loading) {
loaded = _root.getBytesLoaded();
if (overall == loaded) {
_root.price = "";
this.gotoAndStop(2);
_root.firstload = false;
loading = false;
} else {
_root.price = Math.floor((loaded / overall) * 100) + "\u00A2";
}
}
}
Instance of Symbol 10 MovieClip in Frame 1 (62 B)
on (press) {
getURL ("http://googumproduce.com", "_blank");
}
Frame 2 (1.2 KiB) ●
function ggp() {
getURL ("http://googumproduce.com", "_blank");
}
function fd() {
_root.brain.duun = 1;
_root.brain.codes = "FINALDEZTINATION";
}
function how() {
_root.brain.duun = 1;
_root.brain.codes = "HOWDIDIGETHERE";
}
function ah() {
_root.brain.duun = 1;
_root.brain.codes = "AWEZOMEHAT";
}
function ru() {
_root.brain.duun = 1;
_root.brain.codes = "RANDOMUP";
}
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
_root.gotoAndStop(1);
}
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("googumproduce.com", ggp));
savefile = SharedObject.getLocal("spritesmashmotherfucker");
if (savefile.data.latenight && (savefile.data.adventure)) {
my_cm.customItems.push(new ContextMenuItem("AWEZOMEHAT", ah));
}
if (savefile.data.belaire && (savefile.data.japan)) {
my_cm.customItems.push(new ContextMenuItem("HOWDIDIGETHERE", how));
}
if (savefile.data.fox && (savefile.data.nyc)) {
my_cm.customItems.push(new ContextMenuItem("RANDOMUP", ru));
}
if (savefile.data.fightclub && (savefile.data.hospital)) {
my_cm.customItems.push(new ContextMenuItem("FINALDEZTINATION", fd));
}
_root.menu = my_cm;
Instance of Symbol 89 MovieClip [boss_latenight] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 119 MovieClip [boss_washington] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 156 MovieClip [boss_hospital] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 173 MovieClip [boss_japan] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 204 MovieClip [boss_adventure] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 229 MovieClip [boss_nyc] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 260 MovieClip [boss_fox] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 285 MovieClip [boss_belaire] in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 297 MovieClip in Frame 2 (74 B)
onClipEvent (load) {
this.swapDepths(999);
this.removeMovieClip(this);
}
Instance of Symbol 421 MovieClip "brain" in Frame 2 (5.73 KiB) ● ●
onClipEvent (load) {
espres = false;
_root.lev = 0;
_root.continues = 3;
_root.team = 0;
_root.wtfmode = false;
_root.hardmode = false;
_root.skill = 2;
_root.sp1 = 0;
_root.sp2 = 0;
_root.health = 100;
_root.phealth = 100;
this.stop();
_root.slidein.stop();
rightkey = _root.rightkey;
leftkey = _root.leftkey;
upkey = _root.upkey;
downkey = _root.downkey;
aykey = _root.aykey;
eskey = _root.eskey;
dikey = _root.dikey;
cur = 1;
char1 = "pen";
char2 = "jake";
place = "none";
duun = 0;
lastkey = 0;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (_root.brain.duun == 0) {
_root.brain.duun = 1;
_root.brain.lastkey = Key.getCode();
}
};
keyListener.onKeyUp = function () {
_root.brain.duun = 0;
};
Key.addListener(keyListener);
}
onClipEvent (enterFrame) {
if (duun == 1) {
codes = codes + String.fromCharCode(lastkey);
cheater = codes.indexOf("PUMPKINEATER");
if (cheater > -1) {
_root.lev = 4;
}
lincoln = codes.indexOf("AWEZOMEHAT");
if (lincoln > -1) {
cur = 1;
_root.team = 9;
char1 = "lincoln";
char2 = "sandm";
place = "washington";
_root.jump = 6;
_root.jumplength = 6;
_root.nmehealth = 4;
this.gotoAndStop(1);
this.linko.gotoAndStop(2);
_root.slidein.gotoAndPlay(1);
codes = "";
}
hard = codes.indexOf("FINALDEZTINATION");
if (hard > -1) {
if (_root.hardmode) {
_root.hardmode = false;
_root.hardx.gotoAndStop(1);
} else {
_root.hardmode = true;
_root.hardx.gotoAndStop(2);
}
codes = "";
}
wtf = codes.indexOf("HOWDIDIGETHERE");
if (wtf > -1) {
if (_root.wtfmode) {
_root.wtfmode = false;
_root.wtfx.gotoAndStop(1);
} else {
_root.wtfmode = true;
_root.wtfx.gotoAndStop(2);
}
codes = "";
}
single = codes.indexOf("RANDOMUP");
if (single > -1) {
this.linko.gotoAndStop(1);
cur = 1;
_root.team = 10;
char1 = random(55) + 3;
if (char1 > 6) {
char1 = char1 + 3;
}
if (char1 > 12) {
char1 = char1 + 3;
}
if (char1 > 24) {
char1 = char1 + 3;
}
if (char1 > 30) {
char1 = char1 + 3;
}
if (char1 > 40) {
char1 = char1 + 3;
}
if (char1 > 47) {
char1 = char1 + 3;
}
if (char1 > 55) {
char1 = char1 + 3;
}
if (char1 > 66) {
char1 = char1 + 3;
}
if (char1 > 75) {
char1 = char1 + 1;
}
char2 = 7;
place = "none";
_root.jump = random(8) + 2;
_root.jumplength = random(8) + 2;
_root.nmehealth = 1;
cur = 1;
this.gotoAndStop(1);
_root.slidein.gotoAndPlay(1);
codes = "";
}
duun = 2;
}
if (cur == 2) {
_root.team = 1;
char1 = "pen";
char2 = "jake";
place = "adventure";
_root.jump = 5;
_root.jumplength = 7;
_root.nmehealth = 1;
} else if (cur == 3) {
_root.team = 2;
char1 = "light";
char2 = "L";
place = "japan";
_root.jump = 5;
_root.jumplength = 5;
_root.nmehealth = 2;
} else if (cur == 4) {
_root.team = 3;
char1 = "batman";
char2 = "superman";
place = "nyc";
_root.jump = 7;
_root.jumplength = 8;
_root.nmehealth = 3;
} else if (cur == 5) {
_root.team = 4;
char1 = "house";
char2 = "wilson";
place = "hospital";
_root.jump = 4;
_root.jumplength = 3;
_root.nmehealth = 3;
} else if (cur == 6) {
_root.team = 5;
char1 = "will";
char2 = "carlton";
place = "belaire";
_root.jump = 5;
_root.jumplength = 7;
_root.nmehealth = 2;
} else if (cur == 7) {
_root.team = 6;
char1 = "conan";
char2 = "max";
place = "latenight";
_root.jump = 7;
_root.jumplength = 4;
_root.nmehealth = 2;
} else if (cur == 8) {
_root.team = 7;
char1 = "tyler";
char2 = "jack";
place = "fightclub";
_root.jump = 4;
_root.jumplength = 8;
_root.nmehealth = 3;
} else if (cur == 9) {
_root.team = 8;
char1 = "stewart";
char2 = "colbert";
place = "fox";
_root.jump = 5;
_root.jumplength = 6;
_root.nmehealth = 1;
}
if (_root.team == 10) {
_root.newb.gotoAndStop(2);
} else {
_root.newb.gotoAndStop(1);
}
_root.slidein.main.gotoAndStop(char1);
_root.slidein.sain.gotoAndStop(char2);
_root.bg.gotoAndStop(place);
if (Key.isDown(rightkey)) {
if (right != 2) {
right = 1;
}
} else {
right = 0;
}
if (Key.isDown(leftkey)) {
if (left != 2) {
left = 1;
}
} else {
left = 0;
}
if (Key.isDown(upkey)) {
if (up != 2) {
up = 1;
}
} else {
up = 0;
}
if (Key.isDown(downkey)) {
if (down != 2) {
down = 1;
}
} else {
down = 0;
}
if (right == 1) {
cur = cur + 1;
if (cur > 9) {
cur = 2;
}
this.gotoAndStop(cur);
_root.slidein.gotoAndPlay(1);
right = 2;
}
if (left == 1) {
cur = cur - 1;
if (cur < 2) {
cur = 9;
}
this.gotoAndStop(cur);
_root.slidein.gotoAndPlay(1);
left = 2;
}
if (up == 1) {
if (cur == 1) {
cur = 9;
} else if (cur == 2) {
cur = 6;
} else if (cur == 3) {
cur = 7;
} else if (cur == 4) {
cur = 8;
} else if (cur == 5) {
cur = 9;
} else if (cur == 6) {
cur = 2;
} else if (cur == 7) {
cur = 3;
} else if (cur == 8) {
cur = 4;
} else if (cur == 9) {
cur = 5;
}
this.gotoAndStop(cur);
_root.slidein.gotoAndPlay(1);
up = 2;
}
if (down == 1) {
if (cur == 1) {
cur = 2;
} else if (cur == 2) {
cur = 6;
} else if (cur == 3) {
cur = 7;
} else if (cur == 4) {
cur = 8;
} else if (cur == 5) {
cur = 9;
} else if (cur == 6) {
cur = 2;
} else if (cur == 7) {
cur = 3;
} else if (cur == 8) {
cur = 4;
} else if (cur == 9) {
cur = 5;
}
this.gotoAndStop(cur);
_root.slidein.gotoAndPlay(1);
down = 2;
}
if (!Key.isDown(eskey)) {
espres = true;
}
if (Key.isDown(eskey) && (espres)) {
if (_root.team > 0) {
_root.char1 = char1;
_root.char2 = char2;
stopAllSounds();
_root.nextFrame();
}
}
}
Instance of Symbol 455 MovieClip "cam" in Frame 2 (289 B)
onClipEvent (enterFrame) {
_root._x = ((-(this._x - (this._width / 2))) * Stage.width) / this._width;
_root._y = ((-(this._y - (this._height / 2))) * Stage.height) / this._height;
_root._xscale = (Stage.width / this._width) * 100;
_root._yscale = (Stage.height / this._height) * 100;
}
Frame 3 (315 B)
function ggp() {
getURL ("http://googumproduce.com", "_blank");
}
_root._x = 0;
_root._y = 0;
_root._xscale = 100;
_root._yscale = 100;
_root.timeout = false;
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("googumproduce.com", ggp));
_root.menu = my_cm;
Instance of Symbol 462 MovieClip in Frame 3 (2.38 KiB) ●
onClipEvent (load) {
_root.say = "";
mess = _root["says_" + _root.team][_root.lev];
if (_root.lev == 0) {
st = _root["levels_" + _root.team][_root.lev];
en = _root["levels_" + _root.team][_root.lev];
} else {
st = _root["levels_" + _root.team][_root.lev - 1];
en = _root["levels_" + _root.team][_root.lev];
}
this._x = _root[st]._x;
this._y = _root[st]._y;
timer = 0;
go = 0;
ton = 3;
ex = (random(69) + 1) * 10;
ey = (random(29) + 1) * 10;
sett = true;
_root.line.lineStyle(4, 15275542, 100, false, "normal", "none", "miter");
_root.line.moveTo(this._x, this._y);
espres = false;
end = true;
}
onClipEvent (enterFrame) {
if (!Key.isDown(_root.eskey)) {
espres = true;
}
if (Key.isDown(_root.eskey) && (espres)) {
stopAllSounds();
_root.nextFrame();
}
ton++;
if ((ton > 2) && (_root.say.length < mess.length)) {
_root.say = mess.slice(0, _root.say.length + 1);
_root.say.scroll = _root.say.maxscroll;
ton = 0;
}
if (sett) {
if (this._x > ex) {
if (this._y > ey) {
this._rotation = (random(80) + 5) * -1;
} else {
this._rotation = (random(80) + 95) * -1;
}
} else if (this._y > ey) {
this._rotation = random(80) + 5;
} else {
this._rotation = random(80) + 95;
}
sett = false;
}
if ((((this._x > (ex - 4)) && (this._x < (ex + 4))) && (this._y < (ey + 4))) && (this._y > (ey - 4))) {
if (go == 0) {
ex = (random(69) + 1) * 10;
ey = (random(29) + 1) * 10;
go = 1;
sett = true;
} else if (go == 1) {
ex = _root[en]._x;
ey = _root[en]._y;
go = 2;
sett = true;
} else if ((go == 2) && (end)) {
stopAllSounds();
end = false;
}
} else {
if ((this._x > (ex - 2)) && (this._x < (ex + 2))) {
if (this._y > ey) {
this._rotation = 0;
} else {
this._rotation = 180;
}
} else if ((this._y < (ey + 2)) && (this._y > (ey - 2))) {
if (this._x > ex) {
this._rotation = -90;
} else {
this._rotation = 90;
}
}
if (_root.wtfmode) {
this._rotation = this._rotation + (random(30) - 15);
}
angle = this._rotation * (Math.PI/180);
this._x = this._x + (Math.sin(angle) * 4);
this._y = this._y - (Math.cos(angle) * 4);
timer++;
if (timer < 4) {
_root.line.lineTo(this._x, this._y);
}
if (timer > 5) {
_root.line.moveTo(this._x, this._y);
timer = 0;
}
}
}
Frame 4 (442 B)
function ggp() {
getURL ("http://googumproduce.com", "_blank");
}
function musi() {
if (_root.musics) {
_root.musics = false;
_root.hero.bgmusic.setVolume(0);
} else {
_root.musics = true;
_root.hero.bgmusic.setVolume(100);
}
}
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("googumproduce.com", ggp), new ContextMenuItem("music on/off", musi));
_root.menu = my_cm;
Instance of Symbol 682 MovieClip [animation] "partner" in Frame 4 (96 B)
onClipEvent (load) {
char = _root.char2;
this.gotoAndStop("walk");
this.hit.gotoAndStop(7);
}
Instance of Symbol 682 MovieClip [animation] "hero" in Frame 4 (27.9 KiB) ● ● ●
onClipEvent (load) {
clevel = _root["levels_" + _root.team][_root.lev];
char = _root.char1;
charhold = "";
jumpmax = _root.jump;
turnmax = _root.jumplength;
player = 0;
health = _root.health;
phealth = _root.phealth;
special = _root.sp1;
pspecial = _root.sp2;
nmerelease = true;
nmeset = 1;
nmeon = 0;
light = false;
_root.camera.h1._alpha = 80;
_root.camera.s1._alpha = 80;
if (_root.team == 10) {
_root.camera.h2._alpha = 0;
_root.camera.s2._alpha = 0;
} else {
_root.camera.h2._alpha = 40;
_root.camera.s2._alpha = 40;
}
this.gotoAndStop("stand");
_root.bg.gotoAndStop(clevel);
_root.floor.gotoAndStop(clevel);
if (_root.wtfmode) {
_root.mid.gotoAndStop(random(9) + 1);
_root.bg.gotoAndStop(random(7) + 1);
if (_root.bg._currentframe > 3) {
_root.bg.nextFrame();
}
if (_root.bg._currentframe > 5) {
_root.bg.nextFrame();
}
} else {
_root.mid.gotoAndStop(clevel);
}
_root.floor.cacheAsBitmap = true;
_root.mid.cacheAsBitmap = true;
floorwidth = 2000;
camwidth = _root.camera._width / 2;
bgspeed = 0.2;
speed = 1;
speedmod = 0;
hold = 0;
hold2 = 0;
jumpspeed = 666;
turns = 0;
halfwidth = 4;
space = 20;
standheight = 292;
_root.partner._y = standheight;
this._y = standheight;
modifier = 0;
done = false;
stoppoint = false;
hitclick = false;
right = false;
left = false;
down = false;
up = 0;
ay = false;
es = 2;
if (_root.team == 10) {
di = 7;
} else {
di = false;
}
rightkey = _root.rightkey;
leftkey = _root.leftkey;
upkey = _root.upkey;
downkey = _root.downkey;
aykey = _root.aykey;
eskey = _root.eskey;
dikey = _root.dikey;
specialfinish = false;
attack = false;
damage = 0;
timer = 0;
hitlist = new Array();
pdrop = false;
pdspeed = 0;
jtime = 0;
bossdone = false;
a = 0;
readout = false;
telejack = "";
_root.camera.say = "";
ton = 4;
if (clevel == "nyc") {
_root.nmes.attachMovie("boss_" + clevel, "boss", _root.nmes.getNextHighestDepth());
_root.nmes.boss._x = 1912;
_root.nmes.boss._y = standheight;
_root.nmes.boss.gotoAndStop("intro");
_root.nmes.boss.hit.stop();
onlyonce = true;
}
bgmusic = new Sound(this);
bgmusic.attachSound(clevel + "theme.wav");
bgmusic.start(0, 9999);
if (!_root.musics) {
bgmusic.setVolume(0);
}
}
onClipEvent (enterFrame) {
if (_root.wtfmode) {
_root.bg._rotation = _root.bg._rotation + random(4);
}
if (health > 100) {
health = 100;
}
if (_root.team != 10) {
if (phealth > 100) {
phealth = 100;
}
if (player) {
_root.camera.h1._alpha = 40;
_root.camera.s1._alpha = 40;
_root.camera.h2._alpha = 80;
_root.camera.s2._alpha = 80;
} else {
_root.camera.h1._alpha = 80;
_root.camera.s1._alpha = 80;
_root.camera.h2._alpha = 40;
_root.camera.s2._alpha = 40;
}
}
_root.camera.h1.guage._width = Math.floor(health / 2);
_root.camera.s1.guage._width = Math.floor(special / 2);
_root.camera.h2.guage._width = Math.floor(phealth / 2);
_root.camera.s2.guage._width = Math.floor(pspecial / 2);
if (_root.timeout) {
if (readout) {
ton++;
if (ton > 2) {
if (_root.camera.say.length < telejack.length) {
_root.camera.say = telejack.slice(0, _root.camera.say.length + 1);
_root.camera.say.scroll = _root.camera.say.maxscroll;
ton = 0;
} else if (ton > 30) {
_root.camera.say = "";
readout = false;
_root.timeout = false;
ton = 0;
}
}
}
if ((health < 1) || (phealth < 1)) {
if (this._y < standheight) {
if ((this._y + 2) < standheight) {
this._y = this._y + 2;
} else {
this._y = standheight;
}
}
if (_root.partner._y < standheight) {
if ((_root.partner._y + 2) < standheight) {
_root.partner._y = _root.partner._y + 2;
} else {
_root.partner._y = standheight;
}
}
}
if (specialfinish) {
if (_root.musics) {
bgmusic.setVolume(100);
}
specialfinish = false;
_root.timeout = false;
}
if ((special == 101) || (pspecial == 101)) {
_root.specials._x = _root.camera._x;
_root.specials._y = _root.camera._y;
if (_root.musics) {
bgmusic.setVolume(10);
}
if (_root.wtfmode) {
_root.specials.gotoAndPlay(random(1800) + 1);
} else if (_root.team == 10) {
singspec = random(14);
if (singspec == 0) {
_root.specials.gotoAndPlay("jake");
} else if (singspec == 1) {
_root.specials.gotoAndPlay("L");
} else if (singspec == 2) {
_root.specials.gotoAndPlay("batman");
} else if (singspec == 3) {
_root.specials.gotoAndPlay("house");
} else if (singspec == 4) {
_root.specials.gotoAndPlay("will");
} else if (singspec == 5) {
_root.specials.gotoAndPlay("max");
} else if (singspec == 6) {
_root.specials.gotoAndPlay("jack");
} else if (singspec == 7) {
_root.specials.gotoAndPlay("colbert");
} else if (singspec == 8) {
_root.specials.gotoAndPlay("lincoln");
} else if (singspec == 9) {
_root.specials.gotoAndPlay("sandm");
} else {
health = health + 50;
specialfinish = true;
}
} else {
_root.specials.gotoAndPlay(char);
}
if (special == 101) {
special = 0;
health = health + 25;
} else {
pspecial = 0;
phealth = phealth + 25;
}
}
if (hold != 0) {
if (hold2 > hold) {
if (this._x > hold) {
this._x = this._x - speed;
_root.partner._x = _root.partner._x + speed;
} else {
done = true;
}
} else if (hold2 < hold) {
if (this._x < hold) {
this._x = this._x + speed;
_root.partner._x = _root.partner._x - speed;
} else {
done = true;
}
} else {
done = true;
}
if (done) {
if ((!_root.wtfmode) || (_root.wtfmode && (random(6) == 0))) {
charhold = char;
char = _root.partner.char;
_root.partner.char = charhold;
if (player) {
player = 0;
} else {
player = 1;
}
}
this._x = hold2;
_root.partner._x = hold;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
_root.partner.gotoAndStop("stand");
_root.partner.gotoAndStop("walk");
_root.partner.hit.gotoAndStop(7);
hold = 0;
hold2 = 0;
_root.timeout = false;
done = false;
}
}
} else {
timer++;
if (timer > 20) {
timer = 0;
}
if ((((player == 0) && (phealth < 100)) && (pspecial > 1)) && (timer == 0)) {
pspecial = pspecial - 2;
phealth = phealth + 1;
}
if (((((player == 1) || ((_root.team == 10) && (Key.isDown(dikey)))) && (health < 100)) && (special > 1)) && (timer == 0)) {
special = special - 2;
health = health + 1;
}
if ((this._currentframe == 1) && (this._y != standheight)) {
this.gotoAndStop("airtime");
}
kk = true;
if ((this._currentframe > 23) && (this._currentframe < 30)) {
if (this._xscale == 100) {
if ((_root.camera._x - camwidth) < (this._x - halfwidth)) {
this._x = this._x - 2;
if (((this._x + space) < _root.partner._x) && (di != 7)) {
_root.partner._xscale = 100;
_root.partner._x = _root.partner._x - 2;
_root.partner.hit.play();
}
}
} else if ((_root.camera._x <= this._x) && ((_root.camera._x + camwidth) < floorwidth)) {
this._x = this._x + 2;
_root.camera._x = this._x;
if ((_root.camera._x + camwidth) > floorwidth) {
_root.camera._x = floorwidth - camwidth;
}
modifier = 2000 / (_root.camera._x - camwidth);
_root.mid._x = 1198 / modifier;
_root.bg._x = 1598 / modifier;
kk = false;
if (((this._x - space) > _root.partner._x) && (di != 7)) {
_root.partner._xscale = 100;
_root.partner._x = _root.partner._x + 2;
_root.partner.hit.play();
}
} else if ((_root.camera._x + camwidth) > (this._x + halfwidth)) {
this._x = this._x + 2;
if (((this._x - space) > _root.partner._x) && (di != 7)) {
_root.partner._xscale = 100;
_root.partner._x = _root.partner._x + 2;
_root.partner.hit.play();
}
}
}
if ((!attack) && (hitlist.length > 0)) {
if (player == 0) {
special = special + damage;
} else {
pspecial = pspecial + damage;
}
if (hitlist.length > damage) {
i = 0;
while (i < damage) {
_root.nmes[hitlist[i]].health = _root.nmes[hitlist[i]].health - 1;
_root.nmes[hitlist[i]].punk = true;
i++;
}
} else {
dam = Math.floor(damage / hitlist.length);
i = 0;
while (i < hitlist.length) {
_root.nmes[hitlist[i]].health = _root.nmes[hitlist[i]].health - dam;
_root.nmes[hitlist[i]].punk = true;
damage = damage - dam;
i++;
}
if (damage > 0) {
i = 0;
while (i < damage) {
_root.nmes[hitlist[i]].health = _root.nmes[hitlist[i]].health - 1;
i++;
}
}
}
while (hitlist.length > 0) {
hitlist.pop();
}
damage = 0;
}
if (special > 100) {
special = 100;
}
if (pspecial > 100) {
pspecial = 100;
}
if (special == 100) {
_root.camera.s1.guage.gotoAndStop(3);
} else {
_root.camera.s1.guage.gotoAndStop(4);
}
if (pspecial == 100) {
_root.camera.s2.guage.gotoAndStop(3);
} else {
_root.camera.s2.guage.gotoAndStop(4);
}
if (health < 20) {
_root.camera.h1.guage.gotoAndStop(2);
} else {
_root.camera.h1.guage.gotoAndStop(1);
}
if (phealth < 20) {
_root.camera.h2.guage.gotoAndStop(2);
} else {
_root.camera.h2.guage.gotoAndStop(1);
}
if (nmerelease) {
i = 0;
while (i < _root.torelease) {
nmeon++;
nam = (("nme" + nmeset) + "") + i;
_root.nmes.attachMovie("animation", nam, _root.nmes.getNextHighestDepth());
if (random(2) == 0) {
_root.nmes[nam]._x = (_root.camera._x + camwidth) + 10;
} else {
_root.nmes[nam]._x = (_root.camera._x - camwidth) - 10;
}
_root.nmes[nam]._y = 292;
i++;
}
nmeset++;
nmerelease = false;
}
if (_root.hardmode) {
if (((((((((((((((((((nmeset == 2) && (this._x > 100)) || ((nmeset == 3) && (this._x > 200))) || ((nmeset == 4) && (this._x > 300))) || ((nmeset == 5) && (this._x > 400))) || ((nmeset == 6) && (this._x > 500))) || ((nmeset == 7) && (this._x > 600))) || ((nmeset == 8) && (this._x > 700))) || ((nmeset == 9) && (this._x > 800))) || ((nmeset == 10) && (this._x > 900))) || ((nmeset == 11) && (this._x > 1000))) || ((nmeset == 12) && (this._x > 1100))) || ((nmeset == 13) && (this._x > 1200))) || ((nmeset == 14) && (this._x > 1300))) || ((nmeset == 15) && (this._x > 1400))) || ((nmeset == 16) && (this._x > 1500))) || ((nmeset == 17) && (this._x > 1600))) || ((nmeset == 18) && (this._x > 1700))) || ((nmeset == 19) && (this._x > 1800))) {
nmerelease = true;
}
} else if ((((((((((nmeset == 2) && (this._x > 200)) || ((nmeset == 3) && (this._x > 400))) || ((nmeset == 4) && (this._x > 600))) || ((nmeset == 5) && (this._x > 800))) || ((nmeset == 6) && (this._x > 1000))) || ((nmeset == 7) && (this._x > 1200))) || ((nmeset == 8) && (this._x > 1400))) || ((nmeset == 9) && (this._x > 1600))) || ((nmeset == 10) && (this._x > 1800))) {
nmerelease = true;
}
if (Key.isDown(rightkey)) {
right = true;
} else {
right = false;
}
if (Key.isDown(leftkey)) {
left = true;
} else {
left = false;
}
if (Key.isDown(upkey)) {
if (up == 0) {
up = 1;
}
} else {
up = 0;
}
if (Key.isDown(downkey)) {
down = true;
} else {
down = false;
if (this._currentframe == 3) {
this.hit.play();
}
}
if (Key.isDown(aykey)) {
if (ay == 0) {
ay = 1;
}
} else {
ay = 0;
}
if (Key.isDown(eskey)) {
if (es == 0) {
es = 1;
}
} else {
es = 0;
}
if (Key.isDown(dikey)) {
if (di == 0) {
di = 1;
}
} else if (di != 7) {
di = 0;
}
if ((((this._currentframe < 5) && (ay)) && (es)) && (((!player) && (special == 100)) || (player && (pspecial == 100)))) {
_root.timeout = true;
if (player == 0) {
special = 101;
} else {
pspecial = 101;
}
}
if (right && ((this._currentframe < 3) || (this._currentframe == 5))) {
this._xscale = 100;
if (this._currentframe < 3) {
this.gotoAndStop("walk");
this.hit.play();
}
if ((_root.camera._x <= this._x) && ((_root.camera._x + camwidth) < floorwidth)) {
this._x = this._x + (speed + speedmod);
_root.camera._x = this._x;
if ((_root.camera._x + camwidth) > floorwidth) {
_root.camera._x = floorwidth - camwidth;
}
modifier = 2000 / (_root.camera._x - camwidth);
_root.mid._x = 1198 / modifier;
_root.bg._x = 1598 / modifier;
kk = false;
if (((this._x - space) > _root.partner._x) && (di != 7)) {
_root.partner._xscale = 100;
_root.partner._x = _root.partner._x + (speed + speedmod);
_root.partner.hit.play();
}
} else if ((_root.camera._x + camwidth) > (this._x + halfwidth)) {
this._x = this._x + (speed + speedmod);
if (((this._x - space) > _root.partner._x) && (di != 7)) {
_root.partner._xscale = 100;
_root.partner._x = _root.partner._x + (speed + speedmod);
_root.partner.hit.play();
}
}
}
if ((_root.hardmode && (kk)) && (((_root.camera._x + camwidth) + 0.3) < floorwidth)) {
_root.camera._x = _root.camera._x + 0.3;
modifier = 2000 / (_root.camera._x - camwidth);
_root.mid._x = 1198 / modifier;
_root.bg._x = 1598 / modifier;
if ((_root.camera._x - camwidth) > (this._x - halfwidth)) {
this._x = (_root.camera._x - camwidth) + halfwidth;
}
}
if (left && ((this._currentframe < 3) || (this._currentframe == 5))) {
this._xscale = -100;
if (this._currentframe < 3) {
this.gotoAndStop("walk");
this.hit.play();
}
if ((_root.camera._x - camwidth) < (this._x - halfwidth)) {
this._x = this._x - (speed + speedmod);
if (((this._x + space) < _root.partner._x) && (di != 7)) {
_root.partner._xscale = -100;
_root.partner._x = _root.partner._x - (speed + speedmod);
_root.partner.hit.play();
}
}
}
if (down && (this._currentframe < 4)) {
this.gotoAndStop("crouch");
if (right) {
this._xscale = 100;
}
if (left) {
this._xscale = -100;
}
}
if ((up == 1) && (this._currentframe < 3)) {
this.gotoAndStop("jump");
if (di != 7) {
_root.partner.gotoAndStop("jump");
}
up = 2;
}
if (this._currentframe == 5) {
speedmod = 1;
if (turns == 0) {
jumpspeed = jumpmax;
turns = 1;
}
if (up && (turns < turnmax)) {
jumpspeed++;
turns++;
}
jumpspeed--;
if ((this._y - jumpspeed) < standheight) {
if ((_root.partner._y == this._y) && (di != 7)) {
_root.partner._y = _root.partner._y - jumpspeed;
}
this._y = this._y - jumpspeed;
} else {
this._y = standheight;
_root.partner._y = standheight;
this.gotoAndStop("stand");
_root.partner.gotoAndStop("walk");
_root.partner.hit.gotoAndStop(7);
turns = 0;
up = 2;
speedmod = 0;
}
}
if ((es == 1) && (this._currentframe < 6)) {
es = 2;
if (this._currentframe < 3) {
this.gotoAndStop("punches" + (random(4) + 1));
hitclick = false;
} else if (this._currentframe == 3) {
this.gotoAndStop("crouchp" + (random(3) + 1));
} else if (this._currentframe == 5) {
pdrop = true;
pdspeed = jumpspeed;
this.gotoAndStop("inairp" + (random(2) + 1));
}
}
if ((ay == 1) && (this._currentframe < 6)) {
ay = 2;
if (this._currentframe < 3) {
this.gotoAndStop("kicks" + (random(4) + 1));
hitclick = false;
} else if (this._currentframe == 3) {
this.gotoAndStop("crouchk" + (random(3) + 1));
} else if (this._currentframe == 5) {
pdrop = true;
pdspeed = jumpspeed;
this.gotoAndStop("inairk" + (random(2) + 1));
}
}
if ((this._currentframe > 15) && (this._currentframe < 24)) {
if (stoppoint) {
if (hitclick) {
stoppoint = false;
hitclick = false;
this.hit.play();
} else {
this.gotoAndStop("stand");
stoppoint = false;
}
}
if ((((this._currentframe > 15) && (this._currentframe < 20)) && (es == 1)) || (((this._currentframe > 19) && (this._currentframe < 24)) && (ay == 1))) {
hitclick = true;
}
}
if ((di == 1) && (this._currentframe < 3)) {
di = 2;
hold = _root.partner._x;
hold2 = this._x;
_root.timeout = true;
}
if ((health < 1) || (phealth < 1)) {
health = 0;
phealth = 0;
this.gotoAndStop("die" + (random(4) + 1));
_root.partner.gotoAndStop("die" + (random(4) + 1));
_root.specials._x = _root.camera._x;
_root.specials._y = _root.camera._y;
_root.specials.gotoAndPlay("gameover");
_root.timeout = true;
}
if ((_root.partner._currentframe == 5) && (_root.partner._y == standheight)) {
_root.partner.gotoAndStop("walk");
_root.partner.hit.gotoAndStop(7);
}
if (pdrop) {
pdspeed--;
if ((_root.partner._y - pdspeed) < standheight) {
_root.partner._y = _root.partner._y - pdspeed;
} else {
_root.partner._y = standheight;
_root.partner.gotoAndStop("walk");
_root.partner.hit.gotoAndStop(7);
pdrop = false;
}
}
if ((!light) && ((clevel == "japan") || (clevel == "fightclub"))) {
if ((clevel == "japan") && (this._x > 1000)) {
light = true;
}
if ((clevel == "fightclub") && (this._x > 600)) {
light = true;
}
}
if (bossdone) {
a++;
if (a > 80) {
if (((_root.lev < 4) && (_root.team != 10)) || ((_root.lev < 8) && (_root.team == 10))) {
_root.sp1 = special;
_root.sp2 = pspecial;
if (_root.hardmode) {
_root.health = health;
_root.phealth = phealth;
}
_root.lev++;
_root.torelease = _root.torelease + 1;
if ((((_root.lev == 2) || (_root.lev == 4)) || (_root.lev == 6)) || (_root.lev == 8)) {
_root.nmehealth = _root.nmehealth + 1;
if (_root.team == 10) {
_root.torelease = _root.torelease - 1;
}
}
stopAllSounds();
_root.prevFrame();
} else {
stopAllSounds();
_root.nextFrame();
}
}
}
if ((((_root.camera._x > 1900) && (clevel == "nyc")) && (!bossdone)) && (onlyonce)) {
_root.nmes.boss.hit.play();
bgmusic.stop();
bgmusic.attachSound("libertytheme.wav");
bgmusic.start(0, 9999);
if (!_root.musics) {
bgmusic.setVolume(0);
}
bosshealth = 45 * (_root.lev + 1);
if (_root.hardmode) {
bosshealth = bosshealth + 50;
}
btotal = bosshealth;
_root.camera.bosshealth.gotoAndStop(2);
onlyonce = false;
}
if (((((_root.camera._x > 1900) && (!bossdone)) && (_root.nmes.boss == null)) && (_root.nmes.boss1 == null)) && (this._y == standheight)) {
if ((clevel == "japan") && (jtime < 25)) {
jtime++;
} else {
bosshealth = 45 * (_root.lev + 1);
if (clevel == "washington") {
bosshealth = bosshealth + 50;
}
if (_root.hardmode) {
bosshealth = bosshealth + 50;
}
btotal = bosshealth;
_root.camera.bosshealth.gotoAndStop(2);
if (clevel == "fightclub") {
_root.nmes.attachMovie("animation", "boss1", _root.nmes.getNextHighestDepth());
_root.nmes.boss1.char = char;
_root.nmes.attachMovie("animation", "boss2", _root.nmes.getNextHighestDepth());
_root.nmes.boss2.char = _root.partner.char;
if (_root.team == 7) {
di = 7;
bosshealth = 30 * (_root.lev + 1);
btotal = bosshealth;
_root.nmes.attachMovie("animation", "boss3", _root.nmes.getNextHighestDepth());
_root.nmes.boss3.char = "tyler";
_root.nmes.boss3.health = 1000000 /* 0x0F4240 */;
_root.nmes.boss3.notpunch = 2;
_root.nmes.boss3.notwalk = 10;
_root.nmes.boss3.speed = 1;
if (player) {
_root.nmes.boss3._y = standheight;
_root.nmes.boss3._x = _root.partner._x;
_root.partner.swapDepths(999);
_root.partner.removeMovieClip(_root.partner);
} else {
_root.nmes.boss3._y = standheight;
_root.nmes.boss3._x = this._x;
this._y = standheight;
this._x = _root.partner._x;
char = "jack";
_root.partner.swapDepths(999);
_root.partner.removeMovieClip(_root.partner);
player = 1;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
}
_root.timeout = true;
readout = true;
telejack = "Tyler joins the enemy to end Jack!\nWhat a climactic climax!\nYou're all alone now Jack... GOOD LUCK!";
}
_root.nmes.boss1._y = standheight;
_root.nmes.boss2._y = standheight;
if (this._x < _root.camera._x) {
_root.nmes.boss1._x = (_root.camera._x + camwidth) + 30;
_root.nmes.boss2._x = (_root.camera._x + camwidth) + 35;
} else {
_root.nmes.boss1._x = (_root.camera._x - camwidth) - 30;
_root.nmes.boss2._x = (_root.camera._x - camwidth) - 35;
}
_root.nmes.boss1.health = 1000000 /* 0x0F4240 */;
_root.nmes.boss2.health = 1000000 /* 0x0F4240 */;
_root.nmes.boss1.notpunch = 2;
_root.nmes.boss2.notpunch = 2;
_root.nmes.boss1.notwalk = 10;
_root.nmes.boss2.notwalk = 10;
_root.nmes.boss1.speed = 1;
_root.nmes.boss2.speed = 1;
invert = new Object();
invert = {ra:"100", rb:"255", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
inverta = new Color(_root.nmes.boss1);
inverta.setTransform(invert);
invertb = new Color(_root.nmes.boss2);
invertb.setTransform(invert);
} else {
_root.nmes.attachMovie("boss_" + clevel, "boss", _root.nmes.getNextHighestDepth());
if (clevel == "adventure") {
_root.nmes.boss.gotoAndStop("stand");
they = 110;
_root.nmes.boss._x = 1907;
_root.nmes.boss._y = 131;
ygoto = true;
} else {
_root.nmes.boss.gotoAndStop("intro");
_root.nmes.boss._x = _root.camera._x;
_root.nmes.boss._y = standheight;
_root.nmes.boss.hit.play();
if (clevel == "japan") {
bgmusic.stop();
bgmusic.attachSound("godzillatheme.wav");
bgmusic.start(0, 9999);
if (!_root.musics) {
bgmusic.setVolume(0);
}
}
if (((clevel == "washington") || (clevel == "fox")) && (_root.team == 8)) {
di = 7;
if (clevel == "washington") {
if (!player) {
hold2 = this._x;
this._x = _root.partner._x;
_root.partner._x = hold2;
hold2 = 0;
char = "colbert";
_root.partner.char = "stewart";
player = 1;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
_root.partner.gotoAndStop("stand");
_root.partner.gotoAndStop("walk");
}
telejack = "Jon refuses to help Stephen beat up the constitution!\nWhat a pansy!\nYou'll be fighting this one out alone Stephen... FOR AMERICA!";
} else {
if (player) {
hold2 = this._x;
this._x = _root.partner._x;
_root.partner._x = hold2;
hold2 = 0;
char = "stewart";
_root.partner.char = "colbert";
player = 0;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
_root.partner.gotoAndStop("stand");
_root.partner.gotoAndStop("walk");
}
telejack = "Stephen refuses to help Jon fight Papa Bear!\nAnd why would you want to! He's always right!\nYou'll be fighting this one out alone Stewart... FOR TERRORISM!";
}
_root.timeout = true;
readout = true;
}
if ((clevel == "hospital") && (_root.team == 4)) {
di = 7;
_root.nmes.attachMovie("animation", "boss3", _root.nmes.getNextHighestDepth());
_root.nmes.boss3.char = "wilson";
_root.nmes.boss3.health = 1000000 /* 0x0F4240 */;
_root.nmes.boss3.notpunch = 3;
_root.nmes.boss3.notwalk = 15;
_root.nmes.boss3.speed = 1;
if (!player) {
_root.nmes.boss3._y = standheight;
_root.nmes.boss3._x = _root.partner._x;
_root.partner.swapDepths(999);
_root.partner.removeMovieClip(_root.partner);
} else {
_root.nmes.boss3._y = standheight;
_root.nmes.boss3._x = this._x;
this._y = standheight;
this._x = _root.partner._x;
char = "house";
_root.partner.swapDepths(999);
_root.partner.removeMovieClip(_root.partner);
player = 0;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
}
telejack = "Wilson refuses to help House fight Cuddy!\nWell who needs him! You'll fight them both!\nSay goodbye to your testes Wilson...\nYOU AND CUDDY WILL BE ABLE TO MAKE A BARREN SANDWICH!";
_root.timeout = true;
readout = true;
}
if ((clevel == "latenight") && (_root.team == 6)) {
di = 7;
_root.nmes.attachMovie("animation", "boss3", _root.nmes.getNextHighestDepth());
_root.nmes.boss3.char = "max";
_root.nmes.boss3.health = 1000000 /* 0x0F4240 */;
_root.nmes.boss3.notpunch = 3;
_root.nmes.boss3.notwalk = 15;
_root.nmes.boss3.speed = 1;
if (!player) {
_root.nmes.boss3._y = standheight;
_root.nmes.boss3._x = _root.partner._x;
_root.partner.swapDepths(999);
_root.partner.removeMovieClip(_root.partner);
} else {
_root.nmes.boss3._y = standheight;
_root.nmes.boss3._x = this._x;
this._y = standheight;
this._x = _root.partner._x;
char = "conan";
_root.partner.swapDepths(999);
_root.partner.removeMovieClip(_root.partner);
player = 0;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
}
telejack = "Max has turned coat to fight for Conando!\nDamn Conando and his sizable pension plan!\nPrepare for the most deadly [ASS] stamp ever Max!";
_root.timeout = true;
readout = true;
}
if (((clevel == "japan") || (clevel == "fox")) && (_root.team == 3)) {
di = 7;
if (clevel == "japan") {
if (!player) {
hold2 = this._x;
this._x = _root.partner._x;
_root.partner._x = hold2;
hold2 = 0;
char = "superman";
_root.partner.char = "batman";
player = 1;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
_root.partner.gotoAndStop("stand");
_root.partner.gotoAndStop("walk");
}
telejack = "Since Superman sat the last one out Batman decides to sit this one out!\nPlus what good is Batman against\nA GIANT LIZARD!\nDude seriously... A GIANT LIZARD!";
} else {
if (player) {
hold2 = this._x;
this._x = _root.partner._x;
_root.partner._x = hold2;
hold2 = 0;
char = "batman";
_root.partner.char = "superman";
player = 0;
this.gotoAndStop("walk");
this.gotoAndStop("stand");
_root.partner.gotoAndStop("stand");
_root.partner.gotoAndStop("walk");
}
telejack = "Superman cant help this round...\nhe'd get fired up for roughing up a fellow NewsCorp reporter!\nIt's up to you Batman... USE YOUR RUBBER NIPPLES!";
}
_root.timeout = true;
readout = true;
}
}
}
}
}
}
if (ygoto) {
if (they < _root.camera._y) {
ygo = Math.round((_root.camera._y - they) / 4);
_root.camera._y = _root.camera._y - ygo;
_root.specials._y = _root.camera._y;
_root.bg._y = _root.camera._y + 40;
} else if (they > _root.camera._y) {
ygo = Math.round((they - _root.camera._y) / 4);
_root.camera._y = _root.camera._y + ygo;
_root.specials._y = _root.camera._y;
if (_root.camera._y > 262) {
_root.camera._y = 262;
_root.specials._y = _root.camera._y;
}
_root.bg._y = _root.camera._y + 40;
}
}
}
Instance of Symbol 455 MovieClip "camera" in Frame 4 (289 B)
onClipEvent (enterFrame) {
_root._x = ((-(this._x - (this._width / 2))) * Stage.width) / this._width;
_root._y = ((-(this._y - (this._height / 2))) * Stage.height) / this._height;
_root._xscale = (Stage.width / this._width) * 100;
_root._yscale = (Stage.height / this._height) * 100;
}
Frame 5 (291 B)
function ggp() {
getURL ("http://googumproduce.com", "_blank");
}
_root._x = 0;
_root._y = 0;
_root._xscale = 100;
_root._yscale = 100;
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("googumproduce.com", ggp));
_root.menu = my_cm;
Instance of Symbol 44 MovieClip in Frame 5 (4.02 KiB) ●
onClipEvent (load) {
savefile = SharedObject.getLocal("spritesmashmotherfucker");
if (_root.team == 1) {
this.gotoAndStop("adventure");
mess = "And so Pen and Jake went on to kick butt in the most-post-modern sense of etc and blah blah blah. Hay dude, LIFE'S DELICIOUS!\nTHE END.";
savefile.data.adventure = true;
if (savefile.data.latenight) {
_root.codez.gotoAndPlay(2);
}
} else if (_root.team == 2) {
this.gotoAndStop("japan");
mess = "And so Light and L lived happily ever after... until Light got Rem to kill L and Light got found out by that choclate eating kid and died like a punk. [SPOILERS LOL].\nTHE END.";
savefile.data.japan = true;
if (savefile.data.belaire) {
_root.codez.gotoAndPlay(14);
}
} else if (_root.team == 3) {
this.gotoAndStop("nyc");
mess = "And so Superman executed a flawless victory since he's pretty much invincle and all... After which Batman and Superman had years of fun playing BULLET EYE!\nTHE END.";
savefile.data.nyc = true;
if (savefile.data.fox) {
_root.codez.gotoAndPlay(20);
}
} else if (_root.team == 4) {
this.gotoAndStop("hospital");
mess = "And so Gregory House cured the world of stupid people, love, Lupus, children, drug restriction laws and the concious.\nIN THIS NEW WORLD THERE IS ONLY HOUSE!\nTHE END.";
savefile.data.hospital = true;
if (savefile.data.fightclub) {
_root.codez.gotoAndPlay(8);
}
} else if (_root.team == 5) {
this.gotoAndStop("belaire");
mess = "And so Will and Carlton ate Uncle Phil's sammich and Aunt Viv got scared, she called a taxi and that taxi's licence plate said...\nTHE END.";
savefile.data.belaire = true;
if (savefile.data.japan) {
_root.codez.gotoAndPlay(14);
}
} else if (_root.team == 6) {
this.gotoAndStop("latenight");
mess = "And so Conan regained what little control he has at Late Night with Conan O'Brien, Max was unable to afford his mistess and Jim Gaffigan kept showing his stupid animations.\nTHE END.";
savefile.data.latenight = true;
if (savefile.data.adventure) {
_root.codez.gotoAndPlay(2);
}
} else if (_root.team == 7) {
this.gotoAndStop("fightclub");
mess = "And so Jack shot himself in the face in an heroic gesture of heroism and is became winner of goth chicks black heart.\nTHE END.";
savefile.data.fightclub = true;
if (savefile.data.hospital) {
_root.codez.gotoAndPlay(8);
}
} else if (_root.team == 8) {
this.gotoAndStop("fox");
mess = "And so Stephen Colbert went on to become the greatest President of the United States of America ever and Jon went on to... eh... be that guy who once knew the greatest President of the United States of America ever.\nTHE END.";
savefile.data.fox = true;
if (savefile.data.nyc) {
_root.codez.gotoAndPlay(20);
}
} else if (_root.team == 9) {
this.gotoAndStop("washington");
mess = "And so Lincoln went on to spread freedom to Burma and Syria and America (again). While S&M Lincoln and S&M John Wilkes Booth went on to form the greatest S&M club ever.\nTHE END.";
} else if (_root.team == 10) {
this.gotoAndStop("none");
if (_root.wtfmode && _root.hardmode) {
mess = "Congratulations Player!\nYou beat this game on the super hardest mode evar. Go to oinkchan.org and post about it so i can cream.\nTHE END.";
} else if (_root.hardmode) {
mess = "Congratulations Player!\n...on wasting your time playing this silly flash game for far too long.\nYOU'RE OBSESSIVE!\nTHE END.";
} else {
mess = "And so the player of this game went on to find the last few remaining bits of original content to be found in the game.\nTHE END.";
}
}
savefile.flush();
_root.sain.gotoAndPlay(34);
ton = 0;
espres = false;
}
onClipEvent (enterFrame) {
_root.main.hit.gotoAndStop(_root.char1);
_root.sain.hit.gotoAndStop(_root.char2);
ton++;
if ((ton > 2) && (_root.say.length < mess.length)) {
_root.say = mess.slice(0, _root.say.length + 1);
ton = 0;
}
if (!Key.isDown(_root.eskey)) {
espres = true;
}
if (Key.isDown(_root.eskey) && (espres)) {
stopAllSounds();
_root.gotoAndPlay(6);
}
}
Frame 6 (389 B)
function ggp() {
getURL ("http://googumproduce.com", "_blank");
}
_root._x = 0;
_root._y = 0;
_root._xscale = 100;
_root._yscale = 100;
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("googumproduce.com", ggp));
_root.menu = my_cm;
stopAllSounds();
MochiAd.showInterLevelAd({id:"7a6bdf57e392ba47", res:"700x300", no_bg:true});
Symbol 10 MovieClip Frame 1 (8 B)
stop();
Symbol 10 MovieClip Frame 37 (19 B)
_root.nextFrame();
Symbol 11 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 2 (220 B)
on (press) {
this.play();
}
onClipEvent (load) {
espres = false;
}
onClipEvent (enterFrame) {
if (!Key.isDown(_root.eskey)) {
espres = true;
}
if (Key.isDown(_root.eskey) && (espres)) {
this.play();
}
}
Symbol 24 Button (49 B)
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 30 Button (49 B)
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 32 MovieClip Frame 1 (0.98 KiB)
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 843 MovieClip [__Packages.NewgroundsAPI] Frame 0 (12.42 KiB) ● ●
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 844 MovieClip [__Packages.MochiAd] Frame 0 (13.87 KiB) ● ●
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.1");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.gotoAndStop(1);
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 44 MovieClip Frame 1 (8 B)
stop();
Symbol 50 MovieClip Frame 1 (45 B)
this.stop();
_parent._parent.canhit = true;
Symbol 53 MovieClip Frame 8 (30 B)
_parent.gotoAndStop("stand");
Symbol 55 MovieClip Frame 14 (24 B)
_parent.attack1 = true;
Symbol 55 MovieClip Frame 29 (30 B)
_parent.gotoAndStop("stand");
Symbol 58 MovieClip Frame 1 (51 B)
if (random(2) == 0) {
_parent._xscale = -100;
}
Symbol 58 MovieClip Frame 32 (24 B)
_parent.attack2 = true;
Symbol 58 MovieClip Frame 59 (30 B)
_parent.gotoAndStop("stand");
Symbol 64 MovieClip Frame 12 (58 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(0);
}
Symbol 64 MovieClip Frame 188 (24 B)
_parent.attack3 = true;
Symbol 64 MovieClip Frame 232 (30 B)
_parent.brain.hittin = false;
Symbol 64 MovieClip Frame 264 (91 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(100);
}
_parent.gotoAndStop("stand");
Symbol 75 MovieClip Frame 72 (65 B)
teh = random(2);
if (teh == 0) {
this.gotoAndPlay("left");
}
Symbol 75 MovieClip Frame 73 (24 B)
_parent.attack4 = true;
Symbol 75 MovieClip Frame 92 (30 B)
_parent.gotoAndStop("stand");
Symbol 75 MovieClip Frame 94 (24 B)
_parent.attack4 = true;
Symbol 75 MovieClip Frame 113 (30 B)
_parent.gotoAndStop("stand");
Symbol 81 MovieClip Frame 1 (68 B)
if (_parent._x > _root.camera._x) {
_parent._xscale = -100;
}
Symbol 81 MovieClip Frame 150 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 85 MovieClip Frame 1 (59 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(10);
}
Symbol 85 MovieClip Frame 336 (8 B)
stop();
Symbol 88 MovieClip Frame 2 (59 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(10);
}
Symbol 88 MovieClip Frame 256 (91 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(100);
}
_parent.gotoAndStop("stand");
Instance of Symbol 52 MovieClip "brain" in Symbol 89 MovieClip [boss_latenight] Frame 1 (3.67 KiB) ●
onClipEvent (load) {
timer = 20;
stoppe = false;
speed = 3;
time = 3 + _root.lev;
damage = 5;
extra = 0;
hittin = false;
run = false;
totalhealth = _root.hero.bosshealth;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (_parent.attack1) {
_parent._x = random(150) + 1850;
extra = 3;
hittin = true;
_parent.attack1 = false;
}
if (_parent.attack2) {
run = true;
if (speed < 0) {
speed = speed * -1;
}
extra = 2;
hittin = true;
_parent.attack2 = false;
}
if (_parent.attack3) {
_parent._x = random(150) + 1850;
extra = 1;
hittin = true;
_parent.attack3 = false;
}
if (_parent.attack4) {
extra = 1;
hittin = true;
_parent.attack4 = false;
}
if (run) {
if (((_parent._x - (speed * 2)) > (_root.camera._x - 90)) && ((_parent._x + (speed * 2)) < (_root.camera._x + 90))) {
if (_parent._xscale == 100) {
_parent._x = _parent._x - (speed * 2);
} else {
_parent._x = _parent._x + (speed * 2);
}
}
}
if (((_parent._currentframe > 2) && (_parent._currentframe < 7)) && (hittin)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - (damage * extra);
} else {
_root.hero.health = _root.hero.health - (damage * extra);
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if (_root.hero.hitTest(_parent)) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
_root.nmes.boss3.health = 0;
_root.nmes.boss3.gotoAndStop("die" + (random(4) + 1));
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
hittin = false;
if (run) {
_paremt._xscale = 100;
run = false;
}
timer = timer + random(time);
if (timer > 50) {
rand = random(6);
if (rand < 4) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 6) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(4) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 90)) && ((_parent._x + speed) < (_root.camera._x + 90))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 97 MovieClip Frame 1 (13 B)
this.stop();
Symbol 101 MovieClip Frame 17 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 101 MovieClip Frame 33 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 103 MovieClip Frame 56 (24 B)
_parent.attack1 = true;
Symbol 103 MovieClip Frame 71 (30 B)
_parent.gotoAndStop("stand");
Symbol 104 MovieClip Frame 40 (24 B)
_parent.attack2 = true;
Symbol 104 MovieClip Frame 55 (30 B)
_parent.brain.hittin = false;
Symbol 104 MovieClip Frame 71 (30 B)
_parent.gotoAndStop("stand");
Symbol 105 MovieClip Frame 40 (24 B)
_parent.attack3 = true;
Symbol 105 MovieClip Frame 55 (25 B)
_parent.attack3 = false;
Symbol 105 MovieClip Frame 71 (30 B)
_parent.gotoAndStop("stand");
Symbol 106 MovieClip Frame 34 (24 B)
_parent.attack4 = true;
Symbol 106 MovieClip Frame 47 (30 B)
_parent.gotoAndStop("stand");
Symbol 112 MovieClip Frame 1 (58 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(0);
}
Symbol 112 MovieClip Frame 156 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 116 MovieClip Frame 6 (58 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(0);
}
Symbol 116 MovieClip Frame 35 (22 B)
this.gotoAndPlay(18);
Symbol 118 MovieClip Frame 1 (58 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(0);
}
Symbol 118 MovieClip Frame 105 (90 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(30);
}
_parent.gotoAndStop("stand");
Instance of Symbol 52 MovieClip "brain" in Symbol 119 MovieClip [boss_washington] Frame 1 (3.71 KiB) ●
onClipEvent (load) {
timer = 20;
stoppe = false;
speed = 1;
time = 5 + _root.lev;
damage = 6;
extra = 0;
hittin = false;
run = false;
totalhealth = _root.hero.bosshealth;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (_parent.attack1) {
extra = 4;
hittin = true;
_parent.attack1 = false;
}
if (_parent.attack2) {
extra = 2;
hittin = true;
_parent.attack2 = false;
}
if (_parent.attack3) {
extra = 2;
hittin = true;
_parent.attack3 = false;
}
if (_parent.attack4) {
_parent._x = random(150) + 1850;
extra = 4;
hittin = true;
_parent.attack4 = false;
}
if (((_parent._currentframe > 2) && (_parent._currentframe < 7)) && (hittin)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - (damage * extra);
} else {
_root.hero.health = _root.hero.health - (damage * extra);
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_root.hero.they = _root.camera._y - 20;
_root.hero.ygoto = true;
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if ((((_root.hero._xscale == 100) && ((_root.hero._x + 5) < (_parent._x + 20))) && ((_root.hero._x + 5) > (_parent._x - 20))) || (((_root.hero._xscale == -100) && ((_root.hero._x - 5) < (_parent._x + 20))) && ((_root.hero._x - 5) > (_parent._x - 20)))) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
hittin = false;
if (run) {
_paremt._xscale = 100;
run = false;
}
timer = timer + random(time);
if (timer > 50) {
rand = random(6);
if (rand < 4) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 6) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(4) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 70)) && ((_parent._x + speed) < (_root.camera._x + 70))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 122 MovieClip Frame 1 (13 B)
this.stop();
Symbol 124 MovieClip Frame 11 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 124 MovieClip Frame 21 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 129 MovieClip Frame 1 (51 B)
if (random(2) == 0) {
_parent._xscale = -100;
}
Symbol 129 MovieClip Frame 17 (24 B)
_parent.attack1 = true;
Symbol 129 MovieClip Frame 95 (30 B)
_parent.gotoAndStop("stand");
Symbol 141 MovieClip Frame 30 (24 B)
_parent.attack2 = true;
Symbol 141 MovieClip Frame 114 (30 B)
_parent.brain.hittin = false;
Symbol 141 MovieClip Frame 134 (30 B)
_parent.gotoAndStop("stand");
Symbol 142 MovieClip Frame 48 (24 B)
_parent.attack3 = true;
Symbol 142 MovieClip Frame 79 (30 B)
_parent.gotoAndStop("stand");
Symbol 143 MovieClip Frame 48 (24 B)
_parent.attack4 = true;
Symbol 143 MovieClip Frame 79 (30 B)
_parent.gotoAndStop("stand");
Symbol 149 MovieClip Frame 1 (68 B)
if (_parent._x > _root.camera._x) {
_parent._xscale = -100;
}
Symbol 149 MovieClip Frame 20 (59 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(10);
}
Symbol 149 MovieClip Frame 70 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 154 MovieClip Frame 51 (22 B)
this.gotoAndPlay(35);
Symbol 155 MovieClip Frame 135 (30 B)
_parent.gotoAndStop("stand");
Symbol 156 MovieClip [boss_hospital] Frame 1 (20 B)
this._xscale = 100;
Instance of Symbol 52 MovieClip "brain" in Symbol 156 MovieClip [boss_hospital] Frame 1 (3.23 KiB) ●
onClipEvent (load) {
timer = 20;
stoppe = false;
speed = 2;
time = 3 + _root.lev;
damage = 5;
extra = 0;
hittin = false;
totalhealth = _root.hero.bosshealth;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (_parent.attack1) {
extra = 1;
hittin = true;
_parent.attack1 = false;
}
if (_parent.attack2) {
extra = 0;
hittin = true;
_parent.attack2 = false;
}
if (_parent.attack3) {
extra = 3;
hittin = true;
_parent.attack3 = false;
}
if (_parent.attack4) {
extra = 3;
hittin = true;
_parent.attack4 = false;
}
if (((_parent._currentframe > 2) && (_parent._currentframe < 7)) && (hittin)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - (damage * extra);
} else {
_root.hero.health = _root.hero.health - (damage * extra);
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if (_root.hero.hitTest(_parent)) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
_root.nmes.boss3.health = 0;
_root.nmes.boss3.gotoAndStop("die" + (random(4) + 1));
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
hittin = false;
if (run) {
_paremt._xscale = 100;
run = false;
}
timer = timer + random(time);
if (timer > 50) {
rand = random(6);
if (rand < 4) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 6) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(4) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 90)) && ((_parent._x + speed) < (_root.camera._x + 90))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 159 MovieClip Frame 1 (13 B)
this.stop();
Symbol 162 MovieClip Frame 14 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 162 MovieClip Frame 27 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 164 MovieClip Frame 17 (24 B)
_parent.attack1 = true;
Symbol 164 MovieClip Frame 24 (25 B)
_parent.attack1 = false;
Symbol 164 MovieClip Frame 32 (30 B)
_parent.gotoAndStop("stand");
Symbol 166 MovieClip Frame 15 (24 B)
_parent.attack2 = true;
Symbol 166 MovieClip Frame 33 (56 B)
_parent.attack2 = false;
_parent.gotoAndStop("stand");
Symbol 167 MovieClip Frame 1 (58 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(0);
}
Symbol 167 MovieClip Frame 56 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 172 MovieClip Frame 1 (94 B)
_root.nmes.swapDepths(_root.mid);
if (_root.musics) {
_root.hero.bgmusic.setVolume(10);
}
Symbol 172 MovieClip Frame 222 (34 B)
_root.nmes.swapDepths(_root.mid);
Symbol 172 MovieClip Frame 232 (91 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(100);
}
_parent.gotoAndStop("stand");
Instance of Symbol 52 MovieClip "brain" in Symbol 173 MovieClip [boss_japan] Frame 1 (2.84 KiB) ●
onClipEvent (load) {
timer = 20;
stoppe = false;
speed = 1;
time = 5 + _root.lev;
damage = 15;
totalhealth = _root.hero.bosshealth;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if ((_parent._currentframe > 2) && (_parent._currentframe < 5)) {
if ((_root.nmes.hitTest(_root.hero._x, _root.hero._y - 10, true) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - damage;
} else {
_root.hero.health = _root.hero.health - damage;
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if ((((_root.hero._xscale == 100) && ((_root.hero._x + 5) < (_parent._x + 30))) && ((_root.hero._x + 5) > (_parent._x - 30))) || (((_root.hero._xscale == -100) && ((_root.hero._x - 5) < (_parent._x + 30))) && ((_root.hero._x - 5) > (_parent._x - 30)))) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
timer = timer + random(time);
if (timer > 50) {
rand = random(6);
if (rand < 4) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 6) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(2) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 90)) && ((_parent._x + speed) < (_root.camera._x + 90))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 173 MovieClip [boss_japan] Frame 5 (62 B)
if (this._x < _root.camera._x) {
this._xscale = -100;
}
Symbol 176 MovieClip Frame 1 (13 B)
this.stop();
Symbol 185 MovieClip Frame 70 (30 B)
_parent.gotoAndStop("stand");
Symbol 186 MovieClip Frame 70 (30 B)
_parent.gotoAndStop("stand");
Symbol 191 MovieClip Frame 1 (1 B)
Symbol 191 MovieClip Frame 30 (30 B)
_parent.gotoAndStop("stand");
Symbol 193 MovieClip Frame 54 (30 B)
_parent.gotoAndStop("stand");
Symbol 198 MovieClip Frame 1 (59 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(10);
}
Symbol 198 MovieClip Frame 274 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 203 MovieClip Frame 61 (13 B)
this.stop();
Instance of Symbol 52 MovieClip in Symbol 204 MovieClip [boss_adventure] Frame 1 (4.5 KiB) ●
onClipEvent (load) {
start1 = false;
dir = 0;
dswitch = -15;
spin = 0;
attack = 0;
damage = 0;
totalhealth = _root.hero.bosshealth;
dam1 = 6;
dam2 = 8;
dam3 = 10;
dam4 = 12;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (!start1) {
dir++;
if (dir > 40) {
start1 = true;
dir = 0;
}
}
if ((_parent._currentframe > 1) && (_parent._currentframe < 6)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - damage;
} else {
_root.hero.health = _root.hero.health - damage;
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.phealth < 1)) {
_root.hero.they = _parent._y - 30;
_root.hero.ygoto = true;
_parent.gotoAndStop("win");
}
}
}
if ((start1 && (_parent._currentframe == 1)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if (_root.hero.hitTest(_parent)) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
death = false;
}
if (dir == 0) {
_parent._y = _parent._y - 3;
} else if (dir == 1) {
_parent._y = _parent._y - 2;
_parent._x = _parent._x + 1;
} else if (dir == 2) {
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
} else if (dir == 3) {
_parent._x = _parent._x + 3;
} else if (dir == 4) {
_parent._y = _parent._y + 1;
_parent._x = _parent._x + 2;
} else if (dir == 5) {
_parent._y = _parent._y + 2;
_parent._x = _parent._x + 1;
} else if (dir == 6) {
_parent._y = _parent._y + 3;
} else if (dir == 7) {
_parent._y = _parent._y + 2;
_parent._x = _parent._x - 1;
} else if (dir == 8) {
_parent._y = _parent._y + 1;
_parent._x = _parent._x - 2;
} else if (dir == 9) {
_parent._x = _parent._x - 3;
} else if (dir == 10) {
_parent._y = _parent._y - 1;
_parent._x = _parent._x - 2;
} else if (dir == 11) {
_parent._y = _parent._y - 2;
_parent._x = _parent._x - 1;
}
if (_root.camera._y == 262) {
_root.hero.ygoto = false;
if ((_root.hero.bosshealth / totalhealth) < 0.4) {
attack = attack + (random(8) + 1);
} else {
attack = attack + (random(3) + 1);
}
if (attack > 300) {
_parent.gotoAndStop("attack" + (random(4) + 1));
if (_parent._currentframe == 1) {
damage = dam1;
} else if (_parent._currentframe == 2) {
damage = dam2;
} else if (_parent._currentframe == 3) {
damage = dam4;
} else if (_parent._currentframe == 4) {
damage = dam3;
}
attack = 0;
}
} else {
_root.hero.they = _parent._y;
}
dswitch = dswitch + (random(2) + 1);
if (((dswitch > 5) || (_parent._x > (_root.camera._x + 80))) || (_parent._x < (_root.camera._x - 80))) {
if (_parent._x > (_root.camera._x + 80)) {
dir = 9;
}
if (_parent._x < (_root.camera._x - 80)) {
dir = 3;
}
if ((((dir == 0) || (dir == 3)) || (dir == 6)) || (dir == 9)) {
if (_parent._y < 260) {
if (dir == 3) {
spin = 1;
} else if (dir == 9) {
spin = 0;
} else {
spin = random(2);
}
} else if (dir == 3) {
spin = 0;
} else if (dir == 9) {
spin = 1;
} else {
spin = random(2);
}
}
if (spin) {
dir++;
if (dir > 11) {
dir = 0;
}
} else {
dir--;
if (dir < 0) {
dir = 11;
}
}
dswitch = 0;
}
}
}
}
Symbol 207 MovieClip Frame 1 (13 B)
this.stop();
Symbol 209 MovieClip Frame 16 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 209 MovieClip Frame 30 (43 B)
this.stop();
_parent.brain.stoppe = true;
Symbol 210 MovieClip Frame 11 (24 B)
_parent.attack1 = true;
Symbol 210 MovieClip Frame 21 (30 B)
_parent.gotoAndStop("stand");
Symbol 220 MovieClip Frame 13 (24 B)
_parent.attack2 = true;
Symbol 220 MovieClip Frame 44 (30 B)
_parent.brain.hittin = false;
Symbol 220 MovieClip Frame 54 (30 B)
_parent.gotoAndStop("stand");
Symbol 221 MovieClip Frame 1 (58 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(0);
}
Symbol 221 MovieClip Frame 85 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 225 MovieClip Frame 1 (13 B)
this.stop();
Symbol 226 MovieClip Frame 107 (13 B)
this.stop();
Symbol 228 MovieClip Frame 43 (30 B)
_parent.gotoAndStop("stand");
Symbol 229 MovieClip [boss_nyc] Frame 1 (20 B)
this._xscale = 100;
Instance of Symbol 52 MovieClip "brain" in Symbol 229 MovieClip [boss_nyc] Frame 1 (3.38 KiB) ●
onClipEvent (load) {
timer = 20;
stoppe = false;
speed = 1;
time = 5 + _root.lev;
damage = 10;
extra = 0;
hittin = false;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / _root.hero.btotal) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (_parent.attack1) {
_parent._x = random(150) + 1850;
extra = 3;
hittin = true;
_parent.attack1 = false;
}
if (_parent.attack2) {
extra = 0;
hittin = true;
_parent.attack2 = false;
}
if (((_parent._currentframe > 2) && (_parent._currentframe < 5)) && (hittin)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - (damage * extra);
} else {
_root.hero.health = _root.hero.health - (damage * extra);
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_root.hero.they = _root.camera._y - 60;
_root.hero.ygoto = true;
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if ((((_root.hero._xscale == 100) && ((_root.hero._x + 5) < (_parent._x + 20))) && ((_root.hero._x + 5) > (_parent._x - 20))) || (((_root.hero._xscale == -100) && ((_root.hero._x - 5) < (_parent._x + 20))) && ((_root.hero._x - 5) > (_parent._x - 20)))) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / _root.hero.btotal) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
_root.hero.they = _root.camera._y - 60;
_root.hero.ygoto = true;
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
hittin = false;
if (run) {
_paremt._xscale = 100;
run = false;
}
timer = timer + random(time);
if (timer > 50) {
rand = random(6);
if (rand < 4) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 6) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(2) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 70)) && ((_parent._x + speed) < (_root.camera._x + 70))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 229 MovieClip [boss_nyc] Frame 4 (62 B)
if (this._x > _root.camera._x) {
this._xscale = -100;
}
Symbol 232 MovieClip Frame 1 (13 B)
this.stop();
Symbol 236 MovieClip Frame 11 (30 B)
_parent.gotoAndStop("stand");
Symbol 238 MovieClip Frame 1 (51 B)
if (random(2) == 0) {
_parent._xscale = -100;
}
Symbol 238 MovieClip Frame 10 (24 B)
_parent.attack1 = true;
Symbol 238 MovieClip Frame 25 (30 B)
_parent.brain.hittin = false;
Symbol 238 MovieClip Frame 30 (30 B)
_parent.gotoAndStop("stand");
Symbol 242 MovieClip Frame 1 (51 B)
if (random(2) == 0) {
_parent._xscale = -100;
}
Symbol 242 MovieClip Frame 8 (24 B)
_parent.attack2 = true;
Symbol 242 MovieClip Frame 39 (30 B)
_parent.gotoAndStop("stand");
Symbol 243 MovieClip Frame 4 (24 B)
_parent.attack3 = true;
Symbol 243 MovieClip Frame 29 (30 B)
_parent.gotoAndStop("stand");
Symbol 246 MovieClip Frame 24 (24 B)
_parent.attack4 = true;
Symbol 246 MovieClip Frame 38 (30 B)
_parent.gotoAndStop("stand");
Symbol 257 MovieClip Frame 1 (68 B)
if (_parent._x < _root.camera._x) {
_parent._xscale = -100;
}
Symbol 257 MovieClip Frame 39 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 258 MovieClip Frame 1 (59 B)
if (_root.musics) {
_root.hero.bgmusic.setVolume(10);
}
Symbol 258 MovieClip Frame 97 (13 B)
this.stop();
Symbol 259 MovieClip Frame 20 (30 B)
_parent.gotoAndStop("stand");
Symbol 260 MovieClip [boss_fox] Frame 1 (20 B)
this._xscale = 100;
Instance of Symbol 52 MovieClip "brain" in Symbol 260 MovieClip [boss_fox] Frame 1 (3.16 KiB) ●
onClipEvent (load) {
timer = 20;
speed = 2;
time = 3 + _root.lev;
damage = 8;
extra = 0;
hittin = false;
totalhealth = _root.hero.bosshealth;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (_parent.attack1) {
extra = 1;
hittin = true;
_parent.attack1 = false;
}
if (_parent.attack2) {
extra = 2;
hittin = true;
_parent.attack2 = false;
}
if (_parent.attack3) {
extra = 0;
hittin = true;
_parent.attack3 = false;
}
if (_parent.attack4) {
_parent._x = random(100) + 1850;
extra = 3;
hittin = true;
_parent.attack4 = false;
}
if (((_parent._currentframe > 2) && (_parent._currentframe < 7)) && (hittin)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - (damage * extra);
} else {
_root.hero.health = _root.hero.health - (damage * extra);
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if (_root.hero.hitTest(_parent)) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
hittin = false;
if (run) {
_paremt._xscale = 100;
run = false;
}
timer = timer + random(time);
if (timer > 50) {
rand = random(3);
if (rand < 2) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 3) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(4) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 80)) && ((_parent._x + speed) < (_root.camera._x + 80))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 265 MovieClip Frame 1 (13 B)
this.stop();
Symbol 271 MovieClip Frame 11 (30 B)
_parent.gotoAndStop("stand");
Symbol 272 MovieClip Frame 6 (24 B)
_parent.attack1 = true;
Symbol 272 MovieClip Frame 16 (30 B)
_parent.brain.hittin = false;
Symbol 272 MovieClip Frame 22 (30 B)
_parent.gotoAndStop("stand");
Symbol 273 MovieClip Frame 10 (24 B)
_parent.attack2 = true;
Symbol 273 MovieClip Frame 16 (30 B)
_parent.brain.hittin = false;
Symbol 273 MovieClip Frame 21 (30 B)
_parent.gotoAndStop("stand");
Symbol 277 MovieClip Frame 23 (24 B)
_parent.attack3 = true;
Symbol 277 MovieClip Frame 62 (30 B)
_parent.gotoAndStop("stand");
Symbol 279 MovieClip Frame 1 (24 B)
_parent.attack4 = true;
Symbol 279 MovieClip Frame 13 (33 B)
_parent._x = random(100) + 1850;
Symbol 279 MovieClip Frame 48 (33 B)
_parent._x = random(100) + 1850;
Symbol 279 MovieClip Frame 64 (30 B)
_parent.gotoAndStop("stand");
Symbol 282 MovieClip Frame 70 (42 B)
this.stop();
_root.hero.bossdone = true;
Symbol 284 MovieClip Frame 16 (30 B)
_parent.gotoAndStop("stand");
Symbol 285 MovieClip [boss_belaire] Frame 1 (20 B)
this._xscale = 100;
Instance of Symbol 52 MovieClip "brain" in Symbol 285 MovieClip [boss_belaire] Frame 1 (3.16 KiB) ●
onClipEvent (load) {
timer = 20;
speed = 2;
time = 3 + _root.lev;
damage = 5;
extra = 0;
hittin = false;
totalhealth = _root.hero.bosshealth;
}
onClipEvent (enterFrame) {
if (_root.timeout) {
if (_root.specials.hitTest(_parent)) {
_root.hero.bosshealth = _root.hero.bosshealth - _root.specials.damage;
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
} else {
if (_parent.attack1) {
extra = 2;
hittin = true;
_parent.attack1 = false;
}
if (_parent.attack2) {
_parent._x = random(100) + 1850;
extra = 4;
hittin = true;
_parent.attack2 = false;
}
if (_parent.attack3) {
extra = 0;
hittin = true;
_parent.attack3 = false;
}
if (_parent.attack4) {
extra = 3;
hittin = true;
_parent.attack4 = false;
}
if (((_parent._currentframe > 2) && (_parent._currentframe < 7)) && (hittin)) {
if (((_root.nmes.hitTest(_root.hero._x + 4, _root.hero._y, true) || (_root.nmes.hitTest(_root.hero._x - 4, _root.hero._y - 10, true))) && (!_root.hero.attack)) && (_root.hero._currentframe < 24)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - (damage * extra);
} else {
_root.hero.health = _root.hero.health - (damage * extra);
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
if ((_root.hero.health < 1) || (_root.hero.phealth < 1)) {
_parent.gotoAndStop("win");
}
}
}
if (((_parent._currentframe > 0) && (_parent._currentframe < 3)) && (_parent.hit.hit._currentframe == 1)) {
if (_root.hero.attack) {
if (_root.hero.hitTest(_parent)) {
_parent.hit.hit.play();
_root.hero.bosshealth = _root.hero.bosshealth - _root.hero.damage;
if (_root.hero.player) {
_root.hero.pspecial = _root.hero.pspecial + _root.hero.damage;
} else {
_root.hero.special = _root.hero.special + _root.hero.damage;
}
barrr = Math.floor((_root.hero.bosshealth / totalhealth) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
}
}
if ((_root.hero.bosshealth < 1) && (death == null)) {
death = true;
}
if (death) {
_root.hero.bosshealth = 0;
_parent.gotoAndStop("die");
death = false;
}
if ((_parent._currentframe == 1) || ((_parent._currentframe == 2) && (stoppe))) {
hittin = false;
if (run) {
_paremt._xscale = 100;
run = false;
}
timer = timer + random(time);
if (timer > 70) {
rand = random(3);
if (rand < 1) {
if (stoppe) {
stoppe = false;
_parent.hit.play();
} else {
_parent.gotoAndStop("walk");
}
if (random(2) == 0) {
speed = speed * -1;
}
} else if (rand < 3) {
stoppe = false;
_parent.gotoAndStop("attack" + (random(4) + 1));
}
timer = 0;
}
}
if ((_parent._currentframe == 2) && (!stoppe)) {
if (((_parent._x + speed) > (_root.camera._x - 80)) && ((_parent._x + speed) < (_root.camera._x + 80))) {
_parent._x = _parent._x + speed;
}
}
}
}
Symbol 285 MovieClip [boss_belaire] Frame 5 (62 B)
if (this._x < _root.camera._x) {
this._xscale = -100;
}
Symbol 297 MovieClip Frame 1 (8 B)
stop();
Symbol 376 MovieClip Frame 1 (40 B)
this.gotoAndStop(_parent._parent.char);
Symbol 377 MovieClip Frame 17 (8 B)
stop();
Symbol 388 MovieClip Frame 1 (8 B)
stop();
Symbol 424 MovieClip Frame 1 (8 B)
stop();
Symbol 431 MovieClip Frame 1 (8 B)
stop();
Symbol 433 MovieClip Frame 1 (8 B)
stop();
Symbol 443 MovieClip Frame 1 (8 B)
stop();
Symbol 452 MovieClip Frame 1 (8 B)
stop();
Symbol 453 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 52 MovieClip in Symbol 489 MovieClip Frame 1 (194 B)
onClipEvent (load) {
_parent.gotoAndStop(random(10) + 1);
i = 0;
j = random(200) + 40;
}
onClipEvent (enterFrame) {
i++;
if (i > j) {
i = 0;
_parent.gotoAndStop(random(10) + 1);
}
}
Instance of Symbol 468 MovieClip in Symbol 491 MovieClip Frame 1 (55 B)
onClipEvent (enterFrame) {
this._x = this._x + 0.01;
}
Symbol 506 MovieClip Frame 1 (13 B)
this.stop();
Instance of Symbol 52 MovieClip in Symbol 506 MovieClip Frame 1 (244 B)
onClipEvent (load) {
if ((_root.hero.clevel != "japan") && (_root.hero.clevel != "fightclub")) {
this.swapDepths(999);
this.removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (_root.hero.light) {
_parent.nextFrame();
}
}
Symbol 605 MovieClip Frame 7 (13 B)
this.stop();
Symbol 605 MovieClip Frame 15 (13 B)
this.stop();
Symbol 606 MovieClip Frame 4 (13 B)
this.stop();
Symbol 606 MovieClip Frame 6 (30 B)
_parent.gotoAndStop("stand");
Symbol 607 MovieClip Frame 5 (32 B)
_parent.gotoAndStop("airtime");
Symbol 609 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 5;
Symbol 609 MovieClip Frame 3 (24 B)
_parent.attack = false;
Symbol 609 MovieClip Frame 11 (30 B)
_parent.gotoAndStop("stand");
Symbol 610 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 610 MovieClip Frame 7 (24 B)
_parent.attack = false;
Symbol 610 MovieClip Frame 19 (30 B)
_parent.gotoAndStop("stand");
Symbol 611 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 2;
Symbol 611 MovieClip Frame 21 (55 B)
_parent.attack = false;
_parent.gotoAndStop("stand");
Symbol 612 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 612 MovieClip Frame 4 (24 B)
_parent.attack = false;
Symbol 612 MovieClip Frame 11 (30 B)
_parent.gotoAndStop("stand");
Symbol 613 MovieClip Frame 10 (44 B)
_parent.attack = true;
_parent.damage = 5;
Symbol 613 MovieClip Frame 13 (24 B)
_parent.attack = false;
Symbol 613 MovieClip Frame 20 (30 B)
_parent.gotoAndStop("stand");
Symbol 614 MovieClip Frame 5 (44 B)
_parent.attack = true;
_parent.damage = 1;
Symbol 614 MovieClip Frame 13 (24 B)
_parent.attack = false;
Symbol 614 MovieClip Frame 20 (30 B)
_parent.gotoAndStop("stand");
Symbol 615 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 5;
Symbol 615 MovieClip Frame 4 (24 B)
_parent.attack = false;
Symbol 615 MovieClip Frame 7 (32 B)
_parent.gotoAndStop("airtime");
Symbol 616 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 4;
Symbol 616 MovieClip Frame 6 (24 B)
_parent.attack = false;
Symbol 616 MovieClip Frame 13 (32 B)
_parent.gotoAndStop("airtime");
Symbol 617 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 617 MovieClip Frame 4 (24 B)
_parent.attack = false;
Symbol 617 MovieClip Frame 8 (32 B)
_parent.gotoAndStop("airtime");
Symbol 618 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 2;
Symbol 618 MovieClip Frame 7 (24 B)
_parent.attack = false;
Symbol 618 MovieClip Frame 13 (32 B)
_parent.gotoAndStop("airtime");
Symbol 619 MovieClip Frame 3 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 619 MovieClip Frame 6 (24 B)
_parent.attack = false;
Symbol 619 MovieClip Frame 10 (35 B)
stop();
_parent.stoppoint = true;
Symbol 619 MovieClip Frame 14 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 619 MovieClip Frame 17 (24 B)
_parent.attack = false;
Symbol 619 MovieClip Frame 22 (35 B)
stop();
_parent.stoppoint = true;
Symbol 619 MovieClip Frame 32 (44 B)
_parent.attack = true;
_parent.damage = 7;
Symbol 619 MovieClip Frame 36 (55 B)
_parent.attack = false;
_parent.gotoAndStop("stand");
Symbol 620 MovieClip Frame 4 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 620 MovieClip Frame 7 (24 B)
_parent.attack = false;
Symbol 620 MovieClip Frame 10 (35 B)
stop();
_parent.stoppoint = true;
Symbol 620 MovieClip Frame 14 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 620 MovieClip Frame 19 (24 B)
_parent.attack = false;
Symbol 620 MovieClip Frame 24 (35 B)
stop();
_parent.stoppoint = true;
Symbol 620 MovieClip Frame 27 (44 B)
_parent.attack = true;
_parent.damage = 5;
Symbol 620 MovieClip Frame 30 (24 B)
_parent.attack = false;
Symbol 620 MovieClip Frame 34 (35 B)
stop();
_parent.stoppoint = true;
Symbol 620 MovieClip Frame 40 (44 B)
_parent.attack = true;
_parent.damage = 5;
Symbol 620 MovieClip Frame 44 (24 B)
_parent.attack = false;
Symbol 620 MovieClip Frame 47 (30 B)
_parent.gotoAndStop("stand");
Symbol 621 MovieClip Frame 3 (44 B)
_parent.attack = true;
_parent.damage = 2;
Symbol 621 MovieClip Frame 8 (24 B)
_parent.attack = false;
Symbol 621 MovieClip Frame 12 (35 B)
stop();
_parent.stoppoint = true;
Symbol 621 MovieClip Frame 22 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 621 MovieClip Frame 28 (24 B)
_parent.attack = false;
Symbol 621 MovieClip Frame 32 (35 B)
stop();
_parent.stoppoint = true;
Symbol 621 MovieClip Frame 35 (44 B)
_parent.attack = true;
_parent.damage = 4;
Symbol 621 MovieClip Frame 38 (24 B)
_parent.attack = false;
Symbol 621 MovieClip Frame 41 (35 B)
stop();
_parent.stoppoint = true;
Symbol 621 MovieClip Frame 45 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 621 MovieClip Frame 60 (24 B)
_parent.attack = false;
Symbol 621 MovieClip Frame 62 (30 B)
_parent.gotoAndStop("stand");
Symbol 622 MovieClip Frame 3 (44 B)
_parent.attack = true;
_parent.damage = 2;
Symbol 622 MovieClip Frame 6 (24 B)
_parent.attack = false;
Symbol 622 MovieClip Frame 9 (35 B)
stop();
_parent.stoppoint = true;
Symbol 622 MovieClip Frame 15 (44 B)
_parent.attack = true;
_parent.damage = 4;
Symbol 622 MovieClip Frame 19 (24 B)
_parent.attack = false;
Symbol 622 MovieClip Frame 25 (35 B)
stop();
_parent.stoppoint = true;
Symbol 622 MovieClip Frame 31 (44 B)
_parent.attack = true;
_parent.damage = 4;
Symbol 622 MovieClip Frame 36 (24 B)
_parent.attack = false;
Symbol 622 MovieClip Frame 43 (35 B)
stop();
_parent.stoppoint = true;
Symbol 622 MovieClip Frame 47 (44 B)
_parent.attack = true;
_parent.damage = 4;
Symbol 622 MovieClip Frame 52 (24 B)
_parent.attack = false;
Symbol 622 MovieClip Frame 57 (35 B)
stop();
_parent.stoppoint = true;
Symbol 622 MovieClip Frame 58 (44 B)
_parent.attack = true;
_parent.damage = 6;
Symbol 622 MovieClip Frame 65 (55 B)
_parent.attack = false;
_parent.gotoAndStop("stand");
Symbol 623 MovieClip Frame 4 (44 B)
_parent.attack = true;
_parent.damage = 2;
Symbol 623 MovieClip Frame 8 (24 B)
_parent.attack = false;
Symbol 623 MovieClip Frame 12 (35 B)
stop();
_parent.stoppoint = true;
Symbol 623 MovieClip Frame 19 (44 B)
_parent.attack = true;
_parent.damage = 6;
Symbol 623 MovieClip Frame 22 (24 B)
_parent.attack = false;
Symbol 623 MovieClip Frame 25 (35 B)
stop();
_parent.stoppoint = true;
Symbol 623 MovieClip Frame 26 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 623 MovieClip Frame 29 (24 B)
_parent.attack = false;
Symbol 623 MovieClip Frame 32 (35 B)
stop();
_parent.stoppoint = true;
Symbol 623 MovieClip Frame 42 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 623 MovieClip Frame 52 (24 B)
_parent.attack = false;
Symbol 623 MovieClip Frame 57 (30 B)
_parent.gotoAndStop("stand");
Symbol 624 MovieClip Frame 3 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 624 MovieClip Frame 6 (24 B)
_parent.attack = false;
Symbol 624 MovieClip Frame 11 (35 B)
stop();
_parent.stoppoint = true;
Symbol 624 MovieClip Frame 15 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 624 MovieClip Frame 19 (24 B)
_parent.attack = false;
Symbol 624 MovieClip Frame 23 (35 B)
stop();
_parent.stoppoint = true;
Symbol 624 MovieClip Frame 35 (44 B)
_parent.attack = true;
_parent.damage = 8;
Symbol 624 MovieClip Frame 38 (24 B)
_parent.attack = false;
Symbol 624 MovieClip Frame 43 (35 B)
stop();
_parent.stoppoint = true;
Symbol 624 MovieClip Frame 52 (45 B)
_parent.attack = true;
_parent.damage = 10;
Symbol 624 MovieClip Frame 55 (24 B)
_parent.attack = false;
Symbol 624 MovieClip Frame 59 (30 B)
_parent.gotoAndStop("stand");
Symbol 625 MovieClip Frame 1 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 625 MovieClip Frame 4 (24 B)
_parent.attack = false;
Symbol 625 MovieClip Frame 8 (35 B)
stop();
_parent.stoppoint = true;
Symbol 625 MovieClip Frame 17 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 625 MovieClip Frame 22 (60 B)
stop();
_parent.attack = false;
_parent.stoppoint = true;
Symbol 625 MovieClip Frame 30 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 625 MovieClip Frame 37 (24 B)
_parent.attack = false;
Symbol 625 MovieClip Frame 42 (35 B)
stop();
_parent.stoppoint = true;
Symbol 625 MovieClip Frame 53 (44 B)
_parent.attack = true;
_parent.damage = 6;
Symbol 625 MovieClip Frame 59 (24 B)
_parent.attack = false;
Symbol 625 MovieClip Frame 64 (30 B)
_parent.gotoAndStop("stand");
Symbol 626 MovieClip Frame 4 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 626 MovieClip Frame 8 (24 B)
_parent.attack = false;
Symbol 626 MovieClip Frame 12 (35 B)
stop();
_parent.stoppoint = true;
Symbol 626 MovieClip Frame 16 (44 B)
_parent.attack = true;
_parent.damage = 3;
Symbol 626 MovieClip Frame 21 (24 B)
_parent.attack = false;
Symbol 626 MovieClip Frame 26 (35 B)
stop();
_parent.stoppoint = true;
Symbol 626 MovieClip Frame 31 (44 B)
_parent.attack = true;
_parent.damage = 2;
Symbol 626 MovieClip Frame 43 (24 B)
_parent.attack = false;
Symbol 626 MovieClip Frame 52 (35 B)
stop();
_parent.stoppoint = true;
Symbol 626 MovieClip Frame 53 (45 B)
_parent.attack = true;
_parent.damage = 10;
Symbol 626 MovieClip Frame 57 (24 B)
_parent.attack = false;
Symbol 626 MovieClip Frame 66 (30 B)
_parent.gotoAndStop("stand");
Symbol 630 MovieClip Frame 8 (30 B)
_parent.gotoAndStop("stand");
Symbol 653 MovieClip Frame 1 (8 B)
stop();
Symbol 657 MovieClip Frame 12 (30 B)
_parent.gotoAndStop("stand");
Symbol 661 MovieClip Frame 9 (30 B)
_parent.gotoAndStop("stand");
Symbol 663 MovieClip Frame 14 (30 B)
_parent.gotoAndStop("stand");
Symbol 665 MovieClip Frame 18 (30 B)
_parent.gotoAndStop("stand");
Symbol 667 MovieClip Frame 10 (30 B)
_parent.gotoAndStop("stand");
Symbol 669 MovieClip Frame 6 (13 B)
this.stop();
Symbol 675 MovieClip Frame 29 (13 B)
this.stop();
Symbol 680 MovieClip Frame 27 (13 B)
this.stop();
Symbol 681 MovieClip Frame 60 (13 B)
this.stop();
Symbol 682 MovieClip [animation] Frame 1 (13 B)
this.stop();
Instance of Symbol 52 MovieClip in Symbol 682 MovieClip [animation] Frame 1 (8.69 KiB) ● ●
onClipEvent (load) {
if (_parent._parent == _root.nmes) {
amnme = true;
_parent.punk = false;
if (_parent.health == null) {
_parent.health = _root.nmehealth + Math.floor(_root.hero.nmeset / 2);
}
if (_parent.char == null) {
_parent.char = "";
}
if (_parent.notpunch == null) {
_parent.notpunch = random(5) + 2;
}
if (_parent.notwalk == null) {
if (_root.hardmode) {
_parent.notwalk = random(8) + 2;
} else {
_parent.notwalk = random(4) + 2;
}
}
if (_parent.speed == null) {
speed = 0;
} else {
speed = _parent.speed;
}
clevel = _root.hero.clevel;
standheight = _root.hero.standheight;
jumpspeed = 0;
turns = 0;
if (_root.wtfmode) {
jumpmax = random(15) + 3;
turnmax = random(15) + 3;
} else {
jumpmax = random(6) + 3;
turnmax = random(6) + 3;
}
walkit = 0;
once = false;
death = true;
} else {
amnme = false;
}
}
onClipEvent (enterFrame) {
if (amnme && (_root.timeout)) {
if (_root.specials.hitTest(_parent._x, _parent._y - 10, true)) {
_parent.health = _parent.health - _root.specials.damage;
_parent.punk = true;
}
}
if (amnme && (!_root.timeout)) {
if ((_parent.health < 1) && (!_parent.punk)) {
if (death && (_parent._currentframe < 24)) {
_root.hero.nmeon = _root.hero.nmeon - 1;
_parent.gotoAndStop("die" + (random(4) + 1));
death = false;
}
if (_parent._y < standheight) {
jumpspeed--;
if ((_parent._y - jumpspeed) <= standheight) {
_parent._y = _parent._y - jumpspeed;
} else {
_parent._y = standheight;
}
}
if (_parent._x < (_root.camera._x - 110)) {
_parent.removeMovieClip(_parent);
}
if (((_root.camera._x > 1850) && (_parent._currentframe > 29)) && (_parent.health < 10000)) {
if (_parent._alpha > 0) {
_parent._alpha = _parent._alpha - 5;
} else {
_parent.removeMovieClip(_parent);
}
}
} else {
if (_parent.char == "") {
if (_root.wtfmode) {
charget = random(72) + 1;
if (charget > 6) {
charget++;
}
if (charget > 12) {
charget++;
}
if (charget > 24) {
charget++;
}
if (charget > 30) {
charget++;
}
if (charget > 40) {
charget++;
}
if (charget > 47) {
charget++;
}
if (charget > 55) {
charget++;
}
if (charget > 66) {
charget++;
}
if (charget > 75) {
charget++;
}
_parent.char = charget;
} else {
charget = random(_root["nmes_" + clevel].length);
_parent.char = _root["nmes_" + clevel][charget];
}
_parent.gotoAndStop("walk");
_parent.gotoAndStop("stand");
}
if (_parent.punk) {
if (_parent.health > 10000) {
_root.hero.bosshealth = _root.hero.bosshealth - (1000000 - _parent.health);
_parent.health = 1000000 /* 0x0F4240 */;
if (_root.hero.bosshealth < 1) {
_root.hero.a = -40;
_root.hero.bossdone = true;
_root.hero.bosshealth = 0;
_root.nmes.boss.health = 0;
_root.nmes.boss1.health = 0;
_root.nmes.boss2.health = 0;
_root.nmes.boss3.health = 0;
_root.nmes.boss1.death = false;
_root.nmes.boss2.death = false;
_root.nmes.boss3.death = false;
_root.nmes.boss.gotoAndStop("die");
_root.nmes.boss1.gotoAndStop("die" + (random(4) + 1));
_root.nmes.boss2.gotoAndStop("die" + (random(4) + 1));
_root.nmes.boss3.gotoAndStop("die" + (random(4) + 1));
}
barrr = Math.floor((_root.hero.bosshealth / _root.hero.btotal) * 100);
if (barrr < 0) {
barrr = 0;
}
_root.camera.bosshealth.guage._xscale = barrr;
}
if (_parent._x < _root.hero._x) {
_parent._xscale = 100;
} else {
_parent._xscale = -100;
}
_parent.gotoAndStop("hit" + (random(6) + 1));
if (_parent._xscale == 100) {
_parent.nmehealth._xscale = 200;
} else {
_parent.nmehealth._xscale = -200;
}
if (_parent.health < 5) {
_parent.nmehealth.gotoAndStop(3);
if (_parent.health < 0) {
_parent.health = 0;
}
} else {
_parent.nmehealth.gotoAndStop(2);
}
hundred = Math.floor(_parent.health / 100);
if (hundred == 0) {
hundred = 10;
ten = Math.floor(_parent.health / 10);
one = _parent.health - (ten * 10);
} else {
ten = Math.floor((_parent.health - 100) / 10);
one = (_parent.health - 100) - (ten * 10);
}
if (ten == 0) {
ten = 10;
}
if (one == 0) {
one = 10;
}
_parent.nmehealth.hundred.gotoAndStop(hundred);
_parent.nmehealth.ten.gotoAndStop(ten);
_parent.nmehealth.one.gotoAndStop(one);
_parent.punk = false;
}
if (_root.hero.attack) {
if (_parent.hitTest(_root.hero) && (!once)) {
_root.hero.hitlist.push(_parent._name);
once = true;
}
} else {
once = false;
}
if (_parent.attack) {
if (_root.hero._currentframe < 26) {
if (_parent.hitTest(_root.hero)) {
if (_root.hero.player) {
_root.hero.phealth = _root.hero.phealth - _parent.damage;
if (_root.hero.phealth < 1) {
_root.hero.phealth = 0;
}
} else {
_root.hero.health = _root.hero.health - _parent.damage;
if (_root.hero.health < 1) {
_root.hero.health = 0;
}
}
if (_parent._x > _root.hero._x) {
_root.hero._xscale = 100;
} else {
_root.hero._xscale = -100;
}
if (_root.hero._y < standheight) {
_root.hero.pdrop = true;
_root.hero.pdspeed = _root.hero.jumpspeed;
}
_root.hero.gotoAndStop("hit" + (random(6) + 1));
}
}
}
if ((_parent._currentframe == 1) && (_parent._y != standheight)) {
_parent.gotoAndStop("airtime");
}
if ((_parent._currentframe > 23) && (_parent._currentframe < 30)) {
if (_parent._xscale == 100) {
_parent._x = _parent._x - 2;
} else {
_parent._x = _parent._x + 2;
}
}
if (_parent.stoppoint) {
_parent.stoppoint = false;
if (random(5) == 0) {
_parent.hit.play();
} else {
_parent.gotoAndStop("stand");
}
}
if (_parent._currentframe == 1) {
if (random(20) == 0) {
if (random(2) == 0) {
_parent.gotoAndStop("jump");
} else {
_parent.gotoAndStop("crouch");
}
} else if (random(_parent.notwalk) == 0) {
_parent.gotoAndStop("walk");
walkmax = random(40) + 10;
} else if ((_parent._x > (_root.hero._x - 20)) && (_parent._x < (_root.hero._x + 20))) {
if (random(_parent.notpunch) == 0) {
rand = random(4) + 1;
_parent.gotoAndStop("punches" + rand);
} else if (random(_parent.notpunch) == 0) {
rand = random(4) + 1;
_parent.gotoAndStop("kicks" + rand);
}
}
}
if (_parent._currentframe == 2) {
_parent.hit.play();
if (walkit == 1) {
_parent._x = _parent._x - (1 + speed);
_parent._xscale = -100;
} else if (walkit == 2) {
_parent._x = _parent._x + (1 + speed);
_parent._xscale = 100;
} else if (_parent._x > (_root.hero._x + 10)) {
_parent._x = _parent._x - (1 + speed);
_parent._xscale = -100;
} else if (_parent._x < (_root.hero._x - 10)) {
_parent._x = _parent._x + (1 + speed);
_parent._xscale = 100;
} else {
walkit = random(2) + 1;
}
walkmax--;
if (walkmax == 0) {
_parent.gotoAndStop("stand");
walkit = 0;
}
}
if (_parent._currentframe == 3) {
if (_parent._x > _root.hero._x) {
_parent._xscale = -100;
} else {
_parent._xscale = 100;
}
if (random(5) == 0) {
rand = random(3) + 1;
_parent.gotoAndStop("crouchp" + rand);
} else if (random(5) == 0) {
rand = random(3) + 1;
_parent.gotoAndStop("crouchk" + rand);
} else if (random(10) == 0) {
_parent.hit.play();
}
}
if (_parent._currentframe == 5) {
if (turns == 0) {
jumpspeed = jumpmax;
turns = 1;
}
if ((random(2) == 0) && (turns < turnmax)) {
jumpspeed++;
turns++;
}
jumpspeed--;
if (_parent._x > (_root.hero._x + 10)) {
_parent._x = _parent._x - (2 + speed);
_parent._xscale = -100;
} else if (_parent._x < (_root.hero._x - 10)) {
_parent._x = _parent._x + (2 + speed);
_parent._xscale = 100;
} else if (random(5) == 0) {
if (random(2) == 0) {
_parent.gotoAndStop("inairp" + (random(2) + 1));
} else {
_parent.gotoAndStop("inairk" + (random(2) + 1));
}
}
if ((_parent._y - jumpspeed) < standheight) {
_parent._y = _parent._y - jumpspeed;
} else {
_parent._y = standheight;
_parent.gotoAndStop("stand");
turns = 0;
}
}
}
}
}
Symbol 825 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 830 MovieClip in Symbol 831 MovieClip Frame 1 (254 B)
onClipEvent (load) {
if (_root.continues == 3) {
this.gotoAndStop(1);
} else if (_root.continues == 2) {
this.gotoAndStop(2);
} else if (_root.continues == 1) {
this.gotoAndStop(3);
} else if (_root.continues == 0) {
this.gotoAndStop(4);
}
}
Symbol 832 MovieClip Frame 1 (22 B)
damage = 0;
stop();
Symbol 832 MovieClip Frame 19 (13 B)
damage = 40;
Symbol 832 MovieClip Frame 21 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 57 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 75 (13 B)
damage = 15;
Symbol 832 MovieClip Frame 77 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 95 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 119 (13 B)
damage = 10;
Symbol 832 MovieClip Frame 121 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 178 (12 B)
damage = 5;
Symbol 832 MovieClip Frame 194 (56 B)
damage = 0;
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 274 (13 B)
damage = 20;
Symbol 832 MovieClip Frame 276 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 288 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 289 (1 B)
Symbol 832 MovieClip Frame 310 (13 B)
damage = 20;
Symbol 832 MovieClip Frame 312 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 337 (12 B)
damage = 5;
Symbol 832 MovieClip Frame 339 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 370 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 425 (13 B)
damage = 25;
Symbol 832 MovieClip Frame 427 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 435 (13 B)
damage = 25;
Symbol 832 MovieClip Frame 437 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 458 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 532 (13 B)
damage = 20;
Symbol 832 MovieClip Frame 534 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 547 (13 B)
damage = 10;
Symbol 832 MovieClip Frame 549 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 558 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 567 (13 B)
damage = 30;
Symbol 832 MovieClip Frame 599 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 600 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 637 (12 B)
damage = 5;
Symbol 832 MovieClip Frame 650 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 675 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 701 (13 B)
damage = 30;
Symbol 832 MovieClip Frame 703 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 764 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 765 (13 B)
damage = 90;
Symbol 832 MovieClip Frame 854 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 855 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 875 (13 B)
damage = 10;
Symbol 832 MovieClip Frame 959 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 960 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 989 (13 B)
damage = 50;
Symbol 832 MovieClip Frame 992 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 1023 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 1024 (12 B)
damage = 2;
Symbol 832 MovieClip Frame 1160 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 1162 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 1272 (13 B)
damage = 30;
Symbol 832 MovieClip Frame 1274 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 1393 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 1503 (13 B)
damage = 40;
Symbol 832 MovieClip Frame 1505 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 1609 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 1718 (13 B)
damage = 40;
Symbol 832 MovieClip Frame 1721 (12 B)
damage = 0;
Symbol 832 MovieClip Frame 1728 (42 B)
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 1787 (12 B)
damage = 6;
Symbol 832 MovieClip Frame 1823 (56 B)
damage = 0;
stop();
_root.hero.specialfinish = true;
Symbol 832 MovieClip Frame 1941 (8 B)
stop();
Instance of Symbol 831 MovieClip "gameover" in Symbol 832 MovieClip Frame 1941 (843 B)
onClipEvent (enterFrame) {
if (Key.isDown(_root.rightkey) && (rr == 0)) {
rr = 1;
}
if (!Key.isDown(_root.rightkey)) {
rr = 0;
}
if (Key.isDown(_root.leftkey) && (ll == 0)) {
ll = 1;
}
if (!Key.isDown(_root.leftkey)) {
ll = 0;
}
if ((rr == 1) || (ll == 1)) {
rr = 2;
ll = 2;
if (this.corr._currentframe == 1) {
this.corr.gotoAndStop(2);
} else {
this.corr.gotoAndStop(1);
}
}
if (!Key.isDown(_root.eskey)) {
espres = true;
}
if (Key.isDown(_root.eskey) && (espres)) {
if ((this.corr._currentframe == 1) && (_root.continues > 0)) {
_root.continues--;
_root.sp1 = 0;
_root.sp2 = 0;
_root.health = 100;
_root.phealth = 100;
stopAllSounds();
_root.gotoAndStop(_root._currentframe - 1);
} else {
stopAllSounds();
_root.gotoAndStop(6);
}
}
}
Symbol 837 MovieClip Frame 1 (13 B)
this.stop();