Frame 1
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
percentone = totalBytes / 100;
percent = Math.round(loadedBytes / percentone);
if (_root._framesloaded >= _root._totalframes) {
gotoAndPlay (5);
}
Frame 2
gotoAndPlay (1);
Frame 5
stop();
stopAllSounds();
Stage.showMenu = false;
Frame 6
stop();
Stage.showMenu = false;
Frame 15
var amitavaplay = true;
var amitavalevel = 0;
var amitavalife = 3;
var sco = 0;
var doba = random(5);
Stage.showMenu = false;
stop();
Instance of Symbol 82 MovieClip "s5" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -200;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s4" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -300;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s7" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 800;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s10" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 600;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s3" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -200;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s6" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -400;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s2" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -350;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s1" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -500;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s8" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 700;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s9" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 900;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 139 MovieClip "monkey" in Frame 15
onClipEvent (load) {
function reset() {
var _local1 = _root;
_x = xpos;
_y = ypos;
waking = 1;
cach = 1;
_local1.banana._visible = true;
this.gotoAndStop(1);
_local1.s1.pl = 1;
_local1.s2.pl = 1;
_local1.s3.pl = 1;
_local1.s4.pl = 1;
_local1.s5.pl = 1;
_local1.s6.pl = 1;
_local1.s7.pl = 1;
_local1.s8.pl = 1;
_local1.s9.pl = 1;
_local1.s10.pl = 1;
}
lev = 1;
mov = 3;
movx = 3;
food = 0;
cach = 1;
xpos = _x;
ypos = _y;
waking = 1;
i = 0;
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 10;
} else if (_x >= 590) {
_x = 580;
}
if (_root.amitavaplay == true) {
if ((Key.isDown(38) && (waking == 1)) && (_y > 50)) {
if (cach == 1) {
this._rotation = 0;
this.gotoAndStop(2);
mov = 3;
}
} else if ((Key.isDown(40) && (waking == 1)) && (_y < 500)) {
if (cach == 1) {
this._rotation = 180;
this.gotoAndStop(2);
mov = -3;
}
} else if ((Key.isDown(39) && (waking == 1)) && (_x < 550)) {
if (cach == 1) {
this._rotation = 90;
this.gotoAndStop(3);
movx = -3;
}
} else if ((Key.isDown(37) && (waking == 1)) && (_x > 50)) {
if (cach == 1) {
this._rotation = -90;
this.gotoAndStop(3);
movx = 3;
}
}
if (this.hitTest(_root.banana)) {
if (cach == 1) {
if (food <= 4) {
food = food + 1;
_root.banana._visible = false;
this.gotoAndStop(4);
cach = 0;
}
if (food == 4) {
if (lev == 1) {
if (_root.amitavalife > 0) {
_root.levl.gotoAndPlay(2);
lev = 0;
}
}
}
}
}
}
}
Instance of Symbol 158 MovieClip "gov" in Frame 15
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 1) {
if (pl == 1) {
_root.gov.gotoAndPlay(2);
pl = 0;
}
}
}
Frame 16
Stage.showMenu = false;
Instance of Symbol 179 MovieClip "left1" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 179 MovieClip "right1" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 181 MovieClip "base1" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 182 MovieClip "base3" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 183 MovieClip "base2" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 185 MovieClip "wat2" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 185 MovieClip "wat1" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 179 MovieClip "left2" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 179 MovieClip "right2" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 219 MovieClip "b6" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 900;
pl = 1;
}
if (_root.doba == 1) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 241 MovieClip "b7" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 900;
pl = 1;
}
if (_root.doba == 2) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 249 MovieClip "b9" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 255 MovieClip "b8" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 261 MovieClip "b2" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -100) {
_x = 750;
}
}
Instance of Symbol 267 MovieClip "b1" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 650) {
_x = -200;
}
}
Instance of Symbol 270 MovieClip "b5" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 900;
pl = 1;
}
if (_root.doba == 0) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 275 MovieClip "b10" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 3) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 278 MovieClip "b11" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 4) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 294 MovieClip "b3" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 650) {
_x = -200;
}
}
Instance of Symbol 299 MovieClip "b12" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 5) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 309 MovieClip "monkey" in Frame 16
onClipEvent (load) {
function reset() {
var _local1 = _root;
_local1.left1.pl = 1;
_local1.left2.pl = 1;
_local1.right1.pl = 1;
_local1.right2.pl = 1;
_x = xpos;
_y = ypos;
rot = 0;
waking = 1;
cach = 1;
ml = 1;
_local1.banana._visible = true;
this.gotoAndStop(1);
}
lev = 1;
ml = 1;
pl = 1;
mov = 2;
movx = 2;
food = 0;
cach = 1;
xpos = _x;
ypos = _y;
waking = 1;
i = 0;
rot = 0;
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 10;
} else if (_x >= 590) {
_x = 580;
}
if (_root.amitavaplay == true) {
if ((Key.isDown(38) && (waking == 1)) && (_y > 50)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 0;
if (rot >= 5) {
_y = (_y - 75);
this.gotoAndStop(2);
waking = 0;
}
mov = 2;
}
} else if ((Key.isDown(40) && (waking == 1)) && (_y < 500)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 180;
if (rot >= 5) {
_y = (_y + 75);
this.gotoAndStop(2);
waking = 0;
}
mov = -2;
}
} else if ((Key.isDown(39) && (waking == 1)) && (_x < 520)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 90;
if (rot >= 5) {
_x = (_x + 75);
this.gotoAndStop(2);
waking = 0;
}
movx = -2;
}
} else if ((Key.isDown(37) && (waking == 1)) && (_x > 80)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = -90;
if (rot >= 5) {
_x = (_x - 75);
this.gotoAndStop(3);
waking = 0;
}
movx = 2;
}
}
if (this.hitTest(_root.banana)) {
if (cach == 1) {
if (food <= 6) {
food = food + 1;
_root.banana._visible = false;
this.gotoAndStop(4);
cach = 0;
}
if (food == 6) {
if (lev == 1) {
if (_root.amitavalife > 0) {
_root.levl.gotoAndPlay(2);
lev = 0;
}
}
}
}
}
if (this.body.hitTest(_root.b1.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.body.hitTest(_root.b2.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b3.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.body.hitTest(_root.b4.br)) {
Jump = false;
} else if (this.body.hitTest(_root.b5.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b6.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b7.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b8.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b9.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b10.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b11.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b12.br)) {
_x = (_x + 3);
Jump = false;
} else {
Jump = true;
}
if (this.body.hitTest(_root.wat1) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
if (this.body.hitTest(_root.wat2) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
}
}
Frame 17
Stage.showMenu = false;
Instance of Symbol 181 MovieClip "base1" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 182 MovieClip "base3" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 185 MovieClip "wat1" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 317 MovieClip "b6" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 1) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 320 MovieClip "b7" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 2) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 249 MovieClip "b9" in Frame 17
onClipEvent (load) {
pl = 1;
_y = 238;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 255 MovieClip "b8" in Frame 17
onClipEvent (load) {
pl = 1;
_y = 238;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 261 MovieClip "b2" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 267 MovieClip "b1" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 322 MovieClip "b5" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 0) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 325 MovieClip "b10" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 3) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 327 MovieClip "b11" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 4) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 294 MovieClip "b3" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 330 MovieClip "b12" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 5) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 82 MovieClip "s3" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -200;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s2" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -350;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s1" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -500;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s7" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 800;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s8" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 700;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s5" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -200;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s10" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 600;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s6" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -400;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s9" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 900;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 336 MovieClip "monkey" in Frame 17
onClipEvent (load) {
function reset() {
var _local1 = _root;
_local1.s1.pl = 1;
_local1.s2.pl = 1;
_local1.s3.pl = 1;
_local1.s4.pl = 1;
_local1.s5.pl = 1;
_local1.s6.pl = 1;
_local1.s7.pl = 1;
_local1.s8.pl = 1;
_local1.s9.pl = 1;
_local1.s10.pl = 1;
_local1.left1.pl = 1;
_local1.left2.pl = 1;
_local1.right1.pl = 1;
_local1.right2.pl = 1;
_x = xpos;
_y = ypos;
rot = 0;
waking = 1;
cach = 1;
ml = 1;
_local1.banana._visible = true;
this.gotoAndStop(1);
}
lev = 1;
ml = 1;
pl = 1;
mov = 2;
movx = 2;
food = 0;
cach = 1;
xpos = _x;
ypos = _y;
waking = 1;
i = 0;
rot = 0;
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 10;
} else if (_x >= 590) {
_x = 580;
}
if (_root.amitavaplay == true) {
if ((Key.isDown(38) && (waking == 1)) && (_y > 26)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 0;
if (rot >= 5) {
_y = (_y - 70);
this.gotoAndStop(2);
waking = 0;
}
mov = 2;
}
} else if ((Key.isDown(40) && (waking == 1)) && (_y < 500)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 180;
if (rot >= 5) {
_y = (_y + 70);
this.gotoAndStop(2);
waking = 0;
}
mov = -2;
}
} else if ((Key.isDown(39) && (waking == 1)) && (_x < 580)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 90;
if (rot >= 5) {
_x = (_x + 70);
this.gotoAndStop(2);
waking = 0;
}
movx = -2;
}
} else if ((Key.isDown(37) && (waking == 1)) && (_x > 50)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = -90;
if (rot >= 5) {
_x = (_x - 70);
this.gotoAndStop(3);
waking = 0;
}
movx = 2;
}
}
if (this.hitTest(_root.banana)) {
if (cach == 1) {
if (food <= 8) {
food = food + 1;
_root.banana._visible = false;
this.gotoAndStop(4);
cach = 0;
}
if (food == 8) {
if (lev == 1) {
if (_root.amitavalife > 0) {
_root.levl.gotoAndPlay(2);
lev = 0;
}
}
}
}
}
if (this.body.hitTest(_root.b1.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b2.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b3.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b4.br)) {
Jump = false;
} else if (this.body.hitTest(_root.b5.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b6.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b7.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b8.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b9.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b10.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b11.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b12.br)) {
_x = (_x + 3);
Jump = false;
} else {
Jump = true;
}
if (this.body.hitTest(_root.wat1) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
if (this.body.hitTest(_root.wat2) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
}
}
Frame 18
Stage.showMenu = false;
Instance of Symbol 182 MovieClip "base4" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 183 MovieClip "base2" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 185 MovieClip "wat2" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 185 MovieClip "wat1" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 185 MovieClip "wat3" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 179 MovieClip "left2" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 179 MovieClip "right2" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 179 MovieClip "left3" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 179 MovieClip "right3" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 317 MovieClip "b6" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 385;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 1) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 320 MovieClip "b7" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 385;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 2) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 249 MovieClip "b9" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 238;
_x = 330;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 255 MovieClip "b8" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 238;
_x = 704;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 261 MovieClip "b2" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 385;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 267 MovieClip "b1" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 89;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 322 MovieClip "b5" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 385;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 0) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 325 MovieClip "b10" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 238;
_x = -51;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 3) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 327 MovieClip "b11" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 238;
_x = -281;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 4) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 294 MovieClip "b3" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 97;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 330 MovieClip "b12" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 238;
_x = -525;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 5) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 344 MovieClip in Frame 18
onClipEvent (load) {
_visible = false;
pl = 1;
rad = random(4);
if (rad == 0) {
_x = _root.b12._x;
_y = _root.b12._y;
} else if (rad == 1) {
_x = _root.b11._x;
_y = _root.b11._y;
} else if (rad == 2) {
_x = _root.b10._x;
_y = _root.b10._y;
} else if (rad == 3) {
_x = _root.b9._x;
_y = _root.b9._y;
} else if (rad == 4) {
_x = _root.b3._x;
_y = _root.b3._y;
}
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 3) {
_visible = true;
}
if (this.hitTest(_root.monkey) && (_root.amitavalife < 3)) {
if (pl == 1) {
_root.amitavalife = _root.amitavalife + 1;
this.play();
pl = 0;
}
}
if (this.hitTest(_root.b3)) {
_x = (_x - 3);
if (_x <= -500) {
rad = random(4);
if (rad == 0) {
_x = _root.b12._x;
_y = _root.b12._y;
} else if (rad == 1) {
_x = _root.b11._x;
_y = _root.b11._y;
} else if (rad == 2) {
_x = _root.b10._x;
_y = _root.b10._y;
} else if (rad == 3) {
_x = _root.b9._x;
_y = _root.b9._y;
} else if (rad == 4) {
_x = _root.b3._x;
_y = _root.b3._y;
}
}
} else {
_x = (_x + 3);
if (_x >= 630) {
rad = random(4);
if (rad == 0) {
_x = _root.b12._x;
_y = _root.b12._y;
} else if (rad == 1) {
_x = _root.b11._x;
_y = _root.b11._y;
} else if (rad == 2) {
_x = _root.b10._x;
_y = _root.b10._y;
} else if (rad == 3) {
_x = _root.b9._x;
_y = _root.b9._y;
} else if (rad == 4) {
_x = _root.b3._x;
_y = _root.b3._y;
}
}
}
}
Instance of Symbol 82 MovieClip "s5" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 5);
if (_x > 600) {
_x = -200;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s10" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 5);
if (_x < -200) {
_x = 600;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 350 MovieClip "monkey" in Frame 18
onClipEvent (load) {
function reset() {
var _local1 = _root;
_local1.s1.pl = 1;
_local1.s2.pl = 1;
_local1.s3.pl = 1;
_local1.s4.pl = 1;
_local1.s5.pl = 1;
_local1.s6.pl = 1;
_local1.s7.pl = 1;
_local1.s8.pl = 1;
_local1.s9.pl = 1;
_local1.s10.pl = 1;
_local1.left1.pl = 1;
_local1.left2.pl = 1;
_local1.left3.pl = 1;
_local1.right1.pl = 1;
_local1.right2.pl = 1;
_local1.right3.pl = 1;
_x = xpos;
_y = ypos;
rot = 0;
waking = 1;
cach = 1;
ml = 1;
_local1.banana._visible = true;
this.gotoAndStop(1);
}
lev = 1;
ml = 1;
pl = 1;
mov = 2;
movx = 2;
food = 0;
cach = 1;
xpos = _x;
ypos = _y;
waking = 1;
i = 0;
rot = 0;
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 10;
} else if (_x >= 590) {
_x = 580;
}
if (_root.amitavaplay == true) {
if ((Key.isDown(38) && (waking == 1)) && (_y > 50)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 0;
if (rot >= 5) {
_y = (_y - 70);
this.gotoAndStop(2);
waking = 0;
}
mov = 2;
}
} else if ((Key.isDown(40) && (waking == 1)) && (_y < 500)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 180;
if (rot >= 5) {
_y = (_y + 70);
this.gotoAndStop(2);
waking = 0;
}
mov = -2;
}
} else if ((Key.isDown(39) && (waking == 1)) && (_x < 580)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 90;
if (rot >= 5) {
_x = (_x + 70);
this.gotoAndStop(2);
waking = 0;
}
movx = -2;
}
} else if ((Key.isDown(37) && (waking == 1)) && (_x > 50)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = -90;
if (rot >= 5) {
_x = (_x - 70);
this.gotoAndStop(3);
waking = 0;
}
movx = 2;
}
}
if (this.hitTest(_root.banana)) {
if (cach == 1) {
if (food <= 10) {
food = food + 1;
_root.banana._visible = false;
this.gotoAndStop(4);
cach = 0;
}
if (food == 10) {
if (lev == 1) {
if (_root.amitavalife > 0) {
_root.levl.gotoAndPlay(2);
lev = 0;
}
}
}
}
}
if (this.body.hitTest(_root.b1.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b2.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b3.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b4.br)) {
Jump = false;
} else if (this.body.hitTest(_root.b5.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b6.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b7.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b8.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b9.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b10.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b11.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b12.br)) {
_x = (_x + 3);
Jump = false;
} else {
Jump = true;
}
if (this.body.hitTest(_root.wat1) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
if (this.body.hitTest(_root.wat2) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
if (this.body.hitTest(_root.wat3) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
}
}
Frame 19
Stage.showMenu = false;
Instance of Symbol 82 MovieClip "s3" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -200;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s2" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -350;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s1" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -500;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s7" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 800;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s8" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 700;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s10" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 600;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s9" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -200) {
_x = 900;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 82 MovieClip "s6" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 600) {
_x = -400;
}
if (this.br.hitTest(_root.monkey)) {
if (pl == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
pl = 0;
}
}
}
Instance of Symbol 249 MovieClip "b9" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 384;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 255 MovieClip "b8" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 384;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 325 MovieClip "b10" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 384;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 3) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 327 MovieClip "b11" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 384;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
pl = 1;
}
if (_root.doba == 4) {
if (_x > 740) {
_root.doba = random(5);
}
if (_x > 150) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 317 MovieClip "b6" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 114;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 1) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 320 MovieClip "b7" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 114;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 2) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 322 MovieClip "b5" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 114;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x <= -750) {
_x = 1250;
pl = 1;
}
if (_root.doba == 0) {
if (_x < -90) {
_root.doba = random(5);
}
if (_x < 350) {
if (pl == 1) {
this.gotoAndStop(2);
pl = 0;
}
}
}
}
Instance of Symbol 294 MovieClip "b3" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 114;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 344 MovieClip in Frame 19
onClipEvent (load) {
_visible = false;
pl = 1;
rad = random(3);
if (rad == 0) {
_x = _root.b6._x;
_y = _root.b6._y;
} else if (rad == 1) {
_x = _root.b7._x;
_y = _root.b7._y;
} else if (rad == 2) {
_x = _root.b5._x;
_y = _root.b5._y;
} else if (rad == 3) {
_x = _root.b3._x;
_y = _root.b3._y;
}
}
onClipEvent (enterFrame) {
if (_root.amitavalife < 3) {
_visible = true;
}
if (this.hitTest(_root.monkey) && (_root.amitavalife < 3)) {
if (pl == 1) {
_root.amitavalife = _root.amitavalife + 1;
this.play();
pl = 0;
}
}
if (((this.hitTest(_root.b3) || (this.hitTest(_root.b5))) || (this.hitTest(_root.b6))) || (this.hitTest(_root.b7))) {
_x = (_x - 3);
if (_x <= -500) {
rad = random(3);
if (rad == 0) {
_x = _root.b6._x;
_y = _root.b6._y;
} else if (rad == 1) {
_x = _root.b7._x;
_y = _root.b7._y;
} else if (rad == 2) {
_x = _root.b5._x;
_y = _root.b5._y;
} else if (rad == 3) {
_x = _root.b3._x;
_y = _root.b3._y;
}
}
}
}
Instance of Symbol 362 MovieClip "monkey" in Frame 19
onClipEvent (load) {
function reset() {
var _local1 = _root;
_local1.s1.pl = 1;
_local1.s2.pl = 1;
_local1.s3.pl = 1;
_local1.s4.pl = 1;
_local1.s5.pl = 1;
_local1.s6.pl = 1;
_local1.s7.pl = 1;
_local1.s8.pl = 1;
_local1.s9.pl = 1;
_local1.s10.pl = 1;
_local1.left1.pl = 1;
_local1.left2.pl = 1;
_local1.right1.pl = 1;
_local1.right2.pl = 1;
_x = xpos;
_y = ypos;
rot = 0;
waking = 1;
cach = 1;
ml = 1;
_local1.banana._visible = true;
this.gotoAndStop(1);
}
lev = 1;
ml = 1;
pl = 1;
mov = 2;
movx = 2;
food = 0;
cach = 1;
xpos = _x;
ypos = _y;
waking = 1;
i = 0;
rot = 0;
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 10;
} else if (_x >= 590) {
_x = 580;
}
if (_root.amitavaplay == true) {
if ((Key.isDown(38) && (waking == 1)) && (_y > 50)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 0;
if (rot >= 5) {
_y = (_y - 70);
this.gotoAndStop(2);
waking = 0;
}
mov = 2;
}
} else if ((Key.isDown(40) && (waking == 1)) && (_y < 500)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 180;
if (rot >= 5) {
_y = (_y + 70);
this.gotoAndStop(2);
waking = 0;
}
mov = -2;
}
} else if ((Key.isDown(39) && (waking == 1)) && (_x < 580)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = 90;
if (rot >= 5) {
_x = (_x + 70);
this.gotoAndStop(2);
waking = 0;
}
movx = -2;
}
} else if ((Key.isDown(37) && (waking == 1)) && (_x > 50)) {
if (cach == 1) {
rot = rot + 1;
this._rotation = -90;
if (rot >= 5) {
_x = (_x - 70);
this.gotoAndStop(3);
waking = 0;
}
movx = 2;
}
}
if (this.hitTest(_root.banana)) {
if (cach == 1) {
if (food <= 12) {
food = food + 1;
_root.banana._visible = false;
this.gotoAndStop(4);
cach = 0;
}
if (food == 12) {
if (lev == 1) {
if (_root.amitavalife > 0) {
_root.wel.gotoAndPlay(2);
lev = 0;
}
}
}
}
}
if (this.body.hitTest(_root.b1.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b2.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b3.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.body.hitTest(_root.b4.br)) {
Jump = false;
} else if (this.body.hitTest(_root.b5.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b6.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b7.br)) {
_x = (_x - 3);
Jump = false;
} else if (this.hitTest(_root.b8.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b9.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b10.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b11.br)) {
_x = (_x + 3);
Jump = false;
} else if (this.hitTest(_root.b12.br)) {
_x = (_x + 3);
Jump = false;
} else {
Jump = true;
}
if (this.body.hitTest(_root.wat1) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
if (this.body.hitTest(_root.wat2) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
if (this.body.hitTest(_root.wat3) && (Jump == true)) {
if (ml == 1) {
_root.monkey.gotoAndStop(5);
_root.monkey.waking = 0;
ml = 0;
}
}
}
}
Symbol 10 MovieClip Frame 35
stop();
Symbol 13 MovieClip Frame 1
this._visible = false;
Symbol 17 MovieClip Frame 1
_root.stop();
Symbol 17 MovieClip Frame 3
xyb1 = _root.getBytesLoaded();
xyb2 = _root.getBytesTotal();
xytgFrame = Math.round((xyb1 / xyb2) * 100) + 1;
prelbar.gotoAndStop(xytgFrame);
Symbol 17 MovieClip Frame 5
if ((xyb1 >= xyb2) && (xyb2 > 50)) {
stop();
_root.play();
} else {
gotoAndPlay ("xloop1");
}
Symbol 28 Button
on (release) {
getURL ("http://dailyfreegames.com", "_blank");
}
Symbol 29 Button
on (release) {
getURL ("http://dailyfreegames.com/games/arcade-games/bartender.html", "_blank");
}
Symbol 30 Button
on (release) {
getURL ("http://dailyfreegames.com/games/puzzle-games/iphone-mystery.html", "_blank");
}
Symbol 31 Button
on (release) {
getURL ("http://dailyfreegames.com/games/arcade-games/da-club.html", "_blank");
}
Symbol 32 Button
on (release) {
getURL ("http://dailyfreegames.com/games/arcade-games/barack-obama-race-for-the-white-house.html", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://dailyfreegames.com/games/action-games/cure-lohan.html", "_blank");
}
Symbol 41 Button
on (press) {
gotoAndStop (6);
}
Symbol 47 MovieClip Frame 12
stop();
Symbol 48 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 50 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 55 Button
on (press) {
gotoAndStop (15);
}
Symbol 72 Button
on (press) {
gotoAndStop (5);
}
Instance of Symbol 78 MovieClip "br" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 120 MovieClip Frame 1
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 2
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 3
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 4
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 5
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 6
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 7
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 8
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 9
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 10
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 11
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 12
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 13
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 14
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 15
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 16
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 17
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 120 MovieClip Frame 25
_root.monkey.gotoAndStop(1);
Symbol 121 MovieClip Frame 1
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 2
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 3
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 4
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 5
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 6
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 7
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 8
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 9
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 10
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 11
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 12
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 13
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 14
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 15
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 16
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 17
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 121 MovieClip Frame 25
_root.monkey.gotoAndStop(1);
Symbol 132 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 132 MovieClip Frame 18
_root.banana._visible = true;
_root.monkey.cach = 1;
_root.monkey.waking = 1;
_root.monkey.rot = 0;
_root.monkey.Jump = true;
_root.banana._x = random(550);
if (_root.banana._x < 50) {
_root.banana._x = _root.banana._x + 50;
}
_root.banana._y = random(350);
if (_root.banana._y < 50) {
_root.banana._y = _root.banana._y + 50;
}
if (_root.monkey.food == 3) {
_root.banana._y = 50;
}
_root.monkey.gotoAndStop(1);
Symbol 138 MovieClip Frame 33
_root.amitavalife = _root.amitavalife - 1;
Symbol 138 MovieClip Frame 34
_root.monkey.reset();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 4
stop();
Symbol 146 MovieClip Frame 2
_root.amitavalevel = _root.amitavalevel + 1;
Symbol 146 MovieClip Frame 10
var ssc = _root.amitavalevel;
Symbol 146 MovieClip Frame 34
_root.banana.food = 0;
_root.monkey.lev = 1;
_root.banana._x = random(490);
if (_root.banana._x < 50) {
_root.banana._x = _root.banana._x + 200;
}
_root.banana._y = random(350);
if (_root.banana._y < 50) {
_root.banana._y = _root.banana._y + 80;
}
Symbol 146 MovieClip Frame 49
if (_root.amitavalevel == 1) {
_root.gotoAndStop(15);
} else if (_root.amitavalevel == 2) {
_root.gotoAndStop(16);
} else if (_root.amitavalevel == 3) {
_root.gotoAndStop(17);
} else if (_root.amitavalevel == 4) {
_root.gotoAndStop(18);
} else if (_root.amitavalevel == 5) {
_root.gotoAndStop(19);
}
Symbol 146 MovieClip Frame 51
stop();
Symbol 153 Button
on (press) {
_root.gotoAndPlay(5);
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
var ssc = _root.sco;
Symbol 158 MovieClip Frame 13
stop();
Symbol 165 Button
on (press) {
_root.gotoAndPlay(5);
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
var ssc = _root.sco;
Symbol 169 MovieClip Frame 12
stop();
Symbol 216 MovieClip Frame 30
_root.b6.gotoAndStop(3);
Symbol 218 MovieClip Frame 21
_root.b6.gotoAndStop(1);
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 219 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 3
stop();
Symbol 238 MovieClip Frame 25
_root.b7.gotoAndStop(3);
Symbol 240 MovieClip Frame 16
_root.b7.gotoAndStop(1);
Symbol 241 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 241 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 241 MovieClip Frame 2
stop();
Symbol 241 MovieClip Frame 3
stop();
Symbol 249 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 249 MovieClip Frame 2
stop();
Symbol 255 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 255 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 261 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 261 MovieClip Frame 2
stop();
Symbol 267 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 267 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 31
_root.b5.gotoAndStop(3);
Symbol 269 MovieClip Frame 21
_root.b5.gotoAndStop(1);
Symbol 270 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 270 MovieClip Frame 2
stop();
Symbol 270 MovieClip Frame 3
stop();
Symbol 272 MovieClip Frame 23
_root.b10.gotoAndStop(3);
Symbol 274 MovieClip Frame 16
_root.b10.gotoAndStop(1);
Symbol 275 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 275 MovieClip Frame 2
stop();
Symbol 275 MovieClip Frame 3
stop();
Symbol 276 MovieClip Frame 27
_root.b11.gotoAndStop(3);
Symbol 277 MovieClip Frame 21
_root.b11.gotoAndStop(1);
Symbol 278 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 278 MovieClip Frame 2
stop();
Symbol 278 MovieClip Frame 3
stop();
Symbol 292 MovieClip Frame 17
stop();
Symbol 293 MovieClip Frame 19
stop();
Symbol 294 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 294 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 294 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 3
stop();
Symbol 296 MovieClip Frame 25
_root.b12.gotoAndStop(3);
Symbol 298 MovieClip Frame 16
_root.b12.gotoAndStop(1);
Symbol 299 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 299 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 299 MovieClip Frame 2
stop();
Symbol 299 MovieClip Frame 3
stop();
Symbol 301 MovieClip Frame 7
_root.monkey.rot = 0;
_root.monkey.waking = 1;
_root.monkey.Jump = true;
_root.monkey.gotoAndStop(1);
Symbol 302 MovieClip Frame 9
_root.monkey.rot = 0;
_root.monkey.waking = 1;
_root.monkey.Jump = true;
_root.monkey.gotoAndStop(1);
Symbol 308 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 308 MovieClip Frame 18
_root.banana._visible = true;
_root.monkey.cach = 1;
_root.monkey.waking = 1;
_root.monkey.rot = 0;
_root.monkey.Jump = true;
_root.banana._x = random(490);
if (_root.banana._x < 50) {
_root.banana._x = _root.banana._x + 200;
}
_root.banana._y = random(350);
if (_root.banana._y < 50) {
_root.banana._y = _root.banana._y + 50;
}
if (_root.monkey.food == 5) {
_root.banana._y = 50;
}
_root.monkey.gotoAndStop(1);
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 300 MovieClip "body" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 309 MovieClip Frame 2
stop();
Symbol 309 MovieClip Frame 3
stop();
Symbol 309 MovieClip Frame 4
stop();
Symbol 316 MovieClip Frame 21
_root.doba = random(5);
_root.b6.gotoAndStop(1);
Symbol 317 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 317 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 3
stop();
Symbol 319 MovieClip Frame 16
_root.doba = random(5);
_root.b7.gotoAndStop(1);
Symbol 320 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 321 MovieClip Frame 21
_root.doba = random(5);
_root.b5.gotoAndStop(1);
Symbol 322 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 322 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 322 MovieClip Frame 2
stop();
Symbol 322 MovieClip Frame 3
stop();
Symbol 324 MovieClip Frame 16
_root.doba = random(5);
_root.b10.gotoAndStop(1);
Symbol 325 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 325 MovieClip Frame 2
stop();
Symbol 325 MovieClip Frame 3
stop();
Symbol 326 MovieClip Frame 21
_root.doba = random(5);
_root.b11.gotoAndStop(1);
Symbol 327 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 327 MovieClip Frame 2
stop();
Symbol 327 MovieClip Frame 3
stop();
Symbol 329 MovieClip Frame 16
_root.doba = random(5);
_root.b12.gotoAndStop(1);
Symbol 330 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "br" in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 330 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 3
stop();
Symbol 335 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 335 MovieClip Frame 18
_root.banana._visible = true;
_root.monkey.cach = 1;
_root.monkey.waking = 1;
_root.monkey.rot = 0;
_root.monkey.Jump = true;
_root.banana._x = random(490);
if (_root.banana._x < 50) {
_root.banana._x = _root.banana._x + 200;
}
_root.banana._y = random(350);
if (_root.banana._y < 50) {
_root.banana._y = _root.banana._y + 50;
}
if (_root.monkey.food == 7) {
_root.banana._y = 50;
}
_root.monkey.gotoAndStop(1);
Symbol 336 MovieClip Frame 1
stop();
Instance of Symbol 300 MovieClip "body" in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 336 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 3
stop();
Symbol 336 MovieClip Frame 4
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 25
stop();
Symbol 349 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 349 MovieClip Frame 18
_root.banana._visible = true;
_root.monkey.cach = 1;
_root.monkey.waking = 1;
_root.monkey.rot = 0;
_root.monkey.Jump = true;
_root.banana._x = random(490);
if (_root.banana._x < 50) {
_root.banana._x = _root.banana._x + 200;
}
_root.banana._y = random(350);
if (_root.banana._y < 50) {
_root.banana._y = _root.banana._y + 50;
}
if (_root.monkey.food == 9) {
_root.banana._y = 50;
}
_root.monkey.gotoAndStop(1);
Symbol 350 MovieClip Frame 1
stop();
Instance of Symbol 300 MovieClip "body" in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 350 MovieClip Frame 2
stop();
Symbol 350 MovieClip Frame 3
stop();
Symbol 350 MovieClip Frame 4
stop();
Symbol 361 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 361 MovieClip Frame 18
_root.banana._visible = true;
_root.monkey.cach = 1;
_root.monkey.waking = 1;
_root.monkey.rot = 0;
_root.monkey.Jump = true;
_root.banana._x = random(490);
if (_root.banana._x < 50) {
_root.banana._x = _root.banana._x + 200;
}
_root.banana._y = random(350);
if (_root.banana._y < 50) {
_root.banana._y = _root.banana._y + 50;
}
if (_root.monkey.food == 11) {
_root.banana._y = 50;
}
_root.monkey.gotoAndStop(1);
Symbol 362 MovieClip Frame 1
stop();
Instance of Symbol 300 MovieClip "body" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 362 MovieClip Frame 2
stop();
Symbol 362 MovieClip Frame 3
stop();
Symbol 362 MovieClip Frame 4
stop();