Frame 1
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
_alpha = 100;
} else {
if (_alpha >= 100) {
aT = -4;
} else if (0 >= _alpha) {
aT = 4;
}
_alpha = (_alpha + aT);
}
}
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded < _root._totalframes) {
Loaded = int((_root._framesloaded / _root._totalframes) * 300);
gotoAndPlay(Loaded);
} else if (_currentframe < 300) {
gotoAndPlay (300);
}
}
Frame 2
stop();
Instance of Symbol 40 MovieClip "Derpy" in Frame 2
onClipEvent (enterFrame) {
if (Going) {
_x = (_x + 4);
_xscale = (_xscale + 0.2);
_yscale = _xscale;
if (900 < _x) {
_xscale = -60;
_yscale = -60;
_y = (_y + 50);
Going = false;
}
}
if (GoingBack) {
_x = (_x - 4);
if (_x < -100) {
_xscale = 50;
_yscale = 50;
_y = (_y - 50);
GoingBack = false;
}
}
if ((!Going) && (!GoingBack)) {
if ((random(10025) == 1) or Key.isDown(68)) {
if (_x < 0) {
Going = true;
} else if (800 < _x) {
GoingBack = true;
}
}
}
}
Instance of Symbol 42 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = (_x + 0.2);
if (1450 < _x) {
_x = (_x - 2900);
}
}
Instance of Symbol 42 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = (_x + 0.2);
if (1450 < _x) {
_x = (_x - 2900);
}
}
Frame 3
stop();
Instance of Symbol 107 MovieClip in Frame 3
onClipEvent (enterFrame) {
stop();
if (_root.BackwardsBuck) {
_alpha = 100;
gotoAndStop (2);
} else {
_alpha = 0;
}
}
Instance of Symbol 108 MovieClip in Frame 3
onClipEvent (enterFrame) {
stop();
if (!_root.BackwardsBuck) {
_alpha = 100;
gotoAndStop (2);
} else {
_alpha = 0;
}
}
Frame 10
stop();
Instance of Symbol 389 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((Key.isDown(90) or Key.isDown(88)) or Key.isDown(Key.SPACE)) or Key.isDown(Key.ENTER)) {
if (!KeyPress) {
tellTarget (_parent) {
play();
};
}
KeyPress = true;
} else {
KeyPress = false;
}
}
onClipEvent (load) {
KeyPress = true;
}
Frame 11
stop();
stopAllSounds();
Frame 12
stop();
Frame 14
MyX = 74;
MyY = 86;
MyScale = 100;
Frame 15
stop();
loadMovie ("bosstest.swf", _root.buffer);
Instance of Symbol 688 MovieClip "stage" in Frame 15
onClipEvent (enterFrame) {
_root.StageX = _x;
if (_x < -10000) {
Stage._x = Stage._x - 10000;
Stage2._x = Stage2._x - 10000;
P1._x = P1._x - 10000;
_x = (_x + 10000);
} else if (10000 < _x) {
Stage._x = Stage._x + 10000;
Stage2._x = Stage2._x + 10000;
P1._x = P1._x + 10000;
_x = (_x - 10000);
}
if (Key.isDown(Key.SHIFT)) {
if (!Shift) {
_root.MyX = P1._x;
_root.MyY = P1._y;
_root.MyScale = P1._xScale;
play();
Shift = true;
}
} else {
Shift = false;
}
if (Key.isDown(Key.SPACE)) {
if (!Tab) {
if (P1.Active) {
P1.Active = false;
_root.Active = false;
} else if (_root.Event._currentframe == 1) {
P1.Active = true;
_root.Active = true;
}
Tab = true;
}
} else {
Tab = false;
}
if (_root.Shake) {
_parent._x = random(4) - 4;
_parent._y = random(4) - 4;
Counter = Counter - 1;
if (Counter == 0) {
_root.Shake = false;
Counter = 5;
_parent._x = 0;
_parent._y = 0;
}
}
}
onClipEvent (load) {
_root.Life = 3;
Counter = 5;
}
Instance of Symbol 696 MovieClip "Item" in Frame 15
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
gotoAndStop (1);
} else if (Key.isDown(50)) {
gotoAndStop (4);
} else if (Key.isDown(51)) {
gotoAndStop (3);
} else if (Key.isDown(52)) {
_root.stage.P1.Apples = 6;
gotoAndStop (2);
} else if (Key.isDown(53)) {
gotoAndStop (5);
}
}
Instance of Symbol 698 MovieClip "Right" in Frame 15
onClipEvent (enterFrame) {
if (0 < _root.stage.P1._xScale) {
if (((600 < _x) && (1 < _root.Stage.P1._currentframe)) && (_root.Stage.P1._currentframe < 6)) {
_root.Left._x = _root.Left._x - 4;
_x = (_x - 4);
}
} else if (((_x < 900) && (1 < _root.Stage.P1._currentframe)) && (_root.Stage.P1._currentframe < 6)) {
_root.Left._x = _root.Left._x + 4;
_x = (_x + 4);
}
}
Instance of Symbol 705 MovieClip "HP" in Frame 15
onClipEvent (load) {
_root.Life = 3;
}
onClipEvent (enterFrame) {
if (_root.Item._currentframe == 4) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
if (_currentframe == 1) {
if (3 < _root.Life) {
_root.Life = 3;
}
}
}
Instance of Symbol 709 MovieClip "pause" in Frame 15
onClipEvent (enterFrame) {
if (1 < _root.Event._currentframe) {
_alpha = 0;
} else {
_alpha = 100;
}
if (_root.Active) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 769 MovieClip "Event" in Frame 15
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (((_root.stage.P1._currentframe == 11) && (_root.stage.P1._y >= 1500)) && (_currentframe < 10)) {
play();
}
}
Instance of Symbol 771 MovieClip "music" in Frame 15
onClipEvent (enterFrame) {
if (_currentframe == 1) {
play();
}
}
Frame 19
gotoAndStop (1);
Frame 22
stop();
Instance of Symbol 795 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_currentframe < 480) {
_x = (_x - 0.25);
}
}
Instance of Symbol 769 MovieClip "Event" in Frame 22
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (((_root.stage.P1._currentframe == 11) && (_root.stage.P1._y >= 1500)) && (_currentframe < 10)) {
play();
}
}
Frame 40
loadMovie ("bosstest.swf", _root);
Symbol 12 Button
on (release) {
tellTarget (_root) {
play();
};
}
Symbol 15 MovieClip Frame 310
tellTarget (_root) {
play();
};
Symbol 88 MovieClip Frame 20
stop();
Symbol 89 Button
on (release) {
gotoAndPlay (9);
}
Symbol 90 Button
on (release) {
gotoAndPlay (14);
}
Symbol 100 Button
on (release) {
gotoAndStop (3);
}
Symbol 104 Button
on (release) {
gotoAndStop (2);
}
Symbol 109 Button
on (release) {
_root.BackwardsBuck = false;
}
Symbol 112 Button
on (release) {
_root.BackwardsBuck = true;
}
Symbol 115 Button
on (release) {
_root._quality = "low";
}
Symbol 118 Button
on (release) {
_root._quality = "medium";
}
Symbol 120 Button
on (release) {
_root._quality = "high";
}
Symbol 125 MovieClip Frame 15
gotoAndPlay (1);
Symbol 149 MovieClip Frame 113
tellTarget (_parent) {
gotoAndStop (1);
};
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 151 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 151 MovieClip Frame 10
stop();
Symbol 151 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 151 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 162 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
tellTarget (_root.Stage.Beam) {
_root.Stage.Beam.Boom = true;
};
tellTarget (_parent) {
Bucked = true;
_name = "";
gotoAndStop (10);
};
}
}
Instance of Symbol 160 MovieClip in Symbol 162 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 181 MovieClip Frame 3
stop();
Symbol 181 MovieClip Frame 5
tellTarget (_parent) {
gotoAndStop (1);
};
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
stop();
Instance of Symbol 172 MovieClip in Symbol 182 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!Key.isDown(Key.UP)) {
tellTarget (_parent) {
DownCount = 0;
gotoAndStop (1);
};
} else {
_parent.DownCount = _parent.DownCount + 1;
}
}
Symbol 182 MovieClip Frame 3
stop();
Instance of Symbol 181 MovieClip in Symbol 182 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent.DownCount = _parent.DownCount + 1;
if (!Key.isDown(Key.DOWN)) {
delete _parent.DownCount;
play();
}
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 10
stop();
Instance of Symbol 185 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 12;
_rotation = (-_parent._rotation);
if (hitTest(_parent._parent._parent._parent.Stage.Monster1) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage.Monster1) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage2.Monster1) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage2.Monster1) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage.Monster2) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage.Monster2) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage2.Monster2) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage2.Monster2) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage.Monster3) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage.Monster3) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage2.Monster3) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage2.Monster3) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage.Monster4) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage.Monster4) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
if (hitTest(_parent._parent._parent._parent.Stage2.Monster4) && (_alpha == 100)) {
tellTarget (_parent._parent._parent._parent.Stage2.Monster4) {
gotoAndStop (10);
Bucked = true;
_name = "Bucked";
yThrust = -10;
xThrust = (10 * _parent._parent._parent._xScale) / 100;
};
_parent._parent._parent.Apples = _parent._parent._parent.Apples - 1;
}
}
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 6
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = (_xscale + 10);
_yscale = _xscale;
_alpha = (_alpha - (_xscale / 4));
}
Symbol 250 MovieClip Frame 16
stop();
_name = "";
unloadMovie (this);
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 250 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (1 < _currentframe) {
_x = (_x - 20);
}
_alpha = (_alpha - 10);
if (0 >= _alpha) {
tellTarget (_parent) {
gotoAndStop (2);
};
}
}
onClipEvent (load) {
gotoAndPlay (2);
}
Symbol 251 MovieClip Frame 2
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
stop();
Instance of Symbol 247 MovieClip "sprite" in Symbol 253 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
_x = (_x + (xThrust * 2));
_y = (_y + yThrust);
yThrust = -2;
};
Counter = Counter - 1;
if (0 >= Counter) {
tellTarget (_parent) {
ReadytoRunR = false;
ReadytoRunL = false;
gotoAndStop (4);
};
}
}
onClipEvent (load) {
_parent.yThrust = -4;
Counter = 8;
}
Symbol 292 MovieClip Frame 1
stop();
Instance of Symbol 249 MovieClip in Symbol 292 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = (_xscale + 10);
_yscale = _xscale;
_alpha = (_alpha - (_xscale / 4));
}
Symbol 292 MovieClip Frame 16
stop();
_name = "";
unloadMovie (this);
Symbol 331 MovieClip Frame 10
if (_root.BackwardsBuck) {
_xscale = 100;
_parent._xScale = -_parent._xScale;
}
Instance of Symbol 299 MovieClip "hoof" in Symbol 331 MovieClip Frame 10
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent.Block)) {
_root.Shake = true;
}
}
Symbol 331 MovieClip Frame 22
if (_root.BackwardsBuck) {
_xscale = -100;
_parent._xScale = -_parent._xScale;
}
Symbol 331 MovieClip Frame 23
tellTarget (_parent) {
GetHurt = false;
gotoAndStop (1);
};
Symbol 368 MovieClip Frame 8
if (_root.BackwardsBuck) {
_xscale = 100;
_parent._xScale = -_parent._xScale;
}
Instance of Symbol 299 MovieClip "hoof" in Symbol 368 MovieClip Frame 8
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent.Block)) {
_root.Shake = true;
}
}
Symbol 368 MovieClip Frame 20
if (_root.BackwardsBuck) {
_xscale = -100;
_parent._xScale = -_parent._xScale;
}
Symbol 368 MovieClip Frame 21
tellTarget (_parent) {
GetHurt = false;
gotoAndStop (4);
};
Symbol 374 MovieClip Frame 15
tellTarget (_parent) {
GetHurt = false;
gotoAndPlay (1);
};
Instance of Symbol 373 MovieClip in Symbol 374 MovieClip Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation - 12);
}
Symbol 376 MovieClip Frame 15
tellTarget (_parent) {
GetHurt = false;
gotoAndPlay (1);
};
Instance of Symbol 373 MovieClip in Symbol 376 MovieClip Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation - 12);
}
Symbol 385 MovieClip Frame 1
_root.Pause._alpha = 0;
stopAllSounds();
Symbol 385 MovieClip Frame 40
_root.Pause._alpha = 0;
Symbol 385 MovieClip Frame 81
stop();
tellTarget (_root.Event) {
gotoAndPlay (80);
};
Instance of Symbol 182 MovieClip "sprite" in Symbol 386 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Active) {
if (Key.isDown(81)) {
_parent.yThrust = -20;
_parent.DashBack = true;
tellTarget (_parent) {
gotoAndStop (4);
};
}
if (Key.isDown(Key.UP)) {
LookingDown = false;
gotoAndStop (2);
if (30 < DownCount) {
LookingUp = true;
if ((_parent._y + _parent._parent._y) < 440) {
_parent._parent._y = _parent._parent._y + 2;
}
}
} else if (Key.isDown(Key.DOWN)) {
LookingUp = false;
gotoAndStop (3);
if ((30 < DownCount) && (-500 < _parent._parent._y)) {
LookingDown = true;
if (100 < (_parent._y + _parent._parent._y)) {
_parent._parent._y = _parent._parent._y - 2;
}
}
} else {
LookingDown = false;
LookingUp = false;
}
}
}
Instance of Symbol 187 MovieClip in Symbol 386 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Item._currentframe == 2) {
_xscale = _parent._xScale;
gotoAndStop(_parent.Apples + 1);
if (_parent.Apples == 0) {
tellTarget (_root.Item) {
gotoAndStop (1);
};
}
} else {
_parent.Apples = 6;
gotoAndStop (1);
}
}
Instance of Symbol 253 MovieClip "sprite" in Symbol 386 MovieClip Frame 3
onClipEvent (load) {
Kicked = false;
yBoost = -2;
}
onClipEvent (enterFrame) {
if (Key.isDown(88) && (!Kicked)) {
gotoAndStop (2);
_parent.xThrust = _parent.xThrust * 1.5;
StartY = _y;
Kicked = true;
}
if (_currentframe == 2) {
_parent._y = _parent._y - 1;
_parent.yThrust = 0;
_y = (_y + yBoost);
yBoost = yBoost + 1;
if (_y >= StartY) {
tellTarget (_parent) {
ReadytoRunR = false;
ReadytoRunL = false;
gotoAndStop (2);
};
}
}
}
Symbol 386 MovieClip Frame 4
Jump = true;
Instance of Symbol 254 MovieClip in Symbol 386 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.yThrust < -4) {
gotoAndStop (7);
} else if (2 < _parent.yThrust) {
gotoAndStop (9);
} else {
gotoAndStop (11);
}
}
Symbol 386 MovieClip Frame 5
Jump = true;
Instance of Symbol 331 MovieClip "Sprite" in Symbol 386 MovieClip Frame 6
onClipEvent (enterFrame) {
tellTarget (_parent) {
_x = (_x - xThrust);
xThrust = 0;
};
}
onClipEvent (load) {
if (_root.BackwardsBuck) {
_xscale = -100;
}
}
Instance of Symbol 368 MovieClip "sprite" in Symbol 386 MovieClip Frame 7
onClipEvent (load) {
if (_root.BackwardsBuck) {
_xscale = -100;
}
}
Symbol 386 MovieClip Frame 9
_root.Shake = true;
yThrust = -4;
xThrust = -((6 * _xscale) / 100);
Instance of Symbol 374 MovieClip in Symbol 386 MovieClip Frame 9
onClipEvent (enterFrame) {
tellTarget (_parent) {
_x = (_x + xThrust);
_y = (_y + yThrust);
};
}
Symbol 386 MovieClip Frame 10
_root.Life = _root.Life - 1;
_root.Shake = true;
yThrust = -6;
xThrust = -((6 * _xscale) / 100);
invincible = 90;
Symbol 386 MovieClip Frame 11
stop();
Instance of Symbol 376 MovieClip in Symbol 386 MovieClip Frame 11
onClipEvent (enterFrame) {
me._rotation = me._rotation + 20;
_parent.yThrust = _parent.yThrust + 2;
_parent._y = _parent._y + _parent.yThrust;
gotoAndStop (1);
}
Symbol 386 MovieClip Frame 15
stop();
Symbol 388 Button
on (release) {
play();
}
Symbol 389 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 1
stop();
Instance of Symbol 409 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent._parent.P1.sprite.hoof)) {
_root.Shake = true;
tellTarget (_parent) {
play();
};
tellTarget (_parent._parent._parent._parent.P1.sprite.boom) {
play();
};
}
}
Instance of Symbol 410 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent._parent.P1.sprite.hoof)) {
_root.Shake = true;
tellTarget (_parent) {
play();
};
tellTarget (_parent._parent._parent._parent.P1.sprite.boom) {
play();
};
}
if (hitTest(_parent._parent._parent.bucked)) {
_root.Shake = true;
tellTarget (_parent) {
play();
};
_parent._parent._parent.bucked.xThrust = _parent._parent._parent.bucked.xThrust - (_parent._parent._parent.bucked.xThrust * 1.5);
}
}
Symbol 416 MovieClip Frame 2
oldname = _name;
_name = "shaketree";
Symbol 416 MovieClip Frame 3
_name = oldname;
Instance of Symbol 409 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent._parent.P1.sprite.hoof)) {
_root.Shake = true;
tellTarget (_parent) {
play();
};
tellTarget (_parent._parent._parent._parent.P1.sprite.boom) {
play();
};
}
}
Instance of Symbol 410 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent._parent.P1.sprite.hoof)) {
_root.Shake = true;
tellTarget (_parent) {
play();
};
tellTarget (_parent._parent._parent._parent.P1.sprite.boom) {
play();
};
}
if (hitTest(_parent._parent._parent.bucked)) {
_root.Shake = true;
tellTarget (_parent) {
play();
};
_parent._parent._parent.bucked.xThrust = _parent._parent._parent.bucked.xThrust - (_parent._parent._parent.bucked.xThrust * 1.5);
}
}
Symbol 431 MovieClip Frame 1
stop();
Instance of Symbol 427 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_parent._parent._parent.P1.sprite.hoof)) {
_root.Shake = true;
tellTarget (_parent._parent._parent.P1.sprite.boom) {
play();
};
tellTarget (_parent) {
play();
};
}
}
Symbol 437 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 1
stop();
Instance of Symbol 437 MovieClip in Symbol 446 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
play();
};
}
Symbol 446 MovieClip Frame 7
gotoAndStop (1);
Instance of Symbol 437 MovieClip in Symbol 446 MovieClip Frame 10
onClipEvent (enterFrame) {
tellTarget (_parent) {
play();
};
}
Symbol 447 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 447 MovieClip Frame 10
stop();
Symbol 447 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 447 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 448 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 448 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 448 MovieClip Frame 10
stop();
Symbol 448 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 448 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 458 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 458 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 458 MovieClip Frame 10
stop();
Symbol 458 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 458 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 10
stop();
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
tellTarget (_root.Stage.Beam) {
_root.Stage.Beam.Boom = true;
};
tellTarget (_parent) {
Bucked = true;
_name = "";
gotoAndStop (10);
};
}
}
Instance of Symbol 160 MovieClip in Symbol 473 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 484 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 484 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 484 MovieClip Frame 10
stop();
Symbol 484 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 484 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 485 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip in Symbol 485 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
tellTarget (_root.Stage.Beam) {
_root.Stage.Beam.Boom = true;
};
tellTarget (_parent) {
Bucked = true;
_name = "";
gotoAndStop (10);
};
}
}
Instance of Symbol 160 MovieClip in Symbol 485 MovieClip Frame 10
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 486 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 486 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 486 MovieClip Frame 10
stop();
Symbol 486 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 486 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 487 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 487 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 487 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 487 MovieClip Frame 10
stop();
Symbol 487 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 487 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 488 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 488 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 488 MovieClip Frame 10
stop();
Symbol 488 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 488 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 505 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 11
stop();
Instance of Symbol 521 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1) && (_currentframe == 1)) {
if (((Key.isDown(Key.UP) or Key.isDown(90)) or Key.isDown(88)) && (_root.Active)) {
tellTarget (_root.Event) {
gotoAndStop (50);
};
gotoAndStop (2);
_root.Active = false;
}
}
if (_currentframe == 2) {
if (_root.Active) {
play();
}
}
}
Symbol 527 MovieClip Frame 1
stop();
Instance of Symbol 125 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Instance of Symbol 129 MovieClip in Symbol 527 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.Stage.Beam)) {
_root.Stage.Beam.Boom = true;
tellTarget (_parent) {
gotoAndStop (12);
};
}
}
Symbol 527 MovieClip Frame 10
stop();
Symbol 527 MovieClip Frame 12
stop();
Instance of Symbol 150 MovieClip "head" in Symbol 527 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
};
}
Symbol 537 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 1
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 448 MovieClip "monster2" in Symbol 543 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if ((random(80) == 1) && (_currentframe < 4)) {
yThrust = -25;
gotoAndStop (4);
}
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 4
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 543 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 7
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 473 MovieClip "monster1" in Symbol 543 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 10
stop();
Instance of Symbol 484 MovieClip "monster1" in Symbol 543 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Instance of Symbol 484 MovieClip "monster2" in Symbol 543 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Instance of Symbol 484 MovieClip "monster3" in Symbol 543 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Instance of Symbol 484 MovieClip "monster4" in Symbol 543 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Symbol 543 MovieClip Frame 13
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 485 MovieClip "monster3" in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 485 MovieClip "monster4" in Symbol 543 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 16
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Symbol 543 MovieClip Frame 19
stop();
Instance of Symbol 486 MovieClip "monster1" in Symbol 543 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (hitTest(_parent.monster3)) {
if (_parent.monster3._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 487 MovieClip "monster2" in Symbol 543 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (hitTest(_parent.monster3)) {
if (_parent.monster3._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 488 MovieClip "monster3" in Symbol 543 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 22
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 22
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 22
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Symbol 543 MovieClip Frame 25
stop();
Instance of Symbol 505 MovieClip in Symbol 543 MovieClip Frame 25
onClipEvent (enterFrame) {
if (((hitTest(_root.stage.P1) && (30 < _root.stage.P1.sprite.Downcount)) && (_root.Item._currentframe == 5)) && (_root.stage.P1._xScale < 0)) {
_root.Active = false;
_root.Pause._alpha = 0;
tellTarget (_root.Stage.P1) {
gotoAndStop (15);
};
}
}
Instance of Symbol 447 MovieClip "monster1" in Symbol 543 MovieClip Frame 25
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 25
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 28
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 543 MovieClip Frame 28
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 28
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 31
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 473 MovieClip "monster1" in Symbol 543 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 34
stop();
Instance of Symbol 527 MovieClip "monster1" in Symbol 543 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster2" in Symbol 543 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster3" in Symbol 543 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster4" in Symbol 543 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 37
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 485 MovieClip "monster3" in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 485 MovieClip "monster4" in Symbol 543 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 40
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 543 MovieClip Frame 40
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1)) {
tellTarget (_root.Right) {
gotoAndStop (2);
};
if (1000 < _root.stage.P1._x) {
tellTarget (_root.Event) {
gotoAndPlay (800);
};
}
} else {
tellTarget (_root.Right) {
gotoAndStop (1);
};
}
}
Instance of Symbol 538 MovieClip in Symbol 543 MovieClip Frame 40
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1)) {
_root.Active = false;
tellTarget (_root.Event) {
if (_currentframe < 800) {
gotoAndPlay (800);
}
};
tellTarget (_root.stage.P1) {
_x = (_x + 10);
};
}
}
Symbol 543 MovieClip Frame 43
stop();
Instance of Symbol 541 MovieClip in Symbol 543 MovieClip Frame 43
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1)) {
_root.Active = false;
_root.Pause._alpha = 0;
tellTarget (_root) {
gotoAndPlay (21);
};
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 43
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 43
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Symbol 543 MovieClip Frame 46
stop();
Instance of Symbol 505 MovieClip in Symbol 543 MovieClip Frame 46
onClipEvent (enterFrame) {
if (((hitTest(_root.stage.P1) && (30 < _root.stage.P1.sprite.Downcount)) && (_root.Item._currentframe == 5)) && (_root.stage.P1._xScale < 0)) {
_root.Active = false;
_root.Pause._alpha = 0;
tellTarget (_root.Stage.P1) {
gotoAndStop (15);
};
}
}
Instance of Symbol 447 MovieClip "monster1" in Symbol 543 MovieClip Frame 46
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 46
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 49
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 543 MovieClip Frame 49
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 49
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 52
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 473 MovieClip "monster1" in Symbol 543 MovieClip Frame 52
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 543 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 55
stop();
Instance of Symbol 527 MovieClip "monster1" in Symbol 543 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster2" in Symbol 543 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster3" in Symbol 543 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster4" in Symbol 543 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 543 MovieClip Frame 58
stop();
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 485 MovieClip "monster3" in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 485 MovieClip "monster4" in Symbol 543 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 1
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 544 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 448 MovieClip "monster2" in Symbol 544 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if ((random(80) == 1) && (_currentframe < 4)) {
yThrust = -25;
gotoAndStop (4);
}
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 4
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 544 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 7
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 473 MovieClip "monster1" in Symbol 544 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 10
stop();
Instance of Symbol 484 MovieClip "monster1" in Symbol 544 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Instance of Symbol 484 MovieClip "monster2" in Symbol 544 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Instance of Symbol 484 MovieClip "monster3" in Symbol 544 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Instance of Symbol 484 MovieClip "monster4" in Symbol 544 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
Symbol 544 MovieClip Frame 13
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 485 MovieClip "monster3" in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 485 MovieClip "monster4" in Symbol 544 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 16
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Symbol 544 MovieClip Frame 19
stop();
Instance of Symbol 486 MovieClip "monster1" in Symbol 544 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (hitTest(_parent.monster3)) {
if (_parent.monster3._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 487 MovieClip "monster2" in Symbol 544 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (hitTest(_parent.monster3)) {
if (_parent.monster3._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 488 MovieClip "monster3" in Symbol 544 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 22
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 22
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 22
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Symbol 544 MovieClip Frame 25
stop();
Instance of Symbol 505 MovieClip in Symbol 544 MovieClip Frame 25
onClipEvent (enterFrame) {
if (((hitTest(_root.stage.P1) && (30 < _root.stage.P1.sprite.Downcount)) && (_root.Item._currentframe == 5)) && (_root.stage.P1._xScale < 0)) {
_root.Active = false;
_root.Pause._alpha = 0;
tellTarget (_root.Stage.P1) {
gotoAndStop (15);
};
}
}
Instance of Symbol 447 MovieClip "monster1" in Symbol 544 MovieClip Frame 25
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 25
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 28
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 544 MovieClip Frame 28
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 28
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 31
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 473 MovieClip "monster1" in Symbol 544 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 31
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 34
stop();
Instance of Symbol 527 MovieClip "monster1" in Symbol 544 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster2" in Symbol 544 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster3" in Symbol 544 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster4" in Symbol 544 MovieClip Frame 34
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 37
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 485 MovieClip "monster3" in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 485 MovieClip "monster4" in Symbol 544 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 40
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 544 MovieClip Frame 40
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1)) {
tellTarget (_root.Right) {
gotoAndStop (2);
};
if (1000 < _root.stage.P1._x) {
tellTarget (_root.Event) {
gotoAndPlay (800);
};
}
} else {
tellTarget (_root.Right) {
gotoAndStop (1);
};
}
}
Instance of Symbol 538 MovieClip in Symbol 544 MovieClip Frame 40
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1)) {
_root.Active = false;
tellTarget (_root.Event) {
if (_currentframe < 800) {
gotoAndPlay (800);
}
};
tellTarget (_root.stage.P1) {
_x = (_x + 10);
};
}
}
Symbol 544 MovieClip Frame 43
stop();
Instance of Symbol 541 MovieClip in Symbol 544 MovieClip Frame 43
onClipEvent (enterFrame) {
if (hitTest(_root.stage.P1)) {
_root.Active = false;
_root.Pause._alpha = 0;
tellTarget (_root) {
gotoAndPlay (21);
};
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 43
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 43
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Symbol 544 MovieClip Frame 46
stop();
Instance of Symbol 505 MovieClip in Symbol 544 MovieClip Frame 46
onClipEvent (enterFrame) {
if (((hitTest(_root.stage.P1) && (30 < _root.stage.P1.sprite.Downcount)) && (_root.Item._currentframe == 5)) && (_root.stage.P1._xScale < 0)) {
_root.Active = false;
_root.Pause._alpha = 0;
tellTarget (_root.Stage.P1) {
gotoAndStop (15);
};
}
}
Instance of Symbol 447 MovieClip "monster1" in Symbol 544 MovieClip Frame 46
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 46
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 49
stop();
Instance of Symbol 447 MovieClip "monster1" in Symbol 544 MovieClip Frame 49
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 49
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 52
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 473 MovieClip "monster1" in Symbol 544 MovieClip Frame 52
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
if (hitTest(_parent.monster2)) {
if (_parent.monster2._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 458 MovieClip "monster2" in Symbol 544 MovieClip Frame 52
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = -100;
}
if ((!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) && (_currentframe < 4)) {
_xscale = 100;
}
if (hitTest(_parent.monster1)) {
if (_parent.monster1._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 55
stop();
Instance of Symbol 527 MovieClip "monster1" in Symbol 544 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster2" in Symbol 544 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster3" in Symbol 544 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 527 MovieClip "monster4" in Symbol 544 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if ((_root.Active && (!Bucked)) && (_currentframe < 12)) {
if (0 < _xscale) {
xThrust = -4;
} else {
xThrust = 4;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (0 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = -100;
}
if (!_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 16, ((_parent._parent._y + _parent._y) + _y) + 5, true)) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(1200) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Symbol 544 MovieClip Frame 58
stop();
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 468 MovieClip in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((!Active) && (hitTest(_parent.level.shaketree))) {
yThrust = 2;
Active = true;
}
if (Active) {
if (hitTest(_parent._parent.P1)) {
if ((((_parent._parent.P1._currentframe < 6) && (_root.Life < 3)) && (!Bucked)) && (_parent._parent.P1.Invincible < 30)) {
_root.Life = _root.Life + 1;
Active = false;
_y = 2000;
play();
}
if ((!Bucked) && (_parent._parent.P1.Apples < 6)) {
_parent._parent.P1.Apples = _parent._parent.P1.Apples + 1;
Active = false;
_y = 2000;
}
}
if (Bucked) {
if (_name == "") {
xThrust = 0;
yThrust = yThrust + 1;
}
_rotation = (_rotation + 12);
_y = (_y + yThrust);
yThrust = yThrust + 1;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
}
_y = (_y + yThrust);
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 6, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 6, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
yThrust = 0;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
}
}
}
}
Instance of Symbol 485 MovieClip "monster3" in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 485 MovieClip "monster4" in Symbol 544 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.Active && (!Bucked)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
xThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (Bucked) {
if (_name == "") {
xThrust = 0;
}
_y = (_y + yThrust);
yThrust = yThrust + 2;
_x = (_x + xThrust);
if (2000 < _y) {
_name = "";
removeMovieClip(this);
}
}
if (_root.Active && (!Bucked)) {
if (0 < _xscale) {
xThrust = -6;
} else {
xThrust = 6;
}
if (hitTest(_parent._parent.P1.sprite.hoof)) {
tellTarget (_parent._parent.P1.sprite.boom) {
play();
};
_root.Shake = true;
if (Key.isDown(Key.DOWN)) {
yThrust = 0;
} else if (Key.isDown(Key.UP)) {
yThrust = -24;
} else {
yThrust = -12;
}
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
gotoAndStop (10);
_name = "bucked";
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent.bucked) && (hitTest(_root.OnScreen))) {
_parent.impact._x = (_parent.bucked._x + _x) / 2;
_parent.impact._y = (_parent.bucked._y + _y) / 2;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_parent.bucked._name = "";
_name = "bucked";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (head.hitTest(_parent._parent.P1.hooves) && (2 < _parent._parent.P1.yThrust)) {
_parent.impact._x = ((_parent._parent.P1._x - _parent._x) + _x) / 2;
_parent.impact._y = (_parent._parent.P1._y - _parent._y) - 15;
tellTarget (_parent.impact) {
play();
};
_root.Shake = true;
if (Key.isDown(90)) {
_parent._parent.P1.yThrust = -30;
} else {
_parent._parent.P1.yThrust = -14;
}
yThrust = -12;
xThrust = _parent._parent.P1._xScale / 5;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.sprite.head)) {
_parent.impact._x = _x;
_parent.impact._y = _y - 40;
tellTarget (_parent.impact) {
if (_currentframe < 10) {
gotoAndPlay (10);
} else {
play();
}
};
_root.Shake = true;
yThrust = -24;
xThrust = 0;
_parent._parent.P1.sprite.yBoost = -1;
Bucked = true;
_name = "";
gotoAndStop (10);
_yscale = -100;
_y = (_y - 40);
} else if (hitTest(_parent._parent.P1.box) && (_parent._parent.P1._currentframe < 6)) {
_parent._parent.P1.GetHurt = true;
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
if (-2 < yThrust) {
if (random(5) < 4) {
yThrust = -20 - random(5);
} else {
yThrust = -8;
}
gotoAndStop (1);
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, (_parent._parent._y + _parent._y) + _y, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, (_parent._parent._y + _parent._y) + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 12, ((_parent._parent._y + _parent._y) + _y) - 40, true) or _parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 12, ((_parent._parent._y + _parent._y) + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if ((_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, (_parent._parent._y + _parent._y) + _y, true))) or hitTest(_parent.monsterwall)) {
_xscale = -100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) - 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x + 1);
}
}
if (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true) && (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, (_parent._parent._y + _parent._y) + _y, true))) {
_xscale = 100;
while (_parent.Wall.hitTest(((_parent._parent._x + _parent._x) + _x) + 32, ((_parent._parent._y + _parent._y) + _y) - 15, true)) {
_x = (_x - 1);
}
}
if (_x < 50) {
_xscale = -100;
}
if (1450 < _x) {
_xscale = 100;
}
}
}
onClipEvent (load) {
_x = (random(800) + 240);
if (random(2) == 1) {
_xscale = -100;
}
}
Instance of Symbol 182 MovieClip "sprite" in Symbol 545 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Active) {
if (Key.isDown(81)) {
_parent.yThrust = -20;
_parent.DashBack = true;
tellTarget (_parent) {
gotoAndStop (4);
};
}
if (Key.isDown(Key.UP)) {
LookingDown = false;
gotoAndStop (2);
if (30 < DownCount) {
LookingUp = true;
if ((_parent._y + _parent._parent._y) < 440) {
_parent._parent._y = _parent._parent._y + 2;
}
}
} else if (Key.isDown(Key.DOWN)) {
LookingUp = false;
gotoAndStop (3);
if ((30 < DownCount) && (-500 < _parent._parent._y)) {
LookingDown = true;
if (100 < (_parent._y + _parent._parent._y)) {
_parent._parent._y = _parent._parent._y - 2;
}
}
} else {
LookingDown = false;
LookingUp = false;
}
}
}
Instance of Symbol 187 MovieClip in Symbol 545 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Item._currentframe == 2) {
_xscale = _parent._xScale;
gotoAndStop(_parent.Apples + 1);
if (_parent.Apples == 0) {
tellTarget (_root.Item) {
gotoAndStop (1);
};
}
} else {
_parent.Apples = 6;
gotoAndStop (1);
}
}
Instance of Symbol 253 MovieClip "sprite" in Symbol 545 MovieClip Frame 3
onClipEvent (load) {
Kicked = false;
yBoost = -2;
}
onClipEvent (enterFrame) {
if (Key.isDown(88) && (!Kicked)) {
gotoAndStop (2);
_parent.xThrust = _parent.xThrust * 1.5;
StartY = _y;
Kicked = true;
}
if (_currentframe == 2) {
_parent._y = _parent._y - 1;
_parent.yThrust = 0;
_y = (_y + yBoost);
yBoost = yBoost + 1;
if (_y >= StartY) {
tellTarget (_parent) {
ReadytoRunR = false;
ReadytoRunL = false;
gotoAndStop (2);
};
}
}
}
Symbol 545 MovieClip Frame 4
Jump = true;
Instance of Symbol 254 MovieClip in Symbol 545 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.yThrust < -4) {
gotoAndStop (7);
} else if (2 < _parent.yThrust) {
gotoAndStop (9);
} else {
gotoAndStop (11);
}
}
Symbol 545 MovieClip Frame 5
Jump = true;
Instance of Symbol 331 MovieClip "Sprite" in Symbol 545 MovieClip Frame 6
onClipEvent (enterFrame) {
tellTarget (_parent) {
_x = (_x - xThrust);
xThrust = 0;
};
}
onClipEvent (load) {
if (_root.BackwardsBuck) {
_xscale = -100;
}
}
Instance of Symbol 368 MovieClip "sprite" in Symbol 545 MovieClip Frame 7
onClipEvent (load) {
if (_root.BackwardsBuck) {
_xscale = -100;
}
}
Symbol 545 MovieClip Frame 9
_root.Shake = true;
yThrust = -4;
xThrust = -((6 * _xscale) / 100);
Instance of Symbol 374 MovieClip in Symbol 545 MovieClip Frame 9
onClipEvent (enterFrame) {
tellTarget (_parent) {
_x = (_x + xThrust);
_y = (_y + yThrust);
};
}
Symbol 545 MovieClip Frame 10
_root.Life = _root.Life - 1;
_root.Shake = true;
yThrust = -6;
xThrust = -((6 * _xscale) / 100);
invincible = 90;
Symbol 545 MovieClip Frame 11
stop();
Instance of Symbol 376 MovieClip in Symbol 545 MovieClip Frame 11
onClipEvent (enterFrame) {
me._rotation = me._rotation + 20;
_parent.yThrust = _parent.yThrust + 2;
_parent._y = _parent._y + _parent.yThrust;
gotoAndStop (1);
}
Symbol 545 MovieClip Frame 15
stop();
Symbol 563 MovieClip Frame 7
if (Key.isDown(88)) {
gotoAndPlay (5);
}
Symbol 563 MovieClip Frame 12
stop();
tellTarget (_parent) {
gotoAndPlay (12);
};
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 11
gotoAndPlay (9);
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 4
tellTarget (_parent._parent._parent._parent.Beam) {
Fire = true;
};
Symbol 586 MovieClip Frame 3
stop();
Instance of Symbol 584 MovieClip "sprite" in Symbol 586 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(88) && (!_parent._parent._parent.Kick)) {
play();
}
if (1 < _currentframe) {
_parent._parent.DownCount = 0;
}
}
Symbol 586 MovieClip Frame 5
tellTarget (_parent) {
gotoAndStop (1);
};
Symbol 587 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 2
stop();
Instance of Symbol 571 MovieClip "sprite" in Symbol 587 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((!Key.isDown(Key.UP)) && (_currentframe == 1)) {
tellTarget (_parent) {
DownCount = 0;
gotoAndStop (1);
};
} else if (_currentframe == 1) {
_parent.DownCount = _parent.DownCount + 1;
} else {
_parent.DownCount = 0;
}
if (Key.isDown(88) && (_currentframe == 1)) {
play();
}
}
Symbol 587 MovieClip Frame 3
stop();
Instance of Symbol 586 MovieClip in Symbol 587 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent.DownCount = _parent.DownCount + 1;
if (!Key.isDown(Key.DOWN)) {
_parent.DownCount = 0;
if (sprite._currentframe == 1) {
play();
}
}
}
Instance of Symbol 186 MovieClip in Symbol 588 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 588 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 588 MovieClip Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 588 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 588 MovieClip Frame 6
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 186 MovieClip in Symbol 588 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 645 MovieClip Frame 9
tellTarget (_parent._parent.Beam) {
Fire = true;
};
Symbol 645 MovieClip Frame 23
tellTarget (_parent) {
GetHurt = false;
gotoAndStop (1);
};
Symbol 660 MovieClip Frame 3
tellTarget (_parent._parent.Beam) {
Fire = true;
};
Symbol 660 MovieClip Frame 14
tellTarget (_parent) {
GetHurt = false;
gotoAndStop (1);
};
Symbol 665 MovieClip Frame 15
tellTarget (_parent) {
GetHurt = false;
gotoAndPlay (1);
};
Instance of Symbol 664 MovieClip in Symbol 665 MovieClip Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation - 12);
}
Symbol 666 MovieClip Frame 15
tellTarget (_parent) {
GetHurt = false;
gotoAndPlay (1);
};
Instance of Symbol 664 MovieClip in Symbol 666 MovieClip Frame 15
onClipEvent (enterFrame) {
_rotation = (_rotation - 12);
}
Symbol 676 MovieClip Frame 17
stop();
tellTarget (_root.Event) {
gotoAndPlay (2);
};
_root.HP._alpha = 0;
Symbol 677 MovieClip Frame 1
DashBack = false;
Instance of Symbol 587 MovieClip "sprite" in Symbol 677 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Active) {
if (Key.isDown(81)) {
_parent.yThrust = -20;
_parent.DashBack = true;
tellTarget (_parent) {
gotoAndStop (4);
};
}
if (Key.isDown(Key.UP)) {
LookingDown = false;
gotoAndStop (2);
if (30 < DownCount) {
LookingUp = true;
if ((_parent._y + _parent._parent._y) < 440) {
_parent._parent._y = _parent._parent._y + 2;
}
}
} else if (Key.isDown(Key.DOWN)) {
LookingUp = false;
gotoAndStop (3);
if ((30 < DownCount) && (-500 < _parent._parent._y)) {
LookingDown = true;
if (100 < (_parent._y + _parent._parent._y)) {
_parent._parent._y = _parent._parent._y - 2;
}
}
} else {
LookingDown = false;
LookingUp = false;
}
}
}
Instance of Symbol 588 MovieClip in Symbol 677 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Item._currentframe == 2) {
_xscale = _parent._xScale;
gotoAndStop(_parent.Apples + 1);
if (_parent.Apples == 0) {
tellTarget (_root.Item) {
gotoAndStop (1);
};
}
} else {
_parent.Apples = 6;
gotoAndStop (1);
}
}
Symbol 677 MovieClip Frame 4
Jump = true;
Instance of Symbol 624 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.yThrust < -4) {
gotoAndStop (7);
} else if (2 < _parent.yThrust) {
gotoAndStop (9);
} else {
gotoAndStop (11);
}
}
Symbol 677 MovieClip Frame 5
Jump = true;
Symbol 677 MovieClip Frame 9
_root.Shake = true;
yThrust = -4;
xThrust = -((6 * _xscale) / 100);
Instance of Symbol 665 MovieClip in Symbol 677 MovieClip Frame 9
onClipEvent (enterFrame) {
tellTarget (_parent) {
_x = (_x + xThrust);
_y = (_y + yThrust);
};
}
Symbol 677 MovieClip Frame 10
_root.Life = _root.Life - 1;
_root.Shake = true;
yThrust = -6;
xThrust = -((6 * _xscale) / 100);
invincible = 90;
Symbol 677 MovieClip Frame 11
stop();
Instance of Symbol 666 MovieClip in Symbol 677 MovieClip Frame 11
onClipEvent (enterFrame) {
me._rotation = me._rotation - 20;
_parent.yThrust = _parent.yThrust + 2;
_parent._y = _parent._y + _parent.yThrust;
gotoAndStop (1);
}
Symbol 677 MovieClip Frame 15
stop();
Symbol 687 MovieClip Frame 3
if (Boom) {
gotoAndPlay (5);
} else {
gotoAndPlay (1);
}
Symbol 687 MovieClip Frame 12
ON = false;
Boom = false;
_y = 2000;
Symbol 688 MovieClip Frame 1
stop();
_root.Applejack = true;
_root.Rarity = false;
Instance of Symbol 543 MovieClip "Stage2" in Symbol 688 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (58);
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < -1700) {
gotoAndPlay(_parent.Stage._currentframe + 1);
_x = (_x + 2980);
}
if (1300 < (_x + _parent._x)) {
if (4 < _parent.Stage._currentframe) {
gotoAndPlay(_parent.Stage._currentframe - 4);
} else {
gotoAndPlay(_totalframes - 1);
}
_x = (_x - 2980);
}
if (_parent.P1.hitTest(this) && (!_parent.P1.hitTest(_parent.Stage))) {
if ((!Front) && (_parent.Stage.Front)) {
this.swapDepths(_parent.Stage);
_parent.Stage.Front = false;
Front = true;
}
}
}
onClipEvent (load) {
Front = false;
}
Instance of Symbol 544 MovieClip "Stage" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_x + _parent._x) < -1700) {
gotoAndPlay(_parent.Stage2._currentframe + 1);
_x = (_x + 2980);
}
if (1300 < (_x + _parent._x)) {
if (4 < _parent.Stage2._currentframe) {
gotoAndPlay(_parent.Stage2._currentframe - 4);
} else {
gotoAndPlay(_totalframes - 1);
}
_x = (_x - 2980);
}
if (_parent.P1.hitTest(this) && (!_parent.P1.hitTest(_parent.Stage2))) {
if ((!Front) && (_parent.Stage2.Front)) {
this.swapDepths(_parent.Stage2);
_parent.Stage2.Front = false;
Front = true;
}
}
}
onClipEvent (load) {
Front = true;
}
Instance of Symbol 545 MovieClip "P1" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Active && (_currentframe < 11)) {
if ((Key.isDown(90) && (_currentframe < 4)) && (!Jump)) {
if (!Key.isDown(Key.DOWN)) {
yThrust = yThrust - 21;
if (_root.Item._currentframe == 3) {
yThrust = yThrust - 10;
}
if (_currentframe == 3) {
gotoAndStop (5);
} else {
gotoAndStop (4);
}
} else {
Jump = true;
DropDown = true;
}
Jump = true;
}
if (Key.isDown(88)) {
if ((_currentframe < 3) && (!Kick)) {
xThrust = 0;
yThrust = 0;
gotoAndStop (6);
} else if (((_currentframe < 6) && (_currentframe != 3)) && (!Kick)) {
xThrust = 0;
yThrust = 0;
gotoAndStop (7);
}
Kick = true;
} else if (_currentframe < 4) {
Kick = false;
}
if ((!Key.isDown(90)) && (_currentframe < 4)) {
Jump = false;
}
if (Key.isDown(Key.LEFT) && (_currentframe < 6)) {
xThrust = xThrust - 2;
_xscale = -100;
if (_currentframe == 1) {
if (ReadytoRunL) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
} else if (Key.isDown(Key.RIGHT) && (_currentframe < 6)) {
xThrust = xThrust + 2;
_xscale = 100;
if (_currentframe == 1) {
if (ReadytoRunR) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
} else {
if ((_currentframe == 2) or ((_currentframe == 3) && (sprite._currentframe == 1))) {
gotoAndStop (1);
if (0 < xThrust) {
ReadytoRunR = true;
} else if (xThrust < 0) {
ReadytoRunL = true;
}
}
if ((_currentframe == 3) && (sprite._currentframe == 2)) {
if (0 < _xscale) {
xThrust = xThrust + 4;
} else {
xThrust = xThrust - 4;
}
}
}
if ((_currentframe == 3) or (_currentframe == 5)) {
if (0 < _xscale) {
xThrust = xThrust + 2;
} else {
xThrust = xThrust - 2;
}
}
if (((_currentframe < 7) or (_currentframe == 10)) or (_currentframe == 9)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 4);
if ((xThrust < 1) && (-1 < xThrust)) {
ReadytoRunL = false;
ReadytoRunR = false;
xThrust = 0;
}
} else {
xThrust = xThrust - (xThrust / 4);
yThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.Active && (_currentframe < 11)) {
if (((_parent.Stage.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
if (!DropDown) {
if (-2 < yThrust) {
if ((_currentframe >= 4) && (_currentframe < 6)) {
gotoAndStop (1);
}
yThrust = 0;
while (((_parent.Stage.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
_y = (_y - 1);
}
}
}
} else if (DropDown) {
DropDown = false;
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
if (-2 < yThrust) {
if (((_currentframe >= 4) && (_currentframe < 6)) or (_currentframe == 9)) {
gotoAndStop (1);
}
yThrust = 0;
while (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if (8 < yThrust) {
gotoAndStop (4);
}
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true) && (_parent.Stage.Wall.hitTest((_parent._x + _x) - 32, _parent._y + _y, true))) {
while (_parent.Stage.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true)) {
_x = (_x + 1);
}
ReadytoRunL = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true) && (_parent.Stage.Wall.hitTest((_parent._x + _x) + 32, _parent._y + _y, true))) {
while (_parent.Stage.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true)) {
_x = (_x - 1);
}
ReadytoRunR = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
if (-2 < yThrust) {
if (((_currentframe >= 4) && (_currentframe < 6)) or (_currentframe == 9)) {
gotoAndStop (1);
}
yThrust = 0;
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
_y = (_y - 1);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true) && (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 32, _parent._y + _y, true))) {
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true)) {
_x = (_x + 1);
}
ReadytoRunL = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true) && (_parent.Stage2.Wall.hitTest((_parent._x + _x) + 32, _parent._y + _y, true))) {
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true)) {
_x = (_x - 1);
}
ReadytoRunR = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.Active && (_currentframe < 11)) {
if (box.hitTest(_root.Up)) {
while (box.hitTest(_root.Up)) {
_parent._y = _parent._y + 1;
}
}
if (box.hitTest(_root.Down)) {
while (box.hitTest(_root.Down)) {
_parent._y = _parent._y - 1;
}
}
if (box.hitTest(_root.Left)) {
while (box.hitTest(_root.Left)) {
_parent._x = _parent._x + 1;
}
}
if (box.hitTest(_root.Right)) {
while (box.hitTest(_root.Right)) {
_parent._x = _parent._x - 1;
}
}
if (GetHurt) {
if ((_currentframe < 6) && (Invincible < 1)) {
gotoAndStop (10);
xThrust = (-20 * _xscale) / 100;
yThrust = -15;
GetHurt = false;
}
}
if (_currentframe == 10) {
yThrust = yThrust + 2;
}
if (0 < Invincible) {
if (75 < Invincible) {
hooves._name = "";
}
GetHurt = false;
Invincible = Invincible - 1;
if (Invincible < 85) {
_alpha = 40;
}
} else {
_alpha = 100;
}
}
if ((_root.Life < 1) && (_currentframe < 11)) {
yThrust = -20;
gotoAndPlay (11);
Invincible = 0;
_alpha = 100;
}
if (_currentframe == 11) {
_alpha = 100;
if (2000 < _y) {
removeMovieClip(this);
}
}
}
onClipEvent (load) {
_x = _root.MyX;
_y = _root.MyY;
_xscale = _root.MyScale;
gotoAndStop (4);
Jump = true;
_root.Active = true;
Invincible = 0;
}
Symbol 688 MovieClip Frame 2
stop();
_root.Rarity = true;
_root.Applejack = false;
Instance of Symbol 677 MovieClip "P1" in Symbol 688 MovieClip Frame 2
onClipEvent (enterFrame) {
if (DashBack) {
xThrust = -12;
}
if (_root.Active && (_currentframe < 11)) {
if ((Key.isDown(90) && (_currentframe < 4)) && (!Jump)) {
if (!Key.isDown(Key.DOWN)) {
yThrust = yThrust - 21;
if (_root.Item._currentframe == 3) {
yThrust = yThrust - 10;
}
if (_currentframe == 3) {
gotoAndStop (5);
} else {
gotoAndStop (4);
}
} else {
Jump = true;
DropDown = true;
}
Jump = true;
}
if (Key.isDown(88)) {
if ((_currentframe == 1) && (1 < sprite._currentframe)) {
} else if ((_currentframe < 3) && (!Kick)) {
xThrust = 0;
yThrust = 0;
gotoAndStop (6);
} else if (((_currentframe < 6) && (_currentframe != 3)) && (!Kick)) {
gotoAndStop (7);
}
Kick = true;
} else if (_currentframe < 4) {
Kick = false;
}
if ((!Key.isDown(90)) && (_currentframe < 4)) {
Jump = false;
}
if (Key.isDown(Key.LEFT) && ((_currentframe < 6) or (_currentframe == 7))) {
xThrust = xThrust - 1.5;
_xscale = -100;
if (_currentframe == 1) {
gotoAndStop (2);
}
} else if (Key.isDown(Key.RIGHT) && ((_currentframe < 6) or (_currentframe == 7))) {
xThrust = xThrust + 1.5;
_xscale = 100;
if (_currentframe == 1) {
gotoAndStop (2);
}
} else if ((_currentframe == 2) or ((_currentframe == 3) && (sprite._currentframe == 1))) {
gotoAndStop (1);
}
if (((_currentframe < 8) or (_currentframe == 10)) or (_currentframe == 9)) {
_x = (_x + xThrust);
_y = (_y + yThrust);
xThrust = xThrust - (xThrust / 6);
if ((xThrust < 1) && (-1 < xThrust)) {
ReadytoRunL = false;
ReadytoRunR = false;
xThrust = 0;
}
} else {
xThrust = xThrust - (xThrust / 4);
yThrust = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.Active && (_currentframe < 11)) {
if (((_parent.Stage.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
if (!DropDown) {
if (-2 < yThrust) {
if ((_currentframe >= 4) && (_currentframe < 6)) {
gotoAndStop (1);
}
yThrust = 0;
while (((_parent.Stage.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) - 12, _parent._y + _y, true)) or _parent.Stage2.Floor.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
_y = (_y - 1);
}
}
}
} else if (DropDown) {
DropDown = false;
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
if (-2 < yThrust) {
if ((((_currentframe >= 4) && (_currentframe < 6)) or (_currentframe == 9)) or (_currentframe == 7)) {
gotoAndStop (1);
}
yThrust = 0;
while (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
_y = (_y - 1);
}
}
} else {
yThrust = yThrust + 2;
if ((8 < yThrust) && (_currentframe != 7)) {
gotoAndStop (4);
}
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Stage.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true) && (_parent.Stage.Wall.hitTest((_parent._x + _x) - 32, _parent._y + _y, true))) {
while (_parent.Stage.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true)) {
_x = (_x + 1);
}
ReadytoRunL = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
if (_parent.Stage.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true) && (_parent.Stage.Wall.hitTest((_parent._x + _x) + 32, _parent._y + _y, true))) {
while (_parent.Stage.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true)) {
_x = (_x - 1);
}
ReadytoRunR = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
if (-2 < yThrust) {
if (((_currentframe >= 4) && (_currentframe < 6)) or (_currentframe == 9)) {
gotoAndStop (1);
}
yThrust = 0;
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, _parent._y + _y, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, _parent._y + _y, true)) {
_y = (_y - 1);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
if (yThrust < 0) {
yThrust = 2;
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 12, (_parent._y + _y) - 40, true) or _parent.Stage2.Wall.hitTest((_parent._x + _x) + 12, (_parent._y + _y) - 40, true)) {
_y = (_y + 1);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true) && (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 32, _parent._y + _y, true))) {
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) - 32, (_parent._y + _y) - 15, true)) {
_x = (_x + 1);
}
ReadytoRunL = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
if (_parent.Stage2.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true) && (_parent.Stage2.Wall.hitTest((_parent._x + _x) + 32, _parent._y + _y, true))) {
while (_parent.Stage2.Wall.hitTest((_parent._x + _x) + 32, (_parent._y + _y) - 15, true)) {
_x = (_x - 1);
}
ReadytoRunR = false;
if (_currentframe == 3) {
if (sprite._currentframe == 2) {
gotoAndStop (9);
} else {
gotoAndStop (2);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.Active && (_currentframe < 11)) {
if (box.hitTest(_root.Up)) {
while (box.hitTest(_root.Up) && (!sprite.LookingDown)) {
_parent._y = _parent._y + 1;
}
}
if ((box.hitTest(_root.Down) && (-500 < _parent._y)) && (!sprite.LookingUp)) {
while (box.hitTest(_root.Down)) {
_parent._y = _parent._y - 1;
}
}
if (box.hitTest(_root.Left)) {
while (box.hitTest(_root.Left)) {
_parent._x = _parent._x + 1;
}
}
if (box.hitTest(_root.Right)) {
while (box.hitTest(_root.Right)) {
_parent._x = _parent._x - 1;
}
}
if (GetHurt) {
if ((_currentframe < 6) && (Invincible < 1)) {
gotoAndStop (10);
xThrust = (-20 * _xscale) / 100;
yThrust = -15;
GetHurt = false;
}
}
if (_currentframe == 10) {
yThrust = yThrust + 2;
}
if (0 < Invincible) {
if (75 < Invincible) {
hooves._name = "";
}
GetHurt = false;
Invincible = Invincible - 1;
if (Invincible < 85) {
_alpha = 40;
}
} else {
_alpha = 100;
}
}
if ((_root.Life < 1) && (_currentframe < 11)) {
yThrust = -20;
gotoAndPlay (11);
Invincible = 0;
_alpha = 100;
}
if (hitTest(_parent.Lava)) {
yThrust = 0;
gotoAndStop (20);
_alpha = 100;
}
if (_currentframe == 11) {
_alpha = 100;
if (2000 < _y) {
removeMovieClip(this);
}
}
}
onClipEvent (load) {
_x = _root.MyX;
_y = _root.MyY;
_xscale = _root.MyScale;
gotoAndStop (4);
Jump = true;
_root.Active = true;
Invincible = 0;
}
Instance of Symbol 687 MovieClip "Beam" in Symbol 688 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Fire) {
_x = (_parent.P1._x + (_parent.P1._xScale / 1.5));
_y = (_parent.P1._y - 64);
if (_parent.P1._currentframe == 1) {
_y = (_y + 30);
}
_alpha = 100;
_xscale = _parent.P1._xScale;
xThrust = _parent.P1._xScale / 3;
On = true;
Fire = false;
} else if (On) {
if (_currentframe < 5) {
_x = (_x + xThrust);
}
if ((900 < (_x + _parent._x)) or ((_x + _parent._x) < -100)) {
_y = (_y + 2000);
On = false;
}
} else {
_alpha = 0;
}
}
Symbol 696 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 4
_root.Life = 5;
Symbol 697 MovieClip Frame 1
stop();
Symbol 698 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 1
stop();
Instance of Symbol 700 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Life < 1) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Instance of Symbol 701 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Life < 2) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Instance of Symbol 702 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Life < 3) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Symbol 705 MovieClip Frame 3
stop();
Instance of Symbol 700 MovieClip in Symbol 705 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Life < 1) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Instance of Symbol 701 MovieClip in Symbol 705 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Life < 2) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Instance of Symbol 702 MovieClip in Symbol 705 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Life < 3) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Instance of Symbol 703 MovieClip in Symbol 705 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Life < 4) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Instance of Symbol 704 MovieClip in Symbol 705 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Life < 5) {
if (0 < _alpha) {
_alpha = (_alpha - 15);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 15);
}
}
Symbol 709 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 2
stop();
Instance of Symbol 708 MovieClip in Symbol 709 MovieClip Frame 2
onClipEvent (load) {
if ((_root._currentframe == 15) && (_root.stage.P1._currentframe != 15)) {
_alpha = 100;
}
}
Instance of Symbol 715 MovieClip in Symbol 716 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Instance of Symbol 715 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 721 MovieClip Frame 1
if (_root.Applejack) {
stop();
} else if (_root.Rarity) {
gotoAndStop (2);
}
Symbol 721 MovieClip Frame 2
stop();
Symbol 727 Button
on (release) {
tellTarget (_root) {
gotoAndPlay(_currentframe - 1);
};
tellTarget (_root.music) {
gotoAndPlay (2);
};
gotoAndStop (1);
}
Symbol 744 MovieClip Frame 1
stop();
Symbol 748 Button
on (release) {
_root.Life = 5;
_root.Items = 4;
tellTarget (_root.Item) {
gotoAndStop (4);
};
play();
}
on (rollOver) {
tellTarget (TB) {
gotoAndStop (2);
};
}
on (rollOut) {
tellTarget (TB) {
gotoAndStop (1);
};
}
Symbol 749 Button
on (release) {
_root.Items = 3;
tellTarget (_root.Item) {
gotoAndStop (3);
};
play();
}
on (rollOver) {
tellTarget (TB) {
gotoAndStop (3);
};
}
on (rollOut) {
tellTarget (TB) {
gotoAndStop (1);
};
}
Symbol 750 Button
on (release) {
_root.Items = 2;
tellTarget (_root.Item) {
gotoAndStop (2);
};
play();
}
on (rollOver) {
tellTarget (TB) {
gotoAndStop (4);
};
}
on (rollOut) {
tellTarget (TB) {
gotoAndStop (1);
};
}
Symbol 751 Button
on (release) {
_root.Items = 5;
tellTarget (_root.Item) {
gotoAndStop (5);
};
play();
}
on (rollOver) {
tellTarget (TB) {
gotoAndStop (5);
};
}
on (rollOut) {
tellTarget (TB) {
gotoAndStop (1);
};
}
Symbol 752 Button
on (release) {
_root.Items = 1;
tellTarget (_root.Item) {
gotoAndStop (1);
};
play();
}
on (rollOver) {
tellTarget (TB) {
gotoAndStop (6);
};
}
on (rollOut) {
tellTarget (TB) {
gotoAndStop (1);
};
}
Symbol 753 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 10
stop();
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 2
tellTarget (_root.music) {
stop();
};
Instance of Symbol 711 MovieClip in Symbol 769 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_alpha < 75) {
_alpha = (_alpha + 5);
}
}
Symbol 769 MovieClip Frame 40
stop();
Symbol 769 MovieClip Frame 50
stop();
tellTarget (_root.music) {
stop();
};
tellTarget (_root.music2) {
gotoAndPlay (2);
};
tellTarget (_root.stage.P1) {
gotoAndStop (1);
};
Instance of Symbol 711 MovieClip in Symbol 769 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_alpha < 75) {
_alpha = (_alpha + 5);
}
}
Instance of Symbol 389 MovieClip in Symbol 769 MovieClip Frame 50
onClipEvent (enterFrame) {
if (((Key.isDown(90) or Key.isDown(88)) or Key.isDown(Key.SPACE)) or Key.isDown(Key.ENTER)) {
if (!KeyPress) {
tellTarget (_parent) {
play();
};
}
KeyPress = true;
} else {
KeyPress = false;
}
}
onClipEvent (load) {
KeyPress = true;
}
Symbol 769 MovieClip Frame 51
stop();
Symbol 769 MovieClip Frame 52
stop();
Symbol 769 MovieClip Frame 53
stop();
Symbol 769 MovieClip Frame 54
tellTarget (_root.music) {
gotoAndPlay (2);
};
tellTarget (_root.music2) {
stop();
};
_root.Active = true;
Symbol 769 MovieClip Frame 55
gotoAndStop (1);
Symbol 769 MovieClip Frame 100
tellTarget (_root) {
gotoAndStop (20);
};
_root.HP._alpha = 0;
Symbol 769 MovieClip Frame 350
stop();
Instance of Symbol 389 MovieClip in Symbol 769 MovieClip Frame 350
onClipEvent (enterFrame) {
if (((Key.isDown(90) or Key.isDown(88)) or Key.isDown(Key.SPACE)) or Key.isDown(Key.ENTER)) {
if (!KeyPress) {
tellTarget (_parent) {
play();
};
}
KeyPress = true;
} else {
KeyPress = false;
}
}
onClipEvent (load) {
KeyPress = true;
}
Symbol 769 MovieClip Frame 351
stop();
Symbol 769 MovieClip Frame 352
tellTarget (_root) {
gotoAndStop (1);
};
Symbol 769 MovieClip Frame 820
tellTarget (_root.music) {
stop();
tellTarget (_root) {
gotoAndStop (40);
};
};
Symbol 769 MovieClip Frame 876
stop();
Symbol 771 MovieClip Frame 1
stop();
Symbol 773 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 650
stop();
tellTarget (_root.Event) {
gotoAndPlay (320);
};