Combined Code
button 2 {
on (release, keyPress '<Space>') {
gotoAndPlay(2);
}
}
frame 1 {
stop();
}
movieClip 5 {
}
button 13 {
on (press) {
getURL('http://www.dougsworld.tk', '_blank');
}
}
button 16 {
on (press) {
gotoAndPlay(2);
}
on (release) {
gotoframe(1);
}
}
movieClip 19 {
frame 1 {
if (!_load) {
_load = 1;
tellTarget ('..') {
Mouse.show();
}
}
stop();
}
}
movieClip 20 {
}
button 25 {
on (press) {
getURL('http://www.hardassez.tk', '_blank');
}
}
movieClip 27 {
frame 1 {
text = ..:hig;
}
frame 2 {
gotoAndPlay(1);
}
}
frame 2 {
stop();
}
movieClip 29 {
frame 2 {
tellTarget ('..') {
var v2 = ((eval(/ball._target))._width + _width) / 2;
var v3 = ((eval(/ball._target))._height + _height) / 2;
if (v2 >= (eval(/ball._target))._x - _x) {
if (v2 >= _x - (eval(/ball._target))._x) {
if (v3 >= (eval(/ball._target))._y - _y) {
v3 < _y - (eval(/ball._target))._y ? 0 : 1;
}
}
}
// An attempt to read a value from empty stack
if (undefined) {
gotoAndPlay('/noise:2');
_root.avar = 0;
_root.ball.direc = 5 + _root.ball.dire;
}
}
gotoAndPlay(1);
}
}
movieClip 31 {
}
movieClip 32 {
frame 2 {
tellTarget ('..') {
var v2 = ((eval(/ball._target))._width + _width) / 2;
var v3 = ((eval(/ball._target))._height + _height) / 2;
if (v2 >= (eval(/ball._target))._x - _x) {
if (v2 >= _x - (eval(/ball._target))._x) {
if (v3 >= (eval(/ball._target))._y - _y) {
v3 < _y - (eval(/ball._target))._y ? 0 : 1;
}
}
}
// An attempt to read a value from empty stack
if (undefined) {
gotoAndPlay('/noise:2');
_root.avary = 0;
_root.ball.direcy = 5 + _root.ball.direy;
}
}
gotoAndPlay(1);
}
}
movieClip 33 {
}
movieClip 34 {
frame 2 {
tellTarget ('..') {
var v2 = ((eval(/ball._target))._width + _width) / 2;
var v3 = ((eval(/ball._target))._height + _height) / 2;
if (v2 >= (eval(/ball._target))._x - _x) {
if (v2 >= _x - (eval(/ball._target))._x) {
if (v3 >= (eval(/ball._target))._y - _y) {
v3 < _y - (eval(/ball._target))._y ? 0 : 1;
}
}
}
// An attempt to read a value from empty stack
if (undefined) {
gotoAndPlay('/noise:2');
_root.avary = 1;
_root.ball.direcy = -(5 + _root.ball.direy);
}
}
gotoAndPlay(1);
}
}
movieClip 35 {
}
movieClip 36 {
frame 2 {
tellTarget ('..') {
var v2 = ((eval(/ball._target))._width + _width) / 2;
var v3 = ((eval(/ball._target))._height + _height) / 2;
if (v2 >= (eval(/ball._target))._x - _x) {
if (v2 >= _x - (eval(/ball._target))._x) {
if (v3 >= (eval(/ball._target))._y - _y) {
v3 < _y - (eval(/ball._target))._y ? 0 : 1;
}
}
}
// An attempt to read a value from empty stack
if (undefined) {
gotoAndPlay('/noise:2');
_root.avar = 1;
_root.ball.direc = -(5 + _root.ball.dire);
}
}
gotoAndPlay(1);
}
}
movieClip 37 {
}
movieClip 38 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 4 {
if (_parent.highscore > _parent.hig) {
_parent.hig = _parent.highscore;
}
gotoAndPlay('/:a');
}
frame 5 {
stop();
stop();
}
}
movieClip 41 {
frame 1 {
if (!_load) {
_load = 1;
tellTarget ('..') {
Mouse.hide();
}
}
nextFrame();
play();
}
frame 3 {
tellTarget ('..') {
_root.a._Y = this._parent._ymouse;
_root.ato._Y = this._parent._ymouse;
_root.b._X = this._parent._xmouse;
_root.bto._X = this._parent._Xmouse;
if (_root.a._Y >= 494) {
_root.a._Y = 494;
_root.ato._Y = 494;
}
if (56 >= _root.a._Y) {
_root.a._Y = 56;
_root.ato._Y = 56;
}
if (_root.b._x < 480 & 50 < _root.b._x) {
}
if (_root.b._X >= 480) {
_root.b._X = 480;
_root.bto._x = 480;
}
if (50 >= _root.b._X) {
_root.b._X = 50;
_root.bto._X = 50;
}
highscore += 1;
}
gotoAndPlay(2);
}
}
movieClip 42 {
}
movieClip 44 {
frame 1 {
_parent.highscore = 0;
_x = 275;
_y = 275;
if (random(10000) / 100 >= 50) {
direc = 5;
} else {
direc = -5;
}
if (random(10000) / 100 >= 50) {
direcy = 5;
} else {
direcy = -5;
}
_root.avar = 1;
_root.avary = 1;
dire = 0;
direy = 1;
}
frame 2 {
if (_root.avar != 1) {
if (_root.avar == 0) {
_x += direc + dire;
}
} else {
_x += direc - dire;
}
if (_x >= 20) {
if (530 < _x) {
gotoAndPlay('/noise:4');
_x = 275;
gotoAndPlay(1);
}
} else {
gotoAndPlay('/noise:4');
_x = 275;
gotoAndPlay(1);
}
if (_root.avary != 1) {
if (_root.avary == 0) {
_y += direcy + direy;
}
} else {
_y += direcy - direy;
}
if (_y >= 20) {
if (530 < _y) {
gotoAndPlay('/noise:4');
_y = 275;
gotoAndPlay(1);
}
} else {
gotoAndPlay('/noise:4');
_y = 275;
gotoAndPlay(1);
}
if (dire < 6) {
dire += 0.015;
}
if (direy < 6) {
direy += 0.015;
}
if (random(10000) / 100 < 25) {
dire -= rndint(2);
}
if (random(10000) / 100 < 25) {
direy -= rndint(2);
}
}
frame 3 {
_parent.highscore += 1;
gotoAndPlay(2);
}
}
movieClip 46 {
}