Frame 3
function reverseAction(mc, dest, skipframe) {
if (dest == undefined) {
dest = 1;
}
if (skipframe == undefined) {
skipframe = 1;
}
var Cpos = mc._currentframe;
_root.createEmptyMovieClip("emptyMc", _root.getNextHighestDepth());
emptyMc.onEnterFrame = function () {
Cpos = Cpos - skipframe;
if (Cpos < dest) {
Cpos = dest;
}
mc.gotoAndStop(Cpos);
if (Cpos == dest) {
this.removeMovieClip();
}
};
}
function setcolor() {
var _local1 = new Color(game.sadhu);
_local1.setTint(255, 0, 0, 14);
}
function unsetcolor() {
var _local1 = new Color(game.sadhu);
_local1.setTint(0, 0, 0, 0);
}
function ph1end() {
_root.play();
}
function checkstop() {
if (ph1) {
stop();
} else {
play();
}
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
trace(u + " Mochi tracker");
return(res);
}
function displayScores(mc) {
names = _root.topnickname.split(",");
scores = _root.topscore.split(",");
i = 0;
while (i <= 19) {
if (names[i] == undefined) {
names[i] = "";
}
if (scores[i] == undefined) {
scores[i] = "";
}
eval ((mc + ".n") + (i + 1)).text = names[i];
eval ((mc + ".p") + (i + 1)).text = scores[i];
i++;
}
}
function cancelSubmit(mc, useridframe) {
trace("cancelSubmit");
delete _root.send_lv.onLoad;
_root.skipsubmit = true;
mc.gotoAndStop(useridframe);
}
function _newUser() {
getURL (_root._registerurl, "_blank");
}
function _trackClickThru(mc) {
if (_root._allowclick) {
mc.hit_area.onRelease = function () {
getURL (_root._clickthru, "_blank");
};
} else {
mc.hit_area.useHandCursor = false;
}
}
function _resetUsername(txt) {
txt.onSetFocus = function () {
if ((this.text == _root._msgValid) or (this.text == "Connecting Error!")) {
this.text = "";
}
};
}
function _readSharedData() {
_root.so_uname = ((_root._sostatus.data.so_uname == undefined) ? "" : (_root._sostatus.data.so_uname));
_root.so_jumpframe = ((_root._sostatus.data.so_jumpframe == undefined) ? "" : (_root._sostatus.data.so_jumpframe));
_root.so_sound = ((_root._sostatus.data.so_sound == undefined) ? 1 : (_root._sostatus.data.so_sound));
_resetString = _root._sostatus.data.so_resetString;
trace("==========================");
trace((("_root.so_jumpframe : " + _root._sostatus.data.so_jumpframe) + " : ") + _root.so_uname);
if (_root.so_jumpframe != "") {
_assignValue(_resetString);
_root.createEmptyMovieClip("eye", _root.getNextHighestDepth());
_root.eye.onEnterFrame = function () {
if ((_root.getBytesTotal() == _root.getBytesLoaded()) and (_root.getBytesLoaded() > 50000)) {
_root.intro = 0;
_root._sostatus.data.so_jumpframe = "";
_root._sostatus.flush();
this.onEnterFrame = null;
_root.gotoAndStop(_root.so_jumpframe);
}
};
} else {
_root.intro = 1;
_root.play();
}
_root.uname = _root.so_uname;
_root.gamesound = _root.so_sound;
}
function _writeSharedData(jumpframe, jumpurl, _resetString) {
_root._sostatus.data.so_uname = ((_root.so_uname == undefined) ? "" : (_root.so_uname));
_root._sostatus.data.so_sound = _root.so_sound;
_root._sostatus.data.so_resetString = _resetString;
_root._sostatus.data.so_jumpframe = jumpframe;
_root._sostatus.flush();
if (jumpurl != "") {
getURL (jumpurl);
} else {
gotoAndPlay (1);
}
}
function _assignValue(_val) {
_arr = new Array();
_arr = _val.split("|");
i = 0;
while (i < (_arr.length / 2)) {
_var2 = ((i * 2) + 1) - 1;
_var3 = _var2 + 1;
_root[_arr[_var2]] = _arr[_var3];
i++;
}
}
function _playAgain(mc, jumpframe, _resetString) {
_root.so_uname = _root.uname;
if ((_root.gurl != undefined) and (_root.gurl != "")) {
_writeSharedData(jumpframe, _root.gurl, _resetString);
} else {
_root.intro = 0;
_assignValue(_resetString);
mc.gotoAndStop(jumpframe);
}
}
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
_root.life = 3;
_root.returnlev = false;
_root.shieldon = false;
_root.level = 1;
_root.score = 0;
var allSounds = new Sound();
_root.sadspeed = 35;
_root.endzedo_endtim = 15;
_root._ph1url = "http://c2.zedo.com/swf/c2/fa.swf?n=712&c=11&d=9";
_root._google_txt.text = "Gully Cricket";
_root._gameid = "1049";
_root._clickthru = "http://www.games2win.com";
_root._customer_id = "games2win";
_root.uname = "";
_root.submiturl = "/gamesubmit.asp";
_root.topnickname = [];
_root.topscore = [];
dataSubmit = function (myname, myscore, mygameid, destmc, useridframe, connframe, top10frame, _ord) {
trace("dataSubmit");
_root.skipsubmit = false;
myname = myname.trim();
_loc = eval (destmc);
if (((myname.length == 0) or (myname == "Invalid Nickname!")) or (myname == "Connecting Error!")) {
_root.uname = "Invalid Nickname!";
} else {
_root.send_lv = new LoadVars();
_root.send_lv.onLoad = function (success) {
if (success and (!_root.skipsubmit)) {
if (_root.send_lv.isreg == 0) {
_root.uname = "Invalid Nickname!";
_loc.gotoAndStop(useridframe);
} else if (_root.send_lv.isreg == 1) {
_root.topnickname = send_lv.topnicknames;
_root.topscore = send_lv.topscores;
_loc.gotoAndPlay(top10frame);
}
}
};
_root.send_lv.nickname = myname;
_root.send_lv.points = myscore;
_root.send_lv.gameid = mygameid;
_root.send_lv.order = _ord;
_root.send_lv.sendAndLoad(submiturl, _root.send_lv, "POST");
_loc.gotoAndPlay(connframe);
}
};
String.prototype.trim = function () {
var _local3 = 0;
var _local2 = this.length;
white = new Object();
white._32 = 1;
_local2--;
while (white["_" + ord(this.charAt(_local2))]) {
}
while (white["_" + ord(this.charAt(_local3++))]) {
}
return(this.slice(_local3 - 1, _local2 + 1));
};
_root._registerurl = "http://www.games2win.com/register.asp";
_root._allowclick = true;
var _sostatus = SharedObject.getLocal("gamestatus", "/");
_readSharedData();
Frame 8
stop();
Instance of Symbol 74 MovieClip in Frame 8
on (release) {
getURL ("http://www.games2win.com", "_blank");
}
Frame 12
stop();
Instance of Symbol 89 MovieClip in Frame 12
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
gotoAndStop(Math.round(percent));
if (loaded == total) {
_root.gotoAndPlay("lblgameintro");
}
}
Instance of Symbol 102 MovieClip in Frame 12
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 13
stop();
Frame 14
stop();
Frame 15
stop();
_root.rpower = 0;
_root.level = 1;
_root.dist = 50;
Frame 21
stop();
_root.level = 2;
_root.dist = 50;
Frame 26
stop();
_root.level = 3;
_root.dist = 50;
Frame 31
stop();
_root.level = 4;
_root.dist = 50;
Frame 36
stop();
stopAllSounds();
Frame 37
stop();
stopAllSounds();
Frame 44
stop();
cancel_btn.onRelease = function () {
_root.cancelCon = true;
_root.cancelSubmit(_root, "gameOver");
};
Frame 52
stop();
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.level = 1;
mystr = "level|" + _root.level;
_root._playAgain(_root, "lblgame", mystr);
};
Frame 59
_root.returnlev = true;
gotoAndStop(_root.lev);
Symbol 74 MovieClip Frame 100
stop();
_root.gotoAndStop("lblloader");
Symbol 89 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 102 MovieClip Frame 1
stop();
stop();
_root.allSounds.setVolume(100);
Symbol 102 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
_root.setcolor();
Symbol 105 MovieClip Frame 4
_root.unsetcolor();
Symbol 105 MovieClip Frame 6
_root.setcolor();
Symbol 105 MovieClip Frame 8
_root.unsetcolor();
Symbol 105 MovieClip Frame 10
_root.setcolor();
Symbol 105 MovieClip Frame 12
_root.unsetcolor();
Symbol 127 MovieClip Frame 86
stop();
Symbol 143 Button
on (release) {
pos = "h2p";
gotoAndPlay ("h2pstory");
}
Symbol 149 Button
on (release) {
pos = "story";
gotoAndPlay ("h2pstory");
}
Symbol 154 Button
on (release) {
_parent.gamestart = true;
_root.reverseAction(this, sa, 5);
}
Symbol 161 Button
on (release) {
_root.gotoAndStop("level1");
}
Symbol 166 Button
on (release) {
_root.reverseAction(this, 22);
}
Symbol 172 MovieClip Frame 1
this.gotoAndStop(_parent.pos);
Symbol 173 MovieClip Frame 1
if (_parent.gamestart) {
_root.reverseAction(_parent, sa, 5);
}
Symbol 173 MovieClip Frame 22
stop();
Symbol 173 MovieClip Frame 47
stop();
Symbol 174 MovieClip Frame 1
if (gamestart) {
_root.gotoAndStop("select");
}
Symbol 174 MovieClip Frame 99
stop();
Symbol 176 MovieClip Frame 1
hit = false;
this._alpha = 0;
Instance of Symbol 176 MovieClip "enemy2" in Symbol 178 MovieClip [base_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 178 MovieClip [base_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 178 MovieClip [base_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 179 MovieClip [wall6_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 179 MovieClip [wall6_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 179 MovieClip [wall6_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 179 MovieClip [wall6_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 180 MovieClip [wall5_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 181 MovieClip [wall4_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 181 MovieClip [wall4_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 181 MovieClip [wall4_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 181 MovieClip [wall4_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 182 MovieClip [wall3_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 182 MovieClip [wall3_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 182 MovieClip [wall3_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 183 MovieClip [wall2_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 183 MovieClip [wall2_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 184 MovieClip [wall1_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 184 MovieClip [wall1_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 184 MovieClip [wall1_lvl4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Symbol 205 MovieClip Frame 7
gotoAndPlay (1);
Symbol 205 MovieClip Frame 15
_parent.gotoAndStop(_parent._totalframes);
Symbol 207 MovieClip Frame 1
hit = false;
hit1 = false;
this.onEnterFrame = function () {
if (_root.game.sadhu.moskha.sadhu.hair.hair.hitTest(this) and (!hit)) {
hit = true;
_parent.snake.gotoAndPlay("die");
}
if ((this.hitTest(_root.game.sadhu.hit) and (!hit1)) and (!hit)) {
hit1 = true;
_root.health = _root.health - 5;
_root.game.panel.health.update();
}
};
Symbol 210 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
hit = false;
Instance of Symbol 212 MovieClip "enemy0" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 213 MovieClip [wall6_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 217 MovieClip [wall5_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 218 MovieClip [wall4_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy8" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 219 MovieClip [wall3_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy8" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 220 MovieClip [wall2_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 221 MovieClip [wall1_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy7" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy6" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 229 MovieClip [base_lvl2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 234 MovieClip [wall6] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 234 MovieClip [wall6] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 234 MovieClip [wall6] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Symbol 244 MovieClip Frame 11
gotoAndPlay (1);
Symbol 244 MovieClip Frame 12
play();
Symbol 244 MovieClip Frame 19
_parent.gotoAndStop(_parent._totalframes);
stop();
Symbol 246 MovieClip Frame 1
hit = false;
hit1 = false;
this.onEnterFrame = function () {
if (_root.game.sadhu.moskha.sadhu.hair.hair.hitTest(this) and (!hit)) {
hit = true;
_parent.snake.gotoAndPlay("die");
}
if ((this.hitTest(_root.game.sadhu.hit) and (!hit1)) and (!hit)) {
hit1 = true;
_root.game.panel.health.update();
}
};
Symbol 248 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 9
stop();
_parent.gotoAndStop(_parent._totalframes);
Symbol 258 MovieClip Frame 5
Symbol 259 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 8
gotoAndPlay (1);
Symbol 275 MovieClip Frame 17
stop();
_parent.gotoAndStop(_parent._totalframes);
Symbol 277 MovieClip Frame 1
stop();
no = random(3) + 1;
gotoAndStop(no);
Instance of Symbol 248 MovieClip in Symbol 277 MovieClip Frame 1
/* no clip actions */
Symbol 277 MovieClip Frame 2
stop();
Symbol 277 MovieClip Frame 3
stop();
Symbol 277 MovieClip Frame 4
stop();
Instance of Symbol 212 MovieClip "enemy4" in Symbol 278 MovieClip [wall5] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 278 MovieClip [wall5] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 278 MovieClip [wall5] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 278 MovieClip [wall5] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 278 MovieClip [wall5] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 278 MovieClip [wall5] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 280 MovieClip [wall4] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 280 MovieClip [wall4] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 280 MovieClip [wall4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 280 MovieClip [wall4] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 280 MovieClip [wall4] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 280 MovieClip [wall4] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 282 MovieClip [wall3] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy4" in Symbol 282 MovieClip [wall3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 282 MovieClip [wall3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 282 MovieClip [wall3] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 282 MovieClip [wall3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy5" in Symbol 282 MovieClip [wall3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy2" in Symbol 284 MovieClip [wall2] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy4" in Symbol 284 MovieClip [wall2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 176 MovieClip "enemy0" in Symbol 284 MovieClip [wall2] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy1" in Symbol 284 MovieClip [wall2] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy3" in Symbol 284 MovieClip [wall2] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 176 MovieClip "enemy5" in Symbol 284 MovieClip [wall2] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 286 MovieClip [wall1] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 286 MovieClip [wall1] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 286 MovieClip [wall1] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 286 MovieClip [wall1] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 286 MovieClip [wall1] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 286 MovieClip [wall1] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 294 MovieClip [base] Frame 1
onClipEvent (load) {
dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 294 MovieClip [base] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 294 MovieClip [base] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 294 MovieClip [base] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 294 MovieClip [base] Frame 1
onClipEvent (load) {
this.hit = false;
dir = "R";
}
Instance of Symbol 212 MovieClip "enemy5" in Symbol 294 MovieClip [base] Frame 1
onClipEvent (load) {
dir = "L";
}
Instance of Symbol 304 MovieClip in Symbol 305 MovieClip [wall5_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 305 MovieClip [wall5_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 305 MovieClip [wall5_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 305 MovieClip [wall5_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 305 MovieClip [wall5_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 304 MovieClip in Symbol 306 MovieClip [wall6_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 306 MovieClip [wall6_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 306 MovieClip [wall6_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 306 MovieClip [wall6_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 306 MovieClip [wall6_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 307 MovieClip [wall4_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 307 MovieClip [wall4_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 307 MovieClip [wall4_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 307 MovieClip [wall4_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 307 MovieClip [wall4_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 308 MovieClip [wall3_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 308 MovieClip [wall3_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 308 MovieClip [wall3_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 308 MovieClip [wall3_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 308 MovieClip [wall3_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 309 MovieClip [wall2_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy1" in Symbol 309 MovieClip [wall2_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 309 MovieClip [wall2_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy0" in Symbol 309 MovieClip [wall2_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 309 MovieClip [wall2_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy3" in Symbol 310 MovieClip [wall1_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Instance of Symbol 212 MovieClip "enemy2" in Symbol 310 MovieClip [wall1_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "L";
}
Instance of Symbol 212 MovieClip "enemy4" in Symbol 310 MovieClip [wall1_lvl3] Frame 1
onClipEvent (load) {
this.hit = false;
this.dir = "R";
}
Symbol 321 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this.var1 = "Easy";
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("level1");
}
Instance of Symbol 350 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this.var1 = "Medium";
this.gotoAndStop(2);
}
on (release) {
_root.gotoAndStop("level2");
}
Instance of Symbol 350 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this.var1 = "Hard";
this.gotoAndStop(3);
}
on (release) {
_root.gotoAndStop("level3");
}
Instance of Symbol 350 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this.var1 = "Very Hard";
this.gotoAndStop(4);
}
on (release) {
_root.gotoAndStop("level4");
}
Symbol 362 Button
on (release) {
nextFrame();
}
Symbol 372 MovieClip Frame 1
stop();
Instance of Symbol 372 MovieClip "health" in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
function update() {
if (_root.health > 100) {
_root.health = 100;
}
if (_root.health > 0) {
_root.colorto.play();
frame = Math.round(_root.health * tframe);
this.gotoAndStop(frame);
} else {
this.gotoAndStop(1);
if (!_root.gameover) {
_parent._parent.sadhu.moskha.gotoAndStop("dead");
_root.gameover = true;
}
}
}
total = this._totalframes;
tframe = total / 100;
this.gotoAndStop(total);
}
Instance of Symbol 387 MovieClip "progressbar" in Symbol 399 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 398 MovieClip "life" in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
function update() {
no = total - _root.life;
var i = 0;
while (i <= no) {
mc = eval ("this.life" + i);
mc._visible = false;
i++;
}
if (_root.life <= 0) {
_root.gotoAndStop("gameOver");
}
}
total = 3;
update();
}
Symbol 410 MovieClip Frame 1
stop();
_root.attack = false;
Symbol 421 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 6
_parent._parent._parent.nextFrame();
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 53
_root.shieldon = false;
Symbol 431 MovieClip Frame 55
_root.shieldon = true;
Symbol 437 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 16
_parent._parent._parent.gotoAndStop("win");
Symbol 438 MovieClip Frame 1
stop();
Instance of Symbol 431 MovieClip "masker" in Symbol 438 MovieClip Frame 1
onClipEvent (load) {
tfr = this._totalframes;
}
onClipEvent (enterFrame) {
fr = this._currentframe;
if ((fr > 0) and (fr <= tfr)) {
if (_parent._parent._parent.ismdown) {
fr++;
} else {
fr--;
}
}
_parent.sadhu.breath.gotoAndStop(fr);
this.gotoAndStop(fr);
if (fr == tfr) {
_parent._parent._parent.spower = 150;
}
}
Symbol 438 MovieClip Frame 2
stop();
mc.gotoAndPlay(2);
Symbol 438 MovieClip Frame 3
stop();
_parent._parent.moskha1.gotoAndPlay(2);
Symbol 441 MovieClip Frame 1
stop();
if (h) {
_root.gamestar = false;
moskha.gotoAndStop("dead");
}
Symbol 441 MovieClip Frame 65
_root.gamestar = true;
stop();
h = true;
Symbol 446 Button
on (release) {
_root.lev = "level1";
_root.gotoAndStop("reset");
}
Symbol 456 Button
on (release) {
_root.gotoAndStop("select");
}
Symbol 457 MovieClip Frame 1
stop();
if (_root.returnlev) {
_root.returnlev = false;
nextFrame();
}
_root._lvlgame = 1;
Symbol 457 MovieClip Frame 2
function moveWall() {
if (hitfit1 == 0) {
nam = record_arr[0];
fy = nam._y + speed;
if (fy >= 0) {
star = true;
} else if (fy <= 0) {
star = false;
}
if (star) {
if (tt >= sadhu._currentframe) {
fr = sadhu._currentframe + 1;
sadhu.gotoAndStop(fr);
}
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
} else if (speed <= 0) {
fr = sadhu._currentframe - 4;
if (fr < 0) {
sadhu.gotoAndStop(1);
} else {
sadhu.gotoAndStop(fr);
}
}
} else {
trace((("hit" + uphit) + " ") + speed);
if ((!uphit) and (speed >= 0)) {
trace("hello");
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
}
}
updateAfterEvent();
}
function makewall(no) {
depth++;
cr++;
lastwall.create = true;
attachname = wall_arr[cr - 1];
var _local1 = "wall" + depth;
if (attachname eq watch) {
wall_arr.push("wall1", "wall2", "wall3", "wall4", "wall5", "wall6");
}
_local1 = walls.attachMovie(attachname, _local1, depth);
var _local2 = record_arr.length;
record_arr[_local2] = _local1;
_local1.create = false;
_local1.create = false;
_local1._x = 0;
if (lastwall != undefined) {
_local1._y = (lastwall._y + 10) - lastwall._height;
}
lastwall = _local1;
if (depth == 3) {
depth = 0;
}
}
function controlsadhu() {
hitfit1 = 0;
hitwall = false;
uphit = false;
var i = 0;
while (i < record_arr.length) {
na = record_arr[i];
var j = 0;
while (j < 8) {
hit = eval ((na + ".enemy") + j);
if (hit.hitTest(this.sadhu.hit)) {
y1 = hit._y;
hitfit1 = 1;
y2 = this.sadhu._y + 262.5;
hitdir = hit.dir;
updo = hit.dir1;
hitwall = true;
if (!hit.hit) {
_root.health = _root.health - 10;
panel.health.update();
}
hit.hit = true;
}
if (hit.hitTest(this.sadhu.hit2)) {
uphit = true;
}
j++;
}
i++;
}
if (hitwall) {
canmove = false;
if (hitdir eq dir) {
canmove = true;
}
} else {
canmove = true;
}
hitwall = false;
if (_root.gamestar) {
moveWall();
var len = record_arr.length;
mox = sadhu._x;
if (ismdown) {
frame = sadhu.moskha.masker._currentframe;
if (speed < 0) {
speed = speed + 1;
} else if (speed > 0) {
speed = speed - 2;
}
} else if (!ismdown) {
if (spower > 0) {
spower = spower - 5;
if (speed < _root.sadspeed) {
speed = speed + 5;
}
distance = distance + 10;
} else if (speed > -15) {
speed = speed - 5;
}
if (!sadhu.h) {
sadhu.gotoAndStop(sadhu._currentframe - 1);
}
}
}
x = _xmouse;
x1 = sadhu._x;
if (((x1 < -280) and (x < -280)) or ((x1 > 280) and (x > 280))) {
hitwall = true;
}
if ((!hitwall) and canmove) {
sadhu._x = mox - ((mox - x) * 0.1);
}
updateAfterEvent();
}
stop();
dist = 0;
space = false;
_quality = "MEDIUM";
_root.health = 100;
this.panel.life.update();
_root.gameover = false;
var Cspeed = 10;
var record_arr = new Array();
var mouseListener = new Object();
var level = 1;
var depth = 0;
var speed = -2;
var distance = 0;
watch = "wall5";
var wall_arr = ["base", "wall1", "wall2", "wall3", "wall4", "wall5", "wall6"];
tt = sadhu._totalframes;
cr = 0;
makewall();
h = true;
Circlecompleted = false;
spower = 0;
speed = 0;
ii = 0;
_root.gamestar = false;
hitfit = 0;
var keyListener_obj = new Object();
mouseListener.onMouseDown = function () {
if (space) {
ismdown = true;
if (sadhu._currentframe == 1) {
sadhu.play();
_root.gamestar = true;
}
}
};
mouseListener.onMouseUp = function () {
if (space) {
ismdown = false;
}
};
_root.attack = false;
Mouse.addListener(mouseListener);
this.onEnterFrame = function () {
if (space) {
x = sadhu._x - _xmouse;
if (x > 0) {
dir = "L";
} else {
dir = "R";
}
if (Key.isDown(32) and (!_root.attack)) {
_root.attack = true;
sadhu.moskha.sadhu.hair.play();
}
controlsadhu();
}
};
Instance of Symbol 399 MovieClip "panel" in Symbol 457 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(101);
}
Instance of Symbol 441 MovieClip "sadhu" in Symbol 457 MovieClip Frame 2
onClipEvent (load) {
h = false;
}
Instance of Symbol 443 MovieClip "sidebanner" in Symbol 457 MovieClip Frame 2
on (release) {
_parent.space = true;
this._visible = false;
}
Symbol 457 MovieClip Frame 3
stop();
_quality = "High";
_root.score = dist;
clearInterval(int1);
Key.removeListener(keyListener_obj);
Mouse.removeListener(mouseListener);
removeMovieClip(this.panel);
panel._visible = false;
removeMovieClip(sadhu);
_root.rpower = 0;
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.life = 3;
mystr = "lev|level" + _root.level;
_root._playAgain(_root, "reset", mystr);
};
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 3
_parent.gotoAndPlay("int1");
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 9
_parent.gotoAndPlay("int1");
Symbol 474 Button
on (release) {
_root.lev = "level2";
_root.gotoAndStop("reset");
}
Symbol 475 MovieClip Frame 1
stop();
if (_root.returnlev) {
_root.returnlev = false;
nextFrame();
}
_root._lvlgame = 2;
Symbol 475 MovieClip Frame 2
function moveWall() {
if (hitfit1 == 0) {
nam = record_arr[0];
fy = nam._y + speed;
if (fy >= 0) {
star = true;
} else if (fy <= 0) {
star = false;
}
if (star) {
if (tt >= sadhu._currentframe) {
fr = sadhu._currentframe + 1;
sadhu.gotoAndStop(fr);
}
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
} else if (speed <= 0) {
fr = sadhu._currentframe - 4;
if (fr < 0) {
sadhu.gotoAndStop(1);
} else {
sadhu.gotoAndStop(fr);
}
}
} else {
trace((("hit" + uphit) + " ") + speed);
if ((!uphit) and (speed >= 0)) {
trace("hello");
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
}
}
updateAfterEvent();
}
function makewall(no) {
depth++;
cr++;
lastwall.create = true;
attachname = wall_arr[cr - 1];
var _local1 = "wall" + depth;
if (attachname eq watch) {
wall_arr.push("wall1_lvl2", "wall2_lvl2", "wall3_lvl2", "wall4_lvl2", "wall5_lvl2", "wall6_lvl2");
}
_local1 = walls.attachMovie(attachname, _local1, depth);
var _local2 = record_arr.length;
record_arr[_local2] = _local1;
_local1.create = false;
_local1.create = false;
_local1._x = 0;
if (lastwall != undefined) {
_local1._y = (lastwall._y + 10) - lastwall._height;
}
lastwall = _local1;
if (depth == 3) {
depth = 0;
}
}
function controlsadhu() {
hitfit1 = 0;
hitwall = false;
uphit = false;
var i = 0;
while (i < record_arr.length) {
na = record_arr[i];
var j = 0;
while (j < 8) {
hit = eval ((na + ".enemy") + j);
if (hit.hitTest(this.sadhu.hit)) {
y1 = hit._y;
hitfit1 = 1;
y2 = this.sadhu._y + 262.5;
hitdir = hit.dir;
updo = hit.dir1;
hitwall = true;
if (!hit.hit) {
_root.health = _root.health - 15;
panel.health.update();
}
hit.hit = true;
}
if (hit.hitTest(this.sadhu.hit2)) {
uphit = true;
}
j++;
}
i++;
}
if (hitwall) {
canmove = false;
if (hitdir eq dir) {
canmove = true;
}
} else {
canmove = true;
}
hitwall = false;
if (_root.gamestar) {
moveWall();
var len = record_arr.length;
mox = sadhu._x;
if (ismdown) {
frame = sadhu.moskha.masker._currentframe;
if (speed < 0) {
speed = speed + 1;
} else if (speed > 0) {
speed = speed - 2;
}
} else if (!ismdown) {
if (spower > 0) {
spower = spower - 5;
if (speed < _root.sadspeed) {
speed = speed + 5;
}
distance = distance + 10;
} else if (speed > -15) {
speed = speed - 5;
}
if (!sadhu.h) {
sadhu.gotoAndStop(sadhu._currentframe - 1);
}
}
}
x = _xmouse;
x1 = sadhu._x;
if (((x1 < -280) and (x < -280)) or ((x1 > 280) and (x > 280))) {
hitwall = true;
}
if ((!hitwall) and canmove) {
sadhu._x = mox - ((mox - x) * 0.1);
}
updateAfterEvent();
}
stop();
dist = 0;
_quality = "MEDIUM";
_root.health = 100;
this.panel.life.update();
_root.gameover = false;
var Cspeed = 10;
var record_arr = new Array();
var mouseListener = new Object();
var level = 1;
var depth = 0;
var speed = -2;
var distance = 0;
watch = "wall5_lvl2";
var wall_arr = ["base_lvl2", "wall1_lvl2", "wall2_lvl2", "wall3_lvl2", "wall4_lvl2", "wall5_lvl2", "wall6_lvl2"];
tt = sadhu._totalframes;
cr = 0;
makewall();
h = true;
Circlecompleted = false;
spower = 0;
speed = 0;
ii = 0;
_root.gamestar = false;
hitfit = 0;
var keyListener_obj = new Object();
mouseListener.onMouseDown = function () {
if (space) {
ismdown = true;
if (sadhu._currentframe == 1) {
sadhu.play();
_root.gamestar = true;
}
}
};
mouseListener.onMouseUp = function () {
if (space) {
ismdown = false;
}
};
_root.attack = false;
Mouse.addListener(mouseListener);
this.onEnterFrame = function () {
if (space) {
x = sadhu._x - _xmouse;
if (x > 0) {
dir = "L";
} else {
dir = "R";
}
if (Key.isDown(32) and (!_root.attack)) {
_root.attack = true;
sadhu.moskha.sadhu.hair.play();
}
controlsadhu();
}
};
Instance of Symbol 399 MovieClip "panel" in Symbol 475 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(101);
}
Instance of Symbol 441 MovieClip "sadhu" in Symbol 475 MovieClip Frame 2
onClipEvent (load) {
h = false;
}
Instance of Symbol 443 MovieClip "sidebanner" in Symbol 475 MovieClip Frame 2
on (release) {
_parent.space = true;
this._visible = false;
}
Symbol 475 MovieClip Frame 3
stop();
_quality = "HIGH";
_root.score = dist;
clearInterval(int1);
Key.removeListener(keyListener_obj);
Mouse.removeListener(mouseListener);
panel.removeMovieClip();
sadhu.removeMovieClip();
_root.rpower = 0;
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.life = 3;
mystr = "lev|level" + _root.level;
_root._playAgain(_root, "reset", mystr);
};
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 6
_parent.gotoAndPlay("int1");
Symbol 515 MovieClip Frame 3
_parent.gotoAndPlay("int1");
Symbol 533 MovieClip Frame 10
gotoAndPlay (1);
Symbol 533 MovieClip Frame 16
_parent.gotoAndPlay("int1");
Symbol 535 MovieClip Frame 1
stop();
Symbol 539 Button
on (release) {
_root.gotoAndStop("gameOver");
}
Symbol 540 Button
on (release) {
_root.lev = "level3";
_root.gotoAndStop("reset");
}
Symbol 541 MovieClip Frame 1
stop();
if (_root.returnlev) {
_root.returnlev = false;
nextFrame();
}
_root._lvlgame = 3;
Symbol 541 MovieClip Frame 2
function moveWall() {
if (hitfit1 == 0) {
nam = record_arr[0];
fy = nam._y + speed;
if (fy >= 0) {
star = true;
} else if (fy <= 0) {
star = false;
}
if (star) {
if (tt >= sadhu._currentframe) {
fr = sadhu._currentframe + 1;
sadhu.gotoAndStop(fr);
}
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
} else if (speed <= 0) {
fr = sadhu._currentframe - 4;
if (fr < 0) {
sadhu.gotoAndStop(1);
} else {
sadhu.gotoAndStop(fr);
}
}
} else {
trace((("hit" + uphit) + " ") + speed);
if ((!uphit) and (speedfff >= 0)) {
trace("hello");
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
}
}
updateAfterEvent();
}
function makewall(no) {
depth++;
cr++;
lastwall.create = true;
attachname = wall_arr[cr - 1];
var _local1 = "wall" + depth;
if (attachname eq watch) {
wall_arr.push("wall1_lvl3", "wall2_lvl3", "wall3_lvl3", "wall4_lvl3", "wall5_lvl3", "wall6_lvl3");
}
_local1 = walls.attachMovie(attachname, _local1, depth);
var _local2 = record_arr.length;
record_arr[_local2] = _local1;
_local1.create = false;
_local1.create = false;
_local1._x = 0;
if (lastwall != undefined) {
_local1._y = (lastwall._y + 10) - lastwall._height;
}
lastwall = _local1;
if (depth == 3) {
depth = 0;
}
}
function controlsadhu() {
hitfit1 = 0;
hitwall = false;
uphit = false;
var i = 0;
while (i < record_arr.length) {
na = record_arr[i];
var j = 0;
while (j < 8) {
hit = eval ((na + ".enemy") + j);
if (hit.hitTest(this.sadhu.hit)) {
y1 = hit._y;
hitfit1 = 1;
y2 = this.sadhu._y + 262.5;
hitdir = hit.dir;
updo = hit.dir1;
hitwall = true;
if (!hit.hit) {
_root.health = _root.health - 15;
panel.health.update();
}
hit.hit = true;
}
if (hit.hitTest(this.sadhu.hit2)) {
uphit = true;
}
j++;
}
i++;
}
if (hitwall) {
canmove = false;
if (hitdir eq dir) {
canmove = true;
}
} else {
canmove = true;
}
hitwall = false;
if (_root.gamestar) {
moveWall();
var len = record_arr.length;
mox = sadhu._x;
if (ismdown) {
frame = sadhu.moskha.masker._currentframe;
if (speed < 0) {
speed = speed + 1;
} else if (speed > 0) {
speed = speed - 2;
}
} else if (!ismdown) {
if (spower > 0) {
spower = spower - 5;
if (speed < _root.sadspeed) {
speed = speed + 5;
}
distance = distance + 10;
} else if (speed > -15) {
speed = speed - 5;
}
if (!sadhu.h) {
sadhu.gotoAndStop(sadhu._currentframe - 1);
}
}
}
x = _xmouse;
x1 = sadhu._x;
if (((x1 < -280) and (x < -280)) or ((x1 > 280) and (x > 280))) {
hitwall = true;
}
if ((!hitwall) and canmove) {
sadhu._x = mox - ((mox - x) * 0.1);
}
updateAfterEvent();
}
stop();
dist = 0;
_quality = "MEDIUM";
_root.health = 100;
this.panel.life.update();
_root.gameover = false;
var Cspeed = 10;
var record_arr = new Array();
var mouseListener = new Object();
var level = 1;
var depth = 0;
var speed = -2;
var distance = 0;
watch = "wall5_lvl3";
var wall_arr = ["base_lvl3", "wall1_lvl3", "wall2_lvl3", "wall3_lvl3", "wall4_lvl3", "wall5_lvl3", "wall6_lvl3"];
tt = sadhu._totalframes;
cr = 0;
makewall();
h = true;
Circlecompleted = false;
spower = 0;
speed = 0;
ii = 0;
_root.gamestar = false;
hitfit = 0;
var keyListener_obj = new Object();
mouseListener.onMouseDown = function () {
if (space) {
ismdown = true;
if (sadhu._currentframe == 1) {
sadhu.play();
_root.gamestar = true;
}
}
};
mouseListener.onMouseUp = function () {
if (space) {
ismdown = false;
}
};
_root.attack = false;
Mouse.addListener(mouseListener);
this.onEnterFrame = function () {
if (space) {
x = sadhu._x - _xmouse;
if (x > 0) {
dir = "L";
} else {
dir = "R";
}
if (Key.isDown(32) and (!_root.attack)) {
_root.attack = true;
sadhu.moskha.sadhu.hair.play();
}
controlsadhu();
}
};
Instance of Symbol 399 MovieClip "panel" in Symbol 541 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(101);
}
Instance of Symbol 443 MovieClip "sidebanner" in Symbol 541 MovieClip Frame 2
on (release) {
_parent.space = true;
this._visible = false;
}
Instance of Symbol 516 MovieClip in Symbol 541 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(100);
}
Symbol 541 MovieClip Frame 3
_quality = "HIGH";
stop();
_root.score = dist;
clearInterval(int1);
Key.removeListener(keyListener_obj);
Mouse.removeListener(mouseListener);
panel.removeMovieClip();
sadhu.removeMovieClip();
_root.rpower = 0;
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.life = 3;
mystr = "lev|level" + _root.level;
_root._playAgain(_root, "reset", mystr);
};
Symbol 542 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 7
_parent.gotoAndPlay("int1");
Symbol 553 MovieClip Frame 1
stop();
Symbol 553 MovieClip Frame 7
_parent.gotoAndPlay("int1");
Symbol 555 MovieClip Frame 1
stop();
Symbol 557 MovieClip Frame 1
stop();
Symbol 568 Button
on (release) {
_root.lev = "level4";
_root.gotoAndStop("reset");
}
Symbol 569 MovieClip Frame 1
stop();
if (_root.returnlev) {
_root.returnlev = false;
nextFrame();
}
_root._lvlgame = 4;
Symbol 569 MovieClip Frame 2
function moveWall() {
if (hitfit1 == 0) {
nam = record_arr[0];
fy = nam._y + speed;
if (fy >= 0) {
star = true;
} else if (fy <= 0) {
star = false;
}
if (star) {
if (tt >= sadhu._currentframe) {
fr = sadhu._currentframe + 1;
sadhu.gotoAndStop(fr);
}
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
} else if (speed <= 0) {
fr = sadhu._currentframe - 4;
if (fr < 0) {
sadhu.gotoAndStop(1);
} else {
sadhu.gotoAndStop(fr);
}
}
} else {
trace((((("hit" + uphit) + " ") + speed) + " ") + hitfit1);
if ((!uphit) and (speed >= 0)) {
trace("hello");
var _local1 = 0;
while (_local1 < record_arr.length) {
nam = record_arr[_local1];
nam._y = nam._y + speed;
dist = dist + Math.round(speed / 10);
checky = Math.round(speed);
if (checky < 0) {
} else {
if ((!nam.create) and (nam._y > -10)) {
nam.create = true;
makewall();
}
y = nam._height + 10;
if (nam._y > y) {
record_arr.splice(0, 1);
nam.removeMovieClip();
}
}
_local1++;
}
}
}
updateAfterEvent();
}
function makewall(no) {
depth++;
cr++;
lastwall.create = true;
attachname = wall_arr[cr - 1];
var _local1 = "wall" + depth;
if (attachname eq watch) {
wall_arr.push("wall1_lvl4", "wall2_lvl4", "wall3_lvl4", "wall4_lvl4", "wall5_lvl4", "wall6_lvl4");
}
_local1 = walls.attachMovie(attachname, _local1, depth);
var _local2 = record_arr.length;
record_arr[_local2] = _local1;
_local1.create = false;
_local1.create = false;
_local1._x = 0;
if (lastwall != undefined) {
_local1._y = (lastwall._y + 10) - lastwall._height;
}
lastwall = _local1;
if (depth == 3) {
depth = 0;
}
}
function controlsadhu() {
hitfit1 = 0;
hitwall = false;
uphit = false;
var i = 0;
while (i < record_arr.length) {
na = record_arr[i];
var j = 0;
while (j < 8) {
hit = eval ((na + ".enemy") + j);
if (hit.hitTest(this.sadhu.hit)) {
y1 = hit._y;
hitfit1 = 1;
y2 = this.sadhu._y + 262.5;
hitdir = hit.dir;
updo = hit.dir1;
hitwall = true;
if (!hit.hit) {
_root.health = _root.health - 20;
panel.health.update();
}
hit.hit = true;
}
if (hit.hitTest(this.sadhu.hit2)) {
uphit = true;
}
j++;
}
i++;
}
if (hitwall) {
canmove = false;
if (hitdir eq dir) {
canmove = true;
}
} else {
canmove = true;
}
hitwall = false;
if (_root.gamestar) {
moveWall();
var len = record_arr.length;
mox = sadhu._x;
if (ismdown) {
frame = sadhu.moskha.masker._currentframe;
if (speed < 0) {
speed = speed + 1;
} else if (speed > 0) {
speed = speed - 2;
}
} else if (!ismdown) {
if (spower > 0) {
spower = spower - 5;
if (speed < _root.sadspeed) {
speed = speed + 5;
}
distance = distance + 10;
} else if (speed > -15) {
speed = speed - 5;
}
if (!sadhu.h) {
sadhu.gotoAndStop(sadhu._currentframe - 1);
}
}
}
x = _xmouse;
x1 = sadhu._x;
if (((x1 < -280) and (x < -280)) or ((x1 > 280) and (x > 280))) {
hitwall = true;
}
if ((!hitwall) and canmove) {
sadhu._x = mox - ((mox - x) * 0.1);
}
updateAfterEvent();
}
stop();
dist = 0;
_quality = "MEDIUM";
_root.health = 100;
this.panel.life.update();
_root.gameover = false;
var Cspeed = 10;
var record_arr = new Array();
var mouseListener = new Object();
var level = 1;
var depth = 0;
var speed = -2;
var distance = 0;
watch = "wall5_lvl4";
var wall_arr = ["base_lvl4", "wall1_lvl4", "wall2_lvl4", "wall3_lvl4", "wall4_lvl4", "wall5_lvl4", "wall6_lvl4"];
tt = sadhu._totalframes;
cr = 0;
makewall();
h = true;
Circlecompleted = false;
spower = 0;
speed = 0;
ii = 0;
_root.gamestar = false;
hitfit = 0;
var keyListener_obj = new Object();
mouseListener.onMouseDown = function () {
if (space) {
ismdown = true;
if (sadhu._currentframe == 1) {
sadhu.play();
_root.gamestar = true;
}
}
};
mouseListener.onMouseUp = function () {
if (space) {
ismdown = false;
}
};
_root.attack = false;
Mouse.addListener(mouseListener);
this.onEnterFrame = function () {
if (space) {
x = sadhu._x - _xmouse;
if (x > 0) {
dir = "L";
} else {
dir = "R";
}
if (Key.isDown(32) and (!_root.attack)) {
_root.attack = true;
sadhu.moskha.sadhu.hair.play();
}
controlsadhu();
}
};
Instance of Symbol 399 MovieClip "panel" in Symbol 569 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(101);
}
Instance of Symbol 555 MovieClip in Symbol 569 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay ("int1");
}
Instance of Symbol 567 MovieClip in Symbol 569 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (50);
}
Instance of Symbol 443 MovieClip "sidebanner" in Symbol 569 MovieClip Frame 2
on (release) {
_parent.space = true;
this._visible = false;
}
Symbol 569 MovieClip Frame 3
stop();
_quality = "HIGH";
_root.score = dist;
clearInterval(int1);
Key.removeListener(keyListener_obj);
Mouse.removeListener(mouseListener);
panel.removeMovieClip();
sadhu.removeMovieClip();
_root.rpower = 0;
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.life = 3;
mystr = "lev|level" + _root.level;
_root._playAgain(_root, "reset", mystr);
};
Symbol 594 Button
on (release) {
_root._newUser();
}
Symbol 596 MovieClip Frame 1
stop();
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.life = 3;
mystr = "lev|level" + _root.level;
_root._playAgain(_root, "reset", mystr);
};
submit_btn.onRelease = function () {
trace((((_root.score + " ") + _root._gameid) + " ") + _root.uname);
_root.dataSubmit(_root.uname, _root.score, _root._gameid, _root, "gameOver", "connecting", "highScores");
};
username_txt.onSetFocus = function () {
if (username_txt.text == "Invalid Nickname!") {
username_txt.text = "";
}
};
Selection.setFocus("username_txt");
Symbol 601 Button
on (release) {
_root.cancelCon = true;
_root.cancelSubmit(_root, "gameOver");
}
Symbol 638 MovieClip Frame 1
_root.displayScores(this);
Symbol 642 MovieClip Frame 1
playAgain_btn.onRelease = function () {
_root.score = 0;
mystr = "lblgameintro";
_root._playAgain(_root, mystr);
};