Frame 1
stop();
Instance of Symbol 12 MovieClip "loading" in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
current = int((loaded / total) * 100);
p = ("" + current) + "%";
if (loaded == total) {
_root.gotoAndStop(3);
}
}
Frame 3
stop();
Frame 4
stop();
music.stop();
var music = new Sound();
music.attachSound("jumpsong8");
music.start();
start(secondsoffset, loop);
music.onSoundComplete = function () {
music.start();
};
Frame 5
stop();
music.stop();
var music = new Sound();
music.attachSound("jumpsong19");
music.start();
start(secondsoffset, loop);
music.onSoundComplete = function () {
music.start();
};
score = 0;
score2 = 0;
Instance of Symbol 72 MovieClip "bclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 3;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall3.hitTest(this._x, this._y, true)) {
xspeed = 3;
yspeed = 0;
_x = -500;
}
}
Instance of Symbol 72 MovieClip "bclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 3;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall3.hitTest(this._x, this._y, true)) {
xspeed = 3;
yspeed = 0;
_x = -700;
}
}
Instance of Symbol 72 MovieClip "bclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 3;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall3.hitTest(this._x, this._y, true)) {
xspeed = 3;
yspeed = 0;
_x = -500;
}
}
Instance of Symbol 76 MovieClip "mclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 2;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall2.hitTest(this._x, this._y, true)) {
xspeed = 2;
yspeed = 0;
_x = -500;
}
}
Instance of Symbol 76 MovieClip "mclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 2;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall2.hitTest(this._x, this._y, true)) {
xspeed = 2;
yspeed = 0;
_x = -500;
}
}
Instance of Symbol 76 MovieClip "mclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 2;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall2.hitTest(this._x, this._y, true)) {
xspeed = 2;
yspeed = 0;
_x = -500;
}
}
Instance of Symbol 76 MovieClip "mclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 2;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall2.hitTest(this._x, this._y, true)) {
xspeed = 2;
yspeed = 0;
_x = -500;
}
}
Instance of Symbol 79 MovieClip "fclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall.hitTest(this._x, this._y, true)) {
xspeed = 1;
yspeed = 0;
_x = -150;
}
}
Instance of Symbol 79 MovieClip "fclouds" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
}
onClipEvent (enterFrame) {
xspeed = xspeed;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (_root.cloudwall.hitTest(this._x, this._y, true)) {
xspeed = 1;
yspeed = 0;
_x = -150;
}
}
Instance of Symbol 109 MovieClip "hero2" in Frame 5
onClipEvent (load) {
mysplash2 = new Sound();
mysplash2.attachSound("mysplash2");
jump2 = new Sound();
jump2.attachSound("jump2");
yspeed = 0;
xspeed = 0;
power = 10;
friction = 0.8;
jumping = true;
jump = 0;
falling = true;
fall = 5;
}
onClipEvent (enterFrame) {
if ((!_root.bwall.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (Key.isDown(65)) {
xspeed = xspeed - power;
}
if (Key.isDown(68)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if ((xspeed > 6) && (!jumping)) {
this.gotoAndStop(2);
}
if ((xspeed < 0) && (!jumping)) {
this.gotoAndStop(1);
}
if ((xspeed > 0) && (jumping)) {
this.gotoAndStop(4);
}
if ((xspeed < 0) && (jumping)) {
this.gotoAndStop(3);
}
if (((xspeed < 0) && (xspeed > -6)) && (!jumping)) {
this.gotoAndStop(6);
}
if (((xspeed > 0) && (xspeed < 6)) && (!jumping)) {
this.gotoAndStop(5);
}
if ((xspeed == 0) && (jumping)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (!jumping)) {
jumping = true;
jump2.start();
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 30;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
if (falling) {
this.gotoAndStop("fall");
this._y = this._y + fall;
fall = fall + 0;
}
if (_root.bwall.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (!jumping)) {
this._y = this._y + 6;
}
}
}
onClipEvent (enterFrame) {
if (_root.lwall.hitTest(this._x, this._y, true)) {
xspeed = 10;
}
if (_root.rwall.hitTest(this._x, this._y, true)) {
xspeed = -10;
}
if (_root.bluewall.hitTest(this._x, this._y, true)) {
xspeed = -20;
}
if (_root.hero.hitTest(this.hitter)) {
_root.hero._x = 575;
_root.hero._y = 344;
_root.score2++;
_root.pbloodrd._x = this._x;
_root.pbloodrd._y = this._y;
_root.pbloodld._x = this._x;
_root.pbloodld._y = this._y;
_root.pbloodru._x = this._x;
_root.pbloodru._y = this._y;
_root.pbloodlu._x = this._x;
_root.pbloodlu._y = this._y;
_root.pbloodr._x = this._x;
_root.pbloodr._y = this._y;
_root.pbloodl._x = this._x;
_root.pbloodl._y = this._y;
_root.pbloodrd.xspeed = 40;
_root.pbloodrd.yspeed = 10;
_root.pbloodld.xspeed = -40;
_root.pbloodld.yspeed = 10;
_root.pbloodru.xspeed = 15;
_root.pbloodru.yspeed = -60;
_root.pbloodlu.xspeed = -15;
_root.pbloodlu.yspeed = -60;
_root.pbloodr.xspeed = 90;
_root.pbloodr.yspeed = 1;
_root.pbloodl.xspeed = -90;
_root.pbloodl.yspeed = 1;
mysplash2.start();
}
reset();
}
Instance of Symbol 109 MovieClip "hero" in Frame 5
onClipEvent (load) {
mysplash2 = new Sound();
mysplash2.attachSound("mysplash2");
jump1 = new Sound();
jump1.attachSound("jump1");
jumpsong = new Sound();
jumpsong.attachSound("jumpsong");
yspeed = 0;
xspeed = 0;
power = 10;
friction = 0.8;
jumping = true;
jump = 0;
falling = true;
fall = 5;
gravity = 0;
}
onClipEvent (enterFrame) {
if ((!_root.bwall.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if ((xspeed > 6) && (!jumping)) {
this.gotoAndStop(2);
}
if ((xspeed < 0) && (!jumping)) {
this.gotoAndStop(1);
}
if ((xspeed > 0) && (jumping)) {
this.gotoAndStop(4);
}
if ((xspeed < 0) && (jumping)) {
this.gotoAndStop(3);
}
if (((xspeed < 0) && (xspeed > -6)) && (!jumping)) {
this.gotoAndStop(6);
}
if (((xspeed > 0) && (xspeed < 6)) && (!jumping)) {
this.gotoAndStop(5);
}
if ((xspeed == 0) && (jumping)) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (!jumping)) {
jumping = true;
jump1.start();
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 30;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
if (falling) {
this.gotoAndStop("fall");
this._y = this._y + fall;
fall = fall + 0;
}
if (_root.bwall.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (!jumping)) {
this._y = this._y + 6;
}
}
}
onClipEvent (enterFrame) {
if (_root.lwall.hitTest(this._x, this._y, true)) {
xspeed = 10;
}
if (_root.rwall.hitTest(this._x, this._y, true)) {
xspeed = -10;
}
if (_root.pinkwall.hitTest(this._x, this._y, true)) {
xspeed = 20;
}
if (_root.hero2.hitTest(this.hitter)) {
_root.hero2._x = 122;
_root.hero2._y = 344.1;
_root.score = _root.score + 1;
_root.bbloodrd._x = this._x;
_root.bbloodrd._y = this._y;
_root.bbloodld._x = this._x;
_root.bbloodld._y = this._y;
_root.bbloodru._x = this._x;
_root.bbloodru._y = this._y;
_root.bbloodlu._x = this._x;
_root.bbloodlu._y = this._y;
_root.bbloodr._x = this._x;
_root.bbloodr._y = this._y;
_root.bbloodl._x = this._x;
_root.bbloodl._y = this._y;
_root.bbloodrd.xspeed = 40;
_root.bbloodrd.yspeed = 10;
_root.bbloodld.xspeed = -40;
_root.bbloodld.yspeed = 10;
_root.bbloodru.xspeed = 15;
_root.bbloodru.yspeed = -60;
_root.bbloodlu.xspeed = -15;
_root.bbloodlu.yspeed = -60;
_root.bbloodr.xspeed = 90;
_root.bbloodr.yspeed = 1;
_root.bbloodl.xspeed = -90;
_root.bbloodl.yspeed = 1;
mysplash2.start();
}
reset();
}
onClipEvent (enterFrame) {
if ((_root.score == 50) && (_root.score2 < 50)) {
_root.bluewin._x = 206;
_root.bluewin._y = 115;
}
if ((_root.score2 == 50) && (_root.score < 50)) {
_root.pinkwin._x = 206;
_root.pinkwin._y = 115;
}
if (_root.score == 55) {
_root.bluewin._x = 900;
_root.bluewin._y = 900;
}
if (_root.score2 == 55) {
_root.pinkwin._x = 900;
_root.pinkwin._y = 900;
}
}
Instance of Symbol 121 MovieClip in Frame 5
onClipEvent (load) {
jumpsong19 = new Sound();
jumpsong19.attachSound("jumpsong19");
}
on (release) {
jumpsong19.stop();
jumpsong.stop();
jumpsong8.stop();
jumpsong20.stop();
jumpsong19.start();
start(secondsoffset, loop);
jumpsong19.onSoundComplete = function () {
jumpsong19.start();
};
}
Instance of Symbol 121 MovieClip "button2" in Frame 5
onClipEvent (load) {
jumpsong = new Sound();
jumpsong.attachSound("jumpsong");
}
on (release) {
jumpsong.stop();
jumpsong19.stop();
jumpsong8.stop();
jumpsong20.stop();
jumpsong.start();
start(secondsoffset, loop);
jumpsong.onSoundComplete = function () {
jumpsong.start();
};
}
Instance of Symbol 121 MovieClip "button3" in Frame 5
onClipEvent (load) {
jumpsong20 = new Sound();
jumpsong20.attachSound("jumpsong20");
}
on (release) {
jumpsong20.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.start();
start(secondsoffset, loop);
jumpsong20.onSoundComplete = function () {
jumpsong20.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 5
onClipEvent (load) {
jumpsong8 = new Sound();
jumpsong8.attachSound("jumpsong8");
}
on (release) {
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong8.start();
start(secondsoffset, loop);
jumpsong8.onSoundComplete = function () {
jumpsong8.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 5
onClipEvent (load) {
jumpsong9 = new Sound();
jumpsong9.attachSound("jumpsong9");
}
on (release) {
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong9.start();
start(secondsoffset, loop);
jumpsong9.onSoundComplete = function () {
jumpsong9.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 5
onClipEvent (load) {
jumpsong13 = new Sound();
jumpsong13.attachSound("jumpsong13");
}
on (release) {
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong13.start();
start(secondsoffset, loop);
jumpsong13.onSoundComplete = function () {
jumpsong13.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 5
onClipEvent (load) {
jumpsongjohnny = new Sound();
jumpsongjohnny.attachSound("jumpsongjohnny");
}
on (release) {
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsongjohnny.start();
start(secondsoffset, loop);
jumpsongjohnny.onSoundComplete = function () {
jumpsongjohnny.start();
};
}
Instance of Symbol 130 MovieClip "pbloodld" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "pbloord" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodr" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodld" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 132 MovieClip "pbloodl" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = -1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 134 MovieClip "bbloodl" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = -1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 137 MovieClip "pbloodr" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 140 MovieClip "bbloodrd" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 144 MovieClip "pbloodru" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 147 MovieClip "bbloodru" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 150 MovieClip "pbloodlu" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 153 MovieClip "bbloodlu" in Frame 5
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
music.stop();
var music = new Sound();
music.attachSound("jumpsong13");
music.start();
start(secondsoffset, loop);
music.onSoundComplete = function () {
music.start();
};
score = 0;
score2 = 0;
Instance of Symbol 224 MovieClip "hero2" in Frame 9
onClipEvent (load) {
mysplash2 = new Sound();
mysplash2.attachSound("mysplash2");
jump2 = new Sound();
jump2.attachSound("jump2");
yspeed = 0;
xspeed = 0;
power = 10;
friction = 0.8;
jumping = true;
jump = 0;
falling = true;
fall = 5;
}
onClipEvent (enterFrame) {
if ((!_root.bwall.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (Key.isDown(65)) {
xspeed = xspeed - power;
}
if (Key.isDown(68)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if ((xspeed > 6) && (!jumping)) {
this.gotoAndStop(2);
}
if ((xspeed < 0) && (!jumping)) {
this.gotoAndStop(1);
}
if ((xspeed > 0) && (jumping)) {
this.gotoAndStop(4);
}
if ((xspeed < 0) && (jumping)) {
this.gotoAndStop(3);
}
if (((xspeed < 0) && (xspeed > -6)) && (!jumping)) {
this.gotoAndStop(6);
}
if (((xspeed > 0) && (xspeed < 6)) && (!jumping)) {
this.gotoAndStop(5);
}
if ((xspeed == 0) && (jumping)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (!jumping)) {
jumping = true;
jump2.start();
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 30;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
if (falling) {
this.gotoAndStop("fall");
this._y = this._y + fall;
fall = fall + 0;
}
if (_root.bwall.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.twall.hitTest(this._x, this._y, true)) {
jump = 0;
jumping = false;
falling = false;
this._y = this._y + 30;
}
}
}
onClipEvent (enterFrame) {
if (_root.lwall.hitTest(this._x, this._y, true)) {
xspeed = 10;
}
if (_root.rwall.hitTest(this._x, this._y, true)) {
xspeed = -10;
}
if (_root.bluewall.hitTest(this._x, this._y, true)) {
xspeed = -20;
}
if (_root.hero.hitTest(this.hitter)) {
_root.hero._x = 590.3;
_root.hero._y = 526;
_root.score2++;
_root.pbloodrd._x = this._x;
_root.pbloodrd._y = this._y;
_root.pbloodld._x = this._x;
_root.pbloodld._y = this._y;
_root.pbloodru._x = this._x;
_root.pbloodru._y = this._y;
_root.pbloodlu._x = this._x;
_root.pbloodlu._y = this._y;
_root.pbloodr._x = this._x;
_root.pbloodr._y = this._y;
_root.pbloodl._x = this._x;
_root.pbloodl._y = this._y;
_root.pbloodrd.xspeed = 40;
_root.pbloodrd.yspeed = 10;
_root.pbloodld.xspeed = -40;
_root.pbloodld.yspeed = 10;
_root.pbloodru.xspeed = 15;
_root.pbloodru.yspeed = -60;
_root.pbloodlu.xspeed = -15;
_root.pbloodlu.yspeed = -60;
_root.pbloodr.xspeed = 90;
_root.pbloodr.yspeed = 1;
_root.pbloodl.xspeed = -90;
_root.pbloodl.yspeed = 1;
mysplash2.start();
}
reset();
}
Instance of Symbol 235 MovieClip "hero" in Frame 9
onClipEvent (load) {
mysplash2 = new Sound();
mysplash2.attachSound("mysplash2");
jump1 = new Sound();
jump1.attachSound("jump1");
jumpsong = new Sound();
jumpsong.attachSound("jumpsong");
yspeed = 0;
xspeed = 0;
power = 10;
friction = 0.8;
jumping = true;
jump = 0;
falling = true;
fall = 5;
gravity = 0;
}
onClipEvent (enterFrame) {
if ((!_root.bwall.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if ((xspeed > 6) && (!jumping)) {
this.gotoAndStop(2);
}
if ((xspeed < 0) && (!jumping)) {
this.gotoAndStop(1);
}
if ((xspeed > 0) && (jumping)) {
this.gotoAndStop(4);
}
if ((xspeed < 0) && (jumping)) {
this.gotoAndStop(3);
}
if (((xspeed < 0) && (xspeed > -6)) && (!jumping)) {
this.gotoAndStop(6);
}
if (((xspeed > 0) && (xspeed < 6)) && (!jumping)) {
this.gotoAndStop(5);
}
if ((xspeed == 0) && (jumping)) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (!jumping)) {
jumping = true;
jump1.start();
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 30;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
if (falling) {
this.gotoAndStop("fall");
this._y = this._y + fall;
fall = fall + 0;
}
if (_root.bwall.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.twall.hitTest(this._x, this._y, true)) {
jump = 0;
jumping = false;
falling = false;
this._y = this._y + 30;
}
}
}
onClipEvent (enterFrame) {
if (_root.lwall.hitTest(this._x, this._y, true)) {
xspeed = 10;
}
if (_root.rwall.hitTest(this._x, this._y, true)) {
xspeed = -10;
}
if (_root.pinkwall.hitTest(this._x, this._y, true)) {
xspeed = 20;
}
if (_root.hero2.hitTest(this.hitter)) {
_root.hero2._x = 13.8;
_root.hero2._y = 526;
_root.score = _root.score + 1;
_root.bbloodrd._x = this._x;
_root.bbloodrd._y = this._y;
_root.bbloodld._x = this._x;
_root.bbloodld._y = this._y;
_root.bbloodru._x = this._x;
_root.bbloodru._y = this._y;
_root.bbloodlu._x = this._x;
_root.bbloodlu._y = this._y;
_root.bbloodr._x = this._x;
_root.bbloodr._y = this._y;
_root.bbloodl._x = this._x;
_root.bbloodl._y = this._y;
_root.bbloodrd.xspeed = 40;
_root.bbloodrd.yspeed = 10;
_root.bbloodld.xspeed = -40;
_root.bbloodld.yspeed = 10;
_root.bbloodru.xspeed = 15;
_root.bbloodru.yspeed = -60;
_root.bbloodlu.xspeed = -15;
_root.bbloodlu.yspeed = -60;
_root.bbloodr.xspeed = 90;
_root.bbloodr.yspeed = 1;
_root.bbloodl.xspeed = -90;
_root.bbloodl.yspeed = 1;
mysplash2.start();
}
reset();
}
onClipEvent (enterFrame) {
if ((_root.score == 50) && (_root.score2 < 50)) {
_root.bluewin._x = 206;
_root.bluewin._y = 115;
}
if ((_root.score2 == 50) && (_root.score < 50)) {
_root.pinkwin._x = 206;
_root.pinkwin._y = 115;
}
if (_root.score == 55) {
_root.bluewin._x = 900;
_root.bluewin._y = 900;
}
if (_root.score2 == 55) {
_root.pinkwin._x = 900;
_root.pinkwin._y = 900;
}
}
Instance of Symbol 121 MovieClip in Frame 9
onClipEvent (load) {
jumpsong19 = new Sound();
jumpsong19.attachSound("jumpsong19");
}
on (release) {
jumpsong19.stop();
jumpsong.stop();
jumpsong8.stop();
jumpsong20.stop();
jumpsong19.start();
start(secondsoffset, loop);
jumpsong19.onSoundComplete = function () {
jumpsong19.start();
};
}
Instance of Symbol 121 MovieClip "button2" in Frame 9
onClipEvent (load) {
jumpsong = new Sound();
jumpsong.attachSound("jumpsong");
}
on (release) {
jumpsong.stop();
jumpsong19.stop();
jumpsong8.stop();
jumpsong20.stop();
jumpsong.start();
start(secondsoffset, loop);
jumpsong.onSoundComplete = function () {
jumpsong.start();
};
}
Instance of Symbol 121 MovieClip "button3" in Frame 9
onClipEvent (load) {
jumpsong20 = new Sound();
jumpsong20.attachSound("jumpsong20");
}
on (release) {
jumpsong20.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.start();
start(secondsoffset, loop);
jumpsong20.onSoundComplete = function () {
jumpsong20.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 9
onClipEvent (load) {
jumpsong8 = new Sound();
jumpsong8.attachSound("jumpsong8");
}
on (release) {
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong8.start();
start(secondsoffset, loop);
jumpsong8.onSoundComplete = function () {
jumpsong8.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 9
onClipEvent (load) {
jumpsong9 = new Sound();
jumpsong9.attachSound("jumpsong9");
}
on (release) {
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong9.start();
start(secondsoffset, loop);
jumpsong9.onSoundComplete = function () {
jumpsong9.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 9
onClipEvent (load) {
jumpsong13 = new Sound();
jumpsong13.attachSound("jumpsong13");
}
on (release) {
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong13.start();
start(secondsoffset, loop);
jumpsong13.onSoundComplete = function () {
jumpsong13.start();
};
}
Instance of Symbol 121 MovieClip "button4" in Frame 9
onClipEvent (load) {
jumpsongjohnny = new Sound();
jumpsongjohnny.attachSound("jumpsongjohnny");
}
on (release) {
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsongjohnny.start();
start(secondsoffset, loop);
jumpsongjohnny.onSoundComplete = function () {
jumpsongjohnny.start();
};
}
Instance of Symbol 130 MovieClip "pbloodld" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "pbloord" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodr" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodld" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = -40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 132 MovieClip "pbloodl" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = -1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 134 MovieClip "bbloodl" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = -1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 137 MovieClip "pbloodr" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = 90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 140 MovieClip "bbloodrd" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 144 MovieClip "pbloodru" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 147 MovieClip "bbloodru" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 150 MovieClip "pbloodlu" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 153 MovieClip "bbloodlu" in Frame 9
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Frame 10
stop();
music.stop();
var music = new Sound();
music.attachSound("jumpsongjohnny");
music.start();
start(secondsoffset, loop);
music.onSoundComplete = function () {
music.start();
};
score = 0;
score2 = 0;
Instance of Symbol 266 MovieClip "hero2" in Frame 10
onClipEvent (load) {
mysplash2 = new Sound();
mysplash2.attachSound("mysplash2");
jump2 = new Sound();
jump2.attachSound("jump2");
yspeed = 0;
xspeed = 0;
power = 10;
friction = 0.8;
jumping = true;
jump = 0;
falling = true;
fall = 5;
}
onClipEvent (enterFrame) {
if ((!_root.bwall.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (Key.isDown(65)) {
xspeed = xspeed - power;
}
if (Key.isDown(68)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if ((xspeed > 6) && (!jumping)) {
this.gotoAndStop(2);
}
if ((xspeed < 0) && (!jumping)) {
this.gotoAndStop(1);
}
if ((xspeed > 0) && (jumping)) {
this.gotoAndStop(4);
}
if ((xspeed < 0) && (jumping)) {
this.gotoAndStop(3);
}
if (((xspeed < 0) && (xspeed > -6)) && (!jumping)) {
this.gotoAndStop(6);
}
if (((xspeed > 0) && (xspeed < 6)) && (!jumping)) {
this.gotoAndStop(5);
}
if ((xspeed == 0) && (jumping)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (!jumping)) {
jumping = true;
jump2.start();
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 30;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
if (falling) {
this.gotoAndStop("fall");
this._y = this._y + fall;
fall = fall + 0;
}
if (_root.bwall.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.twall.hitTest(this._x, this._y, true)) {
jump = 0;
jumping = false;
falling = false;
this._y = this._y + 30;
}
}
}
onClipEvent (enterFrame) {
if (_root.lwall.hitTest(this._x, this._y, true)) {
xspeed = 10;
}
if (_root.rwall.hitTest(this._x, this._y, true)) {
xspeed = -10;
}
if (_root.bluewall.hitTest(this._x, this._y, true)) {
xspeed = -20;
}
if (_root.hero.hitTest(this.hitter)) {
_root.hero._x = 641.3;
_root.hero._y = 28.6;
_root.score2++;
_root.pbloodrd._x = this._x;
_root.pbloodrd._y = this._y;
_root.pbloodld._x = this._x;
_root.pbloodld._y = this._y;
_root.pbloodru._x = this._x;
_root.pbloodru._y = this._y;
_root.pbloodlu._x = this._x;
_root.pbloodlu._y = this._y;
_root.pbloodr._x = this._x;
_root.pbloodr._y = this._y;
_root.pbloodl._x = this._x;
_root.pbloodl._y = this._y;
_root.pbloodrd.xspeed = 40;
_root.pbloodrd.yspeed = 10;
_root.pbloodld.xspeed = -40;
_root.pbloodld.yspeed = 10;
_root.pbloodru.xspeed = 15;
_root.pbloodru.yspeed = -60;
_root.pbloodlu.xspeed = -15;
_root.pbloodlu.yspeed = -60;
_root.pbloodr.xspeed = 90;
_root.pbloodr.yspeed = 1;
_root.pbloodl.xspeed = -90;
_root.pbloodl.yspeed = 1;
mysplash2.start();
}
reset();
}
Instance of Symbol 277 MovieClip "hero" in Frame 10
onClipEvent (load) {
mysplash2 = new Sound();
mysplash2.attachSound("mysplash2");
jump1 = new Sound();
jump1.attachSound("jump1");
jumpsong = new Sound();
jumpsong.attachSound("jumpsong");
yspeed = 0;
xspeed = 0;
power = 10;
friction = 0.8;
jumping = true;
jump = 0;
falling = true;
fall = 5;
gravity = 0;
}
onClipEvent (enterFrame) {
if ((!_root.bwall.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y + 6;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed;
_y = (_y + yspeed);
_x = (_x + xspeed);
if ((xspeed > 6) && (!jumping)) {
this.gotoAndStop(2);
}
if ((xspeed < 0) && (!jumping)) {
this.gotoAndStop(1);
}
if ((xspeed > 0) && (jumping)) {
this.gotoAndStop(4);
}
if ((xspeed < 0) && (jumping)) {
this.gotoAndStop(3);
}
if (((xspeed < 0) && (xspeed > -6)) && (!jumping)) {
this.gotoAndStop(6);
}
if (((xspeed > 0) && (xspeed < 6)) && (!jumping)) {
this.gotoAndStop(5);
}
if ((xspeed == 0) && (jumping)) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (!jumping)) {
jumping = true;
jump1.start();
}
if (jumping) {
this.gotoAndStop("jump");
this._y = this._y - jump;
jump = jump - 30;
if (jump < 0) {
falling = true;
}
if (jump < -15) {
jump = -15;
}
if (falling) {
this.gotoAndStop("fall");
this._y = this._y + fall;
fall = fall + 0;
}
if (_root.bwall.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (falling)) {
jump = 50;
jumping = false;
falling = false;
}
if (_root.water.hitTest(this._x, this._y, true) && (!jumping)) {
this._y = this._y + 6;
}
if (_root.twall.hitTest(this._x, this._y, true)) {
jump = 0;
jumping = false;
falling = false;
this._y = this._y + 30;
}
}
}
onClipEvent (enterFrame) {
if (_root.lwall.hitTest(this._x, this._y, true)) {
xspeed = 10;
}
if (_root.rwall.hitTest(this._x, this._y, true)) {
xspeed = -10;
}
if (_root.pinkwall.hitTest(this._x, this._y, true)) {
xspeed = 20;
}
if (_root.hero2.hitTest(this.hitter)) {
_root.hero2._x = 0.1;
_root.hero2._y = 31.2;
_root.score = _root.score + 1;
_root.bbloodrd._x = this._x;
_root.bbloodrd._y = this._y;
_root.bbloodld._x = this._x;
_root.bbloodld._y = this._y;
_root.bbloodru._x = this._x;
_root.bbloodru._y = this._y;
_root.bbloodlu._x = this._x;
_root.bbloodlu._y = this._y;
_root.bbloodr._x = this._x;
_root.bbloodr._y = this._y;
_root.bbloodl._x = this._x;
_root.bbloodl._y = this._y;
_root.bbloodrd.xspeed = 40;
_root.bbloodrd.yspeed = 10;
_root.bbloodld.xspeed = -40;
_root.bbloodld.yspeed = 10;
_root.bbloodru.xspeed = 15;
_root.bbloodru.yspeed = -60;
_root.bbloodlu.xspeed = -15;
_root.bbloodlu.yspeed = -60;
_root.bbloodr.xspeed = 90;
_root.bbloodr.yspeed = 1;
_root.bbloodl.xspeed = -90;
_root.bbloodl.yspeed = 1;
mysplash2.start();
}
reset();
}
onClipEvent (enterFrame) {
if ((_root.score == 50) && (_root.score2 < 50)) {
_root.bluewin._x = 206;
_root.bluewin._y = 115;
}
if ((_root.score2 == 50) && (_root.score < 50)) {
_root.pinkwin._x = 206;
_root.pinkwin._y = 115;
}
if (_root.score == 55) {
_root.bluewin._x = 900;
_root.bluewin._y = 900;
}
if (_root.score2 == 55) {
_root.pinkwin._x = 900;
_root.pinkwin._y = 900;
}
}
Symbol 27 Button
on (release) {
gotoAndPlay (4);
}
Symbol 32 Button
on (release) {
gotoAndPlay (5);
}
Symbol 35 Button
on (release) {
gotoAndPlay (6);
}
Symbol 39 Button
on (release) {
gotoAndPlay (8);
}
Symbol 40 Button
on (release) {
gotoAndPlay (9);
}
Symbol 42 Button
on (release) {
gotoAndPlay (10);
}
Symbol 122 Button
on (release) {
gotoAndPlay (4);
}
Symbol 126 Button
on (release) {
music.stop();
jumpsong8.stop();
jumpsong.stop();
jumpsong19.stop();
jumpsong20.stop();
jumpsong9.stop();
jumpsong13.stop();
jumpsongjohnny.stop();
}
Instance of Symbol 130 MovieClip "pbloodl" in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = -1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodl" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = -1;
friction = 1;
gravity = 5;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 1;
xspeed = -90;
friction = 0.7;
gravity = 5;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "pbloodrd" in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 136 MovieClip "pbloodrd" in Symbol 137 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodrd" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 1;
friction = 1;
gravity = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = 10;
xspeed = 40;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "pbloodru" in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodru" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = 15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "pbloodlu" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Instance of Symbol 130 MovieClip "bbloodlu" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
friction = 10;
}
onClipEvent (enterFrame) {
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (!_root.rwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
if (!_root.bwall.hitTest(this._x, this._y, true)) {
yspeed = -60;
xspeed = -15;
friction = 0.5;
gravity = 10;
} else {
friction = 0;
xspeed = 0;
yspeed = 0;
gravity = 0;
}
}
Symbol 159 Button
on (release) {
gotoAndPlay (4);
}
Symbol 163 Button
on (release) {
gotoAndPlay (4);
}
Symbol 167 Button
on (release) {
gotoAndPlay (4);
}