Frame 1
function CN_Game_Object() {
this.timedScreenArray = new Array();
this.depth_i = 0;
this.offScreenOffset = 700;
this.curScreen = null;
}
function CN_Timer(screen, parent, endTime) {
this.screen = screen;
this.mc = screen.mc.timer;
this.parent = parent;
this.mc.caller = this;
this.endTime = endTime * 1000;
this.active = false;
}
CN_Game_Object.prototype.Continue = function () {
if (this.curScreen != null) {
this.RemoveScreen(this.curScreen);
}
if (this.timedScreenArray.length == 0) {
gotoAndStop (7);
} else {
this.curScreen = this.timedScreenArray.shift();
this.ShowScreen(this.curScreen);
gotoAndStop (6);
}
};
CN_Game_Object.prototype.ExternalGraphicsAreLoaded = function () {
var allLoaded = true;
var i = 0;
while (i < this.timedScreenArray.length) {
if (!this.timedScreenArray[i].isLoaded) {
allLoaded = false;
break;
}
i++;
}
return(allLoaded);
};
CN_Game_Object.prototype.GetExternalParameters = function () {
if (_root.sw1 != null) {
this.timedScreenArray[0] = new Object();
this.timedScreenArray[0].path = _root.sw1;
this.timedScreenArray[0].duration = _root.sw2;
this.timedScreenArray[0].link = _root.sw4;
}
if (_root.sw5 == 1) {
var array_i = this.timedScreenArray.length;
this.timedScreenArray[array_i] = new Object();
if (_root.sw5 != 1) {
this.timedScreenArray[array_i].path = _root.sw5;
} else {
this.timedScreenArray[array_i].path = "orbitPowered/orbitPowered.swf";
}
if (_root.sw6 != null) {
this.timedScreenArray[array_i].duration = _root.sw6;
} else {
this.timedScreenArray[array_i].duration = "3";
}
if (_root.sw7 != null) {
this.timedScreenArray[array_i].link = _root.sw7;
} else {
this.timedScreenArray[array_i].link = null;
}
}
var array_i = this.timedScreenArray.length;
var next_i = 8;
while (_root["sw" + next_i] != null) {
this.timedScreenArray[array_i] = new Object();
this.timedScreenArray[array_i].path = _root["sw" + next_i];
if (_root.sw6 != null) {
this.timedScreenArray[array_i].duration = _root["sw" + (++next_i)];
} else {
this.timedScreenArray[array_i].duration = "5";
}
if (_root.sw7 != null) {
this.timedScreenArray[array_i].link = _root["sw" + (++next_i)];
} else {
this.timedScreenArray[array_i].link = null;
}
array_i++;
next_i++;
}
};
CN_Game_Object.prototype.LaunchOrbitPopup = function () {
if (_root.sw5 == 1) {
getURL ("javascript:popupOrbitCode( )");
}
};
CN_Game_Object.prototype.LoadExternalGraphic = function (screen, depth) {
_root.attachMovie("externalFileHolder", "holder" + depth, depth);
screen.mc = _root["holder" + depth];
screen.mc.caller = screen;
screen.mc.slot.loadMovie(screen.path);
};
CN_Game_Object.prototype.MainMovieIsLoaded = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
return(true);
}
return(false);
};
CN_Game_Object.prototype.PreloadExternalGraphics = function () {
var i = 0;
while (i < this.timedScreenArray.length) {
this.LoadExternalGraphic(this.timedScreenArray[i], i + 1);
this.timedScreenArray[i].mc._x = this.offScreenOffset;
i++;
}
};
CN_Game_Object.prototype.RemoveScreen = function (screen) {
screen.mc.slot.unloadMovie();
screen.mc.removeMovieClip();
delete screen;
};
CN_Game_Object.prototype.ShowScreen = function (screen) {
screen.mc._x = 0;
screen.mc._y = 0;
screen.timer = new CN_Timer(screen, this, screen.duration);
screen.timer.Start();
};
CN_Game_Object.prototype.toString = function () {
return("CN_Game_Object");
};
CN_Timer.prototype.Start = function () {
this.active = true;
this.startTime = getTimer();
};
CN_Timer.prototype.Tick = function () {
if ((getTimer() - this.startTime) >= this.endTime) {
_root.EndTimerAdapter(this.parent);
this.active = false;
}
};
CN_Timer.prototype.toString = function () {
return("CN_Timer");
};
EndTimerAdapter = function (parent) {
parent.Continue();
};
myGameObject = new CN_Game_Object();
Frame 2
play();
Frame 3
if (myGameObject.MainMovieIsLoaded()) {
myGameObject.GetExternalParameters();
myGameObject.PreloadExternalGraphics();
play();
} else {
prevFrame();
}
Frame 4
play();
Frame 5
if (myGameObject.ExternalGraphicsAreLoaded()) {
_root.myGameObject.Continue();
} else {
prevFrame();
}
Frame 7
stop();
Frame 8
stop();
Frame 9
level = 1;
mid = 216;
hide = 0;
reloadtime = 15;
energy1 = 100;
energy2 = 100;
Set("/:playerhit", 20);
Set("/:foehit", 20);
up = -100;
down = -40;
sides = 25;
midy = 150;
Set("/:canhide", 1);
shiftdelay = 7;
jspeed = 7;
foe = "j";
jbercaknext = 1;
j1bercak = 20;
j2bercak = 20;
j3bercak = 20;
j4bercak = 20;
j5bercak = 20;
jattack = 40;
jrandom = 50;
Set("/:attack", 0);
Set("/:canshot", 1);
_x = 0;
stop();
Frame 10
_x = 0;
stop();
Frame 14
_x = 0;
stop();
Frame 22
level = 2;
mid = 216;
hide = 0;
reloadtime = 15;
energy1 = 100;
energy2 = 100;
Set("/:playerhit", 20);
Set("/:foehit", 20);
midy = 150;
Set("/:canhide", 1);
shiftdelay = 7;
attackrandom = 60;
totalfoe = 3;
foe = "e";
e1speed = 6;
e2speed = 7;
e3speed = 8;
e1x = 30;
e1up = 100;
e1down = -40;
e2x = 20;
e2up = 80;
e2down = -30;
e3x = 20;
e3up = 60;
e3down = -20;
e1random = 40;
e2random = 40;
e3random = 40;
e1attack = 0;
e2attack = 0;
e3attack = 0;
e1bercaknext = 1;
e11bercak = 20;
e12bercak = 20;
e13bercak = 20;
e14bercak = 20;
e15bercak = 20;
e2bercaknext = 1;
e21bercak = 20;
e22bercak = 20;
e23bercak = 20;
e24bercak = 20;
e25bercak = 20;
e3bercaknext = 1;
e31bercak = 20;
e32bercak = 20;
e33bercak = 20;
e34bercak = 20;
e35bercak = 20;
Set("/:attack", 0);
Set("/:canshot", 1);
_x = 0;
stop();
Frame 23
_x = 0;
stop();
Frame 27
_x = 0;
stop();
Frame 32
level = 3;
mid = 216;
flymid = 150;
hide = 0;
reloadtime = 15;
energy1 = 100;
energy2 = 100;
Set("/:playerhit", 20);
Set("/:foehit", 20);
midy = 150;
Set("/:canhide", 1);
shiftdelay = 7;
totalfoe = 3;
foe = "e";
e1speed = 2;
e2speed = 2;
e3speed = 2;
e1x = 20;
e1up = 50;
e1down = -10;
e2x = 20;
e2up = 50;
e2down = -10;
e3x = 20;
e3up = 50;
e3down = -10;
attackrandom = 65;
e1random = 25;
e2random = 25;
e3random = 25;
e1attack = 0;
e2attack = 0;
e3attack = 0;
e1bercaknext = 1;
e11bercak = 20;
e12bercak = 20;
e13bercak = 20;
e14bercak = 20;
e15bercak = 20;
e2bercaknext = 1;
e21bercak = 20;
e22bercak = 20;
e23bercak = 20;
e24bercak = 20;
e25bercak = 20;
e3bercaknext = 1;
e31bercak = 20;
e32bercak = 20;
e33bercak = 20;
e34bercak = 20;
e35bercak = 20;
Set("/:attack", 0);
Set("/:canshot", 1);
_x = 0;
stop();
Frame 33
_x = 0;
stop();
Frame 37
_x = 0;
stop();
Frame 42
level = 4;
mid = 216;
hide = 0;
reloadtime = 15;
energy1 = 100;
energy2 = 100;
Set("/:playerhit", 20);
Set("/:foehit", 20);
up = -100;
down = -40;
sides = 25;
midy = 150;
Set("/:canhide", 1);
shiftdelay = 7;
sbercaknext = 1;
s1bercak = 20;
s2bercak = 20;
s3bercak = 20;
s4bercak = 20;
s5bercak = 20;
sattack = 40;
sspeed = 7;
foe = "s";
srandom = 10;
Set("/:attack", 0);
Set("/:canshot", 1);
_x = 0;
stop();
Frame 43
_x = 0;
stop();
Frame 47
_x = 0;
myGameObject.LaunchOrbitPopup();
stop();
Symbol 3 MovieClip [externalFileHolder] Frame 1
stop();
Instance of Symbol 1 MovieClip "slot" in Symbol 3 MovieClip [externalFileHolder] Frame 1
onClipEvent (data) {
_parent.caller.isLoaded = true;
}
onClipEvent (mouseUp) {
if ((_parent.caller.link != null) && (this.hitTest(_xmouse, _ymouse, false))) {
getURL (_parent.caller.link, "_blank");
}
}
Instance of Symbol 2 MovieClip "timer" in Symbol 3 MovieClip [externalFileHolder] Frame 1
onClipEvent (enterFrame) {
if (caller.active) {
caller.Tick();
}
}
Symbol 45 MovieClip Frame 1
gotoAndStop(1 + Number(random(_totalframes)));
Symbol 51 Button
on (release) {
gotoAndStop (8);
}
Symbol 55 MovieClip Frame 11
stop();
Symbol 63 Button
on (release) {
gotoAndPlay (9);
}
Symbol 69 MovieClip Frame 16
stop();
Symbol 73 MovieClip Frame 1
gotoAndStop(1 + Number(random(_totalframes)));
Symbol 75 MovieClip Frame 16
stop();
Symbol 79 MovieClip Frame 16
stop();
Symbol 83 MovieClip Frame 16
stop();
Symbol 89 MovieClip Frame 1
if (getProperty("../", _name) eq "fly") {
stop();
}
Symbol 89 MovieClip Frame 16
stop();
Symbol 95 MovieClip Frame 1
if (getProperty("../", _name) eq "fly") {
stop();
}
Symbol 95 MovieClip Frame 15
stop();
Symbol 101 MovieClip Frame 1
if (getProperty("../", _name) eq "fly") {
stop();
}
Symbol 101 MovieClip Frame 15
stop();
Symbol 105 MovieClip Frame 1
if (getProperty("../", _name) eq "fly") {
stop();
}
Symbol 105 MovieClip Frame 15
stop();
Symbol 107 MovieClip Frame 1
if (getProperty("../", _name) eq "fly") {
stop();
}
Symbol 107 MovieClip Frame 15
stop();
Symbol 108 MovieClip Frame 1
if (_name eq "fly") {
Set("/:type", 1 + Number(random(_totalframes)));
gotoAndStop(/:type);
} else {
gotoAndStop(/:type);
}
Symbol 109 MovieClip Frame 1
if (_name eq "f") {
gotoAndPlay (2);
} else {
_x = -1000;
stop();
}
Symbol 109 MovieClip Frame 2
if (Number(/:type) == 9) {
tellTarget ("/sbuk") {
gotoAndPlay (2);
};
} else {
tellTarget ("/ssplat") {
gotoAndPlay (2);
};
}
Symbol 109 MovieClip Frame 17
if (_name eq "f") {
stop();
} else {
gotoAndPlay (1);
}
Symbol 121 MovieClip Frame 1
gotoAndStop(eval (("/:" add _name) add "bercak"));
Symbol 125 MovieClip Frame 13
Set("../../:stop", 0);
gotoAndPlay (1);
Symbol 129 MovieClip Frame 15
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 129 MovieClip Frame 24
Set("../../:stop", 0);
Set("/:attack", 0);
tellTarget ("../../") {
gotoAndPlay (1);
};
stop();
Symbol 134 MovieClip Frame 8
Set("../../:stop", 0);
stop();
Symbol 137 MovieClip Frame 1
tellTarget ("f") {
gotoAndPlay (2);
};
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 137 MovieClip Frame 8
Set("../../:stop", 0);
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
a = eval (("/:" add _name) add "attack") + random(eval (("/:" add _name) add "attack"));
run = 1;
stop = 0;
Symbol 139 MovieClip Frame 2
run = 1;
if (Number(_x) < Number(/:mid)) {
hadap = 1;
nx = 300 + Number(random(100));
s = eval (("/:" add _name) add "speed");
d = int((nx - _x) / s);
} else {
hadap = 2;
nx = 30 + Number(random(100));
s = -eval (("/:" add _name) add "speed");
d = int((nx - _x) / s);
}
Symbol 139 MovieClip Frame 3
if (Number(stop) != 1) {
tellTarget (_name) {
gotoAndStop(../:hadap);
};
_x = (Number(_x) + Number(s));
d = d - 1;
a = a - 1;
if (0 >= Number(a)) {
Set("/:attack", 1);
run = 0;
stop = 1;
tellTarget (_name) {
gotoAndStop (3);
};
}
}
Symbol 139 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (2);
}
Symbol 140 MovieClip Frame 1
_x = -1000;
stop();
Symbol 140 MovieClip Frame 7
if (Number(/:attack) != 1) {
kena = 0;
atas = getProperty("/" add /:foe, _y) + /:up;
bawah = getProperty("/" add /:foe, _y) + /:down;
kiri = getProperty("/" add /:foe, _x) - /:sides;
kanan = getProperty("/" add /:foe, _x) + /:sides;
if ((((Number(kiri) < Number(_x)) and (Number(_x) < Number(kanan))) and (Number(atas) < Number(_y))) and (Number(_y) < Number(bawah))) {
if (random(100) < eval (("/:" add /:foe) add "random")) {
kena = 2;
} else {
kena = 1;
}
}
if (Number(kena) == 0) {
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
gotoAndStop (1);
} else if (Number(kena) == 2) {
Set(("/" add /:foe) add "/:stop", 1);
Set((("/:" add /:foe) add /:jbercaknext) add "bercak", /:type);
Set("/:jbercaknext", Number(/:jbercaknext) + 1);
tellTarget ((("/" add /:foe) add "/") add /:foe) {
gotoAndStop (5);
};
gotoAndStop (1);
} else if (Number(kena) == 1) {
Set(("/" add /:foe) add "/:stop", 1);
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
tellTarget ((("/" add /:foe) add "/") add /:foe) {
gotoAndStop (4);
};
gotoAndStop (1);
}
} else {
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
gotoAndStop (1);
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 4
stop();
Symbol 141 MovieClip Frame 7
gotoAndStop (1);
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 4
stop();
Symbol 142 MovieClip Frame 7
gotoAndStop (1);
Symbol 146 MovieClip Frame 21
stop();
Symbol 149 MovieClip Frame 21
stop();
Symbol 153 MovieClip Frame 21
stop();
Symbol 156 MovieClip Frame 21
stop();
Symbol 158 MovieClip Frame 21
stop();
Symbol 160 MovieClip Frame 21
stop();
Symbol 163 MovieClip Frame 21
stop();
Symbol 165 MovieClip Frame 21
stop();
Symbol 166 MovieClip Frame 21
stop();
Symbol 167 MovieClip Frame 1
ra = 1 + Number(random(_totalframes));
gotoAndStop(ra);
Set("/:passtype", ra);
Symbol 168 MovieClip Frame 1
gotoAndStop(/:passtype);
Symbol 169 MovieClip Frame 1
_x = -1000;
stop();
Symbol 169 MovieClip Frame 2
d = 1;
_alpha = 100;
_x = getProperty("/" add /:foe, _x);
_y = (getProperty("/" add /:foe, _y) - 100);
sx = (/:mid - _x) / 4;
sy = (/:midy - _y) / 4;
Symbol 169 MovieClip Frame 3
_x = (Number(_x) + Number(sx));
_y = (Number(_y) + Number(sy));
d = d - 1;
Symbol 169 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 169 MovieClip Frame 5
if (Number(/:hide) == 1) {
gotoAndPlay (19);
}
Symbol 169 MovieClip Frame 8
if (Number(getProperty("p", _currentframe)) == 9) {
tellTarget ("/sbuk2") {
gotoAndPlay (2);
};
} else {
tellTarget ("/ssplat2") {
gotoAndPlay (2);
};
}
Symbol 169 MovieClip Frame 9
Set("/:energy1", /:energy1 - /:playerhit);
tellTarget ("/y1") {
gotoAndPlay (1);
};
Symbol 169 MovieClip Frame 17
_alpha = (_alpha - 20);
Symbol 169 MovieClip Frame 18
if (0 >= Number(_alpha)) {
gotoAndStop (1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 169 MovieClip Frame 21
gotoAndPlay (1);
Symbol 171 MovieClip Frame 1
startDrag ("", true, 0, 0, 432, 200);
Symbol 171 MovieClip Frame 2
d = /:reloadtime;
Symbol 171 MovieClip Frame 3
d = d - 1;
Symbol 171 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
} else {
Set("/:canshot", 1);
stop();
}
Symbol 172 Button
on (keyPress "<Space>") {
if (Number(/:canhide) == 1) {
Set("/:canhide", 0);
Set("/:canshot", 0);
tellTarget ("shift") {
gotoAndPlay (2);
};
}
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
setProperty("/", _x , getProperty("/", _x) - 30);
Set("/:hide", 1);
tellTarget ("/set1") {
gotoAndPlay (2);
};
tellTarget ("/set2") {
gotoAndPlay (2);
};
d = /:shiftdelay;
Symbol 173 MovieClip Frame 3
d = d - 1;
if (Number(-150) < Number(getProperty("/", _x))) {
setProperty("/", _x , getProperty("/", _x) - 30);
}
Symbol 173 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
} else {
Set("/:hide", 0);
tellTarget ("/set1") {
gotoAndPlay(Number(_currentframe) + 1);
};
tellTarget ("/set2") {
gotoAndPlay(Number(_currentframe) + 1);
};
setProperty("/", _x , Number(getProperty("/", _x)) + 30);
}
Symbol 173 MovieClip Frame 5
setProperty("/", _x , Number(getProperty("/", _x)) + 30);
Symbol 173 MovieClip Frame 6
setProperty("/", _x , Number(getProperty("/", _x)) + 30);
Symbol 173 MovieClip Frame 7
setProperty("/", _x , Number(getProperty("/", _x)) + 30);
Symbol 173 MovieClip Frame 8
setProperty("/", _x , 0);
Symbol 173 MovieClip Frame 10
Set("/:canhide", 1);
Set("/:canshot", 1);
gotoAndStop (1);
Symbol 174 Button
on (press) {
if (Number(/:canshot) == 1) {
Set("/:canshot", 0);
setProperty("/foodfly", _x , getProperty("drag", _x));
setProperty("/foodfly", _y , getProperty("drag", _y));
tellTarget ("/foodfly") {
gotoAndPlay (2);
};
tellTarget ("/drag") {
gotoAndPlay (2);
};
tellTarget ("/hand1") {
gotoAndPlay (2);
};
}
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
n = int((eval ("/:energ" add _name) / 100) * 50);
tellTarget ("bar") {
gotoAndStop(1 + Number(../:n));
};
Symbol 183 MovieClip Frame 8
if ((0 >= Number(n)) and (_name eq "y1")) {
tellTarget ("/") {
gotoAndPlay("lose" add /:level);
};
} else if ((0 >= Number(n)) and (_name eq "y2")) {
tellTarget ("/") {
gotoAndPlay("win" add /:level);
};
} else {
stop();
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 4
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 4
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 4
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 4
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 4
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 4
stop();
Symbol 202 MovieClip Frame 1
gotoAndStop(/:level);
Symbol 207 Button
on (release) {
gotoAndStop (9);
}
Symbol 213 Button
on (release) {
gotoAndPlay (22);
}
Symbol 220 MovieClip Frame 1
if (_name eq "fly") {
Set("/:type", 1 + Number(random(_totalframes)));
gotoAndStop(/:type);
} else {
if (Number(/:type) == 9) {
tellTarget ("/sbuk") {
gotoAndPlay (2);
};
} else {
tellTarget ("/ssplat") {
gotoAndPlay (2);
};
}
gotoAndStop(/:type);
}
Symbol 221 MovieClip Frame 1
if (_name eq "f") {
gotoAndPlay (2);
} else {
_x = -1000;
stop();
}
Symbol 221 MovieClip Frame 2
if (Number(/:type) == 9) {
tellTarget ("/sbuk") {
gotoAndPlay (2);
};
} else {
tellTarget ("/ssplat") {
gotoAndPlay (2);
};
}
Symbol 221 MovieClip Frame 17
if (_name eq "f") {
stop();
} else {
gotoAndPlay (1);
}
Symbol 227 MovieClip Frame 1
gotoAndStop(eval (("/:" add _name) add "bercak"));
Symbol 232 MovieClip Frame 21
Set("../../../:stop", 0);
gotoAndPlay (1);
Symbol 243 MovieClip Frame 11
Set("../../../:stop", 0);
gotoAndPlay (1);
Symbol 263 MovieClip Frame 15
Set("../../../:stop", 0);
gotoAndPlay (1);
Symbol 264 MovieClip Frame 1
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
Symbol 271 MovieClip Frame 16
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 271 MovieClip Frame 24
Set("../../../:stop", 0);
stop();
Symbol 273 MovieClip Frame 15
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 273 MovieClip Frame 24
Set("../../../:stop", 0);
stop();
Symbol 281 MovieClip Frame 16
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 24
Set("../../../:stop", 0);
stop();
Symbol 282 MovieClip Frame 1
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
Symbol 283 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 288 MovieClip Frame 7
gotoAndPlay (1);
Symbol 289 MovieClip Frame 7
Set("../../../:stop", 0);
stop();
Symbol 293 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 294 MovieClip Frame 1
if (Number(../../:hadap) == 1) {
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
} else {
gotoAndStop(Number(substring(getProperty("../../", _name), 2, 1)) + 10);
}
Symbol 299 MovieClip Frame 1
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 299 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 303 MovieClip Frame 1
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 303 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 308 MovieClip Frame 1
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 308 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 309 MovieClip Frame 1
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
Symbol 310 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
run = 1;
stop = 0;
Symbol 311 MovieClip Frame 2
run = 1;
if (Number(_x) < Number(/:mid)) {
hadap = 1;
nx = 300 + Number(random(100));
s = eval (("/:" add _name) add "speed");
d = int((nx - _x) / s);
} else {
hadap = 2;
nx = 30 + Number(random(100));
s = -eval (("/:" add _name) add "speed");
d = int((nx - _x) / s);
}
Symbol 311 MovieClip Frame 3
if (Number(stop) != 1) {
tellTarget ("e") {
gotoAndStop(../:hadap);
};
_x = (Number(_x) + Number(s));
d = d - 1;
}
Symbol 311 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (2);
}
Symbol 312 MovieClip Frame 1
_x = -1000;
stop();
Symbol 312 MovieClip Frame 7
kena = 0;
i = /:totalfoe;
while (Number(i) >= 1) {
if (eval ((("/:" add /:foe) add i) add "attack") != 1) {
atas = getProperty(("/" add /:foe) add i, _y) - eval ((("/:" add /:foe) add i) add "up");
bawah = getProperty(("/" add /:foe) add i, _y) + eval ((("/:" add /:foe) add i) add "down");
kiri = getProperty(("/" add /:foe) add i, _x) - eval ((("/:" add /:foe) add i) add "x");
kanan = getProperty(("/" add /:foe) add i, _x) + eval ((("/:" add /:foe) add i) add "x");
if ((((Number(kiri) < Number(_x)) and (Number(_x) < Number(kanan))) and (Number(atas) < Number(_y))) and (Number(_y) < Number(bawah))) {
if (Number(kena) == 0) {
if (random(100) < eval ((("/:" add /:foe) add i) add "random")) {
kena = i;
} else {
Set((("/" add /:foe) add i) add "/:stop", 1);
tellTarget (((("/" add /:foe) add i) add "/") add /:foe) {
gotoAndStop (4);
};
}
} else {
Set((("/" add /:foe) add i) add "/:stop", 1);
tellTarget (((("/" add /:foe) add no) add "/") add /:foe) {
gotoAndStop (4);
};
}
}
}
i = i - 1;
}
if (Number(kena) == 0) {
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
} else {
Set((("/" add /:foe) add kena) add "/:stop", 1);
Set(((("/:" add /:foe) add kena) add eval ((("/:" add /:foe) add kena) add "bercaknext")) add "bercak", /:type);
Set((("/:" add /:foe) add kena) add "bercaknext", eval ((("/:" add /:foe) add kena) add "bercaknext") + 1);
tellTarget (((("/" add /:foe) add kena) add "/") add /:foe) {
gotoAndStop (5);
};
}
gotoAndStop (1);
Symbol 313 MovieClip Frame 1
_x = -1000;
stop();
Symbol 313 MovieClip Frame 2
d = 1;
_alpha = 100;
_x = /:x;
_y = /:y;
sx = (/:mid - _x) / 4;
sy = (/:midy - _y) / 4;
Symbol 313 MovieClip Frame 3
_x = (Number(_x) + Number(sx));
_y = (Number(_y) + Number(sy));
d = d - 1;
Symbol 313 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 313 MovieClip Frame 5
if (Number(/:hide) == 1) {
gotoAndPlay (19);
}
Symbol 313 MovieClip Frame 8
if (Number(getProperty("p", _currentframe)) == 9) {
tellTarget ("/sbuk2") {
gotoAndPlay (2);
};
} else {
tellTarget ("/ssplat2") {
gotoAndPlay (2);
};
}
Symbol 313 MovieClip Frame 9
Set("/:energy1", /:energy1 - /:playerhit);
tellTarget ("/y1") {
gotoAndPlay (1);
};
Symbol 313 MovieClip Frame 17
_alpha = (_alpha - 20);
Symbol 313 MovieClip Frame 18
if (0 >= Number(_alpha)) {
gotoAndStop (1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 313 MovieClip Frame 21
gotoAndPlay (1);
Symbol 314 MovieClip Frame 1
d = Number(/:attackrandom) + Number(random(/:attackrandom));
Symbol 314 MovieClip Frame 2
d = d - 1;
Symbol 314 MovieClip Frame 3
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 314 MovieClip Frame 4
a = 1 + Number(random(/:totalfoe));
if (eval ((("/:" add /:foe) add a) add "/:stop") == 1) {
a = Number(a) + 1;
if (Number(/:totalfoe) < Number(a)) {
a = 1;
}
}
Set("/:x", getProperty(("/" add /:foe) add a, _x));
Set("/:y", getProperty(("/" add /:foe) add a, _y) - 50);
Set((("/" add /:foe) add a) add "/:stop", 1);
tellTarget ((("/" add /:foe) add a) add "/e") {
gotoAndStop (3);
};
Set((("/:" add /:foe) add a) add "attack", 1);
Symbol 314 MovieClip Frame 25
Set((("/:" add /:foe) add a) add "attack", 0);
gotoAndPlay (1);
Symbol 316 MovieClip Frame 1
n = int((eval ("/:energ" add _name) / 100) * 50);
tellTarget ("bar") {
gotoAndStop(1 + Number(../:n));
};
Symbol 316 MovieClip Frame 8
if ((0 >= Number(n)) and (_name eq "y1")) {
tellTarget ("/") {
gotoAndPlay("lose" add /:level);
};
} else if ((0 >= Number(n)) and (_name eq "y2")) {
tellTarget ("/") {
gotoAndPlay("win" add /:level);
};
} else {
stop();
}
Symbol 319 Button
on (release) {
gotoAndStop (22);
}
Symbol 322 Button
on (release) {
gotoAndPlay (32);
}
Symbol 327 MovieClip Frame 1
gotoAndStop(eval (("/:" add _name) add "bercak"));
Symbol 330 MovieClip Frame 1
if (Number(a) != 1) {
a = 1;
gotoAndPlay(1 + Number(random(40)));
}
Symbol 332 MovieClip Frame 1
if (Number(a) != 1) {
a = 1;
gotoAndPlay(1 + Number(random(40)));
}
Symbol 332 MovieClip Frame 65
gotoAndPlay (1);
Symbol 334 MovieClip Frame 11
gotoAndPlay (1);
Symbol 338 MovieClip Frame 11
gotoAndPlay (1);
Symbol 342 MovieClip Frame 12
gotoAndPlay (1);
Symbol 343 MovieClip Frame 1
gotoAndStop(substring(getProperty("../", _name), 2, 1));
Symbol 344 MovieClip Frame 1
if (Number(a) != 1) {
a = 1;
gotoAndPlay(Number(_currentframe) + Number(random(40)));
}
Symbol 344 MovieClip Frame 80
Set("../../:stop", 0);
gotoAndPlay (1);
Symbol 345 MovieClip Frame 1
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
Symbol 351 MovieClip Frame 16
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 351 MovieClip Frame 24
Set("../../../:stop", 0);
stop();
Symbol 355 MovieClip Frame 16
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 355 MovieClip Frame 24
Set("../../../:stop", 0);
stop();
Symbol 360 MovieClip Frame 16
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 360 MovieClip Frame 24
Set("../../../:stop", 0);
stop();
Symbol 361 MovieClip Frame 1
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
Symbol 363 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 367 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 371 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 372 MovieClip Frame 1
if (Number(../../:hadap) == 1) {
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
} else {
gotoAndStop(Number(substring(getProperty("../../", _name), 2, 1)) + 10);
}
Symbol 375 MovieClip Frame 1
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 375 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 378 MovieClip Frame 1
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 378 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 381 MovieClip Frame 1
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 381 MovieClip Frame 8
Set("../../../:stop", 0);
stop();
Symbol 382 MovieClip Frame 1
gotoAndStop(substring(getProperty("../../", _name), 2, 1));
Symbol 383 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
run = 1;
stop = 0;
Symbol 384 MovieClip Frame 2
run = 1;
if (Number(_x) < Number(/:mid)) {
hadap = 1;
nx = 250 + Number(random(120));
s = eval (("/:" add _name) add "speed") + (random(20) / 10);
} else {
hadap = 2;
nx = 50 + Number(random(120));
s = (-eval (("/:" add _name) add "speed")) - (random(20) / 10);
}
d = int(((nx - _x) / s) * 0.6);
if (Number(random(100)) < 20) {
if (Number(_y) < Number(/:flymid)) {
ny = 165 + Number(random(50));
} else {
ny = 70 + Number(random(75));
}
sy = ((ny - _y) / d) * 1.9;
} else {
sy = 0;
}
f = 8;
Symbol 384 MovieClip Frame 3
if (Number(stop) != 1) {
tellTarget ("e") {
gotoAndStop(../:hadap);
};
d = d - 1;
f = f - 1;
if (0 < Number(f)) {
s = 1.22 * s;
} else if (Number(d) < 8) {
s = s - (0.082 * s);
}
_x = (Number(_x) + Number(s));
_y = (Number(_y) + Number(sy));
d = d - 1;
}
Symbol 384 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (2);
}
Symbol 385 MovieClip Frame 1
_x = -1000;
stop();
Symbol 385 MovieClip Frame 2
d = 1;
_alpha = 100;
_x = /:x;
_y = /:y;
sx = (/:mid - _x) / 4;
sy = (/:midy - _y) / 4;
Symbol 385 MovieClip Frame 3
_x = (Number(_x) + Number(sx));
_y = (Number(_y) + Number(sy));
d = d - 1;
Symbol 385 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 385 MovieClip Frame 5
if (Number(/:hide) == 1) {
gotoAndPlay (19);
}
Symbol 385 MovieClip Frame 8
if (Number(getProperty("p", _currentframe)) == 9) {
tellTarget ("/sbuk2") {
gotoAndPlay (2);
};
} else {
tellTarget ("/ssplat2") {
gotoAndPlay (2);
};
}
Symbol 385 MovieClip Frame 9
Set("/:energy1", /:energy1 - /:playerhit);
tellTarget ("/y1") {
gotoAndPlay (1);
};
Symbol 385 MovieClip Frame 17
_alpha = (_alpha - 20);
Symbol 385 MovieClip Frame 18
if (0 >= Number(_alpha)) {
gotoAndStop (1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 385 MovieClip Frame 21
gotoAndPlay (1);
Symbol 386 MovieClip Frame 1
d = Number(/:attackrandom) + Number(random(/:attackrandom));
Symbol 386 MovieClip Frame 2
d = d - 1;
Symbol 386 MovieClip Frame 3
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 386 MovieClip Frame 4
a = 1 + Number(random(/:totalfoe));
if (eval ((("/:" add /:foe) add a) add "/:stop") == 1) {
a = Number(a) + 1;
if (Number(/:totalfoe) < Number(a)) {
a = 1;
}
}
Set("/:x", getProperty(("/" add /:foe) add a, _x));
Set("/:y", getProperty(("/" add /:foe) add a, _y) - 50);
Set((("/" add /:foe) add a) add "/:stop", 1);
tellTarget ((("/" add /:foe) add a) add "/e") {
gotoAndStop (3);
};
Set((("/:" add /:foe) add a) add "attack", 1);
Symbol 386 MovieClip Frame 25
Set((("/:" add /:foe) add a) add "attack", 0);
gotoAndPlay (1);
Symbol 388 MovieClip Frame 1
n = int((eval ("/:energ" add _name) / 100) * 50);
tellTarget ("bar") {
gotoAndStop(1 + Number(../:n));
};
Symbol 388 MovieClip Frame 8
if ((0 >= Number(n)) and (_name eq "y1")) {
tellTarget ("/") {
gotoAndPlay("lose" add /:level);
};
} else if ((0 >= Number(n)) and (_name eq "y2")) {
tellTarget ("/") {
gotoAndPlay("win" add /:level);
};
} else {
stop();
}
Symbol 391 Button
on (release) {
gotoAndStop (32);
}
Symbol 395 Button
on (release) {
gotoAndPlay (42);
}
Symbol 406 MovieClip Frame 9
Set("../../:stop", 0);
gotoAndPlay (1);
Symbol 412 MovieClip Frame 10
stop();
Symbol 424 MovieClip Frame 15
tellTarget ("/splat") {
gotoAndPlay (2);
};
tellTarget ("/hand2") {
gotoAndPlay (2);
};
Symbol 424 MovieClip Frame 19
Set("../../:stop", 0);
Set("/:attack", 0);
tellTarget ("../../") {
gotoAndPlay (1);
};
stop();
Symbol 426 MovieClip Frame 10
stop();
Symbol 427 MovieClip Frame 1
Set("../../:stop", 1);
tellTarget ("f") {
gotoAndPlay (2);
};
Set("/:energy2", /:energy2 - /:foehit);
tellTarget ("/y2") {
gotoAndPlay (1);
};
Symbol 427 MovieClip Frame 8
Set("../../:stop", 0);
stop();
Symbol 434 MovieClip Frame 12
stop();
Symbol 440 MovieClip Frame 7
stop();
Symbol 441 MovieClip Frame 20
stop();
Symbol 442 MovieClip Frame 1
Set("../../:stop", 1);
Symbol 442 MovieClip Frame 21
Set("../../:stop", 0);
stop();
Symbol 451 MovieClip Frame 7
stop();
Symbol 452 MovieClip Frame 1
gotoAndStop(/:type);
Symbol 453 MovieClip Frame 7
stop();
Symbol 455 MovieClip Frame 2
tellTarget ("/ssplat") {
gotoAndPlay (2);
};
Symbol 455 MovieClip Frame 10
stop();
Symbol 456 MovieClip Frame 1
Set("../../:stop", 1);
Symbol 456 MovieClip Frame 8
Set("../../:stop", 0);
stop();
Symbol 468 MovieClip Frame 8
stop();
Symbol 469 MovieClip Frame 20
Set("../../:stop", 0);
Set("/:attack", 0);
Set("../../:b", 5000);
Set("../../:d", 10);
if (Number(getProperty("../../", _x)) < Number(/:mid)) {
setProperty("../../", _x , Number(getProperty("../../", _x)) + 200);
} else {
setProperty("../../", _x , getProperty("../../", _x) - 200);
}
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 1
a = eval (("/:" add _name) add "attack") + random(eval (("/:" add _name) add "attack"));
b = (a - 15) - random(15);
run = 1;
stop = 0;
Symbol 471 MovieClip Frame 2
run = 1;
if (Number(_x) < Number(/:mid)) {
hadap = 1;
nx = 300 + Number(random(100));
s = eval (("/:" add _name) add "speed");
d = int((nx - _x) / s);
} else {
hadap = 2;
nx = 30 + Number(random(100));
s = -eval (("/:" add _name) add "speed");
d = int((nx - _x) / s);
}
Symbol 471 MovieClip Frame 3
if (Number(stop) != 1) {
tellTarget (_name) {
gotoAndStop(../:hadap);
};
_x = (Number(_x) + Number(s));
d = d - 1;
a = a - 1;
b = b - 1;
if (0 >= Number(a)) {
Set("/:attack", 1);
run = 0;
stop = 1;
tellTarget (_name) {
gotoAndStop (3);
};
}
if (0 >= Number(b)) {
Set("/:attack", 1);
run = 0;
stop = 1;
if (Number(_x) < Number(/:mid)) {
tellTarget (_name) {
gotoAndStop (7);
};
} else {
tellTarget (_name) {
gotoAndStop (8);
};
}
}
}
Symbol 471 MovieClip Frame 4
if (0 < Number(d)) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (2);
}
Symbol 472 MovieClip Frame 1
_x = -1000;
stop();
Symbol 472 MovieClip Frame 7
if (Number(/:attack) != 1) {
kena = 0;
atas = getProperty("/" add /:foe, _y) + /:up;
bawah = getProperty("/" add /:foe, _y) + /:down;
kiri = getProperty("/" add /:foe, _x) - /:sides;
kanan = getProperty("/" add /:foe, _x) + /:sides;
if ((((Number(kiri) < Number(_x)) and (Number(_x) < Number(kanan))) and (Number(atas) < Number(_y))) and (Number(_y) < Number(bawah))) {
if (random(100) < eval (("/:" add /:foe) add "random")) {
kena = 2;
} else {
kena = 1;
}
}
if (Number(kena) == 0) {
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
gotoAndStop (1);
} else if (Number(kena) == 2) {
Set(("/" add /:foe) add "/:stop", 1);
Set((("/:" add /:foe) add /:sbercaknext) add "bercak", /:type);
Set("/:sbercaknext", Number(/:sbercaknext) + 1);
tellTarget ((("/" add /:foe) add "/") add /:foe) {
gotoAndStop (4);
};
gotoAndStop (1);
} else if (Number(kena) == 1) {
if (50 < Number(random(100))) {
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
tellTarget ((("/" add /:foe) add "/") add /:foe) {
gotoAndStop (5);
};
} else {
tellTarget ((("/" add /:foe) add "/") add /:foe) {
gotoAndStop (6);
};
}
gotoAndStop (1);
}
} else {
setProperty("/foodwall", _x , _x);
setProperty("/foodwall", _y , _y);
tellTarget ("/foodwall") {
gotoAndPlay (2);
};
gotoAndStop (1);
}
Symbol 474 MovieClip Frame 1
n = int((eval ("/:energ" add _name) / 100) * 50);
tellTarget ("bar") {
gotoAndStop(1 + Number(../:n));
};
Symbol 474 MovieClip Frame 8
if ((0 >= Number(n)) and (_name eq "y1")) {
tellTarget ("/") {
gotoAndPlay("lose" add /:level);
};
} else if ((0 >= Number(n)) and (_name eq "y2")) {
tellTarget ("/") {
gotoAndPlay("win" add /:level);
};
} else {
stop();
}
Symbol 476 Button
on (release) {
gotoAndStop (42);
}
Symbol 481 MovieClip Frame 1
gotoAndStop(1 + Number(random(_totalframes)));
Symbol 482 Button
on (release) {
gotoAndPlay (9);
}