Frame 1
ifFrameLoaded (210) {
gotoAndPlay (18);
}
Instance of Symbol 2 MovieClip in Frame 1
onClipEvent (mouseDown) {
stopAllSounds();
_root.gotoAndPlay(20);
}
Frame 5
gotoAndPlay (1);
Frame 18
stop();
Frame 20
numEnemy = 4;
i = 3;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
score = 0;
damage = 1000;
anusdamage = 1000;
Instance of Symbol 17 MovieClip "mainColon" in Frame 20
onClipEvent (load) {
colon.duplicateMovieClip("colon2", 1000);
colon2._x = colon._x + colon._width;
colonStartx = this._x;
colonSpeed = 25;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart == true) {
this._x = this._x - colonSpeed;
if ((colonStartx - colon._width) >= this._x) {
this._x = colonStartx - colonSpeed;
}
}
}
Instance of Symbol 24 MovieClip "mainGround" in Frame 20
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 1000);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 20;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart == true) {
this._x = this._x - groundSpeed;
if ((groundStartx - ground._width) >= this._x) {
this._x = groundStartx - groundSpeed;
}
}
}
Instance of Symbol 26 MovieClip "spaceship" in Frame 20
onClipEvent (load) {
moveSpeed = 20;
_root.laser._visible = false;
laserCounter = 1;
laserRapid = 1;
scrollx = _root.mainGround.ground._width / 4;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.SHIFT)) {
laserRapid++;
_root.damage--;
if (_root.damage < 0) {
_root.damage = 0;
_root.gotoAndPlay("cumending");
}
_root.laser.duplicateMovieClip("laser" + laserRapid, laserRapid);
_root["laser" + laserRapid]._visible = true;
}
if (Key.isDown(Key.CONTROL) and (maxLasers >= laserCounter)) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(Key.LEFT)) {
this._x = this._x - moveSpeed;
}
if (Key.isDown(Key.DOWN)) {
this._y = this._y + moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y = this._y - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.RIGHT) {
scrollStart = false;
}
}
Instance of Symbol 29 MovieClip "laser" in Frame 20
onClipEvent (load) {
laserMoveSpeed = 30;
this._x = _root.spaceship._x + 100;
this._y = _root.spaceship._y;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (600 < this._x) {
_root.spaceship.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (_root.numEnemy >= i) {
if (this.hitTest(_root["enemy" + i])) {
_root.score = _root.score + 100;
if (6900 < _root.score) {
_root.gotoAndPlay("boss");
}
_root["enemy" + i].gotoAndPlay(2);
}
i++;
}
}
}
Instance of Symbol 37 MovieClip "enemy1" in Frame 20
onClipEvent (load) {
function reset() {
this._x = 600;
this._y = random(200) + 100;
enemySpeed = random(4) + 1;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
if (this._x < -10) {
reset();
}
if (this.hitTest(_root.spaceship)) {
_root.damage = _root.damage - 50;
if (_root.damage < 0) {
_root.damage = 0;
_root.gotoAndPlay("gameOver");
}
}
}
Frame 21
stop();
Frame 22
stopAllSounds();
play();
Frame 132
stop();
Frame 135
stopAllSounds();
Frame 210
stop();
Frame 214
stopAllSounds();
Frame 221
stop();
Instance of Symbol 63 MovieClip "spaceship" in Frame 221
onClipEvent (load) {
moveSpeed = 20;
_root.laser._visible = false;
laserCounter = 1;
laserRapid = 1;
scrollx = _root.mainGround.ground._width / 4;
scrollStart = false;
maxLasers = 2;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.SHIFT)) {
laserRapid++;
_root.damage--;
if (_root.damage < 0) {
_root.damage = 0;
_root.gotoAndPlay("cumending");
}
_root.laser.duplicateMovieClip("laser" + laserRapid, laserRapid);
_root["laser" + laserRapid]._visible = true;
}
if (Key.isDown(Key.CONTROL) and (maxLasers >= laserCounter)) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(Key.RIGHT)) {
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(Key.LEFT)) {
this._x = this._x - moveSpeed;
}
if (Key.isDown(Key.DOWN)) {
this._y = this._y + moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y = this._y - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.RIGHT) {
scrollStart = false;
}
}
Instance of Symbol 64 MovieClip "laser" in Frame 221
onClipEvent (load) {
laserMoveSpeed = 30;
this._x = _root.spaceship._x + 100;
this._y = _root.spaceship._y;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (600 < this._x) {
_root.spaceship.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (_root.numEnemy >= i) {
if (this.hitTest(_root["enemy" + i])) {
_root.score = _root.score + 100;
_root["enemy" + i].gotoAndPlay(2);
}
i++;
}
if (this.hitTest(_root.anus)) {
_root.anusdamage--;
if (_root.anusdamage < 0) {
_root.gotoAndPlay("winner");
}
}
}
}
Instance of Symbol 37 MovieClip "enemy1" in Frame 221
onClipEvent (load) {
function reset() {
this._x = 600;
this._y = random(200) + 100;
enemySpeed = random(4) + 1;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
if (this._x < -10) {
reset();
}
if (this.hitTest(_root.spaceship)) {
_root.damage = _root.damage - 50;
if (_root.damage < 0) {
_root.damage = 0;
_root.gotoAndPlay("gameOver");
}
}
}
Frame 225
stopAllSounds();
anusdamage = 0;
play();
Frame 287
stop();
Symbol 12 Button
on (release) {
stopAllSounds();
gotoAndPlay (20);
}
Symbol 21 Button
on (release) {
getURL ("http://www.severedheads.net", "_blank");
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 6
stop();
Symbol 49 Button
on (release) {
numEnemy = 0;
gotoAndPlay (20);
}
Symbol 61 Button
on (release) {
gotoAndPlay (20);
}