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) {
gotoAndStop (5);
}
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowscale", false);
stopAllSounds();
var flowera = true;
var flowerb = true;
var flowerc = true;
var flowerd = true;
var flowere = true;
var flowerf = true;
var flowerg = true;
var flowerh = true;
var floweri = true;
var flowerj = true;
var fuela = true;
var lifea = true;
var lifeb = true;
var lifec = true;
var amitavaplay = true;
var amitavalevel = 1;
var amitavaflower = 0;
var amitavalife = 4;
var sco = 0;
var fly = true;
var upmov = false;
var lrmov = false;
var blimit = 515;
var BOTTOM = blimit;
var down = false;
var downa = false;
var downb = false;
s = new Sound();
s.attachSound("gas");
Frame 6
fscommand ("allowscale", false);
stopAllSounds();
Frame 17
fscommand ("allowscale", false);
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 67 MovieClip "stageMC" in Frame 17
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 70 MovieClip "bg" in Frame 17
onClipEvent (load) {
}
Instance of Symbol 83 MovieClip in Frame 17
onClipEvent (load) {
pl = 1;
up = 1;
dn = 0;
}
onClipEvent (enterFrame) {
if (up == 1) {
_y = (_y - 3);
_root.rop._height = _root.rop._height - 3;
}
if (dn == 1) {
_y = (_y + 3);
_root.rop._height = _root.rop._height + 3;
}
if (_y < 0) {
dn = 1;
up = 0;
pl = 1;
} else if (_y > 189) {
up = 1;
dn = 0;
}
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 17
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 558;
_root.tur._x = 265;
_root.gotoAndStop("2nd");
pl = 0;
}
}
}
Instance of Symbol 90 MovieClip "stg" in Frame 17
onClipEvent (load) {
pl = 1;
if (_root.down == true) {
this.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
_root.upmov = true;
}
if (_root.upmov == true) {
if (Key.isDown(38)) {
if (pl == 1) {
_root.down = true;
this.play();
pl = 0;
}
}
}
}
Instance of Symbol 99 MovieClip "f1" in Frame 17
onClipEvent (load) {
if (_root.flowera == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowera = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 99 MovieClip "f2" in Frame 17
onClipEvent (load) {
if (_root.flowerb == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerb = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu1" in Frame 17
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 131 MovieClip "tur" in Frame 17
onClipEvent (load) {
function reset() {
var _local1 = _root;
_local1.lov = true;
_x = xpos;
_y = ypos;
if (_local1.amitavalevel == 1) {
_local1.gotoAndStop("1stlev");
} else if (_local1.amitavalevel == 2) {
_local1.gotoAndStop("2ndlev");
} else if (_local1.amitavalevel == 3) {
_local1.gotoAndStop("3rdlev");
}
this.gotoAndStop(1);
_local1.fly = true;
pl = 1;
die = false;
}
die = false;
xpos = _x;
ypos = _y;
pl = 1;
act = true;
}
onClipEvent (enterFrame) {
if ((((_root.stageMC.hitTest(this._x, this._y + 20, true) || (_root.stageMC.hitTest(this._x, this._y - 20, true))) || (_root.stageMC.hitTest(this._x + 20, this._y, true))) || (_root.stageMC.hitTest(this._x - 20, this._y, true))) || (_root.hb._height < 1)) {
if ((pl == 1) && (act == true)) {
_root.fly = false;
die = true;
this.play();
pl = 0;
}
}
}
Frame 18
fscommand ("allowscale", false);
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 70 MovieClip "bg" in Frame 18
onClipEvent (load) {
}
Instance of Symbol 183 MovieClip "spdd" in Frame 18
onClipEvent (load) {
dn = true;
up = false;
pl = 1;
sr = 1;
}
onClipEvent (enterFrame) {
_root.peg = Math.round(_rotation);
if (sr == 1) {
if (_rotation > 40) {
up = true;
dn = false;
}
if (_rotation < -40) {
up = false;
dn = true;
}
if (dn == true) {
_rotation = (_rotation + 1);
}
if (up == true) {
_rotation = (_rotation - 1);
}
}
if (this.spd.br.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d2" in Frame 18
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 558;
_root.tur._x = 138;
_root.gotoAndStop("3rd");
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 23;
_root.tur._x = 235;
_root.upmov = true;
_root.lrmov = true;
_root.gotoAndStop("1stlev");
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip "f1" in Frame 18
onClipEvent (load) {
if (_root.flowerd == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerd = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip "f5" in Frame 18
onClipEvent (load) {
if (_root.flowere == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowere = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 99 MovieClip "f4" in Frame 18
onClipEvent (load) {
if (_root.flowerg == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerg = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip "f2" in Frame 18
onClipEvent (load) {
if (_root.flowerc == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerc = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip "f3" in Frame 18
onClipEvent (load) {
if (_root.flowerf == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerf = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu2" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu3" in Frame 18
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 19
fscommand ("allowscale", false);
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 70 MovieClip "bg3" in Frame 19
onClipEvent (load) {
}
Instance of Symbol 183 MovieClip "spd3" in Frame 19
onClipEvent (load) {
dn = true;
up = false;
pl = 1;
sr = 1;
}
onClipEvent (enterFrame) {
_root.peg = Math.round(_rotation);
if (sr == 1) {
if (_rotation > 40) {
up = true;
dn = false;
}
if (_rotation < -40) {
up = false;
dn = true;
}
if (dn == true) {
_rotation = (_rotation + 1);
}
if (up == true) {
_rotation = (_rotation - 1);
}
}
if (this.spd.br.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d3" in Frame 19
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 467;
_root.tur._x = 196;
_root.fly = false;
_root.amitavaflower = 0;
_root.gotoAndStop("2ndlev");
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 17;
_root.tur._x = 196;
_root.upmov = true;
_root.lrmov = true;
_root.gotoAndStop("2nd");
pl = 0;
}
}
}
Instance of Symbol 191 MovieClip in Frame 19
onClipEvent (load) {
pl = 1;
_visible = false;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavaflower == 10) {
_visible = true;
}
if ((this.hitTest(_root.tur) && (_root.amitavaflower == 10)) && (_root.tur.die == false)) {
if (pl == 1) {
_root.flowera = true;
_root.flowerb = true;
_root.flowerc = true;
_root.flowerd = true;
_root.flowere = true;
_root.flowerf = true;
_root.flowerg = true;
_root.flowerh = true;
_root.floweri = true;
_root.flowerj = true;
_root.tur.act = false;
_root.upmov = false;
_root.lrmov = false;
_root.blimit = 515;
_root.BOTTOM = _root.blimit;
_root.tur._y = 472;
_root.tur._x = 196;
_root.fly = false;
this.gotoAndStop(2);
_root.amitavaflower = 0;
_root.gotoAndStop("2ndlev");
pl = 0;
}
}
}
}
Instance of Symbol 96 MovieClip in Frame 19
onClipEvent (load) {
if (_root.floweri == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.floweri = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 19
onClipEvent (load) {
if (_root.flowerh == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerh = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 19
onClipEvent (load) {
if (_root.flowerj == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerj = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu4" in Frame 19
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip "l1" in Frame 19
onClipEvent (load) {
if (_root.lifea == true) {
pl = 1;
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.lifea = false;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 20
fscommand ("allowscale", false);
var amitavalevel = 2;
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
var fly = true;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 199 MovieClip "stageMC" in Frame 20
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 87 MovieClip "d2" in Frame 20
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 558;
_root.tur._x = 346;
_root.gotoAndStop("4th");
pl = 0;
}
}
}
Instance of Symbol 90 MovieClip "stg" in Frame 20
onClipEvent (load) {
pl = 1;
if (_root.downa == true) {
this.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
_root.upmov = true;
}
if (_root.upmov == true) {
if (Key.isDown(38)) {
if (pl == 1) {
_root.downa = true;
this.play();
pl = 0;
}
}
}
}
Instance of Symbol 96 MovieClip in Frame 20
onClipEvent (load) {
if (_root.flowerb == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerb = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 99 MovieClip in Frame 20
onClipEvent (load) {
if (_root.flowera == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowera = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu5" in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu6" in Frame 20
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 21
fscommand ("allowscale", false);
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 83 MovieClip in Frame 21
onClipEvent (load) {
pl = 1;
up = 1;
dn = 0;
}
onClipEvent (enterFrame) {
if (up == 1) {
_y = (_y - 3);
_root.rop._height = _root.rop._height - 3;
}
if (dn == 1) {
_y = (_y + 3);
_root.rop._height = _root.rop._height + 3;
}
if (_y < 0) {
dn = 1;
up = 0;
pl = 1;
} else if (_y > 189) {
up = 1;
dn = 0;
}
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d2" in Frame 21
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 558;
_root.tur._x = 220;
_root.gotoAndStop("5th");
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 21
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 21;
_root.tur._x = 324;
_root.upmov = true;
_root.lrmov = true;
_root.gotoAndStop("2ndlev");
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip in Frame 21
onClipEvent (load) {
if (_root.flowerd == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerd = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip in Frame 21
onClipEvent (load) {
if (_root.flowerc == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerc = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 21
onClipEvent (load) {
if (_root.flowere == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowere = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 99 MovieClip in Frame 21
onClipEvent (load) {
if (_root.flowerf == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerf = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu8" in Frame 21
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip "l2" in Frame 21
onClipEvent (load) {
if (_root.lifeb == true) {
pl = 1;
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.lifeb = false;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu7" in Frame 21
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 22
fscommand ("allowscale", false);
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 183 MovieClip "spd4" in Frame 22
onClipEvent (load) {
dn = true;
up = false;
pl = 1;
sr = 1;
}
onClipEvent (enterFrame) {
_root.peg = Math.round(_rotation);
if (sr == 1) {
if (_rotation > 40) {
up = true;
dn = false;
}
if (_rotation < -40) {
up = false;
dn = true;
}
if (dn == true) {
_rotation = (_rotation + 1);
}
if (up == true) {
_rotation = (_rotation - 1);
}
}
if (this.spd.br.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d2" in Frame 22
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 467;
_root.tur._x = 198;
_root.fly = false;
_root.gotoAndStop(7);
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 22
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 21;
_root.tur._x = 230;
_root.upmov = true;
_root.lrmov = true;
_root.gotoAndStop("4th");
pl = 0;
}
}
}
Instance of Symbol 191 MovieClip in Frame 22
onClipEvent (load) {
pl = 1;
_visible = false;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavaflower == 10) {
_visible = true;
}
if ((this.hitTest(_root.tur) && (_root.amitavaflower == 10)) && (_root.tur.die == false)) {
if (pl == 1) {
_root.flowera = true;
_root.flowerb = true;
_root.flowerc = true;
_root.flowerd = true;
_root.flowere = true;
_root.flowerf = true;
_root.flowerg = true;
_root.flowerh = true;
_root.floweri = true;
_root.flowerj = true;
_root.tur.act = false;
_root.upmov = false;
_root.lrmov = false;
_root.blimit = 515;
_root.BOTTOM = _root.blimit;
_root.tur._y = 467;
_root.tur._x = 196;
_root.fly = false;
this.gotoAndStop(1);
_root.amitavaflower = 0;
_root.gotoAndStop("3rdlev");
pl = 0;
}
}
}
}
Instance of Symbol 99 MovieClip in Frame 22
onClipEvent (load) {
if (_root.flowerg == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerg = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 22
onClipEvent (load) {
if (_root.flowerj == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerj = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 22
onClipEvent (load) {
if (_root.flowerh == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerh = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 22
onClipEvent (load) {
if (_root.floweri == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.floweri = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu10" in Frame 22
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu9" in Frame 22
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 23
fscommand ("allowscale", false);
var amitavalevel = 3;
var fly = true;
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 208 MovieClip "stageMC" in Frame 23
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 183 MovieClip "spd1" in Frame 23
onClipEvent (load) {
dn = true;
up = false;
pl = 1;
sr = 1;
}
onClipEvent (enterFrame) {
_root.peg = Math.round(_rotation);
if (sr == 1) {
if (_rotation > 40) {
up = true;
dn = false;
}
if (_rotation < -40) {
up = false;
dn = true;
}
if (dn == true) {
_rotation = (_rotation + 1);
}
if (up == true) {
_rotation = (_rotation - 1);
}
}
if (this.spd.br.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d2" in Frame 23
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 558;
_root.tur._x = 204;
_root.gotoAndStop("6th");
pl = 0;
}
}
}
Instance of Symbol 90 MovieClip "stg" in Frame 23
onClipEvent (load) {
pl = 1;
if (_root.downb == true) {
this.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
_root.upmov = true;
}
if (_root.upmov == true) {
if (Key.isDown(38)) {
if (pl == 1) {
_root.downb = true;
this.play();
pl = 0;
}
}
}
}
Instance of Symbol 99 MovieClip in Frame 23
onClipEvent (load) {
if (_root.flowera == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowera = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip in Frame 23
onClipEvent (load) {
if (_root.flowerc == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerc = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 23
onClipEvent (load) {
if (_root.flowerb == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerb = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu12" in Frame 23
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip "l3" in Frame 23
onClipEvent (load) {
if (_root.lifec == true) {
pl = 1;
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.lifec = false;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu11" in Frame 23
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 24
fscommand ("allowscale", false);
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 83 MovieClip "sp6" in Frame 24
onClipEvent (load) {
pl = 1;
up = 1;
dn = 0;
}
onClipEvent (enterFrame) {
if (up == 1) {
_y = (_y - 3);
_root.rop6._height = _root.rop6._height - 3;
}
if (dn == 1) {
_y = (_y + 3);
_root.rop6._height = _root.rop6._height + 3;
}
if (_y < 232) {
dn = 1;
up = 0;
pl = 1;
} else if (_y > 436) {
up = 1;
dn = 0;
}
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d2" in Frame 24
onClipEvent (load) {
pl = 1;
_root.tur.act = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 558;
_root.tur._x = 204;
_root.gotoAndStop("7th");
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 24
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 21;
_root.upmov = true;
_root.lrmov = true;
_root.gotoAndStop("3rdlev");
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 24
onClipEvent (load) {
if (_root.flowere == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowere = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 99 MovieClip in Frame 24
onClipEvent (load) {
if (_root.flowerd == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerd = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip in Frame 24
onClipEvent (load) {
if (_root.flowerf == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerf = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip in Frame 24
onClipEvent (load) {
if (_root.flowerg == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerg = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu14" in Frame 24
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 194 MovieClip "l4" in Frame 24
onClipEvent (load) {
if (_root.lifed == true) {
pl = 1;
} else {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.lifed = false;
this.gotoAndStop(2);
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu13" in Frame 24
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Frame 25
fscommand ("allowscale", false);
_root.tur.act = true;
GRAV = 0.1;
THRUST = 0.2;
DAMP = 0.9;
BOUNCE = -0.2;
TOP = -100;
LEFT = 0;
RIGHT = Stage.width;
tur.onEnterFrame = function () {
var _local1 = this;
if (fly == true) {
if (Key.isDown(38) && (upmov == true)) {
_local1.pipe_mc._rotation = 0;
_local1.pipe_mc.play();
_local1.xThrust = 0;
_local1.yThrust = -THRUST;
hb._height = hb._height - 0.5;
} else {
_local1.pipe_mc.gotoAndStop(1);
_local1.ythrust = 0;
}
if (Key.isDown(37) && (lrmov == true)) {
_local1._rotation = -10;
_local1.xThrust = -THRUST;
} else if (Key.isDown(39) && (lrmov == true)) {
_local1._rotation = 10;
_local1.xThrust = THRUST;
} else {
_local1._rotation = 0;
_local1.xThrust = 0;
}
_local1.vx = _local1.vx + _local1.xThrust;
_local1.vy = _local1.vy + _local1.yThrust;
_local1.vy = _local1.vy + GRAV;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
if (_local1._x > (RIGHT - (_local1._width / 2))) {
_local1._x = RIGHT - (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
} else if (_local1._x < (LEFT + (_local1._width / 2))) {
_local1._x = LEFT + (_local1._width / 2);
_local1.vx = _local1.vx * BOUNCE;
}
if (_local1._y > (BOTTOM - (_local1._height / 2))) {
_local1._y = BOTTOM - (_local1._height / 2);
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
} else if (_local1._y < (TOP + (_local1._height / 2))) {
_local1._y = TOP + (_local1._height / 2);
_local1.vy = _local1.vy * BOUNCE;
}
} else {
_local1.xThrust = 0;
_local1.ythrust = 0;
_local1.vx = _local1.vx * DAMP;
_local1.vy = _local1.vy * BOUNCE;
}
};
Instance of Symbol 83 MovieClip "sp9" in Frame 25
onClipEvent (load) {
pl = 1;
up = 1;
dn = 0;
}
onClipEvent (enterFrame) {
if (up == 1) {
_y = (_y - 3);
_root.rop9._height = _root.rop9._height - 3;
}
if (dn == 1) {
_y = (_y + 3);
_root.rop9._height = _root.rop9._height + 3;
}
if (_y < 120) {
dn = 1;
up = 0;
pl = 1;
} else if (_y > 334) {
up = 1;
dn = 0;
}
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 183 MovieClip "spd7" in Frame 25
onClipEvent (load) {
dn = true;
up = false;
pl = 1;
sr = 1;
}
onClipEvent (enterFrame) {
_root.peg = Math.round(_rotation);
if (sr == 1) {
if (_rotation > 40) {
up = true;
dn = false;
}
if (_rotation < -40) {
up = false;
dn = true;
}
if (dn == true) {
_rotation = (_rotation + 1);
}
if (up == true) {
_rotation = (_rotation - 1);
}
}
if (this.spd.br.hitTest(_root.tur)) {
if (pl == 1) {
_root.fly = false;
_root.tur.play();
pl = 0;
}
}
}
Instance of Symbol 219 MovieClip in Frame 25
onClipEvent (load) {
pl = 1;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.amitavaplay == true) {
if (_root.amitavaflower == 10) {
_visible = true;
}
}
}
Instance of Symbol 87 MovieClip "d2" in Frame 25
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.gotoAndStop(2);
_root.tur._y = 500;
_root.tur._x = 252;
pl = 0;
}
}
}
Instance of Symbol 87 MovieClip "d1" in Frame 25
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur)) {
if (pl == 1) {
_root.tur.act = false;
_root.tur._y = 21;
_root.upmov = true;
_root.lrmov = true;
_root.gotoAndStop("6th");
pl = 0;
}
}
}
Instance of Symbol 99 MovieClip in Frame 25
onClipEvent (load) {
if (_root.flowerh == true) {
pl = 1;
} else {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerh = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 96 MovieClip in Frame 25
onClipEvent (load) {
if (_root.floweri == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.floweri = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 94 MovieClip in Frame 25
onClipEvent (load) {
if (_root.flowerj == true) {
pl = 1;
} else {
this.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.amitavaflower = _root.amitavaflower + 1;
_root.sco = _root.sco + 100;
_root.flowerj = false;
this.play();
pl = 0;
}
}
}
Instance of Symbol 107 MovieClip "fu15" in Frame 25
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tur) && (_root.tur.die == false)) {
if (pl == 1) {
_root.hb._height = 120;
this.gotoAndStop(2);
pl = 0;
}
}
}
Symbol 19 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 20 MovieClip Frame 22
stop();
Symbol 28 Button
on (press) {
gotoAndStop (6);
}
Symbol 31 MovieClip Frame 12
stop();
Symbol 32 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 34 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 41 Button
on (press) {
gotoAndStop (17);
}
Symbol 55 Button
on (press) {
gotoAndStop (1);
}
Instance of Symbol 79 MovieClip "br" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
_root.lrmov = true;
Symbol 90 MovieClip Frame 14
_root.blimit = 649;
_root.BOTTOM = _root.blimit;
Symbol 90 MovieClip Frame 15
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 16
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 16
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 11
stop();
Symbol 106 MovieClip Frame 24
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 8
gotoAndPlay (2);
Symbol 131 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip "body" in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 131 MovieClip Frame 2
_root.tur.die = true;
Symbol 131 MovieClip Frame 20
_root.stg.gotoAndStop(1);
_root.stg.pl = 1;
_root.blimit = 515;
_root.BOTTOM = _root.blimit;
_root.upmov = false;
_root.lrmov = false;
_root.hb._height = 120;
Symbol 131 MovieClip Frame 33
_root.amitavalife = _root.amitavalife - 1;
_root.downa = false;
_root.downb = false;
_root.down = false;
if (_root.amitavalife < 1) {
_root.gov.play();
}
Symbol 131 MovieClip Frame 36
if (_root.amitavalife > 0) {
_root.tur.reset();
} else {
stop();
}
Symbol 162 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
_root.amitavaplay = false;
var ssc = _root.sco;
Symbol 168 MovieClip Frame 18
stop();
Symbol 177 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
_root.amitavaplay = false;
var ssc = _root.sco;
Symbol 182 MovieClip Frame 16
stop();
Symbol 190 MovieClip Frame 24
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
_root.amitavalife = _root.amitavalife + 1;
Symbol 193 MovieClip Frame 24
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
pl = 1;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.tur) && (_root.amitavaflower == 10)) && (_root.tur.die == false)) {
if (pl == 1) {
_root.wel.play();
pl = 0;
}
}
}