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
beginner = "1";
nextFrame();
play();
Instance of Symbol 16 MovieClip in Frame 7
onClipEvent (load) {
this.holder.loadMovie((_root.trackerPath + "?id=") + new Date().valueOf());
}
Frame 11
stop();
Frame 12
Set("/:facenow", "1");
stop();
Frame 14
Set("/:starttime", int(getTimer() / 1000));
Set("/:apples", 0);
Set("/applebar/:apples", /:apples);
Set("/:timebonus", 0);
Set("/:runspeed", 4);
Set("/:firedelay", 4);
Set("/:delaycar", 200);
Set("/:bellumdelay", 17);
Set("/:rollingspeed", 4);
Set("/:appleminus", 3);
Set("/:applepoint", 10);
Set("/:energy", 3);
Set("/:jump", 0);
Set("/:run", "");
Set("/:min", 50);
Set("/:max", 380);
Set("/:facenow", 1);
Set("/:d", 1);
Set("/:b", 51);
Set("/:n", 190);
ao = 900;
tellTarget ("music") {
gotoAndPlay (2);
};
Frame 15
setProperty("applesout", _visible , "0");
setProperty("applesout", _x , "-1000");
stop();
Frame 16
Set("/:endtime", int(getTimer() / 1000));
Set("/:timebonus", int((/:endtime - /:starttime) / 2));
stopAllSounds();
i = "1";
while (30 >= Number(i)) {
removeMovieClip("b" add (i + 49));
removeMovieClip("roll" add i);
removeMovieClip("bon" add (189 + i));
i = Number(i) + 1;
}
Frame 63
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 36 MovieClip Frame 1
stop();
Symbol 40 Button
on (release) {
if (Number(beginner) == 1) {
gotoAndStop (12);
} else {
gotoAndPlay (14);
}
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 12
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 12
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 12
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 12
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 5
stop();
Symbol 59 MovieClip Frame 1
gotoAndStop(/:facenow);
Symbol 59 MovieClip Frame 3
stop();
Symbol 59 MovieClip Frame 4
tellTarget ("/") {
gotoAndPlay ("end");
};
Symbol 61 MovieClip Frame 1
gotoAndStop(/:facenow);
Symbol 61 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 1
gotoAndStop(/:facenow);
Symbol 67 MovieClip Frame 3
stop();
Symbol 70 Button
on (release) {
nextFrame();
}
Symbol 74 Button
on (release) {
nextFrame();
play();
}
Symbol 80 MovieClip Frame 17
gotoAndPlay (1);
Symbol 83 MovieClip Frame 17
gotoAndPlay (1);
Symbol 88 MovieClip Frame 1
gotoAndStop(/:facenow);
Symbol 88 MovieClip Frame 3
stop();
Symbol 89 MovieClip Frame 1
Set("/:jump", "0");
Set("/:kena", "0");
if (Number(/:hadap) == 2) {
gotoAndPlay (2);
} else {
tellTarget ("mayor") {
gotoAndStop (1);
};
stop();
}
Symbol 89 MovieClip Frame 2
tellTarget ("mayor") {
gotoAndStop (1);
};
stop();
Symbol 89 MovieClip Frame 7
tellTarget ("mayor") {
gotoAndStop (5);
};
Symbol 89 MovieClip Frame 20
tellTarget ("mayor") {
gotoAndPlay (5);
};
Symbol 89 MovieClip Frame 22
gotoAndPlay (1);
Symbol 89 MovieClip Frame 26
tellTarget ("mayor") {
gotoAndStop (5);
};
Symbol 89 MovieClip Frame 39
tellTarget ("mayor") {
gotoAndPlay (5);
};
Symbol 89 MovieClip Frame 41
gotoAndPlay (1);
Symbol 89 MovieClip Frame 57
if (0 >= Number(/:energy)) {
tellTarget ("/") {
gotoAndPlay ("end");
};
} else {
gotoAndPlay (1);
}
Symbol 89 MovieClip Frame 71
if (0 >= Number(/:energy)) {
tellTarget ("/") {
gotoAndPlay ("end");
};
} else {
gotoAndPlay (1);
}
Symbol 89 MovieClip Frame 87
if (0 >= Number(/:energy)) {
tellTarget ("/") {
gotoAndPlay ("end");
};
} else {
gotoAndPlay (1);
}
Symbol 89 MovieClip Frame 101
if (0 >= Number(/:energy)) {
tellTarget ("/") {
gotoAndPlay ("end");
};
} else {
gotoAndPlay (1);
}
Symbol 90 MovieClip Frame 2
_x = (Number(getProperty("../kid", _x)) + 5);
_y = (getProperty("../kid", _y) - 12);
tellTarget ("kid2") {
gotoAndStop(getProperty("../../kid", _currentframe));
};
if (4 >= Number(getProperty("../kid", _currentframe))) {
tellTarget ("kid2/mayor") {
gotoAndStop(getProperty("../../../kid/mayor", _currentframe));
};
}
Symbol 90 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 11
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 18
stop();
Symbol 100 MovieClip Frame 1
delay = Number(/:bellumdelay) + Number(random(3 * /:bellumdelay));
Symbol 100 MovieClip Frame 2
delay = delay - 1;
Symbol 100 MovieClip Frame 3
if (0 < Number(delay)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 100 MovieClip Frame 4
Set("/:bonusno", 1 + Number(random(2)));
if (Number(/:bonusno) == 1) {
tellTarget ("bellum1") {
gotoAndPlay (2);
};
tellTarget ("window1") {
gotoAndPlay (2);
};
} else {
tellTarget ("bellum2") {
gotoAndPlay (2);
};
tellTarget ("window2") {
gotoAndPlay (2);
};
}
Symbol 100 MovieClip Frame 13
duplicateMovieClip ("/bonusbonus", "bon" add /:n, /:n);
Set("/:n", Number(/:n) + 1);
if (200 < Number(/:n)) {
Set("/:n", "190");
}
Symbol 100 MovieClip Frame 20
gotoAndPlay (1);
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 4
stop();
Symbol 109 MovieClip Frame 1
starttime = int(getTimer() / 10);
Symbol 109 MovieClip Frame 2
time = int((getTimer() / 10) - starttime);
len = length(time);
if (Number(time) < 6000) {
second = substring(time, 1, len - 2);
if (Number(second) == 0) {
second = "00";
}
if (Number(length(second)) < 2) {
second = "0" add second;
}
time = "00:" add second;
} else {
minute = int(time / 6000);
if (Number(minute) == 0) {
minute = "00";
}
if (Number(length(minute)) < 2) {
minute = "0" add minute;
}
time2 = time - (minute * 6000);
len = length(time2);
second = substring(time2, len - 4, len - 2);
if (Number(second) == 0) {
second = "00";
}
if (Number(length(second)) < 2) {
second = "0" add second;
}
time = (minute add ":") add second;
}
Symbol 109 MovieClip Frame 10
gotoAndPlay (2);
Symbol 113 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
gotoAndStop(Number(_currentframe) + Number(random(_totalframes)));
Symbol 121 MovieClip Frame 30
gotoAndPlay (1);
Symbol 122 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
if (_name eq "rolling") {
gotoAndStop (5);
} else {
sudahkena = "0";
speed = /:rollingspeed;
Set("/:item", random(/:totalrolling));
tellTarget ("one") {
gotoAndStop(Number(_currentframe) + Number(/:item));
};
}
Symbol 124 MovieClip Frame 2
if (Number(_x) < 0) {
go = 460;
} else {
speed = -speed;
go = -30;
tellTarget ("one/one") {
gotoAndStop (2);
};
}
Symbol 124 MovieClip Frame 3
_x = (Number(_x) + Number(speed));
sudahkena = sudahkena - 1;
if ((((Number(getProperty("/kid", _x) - 20) < Number(_x)) and (Number(_x) < Number(Number(getProperty("/kid", _x)) + 20))) and (Number(/:jump) != 1)) and (0 >= Number(sudahkena))) {
tellTarget ("/ballhit") {
gotoAndPlay (2);
};
sudahkena = 30;
Set("/:kena", 1);
if (0 < Number(/:apples)) {
count = /:appleminus;
if (Number(/:apples) < Number(count)) {
count = /:apples;
}
Set("/:apples", /:apples - count);
Set("/applebar/:apples", /:apples);
while (0 < Number(count)) {
duplicateMovieClip ("/applesout", "ao" add /:ao, /:ao);
Set("/:ao", Number(/:ao) + 1);
if (950 < Number(/:ao)) {
Set("/:ao", 900);
}
count = count - 1;
}
}
if (Number(/:hadap) == 1) {
tellTarget ("/kid") {
gotoAndPlay ("hit1");
};
} else {
tellTarget ("/kid") {
gotoAndPlay ("hit2");
};
}
}
Symbol 124 MovieClip Frame 4
if (Number(go) == 460) {
if (Number(_x) >= Number(go)) {
removeMovieClip("");
stop();
} else {
gotoAndPlay(_currentframe - 1);
}
} else if (Number(go) >= Number(_x)) {
removeMovieClip("");
stop();
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 124 MovieClip Frame 5
stop();
Symbol 128 MovieClip Frame 2
setProperty("beam", _xscale , 70 + Number(random(70)));
setProperty("beam", _yscale , 70 + Number(random(70)));
setProperty("beam", _rotation , random(360));
Symbol 128 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 129 MovieClip Frame 61
stop();
Symbol 130 MovieClip Frame 61
stop();
Symbol 131 MovieClip Frame 61
stop();
Symbol 132 MovieClip Frame 61
stop();
Symbol 133 MovieClip Frame 61
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
if (_name eq "beam") {
stop();
}
Symbol 135 MovieClip Frame 2
if (Number(/:fhadap) == 1) {
oy = 38;
tellTarget ("allbeam") {
gotoAndStop(/:type);
};
if (Number(/:type) == 1) {
ox = -38;
} else if (Number(/:type) == 2) {
ox = -42;
} else if (Number(/:type) == 3) {
ox = -44;
} else if (Number(/:type) == 4) {
ox = -34;
} else {
ox = -33;
}
} else {
oy = 46;
tellTarget ("allbeam") {
gotoAndStop(Number(/:type) + 5);
};
if (Number(/:type) == 1) {
ox = 46;
} else if (Number(/:type) == 2) {
ox = 45;
} else if (Number(/:type) == 3) {
ox = 48;
} else if (Number(/:type) == 4) {
ox = 46;
} else {
ox = 43;
}
ox = Number(ox) + 2;
}
_x = (Number(/:gunx) + Number(ox));
_y = (Number(/:guny) + Number(oy));
Symbol 135 MovieClip Frame 3
y = Number(_y) + Number(getProperty("allbeam/beam/beam", _y));
if (225 < Number(y)) {
if (5 < Number(getProperty("allbeam", _currentframe))) {
x = _x - getProperty("allbeam/beam/beam", _x);
} else {
x = Number(_x) + Number(getProperty("allbeam/beam/beam", _x));
}
if ((((Number(/:kiri) < Number(x)) and (Number(x) < Number(/:kanan))) and (Number(/:atas) < Number(y))) and (Number(y) < Number(/:bawah))) {
Set("/:energy", /:energy - 1);
tellTarget ("/energybar") {
gotoAndPlay(Number(_currentframe) + 1);
};
Set("/:kena", 1);
if (Number(/:hadap) == 1) {
if (Number(/:jump) == 1) {
tellTarget ("/kid") {
gotoAndPlay ("hit3");
};
} else {
tellTarget ("/kid") {
gotoAndPlay ("hit1");
};
}
} else if (Number(/:jump) == 1) {
tellTarget ("/kid") {
gotoAndPlay ("hit4");
};
} else {
tellTarget ("/kid") {
gotoAndPlay ("hit2");
};
}
gotoAndPlay (5);
Set("/:facenow", Number(/:facenow) + 1);
}
}
Symbol 135 MovieClip Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 135 MovieClip Frame 5
tellTarget ("/beamhit") {
gotoAndPlay (2);
};
removeMovieClip("");
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 4
duplicateMovieClip ("/beam", "b" add /:b, /:b);
Set("/:gunx", getProperty("../", _x));
Set("/:guny", getProperty("../", _y));
Set("/:b", Number(/:b) + 1);
if (80 < Number(/:b)) {
Set("/:b", "51");
}
tellTarget ("/fuzzyfire") {
gotoAndPlay (2);
};
Symbol 136 MovieClip Frame 5
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
Set("/:type", 1 + Number(random(5)));
if (1 < Number(/:type)) {
gotoAndPlay("fire" add /:type);
}
Symbol 137 MovieClip Frame 10
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 137 MovieClip Frame 19
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 137 MovieClip Frame 28
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 137 MovieClip Frame 37
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 137 MovieClip Frame 46
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 142 MovieClip Frame 5
tellTarget ("../") {
gotoAndPlay (2);
};
delay = 60 + Number(random(120));
Symbol 142 MovieClip Frame 6
delay = delay - 1;
Symbol 142 MovieClip Frame 7
if (0 < Number(delay)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 142 MovieClip Frame 12
tellTarget ("../") {
gotoAndStop (1);
};
delay = 60 + Number(random(120));
Symbol 142 MovieClip Frame 13
delay = delay - 1;
Symbol 142 MovieClip Frame 14
if (0 < Number(delay)) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (1);
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 15
gotoAndPlay (1);
Symbol 147 MovieClip Frame 15
gotoAndPlay (1);
Symbol 148 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
Set("/:type", 1 + Number(random(5)));
if (1 < Number(/:type)) {
gotoAndPlay("fire" add type);
}
Symbol 149 MovieClip Frame 10
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 149 MovieClip Frame 19
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 149 MovieClip Frame 28
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 149 MovieClip Frame 37
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 149 MovieClip Frame 46
tellTarget ("gun") {
gotoAndPlay (2);
};
stop();
Symbol 150 MovieClip Frame 1
Set("/:fhadap", 1);
newx = 70 + Number(random(280));
Symbol 150 MovieClip Frame 2
if (Number(Number(getProperty("fuzzy", _x)) + 20) < Number(newx)) {
Set("/:fhadap", 2);
tellTarget ("fuzzy") {
gotoAndStop (4);
};
} else if (Number(newx) < Number(getProperty("fuzzy", _x) - 20)) {
Set("/:fhadap", 1);
tellTarget ("fuzzy") {
gotoAndStop (3);
};
} else {
if (Number(/:fhadap) == 1) {
tellTarget ("fuzzy") {
gotoAndStop (1);
};
} else {
tellTarget ("fuzzy") {
gotoAndStop (2);
};
}
delay = Number(/:firedelay) + Number(random(3 * /:firedelay));
ran = random(100);
if (Number(ran) < Number(/:multishot)) {
if (75 < Number(ran)) {
shot = 3;
} else {
shot = 2;
}
} else {
shot = 1;
}
gotoAndPlay (4);
}
Symbol 150 MovieClip Frame 3
if (Number(/:fhadap) == 1) {
speed = -/:fuzzyspeed;
} else {
speed = /:fuzzyspeed;
}
setProperty("fuzzy", _x , Number(getProperty("fuzzy", _x)) + Number(speed));
if ((197 < Number(getProperty("fuzzy", _x))) and (Number(getProperty("fuzzy", _x)) < 335)) {
setProperty("fuzzy", _y , 87);
} else {
setProperty("fuzzy", _y , 78);
}
gotoAndPlay(_currentframe - 1);
Symbol 150 MovieClip Frame 4
if (Number(getProperty("/kid", _x)) < Number(Number(_x) + Number(getProperty("fuzzy", _x)))) {
Set("/:fhadap", 1);
tellTarget ("fuzzy") {
gotoAndStop (1);
};
} else {
Set("/:fhadap", 2);
tellTarget ("fuzzy") {
gotoAndStop (2);
};
}
tellTarget ("fuzzy/fuzzy") {
gotoAndStop (2);
};
if (Number(/:fhadap) == 1) {
setProperty("gun1", _x , Number(getProperty("fuzzy", _x)) + 10);
setProperty("gun1", _y , getProperty("fuzzy", _y) - 10);
tellTarget ("gun1") {
gotoAndPlay (2);
};
} else {
setProperty("gun2", _x , getProperty("fuzzy", _x) - 19);
setProperty("gun2", _y , getProperty("fuzzy", _y) - 10);
tellTarget ("gun2") {
gotoAndPlay (2);
};
}
Symbol 150 MovieClip Frame 18
tellTarget ("fuzzy/fuzzy") {
gotoAndStop (1);
};
setProperty("gun1", _y , 1000);
setProperty("gun2", _y , 1000);
Symbol 150 MovieClip Frame 19
shot = shot - 1;
if (0 < Number(shot)) {
gotoAndPlay (4);
}
Symbol 150 MovieClip Frame 20
delay = delay - 1;
Symbol 150 MovieClip Frame 21
if (0 < Number(delay)) {
gotoAndPlay(_currentframe - 1);
} else {
newx = 70 + Number(random(280));
gotoAndPlay (2);
}
Symbol 151 MovieClip Frame 1
starttime = int(getTimer() / 1000);
Symbol 151 MovieClip Frame 2
delay = Number(/:balldelay) + Number(random(/:balldelay));
Symbol 151 MovieClip Frame 3
delay = delay - 1;
Symbol 151 MovieClip Frame 4
if (0 < Number(delay)) {
gotoAndPlay(_currentframe - 1);
}
Symbol 151 MovieClip Frame 5
duplicateMovieClip ("../rolling", "roll" add /:d, /:d);
if (4 < Number(random(10))) {
speed = /:ballspeed;
setProperty("../roll" add /:d, _x , -30);
} else {
speed = -/:ballspeed;
setProperty("../roll" add /:d, _x , 460);
}
Set("/:d", Number(/:d) + 1);
if (20 < Number(/:d)) {
Set("/:d", 1);
}
batas1 = 20;
batas2 = 40;
batas3 = 60;
batas4 = 90;
batas5 = 150;
batas6 = 300;
batas7 = 450;
timenow = int(getTimer() / 1000);
re = timenow - starttime;
if ((Number(batas1) < Number(re)) and (Number(batas2) >= Number(re))) {
Set("/:fuzzyspeed", 4);
Set("/:balldelay", 60);
Set("/:multishot", 15);
} else if ((Number(batas2) < Number(re)) and (Number(batas3) >= Number(re))) {
Set("/:fuzzyspeed", 5);
Set("/:balldelay", 50);
Set("/:multishot", 30);
} else if ((Number(batas3) < Number(re)) and (Number(batas4) >= Number(re))) {
Set("/:fuzzyspeed", 6);
Set("/:balldelay", 40);
Set("/:multishot", 45);
} else if ((Number(batas4) < Number(re)) and (Number(batas5) >= Number(re))) {
Set("/:fuzzyspeed", 7);
Set("/:balldelay", 30);
Set("/:multishot", 60);
} else if ((Number(batas5) < Number(re)) and (Number(batas6) >= Number(re))) {
Set("/:fuzzyspeed", 8);
Set("/:balldelay", 20);
Set("/:multishot", 75);
} else if ((Number(batas6) < Number(re)) and (Number(batas7) >= Number(re))) {
Set("/:fuzzyspeed", 9);
Set("/:balldelay", 19);
Set("/:multishot", 90);
} else if (Number(batas7) < Number(re)) {
Set("/:fuzzyspeed", 11);
Set("/:balldelay", 18);
Set("/:multishot", 99);
} else {
Set("/:fuzzyspeed", 3);
Set("/:balldelay", 80);
Set("/:multishot", 5);
}
gotoAndPlay (2);
Symbol 153 MovieClip Frame 1
gotoAndStop(../../../:type);
Symbol 153 MovieClip Frame 2
stop();
Symbol 154 MovieClip Frame 67
stop();
Symbol 155 MovieClip Frame 61
stop();
Symbol 156 MovieClip Frame 65
stop();
Symbol 157 MovieClip Frame 65
stop();
Symbol 158 MovieClip Frame 1
gotoAndStop(1 + Number(random(_totalframes)));
Symbol 158 MovieClip Frame 5
stop();
Symbol 159 MovieClip Frame 1
if (_name eq "bonusbonus") {
stop();
}
Symbol 159 MovieClip Frame 2
if (Number(/:bonusno) == 2) {
x = 153;
y = 165;
} else {
x = 110;
y = 165;
}
_x = x;
_y = y;
if (95 < Number(random(100))) {
type = 2;
} else {
type = 1;
}
Symbol 159 MovieClip Frame 3
y = Number(_y) + Number(getProperty("all/ani/item", _y));
if (225 < Number(y)) {
x = Number(_x) + Number(getProperty("all/ani/item", _x));
if ((((Number(/:kiri) < Number(x)) and (Number(x) < Number(/:kanan))) and (Number(/:atas) < Number(y))) and (Number(y) < Number(/:bawah))) {
Set("/:apples", Number(/:apples) + 1);
Set("/applebar/:apples", /:apples);
if (Number(type) == 2) {
Set("/:energy", Number(/:energy) + 1);
Set("/:facenow", /:facenow - 1);
if (3 < Number(/:energy)) {
Set("/:energy", 3);
Set("/:facenow", 1);
}
tellTarget ("/energybar") {
gotoAndStop(4 - /:energy);
};
}
tellTarget ("/soundbonus") {
gotoAndPlay (2);
};
gotoAndStop (1);
}
}
Symbol 159 MovieClip Frame 4
gotoAndPlay(_currentframe - 1);
Symbol 159 MovieClip Frame 5
removeMovieClip("");
stop();
Symbol 160 MovieClip Frame 1
gotoAndPlay("ani" add (random(3) + 1));
Symbol 160 MovieClip Frame 31
stop();
Symbol 160 MovieClip Frame 54
stop();
Symbol 160 MovieClip Frame 90
stop();
Symbol 161 MovieClip Frame 1
delay = 30;
_x = (Number(getProperty("/kid", _x) - random(10)) + Number(random(20)));
_y = (getProperty("/kid", _y) - random(20));
speed = (10 + Number(random(25))) / 10;
if (50 < Number(random(100))) {
speed = -speed;
}
Symbol 161 MovieClip Frame 2
gotoAndPlay(Number(_currentframe) + Number(random(6)));
Symbol 161 MovieClip Frame 9
_x = (Number(_x) + Number(speed));
delay = delay - 1;
Symbol 161 MovieClip Frame 10
if (Number(delay) < 0) {
removeMovieClip("");
stop();
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 163 Button
on (press) {
if (Number(/:kena) != 1) {
if (Number(/:jump) != 1) {
Set("/:jump", "1");
if (Number(/:hadap) == 1) {
tellTarget ("../kid") {
gotoAndPlay ("jump1");
};
} else {
tellTarget ("../kid") {
gotoAndPlay ("jump2");
};
}
}
}
}
on (keyPress "a") {
if (Number(_highquality) == 1) {
_highquality = "0";
} else {
_highquality = "1";
}
}
on (keyPress "A") {
if (Number(_highquality) == 1) {
_highquality = "0";
} else {
_highquality = "1";
}
}
Symbol 164 MovieClip Frame 1
startDrag ("", true);
Symbol 164 MovieClip Frame 2
Set("/:x", _x);
Set("/:kidx", getProperty("/kid", _x));
Set("/:kiri", getProperty("/kid", _x) - 12);
Set("/:kanan", Number(getProperty("/kid", _x)) + 12);
Set("/:atas", (Number(getProperty("/kid", _y)) + Number(getProperty("/kid/mayor", _y))) - 20);
Set("/:bawah", Number(Number(getProperty("/kid", _y)) + Number(getProperty("/kid/mayor", _y))) + 20);
if (Number(/:kena) != 1) {
if (Number(/:jump) == 1) {
if (Number(Number(Number(getProperty("/kid", _x)) + Number(/:runspeed)) + 1) < Number(_x)) {
speed = /:runspeed;
if (Number(getProperty("/kid", _x)) < Number(/:max)) {
newx = Number(getProperty("/kid", _x)) + Number(speed);
if (Number(_x) < Number(newx)) {
newx = _x;
}
setProperty("/kid", _x , Number(getProperty("/kid", _x)) + Number(speed));
}
} else if (Number(/:x) < Number(getProperty("/kid", _x) - (Number(/:runspeed) + 1))) {
speed = -/:runspeed;
if (Number(/:min) < Number(getProperty("/kid", _x))) {
newx = Number(getProperty("/kid", _x)) + Number(speed);
if (Number(newx) < Number(_x)) {
newx = _x;
}
setProperty("/kid", _x , Number(getProperty("/kid", _x)) + Number(speed));
}
}
} else if (Number(Number(Number(getProperty("/kid", _x)) + Number(/:runspeed)) + 1) < Number(_x)) {
speed = /:runspeed;
Set("/:run", "1");
if (Number(/:hadap) == 2) {
tellTarget ("../kid") {
gotoAndStop (4);
};
if (Number(getProperty("/kid", _x)) < Number(/:max)) {
newx = Number(getProperty("/kid", _x)) + Number(speed);
if (Number(_x) < Number(newx)) {
newx = _x;
}
setProperty("/kid", _x , Number(getProperty("/kid", _x)) + Number(speed));
} else {
tellTarget ("../kid") {
gotoAndStop (2);
};
Set("/:run", "");
}
} else {
Set("/:hadap", "2");
tellTarget ("../kid") {
gotoAndStop (4);
};
}
} else if (Number(/:x) < Number(getProperty("/kid", _x) - (Number(/:runspeed) + 1))) {
speed = -/:runspeed;
Set("/:run", "1");
if (Number(/:hadap) == 1) {
tellTarget ("../kid") {
gotoAndStop (3);
};
if (Number(/:min) < Number(getProperty("/kid", _x))) {
newx = Number(getProperty("/kid", _x)) + Number(speed);
if (Number(newx) < Number(_x)) {
newx = _x;
}
setProperty("/kid", _x , Number(getProperty("/kid", _x)) + Number(speed));
} else {
tellTarget ("../kid") {
gotoAndStop (1);
};
Set("/:run", "");
}
} else {
Set("/:hadap", "1");
tellTarget ("../kid") {
gotoAndStop (3);
};
}
} else {
Set("/:run", "");
if (Number(/:hadap) == 1) {
tellTarget ("/kid") {
gotoAndStop (1);
};
} else {
tellTarget ("/kid") {
gotoAndStop (2);
};
}
}
}
Symbol 164 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 170 MovieClip Frame 33
stop();
Symbol 181 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("start");
};
}
Symbol 183 MovieClip Frame 1
applescore = /:apples * /:applepoint;
bonus = /:timebonus;
total = Number(applescore) + Number(bonus);
Set("/:score", total);
Symbol 183 MovieClip Frame 2
if (Number(score) < 0) {
score = -score;
minus1 = "-";
} else {
minus1 = "";
}
if (Number(total) < 0) {
total = -total;
minus3 = "-";
} else {
minus3 = "";
}
stop();