Frame 1
function menuChoiceOne() {
getURL ("http://www.gameprison.org");
}
function menuChoiceTwo() {
_root.music.stop();
_root.gotoAndPlay(1);
}
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Gameprison.com", menuChoiceOne));
NewMenu.customItems.push(new ContextMenuItem("Return to main menu", menuChoiceTwo));
this.menu = NewMenu;
stop();
_root.kongregateServices.connect();
_root.scored = 0;
sound = 1;
goable = 0;
_root.gameclear = 0;
Instance of Symbol 31 MovieClip "loadBar" in Frame 1
onClipEvent (enterFrame) {
bytes = _root.getBytesTotal();
bytes_loaded = _root.getBytesLoaded();
percent = int((bytes_loaded / bytes) * 100);
if (bytes_loaded == bytes) {
_root.gpglogo.play();
}
_xscale = percent;
}
Instance of Symbol 59 MovieClip "camFrame" in Frame 1
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 2
shakeycam = 0;
_root.scheme = "none";
_root.death = false;
_root.char = 0;
_root.lives = 5;
_root.shield = 0;
_root.score = 0;
_root.scoreb = 0;
_root.bonus1 = 0;
_root.bonus2 = 0;
_root.bonus3 = false;
_root.bossfight = false;
_root.stage = 0;
var savefilea = SharedObject.getLocal("copterEXTREME");
if (savefilea.data.gameclear != undefined) {
_root.gameclear = savefilea.data.gameclear;
}
_root.nodie = 1;
music.stop();
onEnterFrame = function () {
if ((_root.title._currentframe == 167) && (_root.goable == 0)) {
_root.goable = 1;
music = new Sound(this);
music.attachSound("MUSIC_MENU");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
}
};
stop();
Instance of Symbol 66 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = 100;
this.unloadMovie();
}
}
Instance of Symbol 68 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = _root.shield + 20;
this.unloadMovie();
}
}
Instance of Symbol 116 MovieClip in Frame 2
onClipEvent (enterFrame) {
gotoAndStop(_root.goable + 1);
}
Instance of Symbol 117 MovieClip in Frame 2
onClipEvent (load) {
_root.kongregateStats.submit("Score", _root.score);
_root.kongregateStats.submit("Stage", _root.stage);
_root.kongregateStats.submit("Not dead yet", _root.nodie);
_root.kongregateStats.submit("Winning streak", _root.nodiescore);
}
Frame 3
_root.kongregateServices.connect();
_root.kongregateStats.submit("Gamecomplete", 0);
stop();
Instance of Symbol 183 MovieClip in Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_root.gameclear + 1);
}
Instance of Symbol 356 MovieClip "copter" in Frame 3
onClipEvent (load) {
blah = 0;
invin = 0;
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
}
Instance of Symbol 363 MovieClip in Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_root.scheme);
}
Frame 4
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 1;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC1_1");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 4
onClipEvent (load) {
timer = 150;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 4
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 5
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 415 MovieClip "ground" in Frame 5
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 5
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 5
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Instance of Symbol 474 MovieClip "orig" in Frame 5
onClipEvent (load) {
i = 0;
timery = 0;
_alpha = 60;
}
onClipEvent (enterFrame) {
i++;
timery--;
if (((_root.death == false) && (_root.win == false)) && (timery < 1)) {
this.duplicateMovieClip("smok" + i, i + 14000);
_root["smok" + i]._x = _root.copter._x - 30;
_root["smok" + i]._y = _root.copter._y;
timery = 6;
}
}
onClipEvent (enterFrame) {
if (_name == "orig") {
this._visible = 0;
} else {
this.gotoAndStop(Math.round(21 - (((_xscale + _yscale) / 2) / 5)));
_y = (_y - 3);
_x = (_x - _root.ground.speed);
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
if ((((_currentframe == 18) || (_xscale <= 0)) || (_yscale <= 0)) || (!this.hitTest(_root.camFrame))) {
removeMovieClip(this);
}
}
}
Frame 6
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 2;
stop();
Instance of Symbol 186 MovieClip in Frame 6
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 6
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 7
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 487 MovieClip "ground" in Frame 7
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 7
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 7
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 8
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 3;
stop();
Instance of Symbol 186 MovieClip in Frame 8
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 8
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 9
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 496 MovieClip "ground" in Frame 9
onClipEvent (enterFrame) {
speed = 4;
}
Instance of Symbol 356 MovieClip "copter" in Frame 9
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 9
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 10
_root.win = false;
_root.wcb = 5000;
_root.score = _root.score + _root.scoreb;
_root.bonus1 = _root.lives;
if (_root.bonus2 > 0) {
_root.bonus3 = false;
} else {
_root.bonus3 = true;
}
_root.bonus1b = _root.bonus1 * 2500;
_root.bonus2b = _root.bonus2 * -1000;
if (_root.bonus3 == false) {
_root.bonus3b = 0;
} else {
_root.bonus3b = 10000;
}
_root.scoreb = ((_root.bonus1b + _root.bonus2b) + _root.bonus3b) + _root.wcb;
_root.scored = _root.score + _root.scoreb;
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 406 MovieClip in Frame 10
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 11
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 4;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC2_1");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 11
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 522 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.char == 8) {
gotoAndStop (4);
}
if (_root.char == 9) {
gotoAndStop (2);
}
if (_root.char == 12) {
gotoAndStop (3);
}
}
Frame 12
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 531 MovieClip "ground" in Frame 12
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 12
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 12
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Instance of Symbol 533 MovieClip "orig" in Frame 12
onClipEvent (load) {
i = 0;
timery = 0;
_alpha = 60;
}
onClipEvent (enterFrame) {
i++;
timery--;
if (((_root.death == false) && (_root.win == false)) && (timery < 1)) {
this.duplicateMovieClip("smok" + i, i + 14000);
_root["smok" + i]._x = _root.copter._x - 30;
_root["smok" + i]._y = _root.copter._y;
timery = 6;
}
}
onClipEvent (enterFrame) {
if (_name == "orig") {
this._visible = 0;
} else {
this.gotoAndStop(Math.round(21 - (((_xscale + _yscale) / 2) / 5)));
_y = (_y - 3);
_x = (_x - _root.ground.speed);
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
if ((((_currentframe == 18) || (_xscale <= 0)) || (_yscale <= 0)) || (!this.hitTest(_root.camFrame))) {
removeMovieClip(this);
}
}
}
Frame 13
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 5;
stop();
Instance of Symbol 186 MovieClip in Frame 13
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 13
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 14
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 543 MovieClip "ground" in Frame 14
onClipEvent (load) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 14
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 14
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 15
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.stage = 6;
_root.win = false;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC2_3");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 15
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 403 MovieClip in Frame 15
onClipEvent (load) {
gotoAndStop(_root.char);
}
Frame 16
_root.bossnum = 1;
_root.bosshp = 3;
bosshitt = false;
_root.bossfight = true;
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 548 MovieClip in Frame 16
onClipEvent (enterFrame) {
_x = (_root.camFrame._x - 470);
_y = _root.camFrame._y;
}
Instance of Symbol 561 MovieClip "ground" in Frame 16
onClipEvent (enterFrame) {
if (_root.bossfight == false) {
speed = 5;
stuffspeed = 0;
} else {
speed = 0;
stuffspeed = 5;
}
}
onClipEvent (load) {
bah = 120;
doo = 0;
gah = 5;
i = 0;
j = 0;
}
onClipEvent (enterFrame) {
doo = random(2000);
if (((doo == 1000) && (_root.bosshp != 0)) && (!_root.win)) {
duplicateMovieClip (_root.ground.life, "MD" + j, 100 + j);
_root.ground["MD" + j]._x = 550;
_root.ground["MD" + j]._y = random(380) + 80;
j++;
}
bah--;
if (((bah < 0) && (_root.bosshp != 0)) && (!_root.win)) {
duplicateMovieClip (_root.ground.bad.rock, "MB" + i, i);
_root.ground.bad["MB" + i]._x = 1750;
_root.ground.bad["MB" + i]._y = random(380) + 170;
_root.ground.bad["MB" + i]._rotation = random(360);
_root.ground.bad["MB" + i].rotaty = 20 - random(40);
_root.ground.bad["MB" + i]._yspeed = 0;
if (gah < 1) {
_root.ground.bad["MB" + i].gotoAndStop(2);
gah = 5;
}
i++;
gah--;
bah = 90;
}
if (i > 10) {
i = 0;
}
if (j > 10) {
j = 0;
}
}
Instance of Symbol 356 MovieClip "copter" in Frame 16
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 573 MovieClip "boss" in Frame 16
onClipEvent (load) {
timer = 300;
tiimer = 30;
jumpheight = 23;
grav = 0;
hurted = false;
fallspeed = 1;
jumped = false;
wid = _width;
hei = _height;
}
onClipEvent (enterFrame) {
if (_root.death == false) {
timer--;
}
if (((timer > 1) && (jumped == false)) && (!hurted)) {
_root.yChange = Math.round(_root.copter._y - this._y);
_root.yMove = Math.round(_root.yChange / 8);
_y = (_y + _root.yMove);
gotoAndStop (1);
}
if (((timer < 0) && (tiimer > 0)) && (!hurted)) {
gotoAndStop (2);
tiimer--;
}
if (((tiimer < 1) && (jumped == false)) && (!hurted)) {
_x = (_x + 5);
grav = jumpheight;
jumped = true;
timer = 380;
tiimer = 30;
}
if ((grav > 0) && (!hurted)) {
gotoAndStop (3);
}
while (_root.ground.end.hitTest(_x - (wid / 2), _y - (hei / 2), true)) {
_x = (_x + 1);
jumped = false;
grav = 0;
}
if ((!_root.ground.end.hitTest(_x - (wid / 2), _y - (hei / 2), true)) && (!hurted)) {
grav = grav - fallspeed;
}
if (!hurt) {
_x = (_x + grav);
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 16
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
_ynorm = _y;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 17
_root.win = false;
_root.bossfight = false;
_root.wcb = 10000;
_root.score = _root.score + _root.scoreb;
_root.bonus1 = _root.lives;
if (_root.bonus2 > 0) {
_root.bonus3 = false;
} else {
_root.bonus3 = true;
}
_root.bonus1b = _root.bonus1 * 2500;
_root.bonus2b = _root.bonus2 * -1000;
if (_root.bonus3 == false) {
_root.bonus3b = 0;
} else {
_root.bonus3b = 20000;
}
_root.scoreb = ((_root.bonus1b + _root.bonus2b) + _root.bonus3b) + _root.wcb;
_root.scored = _root.score + _root.scoreb;
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 406 MovieClip in Frame 17
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Instance of Symbol 533 MovieClip "orig" in Frame 17
onClipEvent (load) {
i = 0;
timery = 0;
_alpha = 60;
}
onClipEvent (enterFrame) {
i++;
timery--;
if (((_root.death == false) && (_root.win == false)) && (timery < 1)) {
this.duplicateMovieClip("smok" + i, i + 14000);
_root["smok" + i]._x = _root.copter._x - 30;
_root["smok" + i]._y = _root.copter._y;
timery = 6;
}
}
onClipEvent (enterFrame) {
if (_name == "orig") {
this._visible = 0;
} else {
this.gotoAndStop(Math.round(21 - (((_xscale + _yscale) / 2) / 5)));
_y = (_y - 3);
_x = (_x - _root.ground.speed);
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
if ((((_currentframe == 18) || (_xscale <= 0)) || (_yscale <= 0)) || (!this.hitTest(_root.camFrame))) {
removeMovieClip(this);
}
}
}
Frame 18
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 7;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC3_1");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 18
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Frame 19
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 592 MovieClip "ground" in Frame 19
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 19
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 19
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Instance of Symbol 474 MovieClip "orig" in Frame 19
onClipEvent (load) {
i = 0;
timery = 0;
_alpha = 60;
}
onClipEvent (enterFrame) {
i++;
timery--;
if (((_root.death == false) && (_root.win == false)) && (timery < 1)) {
this.duplicateMovieClip("smok" + i, i + 14000);
_root["smok" + i]._x = _root.copter._x - 30;
_root["smok" + i]._y = _root.copter._y;
timery = 6;
}
}
onClipEvent (enterFrame) {
if (_name == "orig") {
this._visible = 0;
} else {
this.gotoAndStop(Math.round(21 - (((_xscale + _yscale) / 2) / 5)));
_y = (_y - 3);
_x = (_x - _root.ground.speed);
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
if ((((_currentframe == 18) || (_xscale <= 0)) || (_yscale <= 0)) || (!this.hitTest(_root.camFrame))) {
removeMovieClip(this);
}
}
}
Frame 20
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 8;
_root.kongregateServices.connect();
_root.kongregateStats.submit("Win", 0);
stop();
Instance of Symbol 186 MovieClip in Frame 20
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 20
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 21
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 606 MovieClip "ground" in Frame 21
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 21
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 21
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Instance of Symbol 117 MovieClip in Frame 21
onClipEvent (load) {
_root.kongregateStats.submit("Score", _root.score);
_root.kongregateStats.submit("Stage", _root.stage);
_root.kongregateStats.submit("Not dead yet", _root.nodie);
_root.kongregateStats.submit("Winning streak", _root.nodiescore);
}
Frame 22
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 9;
stop();
Instance of Symbol 186 MovieClip in Frame 22
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 22
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 23
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 621 MovieClip "ground" in Frame 23
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 23
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 23
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 24
_root.win = false;
_root.wcb = 20000;
_root.score = _root.score + _root.scoreb;
_root.bonus1 = _root.lives;
if (_root.bonus2 > 0) {
_root.bonus3 = false;
} else {
_root.bonus3 = true;
}
_root.bonus1b = _root.bonus1 * 2500;
_root.bonus2b = _root.bonus2 * -1000;
if (_root.bonus3 == false) {
_root.bonus3b = 0;
} else {
_root.bonus3b = 30000;
}
_root.scoreb = ((_root.bonus1b + _root.bonus2b) + _root.bonus3b) + _root.wcb;
_root.scored = _root.score + _root.scoreb;
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 25
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 10;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC4_1");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 25
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Frame 26
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 654 MovieClip "ground" in Frame 26
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 26
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 26
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 27
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 11;
stop();
Instance of Symbol 186 MovieClip in Frame 27
onClipEvent (load) {
timer = 180;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
if (Key.isDown(32)) {
timer = 0;
}
}
onClipEvent (mouseDown) {
timer = 0;
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 28
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 661 MovieClip "ground" in Frame 28
onClipEvent (enterFrame) {
speed = 7.5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 28
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 28
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 29
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 12;
stop();
Instance of Symbol 186 MovieClip in Frame 29
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 30
_root.score = Math.round(_root.score);
_root.ground.pass = "a";
stop();
Instance of Symbol 689 MovieClip "ground" in Frame 30
onClipEvent (load) {
google = _x;
speed = 3;
if (_root.on2 == true) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
_root.pass = pass;
}
Instance of Symbol 356 MovieClip "copter" in Frame 30
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 30
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 31
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.on2 = false;
_root.stage = 13;
stop();
Instance of Symbol 186 MovieClip in Frame 31
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 31
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 32
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 699 MovieClip "ground" in Frame 32
onClipEvent (enterFrame) {
speed = 4;
}
Instance of Symbol 356 MovieClip "copter" in Frame 32
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 32
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 33
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.stage = 14;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC4_5");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 33
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 33
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 34
_root.bossnum = 2;
_root.bosshp = 5;
bosshitt = true;
_root.bossfight = true;
_root.score = Math.round(_root.score);
_root.shield = 60;
stop();
Instance of Symbol 430 MovieClip "bomb" in Frame 34
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
if ((_name != "bomb") && (_currentframe == 1)) {
_y = (_y + grav);
grav = grav + 0.4;
}
if (_name == "bomb") {
_visible = false;
}
}
Instance of Symbol 706 MovieClip "ground" in Frame 34
onClipEvent (enterFrame) {
if (_root.bossfight == false) {
speed = 5;
stuffspeed = 0;
} else {
speed = 0;
stuffspeed = 5;
}
}
onClipEvent (load) {
bah = 120;
doo = 0;
gah = 5;
i = 0;
j = 0;
}
onClipEvent (enterFrame) {
doo = random(1000);
if (((doo == 5000) && (_root.bosshp != 0)) && (!_root.win)) {
duplicateMovieClip (_root.ground.life, "MD" + j, 100 + j);
_root.ground["MD" + j]._x = 550;
_root.ground["MD" + j]._y = random(380) + 80;
j++;
}
bah--;
if (((bah < 0) && (_root.bosshp != 0)) && (!_root.win)) {
duplicateMovieClip (_root.ground.bad.rock, "MB" + i, i);
_root.ground.bad["MB" + i]._x = 2000;
_root.ground.bad["MB" + i]._y = random(380) + 170;
_root.ground.bad["MB" + i]._yspeed = 0;
i++;
bah = 3 * (15 + (10 * _root.bosshp));
}
if (i > 10) {
i = 0;
}
if (j > 10) {
j = 0;
}
}
Instance of Symbol 739 MovieClip "boss" in Frame 34
onClipEvent (load) {
timer = 90;
tiimer = 30;
grav = 0;
hurted = false;
fallspeed = 1;
jumped = false;
wid = _width;
hei = _height;
}
onClipEvent (enterFrame) {
if (_root.death == false) {
timer--;
}
if (_root.bosshp < 0) {
_root.bosshp = 0;
}
if ((timer < 1) && (_currentframe == 1)) {
timer = 90;
play();
}
}
Instance of Symbol 356 MovieClip "copter" in Frame 34
onClipEvent (load) {
blah = 0;
invin = 40;
a = 1;
bombwait = 0;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
bombwait--;
if (((Key.isDown(32) && (bombwait < 1)) && (_root.death == false)) && (!hold)) {
duplicateMovieClip (_root.bomb, "hittor" + a, 2000 + a);
_root["hittor" + a]._x = _x + 10;
_root["hittor" + a]._y = _y;
a++;
if (a > 10) {
a = 1;
}
bombwait = 30;
}
if (Key.isDown(32)) {
hold = true;
} else {
hold = false;
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield > 0)) || ((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield > 0))) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if (((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 34
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
_ynorm = _y;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 35
_root.win = false;
_root.wcb = 30000;
_root.score = _root.score + _root.scoreb;
_root.bonus1 = _root.lives;
if (_root.bonus2 > 0) {
_root.bonus3 = false;
} else {
_root.bonus3 = true;
}
_root.bonus1b = _root.bonus1 * 5000;
_root.bonus2b = _root.bonus2 * -1000;
if (_root.bonus3 == false) {
_root.bonus3b = 0;
} else {
_root.bonus3b = 50000;
}
_root.scoreb = ((_root.bonus1b + _root.bonus2b) + _root.bonus3b) + _root.wcb;
_root.scored = _root.score + _root.scoreb;
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 406 MovieClip in Frame 35
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Instance of Symbol 474 MovieClip "orig" in Frame 35
onClipEvent (load) {
i = 0;
timery = 0;
_alpha = 60;
}
onClipEvent (enterFrame) {
i++;
timery--;
if (((_root.death == false) && (_root.win == false)) && (timery < 1)) {
this.duplicateMovieClip("smok" + i, i + 14000);
_root["smok" + i]._x = _root.copter._x - 30;
_root["smok" + i]._y = _root.copter._y;
timery = 6;
}
}
onClipEvent (enterFrame) {
if (_name == "orig") {
this._visible = 0;
} else {
this.gotoAndStop(Math.round(21 - (((_xscale + _yscale) / 2) / 5)));
_y = (_y - 3);
_x = (_x - _root.ground.speed);
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
if ((((_currentframe == 18) || (_xscale <= 0)) || (_yscale <= 0)) || (!this.hitTest(_root.camFrame))) {
removeMovieClip(this);
}
}
}
Frame 36
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 15;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC5_1");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
stop();
Instance of Symbol 186 MovieClip in Frame 36
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Frame 37
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 764 MovieClip "ground" in Frame 37
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 37
onClipEvent (load) {
blah = 0;
invin = 40;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah + 0.4;
}
} else if (blah < 15) {
blah = blah - 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y - 20, true) && (_root.ground.good.hitTest(_x + 25, _y - 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 37
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 38
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 16;
stop();
Instance of Symbol 186 MovieClip in Frame 38
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 38
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 39
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 773 MovieClip "ground" in Frame 39
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 39
onClipEvent (load) {
blah = 0;
invin = 40;
a = 1;
bombwait = 0;
scay = _yscale;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (_root.ground.gravnorm.hitTest(_x, _y, true)) {
_yscale = scay;
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (_root.ground.gravabnorm.hitTest(_x, _y, true)) {
_yscale = (-scay);
if (bvar == true) {
if (blah < 15) {
blah = blah + 0.4;
}
} else if (blah > -15) {
blah = blah - 0.4;
}
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
bombwait--;
if (((Key.isDown(32) && (bombwait < 1)) && (_root.death == false)) && (!hold)) {
duplicateMovieClip (_root.bomb, "hittor" + a, 2000 + a);
_root["hittor" + a]._x = _x + 10;
_root["hittor" + a]._y = _y;
a++;
if (a > 10) {
a = 1;
}
bombwait = 30;
}
if (Key.isDown(32)) {
hold = true;
} else {
hold = false;
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield > 0)) || ((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield > 0))) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if (((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 39
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 40
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 17;
stop();
Instance of Symbol 186 MovieClip in Frame 40
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 40
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 41
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 779 MovieClip "ground" in Frame 41
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 41
onClipEvent (load) {
blah = 0;
invin = 40;
doodad = 0;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if ((_root.death == false) && (_root.win == false)) {
doodad--;
_alpha = (_alpha - 12.5);
}
if ((_root.death == true) || (_root.win == true)) {
_alpha = 100;
}
if (doodad < 1) {
_alpha = 100;
doodad = 24;
}
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
if (_root.boss.hit.hitTest(this.hit) && (_root.shield > 0)) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if ((_root.boss.hit.hitTest(this.hit) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 41
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 42
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.stage = 18;
stop();
Instance of Symbol 186 MovieClip in Frame 42
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 42
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 43
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 791 MovieClip "ground" in Frame 43
onClipEvent (enterFrame) {
speed = 5;
}
Instance of Symbol 356 MovieClip "copter" in Frame 43
onClipEvent (load) {
blah = 0;
invin = 40;
a = 1;
bombwait = 0;
scay = _yscale;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (_root.ground.gravnorm.hitTest(_x, _y, true)) {
_yscale = scay;
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (_root.ground.gravabnorm.hitTest(_x, _y, true)) {
_yscale = (-scay);
if (bvar == true) {
if (blah < 15) {
blah = blah + 0.4;
}
} else if (blah > -15) {
blah = blah - 0.4;
}
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
bombwait--;
if (((Key.isDown(32) && (bombwait < 1)) && (_root.death == false)) && (!hold)) {
duplicateMovieClip (_root.bomb, "hittor" + a, 2000 + a);
_root["hittor" + a]._x = _x + 10;
_root["hittor" + a]._y = _y;
a++;
if (a > 10) {
a = 1;
}
bombwait = 30;
}
if (Key.isDown(32)) {
hold = true;
} else {
hold = false;
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield > 0)) || ((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield > 0))) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if (((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 43
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 44
_root.win = false;
_root.score = _root.score + _root.scoreb;
_root.scoreb = 0;
_root.score = Math.round(_root.score);
_root.distance = 0;
_root.shakeycam = 0;
music.stop();
music = new Sound(this);
music.attachSound("MUSIC5_5");
music.start(0, 888888);
if (_root.sound == 1) {
music.setVolume(100);
} else {
music.setVolume(0);
}
_root.stage = 19;
stop();
Instance of Symbol 186 MovieClip in Frame 44
onClipEvent (load) {
timer = 90;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.play();
}
}
Instance of Symbol 406 MovieClip in Frame 44
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 45
_root.bossnum = 3;
_root.bosshp = 6;
_root.bossstun = 0;
bosshitt = false;
_root.bossfight = true;
_root.score = Math.round(_root.score);
_root.shield = 0;
stop();
Instance of Symbol 438 MovieClip "bomb" in Frame 45
onClipEvent (load) {
xspeed = 15;
}
onClipEvent (enterFrame) {
if ((_name != "bomb") && (_currentframe == 1)) {
_x = (_x + xspeed);
}
if (_name == "bomb") {
_visible = false;
}
if (this.hitTest(_root.end3) || (_currentframe == 11)) {
removeMovieClip(this);
}
}
Instance of Symbol 811 MovieClip "ground" in Frame 45
onClipEvent (enterFrame) {
if (_root.bossfight == false) {
speed = 3;
stuffspeed = 0;
} else {
speed = 0;
stuffspeed = 3;
}
}
onClipEvent (load) {
bah = 120;
doo = 0;
gah = 5;
i = 0;
j = 0;
}
onClipEvent (enterFrame) {
doo = random(1000);
if (((doo == 5000) && (_root.bosshp != 0)) && (!_root.win)) {
duplicateMovieClip (_root.ground.life, "MD" + j, 100 + j);
_root.ground["MD" + j]._x = 550;
_root.ground["MD" + j]._y = random(380) + 80;
j++;
}
bah--;
if (((bah < 0) && (_root.bosshp != 0)) && (!_root.win)) {
duplicateMovieClip (_root.ground.bad.rock, "MB" + i, i);
_root.ground.bad["MB" + i]._x = 2000;
_root.ground.bad["MB" + i]._y = random(380) + 170;
_root.ground.bad["MB" + i]._yspeed = 0;
i++;
bah = 3 * (15 + (10 * _root.bosshp));
}
if (i > 10) {
i = 0;
}
if (j > 10) {
j = 0;
}
}
Instance of Symbol 904 MovieClip "boss" in Frame 45
onClipEvent (load) {
timer = 90;
tiimer = 30;
opener = true;
grav = 0;
hurted = false;
fallspeed = 1;
jumped = false;
wid = _width;
hei = _height;
stuffdone = 0;
}
onClipEvent (enterFrame) {
if ((_root.death == false) && (_currentframe == 1)) {
timer--;
}
if (_root.bosshp < 0) {
_root.bosshp = 0;
}
if ((((timer < 1) && (opener == true)) && (_currentframe == 1)) || ((((timer < 1) && (stuffdone > (5 - Math.round(_root.bosshp / 2)))) && (_currentframe == 1)) && (_root.death == false))) {
opener = false;
timer = 60;
gotoAndStop ("suck");
} else if ((((opener == false) && (timer < 1)) && (_currentframe == 1)) && (_root.death == false)) {
stuffdone++;
timer = 60;
gotoAndStop(random(2) + 3);
}
}
Instance of Symbol 906 MovieClip "missile" in Frame 45
onClipEvent (enterFrame) {
_x = (_x - 5);
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
if (this.hit.hitTest(_root.copter.hit)) {
_root.death = true;
_root.copter.gotoAndPlay("death");
}
}
onClipEvent (enterFrame) {
_root.yChange = Math.round(_root.copter._y - _y);
_root.yMove = Math.round(_root.yChange / 40);
_y = (_y + _root.yMove);
}
Instance of Symbol 356 MovieClip "copter" in Frame 45
onClipEvent (load) {
blah = 0;
invin = 40;
a = 1;
bombwait = 0;
}
onClipEvent (mouseDown) {
if (_root.scheme == "mouse") {
bvar = true;
}
}
onClipEvent (mouseUp) {
if (_root.scheme == "mouse") {
bvar = false;
}
}
onClipEvent (enterFrame) {
if (_root.scheme == "button") {
if (Key.isDown(65)) {
bvar = true;
} else {
bvar = false;
}
}
}
onClipEvent (enterFrame) {
if (invin < 2) {
if (bvar == true) {
if (blah > -15) {
blah = blah - 0.4;
}
} else if (blah < 15) {
blah = blah + 0.4;
}
}
if (invin > 1) {
invin--;
}
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
if (((!_root.win) && (invin < 2)) && (!_root.death)) {
_y = (_y + blah);
if (_root.bossfight == false) {
_root.scoreb = _root.scoreb + 10;
}
}
if (_root.ground.good.hitTest(_x, _y + 20, true) && (_root.ground.good.hitTest(_x + 25, _y + 20, true))) {
_root.win = true;
blah = 0;
_root.ground._x = _root.ground._x + _root.ground.speed;
_root.kill._x = _root.kill._x + _root.ground.speed;
}
if ((_root.shield > 9) && (!_root.death)) {
if (((_root.ground.bad.hitTest(_x - 45, _y, true) || (_root.ground.bad.hitTest(_x, _y - 25, true))) || (_root.ground.bad.hitTest(_x, _y + 20, true))) || (_root.ground.bad.hitTest(_x + 25, _y, true))) {
_root.shield--;
_root.scoreb = _root.scoreb - 20;
}
}
if (!_root.death) {
if (((_root.kill.hitTest(_x - 45, _y, true) || (_root.kill.hitTest(_x, _y - 25, true))) || (_root.kill.hitTest(_x, _y + 20, true))) || (_root.kill.hitTest(_x + 25, _y, true))) {
_root.shield = 0;
}
}
if (_root.shield > 9) {
waity = 30;
}
if (_root.shield < 10) {
waity--;
}
if (waity < 1) {
_root.shield = 0;
}
if (_root.shield < 0) {
_root.shield = 0;
}
if (_root.shield > 100) {
_root.shield = 100;
}
bombwait--;
if ((Key.isDown(32) && (bombwait < 1)) && (_root.death == false)) {
duplicateMovieClip (_root.bomb, "hittor" + a, 2000 + a);
_root["hittor" + a]._x = _x + 20;
_root["hittor" + a]._y = _y;
a++;
if (a > 10) {
a = 1;
}
bombwait = 7;
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield > 0)) || ((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield > 0))) {
if (_root.boss.hit.setting == "set") {
_root.shield = _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "minus") {
_root.shield = _root.shield - _root.boss.hit.dmg;
}
if (_root.boss.hit.setting == "demi") {
_root.shield = _root.shield * _root.boss.hit.dmg;
}
}
if (((_root.boss.hit.hitTest(this.hit) && (_root.bosshitt == false)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if (((_root.boss.hit.hitt.hitTest(this.hit) && (_root.bosshitt == true)) && (_root.shield == 0)) && (!_root.death)) {
_root.death = true;
_root.shakeycam = 20;
gotoAndPlay ("death");
}
if ((((((!_root.death) && (!_root.ground.bad.hitTest(_x - 45, _y, true))) && (!_root.ground.bad.hitTest(_x, _y - 25, true))) && (!_root.ground.bad.hitTest(_x, _y + 20, true))) && (!_root.ground.bad.hitTest(_x + 25, _y, true))) || (_root.shield > 0)) {
_root.ground._x = _root.ground._x - _root.ground.speed;
} else if (((_currentframe != ("character" + _root.char)) && (!_root.death)) && (_root.shield == 0)) {
_root.death = true;
_root.shakeycam = 10;
gotoAndPlay ("death");
}
}
Instance of Symbol 472 MovieClip "camFrame" in Frame 45
onClipEvent (load) {
sht = 0;
done1 = false;
updown = false;
_ynorm = _y;
}
onClipEvent (enterFrame) {
this._xscale = 100;
this._yscale = this._xscale;
if (_root.death == true) {
messages.gotoAndStop(2);
}
if (_root.win == true) {
messages.gotoAndStop(3);
}
sht--;
if ((sht < 0) && (updown == true)) {
_root.shakeycam = _root.shakeycam * -0.8;
done1 = true;
updown = false;
sht = 1;
}
if ((sht < 0) && (updown == false)) {
updown = true;
_root.shakeycam = _root.shakeycam * -1;
done1 = true;
sht = 1;
}
if (done1 == true) {
_y = (_y + (_root.shakeycam * 2));
} else {
_y = (_y + _root.shakeycam);
}
if ((_root.shakeycam < 0.2) && (_root.shakeycam > -0.2)) {
_root.shakeycam = 0;
}
}
Frame 46
_root.kongregateStats.submit("Gamecomplete", 1);
_root.win = false;
_root.wcb = 50000;
_root.score = _root.score + _root.scoreb;
_root.bonus1 = _root.lives;
if (_root.bonus2 > 0) {
_root.bonus3 = false;
} else {
_root.bonus3 = true;
}
_root.bonus1b = _root.bonus1 * 10000;
_root.bonus2b = _root.bonus2 * -1000;
if (_root.bonus3 == false) {
_root.bonus3b = 0;
} else {
_root.bonus3b = 100000 /* 0x0186A0 */;
}
_root.scoreb = ((_root.bonus1b + _root.bonus2b) + _root.bonus3b) + _root.wcb;
_root.scored = _root.score + _root.scoreb;
_root.score = Math.round(_root.score);
stop();
Instance of Symbol 406 MovieClip in Frame 46
onClipEvent (load) {
lives = _root.lives;
}
onClipEvent (enterFrame) {
lives = _root.lives;
}
Frame 47
_root.gameclear = 1;
_root.savefilea.data.gameclear = _root.gameclear;
_root.kongregateScores.submit(_root.score);
stop();
Instance of Symbol 186 MovieClip in Frame 47
/* no clip actions */
Frame 107
_root.char = 2;
_root.scheme = "mouse";
_root.shield = 0;
_root.goto = 14;
Frame 108
_root.score = _root.score + _root.scoreb;
music.stop();
_root.kongregateScores.submit(_root.score);
Instance of Symbol 186 MovieClip in Frame 108
/* no clip actions */
Symbol 29 Button
on (keyPress "m") {
if (_root.sound == 0) {
_root.sound = 1;
_root.music.setVolume(100);
} else if (_root.sound == 1) {
_root.sound = 0;
_root.music.setVolume(0);
}
}
Symbol 43 Button
on (release) {
getURL ("http://www.gameprison.com", "_blank");
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 180
_root.play();
Symbol 59 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
c._visible = false;
f._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 64 Button
on (release) {
_root.gotoAndStop("debug");
}
Symbol 80 Button
on (press) {
getURL ("http://nukebros.reiku.org", "_blank");
}
Symbol 102 MovieClip Frame 35
stop();
Symbol 103 MovieClip Frame 167
stop();
Symbol 110 Button
on (release) {
_root.play();
}
Symbol 115 Button
on (press) {
_root.getURL("http://www.gameprison.com", "_blank");
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 120 Button
on (rollOver) {
_root.scheme = "none";
_root.char = 0;
}
Symbol 124 Button
on (release) {
_root.gotoAndStop("home");
}
Symbol 128 Button
on (rollOver) {
_root.scheme = "button";
_root.char = 2;
}
on (release) {
_root.char = 2;
_root.scheme = "button";
_root.ok.play();
}
Symbol 131 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 1;
}
on (release) {
_root.char = 1;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 134 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 8;
}
on (release) {
_root.char = 8;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 137 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 13;
}
on (release) {
_root.char = 13;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 140 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 4;
}
on (release) {
_root.char = 4;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 143 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 12;
}
on (release) {
_root.char = 12;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 146 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 3;
}
on (release) {
_root.scheme = "mouse";
_root.char = 3;
_root.ok.play();
}
Symbol 149 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 11;
}
on (release) {
_root.char = 11;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 152 Button
on (rollOver) {
_root.scheme = "button";
_root.char = 7;
}
on (release) {
_root.char = 7;
_root.scheme = "button";
_root.ok.play();
}
Symbol 155 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 9;
}
on (release) {
_root.char = 9;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 158 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 5;
}
on (release) {
_root.char = 5;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 161 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 6;
}
on (release) {
_root.char = 6;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 162 Button
on (release) {
_root.char = 2;
_root.play();
}
Symbol 163 Button
on (release) {
_root.char = 1;
_root.play();
}
Symbol 168 Button
on (release) {
_root.char = 3;
_root.play();
}
Symbol 182 Button
on (rollOver) {
_root.scheme = "mouse";
_root.char = 10;
}
on (release) {
_root.char = 10;
_root.scheme = "mouse";
_root.ok.play();
}
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
if (_root.aku > 0) {
_root.crash._alpha = 50;
_root.crash.gotoAndPlay(21);
_root.aku = _root.aku - 1;
vakuaku1 = new Sound(this);
vakuaku1.attachSound("vakuaku");
vakuaku1.start(0, 1);
}
Symbol 186 MovieClip Frame 42
_root.crash._alpha = 100;
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 192 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 195 MovieClip Frame 1
stop();
Instance of Symbol 194 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 195 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 218 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 192 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 219 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 225 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 192 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 226 MovieClip Frame 1
stop();
Instance of Symbol 225 MovieClip in Symbol 226 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 226 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 231 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Instance of Symbol 192 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 231 MovieClip Frame 2
stop();
Instance of Symbol 192 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 232 MovieClip Frame 1
stop();
Instance of Symbol 231 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 232 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Instance of Symbol 192 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 247 MovieClip Frame 2
stop();
Instance of Symbol 192 MovieClip in Symbol 247 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 248 MovieClip Frame 1
stop();
Instance of Symbol 247 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 248 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 254 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Instance of Symbol 192 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 254 MovieClip Frame 2
stop();
Instance of Symbol 192 MovieClip in Symbol 254 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 255 MovieClip Frame 1
stop();
Instance of Symbol 254 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 255 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 272 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Instance of Symbol 192 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 272 MovieClip Frame 2
stop();
Instance of Symbol 192 MovieClip in Symbol 272 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 273 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 273 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 286 MovieClip Frame 1
stop();
Instance of Symbol 278 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Symbol 286 MovieClip Frame 2
stop();
Symbol 287 MovieClip Frame 1
stop();
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 287 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 290 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Symbol 290 MovieClip Frame 2
stop();
Instance of Symbol 192 MovieClip in Symbol 290 MovieClip Frame 2
onClipEvent (enterFrame) {
stop();
}
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 290 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 291 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 299 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Symbol 299 MovieClip Frame 2
stop();
Instance of Symbol 192 MovieClip in Symbol 299 MovieClip Frame 2
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 192 MovieClip in Symbol 299 MovieClip Frame 2
onClipEvent (enterFrame) {
stop();
}
Symbol 300 MovieClip Frame 1
stop();
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 300 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 304 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 304 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 192 MovieClip in Symbol 304 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 305 MovieClip Frame 1
stop();
Instance of Symbol 304 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 305 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 311 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
_parent.play();
}
}
Instance of Symbol 309 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 309 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 309 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 312 MovieClip Frame 1
stop();
Instance of Symbol 311 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 312 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 354 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Instance of Symbol 192 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
play();
} else {
stop();
}
}
Symbol 355 MovieClip Frame 1
stop();
Instance of Symbol 354 MovieClip in Symbol 355 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.blah < 3) && (_parent._parent.blah > -3)) {
_rotation = (_parent._parent.blah * 3);
}
}
Symbol 355 MovieClip Frame 13
if (_parent.invin > 15) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 356 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 356 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Instance of Symbol 207 MovieClip in Symbol 356 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.shield + 1);
}
Symbol 356 MovieClip Frame 3
_root.lives--;
_root.win = false;
_root.bonus2 = _root.bonus2 + 1;
Symbol 356 MovieClip Frame 35
if (_root.m > 100) {
_root.m = 0;
}
_root.markspwn = true;
Symbol 356 MovieClip Frame 37
_root.markspwn = false;
Symbol 356 MovieClip Frame 44
stop();
Symbol 356 MovieClip Frame 45
stop();
Instance of Symbol 219 MovieClip in Symbol 356 MovieClip Frame 45
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Instance of Symbol 207 MovieClip in Symbol 356 MovieClip Frame 45
onClipEvent (enterFrame) {
gotoAndStop(_root.shield + 1);
}
Symbol 356 MovieClip Frame 46
stop();
Instance of Symbol 226 MovieClip in Symbol 356 MovieClip Frame 46
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 47
stop();
Symbol 356 MovieClip Frame 48
stop();
Instance of Symbol 232 MovieClip in Symbol 356 MovieClip Frame 48
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Instance of Symbol 207 MovieClip in Symbol 356 MovieClip Frame 48
onClipEvent (enterFrame) {
gotoAndStop(_root.shield + 1);
}
Symbol 356 MovieClip Frame 49
stop();
Instance of Symbol 248 MovieClip in Symbol 356 MovieClip Frame 49
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 50
stop();
Instance of Symbol 255 MovieClip in Symbol 356 MovieClip Frame 50
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 51
stop();
Instance of Symbol 273 MovieClip in Symbol 356 MovieClip Frame 51
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 52
stop();
Instance of Symbol 287 MovieClip in Symbol 356 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 53
stop();
Instance of Symbol 291 MovieClip in Symbol 356 MovieClip Frame 53
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 54
stop();
Instance of Symbol 300 MovieClip in Symbol 356 MovieClip Frame 54
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 55
stop();
Instance of Symbol 305 MovieClip in Symbol 356 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 56
stop();
Instance of Symbol 312 MovieClip in Symbol 356 MovieClip Frame 56
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 356 MovieClip Frame 57
stop();
Instance of Symbol 355 MovieClip in Symbol 356 MovieClip Frame 57
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent.invin > 15)) {
play();
}
}
Symbol 384 Button
on (release) {
gotoAndStop (1);
}
Symbol 385 Button
on (release) {
play();
}
Symbol 387 MovieClip Frame 1
stop();
Instance of Symbol 356 MovieClip "copter" in Symbol 387 MovieClip Frame 6
onClipEvent (load) {
blah = 0;
invin = 0;
}
onClipEvent (enterFrame) {
if (!_root.death) {
gotoAndStop("character" + _root.char);
}
}
Instance of Symbol 363 MovieClip in Symbol 387 MovieClip Frame 10
onClipEvent (enterFrame) {
gotoAndStop(_root.scheme);
}
Instance of Symbol 379 MovieClip in Symbol 387 MovieClip Frame 12
onClipEvent (load) {
gotoAndStop(_root.char);
}
Symbol 387 MovieClip Frame 21
stop();
Symbol 387 MovieClip Frame 63
_root.play();
Instance of Symbol 403 MovieClip in Symbol 406 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
Instance of Symbol 403 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 2
stop();
Symbol 430 MovieClip Frame 37
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 11
stop();
Instance of Symbol 430 MovieClip "bomb" in Symbol 439 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.copter.bombwait < 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 438 MovieClip in Symbol 439 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.bombwait < 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 438 MovieClip in Symbol 439 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.bombwait < 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 439 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.bossnum);
}
Symbol 456 MovieClip Frame 7
if (_root._currentframe != 5) {
_root.nodie = 0;
_root.nodiescore = 0;
}
if ((_root.bosshp == 1) && (_root.bossfight == true)) {
comment = new Sound(this);
comment.attachSound("NOOOOO");
comment.start(0, 1);
} else if (_root._currentframe == 30) {
comment = new Sound(this);
comment.attachSound("sequence?");
comment.start(0, 1);
} else {
comment = new Sound(this);
comment.attachSound("FAIL" + random(4));
comment.start(0, 1);
}
stop();
Symbol 458 Button
on (release) {
_root.death = false;
_root.scoreb = 0;
_root.prevFrame();
}
Symbol 459 MovieClip Frame 56
if (_root.lives < 1) {
_root.gotoAndStop("gameover");
} else {
play();
}
Symbol 459 MovieClip Frame 69
stop();
Symbol 462 Button
on (release) {
_root.win = false;
_root.gotoAndStop("home");
}
Symbol 463 Button
on (release) {
_root.win = false;
_root.gotoAndStop("gameover");
}
Symbol 464 MovieClip Frame 69
stop();
Symbol 467 MovieClip Frame 7
stop();
if (_root.nodie == 1) {
_root.nodiescore++;
}
if (((_root._currentframe != 14) && (_root._currentframe != 26)) && (_root._currentframe != 32)) {
comment = new Sound(this);
comment.attachSound("h" + random(7));
comment.start(0, 1);
} else if (_root._currentframe == 43) {
comment = new Sound(this);
comment.attachSound("h8");
comment.start(0, 1);
} else if (_root._currentframe == 45) {
comment = new Sound(this);
comment.attachSound("LEGEND");
comment.start(0, 1);
}
Symbol 469 Button
on (release) {
_root.win = false;
_root.nextFrame();
}
Symbol 470 MovieClip Frame 69
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 471 MovieClip Frame 3
stop();
Symbol 472 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
c._visible = false;
f._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 406 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (load) {
lives = _root.lives;
_parent.sco = _root.score + _root.scoreb;
}
onClipEvent (enterFrame) {
lives = _root.lives;
_parent.sco = _root.score + _root.scoreb;
}
Instance of Symbol 444 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (load) {
if (!_root.bossfight) {
_visible = false;
}
hp = _root.bosshp;
}
onClipEvent (enterFrame) {
if (!_root.bossfight) {
_visible = false;
}
hp = _root.bosshp;
}
Instance of Symbol 450 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndPlay(_root.shield + 1);
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_y > (_root.copter._y + 130)) {
_y = (_y - 0.5);
} else {
_y = (_y + 0.5);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_y > (_root.copter._y + 130)) {
_y = (_y - 1.5);
} else {
_y = (_y + 1.5);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_y > (_root.copter._y + 130)) {
_y = (_y - 2.5);
} else {
_y = (_y + 2.5);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - 3);
if (this.hitTest(_parent.top)) {
_y = (_y + 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - 3);
if (this.hitTest(_parent.top)) {
_y = (_y + 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - 3);
if (this.hitTest(_parent.top)) {
_y = (_y + 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - 3);
if (this.hitTest(_parent.top)) {
_y = (_y + 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - 3);
if (this.hitTest(_parent.top)) {
_y = (_y + 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - 3);
if (this.hitTest(_parent.top)) {
_y = (_y + 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 3);
if (this.hitTest(_parent.bottom)) {
_y = (_y - 600);
}
}
Instance of Symbol 403 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit) && (!collected)) {
_root.lives = _root.lives + 1;
collected = true;
this.unloadMovie();
}
}
Instance of Symbol 68 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = _root.shield + 20;
this.unloadMovie();
}
}
Symbol 509 Button
on (release) {
_root.scoreb = 0;
_root.bonus1 = 0;
_root.bonus2 = 0;
_root.bonus3 = false;
_root.score = _root.scored;
_root.nextFrame();
}
Symbol 510 MovieClip Frame 69
stop();
Symbol 522 MovieClip Frame 1
stop();
Instance of Symbol 527 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 527 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 529 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
bah = 0;
}
onClipEvent (enterFrame) {
bah = bah + 0.05;
_y = ((120 * Math.sin(bah)) + 300);
}
Instance of Symbol 529 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
bah = 45;
}
onClipEvent (enterFrame) {
bah = bah + 0.025;
_y = ((120 * Math.sin(bah)) + 300);
}
Instance of Symbol 529 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
bah = 0;
}
onClipEvent (enterFrame) {
bah = bah + 0.025;
_y = ((120 * Math.sin(bah)) + 300);
}
Instance of Symbol 527 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.win) {
_rotation = (_rotation - 1.25);
}
}
Instance of Symbol 541 MovieClip in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.speed = _root.ground.speed + 0.15;
}
}
Instance of Symbol 541 MovieClip in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.speed = _root.ground.speed - 0.15;
}
}
Symbol 556 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 2
_root.shakeycam = 2;
Symbol 556 MovieClip Frame 30
_root.camFrame._y = _root.camFrame._ynorm;
stop();
Symbol 557 MovieClip Frame 1
stop();
Symbol 557 MovieClip Frame 2
stop();
Instance of Symbol 556 MovieClip in Symbol 557 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.hit) && (_currentframe == 1)) {
play();
_root.boss.hurted = true;
_root.boss.gotoAndStop("hurt");
}
}
Instance of Symbol 557 MovieClip "rock" in Symbol 558 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - _root.ground.stuffspeed);
_rotation = (_rotation + rotaty);
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
if (_currentframe == 2) {
_y = (_y + _yspeed);
}
}
Instance of Symbol 403 MovieClip "life" in Symbol 561 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
_x = (_x - _root.ground.stuffspeed);
}
Symbol 572 MovieClip Frame 1
_root.bosshp--;
_root.scoreb = _root.scoreb + 2500;
Symbol 572 MovieClip Frame 26
if (_root.bosshp != 0) {
_parent.hurted = false;
if (_root.bosshp == 1) {
comment = new Sound(this);
comment.attachSound("sweatin");
comment.start(0, 1);
}
_parent.gotoAndStop(1);
} else {
gotoAndPlay (27);
}
Symbol 572 MovieClip Frame 50
_root.bossfight = false;
stop();
Symbol 573 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip "hit" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
setting = "set";
dmg = 5;
}
Symbol 573 MovieClip Frame 2
stop();
Symbol 573 MovieClip Frame 3
stop();
Symbol 573 MovieClip Frame 4
stop();
hp--;
Instance of Symbol 403 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 403 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 68 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = _root.shield + 20;
this.unloadMovie();
}
}
Instance of Symbol 599 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y - 25, true) || (this.hitTest(_root.copter._x, _root.copter._y - 25, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y - 25, true))) {
_root.copter._y = _root.copter._y + 450;
}
}
Instance of Symbol 601 MovieClip in Symbol 606 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y, true) || (this.hitTest(_root.copter._x, _root.copter._y + 15, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y + 15, true))) {
_root.copter._y = _root.copter._y - 460;
}
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Instance of Symbol 527 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2.5);
}
Instance of Symbol 403 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 612 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = _root.shield + 50;
this.unloadMovie();
}
}
Instance of Symbol 614 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y - 25, true) || (this.hitTest(_root.copter._x, _root.copter._y - 25, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y - 25, true))) {
_root.copter._y = _root.copter._y + 450;
}
}
Instance of Symbol 616 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y, true) || (this.hitTest(_root.copter._x, _root.copter._y + 15, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y + 15, true))) {
_root.copter._y = _root.copter._y - 460;
}
}
Symbol 638 MovieClip Frame 87
_root.ground.bad.play();
Symbol 638 MovieClip Frame 94
_root.ground.bad.play();
Symbol 645 MovieClip Frame 1
stop();
Instance of Symbol 647 MovieClip in Symbol 654 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y - 25, true) || (this.hitTest(_root.copter._x, _root.copter._y - 25, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y - 25, true))) {
_root.copter._y = _root.copter._y + 450;
}
}
Instance of Symbol 649 MovieClip in Symbol 654 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y, true) || (this.hitTest(_root.copter._x, _root.copter._y + 15, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y + 15, true))) {
_root.copter._y = _root.copter._y - 460;
}
}
Instance of Symbol 403 MovieClip in Symbol 654 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 403 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 670 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ground.pass == "aababac") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 682 MovieClip Frame 4
stop();
Instance of Symbol 670 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ground.pass == "abacdcaba") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 689 MovieClip Frame 1
stop();
Instance of Symbol 403 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 541 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.speed = _root.ground.speed + 0.1;
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 541 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.speed = _root.ground.speed - 0.125;
}
}
Instance of Symbol 674 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y - 25, true) || (this.hitTest(_root.copter._x, _root.copter._y - 25, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y - 25, true))) {
_root.copter._y = _root.copter._y + 450;
}
}
Instance of Symbol 676 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y, true) || (this.hitTest(_root.copter._x, _root.copter._y + 15, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y + 15, true))) {
_root.copter._y = _root.copter._y - 460;
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.ground._x = _root.ground.google;
_root.ground.pass = "a";
_root.ground.play();
}
}
Symbol 689 MovieClip Frame 3
_root.on2 = true;
stop();
Instance of Symbol 403 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 541 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.speed = _root.ground.speed + 0.035;
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 541 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.speed = _root.ground.speed - 0.05;
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "d";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "a";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "b";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "c";
this.unloadMovie();
}
}
Instance of Symbol 117 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.copter.hit.hitTest(this)) {
_root.ground.pass = _root.ground.pass + "d";
this.unloadMovie();
}
}
Instance of Symbol 674 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y - 25, true) || (this.hitTest(_root.copter._x, _root.copter._y - 25, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y - 25, true))) {
_root.copter._y = _root.copter._y + 450;
}
}
Instance of Symbol 676 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y, true) || (this.hitTest(_root.copter._x, _root.copter._y + 15, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y + 15, true))) {
_root.copter._y = _root.copter._y - 460;
}
}
Instance of Symbol 68 MovieClip in Symbol 699 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = _root.shield + 20;
this.unloadMovie();
}
}
Instance of Symbol 403 MovieClip in Symbol 699 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 704 MovieClip "rock" in Symbol 705 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - _root.ground.stuffspeed);
_rotation = (_rotation + rotaty);
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
}
Instance of Symbol 403 MovieClip "life" in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
_x = (_x - _root.ground.stuffspeed);
}
Symbol 714 MovieClip Frame 7
_parent.gotoAndStop(3);
Symbol 725 MovieClip Frame 1
stop();
Instance of Symbol 717 MovieClip in Symbol 725 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 11) {
if (_root["hittor" + i].hitTest(this) && (_root["hittor" + i]._currentframe == 1)) {
_root["hittor" + i].gotoAndPlay(3);
_parent._parent.damage = 1;
_parent.gotoAndPlay(2);
}
i++;
}
}
Instance of Symbol 724 MovieClip in Symbol 725 MovieClip Frame 2
onClipEvent (enterFrame) {
i = 1;
while (i < 11) {
if (_root["hittor" + i].hitTest(this) && (_root["hittor" + i]._currentframe == 1)) {
_root["hittor" + i].gotoAndPlay(3);
_parent._parent.damage = 2;
_root.score = _root.score + 3000;
_parent.gotoAndPlay(2);
}
i++;
}
}
Symbol 725 MovieClip Frame 4
stop();
Instance of Symbol 725 MovieClip "hit" in Symbol 726 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.yChange = Math.round(((_root.copter._y * 1.3) - (_parent._y + _y)) - 420);
_root.yMove = Math.round(_root.yChange / _root.bosshp);
_y = (_y + _root.yMove);
}
Symbol 726 MovieClip Frame 8
stop();
Symbol 727 MovieClip Frame 122
stop();
Symbol 736 MovieClip Frame 35
stop();
Symbol 738 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 119
if (hitt.hit._currentframe != 1) {
_root.bosshp = _root.bosshp - hitt.damage;
gotoAndPlay ("hurt");
}
Symbol 738 MovieClip Frame 125
_parent.gotoAndStop(1);
Symbol 738 MovieClip Frame 127
_root.scoreb = _root.scoreb + 5000;
Symbol 738 MovieClip Frame 149
if (_root.bosshp > 0) {
if (_root.bosshp == 2) {
comment = new Sound(this);
comment.attachSound("sweatin");
comment.start(0, 1);
}
if (_root.bosshp == 1) {
comment = new Sound(this);
comment.attachSound("steady");
comment.start(0, 1);
}
_parent.gotoAndStop(1);
}
Symbol 738 MovieClip Frame 289
_root.bossfight = false;
Symbol 738 MovieClip Frame 298
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 2
stop();
Symbol 739 MovieClip Frame 3
stop();
Instance of Symbol 726 MovieClip in Symbol 739 MovieClip Frame 3
onClipEvent (load) {
_parent.aimed = 0;
time = 15 + (15 * _root.bosshp);
}
onClipEvent (enterFrame) {
_parent.aimed = hit._y;
time--;
if (time < 1) {
_parent.play();
}
}
Symbol 739 MovieClip Frame 4
stop();
Instance of Symbol 738 MovieClip "hit" in Symbol 739 MovieClip Frame 4
onClipEvent (load) {
time = (15 + (_root.bosshp * 10)) / 2;
this.hitt._y = _parent.aimed;
setting = "minus";
dmg = 3;
}
onClipEvent (enterFrame) {
time--;
this.hitt._y = _parent.aimed;
if ((time < 1) && (_currentframe == 1)) {
play();
}
}
Instance of Symbol 760 MovieClip in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2.5);
}
Instance of Symbol 760 MovieClip in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 760 MovieClip in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 403 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 403 MovieClip in Symbol 773 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 403 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 612 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.shield = _root.shield + 50;
this.unloadMovie();
}
}
Instance of Symbol 403 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
}
Symbol 809 MovieClip Frame 1
stop();
Instance of Symbol 704 MovieClip "rock" in Symbol 810 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - _root.ground.stuffspeed);
_rotation = (_rotation + rotaty);
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
}
Instance of Symbol 403 MovieClip "life" in Symbol 811 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.char);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.lives = _root.lives + 1;
this.unloadMovie();
}
if (this.hitTest(_root.ground.end2)) {
removeMovieClip(this);
}
_x = (_x - _root.ground.stuffspeed);
}
Instance of Symbol 614 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y - 25, true) || (this.hitTest(_root.copter._x, _root.copter._y - 25, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y - 25, true))) {
_root.copter._y = _root.copter._y + 450;
}
}
Instance of Symbol 616 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.copter._x - 45, _root.copter._y, true) || (this.hitTest(_root.copter._x, _root.copter._y + 15, true))) || (this.hitTest(_root.copter._x + 20, _root.copter._y + 15, true))) {
_root.copter._y = _root.copter._y - 460;
}
}
Symbol 824 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 1
stop();
Instance of Symbol 829 MovieClip in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
if (_root.bosshp != 6) {
_visible = false;
}
}
Symbol 858 MovieClip Frame 7
stop();
Instance of Symbol 117 MovieClip in Symbol 858 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
_root.copter._x = _root.copter._x + (0.5 - (_root.bosshp / 20));
}
}
Instance of Symbol 117 MovieClip in Symbol 858 MovieClip Frame 7
onClipEvent (load) {
_root.bossstun = 0;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 11) {
if (_root["hittor" + i].hitTest(this) && (_root["hittor" + i]._currentframe == 1)) {
_root["hittor" + i].gotoAndPlay(3);
_root.bossstun++;
_parent.head.play();
}
i++;
}
if (_root.bossstun > (12 - _root.bosshp)) {
_parent.gotoAndPlay("hurt");
} else if (_root.death == true) {
_parent.play();
}
}
Symbol 858 MovieClip Frame 32
_parent.gotoAndStop(1);
Symbol 858 MovieClip Frame 33
_root.bosshp--;
_root.scoreb = _root.scoreb + 10000;
Symbol 858 MovieClip Frame 58
if (_root.bosshp > 0) {
if (_root.bosshp == 2) {
comment = new Sound(this);
comment.attachSound("sweatin");
comment.start(0, 1);
}
if (_root.bosshp == 1) {
comment = new Sound(this);
comment.attachSound("steady");
comment.start(0, 1);
}
_root.boss.stuffdone = 0;
_parent.gotoAndStop(1);
}
Symbol 858 MovieClip Frame 86
_root.bossfight = false;
Symbol 858 MovieClip Frame 158
stop();
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 90
stop();
Symbol 867 MovieClip Frame 1
stop();
Instance of Symbol 866 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.boss.lasers.lasercharge / 2) < 91) {
gotoAndStop(Math.round(_root.boss.lasers.lasercharge / 2));
}
}
Instance of Symbol 829 MovieClip in Symbol 888 MovieClip Frame 1
onClipEvent (load) {
if (_root.bosshp != 6) {
_visible = false;
}
}
Symbol 888 MovieClip Frame 7
stop();
Instance of Symbol 117 MovieClip in Symbol 888 MovieClip Frame 7
onClipEvent (load) {
_root.bossstun = 0;
}
onClipEvent (enterFrame) {
i = 1;
while (i < 11) {
if (_root["hittor" + i].hitTest(this) && (_root["hittor" + i]._currentframe == 1)) {
_root["hittor" + i].gotoAndPlay(3);
_root.bossstun++;
_parent.belly.play();
}
i++;
}
if (_root.bossstun > 5) {
_parent.gotoAndPlay("hurt");
} else if (_root.boss.lasers.lasercharge > 200) {
_parent.play();
}
if (_root.death == true) {
_parent._parent.gotoAndStop(1);
}
_root.boss.lasers.lasercharge = _root.boss.lasers.lasercharge + (2 - (_root.bosshp / 6));
}
Symbol 888 MovieClip Frame 13
_root.ground.bad.lazor.play();
_root.shakeycam = 5;
Symbol 888 MovieClip Frame 32
_parent.gotoAndStop(1);
Symbol 888 MovieClip Frame 33
_root.scoreb = _root.scoreb + 3000;
Symbol 888 MovieClip Frame 59
_parent.gotoAndStop(1);
Symbol 893 MovieClip Frame 19
stop();
Instance of Symbol 102 MovieClip in Symbol 903 MovieClip Frame 31
onClipEvent (load) {
a = 0;
timer = 0;
}
onClipEvent (enterFrame) {
timer--;
if ((a < (9 - _root.bosshp)) && (timer < 1)) {
duplicateMovieClip (_root.missile, "sile" + a, 3000 + a);
_root["sile" + a]._x = _root.boss._x - 30;
_root["sile" + a]._y = _root.boss._y - 100;
a++;
timer = 6;
}
if (a > 10) {
a = 1;
}
}
Symbol 903 MovieClip Frame 74
_parent.gotoAndStop(1);
Symbol 903 MovieClip Frame 75
_root.scoreb = _root.scoreb + 3000;
Symbol 903 MovieClip Frame 101
_parent.gotoAndStop(1);
Symbol 904 MovieClip Frame 1
stop();
Instance of Symbol 117 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 11) {
if (_root["hittor" + i].hitTest(this) && (_root["hittor" + i]._currentframe == 1)) {
_root["hittor" + i].gotoAndPlay(3);
}
i++;
}
}
Instance of Symbol 824 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.copter.hit)) {
play();
_root.death = true;
_root.copter.gotoAndPlay("death");
}
}
Symbol 904 MovieClip Frame 2
stop();
Symbol 904 MovieClip Frame 3
_root.boss.stuffdone++;
stop();
Instance of Symbol 888 MovieClip "lasers" in Symbol 904 MovieClip Frame 3
onClipEvent (load) {
lasercharge = 0;
}
Symbol 904 MovieClip Frame 4
_root.boss.stuffdone++;
stop();
Instance of Symbol 903 MovieClip "missiles" in Symbol 904 MovieClip Frame 4
onClipEvent (load) {
lasercharge = 0;
}
Symbol 925 Button
on (press) {
getURL ("http://www.gameprison.com", "_blank");
}
Symbol 940 Button
on (release) {
if (_root.goto > 1) {
_root.goto--;
}
}
Symbol 941 Button
on (release) {
if (_root.goto < 19) {
_root.goto++;
}
}
Symbol 942 Button
on (release) {
if (_root.char > 1) {
_root.char--;
}
}
Symbol 943 Button
on (release) {
if (_root.char < 12) {
_root.char++;
}
}
Symbol 944 Button
on (release) {
if (_root.scheme != "button") {
_root.scheme = "button";
}
}
Symbol 945 Button
on (release) {
if (_root.scheme != "mouse") {
_root.scheme = "mouse";
}
}
Symbol 949 Button
on (release) {
_root.gotoAndStop("stage" + _root.goto);
}
Symbol 951 Button
on (release) {
if (_root.shield == 100) {
_root.shield = 50;
} else if (_root.shield == 50) {
_root.shield = 20;
} else if (_root.shield == 20) {
_root.shield = 0;
}
}
Symbol 952 Button
on (release) {
if (_root.shield == 0) {
_root.shield = 20;
} else if (_root.shield == 20) {
_root.shield = 50;
} else if (_root.shield == 50) {
_root.shield = 100;
}
}