Frame 1
if (false) {
}
Frame 3
function playAgain() {
_root.intro = 0;
_root.gotoAndPlay("splash");
}
var Sscore = 0;
System.security.allowDomain("shockwave.com", "www.game2win.com", "intranet.shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "rajumeter2";
_level0.swHighScoreObject.gameTitle = "Raju Meter2";
_level0.swHighScoreObject.screenWidth = 600;
_level0.swHighScoreObject.screenHeight = 450;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = 0;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Frame 6
stop();
Frame 7
stop();
_root.playIntro = true;
Frame 8
function randomRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
stop();
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
this.menu = newMenu;
_root.playIntro = true;
_root.levelScoreArray = [59, 69, 79];
_root.timeArray = [60, 70, 80, 90, 100, 110, 120, 140, 160, 200];
_root.allSounds = new Sound();
Instance of Symbol 194 MovieClip in Frame 8
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 9
stop();
next_btn.onRelease = function () {
_root.gotoAndStop("game");
};
Frame 10
stop();
Frame 11
stop();
next_btn.onRelease = function () {
gotoAndStop ("game");
};
Frame 12
stop();
stopAllSounds();
hud_mc._visible = false;
_root.score = 0;
_root.currentScore = 0;
_root.timeScore = 0;
_root.level = _root._currentframe;
_root.isPause = false;
Frame 13
stop();
stopAllSounds();
hud_mc._visible = false;
_root.level = _root._currentframe;
Frame 14
stop();
stopAllSounds();
hud_mc._visible = false;
_root.level = _root._currentframe;
Frame 15
stop();
stopAllSounds();
hud_mc._visible = false;
_root.level = _root._currentframe;
Frame 16
stop();
stopAllSounds();
_level0.swHighScoreObject.player1Score = _root.score;
trace("_level0.swHighScoreObject.player1Score " + _level0.swHighScoreObject.player1Score);
stop();
Frame 17
stop();
Frame 18
stop();
playAgain_btn.onRelease = function () {
gotoAndStop ("Splash");
};
Symbol 3 MovieClip [tandoori] Frame 1
speed = 10;
ypos = this._y;
this._xscale = (this._yscale = 50);
onEnterFrame = function () {
if (!_root.isPause) {
i = 1;
while (i <= 6) {
if (this.hitTest(_parent["t" + i])) {
_parent["t" + i].gotoAndStop(_parent["t" + i]._totalframes);
_root.score = _root.score + 100;
this.removeMovieClip();
}
i++;
}
if (this.hitTest(_parent.boss_mc)) {
_parent.boss_mc.health = _parent.boss_mc.health - 3;
}
if (this._y >= (ypos - 100)) {
this._y = this._y - speed;
if (this._y <= (ypos - 70)) {
this._xscale = (this._yscale = this._yscale - 10);
} else {
this._xscale = (this._yscale = this._yscale + 10);
}
} else {
this.removeMovieClip();
}
}
};
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 2
stop();
Symbol 8 MovieClip [bbammo] Frame 1
stop();
Instance of Symbol 7 MovieClip "fire" in Symbol 8 MovieClip [bbammo] Frame 1
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (!_root.isPause) {
if (this.hitTest(_parent._parent.rick_mc)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
_parent.removeMovieClip();
}
if (_parent._y <= 300) {
_parent._y = _parent._y + speed;
} else {
_parent.removeMovieClip();
}
}
}
Symbol 9 MovieClip [bullet] Frame 1
stop();
Instance of Symbol 7 MovieClip "fire" in Symbol 9 MovieClip [bullet] Frame 1
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (!_root.isPause) {
if (this.hitTest(_parent._parent.rick_mc)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
_parent.removeMovieClip();
}
if (_parent._x >= -400) {
_parent._x = _parent._x - speed;
} else {
_parent.removeMovieClip();
}
}
}
Symbol 10 MovieClip [ammo] Frame 1
stop();
Instance of Symbol 7 MovieClip "fire" in Symbol 10 MovieClip [ammo] Frame 1
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (!_root.isPause) {
i = 1;
while (i <= 6) {
if (this.hitTest(_parent._parent["t" + i]) && (_parent._parent["t" + i]._currentframe != _parent._parent["t" + i]._totalframes)) {
_parent._parent["t" + i].health = _parent._parent["t" + i].health - 20;
_parent.removeMovieClip();
}
i++;
}
if (_parent._y >= -300) {
_parent._y = _parent._y - speed;
} else {
_parent.removeMovieClip();
}
}
}
Symbol 584 MovieClip [__Packages.classes.CollisionDetection] Frame 0
class classes.CollisionDetection
{
function CollisionDetection () {
}
static function checkForCollision(p_clip1, p_clip2, p_alphaTolerance, p_scope) {
if (p_alphaTolerance == undefined) {
p_alphaTolerance = 255;
}
if (p_scope == undefined) {
p_scope = p_clip1._parent;
}
var _local3 = p_clip1.getBounds(p_scope);
var _local2 = p_clip2.getBounds(p_scope);
if (((_local3.xMax < _local2.xMin) || (_local2.xMax < _local3.xMin)) || ((_local3.yMax < _local2.yMin) || (_local2.yMax < _local3.yMin))) {
return(null);
}
var _local1 = {};
_local1.xMin = Math.max(_local3.xMin, _local2.xMin);
_local1.xMax = Math.min(_local3.xMax, _local2.xMax);
_local1.yMin = Math.max(_local3.yMin, _local2.yMin);
_local1.yMax = Math.min(_local3.yMax, _local2.yMax);
var _local8 = new flash.display.BitmapData(_local1.xMax - _local1.xMin, _local1.yMax - _local1.yMin, false);
var _local4 = p_clip1.transform.matrix;
_local4.tx = p_clip1._x - _local1.xMin;
_local4.ty = p_clip1._y - _local1.yMin;
_local8.draw(p_clip1, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, p_alphaTolerance));
_local4 = p_clip2.transform.matrix;
_local4.tx = p_clip2._x - _local1.xMin;
_local4.ty = p_clip2._y - _local1.yMin;
_local8.draw(p_clip2, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, p_alphaTolerance), "difference");
var _local6 = _local8.getColorBoundsRect(4294967295, 4278255615);
if (_local6.width == 0) {
return(null);
}
_local6.x = _local6.x + _local1.xMin;
_local6.y = _local6.y + _local1.yMin;
return(_local6);
}
}
Symbol 23 Button
on (release) {
_parent.gotoAndStop("loading");
}
Symbol 33 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 39 Button
on (release) {
_parent.gotoAndStop(2);
}
Symbol 74 MovieClip Frame 104
_parent.gotoAndStop("loading");
Symbol 84 MovieClip Frame 1
stop();
var loaded = 0;
gSig_mc._visible = false;
onEnterFrame = function () {
loaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded >= 100) {
_root.gotoAndStop("splash");
}
if (loaded >= 99) {
gSig_mc._visible = true;
gSig_mc._visible = false;
}
};
Symbol 136 Button
on (release) {
credit.gotoAndPlay(2);
}
Symbol 137 Button
on (release) {
_root.gotoAndStop("story");
}
Symbol 138 Button
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 139 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 140 Button
on (rollOver) {
bb.useHandCursor = false;
}
Symbol 145 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 183 MovieClip Frame 97
stop();
Symbol 188 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 189 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip in Symbol 189 MovieClip Frame 39
on (release) {
getURL ("http://www.media2win.com/admin/me2wbannertracking.asp?bannerid=912&campaign=Raju_Meter2_Games &client=Addicting_Games&site=Raju_Meter2 &creative=&b_section=&size=&fromsite=0 &link=www.games2win.com", "_blank");
}
Symbol 189 MovieClip Frame 40
stop();
Instance of Symbol 183 MovieClip in Symbol 189 MovieClip Frame 40
on (release) {
getURL ("http://www.media2win.com/admin/me2wbannertracking.asp?bannerid=912&campaign=Raju_Meter2_Games &client=Addicting_Games&site=Raju_Meter2 &creative=&b_section=&size=&fromsite=0 &link=www.games2win.com", "_blank");
}
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 18
stop();
G2W_CREDIT.gotoAndPlay(2);
Symbol 191 MovieClip Frame 1
if (_root.intro == 0) {
gotoAndStop (151);
}
Symbol 191 MovieClip Frame 151
stop();
Symbol 194 MovieClip Frame 1
stop();
_root.allSounds.setVolume(100);
Symbol 194 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
Symbol 217 MovieClip Frame 91
stop();
back_btn.onRelease = function () {
stopAllSounds();
_root.intro = 0;
_root.gotoAndStop("splash");
};
start_btn.onRelease = function () {
_root.gotoAndStop("game");
};
Symbol 227 MovieClip Frame 91
stop();
back_btn.onRelease = function () {
stopAllSounds();
_root.intro = 0;
_root.gotoAndStop("splash");
};
start_btn.onRelease = function () {
_root.gotoAndStop("game");
};
Symbol 243 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + _root.speed;
if (this._y > 320) {
this._y = ypos;
_parent.distance++;
}
};
Symbol 245 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + (_root.speed + _root.nitro);
if (this._y > 320) {
this._y = ypos;
}
};
Symbol 247 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + _root.speed;
if (this._y > 150) {
this._y = ypos;
}
};
Symbol 249 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + _root.speed;
if (this._y > 239) {
this._y = ypos;
}
};
Symbol 251 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + _root.speed;
if (this._y > 150) {
this._y = ypos;
}
};
Symbol 265 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 43
stop();
_parent._parent.levelComp_mc._visible = true;
_parent._parent.levelComp_mc.gotoAndPlay(2);
Symbol 274 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function fire() {
var _local3;
if (fireCount == 10) {
fireCount = 20;
if (this._currentframe == 1) {
fire_mc.gotoAndPlay(2);
_local3 = _parent.attachMovie("bullet", "bullet" + ammoCount, ammoCount + 200);
_local3._x = this._x - (this.width / 2);
_local3._xscale = (_local3._yscale = 40);
_local3._y = this._y;
ammoCount++;
}
} else {
this.fireCount--;
}
}
function follow() {
my_pos = _parent.rick_mc._y;
my = my_pos;
if (my < this._y) {
dy = this._y - my;
} else {
dy = my - this._y;
}
moveSpeedy = dy / 20;
if (my < this._y) {
this._y = this._y - moveSpeedy;
} else {
this._y = this._y + moveSpeedy;
}
}
stop();
var fireCount = 10;
var ammoCount = 1;
var hit = false;
nitro_mc._visible = false;
onEnterFrame = function () {
if (!_root.isPause) {
if (this.hitTest(_parent.rick_mc)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
hit = true;
}
} else {
hit = false;
}
if (_parent.isBoss && (!_root.isPause)) {
follow();
fire();
}
}
};
Symbol 274 MovieClip Frame 2
stop();
Symbol 297 MovieClip Frame 43
stop();
Symbol 298 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function reset() {
if (_parent.isBoss == false) {
this._y = ymin;
gotoAndStop(_root.randomRange(1, this._totalframes - 1));
randomNo = _root.randomRange(0, 1);
if (randomNo == 0) {
this._y = ymin;
speed = _root.randomRange(7, 13);
} else {
this._y = ymax;
speed = _root.randomRange(3, 7);
}
go = false;
_parent.kill(this._name);
}
}
var ymin = _root.randomRange(-449.8, -400.8);
var speed = _root.randomRange(7, 13);
var ymax = _root.randomRange(220, 240);
randomNo = 0;
var go = false;
gotoAndStop(_root.randomRange(1, this._totalframes - 1));
reset();
onEnterFrame = function () {
if (!_root.isPause) {
if (this.hitTest(_parent.rick_mc) && (_currentframe != _totalframes)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
gotoAndStop(_totalframes);
}
}
if (go) {
if ((this._currentframe > 6) || (_parent.rick_mc.isOnNitro == true)) {
randomNo = 0;
speed = 10;
}
if (randomNo == 0) {
this._y = this._y + (speed + _root.nitro);
if (this._y > ymax) {
reset();
}
} else {
this._y = this._y - (speed + _root.nitro);
if (this._y < ymin) {
reset();
}
}
}
}
};
stop();
Symbol 298 MovieClip Frame 2
stop();
Symbol 298 MovieClip Frame 3
stop();
Symbol 298 MovieClip Frame 4
stop();
Symbol 298 MovieClip Frame 5
stop();
Symbol 298 MovieClip Frame 6
stop();
Symbol 298 MovieClip Frame 7
stop();
Symbol 298 MovieClip Frame 8
stop();
Symbol 298 MovieClip Frame 9
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 1
if (_root._currentframe == 14) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 304 MovieClip Frame 1
function nitro() {
eng_snd.stop();
nitro_mc._visible = true;
_root.hud_mc.nitro_mc.gotoAndStop(_root.hud_mc.nitro_mc._totalframes - _parent.nitroCount);
_root.nitro = 20;
_root.speed = _root.speed + _root.nitro;
isOnNitro = true;
var _local4 = new flash.filters.BlurFilter(2, 10, 2);
_local4.blurX = 2;
_local4.blurY = 2;
this.filters = [_local4];
}
function fire() {
var _local3;
if (fireCount == 10) {
fireCount = 11;
turret_mc.fire_mc.gotoAndPlay(2);
_local3 = _parent.attachMovie("ammo", "ammo" + ammoCount, ammoCount + 600);
_local3._x = this._x + 1;
_local3._y = this._y - 30;
_local3._xscale = (_local3._yscale = 50);
ammoCount++;
} else {
this.fireCount--;
}
}
function fireTandoori() {
var _local3;
if (fireCount == 10) {
fireCount = 11;
_local3 = _parent.attachMovie("tandoori", "tandoori" + ammoCount, ammoCount + 600);
_local3._x = this._x + 1;
_local3._y = this._y - 30;
ammoCount++;
} else {
fireCount--;
}
}
var speed = 0;
var acc = 1;
var isOnNitro = false;
var timer = 0;
nitro_mc._visible = false;
var fireCount = 10;
var ammoCount = 1;
var eng_snd = new Sound();
eng_snd.attachSound("levelSound");
eng_snd.start(0, 10000);
onEnterFrame = function () {
if (!_root.isPause) {
if (Key.isDown(39) && (this._x < _parent.Rlimit)) {
this._x = this._x + 12;
} else if (Key.isDown(37) && (this._x > _parent.Llimit)) {
this._x = this._x - 12;
} else if (Key.isDown(38) && (this._y > _parent.Ulimit)) {
if (speed <= 9) {
speed = speed + acc;
}
this._y = this._y - speed;
} else if (Key.isDown(40) && (this._y < _parent.Dlimit)) {
if (speed <= 9) {
speed = speed + acc;
}
this._y = this._y + speed;
}
if (((Key.isDown(39) && (Key.isDown(38))) && (this._x < _parent.Rlimit)) && (this._y > _parent.Ulimit)) {
if (speed <= 5) {
speed = speed + acc;
}
this._x = this._x + 5;
this._y = this._y - speed;
} else if (((Key.isDown(37) && (Key.isDown(38))) && (this._x > _parent.Llimit)) && (this._y > _parent.Ulimit)) {
if (speed <= 5) {
speed = speed + acc;
}
this._x = this._x - 5;
this._y = this._y - 5;
} else if (((Key.isDown(39) && (Key.isDown(40))) && (this._x < _parent.Rlimit)) && (this._y < _parent.Dlimit)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (((Key.isDown(37) && (Key.isDown(40))) && (this._x > _parent.Llimit)) && (this._y < _parent.Dlimit)) {
this._x = this._x - 5;
this._y = this._y + 5;
}
if ((Key.isDown(16) && (!isOnNitro)) && (_parent.nitroCount > 0)) {
eng_snd.stop();
_parent.nitroCount--;
nitro_mc._visible = true;
_parent.boss_mc.nitro_mc._visible = true;
_root.hud_mc.nitro_mc.gotoAndStop(_root.hud_mc.nitro_mc._totalframes - _parent.nitroCount);
_root.nitro = 20;
_root.speed = _root.speed + _root.nitro;
isOnNitro = true;
var _local4 = new flash.filters.BlurFilter(2, 10, 2);
_local4.blurX = 2;
_local4.blurY = 2;
this.filters = [_local4];
_parent.boss_mc.filters = [_local4];
}
if (Key.isDown(32)) {
if (_root._currentframe == 14) {
fire();
}
if (_root._currentframe == 15) {
fireTandoori();
}
}
if (isOnNitro == true) {
timer++;
if (timer == 125) {
timer = 0;
nitro_mc._visible = false;
eng_snd.start(0, 10000);
_parent.boss_mc.nitro_mc._visible = false;
_root.speed = 20;
_root.nitro = 0;
this.filters = [];
_parent.boss_mc.filters = [];
isOnNitro = false;
}
}
}
};
stop();
Symbol 304 MovieClip Frame 8
gotoAndStop (1);
Symbol 304 MovieClip Frame 15
gotoAndStop (1);
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 72
stop();
_root.gotoAndStop("gameOver");
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 72
stop();
_parent._parent.nextFrame();
Symbol 325 MovieClip Frame 1
stop();
var startCount = false;
onEnterFrame = function () {
if ((!startCount) && (_root.hud_mc.time_txt.text == "10")) {
gotoAndPlay (2);
startCount = true;
}
};
Symbol 325 MovieClip Frame 2
onEnterFrame = function () {
if (_parent.boss_mc._currentframe == 2) {
this.stop();
onEnterFrame = null;
}
};
Symbol 325 MovieClip Frame 241
stop();
Symbol 326 MovieClip Frame 1
function drawLimits() {
Rlimit = (div2_mc._x - (div2_mc._width / 2)) - (rick_mc._width / 2);
Llimit = (div1_mc._x + (div1_mc._width / 2)) + (rick_mc._width / 2);
Dlimit = (400 - (rick_mc._height / 2)) - 221;
Ulimit = -221 + (rick_mc._height / 2);
}
function hideAll() {
j = 1;
while (j <= laneArray.length) {
this["t" + j].gotoAndStop(this["t" + j]._totalframes);
j++;
}
}
function kill(myClip) {
j = 0;
while (j < tArray.length) {
if (tArray[j] == myClip.charAt(1)) {
tArray[j] = 0;
temp = myClip.charAt(1);
}
j++;
}
spawn();
}
function spawn() {
var _local3 = _root.randomRange(0, nTArray.length - 1);
i = 0;
while (i < tArray.length) {
if (tArray[i] == 0) {
tArray[i] = nTArray[_local3];
nTArray[_local3] = temp;
this["t" + tArray[i]].go = true;
}
i++;
}
}
_root.nitro = 0;
_root.speed = 20 + _root.nitro;
var nitroCount = 2;
var temp;
var levelTime = 60;
var distance = 0;
var totalDistance = 40;
var isBoss = false;
var timer = 0;
_root.hud_mc.nitro_mc.gotoAndStop(_root.hud_mc.nitro_mc._totalframes - nitroCount);
_root.hud_mc.health_mc.gotoAndStop(1);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
_root.hud_mc.time_txt.text = "";
gameOver_mc._visible = false;
levelComp_mc._visible = false;
_root.isPause = false;
drawLimits();
var laneArray = [1, 2, 3, 4, 5, 6];
var tArray = [1, 3, 5, 6];
var nTArray = [2, 4];
onEnterFrame = function () {
if (!_root.isPause) {
timer++;
_root.hud_mc.time_txt.text = levelTime - Math.round(timer / 24);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
if (distance == (totalDistance - 12)) {
hideAll();
isBoss = true;
Rlimit = boss_mc._x - boss_mc._width;
}
if (distance == totalDistance) {
_root.currentScore = distance * 100;
_root.timeScore = levelTime - Math.round(timer / 24);
_root.score = (_root.score + _root.currentScore) + (_root.timeScore * 100);
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
boss_mc.gotoAndStop(2);
} else if (((levelTime - Math.round(timer / 24)) == 0) || (_root.hud_mc.health_mc._currentframe == _root.hud_mc.health_mc._totalframes)) {
_root.currentScore = distance * 100;
_root.score = _root.score + _root.currentScore;
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
gameOver_mc._visible = true;
gameOver_mc.gotoAndPlay(2);
}
}
};
Instance of Symbol 298 MovieClip "t2" in Symbol 326 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 298 MovieClip "t1" in Symbol 326 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 298 MovieClip "t5" in Symbol 326 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 298 MovieClip "t3" in Symbol 326 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 298 MovieClip "t4" in Symbol 326 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 298 MovieClip "t6" in Symbol 326 MovieClip Frame 1
/* no clip actions */
Symbol 345 MovieClip Frame 106
stop();
onEnterFrame = function () {
score_txt.text = _root.score;
lscore_txt.text = _root.currentScore;
tscore_txt.text = (_root.timeScore + " x 100 = ") + (_root.timeScore * 100);
};
next_btn.onRelease = function () {
_root.gotoAndStop(_root._currentframe + 1);
};
Symbol 346 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
nextFrame();
};
Symbol 346 MovieClip Frame 2
stop();
_root.hud_mc._visible = true;
Symbol 346 MovieClip Frame 3
stop();
_root.hud_mc._visible = false;
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
stop();
Symbol 376 MovieClip Frame 3
stop();
Symbol 376 MovieClip Frame 4
stop();
Symbol 376 MovieClip Frame 5
stop();
Symbol 376 MovieClip Frame 6
stop();
Symbol 376 MovieClip Frame 7
stop();
Symbol 376 MovieClip Frame 8
stop();
Symbol 376 MovieClip Frame 9
stop();
Symbol 376 MovieClip Frame 10
stop();
Symbol 376 MovieClip Frame 11
stop();
Symbol 376 MovieClip Frame 12
stop();
Symbol 376 MovieClip Frame 13
stop();
Symbol 376 MovieClip Frame 14
stop();
Symbol 376 MovieClip Frame 15
stop();
Symbol 376 MovieClip Frame 16
stop();
Symbol 376 MovieClip Frame 17
stop();
Symbol 376 MovieClip Frame 18
stop();
Symbol 376 MovieClip Frame 19
stop();
Symbol 376 MovieClip Frame 20
stop();
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 2
stop();
Symbol 388 MovieClip Frame 3
stop();
Symbol 388 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 5
stop();
Symbol 388 MovieClip Frame 6
stop();
Symbol 388 MovieClip Frame 7
stop();
Symbol 388 MovieClip Frame 8
stop();
Symbol 388 MovieClip Frame 9
stop();
Symbol 388 MovieClip Frame 10
stop();
Symbol 388 MovieClip Frame 11
stop();
Symbol 407 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + _root.speed;
if (this._y > 320) {
this._y = ypos;
_parent.distance++;
}
};
Symbol 408 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + (_root.speed + _root.nitro);
if (this._y > 320) {
this._y = ypos;
}
};
Symbol 430 MovieClip Frame 1
if ((random(5) == 0) && (!_root.isPause)) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 431 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function fire() {
var _local3;
if (fireCount == 10) {
fireCount = 20;
if (this._currentframe == 1) {
_local3 = _parent.attachMovie("bullet", "bullet" + ammoCount, ammoCount + 200);
_local3._x = this._x - (this.width / 2);
_local3._xscale = (_local3._yscale = 40);
_local3._y = this._y;
ammoCount++;
}
} else {
this.fireCount--;
}
}
function follow() {
my_pos = _parent.rick_mc._x;
my = my_pos;
if (my < this._x) {
dy = this._x - my;
} else {
dy = my - this._x;
}
moveSpeedy = dy / 20;
if (my < this._x) {
this._x = this._x - moveSpeedy;
} else {
this._x = this._x + moveSpeedy;
}
}
stop();
var fireCount = 10;
var ammoCount = 1;
var hit = false;
nitro_mc._visible = false;
var ymin = (_parent.Ulimit + 30);
onEnterFrame = function () {
if (!_root.isPause) {
if (this.hitTest(_parent.rick_mc)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
hit = true;
}
} else {
hit = false;
}
if (_parent.isBoss && (!_root.isPause)) {
if (this._y < ymin) {
this._y = this._y + 10;
}
follow();
}
}
};
Symbol 431 MovieClip Frame 2
stop();
Symbol 443 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function reset() {
if (_parent.isBoss == false) {
this._y = ymin;
gotoAndStop(_root.randomRange(1, this._totalframes - 3));
_rotation = _root.randomRange(-20, 20);
this._y = ymin;
speed = 8;
if (random(3) == 1) {
gotoAndStop(this._totalframes - 2);
speed = 13;
_rotation = 0;
}
if (random(15) == 1) {
gotoAndStop(this._totalframes - 1);
_rotation = 0;
}
go = false;
_parent.kill(this._name);
}
}
var ymin = _root.randomRange(-649.8, -400.8);
var speed = 8;
var ymax = _root.randomRange(220, 240);
var go = false;
gotoAndStop(_root.randomRange(1, this._totalframes - 3));
_rotation = _root.randomRange(-20, 20);
reset();
onEnterFrame = function () {
if (!_root.isPause) {
if (this.hitTest(_parent.rick_mc) && (_currentframe != _totalframes)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
if (_currentframe == (this._totalframes - 1)) {
_parent.maaDaBoon();
} else {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
if (_currentframe == (this._totalframes - 2)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
gotoAndStop(_totalframes);
} else {
gotoAndStop(_totalframes);
}
}
}
}
if (go) {
if ((this._currentframe > 6) || (_parent.rick_mc.isOnNitro == true)) {
speed = 10;
}
this._y = this._y + (speed + _root.nitro);
if (this._y > ymax) {
reset();
}
}
}
};
stop();
Symbol 443 MovieClip Frame 2
stop();
Symbol 443 MovieClip Frame 3
stop();
Symbol 443 MovieClip Frame 4
stop();
Symbol 443 MovieClip Frame 5
stop();
Symbol 443 MovieClip Frame 6
stop();
Symbol 443 MovieClip Frame 7
stop();
Symbol 443 MovieClip Frame 8
stop();
Symbol 444 MovieClip Frame 1
function drawLimits() {
Rlimit = (div2_mc._x - (div2_mc._width / 2)) - (rick_mc._width / 2);
Llimit = (div1_mc._x + (div1_mc._width / 2)) + (rick_mc._width / 2);
Dlimit = (400 - (rick_mc._height / 2)) - 221;
Ulimit = -221 + (rick_mc._height / 2);
}
function hideAll() {
j = 1;
while (j <= laneArray.length) {
this["t" + j].gotoAndStop(this["t" + j]._totalframes);
j++;
}
}
function kill(myClip) {
j = 0;
while (j < tArray.length) {
if (tArray[j] == myClip.charAt(1)) {
tArray[j] = 0;
temp = myClip.charAt(1);
}
j++;
}
spawn();
}
function spawn() {
var _local3 = _root.randomRange(0, nTArray.length - 1);
i = 0;
while (i < tArray.length) {
if (tArray[i] == 0) {
tArray[i] = nTArray[_local3];
nTArray[_local3] = temp;
this["t" + tArray[i]].go = true;
}
i++;
}
}
function maaDaBoon() {
rick_mc._alpha = 30;
rick_mc._name = "ghost_mc";
myInterval = setInterval(deActMDB, 5000);
}
function deActMDB() {
clearInterval(myInterval);
ghost_mc._name = "rick_mc";
rick_mc._alpha = 100;
}
_root.nitro = 0;
_root.speed = 20 + _root.nitro;
var nitroCount = 4;
var temp;
var levelTime = 90;
var distance = 0;
var totalDistance = 60;
var isBoss = false;
var timer = 0;
_root.hud_mc.nitro_mc.gotoAndStop(_root.hud_mc.nitro_mc._totalframes - nitroCount);
_root.hud_mc.health_mc.gotoAndStop(1);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
_root.hud_mc.time_txt.text = "";
gameOver_mc._visible = false;
levelComp_mc._visible = false;
boss_mc._visible = false;
_root.isPause = false;
var myInterval;
drawLimits();
var laneArray = [1, 2, 3, 4, 5, 6];
var tArray = [1, 3, 5, 6];
var nTArray = [2, 4];
onEnterFrame = function () {
if (!_root.isPause) {
timer++;
_root.hud_mc.time_txt.text = levelTime - Math.round(timer / 24);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
if (distance == (totalDistance - 15)) {
hideAll();
isBoss = true;
boss_mc._visible = true;
Ulimit = (boss_mc._y + rick_mc._height) + 50;
}
if (distance == totalDistance) {
_root.currentScore = distance * 100;
_root.timeScore = levelTime - Math.round(timer / 24);
_root.score = (_root.score + _root.currentScore) + (_root.timeScore * 100);
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
boss_mc.gotoAndStop(2);
} else if (((levelTime - Math.round(timer / 24)) == 0) || (_root.hud_mc.health_mc._currentframe == _root.hud_mc.health_mc._totalframes)) {
_root.currentScore = distance * 100;
_root.score = _root.score + _root.currentScore;
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
gameOver_mc._visible = true;
gameOver_mc.gotoAndPlay(2);
}
}
};
Symbol 445 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
nextFrame();
};
Symbol 445 MovieClip Frame 2
stop();
_root.hud_mc._visible = true;
Symbol 445 MovieClip Frame 3
stop();
_root.hud_mc._visible = false;
Symbol 455 MovieClip Frame 1
var ypos = this._y;
onEnterFrame = function () {
this._y = this._y + _root.speed;
if (this._y > 150) {
this._y = ypos;
}
};
Symbol 465 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function reset() {
this._y = ymin;
gotoAndStop(_root.randomRange(1, this._totalframes - 1));
randomNo = _root.randomRange(0, 1);
if (randomNo == 0) {
this._y = ymin;
speed = _root.randomRange(7, 13);
} else {
this._y = ymax;
speed = _root.randomRange(3, 7);
}
go = false;
_parent.kill(this._name);
}
var ymin = _root.randomRange(-449.8, -400.8);
var speed = _root.randomRange(7, 13);
var ymax = _root.randomRange(220, 240);
randomNo = 0;
var go = false;
var health = 100;
gotoAndStop(_root.randomRange(1, this._totalframes - 1));
reset();
onEnterFrame = function () {
if (!_root.isPause) {
if (health <= 0) {
_root.score = _root.score + 100;
gotoAndStop(this._totalframes);
}
if (this.hitTest(_parent.rick_mc) && (_currentframe != _totalframes)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
gotoAndStop(_totalframes);
}
}
if (go) {
if (_parent.rick_mc.isOnNitro == true) {
randomNo = 0;
speed = 10;
}
if (randomNo == 0) {
this._y = this._y + (speed + _root.nitro);
if (this._y > ymax) {
reset();
}
} else {
this._y = this._y - (speed + _root.nitro);
if (this._y < ymin) {
reset();
}
}
}
}
};
stop();
Symbol 465 MovieClip Frame 2
stop();
Symbol 465 MovieClip Frame 3
stop();
Symbol 465 MovieClip Frame 4
stop();
Symbol 465 MovieClip Frame 5
stop();
Symbol 465 MovieClip Frame 6
stop();
Symbol 465 MovieClip Frame 7
stop();
Symbol 467 MovieClip Frame 1
onEnterFrame = function () {
if ((_root.isPause == true) && (_currentframe != 1)) {
gotoAndStop (1);
}
};
stop();
Symbol 467 MovieClip Frame 62
gotoAndPlay (2);
Symbol 474 MovieClip Frame 1
function fire() {
var _local3;
if (fireCount == 10) {
fireCount = 20;
if (this._currentframe == 1) {
fire_mc.gotoAndPlay(2);
_local3 = _parent.attachMovie("bullet", "bullet" + ammoCount, ammoCount + 200);
_local3._x = this._x - 25;
_local3._xscale = (_local3._yscale = 50);
_local3._y = this._y - 25;
ammoCount++;
}
} else {
this.fireCount--;
}
}
function follow() {
my_pos = _parent.rick_mc._y;
my = my_pos;
if (my < this._y) {
dy = this._y - my;
} else {
dy = my - this._y;
}
moveSpeedy = dy / 20;
if (my < this._y) {
this._y = this._y - moveSpeedy;
} else {
this._y = this._y + moveSpeedy;
}
}
stop();
var fireCount = 10;
var ammoCount = 1;
var hit = false;
var playSound = true;
onEnterFrame = function () {
if (!_root.isPause) {
if (_parent.isBoss && (!_root.isPause)) {
if (playSound) {
soundBox_mc.gotoAndPlay(2);
playSound = false;
}
follow();
fire();
}
}
};
Symbol 474 MovieClip Frame 2
stop();
Symbol 475 MovieClip Frame 1
function drawLimits() {
Rlimit = (div2_mc._x - (div2_mc._width / 2)) - (rick_mc._width / 2);
Llimit = (div1_mc._x + (div1_mc._width / 2)) + (rick_mc._width / 2);
Dlimit = (400 - (rick_mc._height / 2)) - 221;
Ulimit = -221 + (rick_mc._height / 2);
}
function hideAll() {
j = 1;
while (j <= laneArray.length) {
this["t" + j].gotoAndStop(this["t" + j]._totalframes);
j++;
}
}
function kill(myClip) {
j = 0;
while (j < tArray.length) {
if (tArray[j] == myClip.charAt(1)) {
tArray[j] = 0;
temp = myClip.charAt(1);
}
j++;
}
spawn();
}
function spawn() {
var _local3 = _root.randomRange(0, nTArray.length - 1);
i = 0;
while (i < tArray.length) {
if (tArray[i] == 0) {
tArray[i] = nTArray[_local3];
nTArray[_local3] = temp;
this["t" + tArray[i]].go = true;
}
i++;
}
}
_root.nitro = 0;
_root.speed = 20 + _root.nitro;
var nitroCount = 6;
var temp;
var levelTime = 120;
var distance = 0;
var totalDistance = 90;
var isBoss = false;
var timer = 0;
_root.hud_mc.nitro_mc.gotoAndStop(_root.hud_mc.nitro_mc._totalframes - nitroCount);
_root.hud_mc.health_mc.gotoAndStop(1);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
_root.hud_mc.time_txt.text = "";
gameOver_mc._visible = false;
levelComp_mc._visible = false;
_root.isPause = false;
drawLimits();
var laneArray = [1, 2, 3, 4, 5, 6];
var tArray = [1, 3, 5, 6];
var nTArray = [2, 4];
onEnterFrame = function () {
if (!_root.isPause) {
timer++;
_root.hud_mc.time_txt.text = levelTime - Math.round(timer / 24);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
if (distance == (totalDistance - 15)) {
isBoss = true;
Rlimit = div2_mc._x - 60;
}
if (distance == totalDistance) {
_root.currentScore = distance * 100;
_root.timeScore = levelTime - Math.round(timer / 24);
_root.score = (_root.score + _root.currentScore) + (_root.timeScore * 100);
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
boss_mc.gotoAndStop(2);
} else if (((levelTime - Math.round(timer / 24)) == 0) || (_root.hud_mc.health_mc._currentframe == _root.hud_mc.health_mc._totalframes)) {
_root.currentScore = distance * 100;
_root.score = _root.score + _root.currentScore;
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
gameOver_mc._visible = true;
gameOver_mc.gotoAndPlay(2);
}
}
};
Symbol 476 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
nextFrame();
};
Symbol 476 MovieClip Frame 2
stop();
_root.hud_mc._visible = true;
Symbol 476 MovieClip Frame 3
stop();
_root.hud_mc._visible = false;
Symbol 487 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function reset() {
if (_parent.isBoss == false) {
this._y = ymin;
gotoAndStop(_root.randomRange(1, this._totalframes - 1));
randomNo = _root.randomRange(0, 1);
if (randomNo == 0) {
this._y = ymin;
speed = _root.randomRange(7, 13);
} else {
this._y = ymax;
speed = _root.randomRange(3, 7);
}
go = false;
_parent.kill(this._name);
}
}
var ymin = _root.randomRange(-449.8, -400.8);
var speed = _root.randomRange(7, 13);
var ymax = _root.randomRange(220, 240);
randomNo = 0;
var go = false;
gotoAndStop(_root.randomRange(1, this._totalframes - 1));
reset();
onEnterFrame = function () {
if (!_root.isPause) {
if (this.hitTest(_parent.rick_mc) && (_currentframe != _totalframes)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
gotoAndStop(_totalframes);
}
}
if (go) {
if (_parent.rick_mc.isOnNitro == true) {
randomNo = 0;
speed = 10;
}
if (randomNo == 0) {
this._y = this._y + (speed + _root.nitro);
if (this._y > ymax) {
reset();
}
} else {
this._y = this._y - (speed + _root.nitro);
if (this._y < ymin) {
reset();
}
}
}
}
};
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 3
stop();
Symbol 487 MovieClip Frame 4
stop();
Symbol 487 MovieClip Frame 5
stop();
Symbol 487 MovieClip Frame 6
stop();
Symbol 487 MovieClip Frame 7
stop();
Symbol 492 MovieClip Frame 1
function checkCollision(mc2, mc1) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
function fire() {
var _local3;
if (fireCount == 10) {
fireCount = 20;
if (this._currentframe == 1) {
turret_mc.fire_mc.gotoAndPlay(2);
_local3 = _parent.attachMovie("bbammo", "bbammo" + ammoCount, ammoCount + 200);
_local3._x = this._x;
trace(_local3._name);
_local3._y = this._y + 50;
ammoCount++;
}
} else {
this.fireCount--;
}
}
function follow() {
my_pos = _parent.rick_mc._x;
my = my_pos;
if (my < this._x) {
dy = this._x - my;
} else {
dy = my - this._x;
}
moveSpeedy = dy / 20;
if (my < this._x) {
this._x = this._x - moveSpeedy;
} else {
this._x = this._x + moveSpeedy;
}
}
stop();
var fireCount = 10;
var ammoCount = 1;
var hit = false;
nitro_mc._visible = false;
var ymin = _parent.Ulimit;
var health = 100;
onEnterFrame = function () {
if (!_root.isPause) {
if (health <= 0) {
_root.score = _root.score + 1000;
gotoAndStop (2);
}
if (this.hitTest(_parent.rick_mc)) {
if ((checkCollision(this, _parent.rick_mc) != undefined) || (checkCollision(this, _parent.rick_mc) != null)) {
_root.hud_mc.health_mc.gotoAndStop(_root.hud_mc.health_mc._currentframe + 1);
hit = true;
}
} else {
hit = false;
}
if (_parent.isBoss && (!_root.isPause)) {
if (this._y < ymin) {
this._y = this._y + 10;
}
follow();
fire();
}
}
};
Symbol 492 MovieClip Frame 2
stop();
Symbol 493 MovieClip Frame 1
function drawLimits() {
Rlimit = (div2_mc._x - (div2_mc._width / 2)) - (rick_mc._width / 2);
Llimit = (div1_mc._x + (div1_mc._width / 2)) + (rick_mc._width / 2);
Dlimit = (400 - (rick_mc._height / 2)) - 221;
Ulimit = -221 + (rick_mc._height / 2);
}
function hideAll() {
j = 1;
while (j <= laneArray.length) {
this["t" + j].gotoAndStop(this["t" + j]._totalframes);
j++;
}
}
function kill(myClip) {
j = 0;
while (j < tArray.length) {
if (tArray[j] == myClip.charAt(1)) {
tArray[j] = 0;
temp = myClip.charAt(1);
}
j++;
}
spawn();
}
function spawn() {
var _local3 = _root.randomRange(0, nTArray.length - 1);
i = 0;
while (i < tArray.length) {
if (tArray[i] == 0) {
tArray[i] = nTArray[_local3];
nTArray[_local3] = temp;
this["t" + tArray[i]].go = true;
}
i++;
}
}
_root.nitro = 0;
_root.speed = 20 + _root.nitro;
var nitroCount = 8;
var temp;
var levelTime = 150;
var distance = 0;
var totalDistance = 120;
var isBoss = false;
var timer = 0;
_root.hud_mc.nitro_mc.gotoAndStop(_root.hud_mc.nitro_mc._totalframes - nitroCount);
_root.hud_mc.health_mc.gotoAndStop(1);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
_root.hud_mc.time_txt.text = "";
gameOver_mc._visible = false;
levelComp_mc._visible = false;
_root.isPause = false;
drawLimits();
var laneArray = [1, 2, 3, 4, 5, 6];
var tArray = [1, 3, 5, 6, 2];
var nTArray = [4];
onEnterFrame = function () {
if (!_root.isPause) {
timer++;
_root.hud_mc.time_txt.text = levelTime - Math.round(timer / 24);
_root.hud_mc.score_txt.text = (distance + "/") + totalDistance;
if (distance == (totalDistance - 20)) {
hideAll();
isBoss = true;
Ulimit = (boss_mc._y + rick_mc._height) + 50;
}
if (distance == totalDistance) {
_root.currentScore = distance * 100;
_root.timeScore = levelTime - Math.round(timer / 24);
_root.score = (_root.score + _root.currentScore) + (_root.timeScore * 100);
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
boss_mc.gotoAndStop(2);
} else if (((levelTime - Math.round(timer / 24)) == 0) || (_root.hud_mc.health_mc._currentframe == _root.hud_mc.health_mc._totalframes)) {
_root.currentScore = distance * 100;
_root.score = _root.score + _root.currentScore;
_root.isPause = true;
_root.speed = 0;
_root.nitro = 0;
gameOver_mc._visible = true;
gameOver_mc.gotoAndPlay(2);
}
}
};
Symbol 494 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
nextFrame();
};
Symbol 494 MovieClip Frame 2
stop();
_root.hud_mc._visible = true;
Symbol 494 MovieClip Frame 3
stop();
_root.hud_mc._visible = false;
Symbol 504 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.intro = 0;
_parent.gotoAndPlay("splash");
}
Symbol 505 Button
on (release) {
credit.gotoAndPlay(2);
}
Symbol 514 Button
on (release) {
_root.swHighScoreObject.showTab = "submit";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Symbol 515 Button
on (release) {
_root.swHighScoreObject.showTab = "view";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 96
onClipEvent (load) {
this.swapDepths(100033);
docount = false;
}
onClipEvent (enterFrame) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (trycount > 60)) {
docount = false;
trycount = 0;
}
}
}
Symbol 517 MovieClip Frame 106
score_txt.text = _root.score;
stop();
Instance of Symbol 190 MovieClip "credit" in Symbol 517 MovieClip Frame 106
onClipEvent (load) {
this.swapDepths(100034);
}
Symbol 521 Button
on (release) {
_parent.cancelSubmit(_root, "gameOver");
}
Symbol 531 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 583 MovieClip Frame 53
stop();
playAgain_btn.onRelease = function () {
stopAllSounds();
_root.score = 0;
_parent._playAgain(_parent, "splash");
};
_root.displayScores(this);