Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("e22905a8", this, 10301, true);
stop();
Instance of Symbol 12 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.loadedd = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loaded = _root.loadedd + "%";
_currentframe = Math.round(_root.loadedd);
gotoAndPlay(Math.round(_root.loadedd));
if (_root.loadedd == 100) {
_root.play();
}
}
Frame 2
stop();
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
_root.stop();
}
onClipEvent (mouseDown) {
getURL ("http://www.flashgem.com", "_blank");
}
Frame 4
_root.pellets = 2;
_root.level = 1;
_root.startdupe = false;
_root.time = 0;
_root.speed = 0.01;
_root.macrophage = 0;
_root.pelletno = 0;
_root.i = random(999);
_root.megakaryotecount = 0;
_root.holder.rnd = 0;
_root.immunitycount = 0;
_root.microbecount = -1;
_root._quality = "LOW";
stop();
Stage.showMenu = false;
fr = 0;
ms = 0;
onEnterFrame = function () {
fr++;
if ((ms + 1000) < getTimer()) {
fps = fr;
fr = 0;
ms = getTimer();
}
};
Instance of Symbol 69 MovieClip "holder" in Frame 4
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.score = _root.pelletno * _root.level;
_root.time++;
_root.immunitycount--;
if (_root.time > 100) {
_root.text = "Welcome to Viral Vendetta!";
}
if (_root.time > 300) {
_root.text = "You have just infected the host. The goal is to spread your viruses as much as possible!";
}
if (_root.time > 700) {
_root.text = "Your microbe (green) has produced an RNA strand by now. Collect it.";
}
if (_root.time > 1000) {
_root.text = "The white cell that should have appeared by now is a phagocyte. It will attempt to kill your microbes. Destroy it by moving on to it.";
}
if (_root.time > 1400) {
_root.text = "Purchase upgrades using your RNA strands. Survive as long as you can!";
}
if (_root.time > 1700) {
_root.text = "";
}
if (_root.time > 2500) {
_root.level = 2;
}
if (_root.time > 4000) {
_root.level = 3;
}
if (_root.time > 5000) {
_root.level = 4;
}
if (_root.time > 7000) {
_root.level = 5;
}
if (_root.time > 9000) {
_root.level = 6;
}
if (_root.time > 12000) {
_root.level = 7;
}
if (_root.time > 14000) {
_root.level = 8;
}
if (_root.time > 16000) {
_root.level = 9;
}
if (_root.time > 18000) {
_root.level = 10;
}
if (_root.time > 20000) {
_root.gotoAndStop("end");
_root.endtext = "You completed the game!";
}
if (((_root.megakaryotecount == 0) & (_root.microbecount == 0)) & (_root.pellets <= 2)) {
_root.gotoAndStop("end");
_root.endtext = "You died!";
}
if ((Key.isDown(71) & Key.isDown(69)) & Key.isDown(77)) {
_root.pellets++;
}
}
}
Instance of Symbol 70 MovieClip "box" in Frame 4
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 76 MovieClip "player" in Frame 4
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.box._y < _y) {
xdistance = _root.box._x - _x;
ydistance = (400 - _root.box._y) - (400 - _y);
rads = Math.atan(xdistance / ydistance);
degs = rads * 57.2957795130823;
_root.degs = degs;
_rotation = degs;
} else if (_root.box._y > _y) {
xdistance = _x - _root.box._x;
ydistance = (400 - _y) - (400 - _root.box._y);
rads = Math.atan(xdistance / ydistance);
degs = (rads * 57.2957795130823) + 180;
_root.degs = degs;
_rotation = degs;
}
xtarget = _root.box._x;
ytarget = _root.box._y;
if (_x < xtarget) {
xdist = xtarget - _x;
_x = (_x + (xdist * (0.03 + _root.speed)));
} else if (_x > xtarget) {
xdist = xtarget - _x;
_x = (_x + (xdist * (0.03 + _root.speed)));
}
if (_y < ytarget) {
ydist = (400 - ytarget) - (400 - _y);
_y = (_y - (ydist * (0.03 + _root.speed)));
} else if (_y > ytarget) {
ydist = (400 - ytarget) - (400 - _y);
_y = (_y - (ydist * (0.03 + _root.speed)));
}
}
}
Instance of Symbol 59 MovieClip in Frame 4
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
_root.megakaryote3 = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
produce++;
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 150) & (_root.megakaryote3 == true)) {
_xscale = (_xscale + 1);
_yscale = (_yscale + 1);
}
if (_root.megakaryote3 == false) {
_x = 999999;
_y = 999999;
produce = -500;
_visible = false;
}
if ((_root.megakaryote3 == true) & (_visible == false)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_visible = true;
_xscale = 1;
_yscale = 1;
}
if (produce >= 110) {
i = random(9999);
_root.holder.pellet.duplicateMovieClip("pellet" + i, i + 100);
_root.pinitx = _x;
_root.pinity = _y;
produce = -random(100);
}
if (this.hitTest(_root.holder.phagocyte1)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte2)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte3)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte4)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte5)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte6)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte7)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte8)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte9)) {
_root.diesound.play();
_root.megakaryote3 = false;
_root.megakaryotecount--;
}
}
}
Instance of Symbol 83 MovieClip in Frame 4
onClipEvent (load) {
_visible = false;
_root.pause = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(80) & (_root.pause == false)) {
_root.pause = true;
_visible = true;
gotoAndPlay (1);
}
}
onClipEvent (mouseDown) {
_root.pause = false;
_visible = false;
gotoAndPlay (1);
}
Instance of Symbol 59 MovieClip in Frame 4
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
_root.megakaryote2 = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
produce++;
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 150) & (_root.megakaryote2 == true)) {
_xscale = (_xscale + 1);
_yscale = (_yscale + 1);
}
if (_root.megakaryote2 == false) {
_x = 999999;
_y = 999999;
produce = -500;
_visible = false;
}
if ((_root.megakaryote2 == true) & (_visible == false)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_visible = true;
_xscale = 1;
_yscale = 1;
}
if (produce >= 110) {
i = random(9999);
_root.holder.pellet.duplicateMovieClip("pellet" + i, i + 100);
_root.pinitx = _x;
_root.pinity = _y;
produce = -random(100);
}
if (this.hitTest(_root.holder.phagocyte1)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte2)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte3)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte4)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte5)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte6)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte7)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte8)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte9)) {
_root.diesound.play();
_root.megakaryote2 = false;
_root.megakaryotecount--;
}
}
}
Instance of Symbol 59 MovieClip in Frame 4
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
_root.megakaryote1 = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
produce++;
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 150) & (_root.megakaryote1 == true)) {
_xscale = (_xscale + 1);
_yscale = (_yscale + 1);
}
if (_root.megakaryote1 == false) {
_x = 999999;
_y = 999999;
produce = -500;
_visible = false;
}
if ((_root.megakaryote1 == true) & (_visible == false)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_visible = true;
_xscale = 1;
_yscale = 1;
}
if (produce >= 110) {
i = random(9999);
_root.holder.pellet.duplicateMovieClip("pellet" + i, i + 100);
_root.pinitx = _x;
_root.pinity = _y;
produce = -random(100);
}
if (this.hitTest(_root.holder.phagocyte1)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte2)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte3)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte4)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte5)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte6)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte7)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte8)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
if (this.hitTest(_root.holder.phagocyte9)) {
_root.diesound.play();
_root.megakaryote1 = false;
_root.megakaryotecount--;
}
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha-1);
}
if (this.hitTest(_root.player) & (_alpha < 100)) {
_alpha = (_alpha + 4);
}
}
Instance of Symbol 100 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.time < 1400) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 105 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.time < 2500) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 108 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.time < 4000) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 114 MovieClip in Frame 4
onClipEvent (enterFrame) {
if ((_root.time < 6000) | (_root.megakaryotecount == 3)) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 118 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.time < 15000) {
_visible = false;
} else {
_visible = true;
}
}
Frame 5
stop();
if (_root.score > 10000) {
_root.rating = "Super Virus";
} else if (_root.score > 9000) {
_root.rating = "HIV";
} else if (_root.score > 7500) {
_root.rating = "Avian Flu";
} else if (_root.score > 5000) {
_root.rating = "Ebola";
} else if (_root.score > 4000) {
_root.rating = "Rabies";
} else if (_root.score > 2500) {
_root.rating = "Chickenpox";
} else if (_root.score > 1500) {
_root.rating = "Herpes";
} else if (_root.score > 1000) {
_root.rating = "Common Cold";
} else {
_root.rating = "The Sniffles";
}
Symbol 7 MovieClip Frame 31
gotoAndPlay (1);
Symbol 22 Button
on (press) {
getURL ("http://www.flashgem.com", "_blank");
}
Symbol 29 Button
on (release) {
play();
}
Symbol 30 Button
on (release) {
getURL ("http://www.flashgem.com/random.php", _blank);
}
Symbol 32 Button
on (rollOver) {
play();
}
on (release) {
getURL ("mailto:asvegren@gmail.com?subject=Please send me Viral Vendetta so I can host it.&body=I will write my website address here!");
}
Symbol 39 Button
on (release) {
getURL ("mailto:asvegren@gmail.com?subject=Please send me Viral Vendetta so I can host it.&body=I will write my website address here!");
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 19
stop();
Symbol 50 MovieClip Frame 1
gotoAndPlay (2);
Symbol 50 MovieClip Frame 132
_root.play();
Symbol 58 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 58 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + ((random(10) / 10) - 0.5));
}
Symbol 67 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 59 MovieClip "microbe" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
_root.microbecount++;
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 1;
_yscale = 1;
produce = -200;
_root.pinitx = -100;
_root.pinity = -100;
i = _root.i;
if (_root.startdupe == false) {
_root.holder.microbe.duplicateMovieClip("microbe" + i, i + 100);
_root.holder.microbe._y = 99999999 /* 0x5F5E0FF */;
_root.holder.microbe._x = 99999999 /* 0x5F5E0FF */;
_root.holder.microbe._visible = false;
_root.holder.microbe.produce = -999999999;
_root.startdupe = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
produce++;
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if (_xscale < 100) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
if (produce >= 500) {
if (this._name != "microbe") {
i = random(9999);
_root.holder.pellet.duplicateMovieClip("pellet" + i, i + 100);
_root.pinitx = _x;
_root.pinity = _y;
produce = produce - (random(300) + 200);
}
}
if (this.hitTest(_root.holder.phagocyte1)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte2)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte3)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte4)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte5)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte6)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte7)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte8)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
if (this.hitTest(_root.holder.phagocyte9)) {
_root.diesound.play();
if (this._name != "microbe") {
this.swapDepths(999999);
_root.microbecount--;
this.removeMovieClip(this);
}
}
}
}
Instance of Symbol 61 MovieClip "pellet" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
_x = _root.pinitx;
_y = _root.pinity;
_xscale = 1;
_yscale = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_xscale < 100) {
_xscale = (_xscale+1);
_yscale = (_yscale+1);
}
if (this.hitTest(_root.player)) {
_root.pellets++;
_root.pelletno++;
_root.ticksound.play();
this.removeMovieClip(this);
}
}
}
Instance of Symbol 68 MovieClip "phagocyte1" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -1000;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
death++;
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death == 0) & (_root.level >= 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -400;
_xscale = 2;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte2" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 2) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte3" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 3) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte4" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 4) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte5" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 5) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte6" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 6) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte7" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 7) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte8" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 8) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Instance of Symbol 68 MovieClip "phagocyte9" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(100) / 100) - 0.5;
yspeed = (random(100) / 100) - 0.5;
rightx = 520;
leftx = 120;
topy = 40;
bottomy = 440;
death = -400;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_yscale = _xscale;
if (_root.level >= 9) {
death++;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = xspeed + ((random(100) / 1000) - 0.05);
yspeed = yspeed + ((random(100) / 1000) - 0.05);
if (xspeed > 0.5) {
xspeed = 0.5;
} else if (xspeed < -0.5) {
xspeed = -0.5;
}
if (yspeed > 0.5) {
yspeed = 0.5;
} else if (yspeed < -0.5) {
yspeed = -0.5;
}
if (_x > rightx) {
_x = rightx;
xspeed = xspeed - 0.05;
} else if (_x < leftx) {
_x = leftx;
xspeed = xspeed + 0.05;
}
if (_y > bottomy) {
_y = bottomy;
yspeed = yspeed - 0.05;
} else if (_y < topy) {
_y = topy;
yspeed = yspeed + 0.05;
}
if ((_xscale < 100) & (death > 0)) {
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
}
if (this.hitTest(_root.player)) {
_xscale = (_xscale - (4 + _root.macrophage));
_yscale = (_yscale - (4 + _root.macrophage));
}
if (death < 0) {
_x = 9999;
_y = 9999;
}
if ((death >= 0) & (_xscale == 1)) {
_x = (random(rightx - leftx) + leftx);
_y = (random(bottomy - topy) + topy);
_xscale = 2;
_yscale = 2;
}
if (_xscale < 0) {
death = -300 + random(200);
_xscale = 1;
_yscale = 1;
_root.splatsound.play();
}
if (_root.immunitycount >= 0) {
death = -500 - random(1000);
_xscale = 2;
}
}
}
Symbol 76 MovieClip Frame 19
gotoAndPlay (1);
Symbol 86 Button
on (release) {
getURL ("http://www.flashgem.com", _blank);
}
Symbol 96 Button
on (release) {
if ((_root.pellets >= 3) & (_root.microbecount <= 25)) {
_root.pellets = _root.pellets - 3;
_root.i++;
i = _root.i;
_root.holder.microbe.duplicateMovieClip("microbe" + i, i + 100);
_root.createsound.play();
} else {
_root.errorsound.play();
}
}
Symbol 102 Button
on (release) {
if (_root.pellets >= 2) {
_root.pellets = _root.pellets - 2;
_root.speed = _root.speed + 0.002;
_root.createsound.play();
} else {
_root.errorsound.play();
}
}
Symbol 106 Button
on (release) {
if (_root.pellets >= 3) {
_root.pellets = _root.pellets - 3;
_root.macrophage = _root.macrophage + 0.1;
_root.createsound.play();
} else {
_root.errorsound.play();
}
}
Symbol 111 Button
on (release) {
if ((_root.pellets >= 10) & (_root.megakaryote1 == false)) {
_root.pellets = _root.pellets - 10;
_root.megakaryote1 = true;
_root.megakaryotecount++;
_root.createsound.play();
} else if ((_root.pellets >= 10) & (_root.megakaryote2 == false)) {
_root.pellets = _root.pellets - 10;
_root.megakaryote2 = true;
_root.megakaryotecount++;
_root.createsound.play();
} else if ((_root.pellets >= 10) & (_root.megakaryote3 == false)) {
_root.pellets = _root.pellets - 10;
_root.megakaryote3 = true;
_root.megakaryotecount++;
_root.createsound.play();
} else {
_root.errorsound.play();
}
}
Symbol 115 Button
on (release) {
if (_root.pellets >= 50) {
_root.pellets = _root.pellets - 50;
_root.immunitycount = 2;
_root.createsound.play();
} else {
_root.errorsound.play();
}
}
Symbol 124 MovieClip Frame 2
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 26
stop();
Symbol 157 MovieClip Frame 1
if (_root.rating == "The Sniffles") {
stop();
}
Symbol 157 MovieClip Frame 10
if (_root.rating == "Common Cold") {
stop();
}
Symbol 157 MovieClip Frame 19
if (_root.rating == "Herpes") {
stop();
}
Symbol 157 MovieClip Frame 28
if (_root.rating == "Chickenpox") {
stop();
}
Symbol 157 MovieClip Frame 37
if (_root.rating == "Rabies") {
stop();
}
Symbol 157 MovieClip Frame 46
if (_root.rating == "Ebola") {
stop();
}
Symbol 157 MovieClip Frame 56
if (_root.rating == "Avian Flu") {
stop();
}
Symbol 157 MovieClip Frame 65
if (_root.rating == "HIV") {
stop();
}
Symbol 157 MovieClip Frame 77
if (_root.rating == "Super Virus") {
stop();
}
Symbol 160 Button
on (release) {
gotoAndStop (1);
}
Symbol 163 Button
on (release) {
getURL ("http://www.flashgem.com/player.php?v=753", _blank);
}