Frame 1
pcent_loaded = (getBytesLoaded() / getBytesTotal()) * 100;
progBar._width = pcent_loaded * 5.6;
if (getBytesLoaded() >= getBytesTotal()) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
bgMusic = new Sound();
bgMusic.attachSound("happy going.wav");
_root.submitted = false;
if (musicInt != false) {
_root.bgMusic.start(0, 999);
_root.music = false;
musicInt = false;
}
_root.frametest = false;
stop();
Instance of Symbol 13 MovieClip in Frame 3
onClipEvent (load) {
this._x = -10;
this._y = -8;
}
onClipEvent (enterFrame) {
if (this._x <= 465) {
this._x = this._x + 5;
this._y = this._y + 3.2;
} else {
stop();
}
}
Instance of Symbol 66 MovieClip "squig" in Frame 3
onClipEvent (load) {
if (_root.hardLev == false) {
_root.squig._x = _root.easy._x;
_root.squig._y = _root.easy._y + 28;
} else if (_root.hardLev == true) {
_root.squig._x = _root.hard._x;
_root.squig._y = _root.hard._y + 28;
}
}
Frame 4
stop();
Instance of Symbol 37 MovieClip "plane" in Frame 4
onClipEvent (load) {
newx = _x;
alive = true;
_root.spacebar._visible = false;
_root.restart._visible = false;
_root.lives = 3;
if (_root.hardLev != true) {
_root.lifeHit = false;
_root.lifeHit1 = false;
_root.lifeHit2 = false;
_root.lifeHit3 = false;
_root.lifeHit4 = false;
_root.lifeHit5 = false;
_root.lifeHit6 = false;
} else {
_root.lifeHit = true;
_root.lifeHit1 = true;
_root.lifeHit2 = true;
_root.lifeHit3 = true;
_root.lifeHit4 = true;
_root.lifeHit5 = true;
_root.lifeHit6 = true;
}
}
onClipEvent (enterFrame) {
if (alive == true) {
_x = (_x + ((newx - _x) / 50));
lmx = this._x;
lmy = this._y;
rmx = this._x + 37.1;
rmy = this._y - 3;
t1x = this._x - 1.8;
t1y = this._y - 10.1;
t2x = this._x + 10.5;
t2y = this._y - 8;
t3x = this._x + 22;
t3y = this._y - 5.8;
b1x = this._x;
b1y = this._y + 10;
b2x = this._x + 11.4;
b2y = this._y + 6.6;
b3x = this._x + 24;
b3y = this._y + 2;
if (_root.plane._x <= 0) {
} else if (Key.isDown(37)) {
_root.plane.newx = _root.plane.newx - 10;
_root.plane._rotation = -10;
} else if (Key.isDown(39)) {
_root.plane.newx = _root.plane.newx + 10;
_root.plane._rotation = 0;
} else {
_root.plane._rotation = 0;
}
if (_root.plane._y >= 360) {
_root.plane.gotoAndPlay("crash");
alive = false;
}
if (_root.backGround.hitTest(_root.plane.lmx, _root.plane.lmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.rmx, _root.plane.rmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.t1x, _root.plane.t1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.t2x, _root.plane.t2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.t3x, _root.plane.t3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.b1x, _root.plane.b1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.b2x, _root.plane.b2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.backGround.hitTest(_root.plane.b3x, _root.plane.b3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
}
if (_root.baddy.hitTest(_root.plane.lmx, _root.plane.lmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.rmx, _root.plane.rmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.t1x, _root.plane.t1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.t2x, _root.plane.t2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.t3x, _root.plane.t3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.b1x, _root.plane.b1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.b2x, _root.plane.b2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy.hitTest(_root.plane.b3x, _root.plane.b3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
}
if (_root.baddy1.hitTest(_root.plane.lmx, _root.plane.lmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.rmx, _root.plane.rmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.t1x, _root.plane.t1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.t2x, _root.plane.t2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.t3x, _root.plane.t3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.b1x, _root.plane.b1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.b2x, _root.plane.b2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy1.hitTest(_root.plane.b3x, _root.plane.b3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
}
if (_root.baddy2.hitTest(_root.plane.lmx, _root.plane.lmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.rmx, _root.plane.rmy, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.t1x, _root.plane.t1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.t2x, _root.plane.t2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.t3x, _root.plane.t3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.b1x, _root.plane.b1y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.b2x, _root.plane.b2y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
} else if (_root.baddy2.hitTest(_root.plane.b3x, _root.plane.b3y, true)) {
_root.plane.gotoAndPlay("crash");
alive = false;
}
if (_root.wind.hitTest(_root.plane.lmx, _root.plane.lmy, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.rmx, _root.plane.rmy, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.t1x, _root.plane.t1y, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.t2x, _root.plane.t2y, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.t3x, _root.plane.t3y, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.b1x, _root.plane.b1y, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.b2x, _root.plane.b2y, true)) {
this._y = this._y - 3;
} else if (_root.wind.hitTest(_root.plane.b3x, _root.plane.b3y, true)) {
this._y = this._y - 3;
} else {
this._y = this._y + 2;
}
if (_root.plane._x >= 550) {
_root.frametest = true;
this._x = 20;
this.newx = 20;
this._y = this._y - 20;
_root.nextFrame();
}
if ((_root.plane._x <= -20) && (_root._currentframe != 4)) {
_root.frametest = true;
_root.prevFrame();
this._x = 500;
this.newx = 500;
this._y = this._y - 10;
} else if ((_root.plane._x <= 0) && (_root._currentframe == 4)) {
_root.plane.newx = _root.plane.newx + 20;
}
} else if (alive == false) {
if (_root.lives <= 0) {
_root.restart._visible = true;
if (Key.isDown(32)) {
_root.gotoAndPlay("intro");
}
} else {
_root.spacebar._visible = true;
if (Key.isDown(32)) {
_root.lives = _root.lives - 1;
_root.spacebar._visible = false;
_root.plane.gotoAndPlay("plane");
_root.plane._x = 20;
_root.plane.newx = 20;
_root.plane._y = 40;
alive = true;
}
if (Key.isDown(219) && (Key.isDown(56))) {
_root.frametest = true;
_root.prevFrame();
}
if (Key.isDown(221) && (Key.isDown(56))) {
_root.frametest = true;
_root.nextFrame();
}
}
}
}
Frame 5
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Frame 6
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 109 MovieClip "baddy" in Frame 6
onClipEvent (load) {
this._x = 600;
this._y = (math.random() * 100) + 20;
}
onClipEvent (enterFrame) {
if ((this._y >= 375) || (this._x <= -20)) {
this._x = 600;
this._y = (math.random() * 100) + 20;
} else if (y < 375) {
this._x = this._x - 2;
this._y = this._y + 0.9;
}
}
Frame 7
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 116 MovieClip "extraLife" in Frame 7
onClipEvent (load) {
if (_root.lifeHit2 == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit2 != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit2 = true;
}
}
}
Frame 8
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 123 MovieClip "baddy" in Frame 8
onClipEvent (enterFrame) {
if (this._y >= 375) {
this._x = (math.random() * 70) + 459.1;
this._y = 168.1 - (math.random() * 80);
} else if (this._y < 375) {
this._y = this._y + 1.5;
}
}
Instance of Symbol 123 MovieClip "baddy1" in Frame 8
onClipEvent (enterFrame) {
if (this._y >= 375) {
this._x = (math.random() * 70) + 459.1;
this._y = 64;
} else if (this._y < 375) {
this._y = this._y + 1.5;
}
}
Frame 9
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Frame 10
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 150 MovieClip "baddy" in Frame 10
onClipEvent (load) {
this._x = 434;
this._y = 269;
yv = -45;
xv = -4;
gravity = 1;
}
onClipEvent (enterFrame) {
if (this._x <= 75) {
this._x = 434;
this._y = 269;
yv = -45;
} else {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
}
}
Instance of Symbol 160 MovieClip "extraLife" in Frame 10
onClipEvent (load) {
if (_root.lifeHit1 == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit1 != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit1 = true;
}
}
}
Frame 11
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Frame 12
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 116 MovieClip "extraLife" in Frame 12
onClipEvent (load) {
if (_root.lifeHit6 == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit6 != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit6 = true;
}
}
}
Instance of Symbol 123 MovieClip "baddy" in Frame 12
onClipEvent (enterFrame) {
if (this._y >= 375) {
this._x = 240;
this._y = 165 - (math.random() * 20);
} else if (this._y < 375) {
this._y = this._y + 3;
}
}
Instance of Symbol 123 MovieClip "baddy1" in Frame 12
onClipEvent (enterFrame) {
if (this._y >= 375) {
this._x = (math.random() * 50) + 478;
this._y = 154 - (math.random() * 40);
} else if (this._y < 375) {
this._y = this._y + 2;
}
}
Frame 13
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 178 MovieClip "baddy1" in Frame 13
onClipEvent (load) {
path = true;
}
onClipEvent (enterFrame) {
if (path == true) {
if ((this._x <= 305) && (this._y <= 162)) {
this._x = 450;
this._y = 202;
path = false;
} else {
this._x = this._x + -4;
this._y = this._y + -1;
}
} else if (path == false) {
if ((this._x <= 153) && (this._y <= 189)) {
this._x = 450;
this._y = 202;
path = true;
} else {
this._x = this._x + -4;
this._y = this._y + -0.2;
}
}
}
Instance of Symbol 178 MovieClip "baddy" in Frame 13
onClipEvent (load) {
path = true;
}
onClipEvent (enterFrame) {
if (path == true) {
if ((this._x >= 300) && (this._y <= 165)) {
this._x = 192;
this._y = 196;
path = false;
} else {
this._x = this._x + 4;
this._y = this._y + -1.5;
}
} else if (path == false) {
if ((this._x >= 485) && (this._y <= 185)) {
this._x = 192;
this._y = 196;
path = true;
} else {
this._x = this._x + 4;
this._y = this._y + -0.2;
}
}
}
Frame 14
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 160 MovieClip "extraLife" in Frame 14
onClipEvent (load) {
if (_root.lifeHit3 == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit3 != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit3 = true;
}
}
}
Frame 15
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 116 MovieClip "extraLife" in Frame 15
onClipEvent (load) {
if (_root.lifeHit5 == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit5 != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit5 = true;
}
}
}
Instance of Symbol 248 MovieClip "baddy" in Frame 15
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
yv = 0;
xv = 0;
gravity = 1;
}
onClipEvent (enterFrame) {
if (this._y >= 365) {
this._x = oldx;
this._y = oldy;
yv = 0;
} else {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
}
}
Frame 16
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Frame 17
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 160 MovieClip "extraLife" in Frame 17
onClipEvent (load) {
if (_root.lifeHit == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit = true;
}
}
}
Frame 18
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Frame 19
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Frame 20
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 319 MovieClip "drip2" in Frame 20
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
count = 0;
yv = 0;
gravity = 1;
}
onClipEvent (enterFrame) {
if (_root.plane.alive == true) {
if (_root.plane.hitTest(this._x + 7, this._y, true) || (_root.plane.hitTest(this._x - 3, this._y + 7, true))) {
_root.plane.gotoAndPlay("crash");
_root.plane.alive = false;
yv = 0;
} else if (this._y < 365) {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
} else if (this._y >= 365) {
this._y = 470;
if (count <= 100) {
count = count + 1;
} else {
this._x = oldx;
this._y = oldy;
yv = 0;
count = 0;
}
}
} else if (this._y < 365) {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
} else if (this._y >= 365) {
this._y = 470;
if (count <= 100) {
count = count + 1;
} else {
this._x = oldx;
this._y = oldy;
yv = 0;
count = 0;
}
}
}
Frame 21
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 319 MovieClip in Frame 21
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
count = 0;
yv = 0;
gravity = 1;
}
onClipEvent (enterFrame) {
if (_root.plane.alive == true) {
if (_root.plane.hitTest(this._x + 7, this._y, true) || (_root.plane.hitTest(this._x - 3, this._y + 7, true))) {
_root.plane.gotoAndPlay("crash");
_root.plane.alive = false;
yv = 0;
} else if (this._y < 365) {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
} else if (this._y >= 365) {
this._y = 470;
if (count <= 15) {
count = count + 1;
} else {
this._x = oldx;
this._y = oldy;
yv = 0;
count = 0;
}
}
} else if (this._y < 365) {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
} else if (this._y >= 365) {
this._y = 470;
if (count <= 15) {
count = count + 1;
} else {
this._x = oldx;
this._y = oldy;
yv = 0;
count = 0;
}
}
}
Instance of Symbol 160 MovieClip "extraLife" in Frame 21
onClipEvent (load) {
if (_root.lifeHit4 == true) {
_root.extraLife._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lifeHit4 != true) {
if (_root.plane.hitTest(_root.extraLife)) {
_root.lives = _root.lives + 1;
_root.extraLife._visible = false;
_root.lifeHit4 = true;
}
}
}
Instance of Symbol 328 MovieClip "baddy" in Frame 21
onClipEvent (load) {
dir = true;
_root.baddy.gotoAndPlay("rLeft");
count = 0;
}
onClipEvent (enterFrame) {
if (dir == true) {
if (this._x >= 130) {
this._x = this._x - 2;
} else if (count <= 50) {
count = count + 1;
} else {
dir = false;
count = 0;
_root.baddy.gotoAndPlay("rRight");
}
} else if (this._x <= 525) {
this._x = this._x + 2;
} else if (count <= 5) {
count = count + 1;
} else {
dir = true;
count = 0;
_root.baddy.gotoAndPlay("rLeft");
}
}
Frame 22
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 109 MovieClip "baddy1" in Frame 22
onClipEvent (load) {
this._x = 600;
this._y = (math.random() * 100) + 20;
}
onClipEvent (enterFrame) {
if ((this._y >= 375) || (this._x <= -20)) {
this._x = 600;
this._y = (math.random() * 50) + 30;
} else if (y < 375) {
this._x = this._x - 2.4;
this._y = this._y + 0.5;
}
}
Instance of Symbol 109 MovieClip "baddy2" in Frame 22
onClipEvent (load) {
this._x = 490;
this._y = -10;
count = 0;
}
onClipEvent (enterFrame) {
if (count <= 75) {
count = count + 1;
} else if (this._y >= 375) {
this._x = 490;
this._y = -10;
} else if (y < 375) {
this._x = this._x - 0.4;
this._y = this._y + 1.4;
}
}
Instance of Symbol 328 MovieClip "baddy" in Frame 22
onClipEvent (load) {
dir = true;
_root.baddy.gotoAndPlay("rLeft");
count = 0;
}
onClipEvent (enterFrame) {
if (dir == true) {
if (this._x >= 140) {
this._x = this._x - 1.5;
} else if (count <= 5) {
count = count + 1;
} else {
dir = false;
count = 0;
_root.baddy.gotoAndPlay("rRight");
}
} else if (this._x <= 350) {
this._x = this._x + 1.5;
} else if (count <= 100) {
count = count + 1;
} else {
dir = true;
count = 0;
_root.baddy.gotoAndPlay("rLeft");
}
}
Frame 23
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 158 MovieClip "baddy" in Frame 23
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
yv = -45;
xv = -3.7;
gravity = 1;
count = 0;
dir = true;
}
onClipEvent (enterFrame) {
if (count < 50) {
count = count + 1;
} else if (dir == true) {
if (this._x <= 150) {
yv = -45;
dir = false;
count = 0;
} else {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
this._rotation = this._rotation + 40;
}
} else if (this._x >= 480) {
yv = -45;
dir = true;
this._x = oldx;
this._y = oldy;
count = 0;
} else {
this._x = this._x - xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
this._rotation = this._rotation - 40;
}
}
Instance of Symbol 158 MovieClip "baddy2" in Frame 23
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
yv = -78;
xv = -2.18;
gravity = 1;
count = 0;
dir = true;
}
onClipEvent (enterFrame) {
if (count < 12) {
count = count + 1;
} else if (dir == true) {
if (this._x <= 150) {
yv = -78;
dir = false;
count = 0;
} else {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
this._rotation = this._rotation + 40;
}
} else if (this._x >= 480) {
yv = -78;
dir = true;
this._x = oldx;
this._y = oldy;
count = 0;
} else {
this._x = this._x - xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
this._rotation = this._rotation - 40;
}
}
Instance of Symbol 158 MovieClip "baddy1" in Frame 23
onClipEvent (load) {
oldx = this._x;
oldy = this._y;
yv = -60;
xv = 2.75;
gravity = 1;
count = 0;
dir = true;
}
onClipEvent (enterFrame) {
if (count < 80) {
count = count + 1;
} else if (dir == true) {
if (this._x >= 482) {
yv = -60;
dir = false;
count = 0;
} else {
this._x = this._x + xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
this._rotation = this._rotation + 40;
}
} else if (this._x <= 150) {
yv = -60;
dir = true;
this._x = oldx;
this._y = oldy;
count = 0;
} else {
this._x = this._x - xv;
yv = yv + gravity;
this._y = this._y + int(yv / 10);
this._rotation = this._rotation - 40;
}
}
Frame 24
if (_root.frametest == false) {
gotoAndPlay (3);
}
_root.frametest = false;
Instance of Symbol 366 MovieClip "playHard" in Frame 24
onClipEvent (load) {
_root.playHard._visible = false;
}
Symbol 21 Button
on (release) {
if (_root.music != false) {
_root.bgMusic.start(0, 999);
_root.music = false;
} else {
_root.bgMusic.stop();
_root.music = true;
}
}
Symbol 25 Button
on (release) {
getURL ("http://www.ugotgames.com/", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://www.littlecitygames.com/", "_blank");
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 40 Button
on (release) {
getURL ("http://www.paperairplanegames.com/", "_blank");
}
Symbol 46 Button
on (release) {
_root.hardLev = false;
_root.squig._x = _root.easy._x;
_root.squig._y = _root.easy._y + 28;
}
Symbol 50 Button
on (release) {
_root.hardLev = true;
_root.squig._x = _root.hard._x;
_root.squig._y = _root.hard._y + 28;
}
Symbol 59 Button
on (release) {
_root.nextFrame();
}
Symbol 64 Button
on (release) {
getURL ("http://www.paperairplanegames.com/", "_blank");
}
Symbol 94 Button
on (release) {
if (_root.music != false) {
_root.bgMusic.start(0, 999);
_root.music = false;
} else {
_root.bgMusic.stop();
_root.music = true;
}
}
Symbol 123 MovieClip Frame 8
gotoAndPlay (1);
Symbol 150 MovieClip Frame 8
gotoAndPlay (1);
Symbol 218 MovieClip Frame 144
gotoAndPlay (1);
Symbol 241 MovieClip Frame 174
gotoAndPlay (1);
Symbol 257 MovieClip Frame 8
gotoAndPlay (1);
Symbol 262 MovieClip Frame 135
gotoAndPlay (1);
Symbol 263 MovieClip Frame 135
gotoAndPlay (1);
Symbol 264 MovieClip Frame 135
gotoAndPlay (1);
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
stop();
Symbol 352 Button
on (release) {
if (_root.submitted != true) {
if (_root.hardLev == true) {
getURL ("http://www.paperairplanegames.com/game1/highscores1.php", "_blank", "POST");
results = "Your name was just added to the winner's list. Go to www.paperairplanegames.com to view the other winners.";
_root.submitted = true;
} else {
_root.playHard._visible = true;
}
}
}
Symbol 357 Button
on (release) {
getURL ("http://www.ugotgames.com/", "_blank");
}
Symbol 364 Button
on (release) {
_root.gotoAndPlay("intro");
}