Combined Code
movieClip 7 {
}
movieClip 9 {
}
movieClip 19 {
frame 10 {
_parent.removeMovieClip();
}
}
movieClip 20 spaceship_bullet {
frame 1 {
stop();
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 30;
}
if (_parent._x > 750) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo3.ship.ship.box1) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo3.ship.ship.box2) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo4.ship.ship.box1) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo4.ship.ship.box2) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid1.body.box)) {
_root.fg1.asteroid1.body.gotoAndPlay(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid2.body.box)) {
_root.fg1.asteroid2.body.gotoAndPlay(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid3.body.box)) {
_root.fg1.asteroid3.body.gotoAndPlay(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid1.body.box)) {
_root.fg2.asteroid1.body.gotoAndPlay(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid2.body.box)) {
_root.fg2.asteroid2.body.gotoAndPlay(3);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid3.body.box)) {
_root.fg2.asteroid3.body.gotoAndPlay(3);
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 22 {
}
movieClip 23 fireflay {
frame 115 {
this._x = Math.random() * _parent._parent.ff_width - ff_width / 2;
this._y = Math.random() * _parent._parent.ff_height - ff_height / 2;
this._alpha = Math.random() * 100;
this._rotation = Math.random() * 360;
}
}
frame 1 {
_quality = 'medium';
Stage.showMenu = false;
globalvolume = new Sound();
stopAllSounds();
stop();
}
movieClip 27 {
}
movieClip 29 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.gotoAndStop(2);
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 31 {
}
movieClip 32 {
}
button 37 {
on (release) {
getURL('http://www.armorgames.com', '_blank');
}
}
button 39 {
on (release) {
_root.mute = true;
this.gotoAndStop(2);
}
}
button 41 {
on (release) {
_root.mute = false;
this.gotoAndStop(1);
}
}
movieClip 42 {
frame 1 {
_root.globalvolume.setVolume(100);
stop();
}
frame 2 {
_root.globalvolume.setVolume(0);
stop();
}
}
instance mutebutton of movieClip 42 {
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.mutebutton.gotoAndStop(2);
}
}
}
movieClip 45 {
}
movieClip 47 {
}
button 48 {
on (release) {
getURL('http://www.smokesuit.com', '_blank');
}
}
button 54 {
on (release) {
getURL('http://www.seethingswarm.com', '_blank');
}
}
frame 2 {
stop();
}
movieClip 57 {
}
movieClip 62 {
}
movieClip 65 {
}
movieClip 75 {
}
movieClip 77 {
}
movieClip 78 {
frame 160 {
stop();
stopAllSounds();
_root.gotoAndStop(3);
}
}
frame 3 {
stop();
_root._x = 0;
_root._y = 0;
stopAllSounds();
_root.music.gotoAndStop(1);
_root.music.gotoAndStop(2);
_root.pos = SharedObject.getLocal('spacesave');
_root.level1unlocked = _root.pos.data.level1unlocked;
_root.level2unlocked = _root.pos.data.level2unlocked;
_root.level3unlocked = _root.pos.data.level3unlocked;
_root.level4unlocked = _root.pos.data.level4unlocked;
_root.level5unlocked = _root.pos.data.level5unlocked;
_root.level6unlocked = _root.pos.data.level6unlocked;
_root.level7unlocked = _root.pos.data.level7unlocked;
}
movieClip 80 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
frame 1 {
gotoAndPlay(random(10));
}
}
movieClip 89 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 95 {
}
movieClip 96 {
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 300);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 95 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 150);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 300);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 200);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
}
movieClip 98 {
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 300);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 95 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 150);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
}
movieClip 100 {
instance of movieClip 95 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 300);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 95 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 150);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 200);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 95 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 200);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
}
movieClip 102 {
instance of movieClip 95 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 300);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 150);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
this.fallingnumber = Math.ceil(Math.random() * 200);
}
onClipEvent (enterFrame) {
if (this.fallingnumber == 1) {
_parent.gotoAndPlay(2);
}
}
}
}
instance mutebutton of movieClip 42 {
onClipEvent (enterFrame) {
if (_root.mute == true) {
this.gotoAndStop(2);
}
}
}
button 108 {
on (release) {
_root.mainmenu.gotoAndStop(2);
}
}
button 115 {
on (release) {
_root.mainmenu.gotoAndStop(3);
}
}
button 121 {
on (release) {
getURL('http://www.armorgames.com', '_blank');
}
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 129 {
frame 12 {
stop();
}
frame 23 {
stop();
_root.gotoAndStop(4);
}
}
movieClip 131 {
}
button 136 {
on (release) {
_root.fade.gotoAndPlay(1);
_root.mainmenu.gotoAndStop(1);
}
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 146 {
}
movieClip 148 {
}
movieClip 150 {
}
movieClip 152 {
}
button 153 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 0;
_root.fade.play();
}
}
movieClip 155 {
}
movieClip 157 {
}
button 158 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 1;
_root.fade.play();
}
}
movieClip 159 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 161 {
}
button 162 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 2;
_root.fade.play();
}
}
movieClip 163 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 165 {
}
button 166 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 3;
_root.fade.play();
}
}
movieClip 167 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 169 {
}
button 170 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 4;
_root.fade.play();
}
}
movieClip 171 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 173 {
}
button 174 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 5;
_root.fade.play();
}
}
movieClip 175 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 177 {
}
button 178 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 6;
_root.fade.play();
}
}
movieClip 179 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 181 {
}
button 182 {
on (release) {
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 7;
_root.fade.play();
}
}
movieClip 183 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 184 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.Aallowed == true) {
_root.Aallowed = false;
stopAllSounds();
_root.music.gotoAndStop(1);
_root.level = 0;
_root.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.Aallowed = true;
}
}
}
frame 3 {
stop();
}
instance of movieClip 159 {
onClipEvent (enterFrame) {
if (_root.level1unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 163 {
onClipEvent (enterFrame) {
if (_root.level2unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 167 {
onClipEvent (enterFrame) {
if (_root.level3unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 171 {
onClipEvent (enterFrame) {
if (_root.level4unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 175 {
onClipEvent (enterFrame) {
if (_root.level5unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 179 {
onClipEvent (enterFrame) {
if (_root.level6unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 183 {
onClipEvent (enterFrame) {
if (_root.level7unlocked == true) {
this.gotoAndStop(2);
}
}
}
}
movieClip 189 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
frame 4 {
stop();
_root.mainpauseallowed = false;
_root.mainframe.health.gotoAndStop(1);
_root.mainframe.bosshealth.gotoAndStop(1);
_root.mainframe.powerupcip.gotoAndStop(1);
_root.pause = false;
_root._x = 0;
_root._y = 0;
_root.mainframe._y = 201.6;
if (_root.level == 0) {
stopAllSounds();
_root.mainframe.music.gotoAndStop(1);
_root.mainframe.music.gotoAndStop(3);
_root.mainframe.fade.play();
_root.gotoAndStop(8);
}
if (_root.level == 1) {
stopAllSounds();
_root.mainframe.music.gotoAndStop(1);
_root.mainframe.music.gotoAndStop(4);
_root.mainframe.fade.play();
_root.gotoAndStop(5);
}
if (_root.level == 2) {
_root.mainframe.music.gotoAndStop(4);
_root.mainframe.fade.play();
_root.gotoAndStop(6);
}
if (_root.level == 3) {
_root.mainframe.music.gotoAndStop(4);
_root.mainframe.fade.play();
_root.gotoAndStop(7);
}
if (_root.level == 4) {
stopAllSounds();
_root.mainframe.music.gotoAndStop(1);
_root.mainframe.music.gotoAndStop(2);
_root.mainframe.fade.play();
_root.gotoAndStop(9);
}
if (_root.level == 5) {
stopAllSounds();
_root.mainframe.music.gotoAndStop(1);
_root.mainframe.music.gotoAndStop(5);
_root.mainframe.fade.play();
_root.gotoAndStop(10);
}
if (_root.level == 6) {
_root.mainframe.music.gotoAndStop(5);
_root.mainframe.fade.play();
_root.gotoAndStop(11);
}
if (_root.level == 7) {
stopAllSounds();
_root.mainframe.music.gotoAndStop(1);
_root.mainframe.music.gotoAndStop(4);
_root.mainframe.fade.play();
_root.gotoAndStop(12);
}
if (_root.level == 8) {
stopAllSounds();
_root.mainframe.music.gotoAndStop(1);
_root.mainframe.music.gotoAndStop(3);
_root.mainframe.fade.play();
_root.gotoAndStop(13);
}
}
instance mutebutton of movieClip 42 {
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.mutebutton.gotoAndStop(2);
}
}
}
movieClip 190 {
}
movieClip 192 {
}
movieClip 194 {
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 204 {
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 209 {
frame 192 {
stop();
}
frame 336 {
_root.takeumbrella = true;
}
frame 417 {
stop();
}
frame 509 {
stop();
}
frame 601 {
stop();
}
frame 693 {
stop();
}
frame 785 {
stop();
}
frame 957 {
stop();
}
frame 1139 {
stop();
}
}
movieClip 212 {
}
movieClip 213 {
frame 1 {
stop();
}
}
movieClip 215 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
if (_root.level == 1) {
_root.hero.body.ship.gotoAndStop(4);
}
if (_root.level == 2) {
_root.hero.gotoAndStop(11);
_root.hero2.gotoAndStop(11);
}
if (_root.level >= 3 and _root.level <= 5) {
_root.hero.gotoAndStop(45);
}
if (_root.level == 6) {
_root.hero.gotoAndStop(5);
}
if (_root.level == 7) {
_root.hero.gotoAndStop(2);
}
}
}
movieClip 220 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 222 {
}
movieClip 224 {
}
movieClip 226 {
}
movieClip 228 {
}
movieClip 230 {
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 240 {
}
movieClip 241 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 242 {
frame 24 {
stop();
if (_root.pause == false) {
_parent.numberamount -= 1;
this.numbers.nextFrame();
}
this.gotoAndPlay(1);
}
}
movieClip 243 {
frame 1 {
stop();
this.numberamount = 9;
_root.invincible = false;
_root.doubledamage = false;
_root.doublespeed = false;
_root.fireshield = false;
_root.hero.body.ship.fireshield.gotoAndStop(1);
_root.hero.fireshield.gotoAndStop(1);
_root.hero2.fireshield.gotoAndStop(1);
}
frame 2 {
stop();
}
instance of movieClip 242 {
onClipEvent (enterFrame) {
if (_parent.numberamount <= 0) {
_parent.gotoAndStop(1);
}
}
}
}
movieClip 246 {
frame 1 {
(new Color(_root.hero)).setTransform({'ra': 70, 'rb': 46, 'ga': 70, 'gb': 0, 'ba': 70, 'bb': 0});
}
frame 2 {
(new Color(_root.hero)).setTransform({'ra': 60, 'rb': 61, 'ga': 60, 'gb': 0, 'ba': 60, 'bb': 0});
}
frame 2 {
if (_root.level < 6) {
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
}
if (_root.level == 6) {
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
}
if (_root.level == 7) {
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
}
}
frame 3 {
(new Color(_root.hero)).setTransform({'ra': 50, 'rb': 77, 'ga': 50, 'gb': 0, 'ba': 50, 'bb': 0});
}
frame 4 {
(new Color(_root.hero)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
}
frame 5 {
_root.hero._alpha = 0;
}
frame 6 {
_root.hero._alpha = 100;
}
frame 7 {
_root.hero._alpha = 0;
}
frame 8 {
_root.hero._alpha = 100;
}
frame 9 {
_root.hero._alpha = 0;
}
frame 10 {
_root.hero._alpha = 100;
}
frame 11 {
_root.hero._alpha = 0;
}
frame 12 {
_root.hero._alpha = 100;
}
frame 13 {
_root.hero._alpha = 0;
}
frame 14 {
_root.hero._alpha = 100;
}
frame 15 {
_root.hero._alpha = 0;
}
frame 16 {
_root.hero._alpha = 100;
}
frame 17 {
_root.hero._alpha = 0;
}
frame 18 {
_root.hero._alpha = 100;
}
frame 18 {
stop();
if (_root.invincible == true) {
this.gotoAndPlay(7);
} else {
_root.invincibletemp = false;
_parent.gotoAndStop(1);
}
}
}
movieClip 247 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.invincibletemp = true;
}
}
movieClip 248 {
frame 1 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 2 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 3 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 4 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 5 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 6 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 7 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 8 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 9 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 10 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 11 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 12 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 13 {
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
}
frame 14 {
_root.hero._alpha = 100;
_root.hero2._alpha = 100;
}
frame 14 {
stop();
if (_root.invincible == true) {
this.gotoAndPlay(1);
} else {
_root.invincibletemp = false;
_parent.gotoAndStop(1);
}
}
}
movieClip 249 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.invincibletemp = true;
}
}
movieClip 251 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
frame 85 {
stop();
}
frame 86 {
stop();
}
frame 87 {
stop();
}
frame 88 {
stop();
}
frame 89 {
stop();
}
frame 90 {
stop();
}
frame 91 {
stop();
}
frame 92 {
stop();
}
frame 93 {
stop();
}
frame 94 {
stop();
}
frame 95 {
stop();
}
frame 96 {
stop();
}
frame 97 {
stop();
}
frame 98 {
stop();
}
frame 99 {
stop();
}
frame 100 {
stop();
}
frame 101 {
stop();
}
frame 102 {
stop();
}
frame 103 {
stop();
}
frame 104 {
stop();
}
frame 105 {
stop();
}
frame 106 {
stop();
}
frame 107 {
stop();
}
frame 108 {
stop();
}
frame 109 {
stop();
}
frame 110 {
stop();
}
frame 111 {
stop();
}
frame 112 {
stop();
}
frame 113 {
stop();
}
frame 114 {
stop();
}
frame 115 {
stop();
}
frame 116 {
stop();
}
frame 117 {
stop();
}
frame 118 {
stop();
}
frame 119 {
stop();
}
frame 120 {
stop();
}
frame 121 {
stop();
}
frame 122 {
stop();
}
frame 123 {
stop();
}
frame 124 {
stop();
}
frame 125 {
stop();
}
frame 126 {
stop();
}
frame 127 {
stop();
}
frame 128 {
stop();
}
frame 129 {
stop();
}
frame 130 {
stop();
}
frame 131 {
stop();
}
frame 132 {
stop();
}
frame 133 {
stop();
}
frame 134 {
stop();
}
frame 135 {
stop();
}
frame 136 {
stop();
}
frame 137 {
stop();
}
frame 138 {
stop();
}
frame 139 {
stop();
}
frame 140 {
stop();
}
frame 141 {
stop();
}
frame 142 {
stop();
}
frame 143 {
stop();
}
frame 144 {
stop();
}
frame 145 {
stop();
}
frame 146 {
stop();
}
frame 147 {
stop();
}
frame 148 {
stop();
}
frame 149 {
stop();
}
frame 150 {
stop();
}
frame 151 {
stop();
}
frame 152 {
stop();
}
frame 153 {
stop();
}
frame 154 {
stop();
}
frame 155 {
stop();
}
frame 156 {
stop();
}
frame 157 {
stop();
}
frame 158 {
stop();
}
frame 159 {
stop();
}
frame 160 {
stop();
}
frame 161 {
stop();
}
frame 162 {
stop();
}
frame 163 {
stop();
}
frame 164 {
stop();
}
frame 165 {
stop();
}
frame 166 {
stop();
}
frame 167 {
stop();
}
frame 168 {
stop();
}
frame 169 {
stop();
}
frame 170 {
stop();
}
frame 171 {
stop();
}
frame 172 {
stop();
}
frame 173 {
stop();
}
frame 174 {
stop();
}
frame 175 {
stop();
}
frame 176 {
stop();
}
frame 177 {
stop();
}
frame 178 {
stop();
}
frame 179 {
stop();
}
frame 180 {
stop();
}
frame 181 {
stop();
}
frame 182 {
stop();
}
frame 183 {
stop();
}
frame 184 {
stop();
}
frame 185 {
stop();
}
frame 186 {
stop();
}
frame 187 {
stop();
}
frame 188 {
stop();
}
frame 189 {
stop();
}
frame 190 {
stop();
}
frame 191 {
stop();
}
frame 192 {
stop();
}
frame 193 {
stop();
}
frame 194 {
stop();
}
frame 195 {
stop();
}
frame 196 {
stop();
}
frame 197 {
stop();
}
frame 198 {
stop();
}
frame 199 {
stop();
}
frame 200 {
stop();
}
frame 201 {
stop();
}
frame 202 {
stop();
}
frame 203 {
stop();
}
frame 204 {
stop();
}
frame 205 {
stop();
}
frame 206 {
stop();
}
frame 207 {
stop();
}
frame 208 {
stop();
}
frame 209 {
stop();
}
frame 210 {
stop();
}
frame 211 {
stop();
}
frame 212 {
stop();
}
frame 213 {
stop();
}
frame 214 {
stop();
}
frame 215 {
stop();
}
frame 216 {
stop();
}
frame 217 {
stop();
}
frame 218 {
stop();
}
frame 219 {
stop();
}
frame 220 {
stop();
}
frame 221 {
stop();
}
frame 222 {
stop();
}
frame 223 {
stop();
}
frame 224 {
stop();
}
frame 225 {
stop();
}
frame 226 {
stop();
}
frame 227 {
stop();
}
frame 228 {
stop();
}
frame 229 {
stop();
}
frame 230 {
stop();
}
frame 231 {
stop();
}
frame 232 {
stop();
}
frame 233 {
stop();
}
frame 234 {
stop();
}
frame 235 {
stop();
}
frame 236 {
stop();
}
frame 237 {
stop();
}
frame 238 {
stop();
}
frame 239 {
stop();
}
frame 240 {
stop();
}
frame 241 {
stop();
}
frame 242 {
stop();
}
frame 243 {
stop();
}
frame 244 {
stop();
}
frame 245 {
stop();
}
frame 246 {
stop();
}
frame 247 {
stop();
}
frame 248 {
stop();
}
frame 249 {
stop();
}
frame 250 {
stop();
if (_root.robotfacingleft == true) {
_root.ufo.gotoAndStop(12);
}
if (_root.robotfacingleft == false) {
_root.ufo.gotoAndStop(13);
}
_parent.gotoAndStop(1);
}
}
movieClip 253 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
frame 85 {
stop();
}
frame 86 {
stop();
}
frame 87 {
stop();
}
frame 88 {
stop();
}
frame 89 {
stop();
}
frame 90 {
stop();
}
frame 91 {
stop();
}
frame 92 {
stop();
}
frame 93 {
stop();
}
frame 94 {
stop();
}
frame 95 {
stop();
}
frame 96 {
stop();
}
frame 97 {
stop();
}
frame 98 {
stop();
}
frame 99 {
stop();
}
frame 100 {
stop();
}
frame 101 {
stop();
}
frame 102 {
stop();
}
frame 103 {
stop();
}
frame 104 {
stop();
}
frame 105 {
stop();
}
frame 106 {
stop();
}
frame 107 {
stop();
}
frame 108 {
stop();
}
frame 109 {
stop();
}
frame 110 {
stop();
}
frame 111 {
stop();
}
frame 112 {
stop();
}
frame 113 {
stop();
}
frame 114 {
stop();
}
frame 115 {
stop();
}
frame 116 {
stop();
}
frame 117 {
stop();
}
frame 118 {
stop();
}
frame 119 {
stop();
}
frame 120 {
stop();
}
frame 121 {
stop();
}
frame 122 {
stop();
}
frame 123 {
stop();
}
frame 124 {
stop();
}
frame 125 {
stop();
}
frame 126 {
stop();
}
frame 127 {
stop();
}
frame 128 {
stop();
}
frame 129 {
stop();
}
frame 130 {
stop();
}
frame 131 {
stop();
}
frame 132 {
stop();
}
frame 133 {
stop();
}
frame 134 {
stop();
}
frame 135 {
stop();
}
frame 136 {
stop();
}
frame 137 {
stop();
}
frame 138 {
stop();
}
frame 139 {
stop();
}
frame 140 {
stop();
}
frame 141 {
stop();
}
frame 142 {
stop();
}
frame 143 {
stop();
}
frame 144 {
stop();
}
frame 145 {
stop();
}
frame 146 {
stop();
}
frame 147 {
stop();
}
frame 148 {
stop();
}
frame 149 {
stop();
}
frame 150 {
stop();
}
frame 151 {
stop();
}
frame 152 {
stop();
}
frame 153 {
stop();
}
frame 154 {
stop();
}
frame 155 {
stop();
}
frame 156 {
stop();
}
frame 157 {
stop();
}
frame 158 {
stop();
}
frame 159 {
stop();
}
frame 160 {
stop();
}
frame 161 {
stop();
}
frame 162 {
stop();
}
frame 163 {
stop();
}
frame 164 {
stop();
}
frame 165 {
stop();
}
frame 166 {
stop();
}
frame 167 {
stop();
}
frame 168 {
stop();
}
frame 169 {
stop();
}
frame 170 {
stop();
}
frame 171 {
stop();
}
frame 172 {
stop();
}
frame 173 {
stop();
}
frame 174 {
stop();
}
frame 175 {
stop();
}
frame 176 {
stop();
}
frame 177 {
stop();
}
frame 178 {
stop();
}
frame 179 {
stop();
}
frame 180 {
stop();
}
frame 181 {
stop();
}
frame 182 {
stop();
}
frame 183 {
stop();
}
frame 184 {
stop();
}
frame 185 {
stop();
}
frame 186 {
stop();
}
frame 187 {
stop();
}
frame 188 {
stop();
}
frame 189 {
stop();
}
frame 190 {
stop();
}
frame 191 {
stop();
}
frame 192 {
stop();
}
frame 193 {
stop();
}
frame 194 {
stop();
}
frame 195 {
stop();
}
frame 196 {
stop();
}
frame 197 {
stop();
}
frame 198 {
stop();
}
frame 199 {
stop();
}
frame 200 {
stop();
}
frame 201 {
stop();
}
frame 202 {
stop();
}
frame 203 {
stop();
}
frame 204 {
stop();
}
frame 205 {
stop();
}
frame 206 {
stop();
}
frame 207 {
stop();
}
frame 208 {
stop();
}
frame 209 {
stop();
}
frame 210 {
stop();
}
frame 211 {
stop();
}
frame 212 {
stop();
}
frame 213 {
stop();
}
frame 214 {
stop();
}
frame 215 {
stop();
}
frame 216 {
stop();
}
frame 217 {
stop();
}
frame 218 {
stop();
}
frame 219 {
stop();
}
frame 220 {
stop();
}
frame 221 {
stop();
}
frame 222 {
stop();
}
frame 223 {
stop();
}
frame 224 {
stop();
}
frame 225 {
stop();
}
frame 226 {
stop();
}
frame 227 {
stop();
}
frame 228 {
stop();
}
frame 229 {
stop();
}
frame 230 {
stop();
}
frame 231 {
stop();
}
frame 232 {
stop();
}
frame 233 {
stop();
}
frame 234 {
stop();
}
frame 235 {
stop();
}
frame 236 {
stop();
}
frame 237 {
stop();
}
frame 238 {
stop();
}
frame 239 {
stop();
}
frame 240 {
stop();
}
frame 241 {
stop();
}
frame 242 {
stop();
}
frame 243 {
stop();
}
frame 244 {
stop();
}
frame 245 {
stop();
}
frame 246 {
stop();
}
frame 247 {
stop();
}
frame 248 {
stop();
}
frame 249 {
stop();
}
frame 250 {
stop();
}
frame 251 {
stop();
}
frame 252 {
stop();
}
frame 253 {
stop();
}
frame 254 {
stop();
}
frame 255 {
stop();
}
frame 256 {
stop();
}
frame 257 {
stop();
}
frame 258 {
stop();
}
frame 259 {
stop();
}
frame 260 {
stop();
}
frame 261 {
stop();
}
frame 262 {
stop();
}
frame 263 {
stop();
}
frame 264 {
stop();
}
frame 265 {
stop();
}
frame 266 {
stop();
}
frame 267 {
stop();
}
frame 268 {
stop();
}
frame 269 {
stop();
}
frame 270 {
stop();
}
frame 271 {
stop();
}
frame 272 {
stop();
}
frame 273 {
stop();
}
frame 274 {
stop();
}
frame 275 {
stop();
}
frame 276 {
stop();
}
frame 277 {
stop();
}
frame 278 {
stop();
}
frame 279 {
stop();
}
frame 280 {
stop();
}
frame 281 {
stop();
}
frame 282 {
stop();
}
frame 283 {
stop();
}
frame 284 {
stop();
}
frame 285 {
stop();
}
frame 286 {
stop();
}
frame 287 {
stop();
}
frame 288 {
stop();
}
frame 289 {
stop();
}
frame 290 {
stop();
}
frame 291 {
stop();
}
frame 292 {
stop();
}
frame 293 {
stop();
}
frame 294 {
stop();
}
frame 295 {
stop();
}
frame 296 {
stop();
}
frame 297 {
stop();
}
frame 298 {
stop();
}
frame 299 {
stop();
}
frame 300 {
stop();
}
frame 301 {
stop();
}
frame 302 {
stop();
}
frame 303 {
stop();
}
frame 304 {
stop();
}
frame 305 {
stop();
}
frame 306 {
stop();
}
frame 307 {
stop();
}
frame 308 {
stop();
}
frame 309 {
stop();
}
frame 310 {
stop();
}
frame 311 {
stop();
}
frame 312 {
stop();
}
frame 313 {
stop();
}
frame 314 {
stop();
}
frame 315 {
stop();
}
frame 316 {
stop();
}
frame 317 {
stop();
}
frame 318 {
stop();
}
frame 319 {
stop();
}
frame 320 {
stop();
}
frame 321 {
stop();
}
frame 322 {
stop();
}
frame 323 {
stop();
}
frame 324 {
stop();
}
frame 325 {
stop();
}
frame 326 {
stop();
}
frame 327 {
stop();
}
frame 328 {
stop();
}
frame 329 {
stop();
}
frame 330 {
stop();
}
frame 331 {
stop();
}
frame 332 {
stop();
}
frame 333 {
stop();
}
frame 334 {
stop();
}
frame 335 {
stop();
}
frame 336 {
stop();
}
frame 337 {
stop();
}
frame 338 {
stop();
}
frame 339 {
stop();
}
frame 340 {
stop();
}
frame 341 {
stop();
}
frame 342 {
stop();
}
frame 343 {
stop();
}
frame 344 {
stop();
}
frame 345 {
stop();
}
frame 346 {
stop();
}
frame 347 {
stop();
}
frame 348 {
stop();
}
frame 349 {
stop();
}
frame 350 {
stop();
}
frame 351 {
stop();
}
frame 352 {
stop();
}
frame 353 {
stop();
}
frame 354 {
stop();
}
frame 355 {
stop();
}
frame 356 {
stop();
}
frame 357 {
stop();
}
frame 358 {
stop();
}
frame 359 {
stop();
}
frame 360 {
stop();
}
frame 361 {
stop();
}
frame 362 {
stop();
}
frame 363 {
stop();
}
frame 364 {
stop();
}
frame 365 {
stop();
}
frame 366 {
stop();
}
frame 367 {
stop();
}
frame 368 {
stop();
}
frame 369 {
stop();
}
frame 370 {
stop();
}
frame 371 {
stop();
}
frame 372 {
stop();
}
frame 373 {
stop();
}
frame 374 {
stop();
}
frame 375 {
stop();
}
frame 376 {
stop();
}
frame 377 {
stop();
}
frame 378 {
stop();
}
frame 379 {
stop();
}
frame 380 {
stop();
}
frame 381 {
stop();
}
frame 382 {
stop();
}
frame 383 {
stop();
}
frame 384 {
stop();
}
frame 385 {
stop();
}
frame 386 {
stop();
}
frame 387 {
stop();
}
frame 388 {
stop();
}
frame 389 {
stop();
}
frame 390 {
stop();
}
frame 391 {
stop();
}
frame 392 {
stop();
}
frame 393 {
stop();
}
frame 394 {
stop();
}
frame 395 {
stop();
}
frame 396 {
stop();
}
frame 397 {
stop();
}
frame 398 {
stop();
}
frame 399 {
stop();
}
frame 400 {
stop();
}
frame 401 {
stop();
}
frame 402 {
stop();
}
frame 403 {
stop();
}
frame 404 {
stop();
}
frame 405 {
stop();
}
frame 406 {
stop();
}
frame 407 {
stop();
}
frame 408 {
stop();
}
frame 409 {
stop();
}
frame 410 {
stop();
}
frame 411 {
stop();
}
frame 412 {
stop();
}
frame 413 {
stop();
}
frame 414 {
stop();
}
frame 415 {
stop();
}
frame 416 {
stop();
}
frame 417 {
stop();
}
frame 418 {
stop();
}
frame 419 {
stop();
}
frame 420 {
stop();
}
frame 421 {
stop();
}
frame 422 {
stop();
}
frame 423 {
stop();
}
frame 424 {
stop();
}
frame 425 {
stop();
}
frame 426 {
stop();
}
frame 427 {
stop();
}
frame 428 {
stop();
}
frame 429 {
stop();
}
frame 430 {
stop();
}
frame 431 {
stop();
}
frame 432 {
stop();
}
frame 433 {
stop();
}
frame 434 {
stop();
}
frame 435 {
stop();
}
frame 436 {
stop();
}
frame 437 {
stop();
}
frame 438 {
stop();
}
frame 439 {
stop();
}
frame 440 {
stop();
}
frame 441 {
stop();
}
frame 442 {
stop();
}
frame 443 {
stop();
}
frame 444 {
stop();
}
frame 445 {
stop();
}
frame 446 {
stop();
}
frame 447 {
stop();
}
frame 448 {
stop();
}
frame 449 {
stop();
}
frame 450 {
stop();
}
frame 451 {
stop();
}
frame 452 {
stop();
}
frame 453 {
stop();
}
frame 454 {
stop();
}
frame 455 {
stop();
}
frame 456 {
stop();
}
frame 457 {
stop();
}
frame 458 {
stop();
}
frame 459 {
stop();
}
frame 460 {
stop();
}
frame 461 {
stop();
}
frame 462 {
stop();
}
frame 463 {
stop();
}
frame 464 {
stop();
}
frame 465 {
stop();
}
frame 466 {
stop();
}
frame 467 {
stop();
}
frame 468 {
stop();
}
frame 469 {
stop();
}
frame 470 {
stop();
}
frame 471 {
stop();
}
frame 472 {
stop();
}
frame 473 {
stop();
}
frame 474 {
stop();
}
frame 475 {
stop();
}
frame 476 {
stop();
}
frame 477 {
stop();
}
frame 478 {
stop();
}
frame 479 {
stop();
}
frame 480 {
stop();
}
frame 481 {
stop();
}
frame 482 {
stop();
}
frame 483 {
stop();
}
frame 484 {
stop();
}
frame 485 {
stop();
}
frame 486 {
stop();
}
frame 487 {
stop();
}
frame 488 {
stop();
}
frame 489 {
stop();
}
frame 490 {
stop();
}
frame 491 {
stop();
}
frame 492 {
stop();
}
frame 493 {
stop();
}
frame 494 {
stop();
}
frame 495 {
stop();
}
frame 496 {
stop();
}
frame 497 {
stop();
}
frame 498 {
stop();
}
frame 499 {
stop();
}
frame 500 {
stop();
(new Color(_root.mothership)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
_root.mothership.gotoAndStop(2);
_parent.gotoAndStop(1);
}
}
movieClip 254 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 256 {
}
button 260 {
on (release) {
_root.mainframe.gotoAndStop(1);
}
}
button 264 {
on (release) {
_root.pause = false;
_root.gotoAndStop(3);
}
}
movieClip 266 {
frame 1 {
stop();
_root.pause = false;
if (_root.mute == true) {
_root.globalvolume.setVolume(0);
} else {
_root.globalvolume.setVolume(100);
}
}
instance of movieClip 190 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.upallowed = false;
} else {
_root.upallowed = true;
}
}
}
instance of movieClip 190 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.downallowed = false;
} else {
_root.downallowed = true;
}
}
}
instance of movieClip 190 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.sky) and _root.hero.body.hitbox.hitTest(_root.fg1.platform0)) {
_root.mainframe._y += 1;
_root._y -= 1;
} else {
if (this.hitTest(_root.bg2.sky) and _root.hero.body.hitbox.hitTest(_root.fg2.platform0)) {
_root.mainframe._y += 1;
_root._y -= 1;
}
}
}
}
instance of movieClip 190 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1)) {
_root.mainframe._y -= 1;
_root._y += 1;
}
if (this.hitTest(_root.bg2)) {
_root.mainframe._y -= 1;
_root._y += 1;
}
}
}
instance mutebutton of movieClip 42 {
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.mainframe.mutebutton.gotoAndStop(2);
}
}
}
instance powerupclip of movieClip 243 {
onClipEvent (enterFrame) {
if (_root.invincible == true) {
this.txt.gotoAndStop(1);
}
if (_root.doubledamage == true) {
this.txt.gotoAndStop(2);
_root.herodamage = 2;
}
if (_root.doublespeed == true and _root.level <= 2) {
this.txt.gotoAndStop(3);
_root.herospeed = 16;
}
if (_root.doublespeed == true and _root.level >= 3) {
this.txt.gotoAndStop(3);
_root.herospeed = 12;
}
if (_root.fireshield == true) {
this.txt.gotoAndStop(4);
}
if (_root.doubledamage == false) {
_root.herodamage = 1;
}
if (_root.doublespeed == false and _root.level <= 2) {
_root.herospeed = 10;
}
if (_root.doublespeed == false and _root.level >= 3) {
_root.herospeed = 8;
}
}
}
instance of movieClip 256 {
onClipEvent (enterFrame) {
if (Key.isDown(80) and _root.pauseallowed == true and _root.mainpauseallowed == true) {
_root.pauseallowed = false;
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(80) == false) {
_root.pauseallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) and _root.pauseallowedd == true and _root.mainpauseallowed == true) {
_root.pauseallowedd = false;
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) == false) {
_root.pauseallowedd = true;
}
}
onClipEvent (enterFrame) {
_root.starbg.play();
_root.mothership.ship.play();
}
}
frame 2 {
stop();
_root.pause = true;
_root.globalvolume.setVolume(0);
}
instance of movieClip 256 {
onClipEvent (enterFrame) {
if (Key.isDown(80) and _root.pauseallowed == true) {
_root.pauseallowed = false;
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(80) == false) {
_root.pauseallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) and _root.pauseallowedd == true) {
_root.pauseallowedd = false;
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) == false) {
_root.pauseallowedd = true;
}
}
onClipEvent (enterFrame) {
_root.starbg.stop();
_root.mothership.ship.stop();
}
}
}
frame 5 {
stop();
_root.mainpauseallowed = true;
_root.level = 1;
_root.level1unlocked = true;
_root.gun == false;
_root.mainframe.txt.gotoAndPlay(1);
_root.starbg.stars2.gotoAndStop(2);
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level1unlocked = _root.level1unlocked;
}
movieClip 267 {
}
movieClip 269 {
}
movieClip 271 {
}
movieClip 273 {
}
movieClip 275 {
}
movieClip 277 {
}
movieClip 280 {
}
movieClip 281 {
}
movieClip 282 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
}
movieClip 283 {
frame 1 {
_root.starbg.stars1.nextFrame();
_root.starbg.stars2.nextFrame();
}
frame 402 {
_root.starbg.stars1.nextFrame();
_root.starbg.stars2.nextFrame();
}
}
movieClip 285 {
}
movieClip 292 {
frame 1 {
_root.attachMovie('spaceship_bullet', 'spaceship_bullet' + i, _root.getNextHighestDepth(), {'_x': _root.hero._x + 150, '_y': _root.hero._y + 10});
}
frame 15 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 293 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 318 {
}
movieClip 323 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 326 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 330 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 338 {
frame 15 {
this.gotoAndPlay(1);
}
}
movieClip 341 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 342 {
}
movieClip 343 {
instance gun of movieClip 293 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.pause == false) {
this.gotoAndStop(2);
}
}
}
}
movieClip 356 {
}
movieClip 357 {
}
movieClip 358 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance fire of movieClip 357 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo3.ship.ship.box1) and _root.pause == false) {
_root.ufo3.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo3.ship.ship.box2) and _root.pause == false) {
_root.ufo3.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo4.ship.ship.box1) and _root.pause == false) {
_root.ufo4.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo4.ship.ship.box2) and _root.pause == false) {
_root.ufo4.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid1.body.box)) {
_root.fg1.asteroid1.body.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid2.body.box)) {
_root.fg1.asteroid2.body.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid3.body.box)) {
_root.fg1.asteroid3.body.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid1.body.box)) {
_root.fg2.asteroid1.body.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid2.body.box)) {
_root.fg2.asteroid2.body.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid3.body.box)) {
_root.fg2.asteroid3.body.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.meteor1.box)) {
_root.fg1.meteor1.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.meteor2.box)) {
_root.fg1.meteor2.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.meteor3.box)) {
_root.fg1.meteor3.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.meteor4.box)) {
_root.fg1.meteor4.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.meteor1.box)) {
_root.fg2.meteor1.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.meteor2.box)) {
_root.fg2.meteor2.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.meteor3.box)) {
_root.fg2.meteor3.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.meteor4.box)) {
_root.fg2.meteor4.gotoAndStop(2);
}
}
}
}
movieClip 362 {
frame 2 {
_root.hero._x -= 20;
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
}
frame 3 {
stop();
_parent.gotoAndStop(3);
}
}
movieClip 363 {
instance gun of movieClip 293 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.pause == false) {
this.gotoAndStop(2);
}
}
}
frame 16 {
stop();
if (_root.invincible == true) {
this.gotoAndPlay(3);
} else {
_parent.gotoAndStop(1);
}
}
}
movieClip 381 {
frame 2 {
stop();
this.numberamount = 9;
_root.invincible = false;
_root.doubledamage = false;
_root.doublespeed = false;
_root.fireshield = false;
_root.hero.body.ship.fireshield.gotoAndStop(1);
_root.hero.fireshield.gotoAndStop(1);
_root.hero2.fireshield.gotoAndStop(1);
_root.herodamage = 1;
_root.herospeed = 10;
_root.mainframe.powerupclip.gotoAndStop(1);
play();
}
frame 25 {
stop();
_root.mainframe.fade.play();
}
}
movieClip 403 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 404 {
}
movieClip 405 {
frame 110 {
stop();
_root.level = 2;
_root.mainframe.fade.play();
}
}
movieClip 406 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 407 {
}
movieClip 408 {
frame 1 {
stop();
}
instance body of movieClip 407 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.hero._x < 650 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _root.hero._x > 5 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _root.hero._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
_parent._rotation = -6;
}
if (Key.isDown(40) and Key.isDown(38) == false and _root.hero._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
_parent._rotation = 6;
} else {}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false and Key.isDown(40) == false and _root.hero._y > 50 and _root.pause == false) {
_parent._rotation = 0;
}
}
}
}
instance hero of movieClip 408 {
onClipEvent (enterFrame) {
this.body.ship.ship.heroes.head2.gotoAndStop(2);
this.body.ship.ship.heroes.frontarm2.gotoAndStop(2);
this.body.ship.ship.heroes.backarm2.gotoAndStop(2);
this.body.ship.ship.heroes.torso2.gotoAndStop(2);
this.body.ship.ship.heroes.legs2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
this.body.ship.ship.hero2.head.gotoAndStop(2);
this.body.ship.ship.hero2.frontarm.gotoAndStop(2);
this.body.ship.ship.hero2.backarm.gotoAndStop(2);
this.body.ship.ship.hero2.torso.gotoAndStop(2);
this.body.ship.ship.hero2.legs.gotoAndStop(2);
}
}
movieClip 410 {
}
movieClip 412 {
instance box2 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
}
instance box1 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
}
}
movieClip 414 {
}
movieClip 425 {
}
movieClip 442 {
frame 17 {
_parent._parent.ballexploded = true;
}
frame 25 {
stop();
}
}
movieClip 443 {
frame 1 {
stop();
}
instance ball of movieClip 425 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.level == 7 and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.level == 7 and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(7);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(8);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(7);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(8);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body) and _root.pause == false) {
_root.alien.gotoAndStop(11);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body) and _root.pause == false) {
_root.alien2.gotoAndStop(11);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 445 {
frame 1 {
stop();
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
}
frame 40 {
stop();
this.gotoAndStop(1);
}
}
movieClip 448 {
}
movieClip 449 {
}
movieClip 451 {
instance box2 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.umbrella) and _root.pause == false) {
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.level == 7 and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.level == 7 and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
}
instance box1 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.umbrella) and _root.pause == false) {
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false and _root.level == 7) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false and _root.level == 7) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
}
}
movieClip 452 {
}
movieClip 454 {
}
movieClip 456 {
frame 1 {
stop();
if (_root.level < 3) {
play();
}
if (_root.level == 7) {
play();
}
}
instance of movieClip 454 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(2);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.level == 7 and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.level == 7 and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false and _root.level == 2 and _root.pause == false) {
_root.hero.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false and _root.level == 2 and _root.pause == false) {
_root.hero2.gotoAndStop(8);
}
}
}
}
movieClip 458 {
frame 2 {
_parent.health -= _root.herodamage;
if (_root.shooting == true) {
_parent.health -= _root.herodamage;
}
}
frame 4 {
_parent.gotoAndStop(2);
}
}
movieClip 466 {
frame 25 {
stop();
}
}
movieClip 467 {
frame 2 {
_parent.health -= _root.herodamage;
if (_root.shooting == true) {
_parent.health -= _root.herodamage;
}
}
frame 4 {
_parent.gotoAndStop(5);
}
}
movieClip 468 {
frame 13 {
_root.hero.gotoAndStop(15);
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
}
frame 46 {
stop();
_parent.nextFrame();
}
}
movieClip 470 {
instance box2 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true) {
_root.hero.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false) {
_root.hero.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true) {
_root.hero2.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false) {
_root.hero2.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
}
instance box1 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true) {
_root.hero.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false) {
_root.hero.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true) {
_root.hero2.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false) {
_root.hero2.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
}
}
movieClip 471 {
}
movieClip 472 {
frame 1 {
stop();
this.health = 2;
}
frame 2 {
stop();
this.shipright = false;
}
instance ship of movieClip 452 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 5;
}
}
onClipEvent (enterFrame) {
if (_parent._x < -100) {
_parent._x = 830;
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_parent._y > _root.hero._y and _root.pause == false and _root.level < 3) {
_parent._y -= 1;
}
}
onClipEvent (enterFrame) {
if (_parent._y < _root.hero._y and _root.pause == false and _root.level < 3) {
_parent._y += 1;
}
}
}
frame 3 {
stop();
}
instance ship of movieClip 458 {
onClipEvent (enterFrame) {
if (_parent.health <= 0 and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_parent.shipright == true) {
_parent.gotoAndStop(6);
}
}
}
frame 4 {
stop();
}
instance of movieClip 466 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 5;
}
}
onClipEvent (enterFrame) {
if (_parent._x < -100) {
_parent._x = 830;
_parent.gotoAndStop(1);
}
}
}
frame 5 {
stop();
this.shipright = true;
}
instance ship of movieClip 452 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 5;
}
}
onClipEvent (enterFrame) {
if (_parent._x >= 830) {
_parent._x = 830;
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_parent._y > _root.hero._y and _root.pause == false and _root.level < 3) {
_parent._y -= 1;
}
}
onClipEvent (enterFrame) {
if (_parent._y < _root.hero._y and _root.pause == false and _root.level < 3) {
_parent._y += 1;
}
}
}
frame 6 {
stop();
}
instance ship of movieClip 467 {
onClipEvent (enterFrame) {
if (_parent.health <= 0 and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
frame 7 {
stop();
}
instance of movieClip 466 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 5;
}
}
onClipEvent (enterFrame) {
if (_parent._x >= 830) {
_parent._x = 830;
_parent.gotoAndStop(1);
}
}
}
frame 8 {
stop();
}
instance shipp of movieClip 452 {
onClipEvent (enterFrame) {
if (_parent._x < 490 and _root.pause == false) {
_parent._x += 10;
}
}
onClipEvent (enterFrame) {
if (_parent._x > 506 and _root.pause == false) {
_parent._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_parent._x >= 490 and _parent._x <= 506 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
}
frame 9 {
stop();
}
instance of movieClip 468 {
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(2);
this.body.frontarm.gotoAndStop(2);
this.body.backarm.gotoAndStop(2);
this.body.torso.gotoAndStop(2);
this.body.legs.gotoAndStop(2);
}
}
frame 10 {
stop();
}
instance shipp of movieClip 471 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (_parent._x >= 830) {
_root.level = 3;
_root.mainframe.fade.play();
_parent._x = 830;
_parent.gotoAndStop(1);
}
}
}
}
instance ufo2 of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
instance ufo of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
instance ufo4 of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
instance ufo3 of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
movieClip 485 {
frame 25 {
stop();
}
}
movieClip 486 {
frame 1 {
stop();
this.health = 2;
}
instance box of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(3);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box1) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box2) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box1) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box2) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
}
}
}
frame 2 {
stop();
if (this.health <= 0) {
this.gotoAndStop(6);
}
}
frame 5 {
stop();
this.health -= _root.herodamage;
this.gotoAndStop(2);
}
frame 6 {
stop();
}
}
movieClip 487 {
}
movieClip 492 {
frame 1 {
stop();
this.health = 2;
}
instance box of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(3);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box1) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box2) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box1) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box2) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
}
}
}
frame 2 {
stop();
if (this.health <= 0) {
this.gotoAndStop(6);
}
}
frame 5 {
stop();
this.health -= _root.herodamage;
this.gotoAndStop(2);
}
frame 6 {
stop();
}
}
movieClip 493 {
}
movieClip 498 {
}
movieClip 499 {
frame 1 {
stop();
}
instance box of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
}
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box1) and _root.pause == false) {
_root.ufo3.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box2) and _root.pause == false) {
_root.ufo3.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box1) and _root.pause == false) {
_root.ufo4.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box2) and _root.pause == false) {
_root.ufo4.gotoAndPlay(3);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 504 {
frame 1 {
stop();
this.health = 2;
}
instance box of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(3);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(3);
}
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box1) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
}
if (this.hitTest(_root.ufo3.ship.ship.box2) and _root.pause == false) {
_root.ufo3.gotoAndStop(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box1) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
}
if (this.hitTest(_root.ufo4.ship.ship.box2) and _root.pause == false) {
_root.ufo4.gotoAndStop(3);
}
}
}
frame 2 {
stop();
if (this.health <= 0) {
this.gotoAndStop(6);
}
}
frame 5 {
stop();
this.health -= _root.herodamage;
this.gotoAndStop(2);
}
frame 6 {
stop();
}
}
movieClip 505 {
}
movieClip 515 {
}
movieClip 523 {
frame 1 {
stop();
_root.mainframe.powerupclip.gotoAndStop(1);
_root.powerupnumber = Math.ceil(Math.random() * 4);
this.play();
}
frame 2 {
stop();
if (_root.powerupnumber == 1) {
_root.invincible = true;
_root.hero.body.ship.gotoAndStop(3);
_root.hero.gotoAndStop('invincible');
_root.hero2.gotoAndStop('invincible2');
}
if (_root.powerupnumber == 1 and (_root.level == 0 or _root.level >= 3)) {
_root.mainframe.heroflicker2.gotoAndStop(2);
}
if (_root.powerupnumber == 2 and _root.level <= 1) {
_root.doubledamage = true;
}
if (_root.powerupnumber == 2 and _root.level == 2) {
_root.fireshield = true;
_root.hero.body.ship.fireshield.gotoAndStop(2);
_root.hero.fireshield.gotoAndStop(2);
_root.hero2.fireshield.gotoAndStop(2);
}
if (_root.powerupnumber == 2 and _root.level >= 3) {
_root.doubledamage = true;
}
if (_root.powerupnumber == 3 and (_root.level == 1 or _root.level == 2)) {
_root.doublespeed = true;
}
if (_root.powerupnumber == 3 and (_root.level == 0 or _root.level >= 3)) {
_root.doubledamage = true;
}
if (_root.powerupnumber == 4) {
_root.fireshield = true;
_root.hero.body.ship.fireshield.gotoAndStop(2);
_root.hero.fireshield.gotoAndStop(2);
_root.hero2.fireshield.gotoAndStop(2);
}
_root.mainframe.powerupclip.gotoAndStop(2);
this.play();
}
frame 7 {
stop();
_root.powerupstaken += 1;
}
}
movieClip 524 {
frame 1 {
stop();
}
instance of movieClip 515 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.ship) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1)) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box2)) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1)) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box2)) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 542 {
}
movieClip 544 {
}
movieClip 545 {
}
movieClip 551 {
frame 1 {
stop();
this.play();
}
frame 2 {
stop();
_root.mainframe.health.framing.gotoAndPlay(2);
_root.mainframe.health.gotoAndStop(1);
this.play();
}
frame 7 {
stop();
_root.healthstaken += 1;
}
}
movieClip 552 {
frame 1 {
stop();
}
instance of movieClip 545 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.ship) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box2) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box2) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 554 {
}
movieClip 555 {
frame 1 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor2 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 2 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 3 {
stop();
_root.ufo2._x = 830;
_root.ufo2._y = 277;
_root.ufo2.gotoAndStop(2);
_root.ufo._x = 1100;
_root.ufo._y = 50;
_root.ufo.gotoAndStop(2);
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 4 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 7;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
instance meteor2 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 5 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
_root.ufo2._x = 830;
_root.ufo2._y = 350;
_root.ufo2.gotoAndStop(2);
_root.ufo._x = 830;
_root.ufo._y = 100;
_root.ufo.gotoAndStop(2);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 6 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
frame 7 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
_root.ufo3._x = 830;
_root.ufo3._y = 200;
_root.ufo3.gotoAndStop(2);
_root.ufo4._x = 1000;
_root.ufo4._y = 400;
_root.ufo4.gotoAndStop(2);
}
frame 8 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
frame 9 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 7;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 10 {
stop();
_root.ufo4._x = 830;
_root.ufo4._y = 200;
_root.ufo4.gotoAndStop(2);
}
frame 11 {
stop();
}
}
instance fg1 of movieClip 555 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x -= 6;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and this._x <= -360) {
this._x = 1080;
this.nextFrame();
}
}
}
movieClip 556 {
frame 1 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
frame 2 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 6;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 3 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
_root.ufo3._x = 1000;
_root.ufo3._y = 400;
_root.ufo3.gotoAndStop(2);
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 6;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
instance meteor2 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 4;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 4 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor4 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 6;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 5 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
instance meteor2 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 6;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
instance meteor1 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 4;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
instance meteor3 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 6 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
_root.ufo._x = 830;
_root.ufo._y = 300;
_root.ufo.gotoAndStop(2);
_root.ufo2._x = 1000;
_root.ufo2._y = 0;
_root.ufo2.gotoAndStop(2);
}
frame 7 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
}
frame 8 {
stop();
this.asteroid1.body.gotoAndStop(1);
this.asteroid2.body.gotoAndStop(1);
this.asteroid3.body.gotoAndStop(1);
_root.ufo._x = 830;
_root.ufo._y = 350;
_root.ufo.gotoAndStop(2);
_root.ufo2._x = 1000;
_root.ufo2._y = 50;
_root.ufo2.gotoAndStop(2);
}
instance meteor2 of movieClip 499 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 5;
}
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -250;
}
}
}
frame 9 {
stop();
_root.ufo._x = 830;
_root.ufo._y = 400;
_root.ufo.gotoAndStop(2);
_root.ufo2._x = 1200;
_root.ufo2._y = 0;
_root.ufo2.gotoAndStop(2);
_root.ufo3._x = 1000;
_root.ufo3._y = 250;
_root.ufo3.gotoAndStop(2);
}
frame 10 {
stop();
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.hero.body.ship.gotoAndStop(5);
}
frame 11 {
stop();
}
}
instance fg2 of movieClip 556 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x -= 6;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and this._x <= -360) {
this._x = 1080;
this.nextFrame();
}
}
}
frame 6 {
stop();
_root.mainpauseallowed = true;
_root.level = 2;
_root.level2unlocked = true;
_root.gun == false;
_root.mainframe.txt.gotoAndPlay(193);
_root.umbrella = false;
_root.takeumbrella = false;
_root.landed = false;
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level2unlocked = _root.level2unlocked;
}
instance fb1 of movieClip 89 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.umbrella == true and _root.landed == false) {
this._y -= 1;
} else {
if (_root.pause == false and _root.umbrella == false) {
this._y -= 4;
}
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and this._y <= -202.5) {
this._y = 607.5;
}
}
}
instance fb2 of movieClip 89 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.umbrella == true and _root.landed == false) {
this._y -= 1;
} else {
if (_root.pause == false and _root.umbrella == false) {
this._y -= 4;
}
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and this._y <= -202.5) {
this._y = 607.5;
}
}
}
movieClip 566 {
}
movieClip 575 {
}
movieClip 577 {
}
movieClip 579 {
}
movieClip 580 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
instance bg1 of movieClip 580 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.umbrella == true and _root.landed == false) {
this._y -= 2;
} else {
if (_root.pause == false and _root.umbrella == false) {
this._y -= 8;
}
}
}
onClipEvent (enterFrame) {
if (this._y <= -202.5) {
this._y = 607.5;
this.nextFrame();
}
}
}
instance bg2 of movieClip 580 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.umbrella == true and _root.landed == false) {
this._y -= 2;
} else {
if (_root.pause == false and _root.umbrella == false) {
this._y -= 8;
}
}
}
onClipEvent (enterFrame) {
if (this._y <= -202.5) {
this._y = 607.5;
this.nextFrame();
}
}
}
movieClip 582 {
}
movieClip 590 {
}
movieClip 592 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 593 {
frame 5 {
_root.umbrella = true;
_parent.gotoAndStop('umbrellaoutright');
}
}
movieClip 594 {
frame 5 {
_root.umbrella = true;
_parent.gotoAndStop('umbrellaoutleft');
}
}
movieClip 595 {
}
movieClip 596 {
frame 2 {
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
}
frame 3 {
stop();
_parent.gotoAndStop(9);
}
}
movieClip 597 {
frame 2 {
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
_root.mainframe.health.nextFrame();
}
frame 3 {
stop();
_parent.gotoAndStop(10);
}
}
movieClip 598 {
frame 16 {
stop();
if (_root.invincible == true) {
this.gotoAndPlay(3);
} else {
_parent.gotoAndStop('umbrellaoutright');
}
}
}
movieClip 599 {
frame 16 {
stop();
if (_root.invincible == true) {
this.gotoAndPlay(3);
} else {
_parent.gotoAndStop('umbrellaoutleft');
}
}
}
movieClip 601 {
}
movieClip 602 {
frame 6 {
stop();
_parent.nextFrame();
}
}
movieClip 603 {
}
movieClip 604 {
}
movieClip 605 {
frame 1 {
stop();
}
instance body of movieClip 404 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
_parent.gotoAndStop(2);
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
onClipEvent (enterFrame) {
if (_root.takeumbrella == true and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 404 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
_parent.gotoAndStop(1);
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
onClipEvent (enterFrame) {
if (_root.takeumbrella == true and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
_root.fallingheroright = true;
}
instance body of movieClip 595 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
_parent.gotoAndStop(6);
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 6 {
stop();
_root.fallingheroright = false;
}
instance body of movieClip 595 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
_parent.gotoAndStop(5);
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 7 {
stop();
}
instance body of movieClip 596 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 8 {
stop();
}
instance body of movieClip 597 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 9 {
stop();
}
instance body of movieClip 598 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 10 {
stop();
}
instance body of movieClip 599 {
onClipEvent (enterFrame) {
if (Key.isDown(68) and Key.isDown(65) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(65) and Key.isDown(68) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(87) and Key.isDown(83) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(83) and Key.isDown(87) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 11 {
stop();
}
instance body of movieClip 404 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 18;
}
}
onClipEvent (enterFrame) {
if (this._y >= 800) {
_root.mainframe.fade.play();
}
}
}
instance of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 8;
}
}
}
frame 12 {
stop();
}
instance body of movieClip 595 {
onClipEvent (enterFrame) {
if (_parent._x < 490 and _root.pause == false) {
_parent._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent._x > 506 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent._y < 300 and _root.pause == false) {
_parent._y += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent._y > 310 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent.box2.hitTest(_root.bg1.platform) and _root.pause == false) {
_root.landed = true;
_root.hero2.gotoAndStop(13);
_parent.gotoAndStop(13);
}
}
}
frame 13 {
stop();
_root.ufo3._x = -100;
_root.ufo3._y = 100;
_root.ufo3.gotoAndStop(8);
}
frame 14 {
stop();
}
frame 15 {
stop();
}
}
instance hero of movieClip 605 {
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(2);
this.body.frontarm.gotoAndStop(2);
this.body.backarm.gotoAndStop(2);
this.body.torso.gotoAndStop(2);
this.body.legs.gotoAndStop(2);
}
}
movieClip 606 {
frame 1 {
stop();
}
instance body of movieClip 404 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
_parent.gotoAndStop(2);
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
onClipEvent (enterFrame) {
if (_root.takeumbrella == true and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 404 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
_parent.gotoAndStop(1);
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
onClipEvent (enterFrame) {
if (_root.takeumbrella == true and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
_root.fallinghero2right = true;
}
instance body of movieClip 595 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
_parent.gotoAndStop(6);
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 6 {
stop();
_root.fallinghero2right = false;
}
instance body of movieClip 595 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
_parent.gotoAndStop(5);
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 7 {
stop();
}
instance body of movieClip 596 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 8 {
stop();
}
instance body of movieClip 597 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 9 {
stop();
}
instance body of movieClip 598 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 10 {
stop();
}
instance body of movieClip 599 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 705 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 15 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _parent._y > 50 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _parent._y < 400 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 11 {
stop();
}
instance body of movieClip 404 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 18;
}
}
}
instance of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._y += 8;
}
}
}
frame 12 {
stop();
}
instance body of movieClip 595 {
onClipEvent (enterFrame) {
if (_parent._x < 226 and _root.pause == false) {
_parent._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent._x > 240 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent._y < 296 and _root.pause == false) {
_parent._y += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_parent._y > 310 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
}
}
frame 13 {
stop();
}
frame 14 {
stop();
}
}
instance ufo3 of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
onClipEvent (enterFrame) {
this.shipp.ship.body.head.gotoAndStop(3);
this.shipp.ship.body.frontarm.gotoAndStop(3);
this.shipp.ship.body.backarm.gotoAndStop(3);
this.shipp.ship.body.torso.gotoAndStop(3);
this.shipp.ship.body.legs.gotoAndStop(3);
}
onClipEvent (enterFrame) {
this.shipp.ship.body2.head.gotoAndStop(2);
this.shipp.ship.body2.frontarm.gotoAndStop(2);
this.shipp.ship.body2.backarm.gotoAndStop(2);
this.shipp.ship.body2.torso.gotoAndStop(2);
this.shipp.ship.body2.legs.gotoAndStop(2);
}
}
movieClip 608 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.ufo._x = 830;
_root.ufo._y = 0;
_root.ufo.gotoAndStop(2);
}
frame 3 {
stop();
_root.ufo3._x = 830;
_root.ufo3._y = 300;
_root.ufo3.gotoAndStop(2);
}
frame 4 {
stop();
_root.ufo._x = 830;
_root.ufo._y = 50;
_root.ufo.gotoAndStop(2);
}
frame 5 {
stop();
_root.ufo._x = 830;
_root.ufo._y = 50;
_root.ufo.gotoAndStop(2);
}
frame 6 {
stop();
_root.ufo3._x = 830;
_root.ufo3._y = 300;
_root.ufo3.gotoAndStop(2);
}
frame 7 {
stop();
_root.ufo._x = 830;
_root.ufo._y = 200;
_root.ufo.gotoAndStop(2);
}
frame 8 {
stop();
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.hero.gotoAndStop(12);
_root.hero2.gotoAndStop(12);
}
frame 9 {
stop();
}
}
instance fg1 of movieClip 608 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.umbrella == true and _root.landed == false) {
this._y -= 4;
} else {
if (_root.pause == false and _root.umbrella == false) {
this._y -= 16;
}
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and this._y <= -202.5 and _root.umbrella == true) {
this._y = 607.5;
this.nextFrame();
} else {
if (_root.pause == false and this._y <= -202.5 and _root.umbrella == false) {
this._y = 607.5;
}
}
}
}
movieClip 609 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.ufo2._x = -100;
_root.ufo2._y = 0;
_root.ufo2.gotoAndStop(5);
}
frame 3 {
stop();
_root.ufo4._x = -100;
_root.ufo4._y = 50;
_root.ufo4.gotoAndStop(5);
}
frame 4 {
stop();
_root.ufo2._x = -100;
_root.ufo2._y = 400;
_root.ufo2.gotoAndStop(5);
}
frame 5 {
stop();
_root.ufo2._x = -100;
_root.ufo2._y = 100;
_root.ufo2.gotoAndStop(5);
}
frame 6 {
stop();
_root.ufo4._x = -100;
_root.ufo4._y = 50;
_root.ufo4.gotoAndStop(5);
}
frame 7 {
stop();
_root.ufo2._x = -100;
_root.ufo2._y = 100;
_root.ufo2.gotoAndStop(5);
}
frame 8 {
stop();
}
frame 9 {
stop();
}
}
instance fg2 of movieClip 609 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.umbrella == true and _root.landed == false) {
this._y -= 4;
} else {
if (_root.pause == false and _root.umbrella == false) {
this._y -= 16;
}
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and this._y <= -202.5 and _root.umbrella == true) {
this._y = 607.5;
this.nextFrame();
} else {
if (_root.pause == false and this._y <= -202.5 and _root.umbrella == false) {
this._y = 607.5;
}
}
}
}
frame 7 {
stop();
_root.mainpauseallowed = true;
_root.level = 3;
_root.level3unlocked = true;
_root.powerupstaken = 0;
_root.healthstaken = 0;
_root.ufosgone = 0;
_root.aliensgone = 0;
_root.alien.gotoAndStop(12);
_root.alien2.gotoAndStop(12);
_root.mainframe.txt.gotoAndPlay(418);
_root.gravity = 3;
_root.velocity = 0;
_root.falling = true;
_root.leftallowed = true;
_root.rightallowed = true;
_root.leftallowedd = true;
_root.rightallowedd = true;
_root.upallowed = true;
_root.upallowed2 = true;
_root.upallowed3 = true;
_root.downallowed = true;
_root.sinking = false;
_root.reset = false;
_root.standallowed = true;
_root.invincibletemp = false;
_root.gun = false;
_root.aliengravity = 3;
_root.alienvelocity = 0;
_root.alienfalling = true;
_root.alienleftallowed = true;
_root.alienrightallowed = true;
_root.alien2gravity = 3;
_root.alien2velocity = 0;
_root.alien2falling = true;
_root.alien2leftallowed = true;
_root.alien2rightallowed = true;
_root.bg1.gotoAndStop(2);
_root.bg2.gotoAndStop(2);
_root.fg1.gotoAndStop(2);
_root.fg2.gotoAndStop(2);
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level3unlocked = _root.level3unlocked;
}
movieClip 612 {
}
movieClip 616 {
frame 1 {
stop();
var vollbild = 'an';
var startx = 110;
var starty = 95;
var startbreite = 100;
var starthoehe = 400;
var anzahlflares = 100;
var flarefarbe = '0xFFFF00';
gotoAndStop(2);
}
frame 2 {
stop();
if (vollbild == 'aus') {
ff_x = startx;
ff_y = starty;
ff_width = startbreite;
ff_height = starthoehe;
}
if (vollbild == 'an') {
ff_x = Stage.width / 2;
ff_y = Stage.height / 2;
ff_width = Stage.width;
ff_height = Stage.height;
}
fireflays = function (maxF) {
this.createEmptyMovieClip('fireflay_mc', this.getNextHighestDepth());
fireflay_mc._x = ff_x;
fireflay_mc._y = ff_y;
fireflay_mc.attachMovie('fireflay', 'f', fireflay_mc.getNextHighestDepth());
no_f = 1;
duplicateFirefly = function () {
fireflay_mc.f.duplicateMovieClip(['f' + no_f], no_f);
fireflay_mc.f._visible = false;
myColorflare = new Color(fireflay_mc['f' + no_f]);
myColorflare.setRGB(flarefarbe);
fireflay_mc['f' + no_f]._x = Math.random() * ff_width - ff_width / 2;
fireflay_mc['f' + no_f]._y = Math.random() * ff_height - ff_height / 2;
fireflay_mc['f' + no_f]._alpha = Math.random() * 100;
fireflay_mc['f' + no_f]._rotation = Math.random() * 360;
++no_f;
if (no_f > maxF) {
clearInterval(fireflayID);
}
};
fireflayID = setInterval(duplicateFirefly, 100);
};
fireflays(anzahlflares);
}
}
movieClip 628 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 644 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 648 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 652 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 656 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 660 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 664 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 668 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 671 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 672 {
}
movieClip 676 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 680 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 684 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 685 {
frame 1 {
_root.floatallowed = false;
}
frame 2 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity -= 30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity -= 20;
_root.falling = true;
}
}
}
}
frame 5 {
_root.sinking = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 15 {
stop();
_parent.gotoAndStop(15);
}
}
movieClip 686 {
frame 1 {
_root.floatallowed = false;
}
frame 2 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity -= 30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity -= 20;
_root.falling = true;
}
}
}
}
frame 5 {
_root.sinking = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 15 {
stop();
_parent.gotoAndStop(16);
}
}
movieClip 690 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 691 {
frame 3 {
_parent.gotoAndStop(9);
}
}
movieClip 692 {
frame 3 {
_parent.gotoAndStop(10);
}
}
movieClip 693 {
frame 1 {
stop();
}
}
movieClip 694 {
frame 4 {
_parent.gotoAndStop(1);
}
}
movieClip 695 {
frame 4 {
_parent.gotoAndStop(2);
}
}
movieClip 698 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 701 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 704 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 707 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 710 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 711 {
}
movieClip 712 {
frame 1 {
_root.jumping = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 2 {
stop();
}
}
movieClip 713 {
frame 1 {
_root.jumping = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 718 {
frame 8 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 719 {
frame 8 {
stop();
_parent.gotoAndStop(2);
}
}
movieClip 722 {
frame 9 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 723 {
frame 9 {
stop();
_parent.gotoAndStop(2);
}
}
movieClip 728 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity -= 22;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity -= 14;
_root.falling = true;
}
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 10 {
stop();
}
}
movieClip 729 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity -= 22;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity -= 14;
_root.falling = true;
}
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 10 {
stop();
}
}
movieClip 733 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity += 30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity += 20;
_root.falling = true;
}
}
}
}
frame 6 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 734 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity += 30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity += 20;
_root.falling = true;
}
}
}
}
frame 6 {
stop();
_parent.gotoAndStop(2);
}
}
movieClip 735 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity -= 10;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity -= 10;
_root.falling = true;
}
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 10 {
stop();
}
}
movieClip 736 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity -= 10;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity -= 10;
_root.falling = true;
}
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 10 {
stop();
}
}
movieClip 737 {
frame 1 {
_root.jumping = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(1);
}
}
}
frame 2 {
_root.gravity = 0.2;
_root.velocity = 0;
}
frame 5 {
stop();
}
}
movieClip 738 {
frame 1 {
_root.jumping = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(2);
}
}
}
frame 2 {
_root.gravity = 0.2;
_root.velocity = 0;
}
frame 5 {
stop();
}
}
movieClip 743 {
frame 9 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 744 {
frame 9 {
stop();
_parent.gotoAndStop(2);
}
}
movieClip 749 {
frame 1 {
_root.shooting = true;
}
frame 11 {
stop();
_root.shooting = false;
_parent.gotoAndStop(1);
}
}
movieClip 753 {
frame 1 {
_root.shooting = true;
}
frame 11 {
stop();
_root.shooting = false;
_parent.gotoAndStop(2);
}
}
movieClip 757 {
frame 1 {
_root.shooting = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(1);
}
}
}
frame 11 {
stop();
_root.shooting = false;
_parent.gotoAndStop(39);
}
}
movieClip 761 {
frame 1 {
_root.shooting = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(2);
}
}
}
frame 11 {
stop();
_root.shooting = false;
_parent.gotoAndStop(40);
}
}
movieClip 762 {
frame 1 {
stop();
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(39) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(platform) and Key.isDown(39) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and Key.isDown(39) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(3);
}
if (this.hitTest(bplatform) and Key.isDown(39) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(1);
}
}
}
}
movieClip 763 {
frame 1 {
stop();
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and Key.isDown(37) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(platform) and Key.isDown(37) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(bplatform) and Key.isDown(37) and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(4);
}
if (this.hitTest(bplatform) and Key.isDown(37) == false and _root.pause == false) {
_root.gravity = 3;
_parent._parent.gotoAndStop(2);
}
}
}
}
movieClip 764 {
frame 1 {
_root.gravity = 3;
}
frame 4 {
_root.gun = true;
_root.fg1.ship.gotoAndStop(2);
}
frame 26 {
stop();
_root.fg1.guntext.gotoAndStop(2);
_parent.gotoAndStop(1);
}
}
movieClip 768 {
frame 1 {
_root.shooting = true;
}
frame 11 {
stop();
_root.shooting = false;
_parent.gotoAndStop(9);
}
}
movieClip 771 {
frame 1 {
_root.shooting = true;
}
frame 11 {
stop();
_root.shooting = false;
_parent.gotoAndStop(10);
}
}
movieClip 772 {
frame 15 {
_root.mainframe.fade.play();
}
frame 90 {
stop();
}
}
movieClip 789 {
frame 1 {
stop();
(new Color(_root.hero)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
_root.invincible = false;
_root.doubledamage = false;
_root.doublespeed = false;
_root.fireshield = false;
_root.hero.body.ship.fireshield.gotoAndStop(1);
_root.hero.fireshield.gotoAndStop(1);
_root.hero2.fireshield.gotoAndStop(1);
_root.herodamage = 1;
_root.herospeed = 10;
_root.mainframe.heroflicker.gotoAndStop(1);
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.hero._alpha = 100;
_root.mainframe.powerupclip.gotoAndStop(1);
play();
}
frame 25 {
stop();
_root.mainframe.fade.play();
}
}
movieClip 790 {
frame 1 {
stop();
}
instance body of movieClip 604 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(4);
} else {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (Key.isDown(40) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
}
instance hitbox of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg1.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg1.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg1.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 604 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(4);
} else {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (Key.isDown(40) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
}
frame 3 {
stop();
}
instance body of movieClip 672 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(68) == false and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (Key.isDown(40) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
onClipEvent (enterFrame) {
if (_parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (_parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (_parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 672 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(4);
} else {
if (Key.isDown(65) == false and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (Key.isDown(40) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
onClipEvent (enterFrame) {
if (_parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (_parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (_parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
}
frame 5 {
stop();
}
instance body of movieClip 685 {
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.floatallowed == true and _root.pause == false) {
_root.floatallowed = false;
_root.hero.gotoAndStop(29);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false) {
_root.floatallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 6 {
stop();
}
instance body of movieClip 686 {
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.floatallowed == true and _root.pause == false) {
_root.floatallowed = false;
_root.hero.gotoAndStop(30);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false) {
_root.floatallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(26);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(36);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 7 {
stop();
}
instance body of movieClip 691 {
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
}
frame 8 {
stop();
}
instance body of movieClip 692 {
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
}
frame 9 {
stop();
}
instance body of movieClip 693 {
onClipEvent (enterFrame) {
if (Key.isDown(40) == false and _root.pause == false and _root.standallowed == true) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.standallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
}
frame 10 {
stop();
}
instance body of movieClip 693 {
onClipEvent (enterFrame) {
if (Key.isDown(40) == false and _root.pause == false and _root.standallowed == true) {
_parent.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.standallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
}
frame 11 {
stop();
}
instance body of movieClip 694 {
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
}
frame 12 {
stop();
}
instance body of movieClip 695 {
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
}
frame 13 {
stop();
}
instance body of movieClip 711 {
onClipEvent (enterFrame) {
if (Key.isDown(40) == false and _root.pause == false and _root.standallowed == true) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(13);
} else {
if (Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.standallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (_parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed / 2;
_root.bg1._x -= _root.herospeed / 4;
_root.bg2._x -= _root.herospeed / 4;
_root.fg1._x -= _root.herospeed / 6;
_root.fg2._x -= _root.herospeed / 6;
_root.hero2._x -= _root.herospeed / 6;
_root.ufo._x -= _root.herospeed / 6;
_root.ufo2._x -= _root.herospeed / 6;
_root.alien._x -= _root.herospeed / 6;
_root.alien2._x -= _root.herospeed / 6;
} else {
if (_parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
} else {
if (_parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed * 0.75;
_root.fg2._x -= _root.herospeed * 0.75;
_root.hero2._x -= _root.herospeed * 0.75;
_root.ufo._x -= _root.herospeed * 0.75;
_root.ufo2._x -= _root.herospeed * 0.75;
_root.alien._x -= _root.herospeed * 0.75;
_root.alien2._x -= _root.herospeed * 0.75;
}
}
}
}
}
frame 14 {
stop();
}
instance body of movieClip 711 {
onClipEvent (enterFrame) {
if (Key.isDown(40) == false and _root.pause == false and _root.standallowed == true) {
_parent.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(14);
} else {
if (Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.standallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (_parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed / 2;
_root.bg1._x += _root.herospeed / 4;
_root.bg2._x += _root.herospeed / 4;
_root.fg1._x += _root.herospeed / 6;
_root.fg2._x += _root.herospeed / 6;
_root.hero2._x += _root.herospeed / 6;
_root.ufo._x += _root.herospeed / 6;
_root.ufo2._x += _root.herospeed / 6;
_root.alien._x += _root.herospeed / 6;
_root.alien2._x += _root.herospeed / 6;
} else {
if (_parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
} else {
if (_parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed * 0.75;
_root.fg2._x += _root.herospeed * 0.75;
_root.hero2._x += _root.herospeed * 0.75;
_root.ufo._x += _root.herospeed * 0.75;
_root.ufo2._x += _root.herospeed * 0.75;
_root.alien._x += _root.herospeed * 0.75;
_root.alien2._x += _root.herospeed * 0.75;
}
}
}
}
}
frame 15 {
stop();
}
instance body of movieClip 712 {
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.floatallowed == true and _root.pause == false) {
_root.floatallowed = false;
_root.hero.gotoAndStop(29);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false) {
_root.floatallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(23);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.lefttallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 16 {
stop();
}
instance body of movieClip 713 {
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.floatallowed == true and _root.pause == false) {
_root.floatallowed = false;
_root.hero.gotoAndStop(30);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false) {
_root.floatallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(24);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(36);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 17 {
stop();
}
instance body of movieClip 718 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
}
frame 18 {
stop();
}
instance body of movieClip 719 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
}
frame 19 {
stop();
}
instance body of movieClip 722 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(21);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and Key.isDown(37) == false and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
}
frame 20 {
stop();
}
instance body of movieClip 723 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and Key.isDown(39) == false and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
}
frame 21 {
stop();
}
instance body of movieClip 728 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(23);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 22 {
stop();
}
instance body of movieClip 729 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(24);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(36);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 23 {
stop();
}
instance body of movieClip 733 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(31);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.lefttallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 24 {
stop();
}
instance body of movieClip 734 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(32);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 25 {
stop();
}
instance body of movieClip 735 {
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.floatallowed == true and _root.pause == false) {
_root.floatallowed = false;
_root.hero.gotoAndStop(29);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false) {
_root.floatallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(23);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 26 {
stop();
}
instance body of movieClip 736 {
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.floatallowed == true and _root.pause == false) {
_root.floatallowed = false;
_root.hero.gotoAndStop(30);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == false) {
_root.floatallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(24);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(36);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 27 {
stop();
}
frame 28 {
stop();
}
instance body of movieClip 604 {
onClipEvent (enterFrame) {
_root.hero2.body.backarm._alpha = 0;
}
}
frame 29 {
stop();
}
instance body of movieClip 737 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.dropallowed == true and _root.pause == false) {
_root.dropallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.dropallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(37);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 30 {
stop();
}
instance body of movieClip 738 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.dropallowed == true and _root.pause == false) {
_root.dropallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(26);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.dropallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(26);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(38);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 31 {
stop();
}
instance body of movieClip 743 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 32 {
stop();
}
instance body of movieClip 744 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
instance body of movieClip 749 {
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 36 {
stop();
}
instance body of movieClip 753 {
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 37 {
stop();
}
instance body of movieClip 757 {
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 38 {
stop();
}
instance body of movieClip 761 {
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 39 {
stop();
}
instance body of movieClip 762 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.dropallowed == true and _root.pause == false) {
_root.dropallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.dropallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(37);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 285 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 3;
_root.fg2._x -= _root.herospeed / 3;
_root.hero2._x -= _root.herospeed / 3;
_root.ufo._x -= _root.herospeed / 3;
_root.ufo2._x -= _root.herospeed / 3;
_root.alien._x -= _root.herospeed / 3;
_root.alien2._x -= _root.herospeed / 3;
} else {
if (Key.isDown(39) and _parent._x > 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 3;
_root.fg2._x -= _root.herospeed * 3;
_root.hero2._x -= _root.herospeed * 3;
_root.ufo._x -= _root.herospeed * 3;
_root.ufo2._x -= _root.herospeed * 3;
_root.alien._x -= _root.herospeed * 3;
_root.alien2._x -= _root.herospeed * 3;
} else {
if (Key.isDown(39) and _parent._x >= 285 and _parent._x <= 295 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 40 {
stop();
}
instance body of movieClip 763 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.dropallowed == true and _root.pause == false) {
_root.dropallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(26);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.dropallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.punchallowed == true and _root.pause == false) {
_root.punchallowed = false;
_root.gravity = 3;
_root.hero.gotoAndStop(26);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.punchallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.shootallowed == true and _root.gun == true and _root.pause == false) {
_root.shootallowed = false;
_root.hero.gotoAndStop(38);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) == false) {
_root.shootallowed = true;
}
}
onClipEvent (enterFrame) {
_root._y -= 1;
_root.mainframe._y += 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 3;
_root.fg2._x += _root.herospeed / 3;
_root.hero2._x += _root.herospeed / 3;
_root.ufo._x += _root.herospeed / 3;
_root.ufo2._x += _root.herospeed / 3;
_root.alien._x += _root.herospeed / 3;
_root.alien2._x += _root.herospeed / 3;
} else {
if (Key.isDown(37) and _parent._x < 405 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 3;
_root.fg2._x += _root.herospeed * 3;
_root.hero2._x += _root.herospeed * 3;
_root.ufo._x += _root.herospeed * 3;
_root.ufo2._x += _root.herospeed * 3;
_root.alien._x += _root.herospeed * 3;
_root.alien2._x += _root.herospeed * 3;
} else {
if (Key.isDown(37) and _parent._x >= 405 and _parent._x <= 415 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
}
instance hero of movieClip 790 {
onClipEvent (enterFrame) {
if (_root.gun == true) {
_root.hero.body.frontarm.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.screenmove == true and _root.pause == false) {
_root._y -= _root.velocity / 2;
_root.mainframe._y += _root.velocity / 2;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.pause == false) {
_root.velocity += _root.gravity;
_root.hero._y += _root.velocity;
_root.screenmove = true;
}
i = 0;
while (i < 99) {
if (_root.hero.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (_root.hero.body.hitbox.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero.body.hitbox.hitTest(platform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = platform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
if (_root.hero.body.hitbox.hitTest(bplatform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = bplatform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
_root.falling = true;
}
}
}
}
instance ufo of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
movieClip 791 {
}
movieClip 793 {
}
movieClip 794 {
frame 4 {
_parent.gotoAndStop(1);
}
}
movieClip 804 {
frame 15 {
stop();
}
}
movieClip 805 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 806 {
frame 6 {
_root.alienjumping = true;
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienleftallowed == true) {
_parent._parent._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alienvelocity -= 30;
_root.alienfalling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alienplatform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alienplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alienplatform) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(alienplatform2) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 30 {
stop();
}
}
movieClip 807 {
frame 6 {
_root.alienjumping = true;
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienleftallowed == true) {
_parent._parent._x += _root.herospeed * 3;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alienvelocity -= 30;
_root.alienfalling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alienplatform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alienplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alienplatform) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(alienplatform2) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 30 {
stop();
}
}
movieClip 809 {
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 810 {
frame 5 {
_parent.gotoAndStop(2);
}
}
movieClip 812 {
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 813 {
frame 5 {
_parent.gotoAndStop(2);
}
}
movieClip 814 {
frame 1 {
_root.alienjumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alienvelocity -= 20;
_root.alienfalling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alienplatform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alienplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alienplatform) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(alienplatform2) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 13 {
stop();
}
}
movieClip 815 {
frame 1 {
_root.alienjumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alienvelocity -= 20;
_root.alienfalling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alienplatform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alienplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alienplatform) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(alienplatform2) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 13 {
stop();
}
}
movieClip 827 {
frame 25 {
stop();
_parent.gotoAndStop(12);
}
}
movieClip 828 {
frame 1 {
stop();
}
instance body of movieClip 791 {
onClipEvent (enterFrame) {
if (_root.alien._x < _root.hero._x and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienleftallowed == true) {
_parent._x -= 5;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
instance trigger of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body) and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
instance shield of movieClip 805 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth < 4) {
this.gotoAndStop(3);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 791 {
onClipEvent (enterFrame) {
if (_root.alienxdistance < -150 and _root.pause == false) {
_parent._x += _root.herospeed * 1.5;
}
}
onClipEvent (enterFrame) {
if (_root.alien._x > _root.hero._x and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienrightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
instance trigger of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 806 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
frame 4 {
stop();
}
instance body of movieClip 807 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
frame 5 {
stop();
_root.alienhealth -= _root.herodamage;
if (_root.alienhealth > 3) {
this.shield.gotoAndStop(2);
}
if (_root.shooting == true) {
_root.alienhealth -= _root.herodamage * 2;
}
}
instance body of movieClip 809 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienrightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
}
}
frame 6 {
stop();
_root.alienhealth -= _root.herodamage;
if (_root.alienhealth > 3) {
this.shield.gotoAndStop(2);
}
if (_root.shooting == true) {
_root.alienhealth -= _root.herodamage * 2;
}
}
instance body of movieClip 810 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienleftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
}
}
frame 7 {
stop();
_root.alienhealth -= _root.herodamage;
if (_root.alienhealth > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 812 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienrightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
frame 8 {
stop();
_root.alienhealth -= _root.herodamage;
if (_root.alienhealth > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 813 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienleftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
frame 9 {
stop();
_root.alienhealth -= _root.herodamage;
if (_root.alienhealth > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 814 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienrightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
frame 10 {
stop();
_root.alienhealth -= _root.herodamage;
if (_root.alienhealth > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 815 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienhealth <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alienleftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
frame 11 {
stop();
}
instance of movieClip 827 {
onClipEvent (enterFrame) {
_root.alienfalling = false;
}
}
frame 12 {
stop();
_root.alienhealth = 6;
_root.aliendead = true;
_root.aliengravity = 3;
_root.alienvelocity = 0;
}
instance of movieClip 791 {
onClipEvent (enterFrame) {
_root.alienfalling = false;
}
}
}
instance alien of movieClip 828 {
onClipEvent (enterFrame) {
_root.alienxdistance = _root.alien._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.alienfalling == true and _root.pause == false) {
_root.alienvelocity += _root.aliengravity;
_root.alien._y += _root.alienvelocity;
}
i = 0;
while (i < 99) {
if (_root.alien.body.hitbox.hitTest('_root.fg1.platform' + i)) {
alienplatform = eval('_root.fg1.platform' + i);
}
if (_root.alien.body.hitbox.hitTest('_root.fg2.platform' + i)) {
alienplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.alien.body.hitbox.hitTest(alienplatform) and _root.pause == false) {
if (_root.alienfalling == true) {
_root.alien._y = alienplatform._y;
_root.alienvelocity = 0;
_root.alienfalling = false;
}
} else {
if (_root.alien.body.hitbox.hitTest(alienplatform2) and _root.pause == false) {
if (_root.alienfalling == true) {
_root.alien._y = alienplatform2._y;
_root.alienvelocity = 0;
_root.alienfalling = false;
}
} else {
_root.alienfalling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.alien._x < -50) {
_root.alienfalling = false;
}
}
onClipEvent (enterFrame) {
if (_root.alien._x > 770) {
_root.alienfalling = false;
}
}
}
movieClip 838 {
instance of movieClip 454 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(2);
}
if (this.hitTest(_root.hero.body.ship.box2) and _root.pause == false) {
_root.hero.body.ship.gotoAndStop(2);
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true) {
_root.hero.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false) {
_root.hero.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true) {
_root.hero2.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false) {
_root.hero2.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
frame 36 {
_parent.gotoAndStop(1);
}
}
movieClip 839 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 840 {
frame 6 {
_root.alien2jumping = true;
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2leftallowed == true) {
_parent._parent._x -= 10;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alien2velocity -= 30;
_root.alien2falling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alien2platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alien2platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alien2platform) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(alien2platform2) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 30 {
stop();
}
}
movieClip 841 {
frame 6 {
_root.alien2jumping = true;
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2leftallowed == true) {
_parent._parent._x += _root.herospeed * 3;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alien2velocity -= 30;
_root.alien2falling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alien2platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alien2platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alien2platform) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(alien2platform2) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 30 {
stop();
}
}
movieClip 842 {
frame 1 {
_root.alien2jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alien2velocity -= 20;
_root.alien2falling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alien2platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alien2platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alien2platform) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(alien2platform2) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 13 {
stop();
}
}
movieClip 843 {
frame 1 {
_root.alien2jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.alien2velocity -= 20;
_root.alien2falling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
alien2platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
alien2platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(alien2platform) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(alien2platform2) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 13 {
stop();
}
}
movieClip 845 {
}
movieClip 849 {
frame 38 {
if (_parent._x < 800) {
_parent.mainbulletleft.gotoAndStop(2);
}
}
}
movieClip 852 {
frame 38 {
if (_parent._x > -50) {
_parent.mainbulletright.gotoAndStop(2);
}
}
}
movieClip 853 {
frame 5 {
_parent.gotoAndStop(13);
}
}
movieClip 854 {
frame 5 {
_parent.gotoAndStop(14);
}
}
movieClip 855 {
frame 1 {
stop();
}
instance body of movieClip 791 {
onClipEvent (enterFrame) {
if (_root.alien2._x < _root.hero._x and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2leftallowed == true) {
_parent._x -= 5;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
instance trigger of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body) and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
instance shield of movieClip 805 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health < 4) {
this.gotoAndStop(3);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 791 {
onClipEvent (enterFrame) {
if (_root.alien2xdistance < -150 and _root.pause == false) {
_parent._x += _root.herospeed * 1.5;
}
}
onClipEvent (enterFrame) {
if (_root.alien2._x > _root.hero._x and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2rightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
instance trigger of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 840 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
frame 4 {
stop();
}
instance body of movieClip 841 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo.cannonball.ball.ball) and _root.pause == false) {
_root.ufo.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
frame 5 {
stop();
_root.alien2health -= _root.herodamage;
if (_root.alien2health > 3) {
this.shield.gotoAndStop(2);
}
if (_root.shooting == true) {
_root.alien2health -= _root.herodamage * 2;
}
}
instance body of movieClip 809 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2rightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
}
}
frame 6 {
stop();
_root.alien2health -= _root.herodamage;
if (_root.alien2health > 3) {
this.shield.gotoAndStop(2);
}
if (_root.shooting == true) {
_root.alien2health -= _root.herodamage * 2;
}
}
instance body of movieClip 810 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2leftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
}
}
frame 7 {
stop();
_root.alien2health -= _root.herodamage;
if (_root.alien2health > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 812 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2rightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
frame 8 {
stop();
_root.alien2health -= _root.herodamage;
if (_root.alien2health > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 813 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2leftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
frame 9 {
stop();
_root.alien2health -= _root.herodamage;
if (_root.alien2health > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 842 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2rightallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(7);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(9);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
frame 10 {
stop();
_root.alien2health -= _root.herodamage;
if (_root.alien2health > 3) {
this.shield.gotoAndStop(2);
}
}
instance body of movieClip 843 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2leftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(6);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(8);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(10);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
frame 11 {
stop();
}
instance of movieClip 827 {
onClipEvent (enterFrame) {
_root.alien2falling = false;
}
}
frame 12 {
stop();
_root.alien2health = 6;
_root.alien2dead = true;
_root.alien2gravity = 3;
_root.alien2velocity = 0;
}
instance of movieClip 791 {
onClipEvent (enterFrame) {
_root.alien2falling = false;
}
}
frame 13 {
stop();
}
instance body of movieClip 849 {
onClipEvent (enterFrame) {
if (_root.alien2._x < _root.hero._x and _root.pause == false) {
_parent.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(15);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(15);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(15);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.torso.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(15);
}
if (this.legs.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(15);
}
}
}
frame 14 {
stop();
}
instance body of movieClip 852 {
onClipEvent (enterFrame) {
if (_root.alien2._x > _root.hero._x and _root.pause == false) {
_parent.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.gotoAndStop(16);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.gotoAndStop(16);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.gotoAndStop(16);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(11);
}
if (this.torso.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(16);
}
if (this.legs.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.gotoAndStop(16);
}
}
}
frame 15 {
stop();
_root.alien2health -= _root.herodamage * 2;
if (_root.shooting == true) {
_root.alien2health -= _root.herodamage * 4;
}
}
instance body of movieClip 853 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
}
frame 16 {
stop();
_root.alien2health -= _root.herodamage * 2;
if (_root.shooting == true) {
_root.alien2health -= _root.herodamage * 4;
}
}
instance body of movieClip 854 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.alien2health <= 0) {
_parent.gotoAndStop(11);
}
}
}
}
instance alien2 of movieClip 855 {
onClipEvent (enterFrame) {
_root.alien2xdistance = _root.alien2._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.alien2falling == true and _root.pause == false) {
_root.alien2velocity += _root.alien2gravity;
_root.alien2._y += _root.alien2velocity;
}
i = 0;
while (i < 99) {
if (_root.alien2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
alien2platform = eval('_root.fg1.platform' + i);
}
if (_root.alien2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
alien2platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.alien2.body.hitbox.hitTest(alien2platform) and _root.pause == false) {
if (_root.alien2falling == true) {
_root.alien2._y = alien2platform._y;
_root.alien2velocity = 0;
_root.alien2falling = false;
}
} else {
if (_root.alien2.body.hitbox.hitTest(alien2platform2) and _root.pause == false) {
if (_root.alien2falling == true) {
_root.alien2._y = alien2platform2._y;
_root.alien2velocity = 0;
_root.alien2falling = false;
}
} else {
_root.alien2falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.alien2._x < -50) {
_root.alien2falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.alien2._x > 770) {
_root.alien2falling = false;
}
}
}
movieClip 856 {
}
movieClip 858 {
}
movieClip 868 {
}
movieClip 870 {
}
movieClip 876 {
}
movieClip 878 {
instance flame1 of movieClip 876 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
}
movieClip 879 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
instance godofwar of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
frame 2 {
stop();
if (_root.healthstaken > 0) {
_root.fg2.heart1.gotoAndStop(3);
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
if (_root.healthstaken > 2) {
_root.fg2.heart1.gotoAndStop(3);
}
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
}
movieClip 899 {
}
movieClip 901 {
instance flame2 of movieClip 876 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance flame1 of movieClip 899 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance flame3 of movieClip 899 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance flame4 of movieClip 876 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
instance flame5 of movieClip 899 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
}
movieClip 903 {
}
movieClip 905 {
}
movieClip 907 {
}
movieClip 909 {
}
movieClip 912 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 914 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 916 {
}
movieClip 919 {
frame 65 {
stop();
_root.level = 4;
_root.mainframe.fade.play();
}
}
movieClip 920 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 921 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x > _root.hero2._x) {
_root.hero2.gotoAndStop(5);
}
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x < _root.hero2._x) {
_root.hero2.gotoAndStop(6);
}
}
}
frame 4 {
stop();
if (_root.powerupstaken > 0) {
_root.fg1.powerup1.gotoAndStop(3);
}
if (_root.ufosgone < 1) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 100;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 2) {
_root.ufo2._x = 1100;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 150;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
}
frame 5 {
stop();
if (_root.aliensgone < 1) {
_root.alien.gotoAndStop(1);
_root.alien._x = 830;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.healthstaken > 1) {
_root.fg1.heart1.gotoAndStop(3);
}
}
frame 6 {
stop();
if (_root.ufosgone < 3) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 100;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 2) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1100;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 3) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1700;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 7 {
stop();
if (_root.powerupstaken > 1) {
_root.fg1.powerup1.gotoAndStop(3);
}
}
frame 8 {
stop();
if (_root.ufosgone < 4) {
_root.ufo._x = 1800;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 100;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 4) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1100;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 5) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1700;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 9 {
stop();
if (_root.gun == true) {
_root.fg1.ship.gotoAndStop(2);
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x > _root.hero2._x) {
_root.hero2.gotoAndStop(5);
}
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x < _root.hero2._x) {
_root.hero2.gotoAndStop(6);
}
}
}
instance pickuptrigger of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.legs) and _root.gun == false and _root.pause == false) {
_root.hero.gotoAndStop(41);
}
}
}
frame 10 {
stop();
if (_root.powerupstaken > 2) {
_root.fg1.powerup1.gotoAndStop(3);
}
if (_root.aliensgone < 6) {
_root.alien.gotoAndStop(1);
_root.alien._x = 830;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 7) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1200;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
if (_root.ufosgone < 5) {
_root.ufo._x = 1100;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 100;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 6) {
_root.ufo2._x = 1400;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 150;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
}
frame 11 {
stop();
if (_root.powerupstaken > 3) {
_root.fg1.powerup2.gotoAndStop(3);
}
if (_root.ufosgone < 8) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 0;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 9) {
_root.ufo2._x = 1100;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 50;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
}
frame 12 {
stop();
if (_root.aliensgone < 8) {
_root.alien.gotoAndStop(1);
_root.alien._x = 830;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
}
instance mothership of movieClip 920 {
onClipEvent (enterFrame) {
if (_root.gun == true) {
this.ship.body.frontarm.gotoAndStop(4);
}
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.legs) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.mainframe.powerupclip.gotoAndStop(1);
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
_root.hero.gotoAndStop(27);
_root.hero2.gotoAndStop(27);
_root.fg1.mothership.gotoAndStop(2);
}
}
}
frame 13 {
stop();
}
}
frame 8 {
stop();
_root.mainpauseallowed = true;
_root.level = 0;
_root.powerupstaken = 0;
_root.healthstaken = 0;
_root.mainframe.txt.gotoAndStop(1);
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(2);
_root.hero._x = 162;
_root.hero2._x = 315;
_root.gravity = 3;
_root.velocity = 0;
_root.falling = true;
_root.leftallowed = true;
_root.rightallowed = true;
_root.leftallowedd = true;
_root.rightallowedd = true;
_root.upallowed = true;
_root.upallowed2 = true;
_root.upallowed3 = true;
_root.downallowed = true;
_root.sinking = false;
_root.reset = false;
_root.standallowed = true;
_root.invincibletemp = false;
_root.gun == false;
_root.gravity2 = 3;
_root.velocity2 = 0;
_root.falling2 = true;
_root.leftallowed2 = true;
_root.rightallowed2 = true;
_root.bg1.gotoAndStop(2);
_root.bg2.gotoAndStop(2);
_root.fg1.gotoAndStop(2);
_root.fg2.gotoAndStop(2);
}
movieClip 924 {
}
movieClip 926 {
}
movieClip 928 {
}
movieClip 930 {
}
movieClip 932 {
}
movieClip 935 {
}
movieClip 936 {
}
movieClip 938 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 940 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
instance hero of movieClip 790 {
onClipEvent (enterFrame) {
if (_root.screenmove == true and _root.pause == false) {
_root._y -= _root.velocity / 2;
_root.mainframe._y += _root.velocity / 2;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.pause == false) {
_root.velocity += _root.gravity;
_root.hero._y += _root.velocity;
_root.screenmove = true;
}
i = 0;
while (i < 99) {
if (_root.hero.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (_root.hero.body.hitbox.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero.body.hitbox.hitTest(platform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = platform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
if (_root.hero.body.hitbox.hitTest(bplatform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = bplatform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
_root.falling = true;
}
}
}
}
movieClip 941 {
frame 2 {
_root.jumping2 = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.velocity2 -= 30;
_root.falling2 = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(platform2b) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
frame 15 {
stop();
}
}
movieClip 942 {
frame 2 {
_root.jumping2 = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.velocity2 -= 30;
_root.falling2 = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
if (this.hitTest(platform2b) and _root.pause == false) {
_parent._parent.gotoAndStop(2);
}
}
}
frame 15 {
stop();
}
}
movieClip 943 {
frame 1 {
stop();
}
instance body of movieClip 604 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 50 and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -150 and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
this.backarm._alpha = 0;
}
}
frame 2 {
stop();
}
instance body of movieClip 604 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -50 and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 150 and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
this.backarm._alpha = 0;
}
}
frame 3 {
stop();
}
instance body of movieClip 672 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance > -100 and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.rightallowed2 == true) {
_parent._x += _root.herospeed * 1.5;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 672 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance < 100 and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true) {
_parent._x -= _root.herospeed * 1.5;
}
}
}
frame 5 {
stop();
}
instance body of movieClip 941 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -150 and _root.pause == false and _root.rightallowed2 == true) {
_parent._x += _root.herospeed * 1.5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 150 and _root.pause == false and _root.leftallowed2 == true) {
_parent._x -= _root.herospeed;
}
}
}
frame 6 {
stop();
}
instance body of movieClip 942 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 150 and _root.pause == false and _root.leftallowed2 == true) {
_parent._x -= _root.herospeed * 1.5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -150 and _root.pause == false and _root.rightallowed2 == true) {
_parent._x += _root.herospeed;
}
}
}
frame 7 {
stop();
}
}
instance hero2 of movieClip 943 {
onClipEvent (enterFrame) {
_root.hero2xdistance = _root.hero2._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(2);
this.body.frontarm.gotoAndStop(2);
this.body.backarm.gotoAndStop(2);
this.body.torso.gotoAndStop(2);
this.body.legs.gotoAndStop(2);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.pause == false) {
_root.velocity2 += _root.gravity2;
_root.hero2._y += _root.velocity2;
}
i = 0;
while (i < 99) {
if (_root.hero2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (_root.hero2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero2.body.hitbox.hitTest(platform2a) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = platform2a._y;
_root.velocity2 = 0;
_root.falling2 = false;
}
} else {
if (_root.hero2.body.hitbox.hitTest(platform2b) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = platform2b._y;
_root.velocity2 = 0;
_root.falling2 = false;
}
} else {
_root.falling2 = true;
}
}
}
}
movieClip 948 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 949 {
}
movieClip 950 {
frame 75 {
stop();
_root.level = 1;
_root.mainframe.fade.play();
}
}
movieClip 951 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 952 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
if (_root.healthstaken > 0) {
_root.fg1.heart1.gotoAndStop(3);
_root.fg1.health.gotoAndStop(2);
}
}
frame 4 {
stop();
}
instance ship of movieClip 951 {
onClipEvent (enterFrame) {
this.ship.body.heroes.head2.gotoAndStop(2);
this.ship.body.heroes.frontarm2.gotoAndStop(2);
this.ship.body.heroes.backarm2.gotoAndStop(2);
this.ship.body.heroes.torso2.gotoAndStop(2);
this.ship.body.heroes.legs2.gotoAndStop(2);
}
}
frame 5 {
stop();
}
}
movieClip 959 {
}
movieClip 961 {
}
movieClip 964 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
instance godofwar of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
if (_root.powerupstaken > 0) {
_root.fg2.powerup1.gotoAndStop(3);
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x > _root.hero2._x) {
_root.hero2.gotoAndStop(5);
}
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x < _root.hero2._x) {
_root.hero2.gotoAndStop(6);
}
}
}
frame 4 {
stop();
}
instance of movieClip 856 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.falling == true) {
_root.mainframe.fade.play();
}
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.legs) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.mainframe.powerupclip.gotoAndStop(1);
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
_root.hero.gotoAndStop(27);
_root.hero2.gotoAndStop(27);
_root.fg1.ship.gotoAndStop(2);
}
}
}
}
frame 9 {
stop();
_root.mainpauseallowed = true;
_root.level = 4;
_root.level4unlocked = true;
_root.powerupstaken = 0;
_root.healthstaken = 0;
_root.ufosgone = 0;
_root.aliensgone = 0;
_root.alien.gotoAndStop(12);
_root.alien2.gotoAndStop(12);
_root.ufo.gotoAndStop(9);
_root.mainframe.txt.gotoAndPlay(510);
_root.gravity = 3;
_root.velocity = 0;
_root.falling = true;
_root.leftallowed = true;
_root.rightallowed = true;
_root.leftallowedd = true;
_root.rightallowedd = true;
_root.gravity2 = 3;
_root.velocity2 = 0;
_root.falling2 = true;
_root.upallowed = true;
_root.upallowed2 = true;
_root.upallowed3 = true;
_root.downallowed = true;
_root.sinking = false;
_root.reset = false;
_root.gun = true;
_root.standallowed = true;
_root.invincibletemp = false;
_root.aliengravity = 3;
_root.alienvelocity = 0;
_root.alienfalling = true;
_root.alienleftallowed = true;
_root.alienrightallowed = true;
_root.alien2gravity = 3;
_root.alien2velocity = 0;
_root.alien2falling = true;
_root.alien2leftallowed = true;
_root.alien2rightallowed = true;
_root.robotgravity = 3;
_root.robotvelocity = 0;
_root.robotfalling = true;
_root.robotleftallowed = true;
_root.robotrightallowed = true;
_root.bg1.gotoAndStop(2);
_root.bg2.gotoAndStop(2);
_root.fg1.gotoAndStop(2);
_root.fg2.gotoAndStop(2);
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level4unlocked = _root.level4unlocked;
}
movieClip 976 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 984 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
}
instance hero of movieClip 790 {
onClipEvent (enterFrame) {
if (_root.gun == true) {
_root.hero.body.frontarm.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.screenmove == true and _root.pause == false) {
_root._y -= _root.velocity / 2;
_root.mainframe._y += _root.velocity / 2;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.pause == false) {
_root.velocity += _root.gravity;
_root.hero._y += _root.velocity;
_root.screenmove = true;
}
i = 0;
while (i < 99) {
if (_root.hero.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (_root.hero.body.hitbox.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero.body.hitbox.hitTest(platform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = platform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
if (_root.hero.body.hitbox.hitTest(bplatform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = bplatform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
_root.falling = true;
}
}
}
}
instance alien of movieClip 828 {
onClipEvent (enterFrame) {
_root.alienxdistance = _root.alien._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.alienfalling == true and _root.pause == false) {
_root.alienvelocity += _root.aliengravity;
_root.alien._y += _root.alienvelocity;
}
i = 0;
while (i < 99) {
if (_root.alien.body.hitbox.hitTest('_root.fg1.platform' + i)) {
alienplatform = eval('_root.fg1.platform' + i);
}
if (_root.alien.body.hitbox.hitTest('_root.fg2.platform' + i)) {
alienplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.alien.body.hitbox.hitTest(alienplatform) and _root.pause == false) {
if (_root.alienfalling == true) {
_root.alien._y = alienplatform._y;
_root.alienvelocity = 0;
_root.alienfalling = false;
}
} else {
if (_root.alien.body.hitbox.hitTest(alienplatform2) and _root.pause == false) {
if (_root.alienfalling == true) {
_root.alien._y = alienplatform2._y;
_root.alienvelocity = 0;
_root.alienfalling = false;
}
} else {
_root.alienfalling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.alien._x < -50) {
_root.alienfalling = false;
}
}
onClipEvent (enterFrame) {
if (_root.alien._x > 770) {
_root.alienfalling = false;
}
}
}
instance alien2 of movieClip 855 {
onClipEvent (enterFrame) {
_root.alien2xdistance = _root.alien2._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.alien2falling == true and _root.pause == false) {
_root.alien2velocity += _root.alien2gravity;
_root.alien2._y += _root.alien2velocity;
}
i = 0;
while (i < 99) {
if (_root.alien2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
alien2platform = eval('_root.fg1.platform' + i);
}
if (_root.alien2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
alien2platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.alien2.body.hitbox.hitTest(alien2platform) and _root.pause == false) {
if (_root.alien2falling == true) {
_root.alien2._y = alien2platform._y;
_root.alien2velocity = 0;
_root.alien2falling = false;
}
} else {
if (_root.alien2.body.hitbox.hitTest(alien2platform2) and _root.pause == false) {
if (_root.alien2falling == true) {
_root.alien2._y = alien2platform2._y;
_root.alien2velocity = 0;
_root.alien2falling = false;
}
} else {
_root.alien2falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.alien2._x < -50) {
_root.alien2falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.alien2._x > 770) {
_root.alien2falling = false;
}
}
}
movieClip 986 {
}
movieClip 988 {
}
movieClip 990 {
}
movieClip 992 {
}
movieClip 994 {
}
movieClip 1000 {
frame 54 {
_parent.gotoAndStop(1);
}
}
movieClip 1001 {
frame 1 {
stop();
_root.robotshooting = false;
}
instance hitting of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
_root.robotshooting = true;
}
}
movieClip 1003 {
instance ship of movieClip 470 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
}
}
}
movieClip 1004 {
frame 1 {
(new Color(_root.ufo)).setTransform({'ra': 50, 'rb': 77, 'ga': 50, 'gb': 0, 'ba': 50, 'bb': 0});
}
frame 2 {
(new Color(_root.ufo)).setTransform({'ra': 60, 'rb': 61, 'ga': 60, 'gb': 0, 'ba': 60, 'bb': 0});
}
frame 2 {
_root.mainframe.bosshealth.robot.nextFrame();
if (_root.shooting == true) {
_root.mainframe.bosshealth.robot.nextFrame();
}
if (_root.doubledamage == true and _root.shooting == false) {
_root.mainframe.bosshealth.robot.nextFrame();
}
if (_root.doubledamage == true and _root.shooting == true) {
_root.mainframe.bosshealth.robot.nextFrame();
_root.mainframe.bosshealth.robot.nextFrame();
}
}
frame 3 {
(new Color(_root.ufo)).setTransform({'ra': 70, 'rb': 46, 'ga': 70, 'gb': 0, 'ba': 70, 'bb': 0});
}
frame 4 {
(new Color(_root.ufo)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 1005 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1006 {
}
movieClip 1007 {
}
movieClip 1009 {
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.robotvelocity -= 30;
_root.robotfalling = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotleftallowed == true) {
_root.ufo._x -= 12;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotleftallowed == true) {
_root.ufo._x -= 8;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.robotvelocity += 40;
_root.robotfalling = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotleftallowed == true) {
_root.ufo._x -= 6;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
robotplatform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
robotplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(_root.fg1.platform0) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(_root.fg2.platform0) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
instance hitting of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
frame 20 {
stop();
_root.ufo.gotoAndStop(1);
}
}
movieClip 1010 {
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.robotvelocity -= 30;
_root.robotfalling = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotrightallowed == true) {
_root.ufo._x += 12;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotrightallowed == true) {
_root.ufo._x += 8;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.robotvelocity += 40;
_root.robotfalling = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotrightallowed == true) {
_root.ufo._x += 6;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
robotplatform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
robotplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(_root.fg1.platform0) and _root.pause == false) {
_parent._parent.gotoAndStop(5);
}
if (this.hitTest(_root.fg2.platform0) and _root.pause == false) {
_parent._parent.gotoAndStop(5);
}
}
}
instance hitting of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
frame 20 {
stop();
_root.ufo.gotoAndStop(5);
}
}
movieClip 1012 {
}
movieClip 1015 {
}
movieClip 1016 {
frame 10 {
stop();
}
}
movieClip 1017 {
instance ship of movieClip 470 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent._parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent._parent.robothealth.gotoAndStop(2);
}
}
}
frame 100 {
_parent.gotoAndStop(1);
}
}
movieClip 1018 {
}
movieClip 1019 {
}
movieClip 1027 {
frame 17 {
stop();
}
}
movieClip 1029 {
}
movieClip 1030 {
instance box2 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true) {
_root.hero.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false) {
_root.hero.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true) {
_root.hero2.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false) {
_root.hero2.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
}
instance box1 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box1)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.ship.box2)) {
_root.hero.body.ship.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == true) {
_root.hero.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.fallingheroright == false) {
_root.hero.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == true) {
_root.hero2.gotoAndStop(7);
_parent._parent._parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.box1) and _root.fallinghero2right == false) {
_root.hero2.gotoAndStop(8);
_parent._parent._parent.gotoAndStop(3);
}
}
}
frame 25 {
_root.alien._x = _root.ufo._x;
_root.alien._y = _root.ufo._y;
_root.alien.gotoAndStop(1);
}
frame 75 {
stop();
_root.hero2._x = _root.ufo._x;
_root.hero2._y = _root.ufo._y;
_root.hero2.gotoAndStop(2);
_root.mainframe.txt.gotoAndPlay(694);
}
}
movieClip 1031 {
frame 1 {
(new Color(_root.ufo)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
}
frame 60 {
stop();
_root.level5gateopen = true;
}
}
movieClip 1032 {
frame 1 {
stop();
_root.robotfacingleft = true;
}
instance body of movieClip 992 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
instance torso of movieClip 1003 {
onClipEvent (enterFrame) {
if (_root.robotxdistance < -150 and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (_root.robotxdistance < 200 and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (_root.robotxdistance > 250 and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (_root.robotxdistance >= 210 and _root.robotxdistance <= 240 and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.ufo._y > _root.hero._y and _root.robotshooting == false and _root.pause == false) {
this._rotation = 0;
} else {
this._rotation = -24;
}
}
}
instance trigger of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1006 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotleftallowed == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 1007 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotrightallowed == true) {
_parent._x += 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 4 {
stop();
}
instance body of movieClip 1009 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
_root.mainframe.bosshealth.robot.nextFrame();
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 5 {
stop();
_root.robotfacingleft = false;
}
instance body of movieClip 992 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
instance torso of movieClip 1003 {
onClipEvent (enterFrame) {
if (_root.robotxdistance > 100 and _root.pause == false) {
_parent.gotoAndStop(1);
} else {
if (_root.robotxdistance > -250 and _root.pause == false) {
_parent.gotoAndStop(7);
} else {
if (_root.robotxdistance < -300 and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (_root.robotxdistance <= -260 and _root.robotxdistance >= -290 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.ufo._y > _root.hero._y and _root.robotshooting == false and _root.pause == false) {
this._rotation = 180;
} else {
this._rotation = 204;
}
}
}
instance trigger of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
frame 6 {
stop();
}
instance body of movieClip 1006 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotleftallowed == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 7 {
stop();
}
instance body of movieClip 1007 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.robotrightallowed == true) {
_parent._x -= 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 8 {
stop();
}
instance body of movieClip 1010 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
instance body of movieClip 992 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.attacktrigger1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.attacktrigger3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame2) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame3) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame4) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater1.flame5) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.flamecrater2.flame1) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.ufo2.cannonball.ball.ball) and _root.pause == false) {
_root.ufo2.cannonball.ball.ball.gotoAndStop(2);
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.robot.nextFrame();
_parent.robothealth.gotoAndStop(2);
}
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_parent.robothealth.gotoAndStop(2);
}
}
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
instance ufo of movieClip 1032 {
onClipEvent (enterFrame) {
this.torso.ship.body.head.gotoAndStop(3);
this.torso.ship.body.frontarm.gotoAndStop(3);
this.torso.ship.body.backarm.gotoAndStop(3);
this.torso.ship.body.torso.gotoAndStop(3);
this.torso.ship.body.legs.gotoAndStop(3);
}
onClipEvent (enterFrame) {
this.torso.ship.body2.head.gotoAndStop(2);
this.torso.ship.body2.frontarm.gotoAndStop(2);
this.torso.ship.body2.backarm.gotoAndStop(2);
this.torso.ship.body2.torso.gotoAndStop(2);
this.torso.ship.body2.legs.gotoAndStop(2);
}
onClipEvent (enterFrame) {
_root.robotxdistance = _root.ufo._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.robotfalling == true and _root.pause == false) {
_root.robotvelocity += _root.robotgravity;
_root.ufo._y += _root.robotvelocity;
}
i = 0;
while (i < 99) {
if (_root.ufo.body.hitbox.hitTest('_root.fg1.platform' + i)) {
robotplatform = eval('_root.fg1.platform' + i);
}
if (_root.ufo.body.hitbox.hitTest('_root.fg2.platform' + i)) {
robotplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.ufo.body.hitbox.hitTest(robotplatform) and _root.pause == false) {
if (_root.robotfalling == true) {
_root.ufo._y = robotplatform._y;
_root.robotvelocity = 0;
_root.robotfalling = false;
}
} else {
if (_root.ufo.body.hitbox.hitTest(robotplatform2) and _root.pause == false) {
if (_root.robotfalling == true) {
_root.ufo._y = robotplatform2._y;
_root.robotvelocity = 0;
_root.robotfalling = false;
}
} else {
_root.robotfalling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.ufo._x < -50) {
_root.robotfalling = false;
}
}
onClipEvent (enterFrame) {
if (_root.ufo._x > 770) {
_root.robotfalling = false;
}
}
}
movieClip 1034 {
}
movieClip 1036 {
}
movieClip 1038 {
}
movieClip 1043 {
}
movieClip 1045 {
}
movieClip 1051 {
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (_parent.ballexploded == true) {
_parent.ballexploded = false;
_parent.ball1.gotoAndStop(1);
_parent.gotoAndPlay(106);
}
}
}
frame 6 {
stop();
}
instance ball1 of movieClip 443 {
onClipEvent (enterFrame) {
this.shootingnumber = Math.ceil(Math.random() * 20);
}
onClipEvent (enterFrame) {
if (this.shootingnumber == 1) {
_parent.play(7);
}
}
}
frame 105 {
this.gotoAndPlay(5);
}
}
movieClip 1052 {
instance of movieClip 1045 {
onClipEvent (enterFrame) {
_parent._y += 3;
}
}
instance of movieClip 1045 {
onClipEvent (enterFrame) {
_parent._y -= 3;
}
}
}
movieClip 1061 {
frame 25 {
stop();
}
}
movieClip 1062 {
frame 1 {
stop();
}
instance ball of movieClip 425 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body) and _root.pause == false) {
_root.alien.gotoAndStop(11);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body) and _root.pause == false) {
_root.alien2.gotoAndStop(11);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 1064 {
}
movieClip 1065 {
}
movieClip 1066 {
}
movieClip 1067 {
}
movieClip 1068 {
}
movieClip 1069 {
frame 1 {
stop();
}
instance robot of movieClip 1066 {
onClipEvent (enterFrame) {
this.torso.ship.body._alpha = 0;
this.torso.ship.body2._alpha = 0;
}
}
frame 2 {
stop();
}
instance robot of movieClip 1068 {
onClipEvent (enterFrame) {
this.torso.ship.body._alpha = 100;
this.torso.ship.body2._alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += _root.herospeed;
}
}
}
}
movieClip 1071 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body.hitbox)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body.hitbox)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
frame 4 {
stop();
if (_root.healthstaken > 0) {
_root.fg1.heart1.gotoAndStop(3);
}
if (_root.aliensgone < 2) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1200;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
if (_root.powerupstaken > 1) {
_root.fg1.powerup1.gotoAndStop(3);
}
}
instance rightwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
instance crouch_engager of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.standallowed = false;
} else {
_root.standallowed = true;
}
}
}
frame 8 {
stop();
}
instance leftwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
frame 9 {
stop();
if (_root.level == 4) {
_root.fg1.powerup1.gotoAndStop(3);
}
}
frame 10 {
stop();
}
frame 11 {
stop();
}
instance rightwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x > _root.hero2._x) {
_root.hero2.gotoAndStop(5);
}
}
}
instance robot of movieClip 1069 {
onClipEvent (enterFrame) {
this.robot.torso.ship.body2.head.gotoAndStop(2);
this.robot.torso.ship.body2.frontarm.gotoAndStop(2);
this.robot.torso.ship.body2.backarm.gotoAndStop(2);
this.robot.torso.ship.body2.torso.gotoAndStop(2);
this.robot.torso.ship.body2.legs.gotoAndStop(2);
}
}
instance levelswitchtrigger of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.robot)) {
_root.mainframe.fade.play();
}
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.legs) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.mainframe.powerupclip.gotoAndStop(1);
_root.hero._alpha = 0;
_root.hero2._alpha = 0;
_root.hero.gotoAndStop(27);
_root.hero2.gotoAndStop(27);
_root.fg1.robot.gotoAndStop(2);
_root.level = 6;
}
}
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
movieClip 1084 {
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body)) {
_root.alienrightallowed = false;
} else {
_root.alienrightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body)) {
_root.alien2rightallowed = false;
} else {
_root.alien2rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.body) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
}
}
}
}
movieClip 1085 {
frame 74 {
stop();
_root.level5gateopened = true;
}
}
movieClip 1086 {
frame 1 {
stop();
}
instance of movieClip 1084 {
onClipEvent (enterFrame) {
if (_root.level5gateopen == true) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1090 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
instance godofwar of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
if (_root.powerupstaken > 0) {
_root.fg2.powerup1.gotoAndStop(3);
}
if (_root.aliensgone < 1) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1100;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
instance rightwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x > _root.hero2._x) {
_root.hero2.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.firebullet) and _root.pause == false) {
_root.hero.gotoAndStop(9);
}
}
}
instance leftwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.hitbox)) {
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x < _root.hero2._x) {
_root.hero2.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body) and _root.aliendead == false) {
_root.alien.gotoAndStop(3);
}
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
instance crouch_engager of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.standallowed = false;
} else {
_root.standallowed = true;
}
}
}
frame 4 {
stop();
}
instance crouch_engager of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.standallowed = false;
} else {
_root.standallowed = true;
}
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body.hitbox)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body.hitbox)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
instance rightwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero._x > _root.hero2._x) {
_root.hero2.gotoAndStop(5);
}
}
}
frame 5 {
stop();
if (_root.aliensgone < 3) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1300;
_root.alien2._y = _root.hero._y;
_root.alien2._y -= 200;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 6 {
stop();
}
instance leftwall2 of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
frame 7 {
stop();
if (_root.healthstaken > 1) {
_root.fg2.heart1.gotoAndStop(3);
}
if (_root.aliensgone < 4) {
_root.alien.gotoAndStop(1);
_root.alien._x = 830;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 5) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1200;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 8 {
stop();
if (_root.aliensgone < 6 and _root.level == 4) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1100;
_root.alien2._y = _root.hero._y;
_root.alien2._y -= 350;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
instance leftwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.body) and _root.pause == false) {
_root.ufo.gotoAndStop(8);
}
}
}
instance rightwall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body)) {
_root.alienleftallowed = false;
} else {
_root.alienleftallowed = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body)) {
_root.alien2leftallowed = false;
} else {
_root.alien2leftallowed = true;
}
}
}
frame 9 {
stop();
if (_root.aliensgone < 7 and _root.level == 4) {
_root.ufo.gotoAndStop(10);
_root.ufo._x = 1250;
_root.ufo._y = _root.hero._y;
_root.aliensgone += 1;
}
}
instance levelchangewall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.level == 4) {
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.level == 4 and _root.pause == false) {
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.gravity = 3;
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.mainframe.powerupclip.gotoAndStop(1);
_root.hero._alpha = 100;
_root.hero.gotoAndStop(44);
_root.level = 5;
}
}
}
frame 10 {
stop();
if (_root.level5gateopened == true) {
_root.fg2.gate.gotoAndStop(3);
}
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
}
frame 10 {
stop();
_root.mainpauseallowed = true;
_root.level = 5;
_root.level5unlocked = true;
_root.powerupstaken = 0;
_root.healthstaken = 0;
_root.ufosgone = 0;
_root.aliensgone = 0;
_root.alien.gotoAndStop(12);
_root.alien2.gotoAndStop(12);
_root.hero2.gotoAndStop(7);
_root.ufo.gotoAndStop(11);
_root.ufo._x = 500;
_root.ufo._y = _root.hero._y;
_root.mainframe.bosshealth.gotoAndStop(2);
_root.level5gateopen = false;
_root.level5gateopened = false;
_root.mainframe.txt.gotoAndPlay(602);
_root.gravity = 3;
_root.velocity = 0;
_root.falling = true;
_root.leftallowed = true;
_root.rightallowed = true;
_root.leftallowedd = true;
_root.rightallowedd = true;
_root.gravity2 = 3;
_root.velocity2 = 0;
_root.falling2 = true;
_root.upallowed = true;
_root.upallowed2 = true;
_root.upallowed3 = true;
_root.downallowed = true;
_root.sinking = false;
_root.reset = false;
_root.gun = true;
_root.standallowed = true;
_root.invincibletemp = false;
_root.aliengravity = 3;
_root.alienvelocity = 0;
_root.alienfalling = true;
_root.alienleftallowed = true;
_root.alienrightallowed = true;
_root.alien2gravity = 3;
_root.alien2velocity = 0;
_root.alien2falling = true;
_root.alien2leftallowed = true;
_root.alien2rightallowed = true;
_root.robotgravity = 3;
_root.robotvelocity = 0;
_root.robotfalling = true;
_root.robotleftallowed = true;
_root.robotrightallowed = true;
_root.bg1.gotoAndStop(7);
_root.bg2.gotoAndStop(7);
_root.fg1.gotoAndStop(9);
_root.fg2.gotoAndStop(9);
_root.fg1._x -= 600;
_root.fg2._x -= 600;
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level5unlocked = _root.level5unlocked;
}
instance hero2 of movieClip 943 {
onClipEvent (enterFrame) {
_root.hero2xdistance = _root.hero2._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(2);
this.body.frontarm.gotoAndStop(2);
this.body.backarm.gotoAndStop(2);
this.body.torso.gotoAndStop(2);
this.body.legs.gotoAndStop(2);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.pause == false) {
_root.velocity2 += _root.gravity2;
_root.hero2._y += _root.velocity2;
}
i = 0;
while (i < 99) {
if (_root.hero2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (_root.hero2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero2.body.hitbox.hitTest(platform2a) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = platform2a._y;
_root.velocity2 = 0;
_root.falling2 = false;
}
} else {
if (_root.hero2.body.hitbox.hitTest(platform2b) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = platform2b._y;
_root.velocity2 = 0;
_root.falling2 = false;
}
} else {
_root.falling2 = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x < -50) {
_root.falling2 = false;
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x > 770) {
_root.falling2 = false;
}
}
}
instance ufo of movieClip 1032 {
onClipEvent (enterFrame) {
this.torso.ship.body.head.gotoAndStop(3);
this.torso.ship.body.frontarm.gotoAndStop(3);
this.torso.ship.body.backarm.gotoAndStop(3);
this.torso.ship.body.torso.gotoAndStop(3);
this.torso.ship.body.legs.gotoAndStop(3);
this.body.ship.body.head.gotoAndStop(3);
this.body.ship.body.frontarm.gotoAndStop(3);
this.body.ship.body.backarm.gotoAndStop(3);
this.body.ship.body.torso.gotoAndStop(3);
this.body.ship.body.legs.gotoAndStop(3);
}
onClipEvent (enterFrame) {
this.torso.ship.body2.head.gotoAndStop(2);
this.torso.ship.body2.frontarm.gotoAndStop(2);
this.torso.ship.body2.backarm.gotoAndStop(2);
this.torso.ship.body2.torso.gotoAndStop(2);
this.torso.ship.body2.legs.gotoAndStop(2);
this.body.ship.body2.head.gotoAndStop(2);
this.body.ship.body2.frontarm.gotoAndStop(2);
this.body.ship.body2.backarm.gotoAndStop(2);
this.body.ship.body2.torso.gotoAndStop(2);
this.body.ship.body2.legs.gotoAndStop(2);
}
onClipEvent (enterFrame) {
_root.robotxdistance = _root.ufo._x - _root.hero._x;
}
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
this.body.umbrella._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.robotfalling == true and _root.pause == false) {
_root.robotvelocity += _root.robotgravity;
_root.ufo._y += _root.robotvelocity;
}
i = 0;
while (i < 99) {
if (_root.ufo.body.hitbox.hitTest('_root.fg1.platform' + i)) {
robotplatform = eval('_root.fg1.platform' + i);
}
if (_root.ufo.body.hitbox.hitTest('_root.fg2.platform' + i)) {
robotplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.ufo.body.hitbox.hitTest(_root.fg1.platform0) and _root.pause == false) {
if (_root.robotfalling == true) {
_root.ufo._y = robotplatform._y;
_root.robotvelocity = 0;
_root.robotfalling = false;
}
} else {
if (_root.ufo.body.hitbox.hitTest(_root.fg2.platform0) and _root.pause == false) {
if (_root.robotfalling == true) {
_root.ufo._y = robotplatform2._y;
_root.robotvelocity = 0;
_root.robotfalling = false;
}
} else {
_root.robotfalling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.ufo._x < -50) {
_root.robotfalling = false;
}
}
onClipEvent (enterFrame) {
if (_root.ufo._x > 770) {
_root.robotfalling = false;
}
}
}
frame 11 {
stop();
_root.mainpauseallowed = true;
_root.level = 6;
_root.level6unlocked = true;
_root.powerupstaken = 0;
_root.healthstaken = 0;
_root.ufosgone = 0;
_root.aliensgone = 0;
_root.alien.gotoAndStop(12);
_root.alien2.gotoAndStop(12);
_root.mainframe.bosshealth.gotoAndStop(1);
_root.mainframe.txt.gotoAndPlay(786);
_root.gravity = 3;
_root.velocity = 0;
_root.falling = true;
_root.leftallowed = true;
_root.rightallowed = true;
_root.leftallowedd = true;
_root.rightallowedd = true;
_root.upallowed = true;
_root.upallowed2 = true;
_root.upallowed3 = true;
_root.downallowed = true;
_root.sinking = false;
_root.reset = false;
_root.standallowed = true;
_root.invincibletemp = false;
_root.gun = false;
_root.aliengravity = 3;
_root.alienvelocity = 0;
_root.alienfalling = true;
_root.alienleftallowed = true;
_root.alienrightallowed = true;
_root.alien2gravity = 3;
_root.alien2velocity = 0;
_root.alien2falling = true;
_root.alien2leftallowed = true;
_root.alien2rightallowed = true;
_root.bg1.gotoAndStop(2);
_root.bg2.gotoAndStop(2);
_root.fg1.gotoAndStop(2);
_root.fg2.gotoAndStop(2);
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level6unlocked = _root.level6unlocked;
}
movieClip 1116 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
}
movieClip 1153 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
}
instance ufo of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
instance ufo2 of movieClip 472 {
onClipEvent (enterFrame) {
this.ship.ship.body.head.gotoAndStop(3);
this.ship.ship.body.frontarm.gotoAndStop(3);
this.ship.ship.body.backarm.gotoAndStop(3);
this.ship.ship.body.torso.gotoAndStop(3);
this.ship.ship.body.legs.gotoAndStop(3);
}
}
movieClip 1154 {
frame 15 {
_parent.gotoAndStop(1);
}
}
movieClip 1155 {
frame 1 {
stop();
_root.herorobotshooting = false;
}
instance of movieClip 994 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.pause == false) {
_root.shootallowed = false;
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
_root.herorobotshooting = true;
}
}
movieClip 1156 {
}
movieClip 1157 {
frame 1 {
_root.floatallowed = false;
}
frame 2 {
_root.jumping = true;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.velocity -= 30;
_root.falling = true;
}
}
}
frame 5 {
_root.sinking = false;
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.velocity += 40;
_root.falling = true;
}
}
}
instance hitbox of movieClip 603 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(bplatform) and _root.pause == false) {
_parent._parent.gotoAndStop(1);
}
}
}
instance hitting of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body) and _root.pause == false) {
_root.alien.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body) and _root.pause == false) {
_root.alien2.gotoAndStop(11);
}
}
}
frame 20 {
stop();
_root.hero.gotoAndStop(1);
}
}
movieClip 1158 {
frame 1 {
stop();
(new Color(_root.hero)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
_root.invincible = false;
_root.doubledamage = false;
_root.doublespeed = false;
_root.fireshield = false;
_root.hero.body.ship.fireshield.gotoAndStop(1);
_root.hero.fireshield.gotoAndStop(1);
_root.hero2.fireshield.gotoAndStop(1);
_root.herodamage = 1;
_root.herospeed = 10;
_root.mainframe.heroflicker.gotoAndStop(1);
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.hero._alpha = 100;
_root.mainframe.powerupclip.gotoAndStop(1);
play();
}
frame 49 {
stop();
_root.mainframe.fade.play();
}
}
movieClip 1166 {
frame 25 {
stop();
}
}
movieClip 1167 {
frame 1 {
stop();
}
instance ball of movieClip 425 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_parent.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 1169 {
}
movieClip 1175 {
frame 15 {
_parent.gotoAndStop(1);
}
}
movieClip 1176 {
frame 1 {
stop();
_root.herorobotshooting = false;
}
frame 2 {
stop();
_root.herorobotshooting = true;
}
}
movieClip 1180 {
}
movieClip 1181 {
frame 1 {
stop();
}
instance cockpit of movieClip 1180 {
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
}
}
instance box of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.cannonball.ball.ball)) {
_root.hero.cannonball.ball.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.bullett.bullett)) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
instance box2 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.cannonball.ball.ball)) {
_root.hero.cannonball.ball.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.bullett.bullett)) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
instance box3 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.cannonball.ball.ball)) {
_root.hero.cannonball.ball.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.bullett.bullett)) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
instance box4 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.cannonball.ball.ball)) {
_root.hero.cannonball.ball.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.bullett.bullett)) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
instance box5 of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.cannonball.ball.ball)) {
_root.hero.cannonball.ball.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.bullett.bullett)) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.box1) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero.box2) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.fireshield.fire) and _root.pause == false) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mothership.mothershiphealth.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 1182 {
}
movieClip 1183 {
frame 150 {
stop();
_root.level = 7;
_root.mainframe.fade.play();
}
}
movieClip 1184 {
frame 1 {
stop();
}
instance body of movieClip 992 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(83) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
}
}
instance torso of movieClip 1156 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.pause == false) {
this._rotation = 204;
} else {
if (Key.isDown(38) and _root.pause == false) {
this._rotation = 156;
} else {
if (_root.herorobotshooting == false and _root.pause == false) {
this._rotation = 180;
}
}
}
}
}
instance hitbox of movieClip 9 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body) and _root.pause == false) {
_root.alien.gotoAndStop(11);
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body) and _root.pause == false) {
_root.alien2.gotoAndStop(11);
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater1.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg1.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater2.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg1.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater3.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg1.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.bg2.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg1.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.crater4.meteor) and _root.invincibletemp == false and _root.pause == false) {
_root.mainframe.heroflicker.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1006 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
}
frame 3 {
stop();
}
instance body of movieClip 1007 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 1157 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed * 1.5;
_root.fg2._x -= _root.herospeed * 1.5;
_root.hero2._x -= _root.herospeed * 1.5;
_root.ufo._x -= _root.herospeed * 1.5;
_root.ufo2._x -= _root.herospeed * 1.5;
_root.alien._x -= _root.herospeed * 1.5;
_root.alien2._x -= _root.herospeed * 1.5;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed * 1.5;
_root.fg2._x += _root.herospeed * 1.5;
_root.hero2._x += _root.herospeed * 1.5;
_root.ufo._x += _root.herospeed * 1.5;
_root.ufo2._x += _root.herospeed * 1.5;
_root.alien._x += _root.herospeed * 1.5;
_root.alien2._x += _root.herospeed * 1.5;
}
}
}
frame 5 {
stop();
_root.velocity = 0;
_root.ufo._y = _root.fg1.platform0._y;
}
instance robotbody of movieClip 1158 {
onClipEvent (enterFrame) {
_root.falling = false;
}
}
frame 6 {
stop();
}
}
instance hero of movieClip 1184 {
onClipEvent (enterFrame) {
this.torso.ship.body2.head.gotoAndStop(2);
this.torso.ship.body2.frontarm.gotoAndStop(2);
this.torso.ship.body2.backarm.gotoAndStop(2);
this.torso.ship.body2.torso.gotoAndStop(2);
this.torso.ship.body2.legs.gotoAndStop(2);
this.body.ship.body2.head.gotoAndStop(2);
this.body.ship.body2.frontarm.gotoAndStop(2);
this.body.ship.body2.backarm.gotoAndStop(2);
this.body.ship.body2.torso.gotoAndStop(2);
this.body.ship.body2.legs.gotoAndStop(2);
this.robotbody.ship.body2.head.gotoAndStop(2);
this.robotbody.ship.body2.frontarm.gotoAndStop(2);
this.robotbody.ship.body2.backarm.gotoAndStop(2);
this.robotbody.ship.body2.torso.gotoAndStop(2);
this.robotbody.ship.body2.legs.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.screenmove == true and _root.pause == false) {
_root._y -= _root.velocity / 2;
_root.mainframe._y += _root.velocity / 2;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.pause == false) {
_root.velocity += _root.gravity;
_root.hero._y += _root.velocity;
_root.screenmove = true;
}
i = 0;
while (i < 99) {
if (_root.hero.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (_root.hero.body.hitbox.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero.body.hitbox.hitTest(platform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = platform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
if (_root.hero.body.hitbox.hitTest(bplatform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = bplatform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
_root.falling = true;
}
}
}
}
movieClip 1186 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
}
movieClip 1189 {
frame 1 {
stop();
}
instance sky of movieClip 612 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
instance godofwar of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
if (_root.ufosgone < 1) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 100;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 2) {
_root.ufo2._x = 1800;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 150;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 1) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1200;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 2) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1600;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 4 {
stop();
if (_root.ufosgone < 3) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 0;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 4) {
_root.ufo2._x = 1200;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 150;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 3) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1000;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 4) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1400;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 5 {
stop();
if (_root.ufosgone < 5) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 0;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 6) {
_root.ufo2._x = 1600;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 100;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 5) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1800;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 6) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1400;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 6 {
stop();
if (_root.ufosgone < 7) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 150;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 8) {
_root.ufo2._x = 1200;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 100;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 7) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1000;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 8) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1400;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 7 {
stop();
if (_root.ufosgone < 9) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 50;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 10) {
_root.ufo2._x = 1400;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 100;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 9) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1200;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 10) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1700;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 8 {
stop();
if (_root.ufosgone < 11) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 0;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 12) {
_root.ufo2._x = 1300;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 0;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 11) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1200;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 12) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1700;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 9 {
stop();
if (_root.ufosgone < 13) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 150;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 14) {
_root.ufo2._x = 1600;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 150;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 13) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1200;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 14) {
_root.alien2.gotoAndStop(13);
_root.alien2._x = 1700;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 10 {
stop();
if (_root.ufosgone < 15) {
_root.ufo._x = 830;
_root.ufo._y = _root.mainframe._y;
_root.ufo._y -= 0;
_root.ufo.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.ufosgone < 16) {
_root.ufo2._x = 1700;
_root.ufo2._y = _root.mainframe._y;
_root.ufo2._y -= 50;
_root.ufo2.gotoAndStop(2);
_root.ufosgone += 1;
}
if (_root.aliensgone < 15) {
_root.alien.gotoAndStop(1);
_root.alien._x = 1000;
_root.alien._y = _root.hero._y;
_root.aliendead = false;
_root.aliensgone += 1;
}
if (_root.aliensgone < 16) {
_root.alien2.gotoAndStop(1);
_root.alien2._x = 1400;
_root.alien2._y = _root.hero._y;
_root.alien2dead = false;
_root.aliensgone += 1;
}
}
frame 11 {
stop();
}
instance levelchangewall of movieClip 858 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.level == 4) {
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.torso) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.gravity = 3;
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.mainframe.powerupclip.gotoAndStop(1);
_root.hero._alpha = 100;
_root.hero.gotoAndStop(6);
}
}
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
}
frame 12 {
stop();
_root.mainpauseallowed = true;
_root.level = 7;
_root.level7unlocked = true;
_root.mainframe.bosshealth.gotoAndStop(3);
_root.mainframe.txt.gotoAndPlay(958);
_root.starbg.stars1.gotoAndStop(9);
_root.starbg.stars2.gotoAndStop(9);
_root.invincibletemp = false;
_root.heart1._x = -2600;
_root.powerup1._x = -1500;
_root.pos = SharedObject.getLocal('spacesave');
_root.pos.data.level7unlocked = _root.level7unlocked;
}
movieClip 1190 {
}
movieClip 1197 {
frame 25 {
stop();
}
}
movieClip 1198 {
frame 1 {
stop();
}
instance ball of movieClip 425 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien.body) and _root.pause == false) {
_root.alien.gotoAndStop(11);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.alien2.body) and _root.pause == false) {
_root.alien2.gotoAndStop(11);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(4);
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
}
movieClip 1199 {
frame 1 {
stop();
}
instance of movieClip 9 {
onClipEvent (enterFrame) {
if (Key.isDown(83) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
}
}
movieClip 1201 {
}
movieClip 1202 {
}
movieClip 1203 {
frame 1 {
stop();
}
instance of movieClip 454 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.pause == false) {
_parent.gotoAndPlay(2);
}
}
}
instance bullett of movieClip 454 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box1) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box2) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo.ship.ship.box3) and _root.pause == false) {
_root.ufo.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box1) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box2) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ufo2.ship.ship.box3) and _root.pause == false) {
_root.ufo2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid1.body.box)) {
_root.fg1.asteroid1.body.gotoAndPlay(3);
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid2.body.box)) {
_root.fg1.asteroid2.body.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.asteroid3.body.box)) {
_root.fg1.asteroid3.body.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid1.body.box)) {
_root.fg2.asteroid1.body.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid2.body.box)) {
_root.fg2.asteroid2.body.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg2.asteroid3.body.box)) {
_root.fg2.asteroid3.body.gotoAndPlay(3);
}
}
}
}
movieClip 1211 {
frame 2 {
stop();
_root.invincible = false;
_root.doubledamage = false;
_root.doublespeed = false;
_root.fireshield = false;
_root.hero.body.ship.fireshield.gotoAndStop(1);
_root.hero.fireshield.gotoAndStop(1);
_root.hero2.fireshield.gotoAndStop(1);
_root.herodamage = 1;
_root.herospeed = 10;
_root.mainframe.powerupclip.gotoAndStop(1);
play();
}
frame 25 {
stop();
_root.mainframe.fade.play();
}
frame 25 {
stop();
}
}
movieClip 1212 {
frame 1 {
stop();
}
instance ship of movieClip 1202 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.hero._x < 650 and _root.pause == false) {
_parent._x += _root.herospeed;
}
if (Key.isDown(37) and Key.isDown(39) == false and _root.hero._x > 20 and _root.pause == false) {
_parent._x -= _root.herospeed;
}
if (Key.isDown(38) and Key.isDown(40) == false and _root.hero._y > 20 and _root.pause == false) {
_parent._y -= _root.herospeed;
}
if (Key.isDown(40) and Key.isDown(38) == false and _root.hero._y < 390 and _root.pause == false) {
_parent._y += _root.herospeed;
} else {}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
instance ship of movieClip 1202 {
onClipEvent (enterFrame) {
if (_parent._x >= -200 and _root.pause == false) {
_parent._x -= 5;
}
}
onClipEvent (enterFrame) {
if (_parent._x < -200 and _root.pause == false) {
_root.level = 8;
_root.mainframe.fade.play();
}
}
}
}
instance hero of movieClip 1212 {
onClipEvent (enterFrame) {
this.ship.ship.body2.head.gotoAndStop(2);
this.ship.ship.body2.frontarm.gotoAndStop(2);
this.ship.ship.body2.backarm.gotoAndStop(2);
this.ship.ship.body2.torso.gotoAndStop(2);
this.ship.ship.body2.legs.gotoAndStop(2);
}
}
instance heart1 of movieClip 552 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x += 5;
}
}
onClipEvent (enterFrame) {
if (this._x >= 2500) {
this._x = -2000;
this.gotoAndStop(1);
}
}
}
instance powerup1 of movieClip 524 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x += 5;
}
}
onClipEvent (enterFrame) {
if (this._x >= 1000) {
this._x = -1000;
this.gotoAndStop(1);
}
}
}
movieClip 1213 {
frame 180 {
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
}
frame 190 {
_root.mothership.ship.ship.ship.gun2.gotoAndStop(2);
}
frame 200 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
}
instance ship of movieClip 1182 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.mothership._y += 8;
_root.mothership._x -= 8;
}
}
}
frame 243 {
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
_root.ufo._x = 830;
_root.ufo._y = 100;
_root.ufo.gotoAndStop(2);
}
frame 325 {
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
}
instance ship of movieClip 1182 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.mothership._y -= 8;
_root.mothership._x += 8;
}
}
}
frame 370 {
_root.mothership.ship.ship.ship.gun2.gotoAndStop(2);
}
frame 390 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
}
frame 424 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
}
frame 434 {
_root.mothership.ship.ship.ship.gun2.gotoAndStop(2);
}
frame 444 {
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
}
instance ship of movieClip 1182 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.mothership._y -= 8;
_root.mothership._x -= 8;
}
}
}
frame 487 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
_root.ufo2._x = 830;
_root.ufo2._y = 350;
_root.ufo2.gotoAndStop(2);
}
frame 569 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
}
instance ship of movieClip 1182 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.mothership._y += 8;
_root.mothership._x += 8;
}
}
}
frame 614 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
}
frame 634 {
_root.mothership.ship.ship.ship.gun2.gotoAndStop(2);
}
frame 722 {
_root.mothership.ship.ship.ship.gun3.gotoAndStop(2);
_root.mothership.ship.ship.ship.gun2.gotoAndStop(2);
_root.mothership.ship.ship.ship.gun1.gotoAndStop(2);
}
frame 811 {
this.gotoAndPlay(180);
}
}
movieClip 1214 {
frame 1 {
(new Color(_root.mothership)).setTransform({'ra': 50, 'rb': 77, 'ga': 50, 'gb': 0, 'ba': 50, 'bb': 0});
}
frame 1 {
_root.mothership.ship.ship.ship.gotoAndStop(2);
if (_root.doubledamage == true) {
_root.mainframe.bosshealth.mothership.nextFrame();
_root.mainframe.bosshealth.mothership.nextFrame();
}
}
frame 2 {
(new Color(_root.mothership)).setTransform({'ra': 60, 'rb': 61, 'ga': 60, 'gb': 0, 'ba': 60, 'bb': 0});
}
frame 3 {
(new Color(_root.mothership)).setTransform({'ra': 70, 'rb': 46, 'ga': 70, 'gb': 0, 'ba': 70, 'bb': 0});
}
frame 4 {
(new Color(_root.mothership)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
}
frame 10 {
_root.mothership.ship.ship.ship.gotoAndStop(1);
_parent.gotoAndStop(1);
}
}
movieClip 1215 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1217 {
instance cockpit of movieClip 1180 {
onClipEvent (enterFrame) {
this.body.head.gotoAndStop(3);
this.body.frontarm.gotoAndStop(3);
this.body.backarm.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
this.body.legs.gotoAndStop(3);
}
}
frame 100 {
stop();
}
}
movieClip 1218 {
}
movieClip 1219 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance ship of movieClip 1218 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._y += 2;
}
}
onClipEvent (enterFrame) {
if (_parent._y >= 700) {
_root.mainpauseallowed = false;
_root.mainframe.gotoAndStop(1);
_root.heart1.gotoAndStop(3);
_root.powerup1.gotoAndStop(3);
_root.mainframe.heroflicker2.gotoAndStop(1);
_root.mainframe.powerupclip.gotoAndStop(1);
_root.hero._alpha = 100;
(new Color(_root.hero)).setTransform({'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0});
_parent._y -= 2;
_root.hero.gotoAndStop(3);
}
}
}
}
instance mothership of movieClip 1219 {
onClipEvent (enterFrame) {
this.ship.ship.ship.cockpit.body.head.gotoAndStop(3);
this.ship.ship.ship.cockpit.body.frontarm.gotoAndStop(3);
this.ship.ship.ship.cockpit.body.backarm.gotoAndStop(3);
this.ship.ship.ship.cockpit.body.torso.gotoAndStop(3);
this.ship.ship.ship.cockpit.body.legs.gotoAndStop(3);
}
}
frame 13 {
stop();
_root.mainpauseallowed = false;
_root.level = 8;
_root.mainframe.txt.gotoAndStop(1);
_root.mainframe.health._alpha = 0;
}
movieClip 1221 {
frame 1 {
stop();
}
frame 101 {
stop();
_root.gotoAndStop(14);
}
}
movieClip 1222 {
}
movieClip 1224 {
frame 25 {
stop();
_root.outtro.gotoAndPlay(76);
}
}
movieClip 1225 {
}
movieClip 1226 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1227 {
}
movieClip 1228 {
frame 31 {
stop();
}
}
movieClip 1229 {
frame 31 {
stop();
}
}
movieClip 1230 {
frame 75 {
stop();
this.ufo.gotoAndStop(2);
}
instance body2 of movieClip 1229 {
onClipEvent (enterFrame) {
this.backarm._alpha = 0;
}
}
frame 277 {
stop();
_root.heartmask.gotoAndPlay(2);
}
}
instance outtro of movieClip 1230 {
onClipEvent (enterFrame) {
this.ufo.ship.ship.body2.head.gotoAndStop(2);
this.ufo.ship.ship.body2.frontarm.gotoAndStop(2);
this.ufo.ship.ship.body2.backarm.gotoAndStop(2);
this.ufo.ship.ship.body2.torso.gotoAndStop(2);
this.ufo.ship.ship.body2.legs.gotoAndStop(2);
this.body2.head.gotoAndStop(2);
this.body2.frontarm.gotoAndStop(2);
this.body2.backarm.gotoAndStop(2);
this.body2.torso.gotoAndStop(2);
this.body2.legs.gotoAndStop(2);
}
}
frame 14 {
stop();
_root.mainpauseallowed = false;
_root.mainframe.txt.gotoAndStop(1);
_root.mainframe.health._alpha = 0;
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.Aallowed == true) {
_root.Aallowed = false;
_root.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.Aallowed = true;
}
}
}
frame 15 {
stop();
_root.mainpauseallowed = false;
_root.mainframe.txt.gotoAndStop(1);
_root.mainframe.health._alpha = 0;
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
if (Key.isDown(65) and _root.Aallowed == true) {
_root.Aallowed = false;
_root.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65) == false) {
_root.Aallowed = true;
}
}
}
instance of movieClip 77 {
onClipEvent (release) {
getURL('http://www.seethingswarm.com', '_blank');
}
}