Frame 1
percent_loaded = 1;
total_frames = 200;
value = 13;
LOADED_FRAME = 3;
Frame 2
if (Number(percent_loaded) >= 100) {
gotoAndPlay (5);
}
Frame 3
ifFrameLoaded (LOADED_FRAME) {
percent_loaded = int((LOADED_FRAME * 100) / total_frames);
LOADED_FRAME = Number(LOADED_FRAME) + 1;
setProperty("/BAR", _xscale , percent_loaded * value);
}
Frame 4
gotoAndPlay (2);
Frame 5
gotoAndPlay (325);
Frame 8
stopAllSounds();
Frame 10
stopAllSounds();
Frame 286
stopAllSounds();
Frame 324
stop();
Frame 325
play();
if ((dumb = "true")) {
gotoAndPlay (8);
}
stopAllSounds();
Frame 437
stop();
Frame 439
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 85 MovieClip in Frame 439
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 439
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 439
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 439
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 439
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 92 MovieClip "door" in Frame 439
onClipEvent (load) {
this.cash = 0;
this.maxcash = 5;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
gotoAndStop (469);
};
}
}
}
Instance of Symbol 100 MovieClip "player" in Frame 439
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip in Frame 439
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
_root.gotoAndStop("dead");
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 439
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 468
stop();
Frame 469
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 92 MovieClip "door" in Frame 469
onClipEvent (load) {
this.cash = 0;
this.maxcash = 7;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 149 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
tellTarget (_root.health) {
gotoAndStop (1);
};
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 100 MovieClip "player" in Frame 469
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip in Frame 469
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 469
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 470
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 92 MovieClip "door" in Frame 470
onClipEvent (load) {
this.cash = 0;
this.maxcash = 7;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 470
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip in Frame 470
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 470
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 471
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 92 MovieClip "door" in Frame 471
onClipEvent (load) {
this.cash = 0;
this.maxcash = 6;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 471
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 471
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 471
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 471
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 471
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 471
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 471
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 471
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 471
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 472
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 85 MovieClip in Frame 472
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 92 MovieClip "door" in Frame 472
onClipEvent (load) {
this.cash = 0;
this.maxcash = 5;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 472
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 472
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 472
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 472
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 472
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 472
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 472
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 473
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 85 MovieClip in Frame 473
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 92 MovieClip "door" in Frame 473
onClipEvent (load) {
this.cash = 0;
this.maxcash = 5;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 473
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 473
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 473
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 473
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 473
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 473
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 473
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 474
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 92 MovieClip "door" in Frame 474
onClipEvent (load) {
this.cash = 0;
this.maxcash = 8;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 474
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 474
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 474
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 474
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 475
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 149 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
tellTarget (_root.health) {
gotoAndStop (1);
};
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 166 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 92 MovieClip "door" in Frame 475
onClipEvent (load) {
this.cash = 0;
this.maxcash = 7;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 475
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 475
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 475
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 475
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 476
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 149 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
tellTarget (_root.health) {
gotoAndStop (1);
};
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 166 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 92 MovieClip "door" in Frame 476
onClipEvent (load) {
this.cash = 0;
this.maxcash = 6;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 85 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 476
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 476
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 476
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 476
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 477
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 149 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
tellTarget (_root.health) {
gotoAndStop (1);
};
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 166 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 149 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
tellTarget (_root.health) {
gotoAndStop (1);
};
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 92 MovieClip "door" in Frame 477
onClipEvent (load) {
this.cash = 0;
this.maxcash = 6;
}
onClipEvent (enterFrame) {
if (this.cash == this.maxcash) {
this.gotoAndStop(2);
if (this.hittest(_root.player)) {
tellTarget (_root) {
play();
};
}
}
}
Instance of Symbol 166 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 85 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 477
onClipEvent (enterFrame) {
if (this.hittest(_root.player)) {
_root.door.cash = _root.door.cash + 1;
this._visible = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 100 MovieClip "player" in Frame 477
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 12;
this.gravity = 0.7;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
}
Instance of Symbol 104 MovieClip "health" in Frame 477
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 477
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 603
stop();
_root.playerhit = false;
_root.maxbombs = 3;
Instance of Symbol 240 MovieClip "xx" in Frame 603
onClipEvent (load) {
if (_root.bosshealth == 0) {
gotoAndPlay (8);
}
}
Instance of Symbol 166 MovieClip in Frame 603
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 166 MovieClip in Frame 603
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 100 MovieClip "player" in Frame 603
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.jump = true;
this.jumpHeight = 14;
this.gravity = 0.7;
this.win = false;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.1;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.1;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (this.win == false) {
if (Key.isDown(Key.up)) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (Key.isDown(Key.left)) {
this.xspeed = this.xspeed - 0.5;
this.gotoandStop(2);
tellTarget (_root.player.elep) {
play();
};
} else if (Key.isDown(Key.right)) {
this.xspeed = this.xspeed + 0.5;
this.gotoandStop(1);
tellTarget (_root.player.elep) {
play();
};
} else {
this.xspeed = this.xspeed * 0.91;
tellTarget (_root.player.elep) {
stop();
};
}
} else {
this.xspeed = this.xspeed * 0.51;
}
}
Instance of Symbol 104 MovieClip "health" in Frame 603
onClipEvent (enterFrame) {
if (_root.playerhit) {
if (!_root.player.win) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
}
if (this.killed) {
tellTarget (_root) {
gotoAndPlay ("dead");
};
}
}
Instance of Symbol 245 MovieClip "bosshealth" in Frame 603
onClipEvent (enterFrame) {
if (_root.playerhit) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
}
if (this.killed) {
dumb = true;
}
}
onClipEvent (enterFrame) {
if (_root.boss.hitbox2) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 266 MovieClip "boss" in Frame 603
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 10;
this.hitbox = false;
this.maxspeed = 10;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
if (this.alive) {
if (_root.bosshealth.killed) {
_root.score = _root.score + 10;
this.alive = false;
gotoAndPlay (8);
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this.gotoAndStop(3);
_root.health.gotoAndStop(1);
}
}
Instance of Symbol 111 MovieClip "plant" in Frame 603
onClipEvent (load) {
this.xspeed = Number(_root.player.xspeed) * 1.1;
this.yspeed = Number(_root.player.yspeed - 5) * 1.1;
this.jumpHeight = 12;
this.gravity = 0.9;
}
onClipEvent (enterFrame) {
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.66;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.96;
} else {
this.yspeed = this.yspeed * -0.96;
}
}
Frame 604
play();
if ((_root.winner = true)) {
gotoAndPlay (8);
}
Frame 605
stopAllSounds();
Frame 883
stopAllSounds();
Frame 921
stop();
Symbol 34 Button
on (release) {
gotoAndPlay (325);
}
Symbol 62 Button
on (press) {
stopAllSounds();
}
on (release) {
play();
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 18
killed = true;
Symbol 82 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip "health" in Symbol 82 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.hitbox2) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 82 MovieClip "enemy1" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = 6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else if (this.xspeed >= 0) {
this.xspeed = 0;
this.yspeed = this.bandspeed;
} else {
this.xspeed = 0;
this.yspeed = -this.bandspeed;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = 0;
this.xspeed = this.bandspeed;
} else {
this.yspeed = 0;
this.xspeed = -this.bandspeed;
}
this.yspeed = 0;
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy2" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = 6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else if (this.xspeed >= 0) {
this.xspeed = 0;
this.yspeed = this.bandspeed;
} else {
this.xspeed = 0;
this.yspeed = -this.bandspeed;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = 0;
this.xspeed = this.bandspeed;
} else {
this.yspeed = 0;
this.xspeed = -this.bandspeed;
}
this.yspeed = 0;
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 66 MovieClip "hitbax" in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 5;
_visible = 0;
}
Instance of Symbol 83 MovieClip "enemies" in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Symbol 85 MovieClip Frame 1
stop();
cashonscreen = false;
Symbol 92 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 40
killed = true;
Instance of Symbol 110 MovieClip "follow" in Symbol 111 MovieClip Frame 45
onClipEvent (enterFrame) {
if (this.hittest(_root.b.enemy1)) {
tellTarget (_root.b.enemy1) {
play();
};
_root.b.enemy1.hit = false;
} else {
_root.b.enemy1.hit = true;
}
if (this.hittest(_root.b.enemy2)) {
tellTarget (_root.b.enemy2) {
play();
};
_root.b.enemy2.hit = false;
} else {
_root.b.enemy2.hit = true;
}
if (this.hittest(_root.b.enemy3)) {
tellTarget (_root.b.enemy3) {
play();
};
_root.b.enemy3.hit = false;
} else {
_root.b.enemy3.hit = true;
}
if (this.hittest(_root.b.enemy4)) {
tellTarget (_root.b.enemy4) {
play();
};
_root.b.enemy4.hit = false;
} else {
_root.b.enemy4.hit = true;
}
if (this.hittest(_root.b.enemy5)) {
tellTarget (_root.b.enemy5) {
play();
};
_root.b.enemy5.hit = false;
} else {
_root.b.enemy5.hit = true;
}
if (this.hittest(_root.b.enemy6)) {
tellTarget (_root.b.enemy6) {
play();
};
_root.b.enemy6.hit = false;
} else {
_root.b.enemy6.hit = true;
}
if (this.hittest(_root.b.enemy7)) {
tellTarget (_root.b.enemy7) {
play();
};
_root.b.enemy7.hit = false;
} else {
_root.b.enemy7.hit = true;
}
if (this.hittest(_root.b.enemy8)) {
tellTarget (_root.b.enemy8) {
play();
};
_root.b.enemy8.hit = false;
} else {
_root.b.enemy8.hit = true;
}
}
Symbol 111 MovieClip Frame 55
removeMovieClip("");
Symbol 113 Button
on (keyPress "<Space>") {
Set("../:n", Number(../:n) + 1);
bombnumber = "b" add ../:n;
duplicateMovieClip ("../plant", bombnumber, ../:n);
setProperty(["_root.b" add ../:n], _x , getProperty(_root.player, _x));
setProperty(["_root.b" add ../:n], _y , getProperty(_root.player, _y));
if (../:n > Number(_root.maxbombs)) {
Set("../:n", 1);
}
}
Symbol 127 Button
on (release) {
if (_root.password == "LYI") {
gotoAndPlay (469);
} else if (_root.password == "NNN") {
gotoAndPlay (470);
} else if (_root.password == "PQR") {
gotoAndPlay (471);
} else if (_root.password == "TNA") {
gotoAndPlay (472);
} else if (_root.password == "RNA") {
gotoAndPlay (473);
} else if (_root.password == "DDC") {
gotoAndPlay (474);
} else if (_root.password == "JAK") {
gotoAndPlay (475);
} else if (_root.password == "AOB") {
gotoAndPlay (476);
} else if (_root.password == "BOS") {
gotoAndPlay (477);
} else if (_root.password == "VVC") {
gotoAndPlay (603);
} else {
gotoAndStop (325);
}
_root.score = 0;
}
Symbol 144 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip "health" in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.hitbox2) {
this.gotoAndStop(_currentframe + 1);
tellTarget (this.flash) {
play();
};
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = 6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else if (this.xspeed >= 0) {
this.xspeed = 0;
this.yspeed = this.bandspeed;
} else {
this.xspeed = 0;
this.yspeed = -this.bandspeed;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = 0;
this.xspeed = this.bandspeed;
} else {
this.yspeed = 0;
this.xspeed = -this.bandspeed;
}
this.yspeed = 0;
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else if (this.xspeed >= 0) {
this.xspeed = 0;
this.yspeed = this.bandspeed;
} else {
this.xspeed = 0;
this.yspeed = -this.bandspeed;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = 0;
this.xspeed = this.bandspeed;
} else {
this.yspeed = 0;
this.xspeed = -this.bandspeed;
}
this.yspeed = 0;
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 135 MovieClip "hitbax" in Symbol 146 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 5;
_visible = 0;
}
Instance of Symbol 145 MovieClip "enemies" in Symbol 146 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Symbol 149 MovieClip Frame 1
stop();
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = 6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else if (this.xspeed >= 0) {
this.xspeed = 0;
this.yspeed = this.bandspeed;
} else {
this.xspeed = 0;
this.yspeed = -this.bandspeed;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = 0;
this.xspeed = this.bandspeed;
} else {
this.yspeed = 0;
this.xspeed = -this.bandspeed;
}
this.yspeed = 0;
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 156 MovieClip "enemies" in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Symbol 166 MovieClip Frame 1
stop();
Instance of Symbol 82 MovieClip "enemy1" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy6" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy7" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy3" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip "enemy2" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip "enemy5" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 144 MovieClip "enemy4" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 164 MovieClip "hitbax" in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 10;
_visible = 0;
}
Instance of Symbol 149 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
tellTarget (_root.health) {
gotoAndStop (1);
};
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 166 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.maxbombs = _root.maxbombs + 1;
this.gotoAndStop(2);
this._visible = 0;
}
}
Instance of Symbol 167 MovieClip "enemies" in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 82 MovieClip "enemy1" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy2" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy3" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy4" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy5" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy6" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 175 MovieClip "hitbax" in Symbol 181 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 10;
_visible = 0;
}
Instance of Symbol 180 MovieClip "enemies" in Symbol 181 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 82 MovieClip "enemy1" in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy2" in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 188 MovieClip "hitbax" in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 7;
_visible = 0;
}
Instance of Symbol 189 MovieClip "enemies" in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 82 MovieClip "enemy1" in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy2" in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy3" in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy4" in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 196 MovieClip "hitbax" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 7;
_visible = 0;
}
Instance of Symbol 200 MovieClip "enemies" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = 0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 213 MovieClip "enemies" in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 220 MovieClip "enemies" in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 82 MovieClip "enemy4" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy2" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy4" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy5" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy7" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy6" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy8" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy9" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.bandspeed = -6;
this.xspeed = this.bandspeed;
this.yspeed = 0;
this.maxspeed = 12;
this.alive = true;
}
onClipEvent (enterFrame) {
randomwall = random(2);
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = 0;
if (this.randomwall == 0) {
this.yspeed = -this.bandspeed;
} else {
this.yspeed = this.bandspeed;
}
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
this.yspeed = 0;
if (this.randomwall == 0) {
this.xspeed = -this.bandspeed;
} else {
this.xspeed = this.bandspeed;
}
}
if (this._x > _root.player._x) {
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.gotoandStop(1);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = 0;
this.hitbox = false;
this.maxspeed = 1;
this.bandspeed = -0.5;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.yspeed > maxspeed) {
this.yspeed = maxspeed;
} else if (this.yspeed < (-maxspeed)) {
this.yspeed = -maxspeed;
}
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.bandspeed = this.bandspeed * -1;
} else {
this.bandspeed = this.bandspeed * -1;
}
this.yspeed = 0;
}
this.yspeed = this.yspeed + this.bandspeed;
if (this._x > _root.player._x) {
this.gotoAndStop(2);
} else if (this._x < _root.player._x) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy9" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy10" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy12" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy11" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy13" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy14" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy15" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 82 MovieClip "enemy16" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.hitbox2 = false;
this.xspeed = 0;
this.yspeed = 0;
this.jump = false;
this.jumpHeight = 13;
this.hitbox = false;
this.maxspeed = 36;
this.gravity = 0.7;
this.alive = true;
}
onClipEvent (enterFrame) {
if (this.alive) {
if (this.health.killed) {
_root.score++;
this.alive = false;
}
i = 1;
while (i < Number(_root.maxbombs + 1)) {
if (this.hittest("_root.b" add i)) {
this.hitbox2 = true;
} else {
this.hitbox2 = false;
}
i++;
}
if (this.xspeed > maxspeed) {
this.xspeed = maxspeed;
} else if (this.xspeed < (-maxspeed)) {
this.xspeed = -maxspeed;
}
this.yspeed = this.yspeed + this.gravity;
x = this._x + this.xspeed;
y = this._y + this.yspeed;
if (_root.xx.bkg.hittest(x, this._y, true)) {
this._x = x;
} else {
this.xspeed = this.xspeed * -0.5;
}
if (_root.xx.bkg.hittest(this._x, y, true)) {
this._y = y;
} else {
if (this.yspeed < 0) {
this.yspeed = this.yspeed * -0.5;
} else {
this.jump = true;
}
this.yspeed = 0;
}
if (hitbox) {
if (this.jump) {
this.yspeed = this.yspeed - this.jumpHeight;
this.jump = false;
}
}
if (this._x > _root.player._x) {
this.xspeed = this.xspeed - 0.1;
this.gotoandStop(2);
} else if (this._x < _root.player._x) {
this.xspeed = this.xspeed + 0.1;
this.gotoandStop(1);
} else {
this.xspeed = 0;
}
} else {
this._visible = 0;
this._x = -1;
this._y = -1;
}
}
Instance of Symbol 196 MovieClip "hitbax" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < maxenemies) {
enemyis = "enemy" + i;
if (this.hittest(_root.xx.enemies[enemyis]._x, _root.xx.enemies[enemyis]._y, true)) {
_root.xx.enemies[enemyis].hitbox = true;
} else {
_root.xx.enemies[enemyis].hitbox = false;
}
i++;
}
}
onClipEvent (load) {
maxenemies = 19;
_visible = 0;
}
Instance of Symbol 231 MovieClip "enemies" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.player._x, _root.player._y, true)) {
_root.playerhit = true;
} else {
_root.playerhit = false;
}
}
Instance of Symbol 239 MovieClip "hitbax" in Symbol 240 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.boss._x, _root.boss._y, true)) {
_root.boss.hitbox = true;
} else {
_root.boss.hitbox = false;
}
}
onClipEvent (load) {
_visible = 0;
}
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 200
dumb = "true";
Symbol 245 MovieClip Frame 210
killed = true;
Symbol 265 MovieClip Frame 20
_root.gotoAndPlay(_currentframe + 1);
stop();
Symbol 266 MovieClip Frame 1
stop();
Instance of Symbol 265 MovieClip in Symbol 266 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay (1);
}