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);
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 120 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 139 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 160 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 160 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 162 MovieClip "base1" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 163 MovieClip "base3" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 164 MovieClip "base2" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "wat2" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "wat1" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 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 160 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 199 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 221 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 229 MovieClip "b9" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 235 MovieClip "b8" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 241 MovieClip "b2" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -100) {
_x = 750;
}
}
Instance of Symbol 247 MovieClip "b1" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 650) {
_x = -200;
}
}
Instance of Symbol 250 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 255 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 258 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 274 MovieClip "b3" in Frame 16
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 650) {
_x = -200;
}
}
Instance of Symbol 279 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 289 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 162 MovieClip "base1" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 163 MovieClip "base3" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "wat1" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 297 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 300 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 229 MovieClip "b9" in Frame 17
onClipEvent (load) {
pl = 1;
_y = 238;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 235 MovieClip "b8" in Frame 17
onClipEvent (load) {
pl = 1;
_y = 238;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 241 MovieClip "b2" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 247 MovieClip "b1" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 302 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 305 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 307 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 274 MovieClip "b3" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 310 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 316 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 163 MovieClip "base4" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 164 MovieClip "base2" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "wat2" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "wat1" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "wat3" in Frame 18
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 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 160 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 160 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 160 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 297 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 300 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 229 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 235 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 241 MovieClip "b2" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 385;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 247 MovieClip "b1" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 89;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 302 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 305 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 307 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 274 MovieClip "b3" in Frame 18
onClipEvent (load) {
pl = 1;
_y = 97;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 310 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 324 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 63 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 63 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 330 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 63 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 229 MovieClip "b9" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 384;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 235 MovieClip "b8" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 384;
}
onClipEvent (enterFrame) {
_x = (_x + 3);
if (_x > 750) {
_x = -900;
}
}
Instance of Symbol 305 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 307 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 297 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 300 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 302 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 274 MovieClip "b3" in Frame 19
onClipEvent (load) {
pl = 1;
_y = 114;
}
onClipEvent (enterFrame) {
_x = (_x - 3);
if (_x < -750) {
_x = 1250;
}
}
Instance of Symbol 324 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 342 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 18 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 19 MovieClip Frame 22
stop();
Symbol 27 Button
on (press) {
gotoAndStop (6);
}
Symbol 30 MovieClip Frame 12
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 38 Button
on (press) {
gotoAndStop (15);
}
Symbol 53 Button
on (press) {
gotoAndStop (5);
}
Instance of Symbol 59 MovieClip "br" in Symbol 63 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 101 MovieClip Frame 1
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 2
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 3
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 4
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 5
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 6
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 7
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 8
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 9
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 10
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 11
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 12
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 13
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 14
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 15
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 16
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 17
_root.monkey._y = _root.monkey._y - _root.monkey.mov;
Symbol 101 MovieClip Frame 25
_root.monkey.gotoAndStop(1);
Symbol 102 MovieClip Frame 1
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 2
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 3
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 4
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 5
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 6
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 7
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 8
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 9
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 10
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 11
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 12
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 13
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 14
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 15
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 16
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 17
_root.monkey._x = _root.monkey._x - _root.monkey.movx;
Symbol 102 MovieClip Frame 25
_root.monkey.gotoAndStop(1);
Symbol 113 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 113 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 119 MovieClip Frame 33
_root.amitavalife = _root.amitavalife - 1;
Symbol 119 MovieClip Frame 34
_root.monkey.reset();
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 2
stop();
Symbol 120 MovieClip Frame 3
stop();
Symbol 120 MovieClip Frame 4
stop();
Symbol 127 MovieClip Frame 2
_root.amitavalevel = _root.amitavalevel + 1;
Symbol 127 MovieClip Frame 10
var ssc = _root.amitavalevel;
Symbol 127 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 127 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 127 MovieClip Frame 51
stop();
Symbol 134 Button
on (press) {
_root.gotoAndPlay(5);
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
var ssc = _root.sco;
Symbol 139 MovieClip Frame 13
stop();
Symbol 146 Button
on (press) {
_root.gotoAndPlay(5);
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
var ssc = _root.sco;
Symbol 150 MovieClip Frame 12
stop();
Symbol 196 MovieClip Frame 30
_root.b6.gotoAndStop(3);
Symbol 198 MovieClip Frame 21
_root.b6.gotoAndStop(1);
Symbol 199 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 199 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 199 MovieClip Frame 2
stop();
Symbol 199 MovieClip Frame 3
stop();
Symbol 218 MovieClip Frame 25
_root.b7.gotoAndStop(3);
Symbol 220 MovieClip Frame 16
_root.b7.gotoAndStop(1);
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 221 MovieClip Frame 2
stop();
Symbol 221 MovieClip Frame 3
stop();
Symbol 229 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 229 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 229 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 235 MovieClip Frame 2
stop();
Symbol 241 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 241 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 241 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 247 MovieClip Frame 2
stop();
Symbol 248 MovieClip Frame 31
_root.b5.gotoAndStop(3);
Symbol 249 MovieClip Frame 21
_root.b5.gotoAndStop(1);
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 250 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 3
stop();
Symbol 252 MovieClip Frame 23
_root.b10.gotoAndStop(3);
Symbol 254 MovieClip Frame 16
_root.b10.gotoAndStop(1);
Symbol 255 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 255 MovieClip Frame 2
stop();
Symbol 255 MovieClip Frame 3
stop();
Symbol 256 MovieClip Frame 27
_root.b11.gotoAndStop(3);
Symbol 257 MovieClip Frame 21
_root.b11.gotoAndStop(1);
Symbol 258 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 258 MovieClip Frame 2
stop();
Symbol 258 MovieClip Frame 3
stop();
Symbol 272 MovieClip Frame 17
stop();
Symbol 273 MovieClip Frame 19
stop();
Symbol 274 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 274 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 3
stop();
Symbol 276 MovieClip Frame 25
_root.b12.gotoAndStop(3);
Symbol 278 MovieClip Frame 16
_root.b12.gotoAndStop(1);
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 279 MovieClip Frame 2
stop();
Symbol 279 MovieClip Frame 3
stop();
Symbol 281 MovieClip Frame 7
_root.monkey.rot = 0;
_root.monkey.waking = 1;
_root.monkey.Jump = true;
_root.monkey.gotoAndStop(1);
Symbol 282 MovieClip Frame 9
_root.monkey.rot = 0;
_root.monkey.waking = 1;
_root.monkey.Jump = true;
_root.monkey.gotoAndStop(1);
Symbol 288 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 288 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 289 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip "body" in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 289 MovieClip Frame 2
stop();
Symbol 289 MovieClip Frame 3
stop();
Symbol 289 MovieClip Frame 4
stop();
Symbol 296 MovieClip Frame 21
_root.doba = random(5);
_root.b6.gotoAndStop(1);
Symbol 297 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 297 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 297 MovieClip Frame 2
stop();
Symbol 297 MovieClip Frame 3
stop();
Symbol 299 MovieClip Frame 16
_root.doba = random(5);
_root.b7.gotoAndStop(1);
Symbol 300 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 300 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 301 MovieClip Frame 21
_root.doba = random(5);
_root.b5.gotoAndStop(1);
Symbol 302 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 302 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 302 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 3
stop();
Symbol 304 MovieClip Frame 16
_root.doba = random(5);
_root.b10.gotoAndStop(1);
Symbol 305 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 305 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 305 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 3
stop();
Symbol 306 MovieClip Frame 21
_root.doba = random(5);
_root.b11.gotoAndStop(1);
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 307 MovieClip Frame 2
stop();
Symbol 307 MovieClip Frame 3
stop();
Symbol 309 MovieClip Frame 16
_root.doba = random(5);
_root.b12.gotoAndStop(1);
Symbol 310 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "br" in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 310 MovieClip Frame 2
stop();
Symbol 310 MovieClip Frame 3
stop();
Symbol 315 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 315 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 316 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip "body" in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 316 MovieClip Frame 2
stop();
Symbol 316 MovieClip Frame 3
stop();
Symbol 316 MovieClip Frame 4
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 25
stop();
Symbol 329 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 329 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 330 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip "body" in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 330 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 3
stop();
Symbol 330 MovieClip Frame 4
stop();
Symbol 341 MovieClip Frame 1
_root.sco = _root.sco + 150;
Symbol 341 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 342 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip "body" in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 342 MovieClip Frame 2
stop();
Symbol 342 MovieClip Frame 3
stop();
Symbol 342 MovieClip Frame 4
stop();