Combined Code
movieClip 2 why {
}
movieClip 4 how {
}
movieClip 12 {
}
movieClip 15 {
}
movieClip 16 ded {
}
movieClip 20 aaa {
frame 25 {
stop();
duplicateMovieClip('blood', 'blood99', getNextHighestDepth());
}
}
movieClip 24 {
frame 1 {
stop();
var randomFrame = random(2);
onEnterFrame = function () {
if (randomFrame == 0) {
gotoAndStop(1);
}
if (randomFrame == 1) {
gotoAndStop(2);
}
if (randomFrame == 2) {
gotoAndStop(3);
}
};
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 25 poof {
frame 1 {
var xSpeed = random(10) - 5;
var ySpeed = random(16) - 8;
var rot = random(30) - 15;
onEnterFrame = function () {
this._x += xSpeed;
this._y += ySpeed;
_rotation = _rotation + rot;
_alpha = _alpha - 5;
if (_alpha <= 0) {
removeMovieClip(this);
}
};
}
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 36 {
instance of movieClip 27 {
onClipEvent (load) {
var ySpeed = 3;
var xSpeed = 3;
var rot = random(11) - 5;
}
onClipEvent (enterFrame) {
this._y += ySpeed;
this._x += xSpeed;
_rotation = _rotation + rot;
}
}
instance of movieClip 29 {
onClipEvent (load) {
var ySpeed = random(3) - 1;
var xSpeed = random(3) - 1;
var rot = random(11) - 5;
}
onClipEvent (enterFrame) {
this._y += ySpeed;
this._x += xSpeed;
_rotation = _rotation + rot;
}
}
instance of movieClip 31 {
onClipEvent (load) {
var ySpeed = random(5) - 2;
var xSpeed = random(5) - 2;
var rot = random(11) - 5;
}
onClipEvent (enterFrame) {
this._y += ySpeed;
this._x += xSpeed;
_rotation = _rotation + rot;
}
}
instance of movieClip 33 {
onClipEvent (load) {
var ySpeed = random(3) - 1;
var xSpeed = random(3) - 1;
var rot = random(11) - 5;
}
onClipEvent (enterFrame) {
this._y += ySpeed;
this._x += xSpeed;
_rotation = _rotation + rot;
}
}
instance of movieClip 35 {
onClipEvent (load) {
var ySpeed = random(5) - 2;
var xSpeed = random(5) - 2;
var rot = random(11) - 5;
}
onClipEvent (enterFrame) {
this._y += ySpeed;
this._x += xSpeed;
_rotation = _rotation + rot;
}
}
}
movieClip 37 body {
}
movieClip 41 lightn {
}
movieClip 44 change2 {
frame 71 {
removeMovieClip(this);
}
}
movieClip 47 change1 {
frame 70 {
removeMovieClip(this);
}
}
movieClip 54 {
frame 1 {
stop();
randomFrame = random(5);
onEnterFrame = function () {
if (randomFrame == 0) {
gotoAndStop(1);
}
if (randomFrame == 1) {
gotoAndStop(2);
}
if (randomFrame == 2) {
gotoAndStop(3);
}
if (randomFrame == 3) {
gotoAndStop(4);
}
if (randomFrame == 4) {
gotoAndStop(5);
}
if (randomFrame == 5) {
gotoAndStop(6);
}
};
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 55 blood {
frame 1 {
xSpeed = random(20) - 10;
ySpeed = random(20) - 10;
onEnterFrame = function () {
this._x += xSpeed;
this._y += ySpeed;
ySpeed += 1;
};
}
}
movieClip 62 lightP1 {
}
movieClip 67 punch {
}
movieClip 68 hand {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 10 {
stop();
}
}
movieClip 70 hint {
frame 32 {
stop();
}
}
frame 1 {
stop();
attack = false;
disappear = -15;
blood = 0;
blood2 = 0;
blood3 = 0;
blood4 = 0;
timer = 0;
timer2 = 0;
timer3 = 0;
timer4 = 0;
timer5 = 0;
onEnterFrame = function () {
if (Key.isDown(32)) {
attack = true;
} else {
attack = false;
}
if (attack == true) {
_root.hint._alpha += disappear--;
}
if (_root.plr.hitTest(_root.well) && attack) {
_root.hint.gotoAndStop(1);
stopAllSounds();
++blood;
ohno = attachMovie('aaa', 'aaa', this.getNextHighestDepth());
ohno._x = _root.well._x;
ohno._y = _root.well._y;
_root.well._x -= -400;
var v3 = 1;
while (v3 <= 85) {
++blood;
ohgod = attachMovie('blood', 'blood' + blood, getNextHighestDepth());
ohgod._x = _root.aaa._x;
ohgod._y = _root.aaa._y;
++v3;
}
}
};
}
movieClip 73 {
}
movieClip 75 {
frame 1 {
stop();
}
}
movieClip 77 {
}
movieClip 83 {
}
movieClip 85 {
}
movieClip 89 {
}
movieClip 100 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 21 {
stop();
}
}
instance plr of movieClip 100 {
onClipEvent (load) {
var right = false;
var left = false;
var xSpeed = 15;
var ySpeed = 0;
var yPlr = _y;
var jump = false;
var attack = false;
var timer = 0;
}
onClipEvent (enterFrame) {
if (jump) {
_y = _y + ySpeed;
ySpeed += 1.5;
if (_y >= yPlr) {
_y = yPlr;
jump = false;
}
} else {
if (Key.isDown(38)) {
jump = true;
ySpeed = -15;
}
}
if (Key.isDown(39)) {
right = true;
this._x += xSpeed;
_xscale = 100;
gotoAndStop('W');
} else {
if (Key.isDown(37)) {
left = true;
this._x -= xSpeed;
_xscale = -100;
gotoAndStop('W');
} else {
if (!Key.isDown()) {
right = false;
left = false;
gotoAndStop('I');
}
}
}
if (Key.isDown(32) && right && !left) {
gotoAndStop('a');
attack = true;
} else {
if (Key.isDown(32) && !right && left) {
gotoAndStop('a');
attack = true;
} else {
if (Key.isDown(32) && right && left) {
gotoAndStop('a');
attack = true;
} else {
if (Key.isDown(32) && !right && !left) {
gotoAndStop('a');
attack = true;
}
}
}
}
}
}