Frame 1
function doSomething() {
getURL ("http://www.cremationproductions.com", _blank);
}
function doSomething2() {
getURL ("http://www.cremationproductions.com", _blank);
}
function doSomething3() {
getURL ("http://www.rustygames.com/index.php?ref=dp2", _blank);
}
stop();
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Made by Eggy", doSomething);
Functioned2 = new ContextMenuItem("Visit Cremation Productions", doSomething2);
Functioned3 = new ContextMenuItem("Visit Rusty Games", doSomething3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Instance of Symbol 23 MovieClip in Frame 1
on (press) {
getURL ("http://www.rustygames.com/index.php?ref=dp2", blank);
}
Frame 2
stop();
Instance of Symbol 34 MovieClip in Frame 2
on (press) {
getURL ("http://www.rustygames.com/index.php?ref=dp2", blank);
}
Frame 3
stop();
Instance of Symbol 43 MovieClip in Frame 3
on (press) {
getURL ("http://www.cremationproductions.com", "_blank");
}
Frame 4
stop();
_root.ypos = 0;
Frame 5
stop();
Frame 6
stop();
Instance of Symbol 249 MovieClip in Frame 6
on (press) {
getURL ("http://www.cremationproductions.com");
}
Frame 7
stop();
Instance of Symbol 252 MovieClip "flag" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
stopAllSounds();
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.gotoAndStop(4);
}
}
onClipEvent (load) {
if (this._name != "flag") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
on (release) {
if (_root._currentframe == 7) {
stopDrag();
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Instance of Symbol 255 MovieClip in Frame 7
onClipEvent (load) {
beenPressed = false;
beenPressed2 = false;
beenPressed3 = false;
beenPressed4 = false;
beenPressed5 = false;
beenPressed6 = false;
beenPressed7 = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(65) && (!beenPressed)) {
beenPressed = true;
duplicateMovieClip (_root.vspike, "vspikebitch" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(65)) {
beenPressed = false;
}
if (Key.isDown(66) && (!beenPressed2)) {
beenPressed2 = true;
duplicateMovieClip (_root.hspike, "hspikebitch" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(66)) {
beenPressed2 = false;
}
if (Key.isDown(67) && (!beenPressed3)) {
beenPressed3 = true;
duplicateMovieClip (_root.flag, "flagherek" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(67)) {
beenPressed3 = false;
}
if (Key.isDown(68) && (!beenPressed4)) {
beenPressed4 = true;
duplicateMovieClip (_root.circlespike, "circlepsokdad" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(68)) {
beenPressed4 = false;
}
if (Key.isDown(69) && (!beenPressed5)) {
beenPressed5 = true;
duplicateMovieClip (_root.hammer, "hammerspikeomg" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(69)) {
beenPressed5 = false;
}
if (Key.isDown(70) && (!beenPressed6)) {
beenPressed6 = true;
duplicateMovieClip (_root.hacker, "hackerersadg" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(70)) {
beenPressed6 = false;
}
if (Key.isDown(71) && (!beenPressed7)) {
beenPressed7 = true;
duplicateMovieClip (_root.convey, "conveyferrh" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (!Key.isDown(71)) {
beenPressed7 = false;
}
}
Instance of Symbol 259 MovieClip "vspike" in Frame 7
onClipEvent (load) {
if (this._name != "vspike") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
on (release) {
if (_root._currentframe == 7) {
stopDrag();
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Instance of Symbol 264 MovieClip "hspike" in Frame 7
onClipEvent (load) {
if (this._name != "hspike") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
onClipEvent (enterFrame) {
_root.onMouseUp = function () {
if (_root._currentframe == 7) {
stopDrag();
}
};
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Instance of Symbol 307 MovieClip "circlespike" in Frame 7
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
onClipEvent (load) {
if (this._name != "circlespike") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
on (release) {
if (_root._currentframe == 7) {
stopDrag();
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Instance of Symbol 310 MovieClip "hammer" in Frame 7
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
onClipEvent (load) {
if (this._name != "hammer") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
onClipEvent (enterFrame) {
_root.onMouseUp = function () {
if (_root._currentframe == 7) {
stopDrag();
}
};
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Instance of Symbol 315 MovieClip "hacker" in Frame 7
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
onClipEvent (load) {
if (this._name != "hacker") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
on (release) {
if (_root._currentframe == 7) {
stopDrag();
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Instance of Symbol 317 MovieClip "convey" in Frame 7
onClipEvent (load) {
if (this._name != "convey") {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
on (press) {
if (_root._currentframe == 7) {
startDrag (this);
}
}
on (release) {
if (_root._currentframe == 7) {
stopDrag();
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
Frame 8
stop();
_root.onMouseDown = function () {
_root.ground.moveTo(_xmouse, _ymouse);
this.onMouseMove = function () {
_root.ground.lineTo(_xmouse, _ymouse);
updateAfterEvent();
};
};
_root.onMouseUp = function () {
this.onMouseMove = null;
};
Instance of Symbol 336 MovieClip "char" in Frame 8
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 337 MovieClip in Frame 8
/* no clip actions */
Frame 9
stop();
medium = false;
Frame 10
unloadMovie (_root.ground);
nextFrame();
_root.ground.lineStyle(20, 0, 100);
Frame 11
stop();
_root.nono = false;
_root.mtrue.bar = 500;
_root.ground.moveTo(_xmouse, _ymouse);
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 11
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
_root.nono = true;
}
if (this._y < 0) {
this._x = 30;
this._y = 547;
_root.nono = true;
}
if (this._x < -20) {
this._x = 30;
this._y = 547;
_root.nono = true;
}
if (this._x > 810) {
this._x = 30;
this._y = 547;
_root.nono = true;
}
}
Instance of Symbol 373 MovieClip in Frame 11
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 391 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Frame 12
unloadMovie (_root.ground);
nextFrame();
Frame 13
stop();
_root.nono = false;
_root.mtrue.bar = 550;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 13
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 13
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 14
unloadMovie (_root.ground);
nextFrame();
Frame 15
stop();
_root.nono = false;
_root.mtrue.bar = 650;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 15
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 15
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 16
unloadMovie (_root.ground);
nextFrame();
Frame 17
stop();
_root.nono = false;
_root.mtrue.bar = 200;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 17
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 17
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 18
unloadMovie (_root.ground);
nextFrame();
Frame 19
stop();
_root.nono = false;
_root.mtrue.bar = 800;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 19
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 19
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 397 MovieClip in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 397 MovieClip in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 397 MovieClip in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 397 MovieClip in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Frame 20
unloadMovie (_root.ground);
nextFrame();
Frame 21
stop();
_root.nono = false;
_root.mtrue.bar = 450;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 21
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 21
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 21
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 397 MovieClip in Frame 21
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 21
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Frame 22
unloadMovie (_root.ground);
nextFrame();
Frame 23
stop();
_root.nono = false;
_root.mtrue.bar = 500;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 23
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 23
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 401 MovieClip "bob" in Frame 23
onClipEvent (enterFrame) {
this._y = this._y + 2;
}
Frame 24
unloadMovie (_root.ground);
nextFrame();
Frame 25
stop();
_root.nono = false;
_root.mtrue.bar = 300;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 25
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 25
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 403 MovieClip in Frame 25
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 403 MovieClip in Frame 25
onClipEvent (enterFrame) {
this._rotation = this._rotation - 5;
}
Frame 26
unloadMovie (_root.ground);
nextFrame();
Frame 27
stop();
_root.nono = false;
_root.mtrue.bar = 650;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 27
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 27
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 28
unloadMovie (_root.ground);
nextFrame();
Frame 29
stop();
_root.nono = false;
_root.mtrue.bar = 80;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 29
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(100, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(100, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(100, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(100, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 29
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 30
unloadMovie (_root.ground);
nextFrame();
Frame 31
stop();
_root.nono = false;
_root.mtrue.bar = 800;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 31
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 408 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(200, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(200, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(200, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(200, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 31
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 32
unloadMovie (_root.ground);
nextFrame();
Frame 33
stop();
_root.nono = false;
_root.mtrue.bar = 400;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 33
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 403 MovieClip in Frame 33
onClipEvent (enterFrame) {
this._rotation = this._rotation - 5;
}
Instance of Symbol 336 MovieClip "char" in Frame 33
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 33
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Frame 34
unloadMovie (_root.ground);
nextFrame();
_root.ground.lineStyle(20, 0, 100);
Frame 35
stop();
_root.nono = false;
_root.mtrue.bar = 25;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 336 MovieClip "char" in Frame 35
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 373 MovieClip in Frame 35
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 35
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 391 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Frame 36
unloadMovie (_root.ground);
nextFrame();
_root.ground.lineStyle(20, 0, 100);
Frame 37
stop();
_root.nono = false;
_root.mtrue.bar = 2500;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 37
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 373 MovieClip in Frame 37
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 391 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Frame 38
unloadMovie (_root.ground);
nextFrame();
_root.ground.lineStyle(20, 0, 100);
Frame 39
stop();
_root.nono = false;
_root.mtrue.bar = 650;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 39
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 373 MovieClip in Frame 39
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 39
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 39
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Frame 40
unloadMovie (_root.ground);
nextFrame();
_root.ground.lineStyle(20, 0, 100);
Frame 41
stop();
_root.nono = false;
_root.mtrue.bar = 300;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 41
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 373 MovieClip in Frame 41
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 41
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 41
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 417 MovieClip "camera2" in Frame 41
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet2" in Frame 41
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Frame 42
unloadMovie (_root.ground);
nextFrame();
_root.ground.lineStyle(20, 0, 100);
_root.nono == true;
Frame 43
stop();
_root.nono = false;
_root.mtrue.bar = 300;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 43
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 373 MovieClip in Frame 43
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 43
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 43
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 417 MovieClip "camera2" in Frame 43
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet2" in Frame 43
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 397 MovieClip in Frame 43
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 43
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Frame 44
unloadMovie (_root.ground);
nextFrame();
Frame 45
stop();
_root.nono = false;
_root.mtrue.bar = 110;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 45
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 45
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 403 MovieClip in Frame 45
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 403 MovieClip in Frame 45
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 45
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 403 MovieClip in Frame 45
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 45
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 403 MovieClip in Frame 45
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Frame 46
unloadMovie (_root.ground);
nextFrame();
Frame 47
stop();
_root.nono = false;
_root.mtrue.bar = 300;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 47
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 47
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 47
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 47
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Frame 48
unloadMovie (_root.ground);
nextFrame();
Frame 49
stop();
_root.nono = false;
_root.mtrue.bar = 2000;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 49
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 49
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 50
unloadMovie (_root.ground);
nextFrame();
Frame 51
stop();
_root.nono = false;
_root.mtrue.bar = 250;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 51
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 51
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera2" in Frame 51
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 51
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 419 MovieClip "bullet2" in Frame 51
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 51
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Frame 52
unloadMovie (_root.ground);
nextFrame();
Frame 53
stop();
_root.nono = false;
_root.mtrue.bar = 650;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 53
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 53
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 53
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 403 MovieClip in Frame 53
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 397 MovieClip in Frame 53
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Frame 54
unloadMovie (_root.ground);
nextFrame();
Frame 55
stop();
_root.nono = false;
_root.mtrue.bar = 1000;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 55
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 55
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 55
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 55
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 417 MovieClip "camera2" in Frame 55
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet2" in Frame 55
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Frame 56
unloadMovie (_root.ground);
nextFrame();
Frame 57
stop();
_root.nono = false;
_root.mtrue.bar = 550;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 57
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 57
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 57
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 57
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 57
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 57
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 417 MovieClip "camera2" in Frame 57
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet2" in Frame 57
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 417 MovieClip "camera3" in Frame 57
onClipEvent (enterFrame) {
rx3 = _root.char._x;
ry3 = _root.char._y;
cx3 = _root.camera3._x;
cy3 = _root.camera3._y;
_rotation = ((Math.atan2(ry3 - cy3, rx3 - cx3) / (Math.PI/180)) + 90);
}
Instance of Symbol 417 MovieClip "camera4" in Frame 57
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera4._x;
cy2 = _root.camera4._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 417 MovieClip "camera5" in Frame 57
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera5._x;
cy2 = _root.camera5._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet3" in Frame 57
onClipEvent (load) {
spd = 20;
_x = _root.camera3._x;
_y = _root.camera3._y;
_rotation = _root.camera3._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet3") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 419 MovieClip "bullet4" in Frame 57
onClipEvent (load) {
spd = 20;
_x = _root.camera4._x;
_y = _root.camera4._y;
_rotation = _root.camera4._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet4") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 419 MovieClip "bullet5" in Frame 57
onClipEvent (load) {
spd = 20;
_x = _root.camera5._x;
_y = _root.camera5._y;
_rotation = _root.camera5._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet5") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Frame 58
unloadMovie (_root.ground);
nextFrame();
Frame 59
stop();
_root.nono = false;
_root.mtrue.bar = 500;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 59
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 59
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 403 MovieClip in Frame 59
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 59
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 59
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 59
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Frame 60
unloadMovie (_root.ground);
nextFrame();
Frame 61
stop();
_root.nono = false;
_root.mtrue.bar = 100;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 61
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 61
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 61
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 61
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 61
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 61
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 61
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Frame 62
unloadMovie (_root.ground);
nextFrame();
Frame 63
stop();
_root.nono = false;
_root.mtrue.bar = 1000;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 63
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 63
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 63
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Frame 64
unloadMovie (_root.ground);
nextFrame();
Frame 65
stop();
_root.nono = false;
_root.mtrue.bar = 500;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 65
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 65
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Frame 66
unloadMovie (_root.ground);
nextFrame();
Frame 67
stop();
_root.nono = false;
_root.mtrue.bar = 999;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 67
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 67
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 67
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 67
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Frame 68
unloadMovie (_root.ground);
nextFrame();
Frame 69
stop();
_root.nono = false;
_root.mtrue.bar = 999;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 69
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 69
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 403 MovieClip in Frame 69
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 69
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 403 MovieClip in Frame 69
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
}
Instance of Symbol 403 MovieClip in Frame 69
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Frame 70
unloadMovie (_root.ground);
nextFrame();
Frame 71
stop();
_root.nono = false;
_root.mtrue.bar = 999;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 368 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 336 MovieClip "char" in Frame 71
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 391 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 71
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 71
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 71
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 403 MovieClip in Frame 71
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
}
Frame 72
unloadMovie (_root.ground);
nextFrame();
Frame 73
stop();
_root.nono = false;
_root.mtrue.bar = 650;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 73
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 73
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 73
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 73
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Frame 74
unloadMovie (_root.ground);
nextFrame();
Frame 75
stop();
_root.nono = false;
_root.mtrue.bar = 600;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 75
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 75
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 403 MovieClip in Frame 75
onClipEvent (enterFrame) {
this._rotation = this._rotation - 9;
}
Instance of Symbol 397 MovieClip in Frame 75
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Instance of Symbol 397 MovieClip in Frame 75
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.5;
}
Frame 76
unloadMovie (_root.ground);
nextFrame();
Frame 77
stop();
_root.nono = false;
_root.mtrue.bar = 999;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 77
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 77
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 77
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 77
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 77
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 77
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 399 MovieClip "circlespike" in Frame 77
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Frame 78
unloadMovie (_root.ground);
nextFrame();
Frame 79
stop();
_root.nono = false;
_root.mtrue.bar = 700;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 399 MovieClip "circlespike" in Frame 79
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 391 MovieClip in Frame 79
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 79
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 79
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 79
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 417 MovieClip "camera2" in Frame 79
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 79
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 419 MovieClip "bullet2" in Frame 79
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 403 MovieClip in Frame 79
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Frame 80
unloadMovie (_root.ground);
nextFrame();
Frame 81
stop();
_root.nono = false;
_root.mtrue.bar = 0;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 336 MovieClip "char" in Frame 81
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 81
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 417 MovieClip "camera2" in Frame 81
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 454 MovieClip "bullet" in Frame 81
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 372;
_root.char._y = 46;
}
}
Instance of Symbol 455 MovieClip "bullet2" in Frame 81
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 372;
_root.char._y = 46;
}
}
Frame 82
unloadMovie (_root.ground);
nextFrame();
Frame 83
stop();
_root.nono = false;
_root.mtrue.bar = 700;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 83
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 83
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 83
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 83
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 403 MovieClip in Frame 83
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 403 MovieClip in Frame 83
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Frame 84
unloadMovie (_root.ground);
nextFrame();
Frame 85
stop();
_root.nono = false;
_root.mtrue.bar = 600;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 85
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 85
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Frame 86
unloadMovie (_root.ground);
nextFrame();
Frame 87
stop();
_root.nono = false;
_root.mtrue.bar = 999;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 87
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 87
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 368 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 87
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 87
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Frame 88
unloadMovie (_root.ground);
nextFrame();
Frame 89
stop();
_root.nono = false;
_root.mtrue.bar = 24;
if (_root.medium == true) {
_root.mtrue.gotoAndStop(2);
}
_root.onMouseDown = function () {
if (_root.mtrue.bar > 0) {
_root.ground.moveTo(_xmouse, _ymouse);
_root.ground.lineTo(_xmouse + 1, _ymouse + 1);
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - 12;
}
_root.dist = 0;
_root.prevx = _xmouse;
_root.prevy = _ymouse;
mousedown = true;
}
};
_root.onMouseUp = function () {
if (_root.mtrue.bar > 0) {
mousedown = false;
}
};
_root.onMouseMove = function () {
if (mousedown) {
if (_root.mtrue.bar > 0) {
_root.xdiff = prevx - _xmouse;
_root.ydiff = prevy - _ymouse;
_root.dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
if (_root.medium == true) {
_root.mtrue.bar = _root.mtrue.bar - _root.dist;
}
_root.dist = 0;
prevx = _xmouse;
prevy = _ymouse;
_root.ground.lineTo(_xmouse, _ymouse);
}
}
};
Instance of Symbol 391 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (_root.blaker._currentframe == 1) {
_root.ground.lineStyle(20, 0, 100);
}
if (_root.blaker._currentframe == 2) {
_root.ground.lineStyle(20, 16711680, 100);
}
if (_root.blaker._currentframe == 3) {
_root.ground.lineStyle(20, 255, 100);
}
if (_root.blaker._currentframe == 4) {
_root.ground.lineStyle(20, 16776960, 100);
}
}
Instance of Symbol 373 MovieClip in Frame 89
onClipEvent (enterFrame) {
_root.ydiff = _root.ypos - _root.char._y;
if ((_root.ydiff >= 70) and (_root.nono == false)) {
_root.prevFrame();
}
_root.ypos = _root.char._y;
}
onClipEvent (enterFrame) {
if (_root.nono == true) {
_root.nono = false;
}
}
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
}
Instance of Symbol 336 MovieClip "char" in Frame 89
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this._y > 750) {
_root.nono = true;
someSound = new Sound();
someSound.attachSound("scream", this);
someSound.start();
this._x = 30;
this._y = 547;
}
if (this._y < 0) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x < -20) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
if (this._x > 810) {
_root.nono = true;
this._x = 30;
this._y = 547;
}
}
Instance of Symbol 417 MovieClip "camera" in Frame 89
onClipEvent (enterFrame) {
rx = _root.char._x;
ry = _root.char._y;
cx = _root.camera._x;
cy = _root.camera._y;
_rotation = ((Math.atan2(ry - cy, rx - cx) / (Math.PI/180)) + 90);
}
Instance of Symbol 419 MovieClip "bullet" in Frame 89
onClipEvent (load) {
spd = 20;
_x = _root.camera._x;
_y = _root.camera._y;
_rotation = _root.camera._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 417 MovieClip "camera2" in Frame 89
onClipEvent (enterFrame) {
rx2 = _root.char._x;
ry2 = _root.char._y;
cx2 = _root.camera2._x;
cy2 = _root.camera2._y;
_rotation = ((Math.atan2(ry2 - cy2, rx2 - cx2) / (Math.PI/180)) + 90);
}
Instance of Symbol 455 MovieClip "bullet2" in Frame 89
onClipEvent (load) {
spd = 20;
_x = _root.camera2._x;
_y = _root.camera2._y;
_rotation = _root.camera2._rotation;
}
onClipEvent (enterFrame) {
if (_name == "bullet2") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
removeMovieClip(this);
_root.char._x = 372;
_root.char._y = 46;
}
}
Frame 90
stop();
Symbol 8 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.gotoAndStop(2);
}
Symbol 8 MovieClip Frame 2
gotoAndPlay (1);
Symbol 24 Button
on (press) {
getURL ("http://www.rustygames.com/index.php?ref=dp2", _blank);
}
Symbol 34 MovieClip Frame 140
_root.gotoAndStop(3);
Symbol 35 Button
on (press) {
getURL ("http://www.rustygames.com/index.php?ref=dp2", _blank);
}
Instance of Symbol 40 MovieClip in Symbol 43 MovieClip Frame 1
on (press) {
getURL ("http://www.cremationproductions.com");
}
Symbol 43 MovieClip Frame 105
_root.gotoAndStop(4);
Symbol 59 Button
on (press) {
_root.gotoAndPlay(9);
}
Symbol 78 Button
on (press) {
_root.gotoAndPlay(5);
}
Symbol 81 Button
on (press) {
_root.gotoAndStop(6);
}
Symbol 84 Button
on (press) {
getURL ("http://www.rustygames.com/index.php?ref=dp2", _blank);
}
Symbol 87 Button
on (press) {
_root.gotoAndPlay(7);
}
Symbol 243 Button
on (press) {
_root.gotoAndPlay(4);
}
Instance of Symbol 258 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.penis._x = char._x;
_root.penis._y = char._y;
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 263 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.penis._x = char._x;
_root.penis._y = char._y;
_root.char._x = 30;
_root.char._y = 547;
}
}
Symbol 274 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(4);
}
Symbol 282 Button
on (press) {
_root.gotoAndStop(8);
}
Symbol 285 Button
on (press) {
stopAllSounds();
nextFrame();
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 286 Button
on (press) {
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 288 Button
on (press) {
stopAllSounds();
gotoAndStop (4);
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 289 Button
on (press) {
stopAllSounds();
nextFrame();
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 291 Button
on (press) {
gotoAndStop (2);
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 292 Button
on (press) {
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 293 Button
on (press) {
stopAllSounds();
gotoAndStop (2);
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 296 Button
on (press) {
stopAllSounds();
prevFrame();
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 299 Button
on (press) {
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
stop();
Symbol 301 MovieClip Frame 3
stop();
Symbol 301 MovieClip Frame 4
stop();
Symbol 301 MovieClip Frame 5
stop();
Symbol 301 MovieClip Frame 6
stop();
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 305 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 30;
_root.char._y = 547;
}
}
Symbol 335 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 3
stop();
Symbol 336 MovieClip Frame 4
stop();
Symbol 338 Button
on (press) {
nextFrame();
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 340 Button
on (press) {
prevFrame();
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
}
Symbol 344 Button
on (press) {
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
nextFrame();
}
Symbol 345 Button
on (press) {
if (_root.mtrue.bar > 1) {
_root.mtrue.bar = _root.mtrue.bar + 12;
}
prevFrame();
}
Symbol 347 MovieClip Frame 1
stop();
_root.ground.lineStyle(20, 0, 100);
Symbol 347 MovieClip Frame 2
stop();
_root.ground.lineStyle(20, 16711680, 100);
Symbol 347 MovieClip Frame 3
stop();
_root.ground.lineStyle(20, 255, 100);
Symbol 347 MovieClip Frame 4
stop();
_root.ground.lineStyle(20, 16776960, 100);
Symbol 354 Button
on (press) {
prevFrame();
}
Symbol 361 Button
on (press) {
_root.nextFrame();
}
Symbol 367 Button
on (press) {
_root.medium = true;
_root.nextFrame();
}
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 2
stop();
Instance of Symbol 258 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.nono = true;
_root.penis._x = char._x;
_root.penis._y = char._y;
_root.char._x = 30;
_root.char._y = 547;
_root.bob._x = 1;
_root.bob._y = 52;
}
}
Symbol 382 Button
on (press) {
_root.prevFrame();
}
Symbol 389 Button
on (press) {
getURL ("http://www.rustygames.com/index.php?ref=dp2", _blank);
}
Instance of Symbol 368 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mtrue.bar < 0) {
_root.mtrue.bar = 0;
}
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Symbol 419 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 31
_root.bc2++;
if (_root.bc2 > 1100) {
_root.bc2 = 1000;
}
duplicateMovieClip (_root.bullet2, "b2" + _root.bc2, _root.bc2);
Symbol 421 MovieClip Frame 95
_root.bc++;
if (_root.bc > 2100) {
_root.bc = 2000;
}
duplicateMovieClip (_root.bullet, "b" + _root.bc, _root.bc);
Symbol 421 MovieClip Frame 136
_root.bc3++;
if (_root.bc3 > 3100) {
_root.bc3 = 3000;
}
duplicateMovieClip (_root.bullet3, "b3" + _root.bc3, _root.bc3);
Symbol 421 MovieClip Frame 178
_root.bc4++;
if (_root.bc4 > 4100) {
_root.bc4 = 4000;
}
duplicateMovieClip (_root.bullet4, "b4" + _root.bc4, _root.bc4);
Symbol 421 MovieClip Frame 209
_root.bc5++;
if (_root.bc5 > 5100) {
_root.bc5 = 5000;
}
duplicateMovieClip (_root.bullet5, "b5" + _root.bc5, _root.bc5);
Instance of Symbol 428 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 429 MovieClip in Symbol 431 MovieClip Frame 108
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 30;
_root.char._y = 547;
}
}
Instance of Symbol 430 MovieClip in Symbol 431 MovieClip Frame 208
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 30;
_root.char._y = 547;
}
}
Symbol 454 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 1
stop();
Instance of Symbol 458 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.nono = true;
_root.penis._x = char._x;
_root.penis._y = char._y;
_root.char._x = 372;
_root.char._y = 46;
_root.bob._x = 1;
_root.bob._y = 52;
}
}
Instance of Symbol 258 MovieClip in Symbol 463 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.nono = true;
_root.penis._x = char._x;
_root.penis._y = char._y;
_root.char._x = 30;
_root.char._y = 547;
_root.bob._x = 1;
_root.bob._y = 52;
}
}
Symbol 464 MovieClip Frame 313
stop();
Instance of Symbol 368 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
another = new Sound();
another.attachSound("ding", this);
another.start();
_root.nextFrame();
}
}
Symbol 467 MovieClip Frame 200
stop();
Symbol 468 Button
on (press) {
getURL ("http://www.rustygames.com?ref=dp2", blank);
}