Frame 2
Stage.showMenu = eval (false)();
fscommand ("showMenu", false);
Stage.scaleMode = "exactFit";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
} else {
gotoAndPlay (1);
}
Frame 3
SoundOn = true;
playSound = function (sound) {
if (_root.SoundOn == true) {
_root.SoundFX.gotoAndPlay(sound);
}
};
level = 0;
Instance of Symbol 50 MovieClip "Player" in Frame 4
onClipEvent (load) {
NumT = 0;
}
onClipEvent (enterFrame) {
_root.attachMovie("Trail", "Trail" + NumT, NumT);
_root["Trail" + NumT]._x = _x - 53;
_root["Trail" + NumT]._y = _y;
_root["Trail" + NumT].vel = 0;
_root["Trail" + NumT].onEnterFrame = function () {
this.vel++;
this._x = this._x - this.vel;
};
NumT++;
if (NumT > 50) {
NumT = 0;
}
}
Instance of Symbol 50 MovieClip "Player" in Frame 222
onClipEvent (load) {
NumT = 0;
}
onClipEvent (enterFrame) {
_root.attachMovie("Trail", "Trail" + NumT, NumT);
_root["Trail" + NumT]._x = _x - 53;
_root["Trail" + NumT]._y = _y;
_root["Trail" + NumT].vel = 0;
_root["Trail" + NumT].onEnterFrame = function () {
this.vel++;
this._x = this._x - this.vel;
};
NumT++;
if (NumT > 50) {
NumT = 0;
}
}
Frame 223
stop();
alphaButton.inner.gotoAndStop("End");
startOver = 1;
timePlusE = 25;
lifePlus = 5;
Instance of Symbol 75 MovieClip in Frame 223
onClipEvent (enterFrame) {
if (_root.SoundOn == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 224
stopAllSounds();
playSound("strauss");
gravity = 0.5;
score = 0;
pumpk = 0;
stop();
vCOEF = 1;
vCOEF2 = 1;
lifer = lifePlus;
timeE = 1500;
timePlus = timePlusE;
tutDone = true;
Instance of Symbol 87 MovieClip in Frame 224
onClipEvent (enterFrame) {
_x = (_x - (1 * _root.vCOEF));
if (_x <= -550) {
_x = -40;
}
}
Instance of Symbol 91 MovieClip in Frame 224
onClipEvent (enterFrame) {
_x = (_x - (2 * _root.vCOEF));
if (_x <= -20) {
_x = 600;
}
}
Instance of Symbol 93 MovieClip in Frame 224
onClipEvent (enterFrame) {
_x = (_x - (2 * _root.vCOEF));
if (_x <= -20) {
_x = 600;
}
}
Instance of Symbol 95 MovieClip in Frame 224
onClipEvent (enterFrame) {
_x = (_x - (2 * _root.vCOEF));
if (_x <= -20) {
_x = 600;
}
}
Instance of Symbol 106 MovieClip in Frame 224
onClipEvent (load) {
velocityx = 3;
velocityy = 0;
startvelx = _x;
CoEF = 1;
_y = (Math.random() * 300);
respawns = 1;
heightSave = _height;
NumT = 100;
}
onClipEvent (enterFrame) {
_x = (_x - ((velocityx * respawns) * _root.vCOEF));
velocityy = velocityy + ((_root.gravity * CoEF) * _root.vCOEF2);
_y = (_y + (velocityy * _root.vCOEF2));
if (_y >= (375 - (heightSave / 2))) {
velocityy = velocityy * -1;
CoEF = 0;
} else {
CoEF = 1;
}
_root.attachMovie("Trail", "Trail" + NumT, NumT);
_root["Trail" + NumT]._x = _x;
_root["Trail" + NumT]._y = _y;
NumT++;
if (NumT > 150) {
NumT = 100;
}
if (this.hitTest(_root.Player.hitBox)) {
_root.life = _root.life - 30;
_root.lifer--;
_root.attachMovie("BOOM", "B1", 401);
_root.B1._x = _x;
_root.B1._y = _y;
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
if (_x <= -10) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
}
Instance of Symbol 50 MovieClip "Player" in Frame 224
onClipEvent (load) {
velocity = 0;
acceleration = 1.8;
engine = 0;
CoEF1 = 1;
CoEF2 = 1;
_root.life = 200;
NumT = 0;
heightSave = 20;
}
onClipEvent (enterFrame) {
_root.timeE--;
_root.timeLeft = Math.round(_root.timeE / 30);
if (_root.timeE == 0) {
_root.lifer = 0;
}
if ((_root.tutDone == true) || (_root.level > 0)) {
_root.vCOEF = 1 + (_root.life / 70);
}
if (Key.isDown(32)) {
_root.vCOEF = 0.3;
_root.vCOEF2 = 0.3;
} else {
_root.vCOEF2 = 1;
}
_rotation = velocity;
_root.attachMovie("Trail", "Trail" + NumT, NumT);
_root["Trail" + NumT]._x = _x - 53;
_root["Trail" + NumT]._y = _y;
_root["Trail" + NumT].vel = 0;
_root["Trail" + NumT].onEnterFrame = function () {
this.vel++;
this._x = this._x - this.vel;
};
NumT++;
if (NumT > 50) {
NumT = 0;
}
_root.life = _root.life - 0.4;
if (_root.life <= 0) {
_root.life = 0;
}
if (_root.lifer <= 0) {
_root.gotoAndStop("gameOver");
}
velocity = velocity + (0.5 * CoEF2);
if (engine) {
velocity = velocity - (acceleration * CoEF1);
}
_y = (_y + velocity);
if (_y <= (_height / 2)) {
if (velocity < 0) {
velocity = velocity / -2;
}
CoEF1 = 0;
} else {
CoEF1 = 1;
}
if (_y >= (375 - (heightSave / 2))) {
if (velocity > 0) {
velocity = velocity / -2;
}
CoEF2 = 0;
} else {
CoEF2 = 1;
}
}
onClipEvent (mouseDown) {
engine = 1;
}
onClipEvent (mouseUp) {
engine = 0;
}
Instance of Symbol 110 MovieClip "Shine1" in Frame 224
onClipEvent (enterFrame) {
_y = _root.Player._y;
if (_root.Player._alpha <= 100) {
_alpha = _root.Player._alpha;
}
}
Instance of Symbol 112 MovieClip in Frame 224
onClipEvent (load) {
velocityx = 4;
velocityy = 0;
startvelx = _x;
CoEF = 1;
_y = (Math.random() * 300);
respawns = 1;
heightSave = _height;
}
onClipEvent (enterFrame) {
_x = (_x - ((velocityx * respawns) * _root.vCOEF));
velocityy = velocityy + ((_root.gravity * CoEF) * _root.vCOEF2);
_y = (_y + (velocityy * _root.vCOEF2));
if (_y >= (375 - (heightSave / 2))) {
velocityy = velocityy * -1;
CoEF = 0;
} else {
CoEF = 1;
}
if (this.hitTest(_root.Player.hitBox)) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
_root.life = _root.life + 25;
if (_root.life >= 100) {
_root.life = 100;
}
_root.pumpk++;
_root.timeE = _root.timeE + _root.timePlus;
_root.score = _root.score + 10;
}
if (_x <= -10) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
}
Instance of Symbol 106 MovieClip in Frame 224
onClipEvent (load) {
velocityx = 3;
velocityy = 0;
startvelx = _x;
CoEF = 1;
_y = (Math.random() * 300);
respawns = 1;
heightSave = _height;
NumT = 160;
}
onClipEvent (enterFrame) {
_x = (_x - ((velocityx * respawns) * _root.vCOEF));
velocityy = velocityy + ((_root.gravity * CoEF) * _root.vCOEF2);
_y = (_y + (velocityy * _root.vCOEF2));
if (_y >= (375 - (heightSave / 2))) {
velocityy = velocityy * -1;
CoEF = 0;
} else {
CoEF = 1;
}
_root.attachMovie("Trail", "Trail" + NumT, NumT);
_root["Trail" + NumT]._x = _x;
_root["Trail" + NumT]._y = _y;
NumT++;
if (NumT > 210) {
NumT = 160;
}
if (this.hitTest(_root.Player.hitBox)) {
_root.life = _root.life - 30;
_root.lifer--;
_root.attachMovie("BOOM", "B1", 401);
_root.B1._x = _x;
_root.B1._y = _y;
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
if (_x <= -10) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
}
Instance of Symbol 115 MovieClip in Frame 224
onClipEvent (enterFrame) {
if (_root.lifer < 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 115 MovieClip in Frame 224
onClipEvent (enterFrame) {
if (_root.lifer < 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 115 MovieClip in Frame 224
onClipEvent (enterFrame) {
if (_root.lifer < 3) {
this.gotoAndStop(2);
}
}
Instance of Symbol 115 MovieClip in Frame 224
onClipEvent (enterFrame) {
if (_root.lifer < 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 115 MovieClip in Frame 224
onClipEvent (enterFrame) {
if (_root.lifer < 5) {
this.gotoAndStop(2);
}
}
Instance of Symbol 112 MovieClip in Frame 224
onClipEvent (load) {
velocityx = 4;
velocityy = 0;
startvelx = _x;
CoEF = 1;
_y = (Math.random() * 300);
respawns = 1;
heightSave = _height;
}
onClipEvent (enterFrame) {
_x = (_x - ((velocityx * respawns) * _root.vCOEF));
velocityy = velocityy + ((_root.gravity * CoEF) * _root.vCOEF2);
_y = (_y + (velocityy * _root.vCOEF2));
if (_y >= (375 - (heightSave / 2))) {
velocityy = velocityy * -1;
CoEF = 0;
} else {
CoEF = 1;
}
if (this.hitTest(_root.Player.hitBox)) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
_root.life = _root.life + 25;
if (_root.life >= 100) {
_root.life = 100;
}
_root.pumpk++;
_root.timeE = _root.timeE + _root.timePlus;
_root.score = _root.score + 10;
}
if (_x <= -10) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
}
Instance of Symbol 112 MovieClip in Frame 224
onClipEvent (load) {
velocityx = 4;
velocityy = 0;
startvelx = _x;
CoEF = 1;
_y = (Math.random() * 300);
respawns = 1;
heightSave = _height;
}
onClipEvent (enterFrame) {
_x = (_x - ((velocityx * respawns) * _root.vCOEF));
velocityy = velocityy + ((_root.gravity * CoEF) * _root.vCOEF2);
_y = (_y + (velocityy * _root.vCOEF2));
if (_y >= (375 - (heightSave / 2))) {
velocityy = velocityy * -1;
CoEF = 0;
} else {
CoEF = 1;
}
if (this.hitTest(_root.Player.hitBox)) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
_root.life = _root.life + 25;
if (_root.life >= 100) {
_root.life = 100;
}
_root.pumpk++;
_root.timeE = _root.timeE + _root.timePlus;
_root.score = _root.score + 10;
}
if (_x <= -10) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
}
Instance of Symbol 112 MovieClip in Frame 224
onClipEvent (load) {
velocityx = 4;
velocityy = 0;
startvelx = _x;
CoEF = 1;
_y = (Math.random() * 300);
respawns = 1;
heightSave = _height;
}
onClipEvent (enterFrame) {
_x = (_x - ((velocityx * respawns) * _root.vCOEF));
velocityy = velocityy + ((_root.gravity * CoEF) * _root.vCOEF2);
_y = (_y + (velocityy * _root.vCOEF2));
if (_y >= (375 - (heightSave / 2))) {
velocityy = velocityy * -1;
CoEF = 0;
} else {
CoEF = 1;
}
if (this.hitTest(_root.Player.hitBox)) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
_root.life = _root.life + 25;
if (_root.life >= 100) {
_root.life = 100;
}
_root.pumpk++;
_root.timeE = _root.timeE + _root.timePlus;
_root.score = _root.score + 10;
}
if (_x <= -10) {
if (respawns < 2) {
respawns = respawns + 0.05;
}
_x = startvelx;
_visible = true;
_y = (Math.random() * 300);
velocityy = 0;
}
}
Frame 225
startOver = 1;
stopAllSounds();
playSound("beat");
Frame 226
startOver = 1;
Symbol 27 MovieClip [BOOM] Frame 36
unloadMovie (this);
Symbol 29 MovieClip [Trail] Frame 15
unloadMovie (this);
Instance of Symbol 31 MovieClip "Bar" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
widthkeep = _width;
}
onClipEvent (enterFrame) {
_width = (widthkeep * (_root.getBytesLoaded() / _root.getBytesTotal()));
}
Symbol 43 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 62 Button
on (release) {
play();
}
Symbol 63 Button
on (release) {
gotoAndStop ("Instr");
}
Symbol 66 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 73 Button
on (release) {
if (_root.SoundOn == true) {
_root.SoundOn = false;
stopAllSounds();
} else {
_root.SoundOn = true;
if (_root.lifer > 0) {
_root.playSound("strauss");
}
}
}
Symbol 82 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 13
gotoAndStop (1);
Symbol 122 MovieClip Frame 25
gotoAndStop (1);
Symbol 125 Button
on (release) {
gotoAndStop ("Start");
}
Symbol 126 Button
on (release) {
gotoAndStop ("Menu");
}