Frame 1
function fun() {
getURL ("http://www.freewebs.com/hork-bajir/");
}
function mute() {
stopAllSounds();
}
var con = new ContextMenu();
con.hideBuiltInItems();
var new_menu = new ContextMenuItem("Kwingtones", fun);
con.customItems.push(new_menu);
var new_menu = new ContextMenuItem("Mute", mute);
con.customItems.push(new_menu);
_root.menu = con;
Frame 3
stop();
Instance of Symbol 150 MovieClip in Frame 6
on (release) {
this.nextFrame();
}
Frame 7
vcam.score = 0;
vcam.health = 100;
Instance of Symbol 217 MovieClip "player" in Frame 7
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.vcam.score == 44) {
}
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(32))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(32))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(32) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (this._y > 2000) {
_root.prevFrame();
}
}
Instance of Symbol 226 MovieClip in Frame 7
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 226 MovieClip in Frame 7
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 7
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 7
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.score++;
this.unloadMovie();
}
}
Instance of Symbol 244 MovieClip "vcam" in Frame 7
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - _y) / 4));
_x = (_x + ((_root.player._x - _x) / 4));
if (this.score > 49) {
_root.nextFrame();
}
}
Instance of Symbol 249 MovieClip "moneyslot" in Frame 8
onClipEvent (enterFrame) {
if (_root.moneyneeded < 1) {
_root.nextFrame();
}
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
_root.moneyneeded = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moneyslot)) {
unloadMovie (this);
_root.moneyneeded = _root.moneyneeded - 1;
}
}
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 271 MovieClip in Frame 11
on (release) {
_root.nextFrame();
}
Frame 12
vcam.score = 0;
vcam.health = 100;
Instance of Symbol 217 MovieClip "player" in Frame 12
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.vcam.score == 44) {
}
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(32))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(32))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(32) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (this._y > 2000) {
_root.prevFrame();
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 226 MovieClip in Frame 12
onClipEvent (load) {
grav = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
grav++;
this._y = this._y + grav;
if (this._x < _root.player._x) {
this._x = this._x + 5;
this.gotoAndStop(2);
}
if (this._x > _root.player._x) {
this._x = this._x - 5;
this.gotoAndStop(1);
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (this.hitTest(_root.player.attack.explosion)) {
unloadMovie (this);
_root.vcam.score = _root.vcam.score + 1;
}
while ((_root.player._y < this._y) && (_root.ground.hitTest(_x, _y, true))) {
grav = -9999999;
}
}
Instance of Symbol 244 MovieClip "vcam" in Frame 12
onClipEvent (enterFrame) {
if (this.score > 8) {
_root.nextFrame();
}
}
Instance of Symbol 279 MovieClip "blood" in Frame 14
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
onClipEvent (enterFrame) {
if ((this._x < 50) && (_root.player._x < 50)) {
_root.nextFrame();
}
}
Instance of Symbol 281 MovieClip "player" in Frame 14
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 298 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(2)) {
_root.gotoAndStop(16);
}
}
on (dragOut) {
_root.gotoAndStop(16);
}
Instance of Symbol 303 MovieClip in Frame 16
on (rollOver) {
_root.nextFrame();
}
Instance of Symbol 310 MovieClip in Frame 16
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 19
Mouse.show();
Frame 22
vcam.score = 0;
vcam.health = 100;
Instance of Symbol 322 MovieClip in Frame 22
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root._root.yChange = Math.round(_root._ymouse - this._y);
_root._root.xChange = Math.round(_root._xmouse - this._x);
_root._root.yMove = Math.round(_root.yChange / 20);
_root._root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
this._x = _root.player._x();
this._y = _root.player._y();
}
onClipEvent (load) {
speed = 6;
}
onClipEvent (enterFrame) {
if (Key.isDown(87)) {
this._y = this._y - speed;
this.gotoAndStop(5);
}
if (Key.isDown(83)) {
this._y = this._y + speed;
this.gotoAndStop(6);
}
if (Key.isDown(68)) {
this._x = this._x + speed;
this.gotoAndStop(7);
}
if (Key.isDown(65)) {
this._x = this._x - speed;
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (_root.health < 1) {
stopAllSounds();
_root.nextFrame();
_root.health = 0;
}
}
onClipEvent (enterFrame) {
if (this._x > 550) {
this._x = 550;
}
if (this._x < 0) {
this._x = 0;
}
if (this._y > 400) {
this._y = 350;
}
if (this._y < 0) {
this._y = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(9)) {
_root.nextFrame();
}
}
Instance of Symbol 329 MovieClip "player" in Frame 22
onClipEvent (load) {
speed = 6;
}
onClipEvent (enterFrame) {
if (Key.isDown(87)) {
this._y = this._y - speed;
this.gotoAndStop(5);
}
if (Key.isDown(83)) {
this._y = this._y + speed;
this.gotoAndStop(6);
}
if (Key.isDown(68)) {
this._x = this._x + speed;
this.gotoAndStop(7);
}
if (Key.isDown(65)) {
this._x = this._x - speed;
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this._x > 550) {
this._x = 550;
}
if (this._x < 0) {
this._x = 0;
}
if (this._y > 400) {
this._y = 400;
}
if (this._y < 0) {
this._y = 0;
}
}
Instance of Symbol 334 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.player._x > this._x) {
this._x = this._x + 2;
}
if (_root.player._y > this._y) {
this._y = this._y + 2;
}
if (_root.player._x < this._x) {
this._x = this._x - 2;
}
if (_root.player._y < this._y) {
this._y = this._y - 2;
}
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - this._y, _root.player._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.player._y - this._y);
_root.xChange = Math.round(_root.player._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
on (press) {
this._x = 600;
this._y = random(400);
_root.vcam.score = _root.vcam.score + 1;
this.nextFrame();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
}
Instance of Symbol 334 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.player._x > this._x) {
this._x = this._x + 2;
}
if (_root.player._y > this._y) {
this._y = this._y + 2;
}
if (_root.player._x < this._x) {
this._x = this._x - 2;
}
if (_root.player._y < this._y) {
this._y = this._y - 2;
}
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - this._y, _root.player._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.player._y - this._y);
_root.xChange = Math.round(_root.player._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
on (press) {
this._x = -50;
this._y = random(400);
_root.vcam.score = _root.vcam.score + 1;
this.nextFrame();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
}
Instance of Symbol 334 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.player._x > this._x) {
this._x = this._x + 2;
}
if (_root.player._y > this._y) {
this._y = this._y + 2;
}
if (_root.player._x < this._x) {
this._x = this._x - 2;
}
if (_root.player._y < this._y) {
this._y = this._y - 2;
}
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - this._y, _root.player._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.player._y - this._y);
_root.xChange = Math.round(_root.player._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
on (press) {
this._x = random(550);
this._y = -50;
_root.vcam.score = _root.vcam.score + 1;
this.nextFrame();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
}
Instance of Symbol 334 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.player._x > this._x) {
this._x = this._x + 2;
}
if (_root.player._y > this._y) {
this._y = this._y + 2;
}
if (_root.player._x < this._x) {
this._x = this._x - 2;
}
if (_root.player._y < this._y) {
this._y = this._y - 2;
}
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - this._y, _root.player._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.player._y - this._y);
_root.xChange = Math.round(_root.player._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
on (press) {
this._x = random(550);
this._y = 450;
_root.vcam.score = _root.vcam.score + 1;
this.nextFrame();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.health = _root.vcam.health - 1;
}
}
Instance of Symbol 244 MovieClip "vcam" in Frame 22
onClipEvent (enterFrame) {
if (this.score > 49) {
_root.nextFrame();
}
}
Instance of Symbol 310 MovieClip in Frame 22
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 23
Mouse.show();
Instance of Symbol 217 MovieClip "player" in Frame 25
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.vcam.score == 44) {
}
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(32))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(32))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(32) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (this._y > 500) {
_root.nextFrame();
}
}
Instance of Symbol 352 MovieClip in Frame 25
onClipEvent (enterFrame) {
this._x = this._x + 10;
if (this.hitTest(_root.player)) {
_root.prevFrame();
}
}
Instance of Symbol 244 MovieClip "vcam" in Frame 25
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - _y) / 4));
_x = (_x + ((_root.player._x - _x) / 4));
if (this.score > 49) {
_root.nextFrame();
}
}
Instance of Symbol 382 MovieClip "player" in Frame 27
onClipEvent (load) {
var grav = 0;
var speed = 7;
var jumpHeight = 10;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(32))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(32))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(32) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Instance of Symbol 396 MovieClip in Frame 27
onClipEvent (load) {
var grav = 0;
var speed = 5;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(32))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(32))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(32) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Symbol 26 MovieClip Frame 40
stop();
Symbol 38 Button
on (release) {
_root.play();
}
Symbol 39 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 39 MovieClip Frame 51
Symbol 46 Button
on (release) {
gotoAndStop (5);
}
Symbol 61 Button
on (release) {
prevFrame();
}
Symbol 75 Button
on (release) {
gotoAndPlay (63);
}
Symbol 77 Button
on (release) {
gotoAndPlay (3);
}
Symbol 79 Button
on (release) {
playerhp = 110;
gotoAndPlay (91);
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 21
enemyhp = 985;
Symbol 136 MovieClip Frame 61
gotoAndPlay (91);
Symbol 136 MovieClip Frame 83
enemyhp = 980;
Symbol 136 MovieClip Frame 89
gotoAndPlay (23);
Symbol 136 MovieClip Frame 116
playerhp = 0;
Symbol 136 MovieClip Frame 141
_root.nextFrame();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 14
_root.nextFrame();
Symbol 226 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 241 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _parent.health;
if (_parent.health < 0) {
_parent.health = 0;
_root.gotoAndStop(4);
}
}
Symbol 253 Button
on (release) {
nextFrame();
}
Symbol 255 Button
on (release) {
if (password1 == "RN66FT9") {
nextFrame();
}
}
Symbol 271 MovieClip Frame 120
_root.gotoAndStop(4);
Instance of Symbol 275 MovieClip in Symbol 276 MovieClip Frame 1
on (release) {
_root._root.prevFrame();
}
Instance of Symbol 225 MovieClip in Symbol 276 MovieClip Frame 1
on (release) {
_root._root.prevFrame();
}
Instance of Symbol 225 MovieClip in Symbol 276 MovieClip Frame 1
on (release) {
_root._root.prevFrame();
}
Instance of Symbol 275 MovieClip in Symbol 276 MovieClip Frame 35
on (release) {
_root._root.nextFrame();
}
Instance of Symbol 225 MovieClip in Symbol 276 MovieClip Frame 35
on (release) {
_root._root.nextFrame();
}
Instance of Symbol 225 MovieClip in Symbol 276 MovieClip Frame 35
on (release) {
_root._root.nextFrame();
}
Instance of Symbol 275 MovieClip in Symbol 276 MovieClip Frame 55
on (release) {
_root._root.prevFrame();
}
Instance of Symbol 225 MovieClip in Symbol 276 MovieClip Frame 55
on (release) {
_root._root.prevFrame();
}
Instance of Symbol 225 MovieClip in Symbol 276 MovieClip Frame 55
on (release) {
_root._root.prevFrame();
}
Symbol 276 MovieClip Frame 60
_root.prevFrame();
Symbol 283 MovieClip Frame 90
_root.prevFrame();
Instance of Symbol 275 MovieClip in Symbol 283 MovieClip Frame 90
on (release) {
_root._root.prevFrame();
}
Symbol 287 MovieClip Frame 31
stop();
Symbol 312 Button
on (rollOver) {
_root.gotoAndStop(16);
}
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 2
stop();
Symbol 329 MovieClip Frame 3
stop();
Symbol 329 MovieClip Frame 4
stop();
Symbol 329 MovieClip Frame 5
stop();
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!Key.isDown(87)) {
_root.player.gotoAndStop(1);
}
}
Symbol 329 MovieClip Frame 6
stop();
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!Key.isDown(83)) {
_root.player.gotoAndStop(2);
}
}
Symbol 329 MovieClip Frame 7
stop();
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!Key.isDown(68)) {
_root.player.gotoAndStop(3);
}
}
Symbol 329 MovieClip Frame 8
stop();
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip Frame 8
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_root.player.gotoAndStop(4);
}
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
prevFrame();
Symbol 357 Button
on (release) {
gotoAndStop (3);
}
Symbol 365 Button
on (release) {
nextFrame();
}
Symbol 399 Button
on (release) {
gotoAndStop (26);
}