Combined Code
movieClip 11 {
}
movieClip 13 {
}
movieClip 25 {
}
movieClip 26 kidd {
}
movieClip 38 {
frame 32 {
_parent.gotoAndStop(2);
}
}
movieClip 41 {
}
movieClip 45 {
}
movieClip 46 swff {
frame 1 {
stop();
}
}
movieClip 50 {
}
movieClip 51 {
frame 4 {
stop();
}
}
movieClip 65 {
}
movieClip 66 mine {
frame 1 {
stop();
}
}
movieClip 68 {
}
movieClip 77 {
frame 22 {
_parent.gotoAndStop(1);
}
}
movieClip 78 trap {
frame 1 {
stop();
}
}
movieClip 83 {
}
movieClip 84 error {
}
movieClip 95 {
}
movieClip 97 {
}
movieClip 98 frames {
}
movieClip 106 {
}
movieClip 127 {
frame 44 {
remm = true;
}
}
movieClip 137 {
}
movieClip 138 cane {
frame 1 {
stop();
}
}
movieClip 141 {
}
movieClip 142 frank {
}
movieClip 145 {
}
movieClip 149 {
}
movieClip 152 {
}
movieClip 155 {
}
movieClip 156 dog {
frame 1 {
stop();
}
}
movieClip 157 frogshot {
}
movieClip 161 {
}
movieClip 164 {
}
movieClip 176 {
}
movieClip 177 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
movieClip 178 frog {
}
movieClip 180 {
}
movieClip 181 nut {
}
movieClip 186 {
}
movieClip 195 {
frame 1 {
stop();
}
frame 27 {
stop();
}
}
movieClip 196 squi {
}
movieClip 201 {
}
movieClip 202 {
}
movieClip 212 {
frame 1 {
_root._x += 1;
_root._y -= 1;
}
frame 2 {
_root._x -= 2;
_root._y -= 1;
}
frame 3 {
_root._x -= 1;
_root._y += 2;
}
frame 4 {
_root._x += 2;
_root._y += 1;
}
frame 5 {
_root._y -= 1;
}
frame 12 {
stop();
}
}
movieClip 214 {
frame 4 {
stop();
}
}
movieClip 215 asplode {
frame 1 {
stop();
}
}
movieClip 220 {
}
movieClip 222 {
}
movieClip 236 {
frame 1 {
stop();
}
}
movieClip 237 {
}
movieClip 238 foot {
}
movieClip 243 {
frame 1 {
stop();
}
}
movieClip 244 {
}
movieClip 245 fbear {
}
movieClip 260 {
frame 1 {
stop();
}
frame 37 {
shoot = true;
}
frame 43 {
gotoAndPlay(30);
}
}
movieClip 261 {
}
movieClip 262 sbear {
}
movieClip 264 pbullet {
}
movieClip 270 {
}
movieClip 277 {
frame 1 {
_root._x += 1;
_root._y -= 1;
}
frame 2 {
_root._x -= 2;
_root._y -= 1;
}
frame 3 {
_root._x -= 1;
_root._y += 2;
}
frame 4 {
_root._x += 2;
_root._y += 1;
}
frame 5 {
_root._y -= 1;
}
frame 6 {
_root._x += 1;
_root._y -= 1;
}
frame 7 {
_root._x -= 1;
_root._y += 1;
}
frame 8 {
_root._x += 1;
_root._y -= 1;
}
frame 9 {
_root._x -= 1;
_root._y += 1;
}
frame 12 {
stop();
}
}
movieClip 278 dcock {
frame 1 {
stop();
}
}
movieClip 281 {
}
movieClip 283 {
}
movieClip 284 {
frame 22 {
stop();
}
}
movieClip 285 testenom {
frame 1 {
stop();
}
}
movieClip 292 splatter {
}
movieClip 294 {
}
movieClip 295 coin {
frame 18 {
stop();
}
}
movieClip 297 {
}
movieClip 298 enshot {
}
movieClip 300 stump {
}
movieClip 310 {
}
movieClip 313 {
}
movieClip 322 {
}
movieClip 345 {
instance hitc of movieClip 13 {
onClipEvent (load) {
var av = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root['ch' + _root.act].hit)) {
yay = i;
if (av == true) {
--_root.plife;
--_root.dlife;
--_root.nlife;
_root.plose.gotoAndPlay(2);
_root.dlose.gotoAndPlay(2);
_root.nlose.gotoAndPlay(2);
av = false;
}
this._x += 10;
if (_root.act == 1) {
if (_root.plife < 1 && _root.dlife > 0 && _root.nlife > 0 || _root.plife < 1 && _root.dlife > 0 && _root.nlife < 1) {
_root.ic1.scaleup = -15;
act = 2;
_root.buffhurt = 0;
_root.ic2.play();
_root.ic2.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.plife < 1 && _root.dlife < 1 && _root.nlife > 0) {
_root.ic1.scaleup = -15;
act = 3;
_root.buffhurt = 0;
_root.ic3.play();
_root.ic3.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
if (_root.act == 2) {
if (_root.dlife < 1 && _root.plife > 0 && _root.nlife > 0 || _root.dlife < 1 && _root.plife < 1 && _root.nlife > 0) {
_root.ic2.scaleup = -15;
act = 3;
_root.buffhurt = 0;
_root.ic3.play();
_root.ic3.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.dlife < 1 && _root.plife > 0 && _root.nlife < 1) {
_root.ic2.scaleup = -15;
act = 1;
_root.buffhurt = 0;
_root.ic1.play();
_root.ic1.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
if (_root.act == 3) {
if (_root.nlife < 1 && _root.plife > 0 && _root.dlife > 0 || _root.nlife < 1 && _root.plife < 1 && _root.dlife < 1) {
_root.ic3.scaleup = -15;
act = 1;
_root.buffhurt = 0;
_root.ic1.play();
_root.ic1.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.nlife < 1 && _root.plife < 1 && _root.dlife > 0) {
_root.ic3.scaleup = -15;
act = 2;
_root.buffhurt = 0;
_root.ic2.play();
_root.ic2.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
}
}
}
frame 65 {
_parent.gotoAndStop(1);
}
}
movieClip 346 unicorn {
frame 1 {
stop();
}
}
movieClip 353 {
}
// unknown tag 88 length 143
movieClip 356 {
frame 1 {
_root._x += 4;
}
frame 2 {
_root._x -= 4;
}
frame 3 {
stop();
}
}
movieClip 365 {
}
movieClip 366 boar {
frame 1 {
stop();
}
}
movieClip 372 {
}
movieClip 373 bee {
}
movieClip 376 {
}
movieClip 379 {
}
movieClip 382 {
}
movieClip 384 {
}
movieClip 385 {
}
movieClip 386 {
frame 5 {
l1sms = new Sound(this);
l1sms.attachSound('col');
l1sms.setVolume(70);
l1sms.start(0, 0);
}
frame 31 {
stop();
}
}
movieClip 387 plifee {
frame 1 {
stop();
}
}
movieClip 390 {
}
movieClip 393 flamee {
}
movieClip 400 {
}
movieClip 403 {
}
movieClip 407 {
frame 19 {
_parent.gotoAndStop(1);
}
}
movieClip 408 ie {
frame 1 {
stop();
}
}
movieClip 410 {
frame 2 {
stop();
}
}
movieClip 411 {
}
movieClip 412 codee {
}
movieClip 420 {
frame 1 {
}
frame 11 {
stop();
}
}
movieClip 421 asplo {
}
movieClip 426 flashh {
frame 1 {
stop();
}
}
movieClip 430 fps {
frame 1 {
fps = 30;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
onEnterFrame = function () {
var v1 = new Date();
timepassed = v1.getMilliseconds() - lasttime >= 0 ? v1.getMilliseconds() - lasttime : 1000 + (v1.getMilliseconds() - lasttime);
fps = Math.round(10000 / timepassed) / 10;
lasttime = v1.getMilliseconds();
};
}
}
movieClip 432 cloud {
}
frame 1 {
function frames_en() {
_root.newObject = attachMovie('frames', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 700;
_root.newObject.speeed = 3;
_root.newObject.xturn = 0;
_root.newObject.xset = false;
_root.newObject.fall = 2;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject._xscale = 70;
_root.newObject._yscale = 70;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
if (this.xset == false) {
this.xturn = this._y + 10;
this.xset = true;
}
this.swapDepths(this._y);
if (this._y < this.xturn - 5) {
if (this.fall < 5) {
this.fall += 0.2;
}
}
if (this._y > this.xturn + 5) {
if (this.fall > -5) {
this.fall -= 0.2;
}
}
this._y += this.fall;
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
this.dead = true;
this.gotoAndStop(2);
}
if (this._x < -50 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x, this._y - 60);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function error_en() {
_root.newObject = attachMovie('error', 'testenom' + i, i, {'_x': 800, '_y': 420 - random(201)});
++i;
_root.newObject.health = 500;
_root.newObject.speeed = 7;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.deadrem == 1) {
}
if (this._x < -100 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x - 60, this._y - 30);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function swff_en() {
_root.newObject = attachMovie('swff', 'testenom' + i, i, {'_x': 750, '_y': 251});
++i;
_root.newObject.health = 500;
_root.newObject.speeed = 8;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject._xscale = 80;
_root.newObject._yscale = 80;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this._x > 655) {
this.nofly.gotoAndPlay(1);
}
if (this._x < 650) {
if (_root['ch' + act]._y + 10 < this._y + 5 && this.ymove > -2) {
this.ymove -= 0.5;
}
if (_root['ch' + act]._y + 10 > this._y - 5 && this.ymove < 2) {
this.ymove += 0.5;
}
if (_root['ch' + act]._y + 10 > this._y - 5 && _root['ch' + act]._y - 10 < this._y + 5) {
this.ymove = 0;
}
}
this._y += this.ymove;
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false || _root.remoo == true) {
_root.asplo(this._x, this._y - 10);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50) {
removeMovieClip(this);
}
};
}
function ie_en() {
_root.newObject = attachMovie('ie', 'unicorn' + i, i, {'_x': 800, '_y': 420 - random(201)});
++i;
_root.newObject.health = 1300;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.fall = 2;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
++this.shot;
if (this.shot == 11) {
this.gotoAndStop(2);
}
if (this.shot > 20 && this.dead == false) {
_root.codee_en(this._x - 160, this._y - 70);
this.shot = 0;
}
if (this._y < 300) {
if (this.fall < 2) {
this.fall += 0.3;
}
}
if (this._y > 450) {
if (this.fall > -2) {
this.fall -= 0.3;
}
}
this._y += this.fall;
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
this.dead = true;
}
if (this._x < 650) {
this.speeed *= 0.9;
}
if (this._x > 650) {
this.speeed += 0.5;
}
if (this.dead == true || _root.remoo == true) {
_root.wavenum = 50;
_root.wave = 0;
_root.asplo(this._x, this._y + 15 - (random(50) + 4));
_root.asplo(this._x, this._y + 15 - (random(50) + 4));
_root.asplo(this._x, this._y + 15 - (random(50) + 4));
this.removeMovieClip();
}
};
}
function codee_en(wuzz, wuzzz) {
_root.newObject = attachMovie('codee', 'testenom' + i, i, {'_x': wuzz, '_y': wuzzz});
++i;
_root.newObject.health = 100;
_root.newObject.speeed = 20;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this.speeed < 20) {
++this.speeed;
}
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.hitTest(_root.ch3.shield) && Key.isDown(83) && _root.act == 3) {
this.speeed = -10;
_root.flashh(this._x, this._y, -100);
nenehit = new Sound(this);
nenehit.attachSound('nenehit');
nenehit.setVolume(70);
nenehit.start(0, 1);
}
if (this._x < -50 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x - 60, this._y - 30);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
}
frame 1 {
function frank(xpos, ypos) {
_root.newObject = attachMovie('frank', 'enshot' + i, i, {'_x': xpos, '_y': ypos});
++i;
_root.newObject.around = false;
_root.newObject.ennum = 100;
_root.newObject._xscale = 70;
_root.newObject._yscale = 70;
_root.newObject.onEnterFrame = function () {
var v3 = 500;
while (v3 < this.ennum + 500) {
if (this.hitTest(_root['testenom' + v3].hit) && _root['testenom' + v3].dead == false && this.around == true) {
yay = v3;
_root['testenom' + yay].health -= 400;
_root['testenom' + yay]._x += 10;
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, 100);
removeMovieClip(this);
}
++v3;
}
this.swapDepths(this._y);
if (this.around == false) {
this._x -= 30;
}
if (this.around == true) {
this._x += 30;
}
if (this.hitTest(_root.ch3.shield) && Key.isDown(83) && _root.act == 3) {
this.around = true;
nenehit = new Sound(this);
nenehit.attachSound('nenehit');
nenehit.setVolume(70);
nenehit.start(0, 1);
_root.flashh(this._x, this._y, -100);
this.dead = true;
this.fall = -10;
}
if (this._x < 0) {
removeMovieClip(this);
}
};
}
function dog_en() {
_root.newObject = attachMovie('dog', 'testenom' + i, i, {'_x': 800, '_y': 420 - random(201)});
++i;
_root.newObject.health = 400;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject._xscale = 70;
_root.newObject._yscale = 70;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this.shot < 65) {
this._y += this.ymove;
}
++this.shot;
if (this.shot == 40) {
_root.frank(this._x - 100, this._y - 25);
this.gotoAndStop(2);
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 40);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function cane_en() {
_root.newObject = attachMovie('cane', 'testenom' + i, i, {'_x': 800, '_y': 420 - random(201)});
++i;
_root.newObject.health = 400;
_root.newObject.speeed = 8;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject._xscale = 80;
_root.newObject._yscale = 80;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this.shot < 45) {
this._y += this.ymove;
}
++this.shot;
if (this.shot == 34) {
this.gotoAndStop(2);
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 60);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || this.hit.remm == true || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function froghooot(xpos, ypos) {
_root.newObject = attachMovie('frogshot', 'enshot' + i, i, {'_x': xpos, '_y': ypos});
++i;
_root.newObject.around = false;
_root.newObject.ennum = 100;
_root.newObject._rotation = random(100) + 10;
_root.newObject.onEnterFrame = function () {
var v3 = 500;
while (v3 < this.ennum + 500) {
if (this.hitTest(_root['testenom' + v3].hit) && _root['testenom' + v3].dead == false && this.around == true) {
yay = v3;
_root['testenom' + yay].health -= 30;
_root['testenom' + yay]._x += 4;
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, 100);
removeMovieClip(this);
}
++v3;
}
this.swapDepths(this._y);
if (this.around == false) {
this._rotation -= 20;
this._x -= 20;
}
if (this.around == true) {
this._rotation += 20;
this._x += 20;
}
if (this.hitTest(_root.ch3.shield) && Key.isDown(83) && _root.act == 3) {
this.around = true;
nenehit = new Sound(this);
nenehit.attachSound('nenehit');
nenehit.setVolume(70);
nenehit.start(0, 1);
_root.flashh(this._x, this._y, -100);
this.dead = true;
this.fall = -10;
}
if (this._x < 0 || this._x > 800 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function frog_en() {
_root.newObject = attachMovie('frog', 'testenom' + i, i, {'_x': 800, '_y': _root['ch' + _root.act]._y});
++i;
_root.newObject.health = 1500;
_root.newObject.speeed = 2;
_root.newObject.shot = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.xturn = 0;
_root.newObject.xset = false;
_root.newObject.fall = 2;
_root.newObject.onEnterFrame = function () {
if (this.xset == false) {
this.xturn = this._y + 10;
this.xset = true;
}
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this._y < this.xturn - 5) {
if (this.fall < 3) {
this.fall += 0.5;
}
}
if (this._y > this.xturn + 5) {
if (this.fall > -3) {
this.fall -= 0.5;
}
}
this._y += this.fall;
if (this._x < 600) {
this.speeed = 1;
}
if (this._x < 750) {
++this.shot;
}
if (this.shot == 50 || this.shot == 54 || this.shot == 58 || this.shot == 62 || this.shot == 66 || this.shot == 70 || this.shot == 74 || this.shot == 78) {
_root.froghooot(this._x - 50, this._y - 60);
}
if (this.shot > 80) {
this.fface.gotoAndStop(1);
this.shot = 0;
}
if (this.shot == 40) {
this.fface.play();
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 10);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
}
frame 1 {
function plifeup(type, pos) {
_root.newObject = attachMovie('plifee', 'plifee' + i, i, {'_x': 800, '_y': pos});
++i;
_root.newObject.rem = 0;
_root.newObject.lifefor = type;
_root.newObject._xscale = 120;
_root.newObject._yscale = 120;
_root.newObject.onEnterFrame = function () {
trace('YAY');
this.swapDepths(this._y);
this.vis.face.gotoAndStop(this.lifefor);
if (this.hitc.hitTest(_root['ch' + _root.act].hit)) {
this.gotoAndStop(2);
if (this.lifefor == 1) {
++_root.plife;
_root.ic1.gotoAndPlay(2);
_root.ch1.gotoAndStop(1);
}
if (this.lifefor == 2) {
++_root.dlife;
_root.ic2.gotoAndPlay(2);
_root.ch2.gotoAndStop(1);
}
if (this.lifefor == 3) {
++_root.nlife;
_root.ic3.gotoAndPlay(2);
_root.ch3.gotoAndStop(1);
}
this.rem = 2;
}
if (this.rem < 1) {
this._x -= 5;
}
if (this.rem > 1) {
++this.rem;
}
if (this._x < 0 || this.rem > 30 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function pbulllet() {
_root.newObject = attachMovie('pbullet', 'pbullet' + u, u, {'_x': _root.ch1._x + 75, '_y': _root.ch1._y - 57});
++u;
_root.newObject.ennum = 100;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._x += 20;
var v3 = 500;
while (v3 < this.ennum + 500) {
if (this.hitTest(_root['testenom' + v3].hit) && _root['testenom' + v3].dead == false) {
yay = v3;
_root['testenom' + yay].health -= 60;
_root['testenom' + yay]._x += 10;
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, 100);
removeMovieClip(this);
}
if (this.hitTest(_root['unicorn' + v3].hit) && _root['unicorn' + v3].dead == false && _root['unicorn' + v3]._x < 750) {
yay = v3;
_root['unicorn' + yay].health -= 10;
_root['unicorn' + yay]._x += 5;
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, 100);
removeMovieClip(this);
}
++v3;
}
if (this._x > 750) {
removeMovieClip(this);
}
};
}
function splattter(xpos, ypos) {
_root.newObject = attachMovie('splatter', 'splatter' + u, u, {'_x': xpos, '_y': ypos});
++u;
_root.newObject.fall = -(random(10) + 2);
_root.newObject.xboost = -(random(10) + 0);
_root.newObject.rem = random(20) + 5;
_root.newObject.scaler = random(10) + 1;
_root.newObject.gotoAndStop(random(6) + 1);
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._x += this.xboost;
this._y += this.fall;
this.fall += 0.5;
--this.xboost;
--this.rem;
if (this._xscale > 0) {
this._xscale -= this.scaler;
this._yscale -= this.scaler;
}
if (this.rem < 0) {
removeMovieClip(this);
}
};
}
function cloudyay(xpos, ypos) {
_root.newObject = attachMovie('cloud', 'cloudawesomeyay' + u, u, {'_x': xpos, '_y': ypos});
++u;
_root.newObject.fall = -(random(10) + 2);
_root.newObject.xboost = -(random(4) + 0);
_root.newObject.rem = random(20) + 5;
_root.newObject.scaler = random(10) + 1;
_root.newObject.roote = random(20) + 5;
_root.newObject.onEnterFrame = function () {
this._x += this.xboost;
this._y += this.fall;
this._rotation -= this.roote;
++this.fall;
this.xboost -= 0.5;
--this.rem;
if (this._xscale > 0) {
this._xscale -= this.scaler;
this._yscale -= this.scaler;
}
if (this.rem < 0) {
removeMovieClip(this);
}
};
}
function flashh(xpos, ypos, scaler) {
_root.newObject = attachMovie('flashh', 'flashh' + u, u, {'_x': xpos, '_y': ypos});
++u;
_root.newObject.rem = 0;
_root.newObject._xscale = scaler;
_root.newObject.gotoAndStop(random(5) + 1);
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
++this.rem;
if (this.rem > 1) {
nenehitt = new Sound(this);
nenehitt.attachSound('hi');
nenehitt.setVolume(50);
nenehitt.start(0, 1);
removeMovieClip(this);
}
};
}
function flamee(xpos, ypos) {
_root.newObject = attachMovie('flamee', 'flashh' + u, u, {'_x': xpos, '_y': ypos});
++u;
_root.newObject.rem = 0;
_root.newObject.scaler = random(3) + 1;
_root.newObject.gotoAndStop(random(5) + 1);
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this.gotoAndStop(scaler);
++this.rem;
if (this.rem > 3) {
removeMovieClip(this);
}
};
}
function asplo(xpos, ypos) {
_root.newObject = attachMovie('asplo', 'asplo' + u, u, {'_x': xpos, '_y': ypos});
++u;
_root.newObject.rem = 0;
_root.newObject.sound = true;
_root.newObject.gotoAndStop(random(5) + 1);
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
++this.rem;
if (this._x > 50 && this.sound == true) {
nenehitt = new Sound(this);
nenehitt.attachSound('endie');
nenehitt.setVolume(70);
nenehitt.start(0, 1);
this.sound = false;
}
if (this.rem > 30) {
removeMovieClip(this);
}
};
}
function enshooot(xpos, ypos) {
_root.newObject = attachMovie('enshot', 'enshot' + i, i, {'_x': xpos, '_y': ypos});
++i;
_root.newObject.around = false;
_root.newObject.ennum = 100;
_root.newObject.onEnterFrame = function () {
var v3 = 500;
while (v3 < this.ennum + 500) {
if (this.hitTest(_root['testenom' + v3].hit) && _root['testenom' + v3].dead == false && this.around == true) {
yay = v3;
_root['testenom' + yay].health -= 400;
_root['testenom' + yay]._x += 10;
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, 100);
removeMovieClip(this);
}
++v3;
}
this.swapDepths(this._y);
if (this.around == false) {
this._x -= 20;
}
if (this.around == true) {
this._x += 20;
}
if (this.hitTest(_root.ch3.shield) && Key.isDown(83) && _root.act == 3) {
this.around = true;
_root.flashh(this._x, this._y, -100);
this.dead = true;
nenehit = new Sound(this);
nenehit.attachSound('nenehit');
nenehit.setVolume(70);
nenehit.start(0, 1);
this.fall = -10;
}
if (this._x < 0) {
removeMovieClip(this);
}
};
}
function sqnut(xpos, ypos) {
_root.newObject = attachMovie('nut', 'enshot' + i, i, {'_x': xpos, '_y': ypos});
++i;
_root.newObject.rote = random(30) + 4;
_root.newObject.around = false;
_root.newObject.ennum = 100;
_root.newObject.onEnterFrame = function () {
var v3 = 500;
while (v3 < this.ennum + 500) {
if (this.hitTest(_root['testenom' + v3].hit) && _root['testenom' + v3].dead == false && this.around == true) {
yay = v3;
_root['testenom' + yay].health -= 400;
_root['testenom' + yay]._x += 10;
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, 100);
removeMovieClip(this);
}
++v3;
}
this.swapDepths(this._y);
if (this.around == false) {
this._x -= 20;
this.nut._rotation -= this.rote;
}
if (this.around == true) {
this._x += 20;
this.nut._rotation += this.rote;
}
if (this.hitTest(_root.ch3.shield) && Key.isDown(83) && _root.act == 3) {
this.around = true;
nenehit = new Sound(this);
nenehit.attachSound('nenehit');
nenehit.setVolume(70);
nenehit.start(0, 1);
_root.flashh(this._x, this._y, -100);
this.dead = true;
this.fall = -10;
}
if (this._x < 0 || _root.remoo == true || this._x > 800) {
removeMovieClip(this);
}
};
}
function footdyn(xpos, ypos, splode) {
_root.newObject = attachMovie('asplode', 'enshot' + i, i, {'_x': xpos, '_y': ypos});
++i;
_root.newObject.sploode = splode;
_root.newObject.fall = -10;
_root.newObject.remv = 0;
_root.newObject.rote = random(15) + 4;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
++this.fall;
this._y += this.fall;
if (this._y < this.sploode) {
this._x -= 15;
}
this.dyne._rotation -= this.rote;
if (this._y > this.sploode) {
this._y = this.sploode;
this.fall = 0;
this.gotoAndStop(2);
}
if (this._y == this.sploode) {
++this.remv;
}
if (this._x < 0 || this.remv > 30 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function dcoock() {
_root.newObject = attachMovie('dcock', 'dcock' + u, u, {'_x': _root.ch2._x + 40, '_y': _root.ch2._y - 50});
++u;
_root.newObject.fall = -10;
_root.newObject.crash = _root.ch2._y;
_root.newObject.remoov = 0;
_root.newObject.ennum = 100;
_root.newObject.turn = -(random(100) + 10);
_root.newObject.onEnterFrame = function () {
this.cktl._rotation += this.turn / 10;
this.swapDepths(this._y);
if (this.remoov == 0) {
this._x += 10;
}
this._y += this.fall;
this.fall += 2;
if (this._y > this.crash - 10) {
this.gotoAndStop(2);
this._y = this.crash - 5;
var v3 = 500;
while (v3 < this.ennum + 500) {
if (this.hitTest(_root['testenom' + v3].hit) && _root['testenom' + v3].dead == false) {
yay = v3;
_root['testenom' + yay].health -= 20;
_root['testenom' + yay]._x += 2;
_root.flamee(_root['testenom' + yay]._x - 20 + (random(40) + 1), _root['testenom' + yay]._y - 50 + (random(40) + 1));
}
if (this.hitTest(_root['unicorn' + v3].hit) && _root['unicorn' + v3].dead == false) {
yay = v3;
_root['unicorn' + yay].health -= 1;
_root['unicorn' + yay]._x += 2;
_root.flamee(_root['unicorn' + yay]._x - 20 + (random(40) + 1), _root['unicorn' + yay]._y - 50 + (random(40) + 1));
}
++v3;
}
++this.remoov;
}
if (this.remoov > 20) {
removeMovieClip(this);
}
};
}
function test_en() {
_root.newObject = attachMovie('testenom', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 100;
_root.newObject.speeed = 4;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function stump_en() {
_root.newObject = attachMovie('stump', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 100;
_root.newObject.speeed = 20;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.deadrem == 1) {
}
if (this._x < -50 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x - 60, this._y - 30);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function kid_en() {
_root.newObject = attachMovie('kidd', 'testenom' + i, i, {'_x': 0, '_y': 420 - random(201)});
++i;
_root.newObject.health = 500;
_root.newObject.speeed = -3;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.deadrem == 1) {
}
if (this._x > 800 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x - 60, this._y - 30);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x -= 3;
}
};
}
function mine_en() {
_root.newObject = attachMovie('mine', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 100;
_root.newObject.speeed = 20;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.deadrem == 1) {
}
if (_root['ch' + _root.act].hit.hitTest(this.hitc)) {
this.gotoAndStop(2);
}
if (this._x < -50 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x - 60, this._y - 30);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function trap_en() {
_root.newObject = attachMovie('trap', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 100;
_root.newObject.speeed = 20;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.deadrem == 1) {
}
if (_root['ch' + _root.act].hit.hitTest(this.hitc)) {
this.gotoAndStop(2);
}
if (this._x < -50 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x - 60, this._y - 30);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function bee_en() {
_root.newObject = attachMovie('bee', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 200;
_root.newObject.speeed = 5;
_root.newObject.xturn = 0;
_root.newObject.xset = false;
_root.newObject.fall = 2;
_root.newObject.scaler = random(30) + 0;
_root.newObject.hurte = false;
_root.newObject.deadrem = 0;
_root.newObject.dead = false;
_root.newObject.onEnterFrame = function () {
if (this.xset == false) {
this.xturn = this._y + 10;
this.xset = true;
}
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this._y < this.xturn - 5) {
if (this.fall < 3) {
this.fall += 0.5;
}
}
if (this._y > this.xturn + 5) {
if (this.fall > -3) {
this.fall -= 0.5;
}
}
this._y += this.fall;
if (this.dead == true) {
++this.deadrem;
this._x -= this.speeed;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
this.dead = true;
this.gotoAndStop(2);
}
if (this._x < -50 || this.deadrem > 0 || _root.remoo == true) {
_root.asplo(this._x, this._y - 60);
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 10;
}
};
}
function foot_en() {
_root.newObject = attachMovie('foot', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 900;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (_root['ch' + act]._y + 40 < this._y + 5 && this.ymove > -2) {
this.ymove -= 0.5;
}
if (_root['ch' + act]._y + 40 > this._y - 5 && this.ymove < 2) {
this.ymove += 0.5;
}
if (_root['ch' + act]._y + 40 > this._y - 5 && _root['ch' + act]._y - 10 < this._y + 5) {
this.ymove = 0;
}
this._y += this.ymove;
++this.shot;
if (this.shot > 40) {
_root.footdyn(this._x - 70, this._y - 100, this._y);
this.shot = 0;
}
if (this.shot == 26) {
this.bfoot.foot.play();
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 60);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function squr_en() {
_root.newObject = attachMovie('squi', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 400;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this.shot < 65) {
this._y += this.ymove;
}
++this.shot;
if (this.shot == 80) {
_root.sqnut(this._x - 100, this._y - 50);
}
if (this.shot == 65) {
this.sq.play();
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 60);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function sbear_en() {
_root.newObject = attachMovie('sbear', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 1000;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this._x < 600) {
if (_root['ch' + act]._y + 10 < this._y + 5 && this.ymove > -2) {
this.ymove -= 0.5;
}
if (_root['ch' + act]._y + 10 > this._y - 5 && this.ymove < 2) {
this.ymove += 0.5;
}
if (_root['ch' + act]._y + 10 > this._y - 5 && _root['ch' + act]._y - 10 < this._y + 5) {
this.ymove = 0;
}
}
this._y += this.ymove;
++this.shot;
if (this.shot > 50 && this.bbear.bear.shoot == true) {
_root.enshooot(this._x - 50, this._y - 60);
nenehittt = new Sound(this);
nenehittt.attachSound('bearshot');
nenehittt.setVolume(70);
nenehittt.start(0, 1);
this.bbear.bear.shoot = false;
}
if (this.shot == 50) {
this.bbear.bear.play();
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 10);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function fbear_en() {
_root.newObject = attachMovie('fbear', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 400;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.ymove = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
if (this._x < 600) {
if (_root['ch' + act]._y + 40 < this._y + 5 && this.ymove > -2) {
this.ymove -= 0.5;
}
if (_root['ch' + act]._y + 40 > this._y - 5 && this.ymove < 2) {
this.ymove += 0.5;
}
if (_root['ch' + act]._y + 40 > this._y - 5 && _root['ch' + act]._y + 30 < this._y + 5) {
this.ymove = 0;
}
}
this._y += this.ymove;
++this.shot;
if (this.shot > 15) {
_root.enshooot(this._x - 50, this._y - 100);
nenehitttt = new Sound(this);
nenehitttt.attachSound('bearshot');
nenehitttt.setVolume(70);
nenehitttt.start(0, 1);
this.shot = 0;
}
if (this.shot == 13) {
this.bbear.bear.play();
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.asplo(this._x, this._y - 10);
this.dead = true;
removeMovieClip(this);
}
if (this._x < -50 || _root.remoo == true) {
removeMovieClip(this);
}
};
}
function unicorn_en() {
_root.newObject = attachMovie('unicorn', 'unicorn' + i, i, {'_x': 800, '_y': 420 - random(201)});
++i;
_root.newObject.health = 1300;
_root.newObject.speeed = 4;
_root.newObject.shot = 0;
_root.newObject.dead = false;
_root.newObject.hurte = false;
_root.newObject.fall = 2;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
++this.shot;
if (this.shot > 100) {
this.gotoAndStop(2);
this.shot = 0;
}
if (this._y < 300) {
if (this.fall < 2) {
this.fall += 0.3;
}
}
if (this._y > 450) {
if (this.fall > -2) {
this.fall -= 0.3;
}
}
this._y += this.fall;
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
}
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this._x < 600) {
this.speeed *= 0.9;
}
if (this._x > 600) {
this.speeed += 0.5;
}
if (this._x < -50 || this.dead == true || _root.remoo == true) {
_root.unicorn = true;
_root.asplo(this._x, this._y + 15 - (random(50) + 4));
_root.asplo(this._x, this._y + 15 - (random(50) + 4));
_root.asplo(this._x, this._y + 15 - (random(50) + 4));
removeMovieClip(this);
}
};
}
function boost_en(aim) {
_root.newObject = attachMovie('boar', 'testenom' + i, i, {'_x': 750, '_y': 420 - random(201)});
++i;
_root.newObject.health = 500;
_root.newObject.ymove = 0;
_root.newObject.speeed = 15;
_root.newObject.aimm = aim;
_root.newObject.scaler = random(30) + 0;
_root.newObject.boost = false;
_root.newObject.boostnow = 0;
_root.newObject.fall = 0;
_root.newObject.ydie = this._y;
_root.newObject.dead = false;
_root.newObject.deader = 0;
_root.newObject.hurte = false;
_root.newObject.onEnterFrame = function () {
this.swapDepths(this._y);
this._yscale = 80 + this.scaler;
this._xscale = 80 + this.scaler;
if (this.aimm == 2) {
if (_root['ch' + act]._y - 10 < this._y + 5 && this.ymove > -2) {
this.ymove -= 0.5;
}
if (_root['ch' + act]._y - 10 > this._y - 5 && this.ymove < 2) {
this.ymove += 0.5;
}
if (_root['ch' + act]._y - 10 > this._y - 5 && _root['ch' + act]._y - 10 < this._y + 5) {
this.ymove = 0;
}
}
if (this.dead == true) {
this._x -= this.speeed * 2;
}
if (this.dead == false) {
this._x -= this.speeed;
this._y += this.ymove;
}
if (this._x < _root['ch' + act]._x + 400) {
this.boost = true;
}
if (this._x > _root['ch' + act]._x + 400) {
this.vis.gotoAndStop(1);
}
if (this.boost == true) {
if (this.boostnow < 10) {
this.speeed = 0;
}
++this.boostnow;
}
if (this.boostnow == 10 && this.dead == false) {
this.speeed = 40;
this.gotoAndStop(2);
this.ymove = 0;
}
if (this.boostnow > 10 && this.dead == false && this.hitTest(_root.ch3.shield) && Key.isDown(83) && _root.act == 3) {
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.splattter(this._x, this._y);
_root.flashh(this._x, this._y, -100);
nenehit = new Sound(this);
nenehit.attachSound('nenehit');
nenehit.setVolume(70);
nenehit.start(0, 1);
this.dead = true;
this.fall = -10;
}
if (this.dead == true) {
this.shdw._visible = false;
this._rotation += 5;
this._y += this.fall;
++this.deader;
this.speeed = -4;
++this.fall;
}
trace(ymove);
if (this.health <= 0 && this.dead == false) {
_root.coinn(this._x, this._y);
this.dead = true;
this.gotoAndStop(2);
}
if (this.deader > 20 || this._x < 0 || _root.remoo == true) {
removeMovieClip(this);
}
if (this.hurte == true) {
this._x += 1;
}
};
}
u = 900;
}
frame 1 {
NewgroundsAPI.connectMovie(6906);
}
button 440 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2006', '_blank');
}
}
button 443 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2007', '_blank');
}
}
button 446 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2008', '_blank');
}
}
button 449 {
on (release) {
getURL('http://www.newgrounds.com/collection/picoday2009', '_blank');
}
}
movieClip 450 {
}
movieClip 454 {
}
movieClip 455 {
}
button 456 {
on (release) {
_root.play();
}
}
movieClip 458 {
instance of movieClip 455 {
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop('loaded');
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop('loaded');
}
}
}
frame 100 {
stop();
}
}
movieClip 461 {
}
button 466 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
movieClip 467 {
}
movieClip 468 {
frame 1 {
function startAd(ngad_url) {
trace('opening ' + ngad_url);
System.security.allowDomain('70.87.128.99');
System.security.allowInsecureDomain('70.87.128.99');
System.security.allowDomain('ads.shizmoo.com');
System.security.allowInsecureDomain('ads.shizmoo.com');
System.security.allowDomain('www.cpmstar.com');
System.security.allowInsecureDomain('www.cpmstar.com');
System.security.allowDomain('server.cpmstar.com');
System.security.allowInsecureDomain('server.cpmstar.com');
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace('[NEWGROUNDS FLASH ADS] :: You may get a \'Security Sandbox Violation\' ... this is normal, do not freak out!');
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), 'GET');
} else {}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
}
}
movieClip 827 __Packages.NewgroundsAPI {
#initclip
if (!_global.NewgroundsAPI) {
var v1 = function () {};
_global.NewgroundsAPI = v1;
var v2 = v1.prototype;
v1.connectMovie = function (id) {
if (!id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.connectMovie(id:Number)');
} else {
if (!NewgroundsAPI.tracker_id) {
NewgroundsAPI.SendMessage('Connecting to API gateway...');
NewgroundsAPI.tracker_id = id;
NewgroundsAPI.host = (_url.split('/'))[2].toLowerCase();
if (NewgroundsAPI.host.length < 1) {
NewgroundsAPI.host = 'localhost';
}
var v2 = new Object();
NewgroundsAPI.SendEvent(NewgroundsAPI.MOVIE_VIEWS);
}
}
};
v1.setMovieVersion = function (movie_version) {
if (!movie_version) {
NewgroundsAPI.SendError('Missing required \'version\' in NewgroundsAPI.setMovieVersion(version:String)');
} else {
NewgroundsAPI.version = movie_version;
}
};
v1.debugMode = function () {
NewgroundsAPI.debug = true;
};
v1.addCustomEvent = function (stat_id, stat_name) {
if (!stat_id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)');
} else {
if (!stat_name) {
NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)');
} else {
NewgroundsAPI.custom_events[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id;
NewgroundsAPI.SendMessage('Created custom event: ' + stat_name);
}
}
};
v1.addCustomLink = function (stat_id, stat_name) {
if (!stat_id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)');
} else {
if (!stat_name) {
NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)');
} else {
NewgroundsAPI.custom_links[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id;
NewgroundsAPI.SendMessage('Created custom link ' + stat_id + ': ' + stat_name);
}
}
};
v1.loadMySite = function () {
NewgroundsAPI.SendLink(NewgroundsAPI.AUTHOR_SITE);
};
v1.loadNewgrounds = function (special) {
if (special) {
var v1 = {'page': special};
}
NewgroundsAPI.SendLink(NewgroundsAPI.NEWGROUNDS, v1);
};
v1.logCustomEvent = function (event_name) {
if (!event_name) {
NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.logCustomEvent(event_name:String)');
} else {
if (!NewgroundsAPI.custom_events[event_name]) {
NewgroundsAPI.SendError('Attempted to log undefined custom event: ' + event_name);
} else {
NewgroundsAPI.SendEvent(NewgroundsAPI.custom_events[event_name]);
}
}
};
v1.loadCustomLink = function (link_name) {
if (!link_name) {
NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.loadCustomLink(link_name:String)');
} else {
if (!NewgroundsAPI.custom_links[link_name]) {
NewgroundsAPI.SendError('Attempted to open undefined custom link: ' + link_name);
} else {
NewgroundsAPI.SendLink(NewgroundsAPI.custom_links[link_name]);
}
}
};
v1.getAdURL = function () {
return NewgroundsAPI.movie_options.ad_url;
};
v1.getMovieURL = function () {
if (NewgroundsAPI.movie_options.movie_url) {
return NewgroundsAPI.movie_options.movie_url;
} else {
return 'Newgrounds.com';
}
};
v1.getNewVersionURL = function () {
return NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + NewgroundsAPI.NEW_VERSION;
};
v1.SendEvent = function (id) {
NewgroundsAPI.SendStat(id, false);
};
v1.SendLink = function (id, extra) {
NewgroundsAPI.SendStat(id, true, extra);
};
v1.ReadGatewayData = function (params) {
for (var v2 in params) {
params[v2] = unescape(params[v2]);
NewgroundsAPI.movie_options[v2] = params[v2];
}
if (params.settings_loaded) {
NewgroundsAPI.SendMessage('You have successfully connected to the Newgrounds API gateway!');
NewgroundsAPI.SendMessage('Movie Identified as \'' + NewgroundsAPI.movie_options.movie_name + '\'');
if (NewgroundsAPI.movie_options.message) {
NewgroundsAPI.SendMessage(NewgroundsAPI.movie_options.message);
}
if (NewgroundsAPI.movie_options.ad_url) {
NewgroundsAPI.SendMessage('Your movie has been approved to run Flash Ads');
NewgroundsAPI.onAdsApproved(NewgroundsAPI.movie_options.ad_url);
}
if (NewgroundsAPI.movie_options.movie_version and NewgroundsAPI.movie_options.movie_version.toString() != NewgroundsAPI.version.toString()) {
NewgroundsAPI.SendMessage('WARNING: The movie version configured in your API settings does not match this movie\'s version!');
NewgroundsAPI.onNewVersionAvailable(NewgroundsAPI.movie_options.movie_version, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL());
}
if (NewgroundsAPI.movie_options.deny_host) {
NewgroundsAPI.SendMessage('You have blocked \'localHost\' in your API settings.');
NewgroundsAPI.SendMessage('If you wish to test your movie you will need to remove this block.');
NewgroundsAPI.onDenyHost(NewgroundsAPI.host, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL());
}
if (NewgroundsAPI.movie_options.request_portal_url == 1) {
var v4 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&portal_url=' + escape(_url);
var v3 = new XML();
v3.ignoreWhite = true;
v3.load(v4);
}
} else {
if (!NewgroundsAPI.movie_options.settings_loaded) {
NewgroundsAPI.SendError('Could not establish connection to the API gateway.');
}
}
};
v1.SendStat = function (stat_id, open_in_browser, extra) {
if (!NewgroundsAPI.tracker_id) {
NewgroundsAPI.SendError('API calls cannot be made without a valid movie id.');
NewgroundsAPI.SendError('Did you remember to add the "NewgroundsAPI.connectMovie()" code?');
} else {
var v7 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + stat_id;
for (var v9 in extra) {
v7 += '&' + escape(v9) + '=' + escape(extra[v9]);
}
trace(v7);
if (NewgroundsAPI.debug) {
v7 += '&debug=1';
}
if (open_in_browser) {
getURL(v7, '_blank');
} else {
var v10 = new XML();
v10.ignoreWhite = true;
v10.onLoad = function (success) {
var v6 = new Object();
var v3 = 0;
while (v3 < this.firstChild.childNodes.length) {
var v4 = this.firstChild.childNodes[v3];
var v5 = v4.nodeName;
var v2 = v4.attributes.value;
if (v2 == Number(v2)) {
v2 = Number(v2);
}
v6[v5] = v2;
++v3;
}
NewgroundsAPI.ReadGatewayData(v6);
};
v10.load(v7);
}
}
};
v1.SendError = function (msg) {
trace('[NEWGROUNDS API ERROR] :: ' + msg);
};
v1.SendMessage = function (msg) {
trace('[NEWGROUNDS API] :: ' + msg);
};
v1.InitTextFormats = function () {
if (!NewgroundsAPI.error_format) {
NewgroundsAPI.error_format = new TextFormat();
NewgroundsAPI.error_format.font = 'Arial Black';
NewgroundsAPI.error_format.size = 48;
NewgroundsAPI.error_format.color = 16711680;
}
if (!NewgroundsAPI.header_format) {
NewgroundsAPI.header_format = new TextFormat();
NewgroundsAPI.header_format.font = 'Arial Black';
NewgroundsAPI.header_format.size = 24;
NewgroundsAPI.header_format.color = 16777215;
}
if (!NewgroundsAPI.normal_format) {
NewgroundsAPI.normal_format = new TextFormat();
NewgroundsAPI.normal_format.font = 'Arial';
NewgroundsAPI.normal_format.bold = true;
NewgroundsAPI.normal_format.size = 12;
NewgroundsAPI.normal_format.color = 16777215;
}
if (!NewgroundsAPI.link_format) {
NewgroundsAPI.link_format = new TextFormat();
NewgroundsAPI.link_format.color = 16776960;
NewgroundsAPI.link_format.underline = true;
}
};
v1.onNewVersionAvailable = function (version, movie_url, redirect_url) {
NewgroundsAPI.InitTextFormats();
var v2 = new Object();
v2.x = Stage.width / 2;
v2.y = Stage.height / 2;
_root.createEmptyMovieClip('NGAPI_new_version_overlay', _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(v2.x - 240, v2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip('exit', 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 210, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 214, v2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 226, v2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 226, v2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 214, v2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var v3 = 'Version ' + version + ' is now available at:' + '\n';
var v5 = v3.length;
v3 += movie_url;
var v4 = v3.length;
_root.NGAPI_new_version_overlay.createTextField('mouseblocker', 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField('newversion', 100, v2.x - 210, v2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = 'New Version Available!';
_root.NGAPI_new_version_overlay.newversion.setTextFormat(NewgroundsAPI.header_format);
_root.NGAPI_new_version_overlay.createTextField('message', 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = v3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(NewgroundsAPI.normal_format);
NewgroundsAPI.link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(v5, v4, NewgroundsAPI.link_format);
};
v1.onDenyHost = function (hostname, movie_url, redirect_url) {
NewgroundsAPI.InitTextFormats();
_root.createEmptyMovieClip('NGAPI_deny_host_overlay', _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var v2 = 'This movie has not been approved for use on ' + hostname + '.';
v2 += '\r\rFor an aproved copy, please visit:\r';
var v4 = v2.length;
v2 += movie_url;
var v3 = v2.length;
_root.NGAPI_deny_host_overlay.createTextField('mousekill', 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField('error', 101, (Stage.width - 400) / 2, Stage.height / 2 - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = 'ERROR!';
_root.NGAPI_deny_host_overlay.error.setTextFormat(NewgroundsAPI.error_format);
_root.NGAPI_deny_host_overlay.createTextField('message', 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = v2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(NewgroundsAPI.normal_format);
NewgroundsAPI.link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(v4, v3, NewgroundsAPI.link_format);
};
v1.isInstalled = function () {
return true;
};
v1.onAdsApproved = function (ad_url) {};
v1.movie_options = new Object();
v1.custom_events = new Object();
v1.custom_links = new Object();
v1.MOVIE_VIEWS = 1;
v1.AUTHOR_SITE = 2;
v1.NEWGROUNDS = 3;
v1.NEW_VERSION = 4;
v1.CUSTOM_STATS = 50;
v1.GATEWAY_URL = 'http://www.ngads.com/gateway.php';
ASSetPropFlags(_global.NewgroundsAPI.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
stopAllSounds();
}
frame 2 {
_root.ch1.removeMovieClip();
_root.ch2.removeMovieClip();
_root.ch3.removeMovieClip();
_root.ic1.removeMovieClip();
_root.ic2.removeMovieClip();
_root.ic3.removeMovieClip();
_root.trans.removeMovieClip();
}
button 472 {
on (keyPress '<Space>') {
_parent.nextFrame();
}
}
movieClip 481 {
}
movieClip 491 {
}
movieClip 500 {
}
movieClip 501 {
}
// unknown tag 88 length 197
movieClip 511 {
}
movieClip 512 {
frame 5 {
l1sm = new Sound(this);
l1sm.attachSound('intro');
l1sm.setVolume(70);
l1sm.start(0, 500);
}
frame 160 {
stop();
}
}
frame 3 {
stopAllSounds();
}
frame 3 {
l1m = new Sound(this);
l1m.attachSound('l2m');
l1m.setVolume(70);
l1m.start(0, 500);
}
frame 3 {
stop();
jam.onEnterFrame = function () {
trace(wavenum + '<------------');
if (Key.isDown(37)) {
if (xmove > -8) {
xmove -= 2;
}
}
if (Key.isDown(39)) {
if (xmove < 8) {
xmove += 2;
}
}
if (Key.isDown(38) && _root['ch' + act]._y > 250) {
if (ymove > -4) {
ymove -= 2;
}
}
if (_root['ch' + act]._y < 250) {
ymove = 0;
}
if (Key.isDown(40) && _root['ch' + act]._y < 430) {
if (ymove < 4) {
ymove += 2;
}
}
if (_root['ch' + act]._y > 440) {
ymove = 0;
_root['ch' + act]._y = 440;
}
if (_root['ch' + act]._x > 600) {
xmove = 0;
_root['ch' + act]._x = 600;
}
if (_root['ch' + act]._x < -50) {
xmove = 0;
_root['ch' + act]._x = -50;
}
if (!Key.isDown(40) && !Key.isDown(38)) {
ymove *= 0.5;
}
if (!Key.isDown(37) && !Key.isDown(39)) {
xmove *= 0.5;
}
if (_root.act == 1 && _root.plife > 0 || _root.act == 2 && _root.dlife > 0 || _root.act == 3 && _root.nlife > 0) {
_root['ch' + act]._x += xmove;
_root['ch' + act]._x += boost;
_root['ch' + act]._y += ymove;
}
++newchange;
if (boost > 0) {
boost *= 0.75;
}
if (act == 1 && plife == 0) {
act = 2;
}
if (act == 2 && dlife == 0) {
act = 3;
}
if (act == 3 && nlife == 0) {
act = 1;
}
if (_root.plife > 3) {
_root.plife = 3;
}
if (_root.dlife > 3) {
_root.dlife = 3;
}
if (_root.nlife > 3) {
_root.nlife = 3;
}
if (Key.isDown(65) && newchange > 5) {
++act;
if (act >= 4) {
act = 1;
}
newchange = 0;
}
if (newchange == 2) {
if (act == 1 && nlife > 0) {
_root.ic1.play();
_root.ic1.scaleup = 15;
_root.ic3.scaleup = -15;
boost = 15;
_root['ch' + act]._x += 10;
}
if (act == 1 && nlife == 0 && dlife > 0) {
_root.ic1.play();
_root.ic1.scaleup = 15;
_root.ic2.scaleup = -15;
boost = 15;
_root['ch' + act]._x += 10;
}
if (act == 1 && nlife == 0 && dlife == 0) {
}
if (act == 2 && plife > 0) {
_root.ic2.play();
_root.ic2.scaleup = 15;
_root.ic1.scaleup = -15;
boost = 15;
_root['ch' + act]._x += 10;
}
if (act == 2 && plife == 0 && nlife > 0) {
_root.ic2.play();
_root.ic2.scaleup = 15;
_root.ic3.scaleup = -15;
boost = 15;
_root['ch' + act]._x += 10;
}
if (act == 2 && plife == 0 && nlife == 0) {
}
if (act == 3 && dlife > 0) {
_root.ic3.play();
_root.ic3.scaleup = 15;
_root.ic2.scaleup = -15;
boost = 15;
_root['ch' + act]._x += 10;
}
if (act == 3 && dlife == 0 && plife > 0) {
_root.ic3.play();
_root.ic3.scaleup = 15;
_root.ic1.scaleup = -15;
boost = 15;
_root['ch' + act]._x += 10;
}
if (act == 3 && plife == 0 && dlife == 0) {
}
}
++peecoact;
if (transition == false) {
if (Key.isDown(83) && peecoact > 3 && act == 1 && _root.plife > 0) {
_root.pbulllet();
_root.ch1.gotoAndStop(2);
peecoact = 0;
}
if (Key.isDown(83) && peecoact > 5 && act == 2) {
_root.dcoock();
_root.ch2.gotoAndStop(2);
peecoact = 0;
}
if (Key.isDown(83) && peecoact > 5 && act == 3 && nlife > 0) {
_root.ch3.gotoAndStop(2);
peecoact = 0;
}
if (act < 3 && nlife > 0 && !wavenum == 12) {
_root.ch3.gotoAndStop(1);
}
}
++entest;
_root.test = _root.i;
if (plife <= 0) {
_root.ic1.gotoAndStop('dead');
_root.ch1.gotoAndStop(3);
}
if (dlife <= 0) {
_root.ic2.gotoAndStop('dead');
_root.ch2.gotoAndStop(3);
}
if (nlife <= 0) {
_root.ic3.gotoAndStop('dead');
_root.ch3.gotoAndStop(3);
}
++_root.buffhurt;
if (gameover == false) {
++wave;
if (wavenum == 1) {
if (wave == -850) {
_root.trans.instr.gotoAndStop(2);
}
if (wave == -750) {
_root.trans.instr.gotoAndStop(3);
}
if (wave == -600) {
_root.trans.instr.gotoAndStop(4);
}
if (wave == -250) {
_root.trans.instr.gotoAndStop(5);
_root.trans.l1.play();
}
if (wave == -40 || wave == 50 || wave == 70 || wave == 75 || wave == 85 || wave == 87) {
_root.stump_en();
}
if (wave == 120 || wave == 180 || wave == 195 || wave == 230 || wave == 242 || wave == 252 || wave == 300 || wave == 303) {
_root.bee_en();
}
if (wave == 350 || wave == 360 || wave == 370 || wave == 380 || wave == 390 || wave == 400 || wave == 410 || wave == 420 || wave == 430 || wave == 440 || wave == 450 || wave == 460 || wave == 470 || wave == 480 || wave == 490) {
_root.bee_en();
}
if (wave == 460) {
_root.kid_en();
}
if (wave > 500) {
_root.i = 500;
wavenum = 2;
wave = -120;
}
}
if (wavenum == 2) {
if (wave == -60 || wave == 65 || wave == 80 || wave == 110 || wave == 180 || wave == 185 || wave == 186 || wave == 187 || wave == 189) {
_root.stump_en();
}
if (wave == 185 || wave == 80 || wave == 60 || wave == 230 || wave == 250 || wave == 300) {
_root.bee_en();
}
if (wave == 400) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 430) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 460) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 550) {
_root.i = 500;
wavenum = 3;
wave = 100;
}
}
if (wavenum == 3) {
if (wave == 120 || wave == 200 || wave == 250 || wave == 270 || wave == 420 || wave == 426 || wave == 480 || wave == 500) {
_root.squr_en();
}
if (wave == 350 || wave == 150 || wave == 155 || wave == 170) {
_root.bee_en();
}
if (wave > 550) {
_root.i = 500;
wavenum = 5;
wave = 0;
}
}
if (wavenum == 5) {
if (wave == 100 || wave == 110 || wave == 120 || wave == 160 || wave == 170 || wave == 200 || wave == 205 || wave == 210 || wave == 220) {
_root.stump_en();
}
if (wave == 200 || wave == 205 || wave == 207) {
_root.bee_en();
}
if (wave == 320 || wave == 400 || wave == 560 || wave == 600 || wave == 700) {
_root.sbear_en();
}
if (wave == 720) {
_root.fbear_en();
}
if (wave == 800) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 830) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 860) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 900) {
_root.i = 500;
wavenum = 6;
wave = 0;
}
}
if (wavenum == 6) {
if (wave == 120 || wave == 200 || wave == 300 || wave == 330 || wave == 350 || wave == 370) {
_root.squr_en();
}
if (wave == 420) {
_root.plifeup(random(3) + 1, 350);
}
if (wave == 500 || wave == 550 || wave == 650 || wave == 680) {
_root.sbear_en();
}
if (wave == 780 || wave == 830 || wave == 900) {
_root.fbear_en();
}
if (wave > 1000) {
wavenum = 7;
_root.i = 500;
wave = 100;
}
}
if (wavenum == 7) {
if (wave == 200 || wave == 300 || wave == 400 || wave == 430 || wave == 490) {
_root.squr_en();
}
if (wave == 120 || wave == 200 || wave == 210) {
_root.stump_en();
}
if (wave == 570 || wave == 580 || wave == 590 || wave == 620) {
_root.squr_en();
}
if (wave == 690) {
_root.kid_en();
}
if (wave > 700) {
_root.i = 500;
wavenum = 7.5;
wave = 0;
}
}
if (wavenum == 7.5) {
if (wave == 100 || wave == 300 || wave == 320 || wave == 370 || wave == 490) {
_root.trap_en();
}
if (wave == 500 || wave == 550 || wave == 560) {
_root.bee_en();
}
if (wave == 620 || wave == 630 || wave == 640 || wave == 650) {
_root.trap_en();
}
if (wave > 660) {
_root.i = 500;
wavenum = 8;
wave = 190;
}
}
if (wavenum == 8) {
if (wave == 200 || wave == 250 || wave == 300 || wave == 350 || wave == 400 || wave == 430 || wave == 490) {
_root.sbear_en();
}
if (wave == 540 || wave == 600) {
_root.foot_en();
}
if (wave == 600) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 630) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 660) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave == 790) {
_root.trans.nenehint.play();
}
if (wave == 800 || wave == 900 || wave == 950) {
_root.boost_en(2);
}
if (wave > 1000) {
_root.i = 500;
wavenum = 9;
wave = 800;
}
}
if (wavenum == 9) {
if (wave == 850 || wave == 860 || wave == 870 || wave == 880 || wave == 890 || wave == 900 || wave == 910 || wave == 920 || wave == 930 || wave == 940 || wave == 950 || wave == 960 || wave == 1100 || wave == 1150 || wave == 1200 || wave == 1210 || wave == 1220 || wave == 1230 || wave == 1280 || wave == 1300) {
_root.boost_en(1);
_root.boost_en(1);
}
if (wave > 1300) {
_root.i = 500;
wavenum = 11;
wave = 850;
}
}
_root.fff.fpss = _root.i;
if (wavenum == 11) {
if (wave == 120 || wave == 130 || wave == 180 || wave == 200 || wave == 210 || wave == 220 || wave == 260) {
_root.bee_en();
}
if (wave == 190 || wave == 250 || wave == 290 || wave == 300 || wave == 310) {
_root.stump_en();
}
if (wave == 400 || wave == 500 || wave == 650 || wave == 680 || wave == 750) {
_root.foot_en();
}
if (wave == 816 || wave == 820 || wave == 880 || wave == 890) {
_root.sbear_en();
}
if (wave == 1199) {
wavenum = 12;
}
}
if (wavenum == 12) {
transition = true;
if (wave == 1200) {
if (act == 1) {
_root.ch1.gotoAndStop('zap');
}
if (act == 2) {
_root.ch2.gotoAndStop('zap');
}
if (act == 3) {
_root.ch3.gotoAndStop('zap');
}
}
if (wave == 1210) {
if (act == 1 && _root.dlife > 0) {
_root.ch2.gotoAndStop('zap');
}
if (act == 2 && _root.nlife > 0) {
_root.ch3.gotoAndStop('zap');
}
if (act == 3 && _root.plife > 0) {
_root.ch1.gotoAndStop('zap');
}
}
if (wave == 1220) {
if (act == 1 && _root.nlife > 0) {
_root.ch3.gotoAndStop('zap');
}
if (act == 2 && _root.plife > 0) {
_root.ch1.gotoAndStop('zap');
}
if (act == 3 && _root.dlife > 0) {
_root.ch2.gotoAndStop('zap');
}
}
if (wave > 1300) {
_root.i = 500;
wavenum = 20;
wave = 0;
}
}
if (wavenum == 20) {
if (wave == 30) {
stopAllSounds();
_root.trans.gotoAndStop(2);
}
if (wave == 31) {
l1m = new Sound(this);
l1m.attachSound('l2m');
l1m.setVolume(70);
l1m.start(0, 500);
}
if (wave == 50) {
_root.trans.l2.play();
}
if (wave == 50) {
transition = false;
if (_root.nlife > 0) {
_root.ch3.gotoAndStop(1);
}
if (_root.plife > 0) {
_root.ch1.gotoAndStop(1);
}
if (_root.dlife > 0) {
_root.ch2.gotoAndStop(1);
}
}
if (wave == 220 || wave == 260 || wave == 374 || wave == 380 || wave == 390 || wave == 710 || wave == 720 || wave == 980 || wave == 1020) {
_root.bee_en();
}
if (wave == 460 || wave == 560 || wave == 570 || wave == 590 || wave == 680 || wave == 800 || wave == 850 || wave == 950 || wave == 960 || wave == 970 || wave == 1000) {
_root.dog_en();
}
if (wave == 1100) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 1130) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 1150) {
_root.kid_en();
}
if (wave == 1160) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 1300) {
_root.i = 500;
wavenum = 21;
wave = 0;
}
}
if (wavenum == 21) {
if (wave == 200) {
frog_en();
}
if (wave > 600) {
wavenum = 22;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 22) {
if (wave == 120 || wave == 260 || wave == 690 || wave == 730 || wave == 750) {
_root.bee_en();
}
if (wave == 300 || wave == 460 || wave == 500 || wave == 520 || wave == 570 || wave == 680 || wave == 700 || wave == 710 || wave == 720) {
_root.cane_en();
}
if (wave == 750) {
frog_en();
}
if (wave == 1000) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 1030) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 1060) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 1300) {
wavenum = 23;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 23) {
if (wave == 120 || wave == 260 || wave == 300 || wave == 310 || wave == 340 || wave == 380 || wave == 400 || wave == 420) {
_root.dog_en();
}
if (wave == 300 || wave == 460 || wave == 500) {
_root.bee_en();
}
if (wave == 600 || wave == 660 || wave == 690 || wave == 790 || wave == 820 || wave == 850 || wave == 880 || wave == 910 || wave == 940) {
_root.mine_en();
}
if (wave == 870 || wave == 915 || wave == 950) {
_root.dog_en();
}
if (wave > 1100) {
wavenum = 24;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 24) {
if (wave == 200) {
_root.frog_en();
}
if (wave == 320 || wave == 390 || wave == 460 || wave == 530 || wave == 600) {
_root.mine_en();
}
if (wave == 800) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 830) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 860) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 900) {
wavenum = 25;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 25) {
if (wave == 120 || wave == 260 || wave == 300 || wave == 310 || wave == 340 || wave == 380 || wave == 400) {
_root.dog_en();
}
if (wave == 600 || wave == 610 || wave == 620 || wave == 630 || wave == 650) {
_root.cane_en();
}
if (wave > 800) {
wavenum = 26;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 26) {
if (wave == 200) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 210) {
_root.kid_en();
}
if (wave == 230) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 260) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave == 300) {
_root.unicorn_en();
}
if (wave > 300 && _root.unicorn == true) {
wavenum = 27;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 27) {
if (wave == 220) {
_root.trans.crack1.play();
}
if (wave == 350) {
_root.trans.crack2.play();
}
if (wave == 360 || wave == 370 || wave == 400 || wave == 460 || wave == 500 || wave == 510 || wave == 530 || wave == 535 || wave == 540 || wave == 550 || wave == 553 || wave == 560) {
_root.trans.flashy.gotoAndPlay(2);
}
if (wave == 380) {
_root.trans.crack3.play();
}
if (wave == 460) {
_root.trans.crack4.play();
}
if (wave == 470) {
_root.trans.crack5.play();
}
if (wave == 529) {
stopAllSounds();
}
if (wave == 530) {
_root.trans.l3transit.play();
_root.backg.speeed = 0;
l3m = new Sound(this);
l3m.attachSound('l3m');
l3m.setVolume(70);
l3m.start(0, 500);
}
if (wave == 540) {
_root.trans.l3transit.gotoAndPlay(2);
}
if (wave == 570) {
_root.trans.l3transit.gotoAndPlay(2);
}
if (wave == 540) {
_root.trans.crack1.gotoAndStop(1);
_root.trans.crack2.gotoAndStop(1);
_root.trans.crack3.gotoAndStop(1);
_root.trans.crack4.gotoAndStop(1);
_root.trans.crack5.gotoAndStop(1);
}
if (wave == 700) {
_root.trans.l3.play();
}
if (wave > 800) {
_root.i = 500;
wave = 0;
wavenum = 28;
}
}
if (wavenum == 28) {
if (wave == 120 || wave == 260 || wave == 300 || wave == 310 || wave == 340) {
_root.error_en();
}
if (wave == 500) {
_root.error_en();
}
if (wave == 600 || wave == 610 || wave == 620 || wave == 630 || wave == 640) {
_root.error_en();
}
if (wave > 700) {
wavenum = 29;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 29) {
if (wave == 120 || wave == 160 || wave == 600) {
_root.frames_en();
}
if (wave == 400 || wave == 450 || wave == 500) {
_root.error_en();
}
if (wave > 700) {
wavenum = 30;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 30) {
if (wave == 120 || wave == 160 || wave == 600) {
_root.frames_en();
}
if (wave == 400 || wave == 450 || wave == 500) {
_root.error_en();
}
if (wave == 600) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 630) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 660) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 800) {
wavenum = 32;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 32) {
if (wave == 120 || wave == 160 || wave == 600) {
_root.frames_en();
}
if (wave == 400 || wave == 450 || wave == 500) {
_root.error_en();
}
if (wave == 460) {
_root.kid_en();
}
if (wave > 700) {
wavenum = 33;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 33) {
if (wave == 120 || wave == 160 || wave == 600) {
_root.swff_en();
}
if (wave == 400 || wave == 450 || wave == 500) {
_root.swff_en();
}
if (wave > 700) {
wavenum = 34;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 34) {
if (wave == 100 || wave == 110 || wave == 120 || wave == 130 || wave == 140 || wave == 160 || wave == 200 || wave == 240) {
_root.swff_en();
}
if (wave == 180 || wave == 220) {
_root.frames_en();
}
if (wave == 350 || wave == 380 || wave == 410 || wave == 440 || wave == 530) {
_root.error_en();
}
if (wave == 600 || wave == 620 || wave == 640 || wave == 660 || wave == 680 || wave == 700 || wave == 720 || wave == 740) {
_root.swff_en();
}
if (wave == 800) {
if (_root.plife < 3) {
_root.plifeup(1, 300);
}
if (_root.dlife < 3) {
_root.plifeup(2, 350);
}
if (_root.nlife < 3) {
_root.plifeup(3, 400);
}
}
if (wave == 830) {
if (_root.plife < 2) {
_root.plifeup(1, 300);
}
if (_root.dlife < 2) {
_root.plifeup(2, 350);
}
if (_root.nlife < 2) {
_root.plifeup(3, 400);
}
}
if (wave == 860) {
if (_root.plife < 1) {
_root.plifeup(1, 300);
}
if (_root.dlife < 1) {
_root.plifeup(2, 350);
}
if (_root.nlife < 1) {
_root.plifeup(3, 400);
}
}
if (wave > 900) {
wavenum = 35;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 35) {
if (wave == 50 || wave == 100 || wave == 250 || wave == 300 || wave == 450 || wave == 500) {
_root.frames_en();
}
if (wave > 600) {
wavenum = 36;
_root.i = 500;
wave = 0;
}
}
if (wavenum == 36) {
if (wave == 100) {
_root.kid_en();
}
if (wave == 200) {
_root.ie_en();
}
if (wave == 1500) {
_root.i = 505;
}
if (wave == 3000) {
_root.i = 505;
}
if (wave == 4500) {
_root.i = 505;
}
}
if (wavenum == 50) {
if (wave == 100) {
_root.gotoAndStop(4);
}
}
}
++phagain;
++dhagain;
++nhagain;
if (plife < 1 && dlife < 1 && nlife < 1 && gameover == false) {
gameover = true;
_root.ic1.scaleup = -15;
_root.ic2.scaleup = -15;
_root.ic3.scaleup = -15;
_root.trans.gover.gotoAndStop(2);
}
if (_root.remoo == true) {
_root.remoo = false;
}
};
gameover = false;
entest = 0;
boost = 0;
act = 1;
newchange = 0;
xmove = 0;
ymove = 0;
peecoact = 0;
plife = 3;
dlife = 3;
nlife = 3;
i = 500;
buffhurt = 0;
pinv = false;
dinv = false;
ninv = false;
phagain = 0;
dhagain = 0;
nhagain = 0;
wave = -900;
wavenum = 1;
ndefend = false;
transition = false;
unicorn = false;
remoo = false;
}
movieClip 515 {
}
movieClip 518 {
}
movieClip 521 {
frame 1 {
stop();
}
}
instance backg of movieClip 521 {
onClipEvent (load) {
speeed = 0;
}
onClipEvent (enterFrame) {
if (speeed < 7) {
speeed += 0.1;
} else {
if (speeed < 21) {
speeed += 0.5;
}
}
this._x -= speeed;
if (this._x < -1034 && _root.wavenum < 20) {
this._x = 0;
}
if (this._x < -1040 && _root.wavenum < 90 && _root.wavenum >= 20) {
this._x = 0;
}
}
}
movieClip 533 {
}
movieClip 534 {
frame 1 {
_root._x += 2;
_root._y -= 1;
}
frame 2 {
_root._x -= 1;
_root._y += 1;
}
frame 3 {
_root._x -= 1;
}
frame 4 {
_root._x += 2;
_root._y -= 1;
}
frame 5 {
_root._x -= 1;
_root._y += 1;
}
frame 6 {
_root._x -= 1;
}
frame 7 {
_root._x += 2;
_root._y -= 1;
}
frame 8 {
_root._x -= 1;
_root._y += 1;
}
frame 9 {
_root._x -= 1;
}
frame 10 {
_root._x += 2;
_root._y -= 1;
}
frame 11 {
_root._x -= 1;
_root._y += 1;
}
frame 12 {
_root._x -= 1;
}
instance of movieClip 533 {
onClipEvent (load) {
if (Key.isDown(83) && _root.act == 1) {
_parent.gotoAndPlay(1);
}
}
}
frame 15 {
_parent.gotoAndStop(1);
}
}
movieClip 539 {
}
movieClip 540 {
}
movieClip 542 {
frame 3 {
stop();
}
}
movieClip 543 {
frame 1 {
stop();
}
frame 1 {
pgun.stop();
}
frame 2 {
pgun = new Sound(this);
pgun.attachSound('pgun');
pgun.setVolume(70);
pgun.start(0, 500);
}
frame 3 {
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.cloudyay(_root.ch1._x - 20 + (random(40) + 1), _root.ch1._y - 60);
_root.ch1.boost = 0;
}
frame 3 {
pgun.stop();
}
}
instance ch1 of movieClip 543 {
onClipEvent (load) {
var boost = 0;
var yay = 0;
var ennum = 200;
}
onClipEvent (enterFrame) {
if (_root.plife > 0) {
this._x += boost;
}
if (boost < 0) {
boost *= 0.6;
}
this.swapDepths(_y);
if (_root.plife > 0) {
if (_root.act == 2 || _root.act == 3) {
if (_root.nlife > 0) {
this._x += (_root.ch3._x - 80 - this._x) / 4;
this._y += (_root.ch3._y - this._y) / 4;
}
if (_root.nlife == 0 && _root.dlife > 0) {
this._x += (_root.ch2._x - 80 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
}
}
if (_root.plife <= 0 && _root.dlife > 0 && _root.nlife > 0) {
if (_root.act == 2 && _root.dlife >= 0) {
this._x += (_root.ch3._x - 50 - this._x) / 4;
this._y += (_root.ch3._y - this._y) / 4;
}
if (_root.act == 3 && _root.nlife >= 0) {
this._x += (_root.ch2._x - 50 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
}
if (_root.plife <= 0 && _root.dlife <= 0 && _root.nlife > 0) {
this._x += (_root.ch2._x - 50 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
if (_root.plife <= 0 && _root.nlife <= 0 && _root.dlife > 0) {
this._x += (_root.ch3._x - 50 - this._x) / 4;
this._y += (_root.ch3._y - this._y) / 4;
}
var i = 500;
while (i < ennum + 500) {
if (this.hit.hitTest(_root['testenom' + i].hitc) && _root['testenom' + i].dead == false && _root.pinv == false && _root.plife > 0 && _root.act == 1 && _root.buffhurt > 10) {
yay = i;
if (_root.phagain > 10) {
--_root.plife;
_root.phagain = 0;
}
this._x += 10;
if (_root.plife > 0) {
_root.plose.gotoAndPlay(2);
_root.ch1.boost = -30;
}
if (_root.plife < 1 && _root.dlife > 0) {
_root.ic1.scaleup = -15;
act = 2;
_root.buffhurt = 0;
_root.ic2.play();
_root.ic2.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.plife < 1 && _root.dlife < 1) {
_root.ic1.scaleup = -15;
act = 3;
_root.buffhurt = 0;
_root.ic3.play();
_root.ic3.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
if (this.bhit.hitTest(_root['enshot' + i].hit) && _root.pinv == false && _root.plife > 0 && _root.act == 1 && _root.buffhurt > 10) {
yay = i;
if (_root.phagain > 10) {
--_root.plife;
_root.phagain = 0;
}
this._x += 10;
if (_root.plife > 0) {
_root.plose.gotoAndPlay(2);
_root.ch1.boost = -30;
}
if (_root.plife < 1 && _root.dlife > 0) {
_root.ic1.scaleup = -15;
act = 2;
_root.buffhurt = 0;
_root.ic2.play();
_root.ic2.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.plife < 1 && _root.dlife < 1 && _root.nlife > 0) {
_root.ic1.scaleup = -15;
act = 3;
_root.buffhurt = 0;
_root.ic3.play();
_root.ic3.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
++i;
}
}
}
movieClip 550 {
frame 9 {
_parent.gotoAndStop(1);
}
}
movieClip 552 {
}
movieClip 553 {
}
movieClip 555 {
frame 3 {
stop();
}
}
movieClip 556 {
frame 1 {
stop();
}
frame 3 {
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.cloudyay(_root.ch2._x - 20 + (random(40) + 1), _root.ch2._y - 60);
_root.ch2.boost = 0;
}
}
instance ch2 of movieClip 556 {
onClipEvent (load) {
var boost = 0;
var yay = 0;
var ennum = 200;
}
onClipEvent (enterFrame) {
if (_root.dlife > 0) {
this._x += boost;
}
if (boost < 0) {
boost *= 0.6;
}
this.swapDepths(_y);
if (_root.dlife > 0) {
if (_root.act == 1 || _root.act == 3) {
if (_root.plife > 0) {
this._x += (_root.ch1._x - 80 - this._x) / 4;
this._y += (_root.ch1._y - this._y) / 4;
}
if (_root.plife == 0 && _root.nlife > 0) {
this._x += (_root.ch3._x - 80 - this._x) / 4;
this._y += (_root.ch3._y - this._y) / 4;
}
}
}
if (_root.dlife <= 0 && _root.plife > 0 && _root.nlife > 0) {
if (_root.act == 1 && _root.plife >= 0) {
this._x += (_root.ch3._x - 50 - this._x) / 4;
this._y += (_root.ch3._y - this._y) / 4;
}
if (_root.act == 3 && _root.nlife >= 0) {
this._x += (_root.ch1._x - 50 - this._x) / 4;
this._y += (_root.ch1._y - this._y) / 4;
}
}
if (_root.dlife <= 0 && _root.plife <= 0 && _root.nlife > 0) {
this._x += (_root.ch3._x - 50 - this._x) / 4;
this._y += (_root.ch3._y - this._y) / 4;
}
if (_root.dlife <= 0 && _root.plife > 0 && _root.nlife <= 0) {
this._x += (_root.ch1._x - 50 - this._x) / 4;
this._y += (_root.ch1._y - this._y) / 4;
}
var i = 500;
while (i < ennum + 500) {
if (this.hit.hitTest(_root['testenom' + i].hitc) && _root['testenom' + i].dead == false && _root.dinv == false && _root.dlife > 0 && _root.act == 2 && _root.buffhurt > 10) {
yay = i;
if (_root.dhagain > 10) {
--_root.dlife;
_root.dhagain = 0;
}
this._x += 10;
if (_root.dlife > 0) {
_root.dlose.gotoAndPlay(2);
_root.ch2.boost = -30;
}
if (_root.dlife < 1 && _root.plife > 0) {
_root.ic2.scaleup = -15;
act = 1;
_root.buffhurt = 0;
_root.ic1.play();
_root.ic1.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.dlife < 1 && _root.plife < 1) {
_root.ic2.scaleup = -15;
act = 3;
_root.buffhurt = 0;
_root.ic3.play();
_root.ic3.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
if (this.bhit.hitTest(_root['enshot' + i].hit) && _root.dinv == false && _root.dlife > 0 && _root.act == 2 && _root.buffhurt > 10) {
yay = i;
if (_root.dhagain > 10) {
--_root.dlife;
_root.dhagain = 0;
}
this._x += 10;
if (_root.dlife > 0) {
_root.dlose.gotoAndPlay(2);
_root.ch2.boost = -30;
}
if (_root.dlife < 1 && _root.plife > 0) {
_root.ic2.scaleup = -15;
act = 1;
_root.buffhurt = 0;
_root.ic1.play();
_root.ic1.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.dlife < 1 && _root.plife < 1) {
_root.ic2.scaleup = -15;
act = 3;
_root.buffhurt = 0;
_root.ic3.play();
_root.ic3.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
++i;
}
}
}
movieClip 561 {
}
movieClip 565 {
frame 1 {
_root.ndefend = true;
}
instance of movieClip 533 {
onClipEvent (load) {
if (Key.isDown(83) && _root.act == 3) {
_parent.gotoAndPlay(1);
}
}
}
frame 13 {
_parent.gotoAndStop(1);
}
}
movieClip 567 {
}
movieClip 568 {
}
movieClip 570 {
frame 3 {
stop();
}
}
movieClip 571 {
frame 1 {
stop();
}
frame 1 {
_root.ndefend = false;
}
frame 3 {
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.cloudyay(_root.ch3._x - 20 + (random(40) + 1), _root.ch3._y - 60);
_root.ch3.boost = 0;
}
}
instance ch3 of movieClip 571 {
onClipEvent (load) {
var boost = 0;
var yay = 0;
var ennum = 200;
}
onClipEvent (enterFrame) {
if (_root.nlife > 0) {
this._x += boost;
}
if (boost < 0) {
boost *= 0.6;
}
this.swapDepths(_y);
if (_root.nlife > 0) {
if (_root.act == 1 || _root.act == 2) {
if (_root.dlife > 0) {
this._x += (_root.ch2._x - 80 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
if (_root.dlife == 0 && _root.plife > 0) {
this._x += (_root.ch1._x - 80 - this._x) / 4;
this._y += (_root.ch1._y - this._y) / 4;
}
}
}
if (_root.nlife <= 0 && _root.dlife > 0 && _root.plife > 0) {
if (_root.act == 1 && _root.plife >= 0) {
this._x += (_root.ch2._x - 50 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
if (_root.act == 2 && _root.dlife >= 0) {
this._x += (_root.ch1._x - 50 - this._x) / 4;
this._y += (_root.ch1._y - this._y) / 4;
}
}
if (_root.nlife <= 0 && _root.plife <= 0 && _root.dlife > 0) {
this._x += (_root.ch2._x - 50 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
if (_root.nlife <= 0 && _root.plife > 0 && _root.dlife <= 0) {
this._x += (_root.ch2._x - 50 - this._x) / 4;
this._y += (_root.ch2._y - this._y) / 4;
}
var i = 500;
while (i < ennum + 500) {
if (this.hit.hitTest(_root['testenom' + i].hitc) && _root['testenom' + i].dead == false && _root.ninv == false && _root.nlife > 0 && _root.act == 3 && _root.buffhurt > 10) {
yay = i;
if (_root.nhagain > 10) {
--_root.nlife;
_root.nhagain = 0;
}
this._x += 10;
if (_root.nlife > 0) {
_root.nlose.gotoAndPlay(2);
_root.ch3.boost = -30;
}
if (_root.nlife < 1 && _root.plife > 0) {
_root.ic3.scaleup = -15;
act = 1;
_root.buffhurt = 0;
_root.ic1.play();
_root.ic1.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.nlife < 1 && _root.plife < 1) {
_root.ic3.scaleup = -15;
act = 2;
_root.buffhurt = 0;
_root.ic2.play();
_root.ic2.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
if (this.bhit.hitTest(_root['enshot' + i].hit) && _root.ninv == false && _root.nlife > 0 && _root.act == 3 && _root.buffhurt > 10 && _root.ndefend == false) {
yay = i;
if (_root.nhagain > 10) {
--_root.nlife;
_root.nhagain = 0;
}
this._x += 10;
if (_root.nlife > 0) {
_root.nlose.gotoAndPlay(2);
_root.ch3.boost = -30;
}
if (_root.nlife < 1 && _root.plife > 0) {
_root.ic3.scaleup = -15;
act = 1;
_root.buffhurt = 0;
_root.ic1.play();
_root.ic1.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
if (_root.nlife < 1 && _root.plife < 1) {
_root.ic3.scaleup = -15;
act = 2;
_root.buffhurt = 0;
_root.ic2.play();
_root.ic2.scaleup = 15;
boost = 5;
_root['ch' + act]._x += 10;
}
}
++i;
}
}
}
button 574 {
on (release) {
--plife;
}
}
button 577 {
on (release) {
--dlife;
}
}
button 580 {
on (release) {
--nlife;
}
}
button 581 {
on (release) {
++plife;
}
}
button 582 {
on (release) {
++dlife;
}
}
button 583 {
on (release) {
++nlife;
}
}
movieClip 585 {
frame 4 {
stop();
_root.dcock._x = 5000;
}
}
movieClip 620 {
frame 1 {
_root.pinv = false;
stop();
}
frame 2 {
_root.pinv = true;
}
frame 3 {
_root._x += 4;
_root._y += 2;
}
frame 3 {
_root.ch1._alpha = 0;
}
frame 4 {
_root._x -= 3;
_root._y -= 4;
}
frame 4 {
_root.ch1._alpha = 100;
}
frame 5 {
_root._x -= 1;
_root._y += 1;
}
frame 5 {
_root.ch1._alpha = 0;
}
frame 6 {
_root._x += 1;
_root._y += 1;
}
frame 6 {
_root.ch1._alpha = 100;
}
frame 7 {
_root._x -= 1;
}
frame 7 {
_root.ch1._alpha = 0;
}
frame 8 {
_root.ch1._alpha = 100;
}
frame 9 {
_root.ch1._alpha = 0;
}
frame 10 {
_root.ch1._alpha = 100;
}
frame 11 {
_root.ch1._alpha = 0;
}
frame 12 {
_root.ch1._alpha = 100;
}
frame 13 {
_root.ch1._alpha = 0;
}
frame 14 {
_root.ch1._alpha = 100;
}
frame 15 {
_root.ch1._alpha = 0;
}
frame 16 {
_root.ch1._alpha = 100;
}
frame 17 {
_root.ch1._alpha = 0;
}
frame 18 {
_root.ch1._alpha = 100;
}
frame 19 {
_root.ch1._alpha = 0;
}
frame 20 {
_root.ch1._alpha = 100;
}
frame 21 {
_root.ch1._alpha = 0;
}
frame 22 {
_root.ch1._alpha = 100;
}
frame 23 {
_root.ch1._alpha = 0;
}
frame 24 {
_root.ch1._alpha = 100;
}
frame 25 {
_root.ch1._alpha = 0;
}
frame 26 {
_root.ch1._alpha = 100;
}
frame 27 {
_root.ch1._alpha = 0;
}
frame 28 {
_root.ch1._alpha = 100;
}
frame 29 {
_root.ch1._alpha = 0;
}
frame 30 {
_root.ch1._alpha = 100;
}
frame 31 {
_root.ch1._alpha = 0;
}
frame 32 {
_root.ch1._alpha = 100;
}
frame 33 {
_root.ch1._alpha = 0;
}
frame 34 {
_root.ch1._alpha = 100;
}
frame 35 {
_root.ch1._alpha = 0;
}
frame 36 {
_root.ch1._alpha = 100;
}
frame 37 {
_root.ch1._alpha = 0;
}
frame 38 {
_root.ch1._alpha = 100;
}
frame 39 {
_root.ch1._alpha = 0;
}
frame 40 {
_root.ch1._alpha = 100;
}
frame 41 {
_root.ch1._alpha = 0;
}
frame 42 {
_root.ch1._alpha = 100;
}
frame 43 {
_root.ch1._alpha = 0;
}
frame 44 {
_root.ch1._alpha = 100;
}
frame 45 {
_root.ch1._alpha = 0;
}
frame 46 {
_root.ch1._alpha = 100;
}
frame 47 {
_root.ch1._alpha = 0;
}
frame 48 {
_root.ch1._alpha = 100;
}
frame 49 {
_root.ch1._alpha = 0;
}
frame 50 {
_root.ch1._alpha = 100;
}
frame 51 {
_root.ch1._alpha = 0;
}
frame 52 {
_root.ch1._alpha = 100;
}
frame 53 {
_root.ch1._alpha = 0;
}
frame 54 {
_root.ch1._alpha = 100;
}
frame 55 {
_root.ch1._alpha = 0;
}
frame 56 {
_root.ch1._alpha = 100;
}
frame 57 {
_root.ch1._alpha = 0;
}
frame 58 {
_root.ch1._alpha = 100;
}
frame 59 {
_root.ch1._alpha = 0;
}
frame 60 {
_root.ch1._alpha = 100;
}
frame 61 {
_root.ch1._alpha = 0;
}
frame 62 {
_root.ch1._alpha = 100;
}
}
movieClip 652 {
frame 1 {
_root.dinv = false;
stop();
}
frame 2 {
_root.dinv = true;
}
frame 3 {
_root._x += 4;
_root._y += 2;
}
frame 3 {
_root.ch2._alpha = 0;
}
frame 4 {
_root._x -= 3;
_root._y -= 4;
}
frame 4 {
_root.ch2._alpha = 100;
}
frame 5 {
_root._x -= 1;
_root._y += 1;
}
frame 5 {
_root.ch2._alpha = 0;
}
frame 6 {
_root._x += 1;
_root._y += 1;
}
frame 6 {
_root.ch2._alpha = 100;
}
frame 7 {
_root._x -= 1;
}
frame 7 {
_root.ch2._alpha = 0;
}
frame 8 {
_root.ch2._alpha = 100;
}
frame 9 {
_root.ch2._alpha = 0;
}
frame 10 {
_root.ch2._alpha = 100;
}
frame 11 {
_root.ch2._alpha = 0;
}
frame 12 {
_root.ch2._alpha = 100;
}
frame 13 {
_root.ch2._alpha = 0;
}
frame 14 {
_root.ch2._alpha = 100;
}
frame 15 {
_root.ch2._alpha = 0;
}
frame 16 {
_root.ch2._alpha = 100;
}
frame 17 {
_root.ch2._alpha = 0;
}
frame 18 {
_root.ch2._alpha = 100;
}
frame 19 {
_root.ch2._alpha = 0;
}
frame 20 {
_root.ch2._alpha = 100;
}
frame 21 {
_root.ch2._alpha = 0;
}
frame 22 {
_root.ch2._alpha = 100;
}
frame 23 {
_root.ch2._alpha = 0;
}
frame 24 {
_root.ch2._alpha = 100;
}
frame 25 {
_root.ch2._alpha = 0;
}
frame 26 {
_root.ch2._alpha = 100;
}
frame 27 {
_root.ch2._alpha = 0;
}
frame 28 {
_root.ch2._alpha = 100;
}
frame 29 {
_root.ch2._alpha = 0;
}
frame 30 {
_root.ch2._alpha = 100;
}
frame 31 {
_root.ch2._alpha = 0;
}
frame 32 {
_root.ch2._alpha = 100;
}
frame 33 {
_root.ch2._alpha = 0;
}
frame 34 {
_root.ch2._alpha = 100;
}
frame 35 {
_root.ch2._alpha = 0;
}
frame 36 {
_root.ch2._alpha = 100;
}
frame 37 {
_root.ch2._alpha = 0;
}
frame 38 {
_root.ch2._alpha = 100;
}
frame 39 {
_root.ch2._alpha = 0;
}
frame 40 {
_root.ch2._alpha = 100;
}
frame 41 {
_root.ch2._alpha = 0;
}
frame 42 {
_root.ch2._alpha = 100;
}
frame 43 {
_root.ch2._alpha = 0;
}
frame 44 {
_root.ch2._alpha = 100;
}
frame 45 {
_root.ch2._alpha = 0;
}
frame 46 {
_root.ch2._alpha = 100;
}
frame 47 {
_root.ch2._alpha = 0;
}
frame 48 {
_root.ch2._alpha = 100;
}
frame 49 {
_root.ch2._alpha = 0;
}
frame 50 {
_root.ch2._alpha = 100;
}
frame 51 {
_root.ch2._alpha = 0;
}
frame 52 {
_root.ch2._alpha = 100;
}
frame 53 {
_root.ch2._alpha = 0;
}
frame 54 {
_root.ch2._alpha = 100;
}
frame 55 {
_root.ch2._alpha = 0;
}
frame 56 {
_root.ch2._alpha = 100;
}
frame 57 {
_root.ch2._alpha = 0;
}
frame 58 {
_root.ch2._alpha = 100;
}
frame 59 {
_root.ch2._alpha = 0;
}
frame 60 {
_root.ch2._alpha = 100;
}
frame 61 {
_root.ch2._alpha = 0;
}
frame 62 {
_root.ch2._alpha = 100;
}
}
movieClip 684 {
frame 1 {
_root.ninv = false;
stop();
}
frame 2 {
_root.ninv = true;
}
frame 3 {
_root._x += 4;
_root._y += 2;
}
frame 3 {
_root.ch3._alpha = 0;
}
frame 4 {
_root._x -= 3;
_root._y -= 4;
}
frame 4 {
_root.ch3._alpha = 100;
}
frame 5 {
_root._x -= 1;
_root._y += 1;
}
frame 5 {
_root.ch3._alpha = 0;
}
frame 6 {
_root._x += 1;
_root._y += 1;
}
frame 6 {
_root.ch3._alpha = 100;
}
frame 7 {
_root._x -= 1;
}
frame 7 {
_root.ch3._alpha = 0;
}
frame 8 {
_root.ch3._alpha = 100;
}
frame 9 {
_root.ch3._alpha = 0;
}
frame 10 {
_root.ch3._alpha = 100;
}
frame 11 {
_root.ch3._alpha = 0;
}
frame 12 {
_root.ch3._alpha = 100;
}
frame 13 {
_root.ch3._alpha = 0;
}
frame 14 {
_root.ch3._alpha = 100;
}
frame 15 {
_root.ch3._alpha = 0;
}
frame 16 {
_root.ch3._alpha = 100;
}
frame 17 {
_root.ch3._alpha = 0;
}
frame 18 {
_root.ch3._alpha = 100;
}
frame 19 {
_root.ch3._alpha = 0;
}
frame 20 {
_root.ch3._alpha = 100;
}
frame 21 {
_root.ch3._alpha = 0;
}
frame 22 {
_root.ch3._alpha = 100;
}
frame 23 {
_root.ch3._alpha = 0;
}
frame 24 {
_root.ch3._alpha = 100;
}
frame 25 {
_root.ch3._alpha = 0;
}
frame 26 {
_root.ch3._alpha = 100;
}
frame 27 {
_root.ch3._alpha = 0;
}
frame 28 {
_root.ch3._alpha = 100;
}
frame 29 {
_root.ch3._alpha = 0;
}
frame 30 {
_root.ch3._alpha = 100;
}
frame 31 {
_root.ch3._alpha = 0;
}
frame 32 {
_root.ch3._alpha = 100;
}
frame 33 {
_root.ch3._alpha = 0;
}
frame 34 {
_root.ch3._alpha = 100;
}
frame 35 {
_root.ch3._alpha = 0;
}
frame 36 {
_root.ch3._alpha = 100;
}
frame 37 {
_root.ch3._alpha = 0;
}
frame 38 {
_root.ch3._alpha = 100;
}
frame 39 {
_root.ch3._alpha = 0;
}
frame 40 {
_root.ch3._alpha = 100;
}
frame 41 {
_root.ch3._alpha = 0;
}
frame 42 {
_root.ch3._alpha = 100;
}
frame 43 {
_root.ch3._alpha = 0;
}
frame 44 {
_root.ch3._alpha = 100;
}
frame 45 {
_root.ch3._alpha = 0;
}
frame 46 {
_root.ch3._alpha = 100;
}
frame 47 {
_root.ch3._alpha = 0;
}
frame 48 {
_root.ch3._alpha = 100;
}
frame 49 {
_root.ch3._alpha = 0;
}
frame 50 {
_root.ch3._alpha = 100;
}
frame 51 {
_root.ch3._alpha = 0;
}
frame 52 {
_root.ch3._alpha = 100;
}
frame 53 {
_root.ch3._alpha = 0;
}
frame 54 {
_root.ch3._alpha = 100;
}
frame 55 {
_root.ch3._alpha = 0;
}
frame 56 {
_root.ch3._alpha = 100;
}
frame 57 {
_root.ch3._alpha = 0;
}
frame 58 {
_root.ch3._alpha = 100;
}
frame 59 {
_root.ch3._alpha = 0;
}
frame 60 {
_root.ch3._alpha = 100;
}
frame 61 {
_root.ch3._alpha = 0;
}
frame 62 {
_root.ch3._alpha = 100;
}
}
movieClip 695 {
}
movieClip 696 {
frame 1 {
stop();
}
frame 13 {
gotoAndStop(1);
}
frame 14 {
stop();
}
}
instance ic1 of movieClip 696 {
onClipEvent (load) {
this._xscale = 60;
this._yscale = 60;
scaleup = 20;
this.swapDepths(8003);
}
onClipEvent (enterFrame) {
this._xscale += scaleup;
this._yscale += scaleup;
if (this._xscale > 80 && scaleup > 0) {
scaleup *= 0.7;
}
if (this._xscale < 80 && scaleup < 0) {
scaleup *= 0.7;
}
if (this._xscale < 100 && scaleup < 0 && _root.plife <= 0) {
scaleup *= 0.7;
}
if (this._xscale < 50) {
this._xscale = 50;
this._yscale = 50;
}
}
}
movieClip 699 {
}
movieClip 700 {
frame 1 {
stop();
}
frame 13 {
gotoAndStop(1);
}
frame 14 {
stop();
}
}
instance ic2 of movieClip 700 {
onClipEvent (load) {
this._xscale = 60;
this._yscale = 60;
scaleup = -20;
this.swapDepths(8002);
}
onClipEvent (enterFrame) {
this._xscale += scaleup;
this._yscale += scaleup;
if (this._xscale > 80 && scaleup > 0) {
scaleup *= 0.7;
}
if (this._xscale < 80 && scaleup < 0) {
scaleup *= 0.7;
}
if (this._xscale < 100 && scaleup < 0 && _root.dlife <= 0) {
scaleup *= 0.7;
}
if (this._xscale < 50) {
this._xscale = 50;
this._yscale = 50;
}
}
}
movieClip 703 {
}
movieClip 704 {
frame 1 {
stop();
}
frame 13 {
gotoAndStop(1);
}
frame 14 {
stop();
}
}
instance ic3 of movieClip 704 {
onClipEvent (load) {
this._xscale = 60;
this._yscale = 60;
scaleup = -20;
this.swapDepths(8001);
}
onClipEvent (enterFrame) {
this._xscale += scaleup;
this._yscale += scaleup;
if (this._xscale > 80 && scaleup > 0) {
scaleup *= 0.7;
}
if (this._xscale < 80 && scaleup < 0 && _root.nlife >= 0) {
scaleup *= 0.7;
}
if (this._xscale < 100 && scaleup < 0 && _root.nlife <= 0) {
scaleup *= 0.7;
}
if (this._xscale < 50) {
this._xscale = 50;
this._yscale = 50;
}
}
}
movieClip 707 {
}
movieClip 708 {
}
instance nlifev of movieClip 708 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nlife + 1);
}
}
instance dlifev of movieClip 708 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.dlife + 1);
}
}
instance plifev of movieClip 708 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.plife + 1);
}
}
movieClip 714 {
}
movieClip 717 {
}
movieClip 722 {
}
movieClip 725 {
}
movieClip 738 {
frame 452 {
stop();
}
}
movieClip 742 {
}
movieClip 743 {
frame 6 {
stop();
}
frame 33 {
_parent.gotoAndStop(1);
}
}
movieClip 744 {
frame 1 {
stop();
}
instance of movieClip 714 {
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.backg.speeed = 0;
_root.act = 1;
_root.ic1.scaleup = 15;
_root.plife = 3;
_root.nlife = 3;
_root.dlife = 3;
_root.ic1.gotoAndStop(1);
_root.ic2.gotoAndStop(1);
_root.ic3.gotoAndStop(1);
_root.ch1.gotoAndStop(1);
_root.ch2.gotoAndStop(1);
_root.ch3.gotoAndStop(1);
if (_root.wavenum < 20) {
_root.wave = -200;
_root.wavenum = 1;
_root.backg.gotoAndStop(1);
}
if (_root.wavenum >= 20 && _root.wavenum < 27) {
_root.wave = 31;
_root.wavenum = 20;
_root.backg.gotoAndStop(2);
}
if (_root.wavenum >= 27) {
_root.wave = 600;
_root.wavenum = 27;
_root.backg.gotoAndStop(3);
}
_root.ch1._x = 200;
_root.ch2._y = 200;
_root.remoo = true;
_root.backg.musicc.l2m.stop();
_root.gameover = false;
_root.unicorn = false;
_parent.mootion.play();
}
if (Key.isDown(8)) {
_root.gotoAndStop(2);
_parent.gotoAndStop(1);
_root.gameover = false;
_root.remoo = true;
}
}
}
}
movieClip 749 {
frame 1 {
stop();
}
frame 2 {
_root._x += 10;
_root._y -= 5;
}
frame 3 {
_root._x -= 12;
_root._y += 5;
}
frame 4 {
_root._x -= 8;
_root._y -= 5;
}
frame 5 {
_root._x += 10;
_root._y += 5;
}
frame 5 {
stop();
}
}
movieClip 752 {
frame 1 {
stop();
}
frame 2 {
_parent.flashy.play();
}
frame 2 {
_root._x += 10;
_root._y -= 5;
}
frame 3 {
_root._x -= 12;
_root._y += 5;
}
frame 4 {
_root._x -= 8;
_root._y -= 5;
}
frame 5 {
_root._x += 10;
_root._y += 5;
}
frame 6 {
stop();
}
}
movieClip 754 {
frame 1 {
stop();
}
frame 4 {
_root.backg.gotoAndStop(3);
}
}
movieClip 755 {
frame 1 {
stop();
}
}
movieClip 757 {
frame 1 {
stop();
}
}
// unknown tag 88 length 87
button 762 {
on (keyPress '<Space>') {
_root.wave = -260;
}
}
movieClip 765 {
}
movieClip 766 {
frame 4 {
stop();
}
}
movieClip 768 {
}
movieClip 769 {
frame 4 {
stop();
}
}
movieClip 771 {
}
movieClip 772 {
frame 4 {
stop();
}
}
movieClip 773 {
frame 1 {
stop();
}
}
// unknown tag 88 length 92
movieClip 787 {
}
movieClip 788 {
frame 1 {
stop();
}
}
movieClip 794 {
frame 1 {
stop();
}
}
movieClip 801 {
frame 1 {
stop();
}
}
movieClip 812 {
frame 20 {
stop();
}
}
movieClip 813 {
}
movieClip 814 {
frame 17 {
_root.backg.speeed = 0;
_root.backg.nextFrame();
}
frame 37 {
_parent.gotoAndStop(1);
}
}
movieClip 815 {
frame 1 {
stop();
}
}
instance trans of movieClip 815 {
onClipEvent (load) {
this.swapDepths(9500);
}
}
frame 4 {
_root.ch1.removeMovieClip();
_root.ch2.removeMovieClip();
_root.ch3.removeMovieClip();
_root.ic1.removeMovieClip();
_root.ic2.removeMovieClip();
_root.ic3.removeMovieClip();
stop();
}
movieClip 820 {
}
button 822 {
on (release) {
_root.gotoAndStop(2);
}
}
movieClip 823 {
}
movieClip 825 {
instance of movieClip 714 {
onClipEvent (enterFrame) {
if (Key.isDown(8)) {
_root.gotoAndStop(2);
_parent.gotoAndStop(1);
_root.gameover = false;
_root.remoo = true;
}
}
}
frame 867 {
stop();
}
}