Combined Code
movieClip 33 {
}
movieClip 70 {
frame 69 {
stop();
}
}
movieClip 71 superlaser1a {
instance animate of movieClip 70 {
onClipEvent (load) {
rtime = 0;
rtimemax = 100;
_x = _root.p1.animate._x + 10;
_y = _root.p1.animate._y + 10;
}
onClipEvent (enterFrame) {
_x = _root.p1.animate._x + 10;
_y = _root.p1.animate._y + 10;
if (limit.hitTest(_root.ship1.limit)) {
_root.ship1.life -= 1;
_root.ship1.hit = true;
}
if (limit.hitTest(_root.ship2.limit)) {
_root.ship2.life -= 1;
_root.ship2.hit = true;
}
if (limit.hitTest(_root.ship3.limit)) {
_root.ship3.life -= 1;
_root.ship3.hit = true;
}
if (limit.hitTest(_root.ship4.limit)) {
_root.ship4.life -= 1;
_root.ship4.hit = true;
}
if (limit.hitTest(_root.ship5.limit)) {
_root.ship5.life -= 1;
_root.ship5.hit = true;
}
if (limit.hitTest(_root.boss1.limit)) {
_root.boss1.life -= 1;
_root.boss1.hit = true;
}
if (limit.hitTest(_root.boss2.limit)) {
_root.boss2.life -= 1;
_root.boss2.hit = true;
}
if (_root.p1.animate.dead) {
_parent.removeMovieClip();
}
if (_root.p1.animate.hit) {
_parent.removeMovieClip();
}
++rtime;
if (rtime >= rtimemax) {
_parent.removeMovieClip();
}
}
}
}
movieClip 73 {
}
movieClip 86 {
}
movieClip 99 {
}
movieClip 112 {
}
movieClip 125 {
}
movieClip 126 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 127 pup1a {
instance animate of movieClip 126 {
onClipEvent (load) {
pup_snd = new Sound();
pup_snd.attachSound('pup_snd');
pupno = random(4);
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 5;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (pupno == 0) {
gotoAndStop('y');
}
if (pupno == 1) {
gotoAndStop('r');
}
if (pupno == 2) {
gotoAndStop('g');
}
if (pupno == 3) {
gotoAndStop('b');
}
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
pup_snd.start();
if (pupno == 0) {
_root.p1.animate.nohit = true;
_root.p1.animate.nohitt = 0;
_root.p1_speed += 2;
_parent.removeMovieClip();
}
if (pupno == 1) {
if (!_root.p1.animate.life < 3) {
_root.p1.animate.life += 1;
}
_root.p1.animate.nohit = true;
_root.p1.animate.nohitt = 0;
_parent.removeMovieClip();
}
if (pupno == 2) {
_root.p1.animate.nohit = true;
_root.p1.animate.nohitt = 0;
_root.p1.animate.powerup = 1;
_parent.removeMovieClip();
}
if (pupno == 3) {
_root.p1.animate.nohit = true;
_root.p1.animate.nohitt = 0;
_root.p1.animate.powerup = 2;
_parent.removeMovieClip();
}
}
}
}
if (_x <= xlimit) {
_parent.removeMovieClip();
}
}
}
}
}
movieClip 132 {
}
movieClip 137 {
}
movieClip 154 {
}
movieClip 155 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 156 plane_image1a {
instance animate of movieClip 155 {
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = _alpha - 10;
if (_alpha <= 0) {
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
movieClip 157 {
}
movieClip 167 {
frame 12 {
gotoAndPlay(3);
}
}
movieClip 176 {
frame 13 {
stop();
}
}
movieClip 177 {
frame 1 {
stop();
}
}
movieClip 178 pl_supershot1a {
instance animate of movieClip 177 {
onClipEvent (load) {
speed = 15;
life = 16;
dead = false;
deadt = 0;
deadmax = 20;
up = false;
dspeed = 2;
dn = false;
}
onClipEvent (enterFrame) {
if (!dead) {
_x = _x + speed;
gotoAndStop('nd');
if (up) {
_y = _y - dspeed;
}
if (dn) {
_y = _y + dspeed;
}
if (limit.hitTest(_root.ship1.limit)) {
_root.ship1.life -= 1;
_root.ship1.hit = true;
life -= 1;
}
if (limit.hitTest(_root.ship2.limit)) {
_root.ship2.life -= 1;
_root.ship2.hit = true;
life -= 1;
}
if (limit.hitTest(_root.ship3.limit)) {
_root.ship3.life -= 1;
_root.ship3.hit = true;
life -= 1;
}
if (limit.hitTest(_root.ship4.limit)) {
_root.ship4.life -= 1;
_root.ship4.hit = true;
life -= 1;
}
if (limit.hitTest(_root.ship5.limit)) {
_root.ship5.life -= 1;
_root.ship5.hit = true;
life -= 1;
}
if (limit.hitTest(_root.ship6.limit)) {
_root.ship6.life -= 1;
_root.ship6.hit = true;
life -= 1;
}
if (limit.hitTest(_root.ship7.limit)) {
_root.ship7.life -= 1;
_root.ship7.hit = true;
life -= 1;
}
if (limit.hitTest(_root.boss1.limit)) {
_root.boss1.life -= 1;
_root.boss1.hit1 = true;
life -= 1;
}
if (limit.hitTest(_root.boss2.limit)) {
_root.boss2.life -= 1;
_root.boss2.hit1 = true;
life -= 1;
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
++deadt;
gotoAndStop('d');
if (deadt >= deadmax) {
_parent.removeMovieClip();
}
}
if (_x > 530) {
_parent.removeMovieClip();
} else {
if (_y < -70) {
_parent.removeMovieClip();
}
}
}
}
}
movieClip 180 {
}
movieClip 191 {
frame 1 {
scr_snd = new Sound();
scr_snd.attachSound('pshot1_snd');
scr_snd.start();
}
frame 13 {
gotoAndPlay(3);
}
}
movieClip 196 {
frame 1 {
scr_snd = new Sound();
scr_snd.attachSound('pshot_snd');
scr_snd.start();
}
frame 10 {
stop();
}
}
movieClip 197 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 198 pl_shot1 {
instance animate of movieClip 197 {
onClipEvent (load) {
speed = 12;
dead = false;
deadt = 0;
deadmax = 20;
up = false;
dspeed = 2;
dn = false;
}
onClipEvent (enterFrame) {
if (!dead) {
_x = _x + speed;
gotoAndStop('nd');
if (up) {
_y = _y - dspeed;
}
if (dn) {
_y = _y + dspeed;
}
if (limit.hitTest(_root.ship1.limit)) {
_root.ship1.life -= 1;
_root.ship1.hit = true;
dead = true;
}
if (limit.hitTest(_root.ship2.limit)) {
_root.ship2.life -= 1;
_root.ship2.hit = true;
dead = true;
}
if (limit.hitTest(_root.ship3.limit)) {
_root.ship3.life -= 1;
_root.ship3.hit = true;
dead = true;
}
if (limit.hitTest(_root.ship4.limit)) {
_root.ship4.life -= 1;
_root.ship4.hit = true;
dead = true;
}
if (limit.hitTest(_root.ship5.limit)) {
_root.ship5.life -= 1;
_root.ship5.hit = true;
dead = true;
}
if (limit.hitTest(_root.ship6.limit)) {
_root.ship6.life -= 1;
_root.ship6.hit = true;
dead = true;
}
if (limit.hitTest(_root.ship7.limit)) {
_root.ship7.life -= 1;
_root.ship7.hit = true;
dead = true;
}
if (limit.hitTest(_root.boss1.limit)) {
_root.boss1.life -= 1;
_root.boss1.hit1 = true;
dead = true;
}
if (limit.hitTest(_root.boss2.limit)) {
_root.boss2.life -= 1;
_root.boss2.hit1 = true;
dead = true;
}
i = 1;
while (i < _root.ebullet) {
if (limit.hitTest(_root['sq_missle1' + i].animate.limit)) {
_root['sq_missle1' + i].animate.dead = true;
dead = true;
}
++i;
}
}
if (dead) {
++deadt;
gotoAndStop('d');
if (deadt >= deadmax) {
_parent.removeMovieClip();
}
}
if (_x > 530) {
_parent.removeMovieClip();
} else {
if (_y < -70) {
_parent.removeMovieClip();
}
}
}
}
}
movieClip 200 {
}
movieClip 207 {
}
movieClip 210 {
}
movieClip 213 {
}
movieClip 216 {
}
movieClip 223 {
}
movieClip 224 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 225 ni_fly {
instance animate of movieClip 224 {
onClipEvent (load) {
hrt_snd = new Sound();
hrt_snd.attachSound('nihurt_snd');
comein = true;
comeint = 0;
comeinmax = 50;
comeinsp = 5;
comein_x = -10;
comein_y = 150;
comein_xmax = 150;
life = 3;
lifemax = 3;
Sspeed = 5;
_root.shipDead = false;
sy = _y;
ang = 0;
Redge = 300 - _width / 2;
Ledge = +(_width / 2);
Uedge = 350 - _height / 2;
Dedge = +(_height / 2);
missle = false;
move1 = true;
up = false;
dn = false;
rt = false;
lft = false;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 100;
shot = false;
shott = 0;
shotmax = 5;
size = 75;
_xscale = size;
_yscale = size;
deady = 10;
nohit = false;
nohitt = 0;
nohitmax = 30;
powerup = 0;
super1 = false;
super1t = 0;
super1max = 85;
blinkt = 0;
blinkhalf = 2;
blinkmax = 3;
idupcolor = new Color(this);
mainColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
hitcolor = new Color(this);
hitcolor0 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
hitcolor1 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '0', 'ab': '255'};
limit._visible = false;
anistop = false;
}
onClipEvent (enterFrame) {
limit._visible = false;
if (!_root.pause) {
if (_parent._name == 'p1') {
if (life >= lifemax) {
life = lifemax;
}
if (!anistop) {
if (!comein) {
if (!dead) {
if (life <= 0) {
dead = true;
}
if (!hit) {
if (Key.isDown(40) && _y < Uedge - 50) {
up = true;
} else {
up = false;
}
if (Key.isDown(38) && _y > Dedge + 50) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39) && _x < Redge) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37) && _x > Ledge) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (_root.chsht <= _root.chshtmax) {
++_root.chsht;
a = true;
}
} else {
if (a) {
if (_root.chsht >= 0 and _root.chsht < 20) {
shot = true;
shotno = 0;
_root.chsht = 0;
a = false;
}
if (_root.chsht >= 20 and _root.chsht < 60) {
shot = true;
shotno = 0;
_root.chsht = 0;
a = false;
}
if (_root.chsht >= 60 and _root.chsht < 100) {
shot = true;
_root.chsht = 0;
shotno = 1;
a = false;
}
if (_root.chsht >= 100) {
shot = true;
shotno = 1;
_root.chsht = 0;
a = false;
}
}
if (_root.chsht >= 0) {
--_root.chsht;
}
}
if (_root.superup >= 99) {
if (Key.isDown(68)) {
if (!b) {
_root.superup = 0;
super1 = true;
b = true;
}
} else {
b = false;
}
}
if (up) {
_y = _y + _root.p1_speed;
sy += _root.p1_speed;
}
if (dn) {
_y = _y - _root.p1_speed;
sy -= _root.p1_speed;
}
if (rt) {
_x = _x + _root.p1_speed;
}
if (lft) {
_x = _x - _root.p1_speed;
}
if (!super1) {
if (!shot) {
gotoAndStop('idle');
}
if (shot) {
gotoAndStop('idshot');
++shott;
if (shotno == 0) {
if (powerup == 0) {
shotmax = 10;
if (shott == 1) {
_root.attachMovie('pl_shot1', 'shot1' + _root.pbullets, _root.pbullets++);
_root['shot1' + _root.pbullets].animate._x = _x + 10;
_root['shot1' + _root.pbullets].animate._y = _y + 12;
}
}
if (powerup == 1) {
shotmax = 12;
if (shott == 1) {
_root.attachMovie('pl_shot1', 'shot1' + _root.pbullets, _root.pbullets++);
_root['shot1' + _root.pbullets].animate._x = _x + 10;
_root['shot1' + _root.pbullets].animate._y = _y + 12;
_root.attachMovie('pl_shot1', 'shot2' + _root.pbullets, _root.pbullets++);
_root['shot2' + _root.pbullets].animate._x = _x + 10;
_root['shot2' + _root.pbullets].animate._y = _y + 5;
}
}
if (powerup == 2) {
shotmax = 15;
if (shott == 1) {
_root.attachMovie('pl_shot1', 'shot1' + _root.pbullets, _root.pbullets++);
_root['shot1' + _root.pbullets].animate._x = _x + 10;
_root['shot1' + _root.pbullets].animate._y = _y + 12;
}
_root['shot1' + _root.pbullets].animate.up = true;
if (shott == 2) {
_root.attachMovie('pl_shot1', 'shot2' + _root.pbullets, _root.pbullets++);
_root['shot2' + _root.pbullets].animate._x = _x + 10;
_root['shot2' + _root.pbullets].animate._y = _y + 5;
}
_root['shot2' + _root.pbullets].animate.dn = true;
if (shott == 3) {
_root.attachMovie('pl_shot1', 'shot3' + _root.pbullets, _root.pbullets++);
_root['shot3' + _root.pbullets].animate._x = _x + 10;
_root['shot3' + _root.pbullets].animate._y = _y + 5;
}
}
}
if (shotno == 1) {
shotmax = 10;
if (shott == 1) {
_root.attachMovie('pl_supershot1a', 'sshot1' + _root.pbullets, _root.pbullets++);
_root['sshot1' + _root.pbullets].animate._x = _x + 10;
_root['sshot1' + _root.pbullets].animate._y = _y + 12;
}
}
if (shott >= shotmax) {
_root.chsht = 0;
shott = 0;
shot = false;
}
}
}
if (super1) {
++super1t;
gotoAndStop('idshot');
shot = false;
shott = 0;
_root.chsht = 0;
if (super1t == 1) {
_root.attachMovie('superlaser1a', 'superlaser1' + _root.pbullets, _root.pbullets++);
}
if (super1t >= super1max) {
super1t = 0;
nohit = true;
super1 = false;
}
}
}
if (hit) {
if (!ht) {
hrt_snd.start();
ht = true;
}
++hitt;
shot = false;
shott = 0;
_root.chsht = 0;
gotoAndStop('hit');
super1t = 0;
super1 = false;
if (hitt >= hitmax) {
hitt = 0;
nohit = true;
hit = false;
}
} else {
ht = false;
}
if (nohit) {
++nohitt;
++blinkt;
if (blinkt >= blinkmax / 2) {
hitcolor.setTransform(hitcolor1);
}
if (blinkt < blinkmax / 2) {
hitcolor.setTransform(hitcolor0);
}
if (blinkt >= blinkmax) {
blinkt = 0;
}
if (nohitt >= nohitmax) {
hitcolor.setTransform(mainColor);
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
}
if (dead) {
hitcolor.setTransform(mainColor);
_root.chsht = 0;
gotoAndStop('dead');
shot = false;
shott = 0;
super1t = 0;
super1 = false;
hitt = 0;
hit = false;
++deadt;
--deady;
_y = _y - deady;
if (deadt >= deadmax) {
if (_root.lives >= 0) {
_root.lives -= 1;
life = lifemax;
comein = true;
comeint = 0;
deadt = 0;
_x = comein_x;
_y = comein_y;
deady = 10;
_root.p1_speed = 3;
dead = false;
}
if (_root.lives < 0) {
_root.gameover = true;
_root.gotoAndStop('gameover');
}
}
}
}
if (comein) {
if (!cn) {
_x = comein_x;
_y = comein_y;
cn = true;
}
nohit = true;
nohitt = 0;
gotoAndStop('idle');
_x = _x + comeinsp;
if (_x >= comein_xmax) {
comein = false;
}
} else {
cn = false;
}
}
if (anistop) {
}
}
if (_parent._name != 'p1') {
_alpha = _alpha - 3;
if (_alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
}
}
movieClip 226 {
}
movieClip 236 {
}
movieClip 237 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 238 enshot1a {
instance animate of movieClip 237 {
onClipEvent (load) {
speed = 61;
dx = _root.p1.animate._x - _x;
dy = _root.p1.animate._y - _y;
dead = false;
deadt = 0;
1;
deadmax = 20;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop('nd');
_x = _x + dx / speed;
_y = _y + dy / speed;
if (_x > 560 or _x < -30) {
_parent.removeMovieClip();
}
if (_y > 410 or _y < -10) {
_parent.removeMovieClip();
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
if (!_root.p1.animate.dead) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
dead = true;
}
}
}
}
if (dead) {
gotoAndStop('d');
++deadt;
if (deadt >= deadmax) {
_parent.removeMovieClip();
}
}
}
}
}
}
}
movieClip 240 {
}
movieClip 247 {
}
movieClip 248 {
}
movieClip 251 {
}
movieClip 252 {
}
movieClip 255 {
}
movieClip 256 {
}
movieClip 257 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 258 sq_bomb1a {
instance animate of movieClip 257 {
onClipEvent (load) {
size = 55;
_xscale = size;
_yscale = size;
speedx = 5;
speedy = random(4) - random(4);
dead = false;
deady = 20;
deadt = 0;
deadmax = 50;
dsound = new Sound();
dsound.attachSound('scr1_snd');
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop('nd');
_x = _x - speedx;
_y = _y - speedy;
if (_x > 560 or _x < -30) {
_parent.removeMovieClip();
}
if (_y > 410 or _y < -10) {
_parent.removeMovieClip();
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
if (!_root.p1.animate.dead) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
dead = true;
}
}
}
}
}
if (dead) {
gotoAndStop('d');
++deadt;
if (!de) {
dsound.start();
de = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
_parent.removeMovieClip();
}
}
}
}
}
}
movieClip 259 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 260 sq_missle1a {
instance animate of movieClip 259 {
onClipEvent (load) {
size = 55;
_xscale = size;
_yscale = size;
speed = 2.5;
speedy = 3;
dx = _root.p1.animate._x - _x;
dy = _root.p1.animate._y - _y;
dead = false;
deadt = 0;
deady = 20;
deadmax = 50;
dtimer = 0;
dtimermax = 250;
espeed = random(7) + random(10);
espeedy = random(10) - random(10);
dsound = new Sound();
dsound.attachSound('scr1_snd');
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
++dtimer;
if (dtimer >= dtimermax) {
_x = _x + espeed;
_y = _y + espeedy;
}
if (dtimer < dtimermax) {
gotoAndStop('nd');
if (_root.p1.animate._x >= _x) {
_xscale = -size;
} else {
_xscale = size;
}
if (_root.p1.animate._x <= _x) {
_x = _x - speed;
}
if (_root.p1.animate._x > _x) {
_x = _x + speed;
}
if (_root.p1.animate._y <= _y) {
_y = _y - speedy;
}
if (_root.p1.animate._y > _y) {
_y = _y + speedy;
}
}
if (_x > 560 or _x < -30) {
_parent.removeMovieClip();
}
if (_y > 410 or _y < -10) {
_parent.removeMovieClip();
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
if (!_root.p1.animate.dead) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
dead = true;
}
}
}
}
}
if (dead) {
gotoAndStop('d');
++deadt;
if (!de) {
dsound.start();
de = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
_parent.removeMovieClip();
}
}
}
}
}
}
frame 1 {
Stage.scaleMode = 'exactfit';
_quality = 'low';
Stage.showMenu = false;
_root.sound = true;
stopAllSounds();
stop();
}
movieClip 264 {
}
movieClip 266 {
}
instance of movieClip 266 {
onClipEvent (release) {
getURL('http://toonpimp.net', 'gropesville');
}
}
movieClip 268 {
}
instance of movieClip 268 {
onClipEvent (release) {
getURL('http://www.toonchamp.com/phpBB3/viewtopic.php?f=9&t=3857', 'gropesville');
}
}
movieClip 271 {
}
instance of movieClip 271 {
onClipEvent (release) {
getURL('https://www.patreon.com/NeokatGames', 'gropesville');
}
}
movieClip 274 {
}
movieClip 287 {
}
movieClip 290 {
}
movieClip 291 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 290 {
onClipEvent (release) {
_root.gotoAndPlay('intro');
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
rtime = _root.getBytesLoaded();
rtmax = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
bar._width = rtime * 2.2;
if (rtime >= rtmax) {
_root.gotoAndStop('title');
} else {
rtime += _root.getBytesLoaded();
percentage = (rtime / rtmax) * 100;
bar._width = percentage * 3;
}
}
}
frame 2 {
stop();
}
movieClip 293 {
}
instance of movieClip 293 {
onClipEvent (load) {
started = false;
rtime = 0;
rtimemax = 45;
st_snd = new Sound();
st_snd.attachSound('st_snd');
}
onClipEvent (enterFrame) {
++rtime;
if (rtime >= rtimemax) {
if (!started) {
if (Key.isDown(65)) {
started = true;
}
}
if (started) {
if (!st) {
st_snd.start();
st = true;
}
_root.gotoAndStop('instructions');
}
}
}
}
// unknown tag 88 length 96
movieClip 298 {
frame 35 {
_root.gotoAndStop('opening');
}
}
movieClip 299 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 3 {
stop();
}
instance of movieClip 293 {
onClipEvent (load) {
started = false;
rtime = 0;
rtimemax = 45;
st_snd = new Sound();
st_snd.attachSound('st_snd');
}
onClipEvent (enterFrame) {
++rtime;
if (rtime >= rtimemax) {
if (!started) {
if (Key.isDown(65)) {
started = true;
}
}
if (started) {
if (!st) {
st_snd.start();
st = true;
}
_root.fade1.gotoAndStop(2);
}
}
}
}
movieClip 304 {
frame 10 {
stop();
}
}
frame 4 {
stop();
}
movieClip 307 {
}
movieClip 308 {
}
instance map1 of movieClip 308 {
onClipEvent (load) {
black._visible = false;
_root.mapx = _x;
_root.mapy = _y;
_x = -3935;
_y = -808;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color1 = {'ra': '20', 'rb': '0', 'ga': '20', 'gb': '0', 'ba': '20', 'bb': '0', 'aa': '100', 'ab': '255'};
Color2 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
Color3 = {'ra': '100', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color4 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color5 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '100', 'ab': '255'};
Color6 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.mapx = _x;
_root.mapy = _y;
if (_root.bg_color == 0) {
idupcolor.setTransform(oldColor);
}
if (_root.bg_color == 1) {
idupcolor.setTransform(Color1);
}
if (_root.bg_color == 2) {
idupcolor.setTransform(Color2);
}
if (_root.bg_color == 3) {
idupcolor.setTransform(Color3);
}
if (_root.bg_color == 4) {
idupcolor.setTransform(Color4);
}
if (_root.bg_color == 5) {
idupcolor.setTransform(Color5);
}
if (_root.bg_color == 6) {
idupcolor.setTransform(Color6);
}
if (_root.mover) {
_x = _x - _root.movespeed;
}
if (_root.movel) {
_x = _x + _root.movespeed;
}
if (_root.moveu) {
_y = _y - _root.movespeed;
}
if (_root.moved) {
_y = _y + _root.movespeed;
}
}
}
}
instance ship of movieClip 155 {
onClipEvent (load) {
speedx = 3;
speedy = 3;
tk = 0;
tkmax = 250;
takeoff = false;
takeofft = 0;
takeoffmax = 30;
takeoffhalf = 5;
att = 0.03;
engsnd = new Sound();
engsnd.attachSound('engsnd1a');
vol = 100;
engsnd.volume = vol;
}
onClipEvent (enterFrame) {
if (!takeoff) {
if (!started) {
if (Key.isDown(65)) {
started = true;
}
}
if (started) {
_root.fade1.gotoAndStop(2);
}
++tk;
if (tk == 10) {
engsnd.start();
}
if (_x > 300) {
_x = _x - speedx;
}
if (tk >= tkmax) {
takeoff = true;
}
}
if (takeoff) {
++takeofft;
_y = _y - speedy;
_x = _x - (speedx + 10);
if (takeofft < takeoffhalf) {
_root.moved = true;
}
if (takeofft >= takeoffhalf) {
_root.moved = false;
}
if (takeofft >= takeoffmax) {
_root.fade1.gotoAndStop(2);
}
}
}
}
movieClip 309 {
}
instance of movieClip 309 {
onClipEvent (load) {
shipx_max = 300;
_root.movespeed = 3;
mapmax = -50;
att = 0.3;
}
onClipEvent (enterFrame) {
if (_root.ship._x <= shipx_max and _root.map1._x <= mapmax) {
_root.movel = true;
_root.movespeed += att;
} else {
_root.movel = false;
}
}
}
instance of movieClip 207 {
onClipEvent (load) {
size = 80;
_xscale = size;
_yscale = size;
_x = _root.ship._x + 25;
_y = _root.ship._y;
}
onClipEvent (enterFrame) {
_x = _root.ship._x + 20;
_y = _root.ship._y;
}
}
movieClip 310 {
frame 15 {
stop();
}
}
movieClip 311 {
frame 15 {
_root.gotoAndStop('st1a');
}
}
movieClip 312 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 5 {
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
stopAllSounds();
_root.attachMovie('ni_fly', 'p1', 99);
_root.p1.animate._x = 250;
_root.p1.animate._y = 290;
_root.bg_color = 0;
_root.lives = 2;
_root.gameover = false;
_root.superup = 100;
_root.chsht = 0;
_root.chshtmax = 100;
_root.bg1a.gotoAndStop('d');
_root.bg1b.gotoAndStop('d');
_root.fg1a.gotoAndStop('d');
_root.fg1b.gotoAndStop('d');
_root.bgspeed = 8;
_root.p1_speed = 3;
stop();
}
movieClip 317 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance bg1b of movieClip 317 {
onClipEvent (load) {
speed = _root.bgspeed / 3;
rmax = 895;
rmin = -415;
_x = 245;
_y = 200;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color1 = {'ra': '20', 'rb': '0', 'ga': '20', 'gb': '0', 'ba': '20', 'bb': '0', 'aa': '100', 'ab': '255'};
Color2 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
Color3 = {'ra': '100', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color4 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color5 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '100', 'ab': '255'};
Color6 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (_root.bg_color == 0) {
idupcolor.setTransform(oldColor);
}
if (_root.bg_color == 1) {
idupcolor.setTransform(Color1);
}
if (_root.bg_color == 2) {
idupcolor.setTransform(Color2);
}
if (_root.bg_color == 3) {
idupcolor.setTransform(Color3);
}
if (_root.bg_color == 4) {
idupcolor.setTransform(Color4);
}
if (_root.bg_color == 5) {
idupcolor.setTransform(Color5);
}
if (_root.bg_color == 6) {
idupcolor.setTransform(Color6);
}
_x = _x + speed;
if (_x >= rmax) {
_x = _root.bg1a._x - 600;
}
}
}
instance bg1a of movieClip 317 {
onClipEvent (load) {
speed = _root.bgspeed / 3;
rmax = 895;
rmin = -415;
_x = -412;
_y = 200;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color1 = {'ra': '20', 'rb': '0', 'ga': '20', 'gb': '0', 'ba': '20', 'bb': '0', 'aa': '100', 'ab': '255'};
Color2 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
Color3 = {'ra': '100', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color4 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color5 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '100', 'ab': '255'};
Color6 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (_root.bg_color == 0) {
idupcolor.setTransform(oldColor);
}
if (_root.bg_color == 1) {
idupcolor.setTransform(Color1);
}
if (_root.bg_color == 2) {
idupcolor.setTransform(Color2);
}
if (_root.bg_color == 3) {
idupcolor.setTransform(Color3);
}
if (_root.bg_color == 4) {
idupcolor.setTransform(Color4);
}
if (_root.bg_color == 5) {
idupcolor.setTransform(Color5);
}
if (_root.bg_color == 6) {
idupcolor.setTransform(Color6);
}
_x = _x + speed;
if (_x >= rmax) {
_x = _root.bg1b._x - 600;
}
}
}
movieClip 322 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance fg1b of movieClip 322 {
onClipEvent (load) {
speed = _root.bgspeed;
rmax = 895;
rmin = -400;
_x = _root.fg1a._x - 550;
_y = 185;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color1 = {'ra': '20', 'rb': '0', 'ga': '20', 'gb': '0', 'ba': '20', 'bb': '0', 'aa': '100', 'ab': '255'};
Color2 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
Color3 = {'ra': '100', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color4 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color5 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '100', 'ab': '255'};
Color6 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (_root.bg_color == 0) {
idupcolor.setTransform(oldColor);
}
if (_root.bg_color == 1) {
idupcolor.setTransform(Color1);
}
if (_root.bg_color == 2) {
idupcolor.setTransform(Color2);
}
if (_root.bg_color == 3) {
idupcolor.setTransform(Color3);
}
if (_root.bg_color == 4) {
idupcolor.setTransform(Color4);
}
if (_root.bg_color == 5) {
idupcolor.setTransform(Color5);
}
if (_root.bg_color == 6) {
idupcolor.setTransform(Color6);
}
_x = _x + speed;
if (_x >= rmax) {
_x = _root.fg1a._x - 550;
}
}
}
instance fg1a of movieClip 322 {
onClipEvent (load) {
speed = _root.bgspeed;
rmax = 895;
rmin = -345;
_x = 218;
_y = 185;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color1 = {'ra': '20', 'rb': '0', 'ga': '20', 'gb': '0', 'ba': '20', 'bb': '0', 'aa': '100', 'ab': '255'};
Color2 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
Color3 = {'ra': '100', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color4 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
Color5 = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '100', 'ab': '255'};
Color6 = {'ra': '0', 'rb': '0', 'ga': '0', 'gb': '0', 'ba': '0', 'bb': '0', 'aa': '100', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (_root.bg_color == 0) {
idupcolor.setTransform(oldColor);
}
if (_root.bg_color == 1) {
idupcolor.setTransform(Color1);
}
if (_root.bg_color == 2) {
idupcolor.setTransform(Color2);
}
if (_root.bg_color == 3) {
idupcolor.setTransform(Color3);
}
if (_root.bg_color == 4) {
idupcolor.setTransform(Color4);
}
if (_root.bg_color == 5) {
idupcolor.setTransform(Color5);
}
if (_root.bg_color == 6) {
idupcolor.setTransform(Color6);
}
_x = _x + speed;
if (_x >= rmax) {
_x = _root.fg1b._x - 550;
}
}
}
movieClip 335 {
}
movieClip 336 {
}
movieClip 345 {
}
movieClip 348 {
}
movieClip 349 {
frame 2 {
scr_snd = new Sound();
scr_snd.attachSound('scr4_snd');
scr_snd.start();
}
frame 3 {
stop();
}
}
movieClip 350 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance plane of movieClip 155 {
onClipEvent (load) {
_x = _root.p1.animate._x - 20;
_y = _root.p1.animate._y;
dead = false;
deadt = 0;
deady = 5;
dspeed = 2;
outro = false;
outrot = 0;
jetback = new Sound();
jetback.attachSound('jetback1a');
jetzip = new Sound();
jetzip.attachSound('jetzip1a');
deadsnd = new Sound();
deadsnd.attachSound('bidead1a');
}
onClipEvent (enterFrame) {
if (_name == 'plane') {
if (!dead) {
if (!_root.p1.animate.dead) {
_x = _root.p1.animate._x - 20;
_y = _root.p1.animate._y;
if (_root.p1.animate.dn) {
gotoAndStop('u');
} else {
gotoAndStop('d');
}
}
if (_root.p1.animate.dead) {
dead = true;
}
}
if (dead) {
gotoAndStop('de');
++deadt;
if (!de) {
deadsnd.start();
de = true;
}
deady -= 0.2;
_y = _y - deady;
_x = _x - dspeed;
if (!_root.p1.animate.dead) {
deadt = 0;
deady = 5;
dead = false;
}
} else {
de = false;
}
if (outro) {
++outrot;
if (outrot >= outromax) {
_root.attachMovie('plane_image1a', 'plane_image' + _root.spark, _root.spark++);
_root['plane_image' + _root.spark].animate._x = _x;
_root['plane_image' + _root.spark].animate._y = _y;
outrot = 0;
}
}
}
if (_name != 'plane') {
_alpha = _alpha - 0.5;
if (_alpha <= 0) {
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
movieClip 352 {
}
instance of movieClip 352 {
onClipEvent (load) {
vol = 0;
fadein = true;
fadeout = false;
stopAllSounds();
s1 = 0;
_root.mapdp = 10;
_root.ebullet = 530;
_root.pbullets = 200;
_root.shadowlayer = 70;
_root.partslayer = 500;
_root.debris = 570;
_root.itlayer = 650;
_root.spark = 680;
if (!_root.sound) {
stopAllSounds();
}
stagemusic1a = new Sound();
stagemusic1a.volume = vol;
stagemusic1a.attachSound('music1a');
stagemusic1a.onSoundComplete = function () {
stagemusic1a.start();
};
}
onClipEvent (enterFrame) {
if (!_root.sound) {
stopAllSounds();
a = false;
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
if (_root.sound) {
if (fadein) {
if (vol < 100) {
++vol;
}
if (vol >= 100) {
fadein = false;
}
}
if (fadeout) {
if (vol >= 0) {
--vol;
}
if (vol < 100) {
fadeout = false;
}
}
if (!a) {
stagemusic1a.start();
a = true;
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.pause) {
}
if (_root.mapdp >= 15) {
_root.mapdp = 10;
}
if (_root.pbullets >= 230) {
_root.pbullets = 200;
}
if (_root.shadowlayer >= 79) {
_root.shadowlayer = 70;
}
if (_root.partslayer >= 515) {
_root.partslayer = 500;
}
if (_root.ebullet >= 560) {
_root.ebullet = 530;
}
if (_root.debris >= 600) {
_root.debris = 570;
}
if (_root.itlayer >= 670) {
_root.itlayer = 650;
}
if (_root.spark >= 710) {
_root.spark = 680;
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 5) {
_root.gotoAndStop('st1b');
}
}
}
movieClip 361 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 366 {
}
movieClip 369 {
}
movieClip 370 {
}
instance of movieClip 370 {
onClipEvent (load) {
_root.money = 9999;
}
onClipEvent (enterFrame) {
mbar._width = _root.superup;
if (_root.superup >= 100) {
_root.superup = 100;
}
if (_root.superup <= 0) {
_root.superup = 0;
}
hbar._width = _root.chsht;
money = _root.money;
if (_root.money >= 10000) {
_root.money = 9999;
}
if (_root.money <= 0) {
_root.money = 0;
}
if (_root.life >= _root.lifemax) {
_root.life = _root.lifemax;
}
if (_root.p1.animate.life == 3) {
kdown.gotoAndStop('a');
}
if (_root.p1.animate.life == 2) {
kdown.gotoAndStop('b');
}
if (_root.p1.animate.life == 1) {
kdown.gotoAndStop('c');
}
if (_root.p1.animate.life <= 0) {
kdown.gotoAndStop('d');
}
}
}
// unknown tag 88 length 69
movieClip 376 {
frame 16 {
stop();
}
}
frame 6 {
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 5) {
_root.gotoAndStop('st1c');
}
}
}
frame 7 {
_root.bg_color = 3;
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship6 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 70;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('f');
if (_root.p1.animate._y >= _y) {
_y = _y + speed;
}
if (_root.p1.animate._y < _y) {
_y = _y - speed;
}
if (_root.p1.animate._x + 200 >= _x) {
_x = _x + speed;
}
if (_root.p1.animate._x + 200 < _x) {
_x = _x - speed;
}
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x >= xlimit) {
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 6) {
_root.gotoAndStop('st1d');
}
}
}
frame 8 {
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship6 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 70;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('f');
if (_root.p1.animate._y >= _y) {
_y = _y + speed;
}
if (_root.p1.animate._y < _y) {
_y = _y - speed;
}
if (_root.p1.animate._x + 200 >= _x) {
_x = _x + speed;
}
if (_root.p1.animate._x + 200 < _x) {
_x = _x - speed;
}
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x >= xlimit) {
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 6) {
_root.gotoAndStop('st1e');
}
}
}
frame 9 {
_root.bg_color = 2;
stop();
}
movieClip 378 {
}
movieClip 387 {
}
movieClip 396 {
}
movieClip 399 {
}
movieClip 400 {
frame 2 {
scr_snd = new Sound();
scr_snd.attachSound('scr3_snd');
scr_snd.start();
}
frame 3 {
stop();
}
}
movieClip 401 {
frame 1 {
stop();
}
instance limit of movieClip 378 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = false;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance boss1 of movieClip 401 {
onClipEvent (load) {
life = 20;
hit = false;
hitt = 0;
hitmax = 5;
hit1 = false;
hitt1 = 0;
hit1max = 2;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = 10;
var_move = 100;
speed = 2;
deady = 15;
size = 80;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
back = false;
backt = 0;
backmax = 50;
b_speed = 10;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
newColor = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '0', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
if (!back) {
if (!bk) {
bk = true;
}
gotoAndStop('f');
_x = _x - speed;
if (_root.p1.animate._x >= _x) {
_xscale = -size;
} else {
_xscale = size;
}
if (_x <= xlimit) {
back = true;
}
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit1 = true;
life -= 1;
}
}
}
} else {
bk = false;
}
if (back) {
wing_fl.stop();
gotoAndStop('nd');
_x = _x + b_speed;
_xscale = -size;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
}
}
}
++backt;
if (backt >= backmax) {
backt = 0;
back = false;
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (hit1) {
++hit1t;
idupcolor.setTransform(newColor);
if (hit1t >= hitmax) {
idupcolor.setTransform(oldColor);
hit1t = 0;
hit1 = false;
}
}
if (life <= 0) {
dead = true;
}
}
}
if (dead) {
gotoAndStop('d');
idupcolor.setTransform(oldColor);
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 1) {
_root.gotoAndStop('st1f');
}
}
}
frame 10 {
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 5) {
_root.gotoAndStop('st1g');
}
}
}
frame 11 {
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 5) {
_root.gotoAndStop('st1h');
}
}
}
frame 12 {
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 5) {
_root.gotoAndStop('st1i');
}
}
}
frame 13 {
stop();
}
instance ship1 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship2 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship3 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship4 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance ship5 of movieClip 350 {
onClipEvent (load) {
life = 2;
hit = false;
hitt = 0;
hitmax = 5;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = -100;
var_move = 100;
speed = 3;
deady = 15;
size = 60;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
gotoAndStop('nd');
_x = _x - speed;
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit = true;
life -= 5;
}
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (_x <= xlimit) {
if (!dx) {
_root.en_numb += 1;
dx = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
if (dead) {
gotoAndStop('d');
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance boss1 of movieClip 401 {
onClipEvent (load) {
life = 45;
hit = false;
hitt = 0;
hitmax = 5;
hit1 = false;
hitt1 = 0;
hit1max = 2;
dead = false;
deadt = 0;
deadmax = 60;
xlimit = 10;
var_move = 100;
speed = 2;
deady = 15;
size = 80;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
back = false;
backt = 0;
backmax = 50;
b_speed = 10;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
newColor = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '0', 'ab': '255'};
}
onClipEvent (enterFrame) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
if (!back) {
if (!bk) {
bk = true;
}
gotoAndStop('f');
_x = _x - speed;
if (_root.p1.animate._x >= _x) {
_xscale = -size;
} else {
_xscale = size;
}
if (_x <= xlimit) {
back = true;
}
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit1 = true;
life -= 1;
}
}
}
} else {
bk = false;
}
if (back) {
gotoAndStop('nd');
_x = _x + b_speed;
_xscale = -size;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
}
}
}
++backt;
if (backt >= backmax) {
backt = 0;
back = false;
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (hit1) {
++hit1t;
idupcolor.setTransform(newColor);
if (hit1t >= hitmax) {
idupcolor.setTransform(oldColor);
hit1t = 0;
hit1 = false;
}
}
if (life <= 0) {
dead = true;
}
}
}
if (dead) {
gotoAndStop('d');
idupcolor.setTransform(oldColor);
++deadt;
srandom = random(5);
if (!dt) {
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
}
if (deadt >= deadmax) {
if (!ss) {
_root.en_numb += 1;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 300;
_root.en_numb = 0;
}
onClipEvent (enterFrame) {
if (_root.en_numb >= 6) {
_root.gotoAndStop('st1j');
}
}
}
frame 14 {
stop();
}
movieClip 410 {
}
movieClip 419 {
}
movieClip 430 {
}
movieClip 433 {
}
movieClip 434 {
frame 1 {
stop();
}
instance limit of movieClip 378 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = false;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
instance boss2 of movieClip 434 {
onClipEvent (load) {
life = 80;
hit = false;
hitt = 0;
hitmax = 5;
hit1 = false;
hitt1 = 0;
hit1max = 2;
dead = false;
deadt = 0;
deadmax = 100;
xlimit = 10;
var_move = 100;
speed = 2;
deady = 25;
size = 100;
_xscale = size;
_yscale = size;
shott = 0;
shotmax = 30;
back = false;
backt = 0;
backmax = 50;
backy = 250;
b_speed = 10;
idupcolor = new Color(this);
oldColor = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '255'};
newColor = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '0', 'ab': '255'};
intColor = {'ra': '100', 'rb': '255', 'ga': '100', 'gb': '255', 'ba': '100', 'bb': '255', 'aa': '100', 'ab': '255'};
intro = true;
int_sp = 4;
int_size = 40;
int_xmax = 620;
hst = 0;
hstmax = 300;
homing = false;
homing_x = 450;
homing_y = 200;
homingt = 0;
homingmax = 300;
hspeed = 7;
manyshot = false;
manyshot_x = 280;
manyshot_y = 50;
manyshott = 0;
manyshotmax = 100;
as1 = 0;
as1max = 10;
as2 = 0;
as2max = 30;
projx = 10;
projy = 10;
inc = 8.5;
rot = 15;
jetback = new Sound();
jetback.attachSound('jetback1a');
jetzip = new Sound();
jetzip.attachSound('jetzip1a');
deadsnd = new Sound();
deadsnd.attachSound('deadsnd1a');
}
onClipEvent (enterFrame) {
limit._visible = false;
_root.bosslife = life;
if (!intro) {
if (!dead) {
if (_x > xlimit) {
if (!hit) {
if (!homing) {
if (!manyshot) {
++hst;
if (hst >= hstmax) {
hsr = random(2);
hst = 0;
if (hsr == 0) {
homing = true;
}
if (hsr == 1) {
manyshot = true;
}
}
++shott;
if (shott >= shotmax) {
_root.attachMovie('enshot1a', 'enshot1' + _root.ebullet, _root.ebullet++);
_root['enshot1' + _root.ebullet].animate._x = _x;
_root['enshot1' + _root.ebullet].animate._y = _y;
shott = 0;
}
if (!back) {
gotoAndStop('f');
_x = _x - speed;
if (_y >= backy) {
_y = _y - 1;
}
if (_y < backy) {
_y = _y + 1;
}
if (_root.p1.animate._x >= _x) {
_xscale = -size;
} else {
_xscale = size;
}
if (_x <= xlimit) {
back = true;
}
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
hit1 = true;
life -= 1;
}
}
}
}
if (back) {
if (!ba) {
jetzip.start();
ba = true;
}
gotoAndStop('nd');
_x = _x + b_speed;
_xscale = -size;
if (limit.hitTest(_root.p1.animate.limit)) {
if (!_root.p1.animate.hit) {
if (!_root.p1.animate.nohit) {
_root.p1.animate.hit = true;
_root.p1.animate.life -= 1;
}
}
}
++backt;
if (backt >= backmax) {
backt = 0;
back = false;
}
} else {
ba = false;
}
}
if (manyshot) {
++manyshott;
gotoAndStop('f');
if (manyshott < 50) {
if (_root.p1.animate._x >= _x) {
_xscale = -size;
} else {
_xscale = size;
}
if (_x >= manyshot_x) {
_x = _x - hspeed;
}
if (_x < manyshot_x) {
_x = _x + hspeed;
}
if (_y >= manyshot_y) {
_y = _y - hspeed;
}
if (_y < manyshot_y) {
_y = _y + hspeed;
}
}
if (manyshott >= 50) {
++as2;
if (as2 >= as2max) {
_root.attachMovie('sq_missle1a', 'sq_missle1' + _root.ebullet, _root.ebullet++);
_root['sq_missle1' + _root.ebullet].animate._x = _x + projx;
_root['sq_missle1' + _root.ebullet].animate._y = _y + projy;
as2 = 0;
}
}
if (manyshott >= homingmax) {
idupcolor.setTransform(oldColor);
manyshott = 0;
manyshot = false;
}
}
}
if (homing) {
++homingt;
gotoAndStop('f');
if (homingt < 50) {
if (_x >= homing_x) {
_x = _x - hspeed;
}
if (_x < homing_x) {
_x = _x + hspeed;
}
if (_y >= homing_y) {
_y = _y - hspeed;
}
if (_y < homing_y) {
_y = _y + hspeed;
}
}
if (homingt >= 50) {
_xscale = size;
++as1;
if (as1 >= as1max) {
_root.attachMovie('sq_bomb1a', 'sq_bomb1' + _root.ebullet, _root.ebullet++);
_root['sq_bomb1' + _root.ebullet].animate._x = _x + projx;
_root['sq_bomb1' + _root.ebullet].animate._y = _y + projy;
as1 = 0;
}
}
if (homingt >= homingmax) {
homingt = 0;
homing = false;
}
}
}
if (hit) {
++hitt;
gotoAndStop('h');
if (hitt >= hitmax) {
hitt = 0;
hit = false;
}
}
if (hit1) {
++hit1t;
idupcolor.setTransform(newColor);
if (hit1t >= hitmax) {
idupcolor.setTransform(oldColor);
hit1t = 0;
hit1 = false;
}
}
if (life <= 0) {
dead = true;
}
}
}
if (dead) {
gotoAndStop('d');
idupcolor.setTransform(oldColor);
++deadt;
srandom = random(5);
if (!dt) {
deadsnd.start();
this.swapDepths(500);
if (srandom == 4) {
_root.attachMovie('pup1a', 'pup1' + _root.pbullets, _root.pbullets++);
_root['pup1' + _root.pbullets].animate._x = _x;
_root['pup1' + _root.pbullets].animate._y = _y;
}
dt = true;
}
if (deadt >= 10) {
_y = _y - deady;
--deady;
_rotation = _rotation + rot;
size += inc;
_xscale = size;
_yscale = size;
}
if (deadt >= deadmax) {
if (!ss) {
_root.boss_dead = true;
ss = true;
}
_parent.removeMovieClip();
removeMovieClip(this);
}
}
}
if (intro) {
gotoAndStop('intro');
if (!int1) {
jetback.start();
_xscale = -int_size;
_yscale = int_size;
_x = -5;
_y = 240;
int1 = true;
}
_x = _x + int_sp;
if (_x >= int_xmax) {
_xscale = size;
_yscale = size;
intro = false;
}
}
}
}
instance of movieClip 352 {
onClipEvent (load) {
_root.boss_dead = false;
}
onClipEvent (enterFrame) {
if (_root.boss_dead) {
_root.gotoAndStop('st1k');
}
}
}
frame 15 {
_root.bg_color = 2;
stop();
}
instance of movieClip 352 {
onClipEvent (load) {
rtime = 0;
rtimemax = 100;
gospeed = 3;
go_herex = 300;
go_herey = 250;
go_herexmin = 295;
go_hereymin = 245;
standx = false;
standy = false;
standx1 = false;
standy1 = false;
allin = false;
allint = 0;
allinmax = 30;
allinhalf = 10;
allinhalf1 = 65;
xgo = 30;
jetback = new Sound();
jetback.attachSound('bipin1a');
jetzip = new Sound();
jetzip.attachSound('bipout1a');
}
onClipEvent (enterFrame) {
_root.standx = standx;
_root.standy = standy;
++rtime;
if (rtime >= rtimemax) {
_root.p1.animate.anistop = true;
if (!allin) {
if (_root.p1.animate._x > go_herex) {
_root.p1.animate._x -= gospeed;
}
if (_root.p1.animate._x < go_herexmin) {
_root.p1.animate._x += gospeed;
}
if (_root.p1.animate._x > go_herexmin and _root.p1.animate._x < go_herex) {
standx = true;
}
if (_root.p1.animate._y > go_herey) {
_root.p1.animate._y -= gospeed;
}
if (_root.p1.animate._y < go_hereymin) {
_root.p1.animate._y += gospeed;
}
if (_root.p1.animate._y > go_hereymin and _root.p1.animate._y < go_herey) {
standy = true;
}
if (standx and standy) {
allin = true;
}
if (rtime >= 200) {
allin = true;
}
}
if (allin) {
++allint;
_root.bgspeed = 20;
if (allint == allinhalf) {
jetzip.start();
}
if (allint == allinhalf1) {
jetback.start();
}
if (allint >= allinmax) {
_root.plane.outro = true;
_root.p1.animate._x += xgo;
--xgo;
}
if (_root.p1.animate._x <= -4000) {
_root.gotoAndStop('gameover');
}
}
}
}
}
frame 16 {
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
stopAllSounds();
stop();
}
instance of movieClip 266 {
onClipEvent (release) {
getURL('http://toonpimp.net', 'gropesville');
}
}
instance of movieClip 268 {
onClipEvent (release) {
getURL('http://www.toonchamp.com/phpBB3/viewtopic.php?f=9&t=3857', 'gropesville');
}
}
instance of movieClip 271 {
onClipEvent (release) {
getURL('https://www.patreon.com/NeokatGames', 'gropesville');
}
}
instance of movieClip 293 {
onClipEvent (load) {
rtime = 0;
rtimemax = 30;
}
onClipEvent (enterFrame) {
++rtime;
if (rtime >= rtimemax) {
if (Key.isDown(65)) {
_root.gotoAndStop('title');
}
}
}
}
movieClip 444 {
}
movieClip 446 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 446 {
onClipEvent (load) {
if (_root.gameover) {
gotoAndStop('go');
} else {
gotoAndStop('win');
}
}
}