Frame 1
var re;
var mus;
var dd = false;
if (re == eval("Null")) {
bgs = new Sound(this);
bgs.attachSound("music");
gov = new Sound(this);
gov.attachSound("go");
bgs.start(0, 99);
mus = true;
re = true;
}
stop();
Instance of Symbol 19 MovieClip "char" in Frame 1
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (keyDown) {
if (Key.isDown(77)) {
if (_root.mus == true) {
_root.bgs.stop();
_root.mus = false;
}
}
if (Key.isDown(83)) {
if (_root.mus == false) {
_root.bgs.start(0, 99);
_root.mus = true;
}
}
}
onClipEvent (mouseMove) {
_root.char._x = _root._xmouse - (_root.char._width / 2);
_root.char._y = _root._ymouse - (_root.char._height / 2);
if (_root.char.hitTest(_root.playin)) {
_root.playtxt._visible = false;
} else {
_root.playtxt._visible = true;
}
if (_root.char.hitTest(_root.instructions)) {
_root.instxt._visible = false;
} else {
_root.instxt._visible = true;
}
if (_root.char.hitTest(_root.about)) {
_root.aboutxt._visible = false;
} else {
_root.aboutxt._visible = true;
}
}
onClipEvent (mouseUp) {
if (_root.char.hitTest(_root.playin)) {
_root.gotoAndPlay(2);
}
if (_root.char.hitTest(_root.instructions)) {
_root.gotoAndPlay(3);
}
if (_root.char.hitTest(_root.about)) {
_root.gotoAndPlay(4);
}
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (load) {
}
Frame 2
stop();
Instance of Symbol 19 MovieClip "char" in Frame 2
onClipEvent (load) {
Mouse.show();
_root.chars._visible = false;
_root.charb._visible = false;
_root.livetxt._visible = false;
_root.gover._visible = false;
_root.gover2._visible = false;
_root.scoretxt._visible = false;
_root.leveltxt._visible = false;
_root.itemtxt._visible = false;
var dead = false;
var gs = 0;
var lives = 3;
var st = 0;
var score = 0;
var stats = 0;
var time = 0;
var give = 100;
var dir;
var dirs;
var level = 1;
var lala = 0;
_root.char._x = 264.25;
_root.char._y = 264.25;
_root.bgl1._y = 93.5 + random(349);
_root.bgl2._y = 93.5 + random(349);
_root.bgl3._y = 93.5 + random(349);
_root.bgl4._y = 93.5 + random(349);
_root.bgr1._y = 93.5 + random(349);
_root.bgr2._y = 93.5 + random(349);
_root.bgr3._y = 93.5 + random(349);
_root.bgr4._y = 93.5 + random(349);
_root.bgt1._x = 93.5 + random(349);
_root.bgt2._x = 93.5 + random(349);
_root.bgt3._x = 93.5 + random(349);
_root.bgt4._x = 93.5 + random(349);
_root.bgb1._x = 93.5 + random(349);
_root.bgb2._x = 93.5 + random(349);
_root.bgb3._x = 93.5 + random(349);
_root.bgb4._x = 93.5 + random(349);
}
onClipEvent (mouseDown) {
if (gs == 0) {
gs = 1;
_root.sym._visible = false;
_root.livetxt._visible = true;
_root.scoretxt._visible = true;
_root.leveltxt._visible = true;
_root.itemtxt._visible = true;
_root.char._x = _root._xmouse - (_root.char._width / 2);
_root.char._y = _root._ymouse - (_root.char._height / 2);
_root.chars._x = _root._xmouse - (_root.chars._width / 2);
_root.chars._y = _root._ymouse - (_root.chars._height / 2);
_root.charb._x = _root._xmouse - (_root.charb._width / 2);
_root.charb._y = _root._ymouse - (_root.charb._height / 2);
Mouse.hide();
}
if (gs == -1) {
_root.main.re = false;
_root.gotoAndPlay(1);
}
}
onClipEvent (mouseMove) {
if (gs == 1) {
_root.char._x = _root._xmouse - (_root.char._width / 2);
_root.char._y = _root._ymouse - (_root.char._height / 2);
_root.chars._x = _root._xmouse - (_root.chars._width / 2);
_root.chars._y = _root._ymouse - (_root.chars._height / 2);
_root.charb._x = _root._xmouse - (_root.charb._width / 2);
_root.charb._y = _root._ymouse - (_root.charb._height / 2);
}
}
onClipEvent (enterFrame) {
if (stats != 0) {
time++;
if (time > 90) {
time = 0;
stats = 0;
_root.char._visible = true;
_root.chars._visible = false;
_root.charb._visible = false;
}
}
_root.livetxt.text = "Lives: " + lives;
if (time > 0) {
_root.itemtxt.text = "Item's Time Left: " + (90 - time);
}
if (time == 0) {
_root.itemtxt.text = "Item's Time Left: No Item";
}
_root.leveltxt.text = "Level: " + level;
if (gs == 1) {
st++;
lala++;
if (lala == 50) {
level++;
lala = 0;
}
score++;
if (_root.char.hitTest(_root.faster)) {
stats = 2;
time = 0;
_root.char._visible = true;
_root.charb._visible = false;
_root.chars._visible = false;
_root.faster._visible = false;
_root.faster._x = -100;
dirs = false;
give = null;
}
if (_root.char.hitTest(_root.slower)) {
stats = -2;
time = 0;
_root.char._visible = true;
_root.charb._visible = false;
_root.chars._visible = false;
_root.slower._visible = false;
_root.slower._x = -100;
dirs = false;
give = null;
}
if (_root.char.hitTest(_root.smaller)) {
stats = -1;
time = 0;
_root.char._visible = false;
_root.charb._visible = false;
_root.chars._visible = true;
_root.smaller._visible = false;
_root.smaller._x = -100;
dirs = false;
give = null;
}
if (_root.char.hitTest(_root.bigger)) {
stats = 1;
time = 0;
_root.chars._visible = false;
_root.char._visible = false;
_root.charb._visible = true;
_root.bigger._visible = false;
_root.bigger._x = -100;
dirs = false;
give = null;
}
if (((stats == 0) || (stats == 2)) || (stats == -2)) {
if (((((((((((((((_root.char.hitTest(_root.bgl1) || (_root.char.hitTest(_root.bgl2))) || (_root.char.hitTest(_root.bgl3))) || (_root.char.hitTest(_root.bgl4))) || (_root.char.hitTest(_root.bgr1))) || (_root.char.hitTest(_root.bgr2))) || (_root.char.hitTest(_root.bgr3))) || (_root.char.hitTest(_root.bgr4))) || (_root.char.hitTest(_root.bgt1))) || (_root.char.hitTest(_root.bgt2))) || (_root.char.hitTest(_root.bgt3))) || (_root.char.hitTest(_root.bgt4))) || (_root.char.hitTest(_root.bgb1))) || (_root.char.hitTest(_root.bgb2))) || (_root.char.hitTest(_root.bgb3))) || (_root.char.hitTest(_root.bgb4))) {
dead = true;
}
}
if (stats == -1) {
if (((((((((((((((_root.chars.hitTest(_root.bgl1) || (_root.char.hitTest(_root.bgl2))) || (_root.char.hitTest(_root.bgl3))) || (_root.char.hitTest(_root.bgl4))) || (_root.char.hitTest(_root.bgr1))) || (_root.char.hitTest(_root.bgr2))) || (_root.char.hitTest(_root.bgr3))) || (_root.char.hitTest(_root.bgr4))) || (_root.char.hitTest(_root.bgt1))) || (_root.char.hitTest(_root.bgt2))) || (_root.char.hitTest(_root.bgt3))) || (_root.char.hitTest(_root.bgt4))) || (_root.char.hitTest(_root.bgb1))) || (_root.char.hitTest(_root.bgb2))) || (_root.char.hitTest(_root.bgb3))) || (_root.char.hitTest(_root.bgb4))) {
dead = true;
}
}
if (stats == 1) {
if (((((((((((((((_root.charb.hitTest(_root.bgl1) || (_root.char.hitTest(_root.bgl2))) || (_root.char.hitTest(_root.bgl3))) || (_root.char.hitTest(_root.bgl4))) || (_root.char.hitTest(_root.bgr1))) || (_root.char.hitTest(_root.bgr2))) || (_root.char.hitTest(_root.bgr3))) || (_root.char.hitTest(_root.bgr4))) || (_root.char.hitTest(_root.bgt1))) || (_root.char.hitTest(_root.bgt2))) || (_root.char.hitTest(_root.bgt3))) || (_root.char.hitTest(_root.bgt4))) || (_root.char.hitTest(_root.bgb1))) || (_root.char.hitTest(_root.bgb2))) || (_root.char.hitTest(_root.bgb3))) || (_root.char.hitTest(_root.bgb4))) {
dead = true;
}
}
_root.scoretxt.text = "Score: " + score;
}
if (_root.char.hitTest(_root.Circle)) {
if (_root.bgr1._x < 0) {
_root.bgl1._x = 0;
_root.bgt1._y = 0;
_root.bgr1._x = 531.1;
_root.bgb1._y = 535.1;
_root.bgl1._y = 93.5 + random(349);
_root.bgr1._y = 93.5 + random(349);
_root.bgt1._x = 93.5 + random(349);
_root.bgb1._x = 93.5 + random(349);
}
if (_root.bgr2._x < 0) {
_root.bgl2._x = 0;
_root.bgt2._y = 0;
_root.bgr2._x = 531.1;
_root.bgb2._y = 535.1;
_root.bgl2._y = 93.5 + random(349);
_root.bgr2._y = 93.5 + random(349);
_root.bgt2._x = 93.5 + random(349);
_root.bgb2._x = 93.5 + random(349);
give = random(100);
dir = random(100);
dirs = false;
}
if (_root.bgr3._x < 0) {
_root.bgl3._x = 0;
_root.bgt3._y = 0;
_root.bgr3._x = 531.1;
_root.bgb3._y = 535.1;
_root.bgl3._y = 93.5 + random(349);
_root.bgr3._y = 93.5 + random(349);
_root.bgt3._x = 93.5 + random(349);
_root.bgb3._x = 93.5 + random(349);
}
if (_root.bgr4._x < 0) {
_root.bgl4._x = 0;
_root.bgt4._y = 0;
_root.bgr4._x = 531.1;
_root.bgb4._y = 535.1;
_root.bgl4._y = 93.5 + random(349);
_root.bgr4._y = 93.5 + random(349);
_root.bgt4._x = 93.5 + random(349);
_root.bgb4._x = 93.5 + random(349);
}
if ((stats == 2) || (stats == -2)) {
if (st > 0) {
_root.bgl1._x = (_root.bgl1._x + 10) + level;
_root.bgr1._x = (_root.bgr1._x - 10) - level;
_root.bgb1._y = (_root.bgb1._y - 10) - level;
_root.bgt1._y = (_root.bgt1._y + 10) - level;
if (give < 25) {
_root.smaller._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.smaller._x = 0;
_root.smaller._y = 93.5 + random(349);
}
_root.smaller._x = _root.smaller._x + 15;
if (_root.smaller._x > 456.5) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.smaller._x = 351.1;
_root.smaller._y = 93.5 + random(349);
}
_root.smaller._x = _root.smaller._x - 15;
if (_root.smaller._x < 0) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.smaller._y = 0;
_root.smaller._x = 93.5 + random(349);
}
_root.smaller._y = _root.smaller._y + 15;
if (_root.smaller._y > 456.5) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.smaller._y = 351.1;
_root.smaller._x = 93.5 + random(349);
}
_root.smaller._y = _root.smaller._y - 15;
if (_root.smaller._y < 0) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
}
if ((give >= 25) && (give < 50)) {
_root.bigger._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.bigger._x = 0;
_root.bigger._y = 93.5 + random(349);
}
_root.bigger._x = _root.bigger._x + 15;
if (_root.bigger._x > 456.5) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.bigger._x = 351.1;
_root.bigger._y = 93.5 + random(349);
}
_root.bigger._x = _root.bigger._x - 15;
if (_root.bigger._x < 0) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.bigger._y = 0;
_root.bigger._x = 93.5 + random(349);
}
_root.bigger._y = _root.bigger._y + 15;
if (_root.bigger._y > 456.5) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.bigger._y = 351.1;
_root.bigger._x = 93.5 + random(349);
}
_root.bigger._y = _root.bigger._y - 15;
if (_root.bigger._y < 0) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
}
if ((give >= 50) && (give < 75)) {
_root.faster._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.faster._x = 0;
_root.faster._y = 93.5 + random(349);
}
_root.faster._x = _root.faster._x + 15;
if (_root.faster._x > 456.5) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.faster._x = 351.1;
_root.faster._y = 93.5 + random(349);
}
_root.faster._x = _root.faster._x - 15;
if (_root.faster._x < 0) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.faster._y = 0;
_root.faster._x = 93.5 + random(349);
}
_root.faster._y = _root.faster._y + 15;
if (_root.faster._y > 456.5) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.faster._y = 351.1;
_root.faster._x = 93.5 + random(349);
}
_root.faster._y = _root.faster._y - 15;
if (_root.faster._y < 0) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
}
if ((give >= 75) && (give < 100)) {
_root.slower._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.slower._x = 0;
_root.slower._y = 93.5 + random(349);
}
_root.slower._x = _root.slower._x + 15;
if (_root.slower._x > 456.5) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.slower._x = 351.1;
_root.slower._y = 93.5 + random(349);
}
_root.slower._x = _root.slower._x - 15;
if (_root.slower._x < 0) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.slower._y = 0;
_root.slower._x = 93.5 + random(349);
}
_root.slower._y = _root.slower._y + 15;
if (_root.slower._y > 456.5) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.slower._y = 351.1;
_root.slower._x = 93.5 + random(349);
}
_root.slower._y = _root.slower._y - 15;
if (_root.slower._y < 0) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
}
}
if (st > 10) {
_root.bgl2._x = ((_root.bgl2._x + 10) + level) - stats;
_root.bgr2._x = ((_root.bgr2._x - 10) - level) + stats;
_root.bgb2._y = ((_root.bgb2._y - 10) - level) + stats;
_root.bgt2._y = ((_root.bgt2._y + 10) + level) - stats;
}
if (st > 20) {
_root.bgl3._x = ((_root.bgl3._x + 10) + level) - stats;
_root.bgr3._x = ((_root.bgr3._x - 10) - level) + stats;
_root.bgb3._y = ((_root.bgb3._y - 10) - level) + stats;
_root.bgt3._y = ((_root.bgt3._y + 10) + level) - stats;
}
if (st > 30) {
_root.bgl4._x = ((_root.bgl4._x + 10) + level) - stats;
_root.bgr4._x = ((_root.bgr4._x - 10) - level) + stats;
_root.bgb4._y = ((_root.bgb4._y - 10) - level) + stats;
_root.bgt4._y = ((_root.bgt4._y + 10) + level) - stats;
}
}
if ((stats != 2) && (stats != -2)) {
if (st > 0) {
_root.bgl1._x = (_root.bgl1._x + 10) + level;
_root.bgr1._x = (_root.bgr1._x - 10) - level;
_root.bgb1._y = (_root.bgb1._y - 10) - level;
_root.bgt1._y = (_root.bgt1._y + 10) + level;
if (give < 25) {
_root.smaller._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.smaller._x = 0;
_root.smaller._y = 93.5 + random(349);
}
_root.smaller._x = _root.smaller._x + 15;
if (_root.smaller._x > 336) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.smaller._x = 351.1;
_root.smaller._y = 93.5 + random(349);
}
_root.smaller._x = _root.smaller._x - 15;
if (_root.smaller._x < 0) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.smaller._y = 0;
_root.smaller._x = 93.5 + random(349);
}
_root.smaller._y = _root.smaller._y + 15;
if (_root.smaller._y > 336) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.smaller._y = 351.1;
_root.smaller._x = 93.5 + random(349);
}
_root.smaller._y = _root.smaller._y - 15;
if (_root.smaller._y < 0) {
_root.smaller._visible = false;
dirs = false;
give = null;
}
}
}
if ((give >= 25) && (give < 50)) {
_root.bigger._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.bigger._x = 0;
_root.bigger._y = 93.5 + random(349);
}
_root.bigger._x = _root.bigger._x + 15;
if (_root.bigger._x > 336) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.bigger._x = 351.1;
_root.bigger._y = 93.5 + random(349);
}
_root.bigger._x = _root.bigger._x - 15;
if (_root.bigger._x < 0) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.bigger._y = 0;
_root.bigger._x = 93.5 + random(349);
}
_root.bigger._y = _root.bigger._y + 15;
if (_root.bigger._y > 336) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.bigger._y = 351.1;
_root.bigger._x = 93.5 + random(349);
}
_root.bigger._y = _root.bigger._y - 15;
if (_root.bigger._y < 0) {
_root.bigger._visible = false;
dirs = false;
give = null;
}
}
}
if ((give >= 50) && (give < 75)) {
_root.faster._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.faster._x = 0;
_root.faster._y = 93.5 + random(349);
}
_root.faster._x = _root.faster._x + 15;
if (_root.faster._x > 336) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.faster._x = 351.1;
_root.faster._y = 93.5 + random(349);
}
_root.faster._x = _root.faster._x - 15;
if (_root.faster._x < 0) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.faster._y = 0;
_root.faster._x = 93.5 + random(349);
}
_root.faster._y = _root.faster._y + 15;
if (_root.faster._y > 336) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.faster._y = 351.1;
_root.faster._x = 93.5 + random(349);
}
_root.faster._y = _root.faster._y - 15;
if (_root.faster._y < 0) {
_root.faster._visible = false;
dirs = false;
give = null;
}
}
}
if ((give >= 75) && (give < 100)) {
_root.slower._visible = true;
if (dir < 25) {
if (dirs == false) {
dirs = true;
_root.slower._x = 0;
_root.slower._y = 93.5 + random(349);
}
_root.slower._x = _root.slower._x + 15;
if (_root.slower._x > 336) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 25) && (dir < 50)) {
if (dirs == false) {
dirs = true;
_root.slower._x = 351.1;
_root.slower._y = 93.5 + random(349);
}
_root.slower._x = _root.slower._x - 15;
if (_root.slower._x < 0) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
if ((dir >= 50) && (dir < 75)) {
if (dirs == false) {
dirs = true;
_root.slower._y = 0;
_root.slower._x = 93.5 + random(349);
}
_root.slower._y = _root.slower._y + 15;
if (_root.slower._y > 336) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
if (dir >= 75) {
if (dirs == false) {
dirs = true;
_root.slower._y = 351.1;
_root.slower._x = 93.5 + random(349);
}
_root.slower._y = _root.slower._y - 15;
if (_root.slower._y < 0) {
_root.slower._visible = false;
dirs = false;
give = null;
}
}
}
}
if (st > 10) {
_root.bgl2._x = (_root.bgl2._x + 10) + level;
_root.bgr2._x = (_root.bgr2._x - 10) - level;
_root.bgb2._y = (_root.bgb2._y - 10) - level;
_root.bgt2._y = (_root.bgt2._y + 10) + level;
}
if (st > 20) {
_root.bgl3._x = (_root.bgl3._x + 10) + level;
_root.bgr3._x = (_root.bgr3._x - 10) - level;
_root.bgb3._y = (_root.bgb3._y - 10) - level;
_root.bgt3._y = (_root.bgt3._y + 10) + level;
}
if (st > 30) {
_root.bgl4._x = (_root.bgl4._x + 10) + level;
_root.bgr4._x = (_root.bgr4._x - 10) - level;
_root.bgb4._y = (_root.bgb4._y - 10) - level;
_root.bgt4._y = (_root.bgt4._y + 10) + level;
}
}
} else {
dead = true;
}
if (dead == true) {
Mouse.show();
stats = 0;
time = 0;
_root.char._visible = true;
_root.chars._visible = false;
_root.charb._visible = false;
_root.char._x = 264.25;
_root.char._y = 264.25;
gs = 0;
lives = lives - 1;
stats = 0;
st = 0;
_root.bgl1._y = 93.5 + random(349);
_root.bgl2._y = 93.5 + random(349);
_root.bgl3._y = 93.5 + random(349);
_root.bgl4._y = 93.5 + random(349);
_root.bgr1._y = 93.5 + random(349);
_root.bgr2._y = 93.5 + random(349);
_root.bgr3._y = 93.5 + random(349);
_root.bgr4._y = 93.5 + random(349);
_root.bgt1._x = 93.5 + random(349);
_root.bgt2._x = 93.5 + random(349);
_root.bgt3._x = 93.5 + random(349);
_root.bgt4._x = 93.5 + random(349);
_root.bgb1._x = 93.5 + random(349);
_root.bgb2._x = 93.5 + random(349);
_root.bgb3._x = 93.5 + random(349);
_root.bgb4._x = 93.5 + random(349);
_root.bgl1._x = 0;
_root.bgl2._x = 0;
_root.bgl3._x = 0;
_root.bgl4._x = 0;
_root.bgr4._x = 0;
_root.bgr1._x = 531.1;
_root.bgr2._x = 531.1;
_root.bgr3._x = 531.1;
_root.bgr4._x = 531.1;
_root.bgt1._y = 0;
_root.bgt2._y = 0;
_root.bgt3._y = 0;
_root.bgt4._y = 0;
_root.bgb1._y = 535.1;
_root.bgb2._y = 535.1;
_root.bgb3._y = 535.1;
_root.bgb4._y = 535.1;
dead = false;
}
if (lives == 0) {
gs = -1;
if (_root.dd == false) {
if (_root.mus == true) {
_root.mus = false;
_root.bgs.stop();
_root.gov.start(0, 1);
_root.dd = true;
_root.re = null;
}
}
_root.sym._visible = true;
_root.gover._visible = true;
_root.gover2._visible = true;
}
}
onClipEvent (keyDown) {
if (Key.isDown(77)) {
if (_root.mus == true) {
_root.bgs.stop();
_root.mus = false;
}
}
if (Key.isDown(83)) {
if (_root.mus == false) {
_root.bgs.start(0, 99);
_root.mus = true;
}
}
}
Frame 3
stop();
Instance of Symbol 19 MovieClip "char" in Frame 3
onClipEvent (load) {
Mouse.show();
}
onClipEvent (mouseUp) {
_root.gotoAndPlay(1);
}
onClipEvent (keyDown) {
if (Key.isDown(77)) {
if (_root.mus == true) {
_root.bgs.stop();
_root.mus = false;
}
}
if (Key.isDown(83)) {
if (_root.mus == false) {
_root.bgs.start(0, 99);
_root.mus = true;
}
}
}
Frame 4
stop();
Instance of Symbol 17 MovieClip in Frame 4
onClipEvent (load) {
Mouse.show();
}
onClipEvent (mouseUp) {
_root.gotoAndPlay(1);
}
onClipEvent (keyDown) {
if (Key.isDown(77)) {
if (_root.mus == true) {
_root.bgs.stop();
_root.mus = false;
}
}
if (Key.isDown(83)) {
if (_root.mus == false) {
_root.bgs.start(0, 99);
_root.mus = true;
}
}
}