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 ("intro");
}
Instance of Symbol 267 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 5
fscommand ("allowscale", false);
stopAllSounds();
amit = new game(1, true, 3, false, false, false, true, 0, 0);
trackini = amit.trackvars;
level = amit.amitavalevel;
amitavaplay = amit.amitavalive;
amitavachance = amit.amitavalife;
doorkey = amit.amitavakey;
rescuelove = amit.amitavarescue;
gameplay = amit.amitavagame;
score = amit.marks;
entrynum = amit.enterperson;
resetlev = false;
frm = "lev1";
Frame 10
fscommand ("allowscale", false);
attachMovie("hero", "hero", 100);
attachMovie("queen", "queen", 110);
this.attachMovie("bomb_clp", "bomb3", 92, {_x:436, _y:40});
frm = "lev2";
Instance of Symbol 257 MovieClip [trackclip] in Frame 10
onClipEvent (enterFrame) {
}
Instance of Symbol 393 MovieClip "boat" in Frame 10
onClipEvent (enterFrame) {
this._x = this._x - 6;
if (this._x < -1500) {
this._x = 2000;
}
}
Instance of Symbol 257 MovieClip [trackclip] in Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.assn = true;
this.gotoAndStop(8);
}
Instance of Symbol 395 MovieClip "amitavaend" in Frame 10
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 436 MovieClip "villa" in Frame 10
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
attack = false;
walk = true;
pl = 1;
die = false;
}
xpos = _x;
ypos = _y;
die = false;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (die == false)) {
if (walk == true) {
_x = (_x + 0.9);
}
} else {
attack = true;
walk = false;
}
if ((attack == true) && (die == false)) {
if (pl == 1) {
this._rotation = 90;
this.gotoAndStop("att");
}
}
}
Instance of Symbol 436 MovieClip "villb" in Frame 10
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
walk = true;
pl = 1;
}
xpos = _x;
ypos = _y;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (walk == true)) {
_x = (_x + 0.9);
}
}
Instance of Symbol 443 MovieClip "huta" in Frame 10
onClipEvent (load) {
this.swapDepths(120);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = -300;
}
}
on (press) {
trace(this._name);
}
Instance of Symbol 444 MovieClip "hutb" in Frame 10
onClipEvent (load) {
this.swapDepths(121);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = 2000;
}
}
Instance of Symbol 504 MovieClip "gov" in Frame 10
onClipEvent (load) {
qview = false;
pclash = false;
qclash = false;
qmurder = false;
hbite = false;
}
onClipEvent (enterFrame) {
if (hbite == true) {
this.h_bite._visible = true;
} else {
this.h_bite._visible = false;
}
if (qmurder == true) {
this.qmur._visible = true;
} else {
this.qmur._visible = false;
}
if (qview == true) {
this.q_d._visible = true;
this.qmur._visible = false;
} else {
this.q_d._visible = false;
}
if (pclash == true) {
this.pc._visible = true;
this.qmur._visible = false;
} else {
this.pc._visible = false;
}
if (qclash == true) {
this.qc._visible = true;
this.qmur._visible = false;
} else {
this.qc._visible = false;
}
}
Instance of Symbol 516 MovieClip "wel" in Frame 10
onClipEvent (load) {
qview = false;
pclash = false;
qclash = false;
qmurder = false;
}
onClipEvent (enterFrame) {
if (qmurder == true) {
this.qmur._visible = true;
} else {
this.qmur._visible = false;
}
if (qview == true) {
this.q_d._visible = true;
this.qmur._visible = false;
} else {
this.q_d._visible = false;
}
if (pclash == true) {
this.pc._visible = true;
this.qmur._visible = false;
} else {
this.pc._visible = false;
}
if (qclash == true) {
this.qc._visible = true;
this.qmur._visible = false;
} else {
this.qc._visible = false;
}
}
Frame 13
fscommand ("allowscale", false);
resetlev = false;
frm = "lev3";
this.attachMovie("bomb_clp", "bomb3", 92, {_x:436, _y:40});
Instance of Symbol 257 MovieClip [trackclip] in Frame 13
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.assn = true;
this.gotoAndStop(8);
}
Instance of Symbol 395 MovieClip "amitavaend" in Frame 13
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 436 MovieClip "villa" in Frame 13
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
attack = false;
walk = true;
pl = 1;
die = false;
}
xpos = _x;
ypos = _y;
die = false;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (die == false)) {
if (walk == true) {
_y = (_y - 0.7);
}
} else {
attack = true;
walk = false;
}
if ((attack == true) && (die == false)) {
if (pl == 1) {
this._rotation = 90;
this.gotoAndStop("att");
}
}
}
Instance of Symbol 436 MovieClip "villb" in Frame 13
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
walk = true;
pl = 1;
}
xpos = _x;
ypos = _y;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (walk == true)) {
_y = (_y - 0.7);
}
}
Instance of Symbol 534 MovieClip "boat" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 6;
if (this._y > 1500) {
this._y = -1000;
}
}
Instance of Symbol 538 MovieClip "hutb" in Frame 13
onClipEvent (load) {
this.swapDepths(125);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._x = -300;
}
}
Instance of Symbol 539 MovieClip "huta" in Frame 13
onClipEvent (load) {
this.swapDepths(126);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._x = 3000;
}
}
Frame 16
fscommand ("allowscale", false);
resetlev = false;
frm = "lev4";
this.attachMovie("bomb_clp", "bomb3", 92, {_x:436, _y:40});
Instance of Symbol 551 MovieClip "boatb" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x - 6;
if (this._x < -1500) {
this._x = 1800;
}
}
Instance of Symbol 551 MovieClip "boat" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + 6;
if (this._x > 1400) {
this._x = -2500;
}
}
Instance of Symbol 257 MovieClip [trackclip] in Frame 16
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.assn = true;
this.gotoAndStop(8);
}
Instance of Symbol 395 MovieClip "amitavaend" in Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 436 MovieClip "villa" in Frame 16
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
attack = false;
walk = true;
pl = 1;
die = false;
}
xpos = _x;
ypos = _y;
die = false;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (die == false)) {
if (walk == true) {
_x = (_x - 0.7);
}
} else {
attack = true;
walk = false;
}
if ((attack == true) && (die == false)) {
if (pl == 1) {
this._rotation = 90;
this.gotoAndStop("att");
}
}
}
Instance of Symbol 436 MovieClip "villb" in Frame 16
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
walk = true;
pl = 1;
}
xpos = _x;
ypos = _y;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (walk == true)) {
_x = (_x - 0.7);
}
}
Instance of Symbol 569 MovieClip "hutb" in Frame 16
onClipEvent (load) {
this.swapDepths(127);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = 3000;
}
}
Instance of Symbol 570 MovieClip "huta" in Frame 16
onClipEvent (load) {
this.swapDepths(128);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = -300;
}
}
Frame 20
fscommand ("allowscale", false);
resetlev = false;
frm = "lev5";
this.attachMovie("boatb", "boatb", 95, {_x:223, _y:470});
this.attachMovie("bomb_clp", "bomb2", 91, {_x:411, _y:40});
this.attachMovie("bomb_clp", "bomb3", 92, {_x:436, _y:40});
Instance of Symbol 551 MovieClip "boat" in Frame 20
onClipEvent (enterFrame) {
this._y = this._y - 6;
if (this._y < -1800) {
this._y = 2000;
}
}
Instance of Symbol 257 MovieClip [trackclip] in Frame 20
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.assn = true;
this.gotoAndStop(8);
}
Instance of Symbol 395 MovieClip "amitavaend" in Frame 20
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 436 MovieClip "villa" in Frame 20
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
attack = false;
walk = true;
pl = 1;
die = false;
}
xpos = _x;
ypos = _y;
die = false;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (die == false)) {
if (walk == true) {
_y = (_y + 0.9);
}
} else {
attack = true;
walk = false;
}
if ((attack == true) && (die == false)) {
if (pl == 1) {
this._rotation = 90;
this.gotoAndStop("att");
}
}
}
Instance of Symbol 436 MovieClip "villb" in Frame 20
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
walk = true;
pl = 1;
}
xpos = _x;
ypos = _y;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (walk == true)) {
_y = (_y + 0.9);
}
}
Instance of Symbol 578 MovieClip "huta" in Frame 20
onClipEvent (load) {
this.swapDepths(123);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._x = 3000;
}
}
Instance of Symbol 579 MovieClip "hutb" in Frame 20
onClipEvent (load) {
this.swapDepths(124);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._x = -300;
}
}
Frame 25
fscommand ("allowscale", false);
resetlev = false;
this.attachMovie("bomb_clp", "bomb1", 90, {_x:386, _y:40});
this.attachMovie("bomb_clp", "bomb2", 91, {_x:411, _y:40});
this.attachMovie("bomb_clp", "bomb3", 92, {_x:436, _y:40});
Instance of Symbol 257 MovieClip [trackclip] in Frame 25
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.assn = true;
this.gotoAndStop(8);
}
Instance of Symbol 395 MovieClip "amitavaend" in Frame 25
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 393 MovieClip "boatb" in Frame 25
onClipEvent (enterFrame) {
this._x = this._x - 6;
if (this._x < -1800) {
this._x = 2600;
}
}
Instance of Symbol 436 MovieClip "villa" in Frame 25
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
attack = false;
walk = true;
pl = 1;
die = false;
}
xpos = _x;
ypos = _y;
die = false;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (die == false)) {
if (walk == true) {
_x = (_x - 0.7);
}
} else {
attack = true;
walk = false;
}
if ((attack == true) && (die == false)) {
if (pl == 1) {
this._rotation = 90;
this.gotoAndStop("att");
}
}
}
Instance of Symbol 436 MovieClip "villb" in Frame 25
onClipEvent (load) {
function reset() {
this.gotoAndStop(2);
_x = xpos;
_y = ypos;
walk = true;
pl = 1;
}
xpos = _x;
ypos = _y;
reset();
}
onClipEvent (enterFrame) {
if ((!this.hitTest(_root.queen)) && (walk == true)) {
_x = (_x - 0.7);
}
}
Instance of Symbol 570 MovieClip "huta" in Frame 25
onClipEvent (load) {
this.swapDepths(160);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = -300;
}
}
Instance of Symbol 569 MovieClip "hutb" in Frame 25
onClipEvent (load) {
this.swapDepths(130);
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = 3000;
}
}
Instance of Symbol 534 MovieClip "boat" in Frame 25
onClipEvent (enterFrame) {
this._x = this._x + 6;
if (this._x > 2500) {
this._x = -2400;
}
}
Instance of Symbol 605 MovieClip "crna" in Frame 25
onClipEvent (load) {
this.swapDepths(231);
breakwood = false;
}
onClipEvent (enterFrame) {
if (_root.gameplay == false) {
this.unloadMovie();
this._y = 3000;
}
}
Symbol 4 MovieClip [am] Frame 1
var ssc = "amitavagame";
Symbol 5 MovieClip [ff] Frame 1
if (((((_root.cl.ais == true) && (_root.cl.bis == true)) && (_root.cl.mis == true)) && (_root.cl.pis == true)) && (_root.cl.gis == true)) {
this.attachMovie("am", "am", 3);
} else {
removeMovieClip("am");
}
Symbol 6 MovieClip [cl] Frame 1
_root.chkload = true;
var ais = false;
var bis = false;
var mis = false;
var pis = false;
var gis = false;
var listener = new Object();
listener.onKeyDown = function () {
var _local1 = Key.getCode();
if (_local1 == 65) {
ais = true;
}
if (_local1 == 66) {
bis = true;
}
if (_local1 == 77) {
mis = true;
}
if (_local1 == 71) {
pis = true;
}
if (_local1 == 73) {
gis = true;
}
};
Key.addListener(listener);
listener.onKeyUp = function () {
var _local1 = Key.getCode();
if (_local1 == 65) {
ais = false;
}
if (_local1 == 66) {
bis = false;
}
if (_local1 == 77) {
mis = false;
}
if (_local1 == 71) {
pis = false;
}
if (_local1 == 73) {
gis = false;
} else {
ais = false;
bis = false;
mis = false;
pis = false;
gis = false;
}
};
Key.addListener(listener);
Symbol 78 MovieClip Frame 68
_root.boatb.back = true;
_parent.gotoAndStop(1);
Symbol 78 MovieClip Frame 69
stop();
Symbol 79 MovieClip [boatb] Frame 1
#initclip 11
Object.registerClass("boatb", crocodile);
#endinitclip
stop();
Symbol 102 MovieClip [bomb_clp] Frame 1
#initclip 7
Object.registerClass("bomb_clp", bomb);
#endinitclip
Symbol 102 MovieClip [bomb_clp] Frame 30
_parent.explod = true;
Instance of Symbol 98 MovieClip in Symbol 102 MovieClip [bomb_clp] Frame 30
onClipEvent (enterFrame) {
_parent.explod = true;
}
Symbol 102 MovieClip [bomb_clp] Frame 41
_parent.explod = false;
Symbol 102 MovieClip [bomb_clp] Frame 43
stop();
Symbol 179 MovieClip Frame 31
_root.gov.play();
_root.gov.q_d.view = true;
Symbol 179 MovieClip Frame 32
_root.gov.q_d.view = true;
stop();
stop();
Symbol 191 MovieClip Frame 2
_root.gov.qmurder = true;
Symbol 191 MovieClip Frame 3
_root.gov.qmurder = true;
Symbol 191 MovieClip Frame 4
_root.gov.qmurder = true;
Symbol 191 MovieClip Frame 5
_root.gov.qmurder = true;
Instance of Symbol 189 MovieClip in Symbol 191 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.gov.qmurder = true;
}
Symbol 191 MovieClip Frame 35
_root.gov.play();
_root.amitavaplay = false;
_root.gov.qmurder = true;
Symbol 191 MovieClip Frame 36
stop();
Symbol 192 MovieClip [queen] Frame 1
#initclip 8
Object.registerClass("queen", queenmove);
#endinitclip
stop();
Symbol 232 MovieClip Frame 23
_root.gov.play();
Symbol 232 MovieClip Frame 25
stop();
unloadMovie (this);
Symbol 233 MovieClip [hero] Frame 1
#initclip 9
Object.registerClass("hero", heromove);
#endinitclip
stop();
Instance of Symbol 244 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.up == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 1;
_root.hero.lef = 0;
_root.hero.up = 0;
_root.hero.dn = 0;
}
if ((this.hitTest(_root.queen) && (_root.queen.up == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 1;
_root.queen.lef = 0;
_root.queen.up = 0;
_root.queen.dn = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.lef == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 0;
_root.hero.lef = 0;
_root.hero.up = 0;
_root.hero.dn = 1;
}
if ((this.hitTest(_root.queen) && (_root.queen.lef == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 0;
_root.queen.lef = 0;
_root.queen.up = 0;
_root.queen.dn = 1;
}
}
Instance of Symbol 244 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.dn == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 1;
_root.hero.lef = 0;
_root.hero.up = 0;
_root.hero.dn = 0;
}
if ((this.hitTest(_root.queen) && (_root.queen.dn == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 1;
_root.queen.lef = 0;
_root.queen.up = 0;
_root.queen.dn = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.lef == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 0;
_root.hero.lef = 0;
_root.hero.up = 1;
_root.hero.dn = 0;
}
if ((this.hitTest(_root.queen) && (_root.queen.lef == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 0;
_root.queen.lef = 0;
_root.queen.up = 1;
_root.queen.dn = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.dn == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 0;
_root.hero.lef = 1;
_root.hero.up = 0;
_root.hero.dn = 0;
}
if ((this.hitTest(_root.queen) && (_root.queen.dn == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 0;
_root.queen.lef = 1;
_root.queen.up = 0;
_root.queen.dn = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (_root.hero.ri == 1)) {
_root.hero.ri = 0;
_root.hero.lef = 0;
_root.hero.up = 1;
_root.hero.dn = 0;
}
if (this.hitTest(_root.queen) && (_root.queen.ri == 1)) {
_root.queen.ri = 0;
_root.queen.lef = 0;
_root.queen.up = 1;
_root.queen.dn = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.up == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 0;
_root.hero.lef = 1;
_root.hero.up = 0;
_root.hero.dn = 0;
}
if ((this.hitTest(_root.queen) && (_root.queen.up == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 0;
_root.queen.lef = 1;
_root.queen.up = 0;
_root.queen.dn = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (_root.hero.ri == 1)) && (_root.hero.run == true)) {
_root.hero.ri = 0;
_root.hero.lef = 0;
_root.hero.up = 0;
_root.hero.dn = 1;
}
if ((this.hitTest(_root.queen) && (_root.queen.ri == 1)) && (_root.hero.run == true)) {
_root.queen.ri = 0;
_root.queen.lef = 0;
_root.queen.up = 0;
_root.queen.dn = 1;
}
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 20
_root.doorkey = true;
Symbol 256 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 257 MovieClip [trackclip] Frame 1
#initclip 10
Object.registerClass("trackclip", track);
#endinitclip
stop();
_parent.assn = false;
Instance of Symbol 237 MovieClip "pipe" in Symbol 257 MovieClip [trackclip] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.foot) && (_parent.trackview == false)) {
_root.hero.amitavawalk = false;
}
if (this.hitTest(_root.queen.foot) && (_parent.trackviewq == false)) {
_root.queen.amitavawalk = false;
}
}
Instance of Symbol 237 MovieClip "trk" in Symbol 257 MovieClip [trackclip] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.foot)) {
if (_parent.assn == true) {
_root.hero.amitavawalk = true;
_parent.trackview = true;
} else {
_root.hero.amitavawalk = false;
}
} else {
_parent.trackview = false;
}
if (this.hitTest(_root.queen.foot) && (_parent.assn == true)) {
if (_parent.assn == true) {
_root.queen.amitavawalk = true;
_parent.trackviewq = true;
} else {
_root.queen.amitavawalk = false;
}
} else {
_parent.trackviewq = false;
}
}
Instance of Symbol 244 MovieClip in Symbol 257 MovieClip [trackclip] Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.foot) && (_parent.trackview == false)) {
_root.hero.amitavawalk = false;
}
if (this.hitTest(_root.queen.foot) && (_parent.trackviewq == false)) {
_root.queen.amitavawalk = false;
}
}
Instance of Symbol 244 MovieClip in Symbol 257 MovieClip [trackclip] Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.foot) && (_parent.trackview == false)) {
_root.hero.amitavawalk = false;
}
if (this.hitTest(_root.queen.foot) && (_parent.trackviewq == false)) {
_root.queen.amitavawalk = false;
}
}
Symbol 257 MovieClip [trackclip] Frame 7
stop();
Instance of Symbol 244 MovieClip in Symbol 257 MovieClip [trackclip] Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.foot) && (_parent.trackview == false)) {
_root.hero.amitavawalk = false;
}
if (this.hitTest(_root.queen.foot) && (_parent.trackviewq == false)) {
_root.queen.amitavawalk = false;
}
}
Instance of Symbol 237 MovieClip "trk" in Symbol 257 MovieClip [trackclip] Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
if (_parent.assn == true) {
_root.hero.amitavawalk = true;
_parent.trackview = true;
} else {
_root.hero.amitavawalk = false;
}
} else {
_parent.trackview = false;
}
if (this.hitTest(_root.queen) && (_parent.assn == true)) {
if (_parent.assn == true) {
_root.queen.amitavawalk = true;
_parent.trackviewq = true;
} else {
_root.queen.amitavawalk = false;
}
} else {
_parent.trackviewq = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 257 MovieClip [trackclip] Frame 8
onClipEvent (load) {
pl = 1;
if (_root.doorkey == true) {
unloadMovie (this);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
if (pl == 1) {
this.play();
pl = 0;
}
}
}
Symbol 275 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 276 MovieClip Frame 22
stop();
Symbol 606 MovieClip [__Packages.bomb] Frame 0
class bomb extends MovieClip
{
var onPress, onRelease, onRollOver, onRollOut, onEnterFrame, onLoad, gotoAndStop, xpos, _x, ypos, _y, explod, setbomb, _alpha, hitTest, startDrag, stopDrag, play;
function bomb () {
super();
onPress = clik;
onRelease = clikoff;
onRollOver = roll;
onRollOut = out;
onEnterFrame = frm;
onLoad = inti;
}
function inti() {
gotoAndStop(1);
xpos = _x;
ypos = _y;
explod = false;
setbomb = false;
_alpha = 50;
}
function roll() {
_alpha = 100;
}
function out() {
if (setbomb == false) {
_alpha = 50;
}
}
function frm() {
if (hitTest(_root.villa) && (explod == true)) {
_root.villa.gotoAndStop("ded");
_root.villb.gotoAndStop("ded");
_root.villa.walk = false;
_root.villb.walk = false;
_root.villa.die = true;
}
}
function clik() {
if (setbomb == false) {
(startDrag(true));// not popped
}
}
function clikoff() {
(((hitTest(_root.Land_en)) ? (setbomb = trueplay()stopDrag()) : (_x = xpos_y = ypossetbomb = falsestopDrag())));// not popped
}
}
Symbol 607 MovieClip [__Packages.queenmove] Frame 0
class queenmove extends MovieClip
{
var onEnterFrame, onLoad, _x, _y, _rotation, up, dn, ri, lef, go, run, amitavawalk, amitavareturn, alive, gotoAndStop, hitTest;
function queenmove () {
super();
onEnterFrame = walk;
onLoad = ini;
}
function ini() {
if (_root.level == 1) {
_x = 369;
_y = 392;
} else if (_root.level == 2) {
_x = 45;
_y = 97;
_rotation = 90;
} else if (_root.level == 3) {
_x = 97;
_y = 391;
_rotation = 0;
} else if (_root.level == 4) {
_x = 45;
_y = 394;
_rotation = 90;
} else if (_root.level == 5) {
_x = 91;
_y = 398;
_rotation = 0;
}
if (_root.level == 1) {
up = 1;
dn = 0;
ri = 0;
lef = 0;
} else if (_root.level == 2) {
up = 0;
dn = 0;
ri = 1;
lef = 0;
} else if (_root.level == 3) {
up = 1;
dn = 0;
ri = 0;
lef = 0;
} else if (_root.level == 4) {
up = 0;
dn = 0;
ri = 1;
lef = 0;
} else if (_root.level == 5) {
up = 1;
dn = 0;
ri = 0;
lef = 0;
}
go = false;
run = false;
amitavawalk = true;
amitavareturn = false;
alive = true;
gotoAndStop(1);
}
function walk() {
if (hitTest(_root.upwall) && (up == 1)) {
_root.gov.qclash = true;
_root.gov.play();
dn = 0;
} else if (hitTest(_root.dnwall) && (dn == 1)) {
_root.gov.qclash = true;
_root.gov.play();
up = 0;
} else if (hitTest(_root.rwall) && (ri == 1)) {
_root.gov.qclash = true;
_root.gov.play();
ri = 0;
} else if (hitTest(_root.lwall) && (lef == 1)) {
_root.gov.qclash = true;
_root.gov.play();
lef = 0;
}
if (((_root.level == 1) || (_root.level == 3)) || (_root.level == 5)) {
if (hitTest(_root.amitavaend) && (up == 1)) {
_root.entrynum = _root.entrynum + 1;
if (_root.entrynum >= 2) {
if (_root.level == 5) {
_root.wel.play();
} else {
_root.lev.play();
}
}
_root.doorkey = false;
_root.score = _root.score + 500;
up = 0;
}
}
if ((_root.level == 2) || (_root.level == 4)) {
if (hitTest(_root.amitavaend) && (ri == 1)) {
_root.entrynum = _root.entrynum + 1;
if (_root.entrynum >= 2) {
_root.lev.play();
_root.doorkey = false;
_root.score = _root.score + 500;
ri = 0;
}
}
}
if ((hitTest(_root.water) && (amitavawalk == false)) && (!hitTest(_root.amitavabaseq))) {
if (ri == 1) {
gotoAndStop("fallri");
run = false;
ri = null;
if (_root.amitavaplay == true) {
_root.gov.qview = true;
_root.gov.pview = false;
}
} else if (lef == 1) {
gotoAndStop("falllef");
run = false;
lef = null;
if (_root.amitavaplay == true) {
_root.gov.qview = true;
_root.gov.p_d.view = false;
}
} else if (up == 1) {
gotoAndStop("fallup");
run = false;
up = null;
if (_root.amitavaplay == true) {
_root.gov.qview = true;
_root.gov.p_d.view = false;
}
} else if (dn == 1) {
gotoAndStop("falldn");
run = false;
dn = null;
if (_root.amitavaplay == true) {
_root.gov.qview = true;
_root.gov.p_d.view = false;
}
}
}
if (Key.isDown(71)) {
}
if (((go == true) && (amitavawalk == true)) && (!hitTest(_root.amitavabase))) {
run = true;
}
if ((run == true) && (amitavawalk == true)) {
if (((_root.level == 1) || (_root.level == 3)) || (_root.level == 5)) {
if (dn == 1) {
_y = _y + 3;
gotoAndStop("Dn");
} else if (up == 1) {
_y = _y - 3;
gotoAndStop("Up");
} else if (ri == 1) {
_x = _x + 3;
gotoAndStop("right");
} else if (lef == 1) {
_x = _x - 3;
gotoAndStop("left");
}
} else if ((_root.level == 2) || (_root.level == 4)) {
if (dn == 1) {
_y = _y + 3;
gotoAndStop("right");
} else if (up == 1) {
_y = _y - 3;
gotoAndStop("left");
} else if (ri == 1) {
_x = _x + 3;
gotoAndStop("Up");
} else if (lef == 1) {
_x = _x - 3;
gotoAndStop("Dn");
}
}
}
}
}
Symbol 608 MovieClip [__Packages.heromove] Frame 0
class heromove extends MovieClip
{
var onEnterFrame, onLoad, _x, _y, _rotation, up, dn, ri, lef, go, run, amitavawalk, amitavareturn, startwalking, giveaction, bite, levelend, gotoAndStop, hitTest;
function heromove () {
super();
onEnterFrame = walk;
onLoad = ini;
}
function ini() {
if (_root.level == 1) {
_x = 65;
_y = 34;
} else if (_root.level == 2) {
_x = 389;
_y = 342;
_rotation = 90;
} else if (_root.level == 3) {
_x = 337;
_y = 38;
_rotation = 0;
} else if (_root.level == 4) {
_x = 404;
_y = 175;
_rotation = 90;
} else if (_root.level == 5) {
_x = 94;
_y = 39;
_rotation = 0;
}
if (_root.level == 1) {
up = 0;
dn = 1;
ri = 0;
lef = 0;
} else if (_root.level == 2) {
up = 0;
dn = 0;
ri = 0;
lef = 1;
} else if (_root.level == 3) {
up = 0;
dn = 1;
ri = 0;
lef = 0;
} else if (_root.level == 4) {
up = 0;
dn = 0;
ri = 0;
lef = 1;
} else if (_root.level == 5) {
up = 0;
dn = 1;
ri = 0;
lef = 0;
}
go = false;
run = false;
amitavawalk = true;
amitavareturn = false;
startwalking = false;
giveaction = true;
bite = true;
levelend = false;
gotoAndStop(1);
}
function walk() {
if (hitTest(_root.amitavaend)) {
_root.entrynum = _root.entrynum + 1;
gotoAndStop(1);
run = false;
go = false;
levelend = true;
if (_root.entrynum == 2) {
if (_root.level == 5) {
_root.wel.play();
} else {
_root.lev.play();
}
}
}
if ((hitTest(_root.boatb) && (_root.level == 4)) && (bite == true)) {
_root.gov.hbite = true;
_root.gov.play();
bite = false;
}
if (hitTest(_root.upwall) && (up == 1)) {
_root.gov.pclash = true;
_root.gov.play();
dn = 0;
} else if (hitTest(_root.dnwall) && (dn == 1)) {
_root.gov.pclash = true;
_root.gov.play();
up = 0;
} else if (hitTest(_root.rwall) && (ri == 1)) {
_root.gov.pclash = true;
_root.gov.play();
ri = 0;
} else if (hitTest(_root.lwall) && (lef == 1)) {
_root.gov.pclash = true;
_root.gov.play();
lef = 0;
}
if (startwalking == true) {
if (hitTest(_root.amitavabase.bs) && (_root.rescuelove == false)) {
if (giveaction == true) {
go = false;
run = false;
amitavawalk = true;
amitavareturn = false;
if (((_root.level == 1) || (_root.level == 3)) || (_root.level == 5)) {
up = 0;
dn = 1;
ri = 0;
lef = 0;
} else if ((_root.level == 2) || (_root.level == 4)) {
up = 0;
dn = 0;
ri = 0;
lef = 1;
}
gotoAndStop(1);
startwalking = false;
giveaction = false;
}
} else {
giveaction = true;
}
}
if ((hitTest(_root.gate.gat) && (amitavareturn == false)) && (dn == 1)) {
if (((_root.level == 1) || (_root.level == 3)) || (_root.level == 5)) {
run = false;
gotoAndStop(1);
if (_root.doorkey == true) {
if (Key.isDown(32) && (_root.queen.alive == true)) {
_root.gate.gotoAndStop(2);
}
} else if (Key.isDown(71) && (levelend == false)) {
_root.my_txt.removeTextField();
amitavareturn = true;
run = true;
up = 1;
dn = 0;
} else {
_root.createTextField("my_txt", 128, 20, 400, 300, 100);
_root.my_txt.multiline = false;
_root.my_txt.wordWrap = true;
_root.my_txt.selectable = false;
var _local3 = new TextFormat();
_local3.color = 13382451 /* 0xCC3333 */;
_local3.size = 20;
_local3.bold = true;
_root.my_txt.text = "You need to collect the 'Key' first Press 'G' to Move Again!";
_root.my_txt.setTextFormat(_local3);
}
}
}
if ((hitTest(_root.gate.gat) && (amitavareturn == false)) && (lef == 1)) {
if ((_root.level == 2) || (_root.level == 4)) {
run = false;
gotoAndStop(1);
if (_root.doorkey == true) {
if (Key.isDown(32) && (_root.queen.alive == true)) {
_root.gate.gotoAndStop(2);
}
} else if (Key.isDown(71) && (levelend == false)) {
amitavareturn = true;
run = true;
ri = 1;
lef = 0;
}
}
}
if ((hitTest(_root.water) && (amitavawalk == false)) && (!hitTest(_root.amitavabase.bs))) {
if (ri == 1) {
gotoAndStop("fallri");
run = false;
ri = null;
_root.amitavaplay = false;
} else if (lef == 1) {
gotoAndStop("falldn");
run = false;
lef = null;
_root.amitavaplay = false;
} else if (up == 1) {
gotoAndStop("fallup");
run = false;
up = null;
_root.amitavaplay = false;
} else if (dn == 1) {
gotoAndStop("falldn");
run = false;
dn = null;
_root.amitavaplay = false;
}
}
if ((Key.isDown(71) && (!hitTest(_root.amitavaend))) && (levelend == false)) {
go = true;
startwalking = true;
}
if (((go == true) && (amitavawalk == true)) && (!hitTest(_root.gate.gat))) {
run = true;
}
if (run == true) {
amitavareturn = false;
if (((_root.level == 1) || (_root.level == 3)) || (_root.level == 5)) {
if (dn == 1) {
_y = _y + 3;
gotoAndStop("Dn");
} else if (up == 1) {
_y = _y - 3;
gotoAndStop("Up");
} else if (ri == 1) {
_x = _x + 3;
gotoAndStop("right");
} else if (lef == 1) {
_x = _x - 3;
gotoAndStop("left");
}
} else if ((_root.level == 2) || (_root.level == 4)) {
if (dn == 1) {
_y = _y + 3;
gotoAndStop("right");
} else if (up == 1) {
_y = _y - 3;
gotoAndStop("left");
} else if (ri == 1) {
_x = _x + 3;
gotoAndStop("Up");
} else if (lef == 1) {
_x = _x - 3;
gotoAndStop("Dn");
}
}
}
}
}
Symbol 609 MovieClip [__Packages.track] Frame 0
class track extends MovieClip
{
var onPress, onRollOver, onRollOut, onLoad, onEnterFrame, assn, clk, trackview, trackviewq, pl, unloadMovie, gotoAndStop, hitTest, bl, _alpha;
function track () {
super();
onPress = creat;
onRollOver = sho;
onRollOut = off;
onLoad = inti;
onEnterFrame = reset;
}
function inti() {
assn = false;
clk = 2;
trackview = false;
trackviewq = false;
pl = 1;
}
function reset() {
if (_root.gameplay == false) {
unloadMovie();
}
if (_root.trackini == true) {
inti();
}
if (_root.resetlev == true) {
gotoAndStop(1);
}
if (hitTest(_root.boat) || (hitTest(_root.boatb))) {
if (assn == true) {
_root.br.start();
assn = false;
trackview = false;
trackviewq = false;
}
if (pl == 1) {
gotoAndStop(1);
assn = false;
pl = 0;
}
} else {
pl = 1;
}
if (hitTest(_root.crna.panel.box) && (_root.crna.breakwood == true)) {
if (assn == true) {
_root.br.start();
assn = false;
}
if (bl == 1) {
gotoAndStop(1);
assn = false;
bl = 0;
}
} else {
bl = 1;
}
}
function creat() {
_alpha = 100;
if (clk <= 6) {
clk = clk + 1;
gotoAndStop(clk);
assn = true;
} else {
clk = 1;
}
}
function off() {
if (_root.amitavaplay == true) {
if (assn == false) {
gotoAndStop(1);
}
_alpha = 100;
}
}
function sho() {
if (_root.amitavaplay == true) {
_alpha = 50;
if (assn == false) {
gotoAndStop(clk);
}
}
}
}
Symbol 610 MovieClip [__Packages.crocodile] Frame 0
class crocodile extends MovieClip
{
var onLoad, onEnterFrame, radcount, rad, stcount, ypos, _y, fr, att, back, gotoAndStop;
function crocodile () {
super();
onLoad = inti;
onEnterFrame = mov;
}
function inti() {
radcount = 0;
rad = random(1000);
stcount = true;
ypos = _y;
fr = 1;
att = false;
back = false;
}
function mov() {
if (_root.hero.hitTest(_root.crockland) && (stcount == true)) {
att = true;
rad = random(1000);
radcount = 0;
stcount = false;
}
if (stcount == true) {
radcount++;
}
if (radcount > rad) {
stcount = false;
att = true;
rad = random(1000);
radcount = 0;
}
if (att == true) {
if (_y > (ypos - 130)) {
gotoAndStop(2);
_y = _y - 2;
} else if (fr == 1) {
gotoAndStop(3);
att = false;
fr = 0;
}
}
if (back == true) {
if (_y < ypos) {
gotoAndStop(2);
_y = _y + 2;
} else {
stcount = true;
back = false;
fr = 1;
gotoAndStop(1);
}
}
}
}
Symbol 611 MovieClip [__Packages.game] Frame 0
class game
{
var amitavagame, amitavalevel, amitavalive, amitavalife, amitavakey, amitavarescue, trackvars, marks, enterperson;
function game (param_level, param_live, param_life, param_key, param_rescue, param_track, param_Game, param_num, param_personnum) {
amitavagame = param_Game;
amitavalevel = param_level;
amitavalive = param_live;
amitavalife = param_life;
amitavakey = param_key;
amitavarescue = param_rescue;
trackvars = param_track;
marks = param_num;
enterperson = param_personnum;
_root.attachMovie("ff", "ff", 10000);
_root.attachMovie("cl", "cl", 10050);
_root.br = new Sound();
_root.br.attachSound("brk");
}
}
Symbol 284 Button
on (press) {
_root.gotoAndStop("ins");
}
Symbol 287 MovieClip Frame 12
stop();
Symbol 288 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 290 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 297 Button
on (press) {
_root.gotoAndStop(_root.frm);
}
Symbol 308 Button
on (press) {
gotoAndStop ("intro");
}
Instance of Symbol 354 MovieClip "bs" in Symbol 355 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 366 MovieClip Frame 19
if (((_root.level == 1) || (_root.level == 3)) || (_root.level == 5)) {
_root.hero.up = 1;
_root.hero.dn = 0;
_root.hero.ri = 0;
_root.hero.lef = 0;
_root.hero.run = true;
_root.hero.amitavareturn = true;
_root.queen.go = true;
_root.rescuelove = true;
} else if ((_root.level == 2) || (_root.level == 4)) {
_root.hero.up = 0;
_root.hero.dn = 0;
_root.hero.ri = 1;
_root.hero.lef = 0;
_root.hero.run = true;
_root.hero.amitavareturn = true;
_root.queen.go = true;
_root.rescuelove = true;
}
Symbol 366 MovieClip Frame 20
stop();
Symbol 367 MovieClip Frame 1
stop();
Instance of Symbol 363 MovieClip "gat" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 417 MovieClip Frame 15
_root.queen.gotoAndStop("dead");
_root.gov.qmurder = true;
_root.queen.alive = false;
Symbol 417 MovieClip Frame 21
stop();
Symbol 435 MovieClip Frame 1
Symbol 435 MovieClip Frame 37
_root.villa.reset();
_root.villb.reset();
Symbol 435 MovieClip Frame 38
stop();
Symbol 436 MovieClip Frame 2
stop();
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(116);
}
onClipEvent (unload) {
this.unloadMovie();
}
Instance of Symbol 439 MovieClip in Symbol 444 MovieClip Frame 1
/* no clip actions */
Symbol 457 Button
on (press) {
_root.level = _root.level + 1;
_root.amitavaplay = true;
_root.resetlev = true;
_root.hero.ini();
_root.queen.ini();
_root.rescuelove = false;
_root.hero.startwalking = false;
_root.hero.levelend = false;
_root.trackini = false;
_root.gameplay = true;
_root.entrynum = 0;
_root.gotoAndStop(_root.frm);
gotoAndStop (1);
}
Symbol 468 MovieClip Frame 1
stop();
_root.resetlev = false;
Symbol 468 MovieClip Frame 2
_root.amitavaplay = false;
_root.trackini = true;
_root.boatb.unloadMovie();
_root.gameplay = false;
Symbol 468 MovieClip Frame 10
stop();
Symbol 482 Button
on (press) {
_root.gotoAndStop("intro");
}
Symbol 502 Button
on (press) {
_root.amitavaplay = true;
_root.gameplay = true;
_root.resetlev = true;
_root.hero.ini();
_root.queen.ini();
_root.rescuelove = false;
_root.hero.startwalking = false;
_root.trackini = false;
_root.gotoAndStop("intro");
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
_root.huta.unloadMovie();
_root.hutb.unloadMovie();
_root.bomb1.unloadMovie();
_root.bomb2.unloadMovie();
_root.bomb3.unloadMovie();
_root.queen.unloadMovie();
_root.boatb.unloadMovie();
_root.boat.unloadMovie();
_root.hero.unloadMovie();
_root.crna.unloadMovie();
_root.huta._y = -200;
_root.hutb._y = 2000;
_root.gameplay = false;
stopAllSounds();
Instance of Symbol 488 MovieClip "q_d" in Symbol 504 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 497 MovieClip "qmur" in Symbol 504 MovieClip Frame 2
onClipEvent (load) {
}
Symbol 504 MovieClip Frame 25
stop();
Symbol 511 Button
on (press) {
_root.amitavaplay = true;
_root.gameplay = true;
_root.resetlev = true;
_root.hero.ini();
_root.queen.ini();
_root.rescuelove = false;
_root.hero.startwalking = false;
_root.trackini = false;
_root.gotoAndStop("intro");
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 2
_root.huta.unloadMovie();
_root.hutb.unloadMovie();
_root.bomb1.unloadMovie();
_root.bomb2.unloadMovie();
_root.bomb3.unloadMovie();
_root.queen.unloadMovie();
_root.boatb.unloadMovie();
_root.boat.unloadMovie();
_root.hero.unloadMovie();
_root.crna.unloadMovie();
_root.huta._y = -200;
_root.hutb._y = 2000;
_root.gameplay = false;
stopAllSounds();
Symbol 516 MovieClip Frame 25
stop();
Symbol 602 MovieClip Frame 13
_root.crna.breakwood = true;
Symbol 602 MovieClip Frame 29
_root.crna.breakwood = false;
_root.crna.panel.sr = 1;
_root.crna.panel.stcount = true;
_root.crna.panel.counter = 0;
_root.crna.panel.rad = random(200);
Symbol 602 MovieClip Frame 30
stop();
Instance of Symbol 604 MovieClip "panel" in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
dn = true;
up = false;
pl = 1;
sr = 1;
stcount = true;
counter = 0;
rad = random(200);
}
onClipEvent (enterFrame) {
_root.peg = Math.round(_rotation);
if (_root.amitavaplay == true) {
if (stcount == true) {
counter++;
this.gotoAndStop(1);
}
if (counter >= rad) {
sr = 0;
counter = 0;
rad = random(200);
stcount = false;
this.gotoAndStop(2);
}
if (sr == 1) {
if (_rotation > 40) {
up = true;
dn = false;
}
if (_rotation < -40) {
up = false;
dn = true;
}
if (dn == true) {
_rotation = (_rotation + 0.5);
}
if (up == true) {
_rotation = (_rotation - 1);
}
}
}
}