Frame 1
_global.a = 0;
_global.b = 0;
_global.c = 0;
_global.d = 0;
_global.e = 0;
_global.f = 0;
_global.g = 0;
_global.h = 0;
_global.i2 = 0;
_global.j = 0;
stop();
one2._visible = false;
one3._visible = false;
oneB._visible = false;
two2._visible = false;
two3._visible = false;
twoB._visible = false;
three2._visible = false;
three3._visible = false;
three4._visible = false;
threeB._visible = false;
fiveB._visible = false;
four2._visible = false;
four3._visible = false;
fourB._visible = false;
five2._visible = false;
if (a == 1) {
one2._visible = true;
}
if (a == 2) {
one2._visible = true;
one3._visible = true;
}
if (a == 3) {
one2._visible = true;
one3._visible = true;
oneB._visible = true;
}
if (b == 1) {
two2._visible = true;
}
if (b == 2) {
two2._visible = true;
two3._visible = true;
}
if (b == 3) {
two2._visible = true;
two3._visible = true;
twoB._visible = true;
}
if (c == 1) {
three2._visible = true;
}
if (c == 2) {
three2._visible = true;
three3._visible = true;
}
if (c == 3) {
three2._visible = true;
three3._visible = true;
three4._visible = true;
}
if (c == 4) {
three2._visible = true;
three3._visible = true;
three4._visible = true;
threeB._visible = true;
}
if (i2 == 1) {
four2._visible = true;
}
if (i2 == 2) {
four2._visible = true;
four3._visible = true;
}
if (i2 == 3) {
four2._visible = true;
four3._visible = true;
fourB._visible = true;
}
if (i2 == 1) {
five2._visible = true;
}
if (i2 == 4) {
fiveB._visible = true;
}
_root._x = 0;
_root._y = 0;
Frame 2
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
_root.planted = false;
_root.catted = false;
Instance of Symbol 125 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.planted = true;
}
if (!_root.planted) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 128 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 128 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 128 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 128 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 128 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 125 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.planted = true;
}
if (!_root.planted) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 125 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.planted = true;
}
if (!_root.planted) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 125 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.planted = true;
}
if (!_root.planted) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 135 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.a < 2) {
_root.a = 1;
}
_root.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 355 MovieClip "char" in Frame 2
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("cat");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else if (_root.planted) {
this.gotoAndStop("plant");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Frame 3
stop();
i = 1;
while (i <= 6) {
_root.ball.duplicateMovieClip("ball" + i, i + 1000, face);
i++;
}
score.text = 0;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 135 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (_root.ball);
unloadMovie (_root.ball1);
unloadMovie (_root.ball2);
unloadMovie (_root.ball3);
unloadMovie (_root.ball4);
unloadMovie (_root.ball5);
unloadMovie (_root.ball6);
if (_root.a < 3) {
_root.a = 2;
}
_root.gotoAndStop(4);
}
}
Instance of Symbol 368 MovieClip "ball" in Frame 3
onClipEvent (load) {
function reset() {
var _local1 = this;
_local1.speed = random(15) + 5;
_local1._x = 1600;
_local1._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
if (this.hitTest(_root.char)) {
this.reset();
_root.score.text++;
if (_root.score.text >= 5) {
_root.char.jumping = false;
_root.dead = true;
unloadMovie (_root.ball);
unloadMovie (_root.ball1);
unloadMovie (_root.ball2);
unloadMovie (_root.ball3);
unloadMovie (_root.ball4);
unloadMovie (_root.ball5);
unloadMovie (_root.ball6);
}
}
}
Instance of Symbol 355 MovieClip "char" in Frame 3
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("dog");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
if (!jumping) {
ySpeed = 0;
}
}
this._y = forcasty;
}
Frame 4
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
light.stop();
reset._visible = false;
_root.dead = false;
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 135 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.a < 4) {
_root.a = 3;
}
_root.gotoAndStop(1);
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 378 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
_root.char.yspeed = 0;
}
if (!_root.dead) {
_root._x = 0;
_root.health.text = _root.health.text - 20;
_root.char._x = _root.char.startX;
_root.char._y = _root.char.startY + (Stage.height / 1.25);
_root.light.play();
}
}
}
Instance of Symbol 355 MovieClip "char" in Frame 4
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 10) {
ySpeed = 10;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("mouse");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Frame 5
stop();
_root._x = 0;
_root._y = 0;
Frame 7
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 411 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 586 MovieClip "char" in Frame 7
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("bunny");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 135 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.b < 2) {
_root.b = 1;
}
_root.gotoAndStop(8);
}
}
Frame 8
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
_root.item.stop();
_root.item2.stop();
_root.item3.stop();
_root.item4.stop();
_root.item5.stop();
Instance of Symbol 586 MovieClip "char" in Frame 8
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
lol = random(10) + 1;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
if (lol <= 5) {
this.gotoAndStop("deer");
} else {
this.gotoAndStop("fox");
}
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 135 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.b < 3) {
_root.b = 2;
}
_root.gotoAndStop(9);
}
}
Instance of Symbol 598 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.item.play();
}
}
Instance of Symbol 601 MovieClip "item2" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 601 MovieClip "item3" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 601 MovieClip "item4" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 601 MovieClip "item5" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 601 MovieClip "item" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 598 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.item2.play();
}
}
Instance of Symbol 598 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.item3.play();
}
}
Instance of Symbol 598 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.item4.play();
}
}
Instance of Symbol 598 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.item5.play();
}
}
Frame 9
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
_root.dead2 = false;
_root.spray.stop();
Instance of Symbol 612 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead2 = true;
}
if (!_root.dead2) {
_root.health.text = _root.health.text - 3;
_root.char.jumping = false;
}
}
}
Instance of Symbol 586 MovieClip "char" in Frame 9
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("skunk");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else if (_root.dead2) {
this.gotoAndStop("rocky");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 135 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.b < 4) {
_root.b = 3;
}
_root.gotoAndStop(1);
}
}
Instance of Symbol 620 MovieClip "spray" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
}
}
Instance of Symbol 622 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
_root.spray.play();
unloadMovie (this);
}
}
Frame 10
stop();
_root._x = 0;
_root._y = 0;
_root.char.gotoAndStop("base");
Frame 12
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
splat.stop();
splat2.stop();
played = false;
played2 = false;
Instance of Symbol 660 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
if (!played) {
_root.splat.play();
played = true;
}
} else {
played = false;
}
}
Instance of Symbol 660 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
if (!played2) {
_root.splat2.play();
played2 = true;
}
} else {
played2 = false;
}
}
Instance of Symbol 925 MovieClip "char" in Frame 12
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("pig");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 135 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.c < 2) {
_root.c = 1;
}
_root.gotoAndStop(13);
}
}
Frame 13
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
_root.fallen = false;
_root.gate.stop();
_root.donked = false;
_root.horsed = false;
_root.gate2.stop();
Instance of Symbol 937 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 937 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 937 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 937 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead = true;
}
}
}
Instance of Symbol 939 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.fallen = true;
_root.char.jumping = false;
}
if (!_root.fallen) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 939 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.fallen = true;
_root.char.jumping = false;
}
if (!_root.fallen) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 939 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.fallen = true;
_root.char.jumping = false;
}
if (!_root.fallen) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 939 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.fallen = true;
_root.char.jumping = false;
}
if (!_root.fallen) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 135 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.c < 3) {
_root.c = 2;
}
_root.gotoAndStop(14);
}
}
Instance of Symbol 925 MovieClip "char" in Frame 13
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("donk");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else if (_root.fallen) {
this.gotoAndStop("horse");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else if (_root.donked) {
this.gotoAndStop("donked");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else if (_root.horsed) {
this.gotoAndStop("horsed");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 948 MovieClip "gate" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = 0;
_root.donked = true;
_root.gate.play();
_root.char.jumping = false;
}
}
Instance of Symbol 954 MovieClip "gate2" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.text = 0;
_root.horsed = true;
_root.gate2.play();
_root.char.jumping = false;
}
}
Frame 14
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 963 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 1;
}
}
}
Instance of Symbol 135 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.c < 4) {
_root.c = 3;
}
_root.gotoAndStop(15);
}
}
Instance of Symbol 925 MovieClip "char" in Frame 14
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
lol = random(10) + 1;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
if (lol <= 5) {
this.gotoAndStop("cow");
} else {
this.gotoAndStop("sheep");
}
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Frame 15
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
_root.dead2 = false;
_root.corn.stop();
_root.corn._visible = false;
_root.corndrain.stop();
_root.corndrain._visible = false;
Instance of Symbol 970 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.char.jumping = false;
_root.dead = true;
_root.corn.play();
_root.corn._visible = true;
}
}
Instance of Symbol 925 MovieClip "char" in Frame 15
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this._xscale = 100;
this.gotoAndStop("chick");
_root.reset._visible = true;
_root.reset._x = this._x;
} else if (_root.dead2) {
this._xscale = 100;
_root.reset._visible = true;
this.gotoAndStop("chick2");
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
if (!jumping) {
ySpeed = 0;
}
}
this._y = forcasty;
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 1029 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
if (_root.score.text >= 3) {
_root.char.jumping = false;
_root.dead2 = true;
}
}
}
Instance of Symbol 135 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.c < 5) {
_root.c = 4;
}
_root.gotoAndStop(1);
}
}
Frame 16
stop();
_root._x = 0;
_root._y = 0;
_root.char.gotoAndStop("base");
Frame 18
stop();
i = 1;
while (i <= 9) {
_root.banan.duplicateMovieClip("banan" + i, i + 1000, face);
i++;
}
_root.flag._visible = false;
score.text = 0;
health.text = 0;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 1155 MovieClip "char" in Frame 18
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("monkey");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 1160 MovieClip "banana" in Frame 18
onClipEvent (load) {
function reset() {
var _local1 = this;
_local1.speed = random(10) + 5;
_local1._y = -100;
_local1._x = random(950) + -200;
}
this.reset();
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 450) {
this.reset();
}
if (this.hitTest(_root.char)) {
this.reset();
_root.health.text++;
if (_root.health.text >= 5) {
_root.flag._visible = true;
unloadMovie (_root.banana);
}
}
}
Instance of Symbol 135 MovieClip "flag" in Frame 18
onClipEvent (enterFrame) {
if (_root.health.text >= 5) {
if (this.hitTest(_root.char)) {
if (_root.i2 < 2) {
_root.i2 = 1;
}
unloadMovie (_root.banan);
unloadMovie (_root.banan1);
unloadMovie (_root.banan2);
unloadMovie (_root.banan3);
unloadMovie (_root.banan4);
unloadMovie (_root.banan5);
unloadMovie (_root.banan6);
unloadMovie (_root.banan7);
unloadMovie (_root.banan8);
unloadMovie (_root.banan9);
unloadMovie (_root.banana);
_root.gotoAndStop(19);
}
}
}
Instance of Symbol 1162 MovieClip "banan" in Frame 18
onClipEvent (load) {
function reset() {
var _local1 = this;
_local1.speed = random(8) + 5;
_local1._y = -100;
_local1._x = random(950) + -200;
}
this.reset();
}
onClipEvent (enterFrame) {
this._y = this._y + this.speed;
if (this._y > 450) {
this.reset();
}
if (this.hitTest(_root.char)) {
this.reset();
_root.score.text++;
if (_root.score.text >= 5) {
_root.char.jumping = false;
_root.dead = true;
unloadMovie (_root.banana);
unloadMovie (_root.banan);
unloadMovie (_root.banan1);
unloadMovie (_root.banan2);
unloadMovie (_root.banan3);
unloadMovie (_root.banan4);
unloadMovie (_root.banan5);
unloadMovie (_root.banan6);
unloadMovie (_root.banan7);
unloadMovie (_root.banan8);
unloadMovie (_root.banan9);
}
}
}
Frame 19
stop();
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 1165 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotoAndStop("croc");
_root.char.yspeed = 1;
_root._x = -1050;
_root._y = -340;
}
}
Instance of Symbol 1206 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.croc1.stop();
_root.croc2.stop();
_root.croc3.stop();
_root.croc4.stop();
_root.croc5.stop();
_root.croc6.stop();
}
}
Instance of Symbol 135 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.i2 < 3) {
_root.i2 = 2;
}
_root.gotoAndStop(20);
}
}
Instance of Symbol 1155 MovieClip "char" in Frame 19
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("croc");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc1.hitTest(this._x, forcasty, true) or _root.croc1.hitTest(this._x - 10, forcasty, true)) or (_root.croc1.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc2.hitTest(this._x, forcasty, true) or _root.croc2.hitTest(this._x - 10, forcasty, true)) or (_root.croc2.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc3.hitTest(this._x, forcasty, true) or _root.croc3.hitTest(this._x - 10, forcasty, true)) or (_root.croc3.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc4.hitTest(this._x, forcasty, true) or _root.croc4.hitTest(this._x - 10, forcasty, true)) or (_root.croc4.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc5.hitTest(this._x, forcasty, true) or _root.croc5.hitTest(this._x - 10, forcasty, true)) or (_root.croc5.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc6.hitTest(this._x, forcasty, true) or _root.croc6.hitTest(this._x - 10, forcasty, true)) or (_root.croc6.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Frame 20
stop();
score.text = _root.char._x;
health.text = _root.cub._x;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 1155 MovieClip "char" in Frame 20
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("tiger");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("jump");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc1.hitTest(this._x, forcasty, true) or _root.croc1.hitTest(this._x - 10, forcasty, true)) or (_root.croc1.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc2.hitTest(this._x, forcasty, true) or _root.croc2.hitTest(this._x - 10, forcasty, true)) or (_root.croc2.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc3.hitTest(this._x, forcasty, true) or _root.croc3.hitTest(this._x - 10, forcasty, true)) or (_root.croc3.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc4.hitTest(this._x, forcasty, true) or _root.croc4.hitTest(this._x - 10, forcasty, true)) or (_root.croc4.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc5.hitTest(this._x, forcasty, true) or _root.croc5.hitTest(this._x - 10, forcasty, true)) or (_root.croc5.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
while ((_root.croc6.hitTest(this._x, forcasty, true) or _root.croc6.hitTest(this._x - 10, forcasty, true)) or (_root.croc6.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 1210 MovieClip "cub" in Frame 20
onClipEvent (load) {
speed = 0;
maxmove = 20;
_x = cub._x;
}
onClipEvent (enterFrame) {
speed = speed * 0.95;
if (_x < _root.char._x) {
this.gotoAndStop("right");
if (speed < maxmove) {
_x = (_x + speed);
speed = speed + 0.75;
}
}
if (_x > _root.char._x) {
this.gotoAndStop("left");
if (speed > (-maxmove)) {
_x = (_x + speed);
speed = speed - 0.75;
}
}
if (this.hitTest(_root.char)) {
_root.dead = true;
unloadMovie (this);
}
}
Instance of Symbol 135 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.i2 < 4) {
_root.i2 = 3;
}
_root.gotoAndStop(1);
}
}
Frame 21
stop();
_root._x = 0;
_root._y = 0;
_root.char.gotoAndStop("base");
Frame 23
stop();
x = 0;
tex = "";
ball.stop();
ball._visible = false;
evolve._visible = false;
evolve.stop();
i2 = 1;
Frame 24
stop();
_root._x = 0;
_root._y = 0;
_global.va = 0;
_global.fl = 0;
_global.jo = 0;
_global.gl = 0;
_global.lf = 0;
_global.um = 0;
_global.es = 0;
check1.gotoAndStop(1);
check2.gotoAndStop(2);
check3.gotoAndStop(3);
check4.gotoAndStop(4);
check5.gotoAndStop(5);
check6.gotoAndStop(6);
check7.gotoAndStop(7);
if (va == 1) {
check1.gotoAndStop(8);
}
if (fl == 1) {
check2.gotoAndStop(8);
}
if (jo == 1) {
check3.gotoAndStop(7);
}
if (lf == 1) {
check4.gotoAndStop(8);
}
if (gl == 1) {
check5.gotoAndStop(8);
}
if (es == 1) {
check6.gotoAndStop(7);
}
if (um == 1) {
check7.gotoAndStop(8);
}
Frame 25
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
fishup.stop();
fishdn.stop();
fishdn2.stop();
fishup2.stop();
fishup3.stop();
fishdn3.stop();
fishdn4.stop();
fishup4.stop();
fishdn5.stop();
fishup5.stop();
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishup.play();
}
}
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishdn.play();
}
}
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishdn2.play();
}
}
Instance of Symbol 1283 MovieClip "fishdn" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1286 MovieClip "fishup" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1283 MovieClip "fishdn2" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1286 MovieClip "fishup2" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1286 MovieClip "fishup3" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1283 MovieClip "fishdn3" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1286 MovieClip "fishup4" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1283 MovieClip "fishdn4" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1286 MovieClip "fishup5" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1283 MovieClip "fishdn5" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 2;
}
}
}
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishup2.play();
_root.fishup3.play();
}
}
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishdn3.play();
_root.fishup4.play();
}
}
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishdn4.play();
}
}
Instance of Symbol 1290 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.va = 1;
_root.i2++;
if (_root.i2 == 4) {
_root.gotoAndStop(1);
}
_root.gotoAndStop(24);
}
}
Instance of Symbol 1276 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score.text++;
unloadMovie (this);
_root.fishdn5.play();
_root.fishup5.play();
}
}
Instance of Symbol 1508 MovieClip "char" in Frame 25
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("va");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x - 100;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.ground._x = _root.ground._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root.ground._x = _root.ground._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("fall");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Frame 26
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 1523 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1523 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1525 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1525 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1523 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1525 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1523 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1523 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1525 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
_root.char.jumping = false;
unloadMovie (this);
}
}
Instance of Symbol 1527 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fl = 1;
_root.i2++;
if (_root.i2 == 4) {
_root.gotoAndStop(1);
}
_root.gotoAndStop(24);
}
}
Instance of Symbol 1508 MovieClip "char" in Frame 26
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("fl");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("fall");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Frame 27
stop();
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
zap.stop();
_root.dead = false;
sw1.gotoAndStop(2);
sw2.stop();
sw3.stop();
sw4.stop();
sw5.stop();
sw6.stop();
sw7.stop();
sw8.stop();
sw9.stop();
sw10.stop();
sw11.stop();
sw12.stop();
sw13.stop();
sw14.stop();
asdf._visible = false;
Instance of Symbol 1533 MovieClip "sw1" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.sw2.gotoAndStop(2);
_root.sw3.gotoAndStop(2);
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw2" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.sw4.gotoAndStop(2);
_root.sw5.gotoAndStop(2);
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw3" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.sw6.gotoAndStop(2);
_root.sw7.gotoAndStop(2);
_root.sw8.gotoAndStop(2);
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw6" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.sw13.gotoAndStop(2);
_root.sw10.gotoAndStop(2);
_root.sw9.gotoAndStop(2);
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw7" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.zap.play();
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw5" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.sw14.gotoAndStop(2);
_root.sw11.gotoAndStop(2);
_root.sw12.gotoAndStop(2);
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw4" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.zap.play();
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw8" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.zap.play();
unloadMovie (this);
}
}
Instance of Symbol 1508 MovieClip "char" in Frame 27
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 15;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.85;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("jo");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
_root.ground._x = _root.ground._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root.ground._x = _root.ground._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed--;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed++;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("fall");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 1538 MovieClip "asdf" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.jo = 1;
_root.i2++;
if (_root.i2 == 4) {
_root.gotoAndStop(1);
}
_root.gotoAndStop(24);
}
}
Instance of Symbol 1541 MovieClip "zap" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if (_root.health.text <= 0) {
_root.char.jumping = false;
_root.dead = true;
}
if (!_root.dead) {
_root.health.text = _root.health.text - 5;
}
}
}
Instance of Symbol 1533 MovieClip "sw13" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (_root.leftblock);
_root.asdf._visible = true;
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw14" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw12" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.zap.play();
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw10" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.zap.play();
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw11" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (_root.rightblock);
unloadMovie (this);
}
}
Instance of Symbol 1533 MovieClip "sw9" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (this);
}
}
Frame 28
stop();
score.text = 0;
health.text = 100;
_root._x = 0;
_root._y = 0;
reset._visible = false;
_root.dead = false;
Instance of Symbol 1545 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.dead = true;
}
}
Instance of Symbol 1508 MovieClip "char" in Frame 28
onClipEvent (load) {
jumping = false;
speed = 0;
healthX = _root.health._x;
scoreX = _root.score._x;
Xpos = this._x;
Ypos = this._y;
maxmove = 20;
gravity = 1;
falling = false;
ySpeed = 0;
forcastx = this._x;
forcasty = this._y;
jump = -14;
hangtime = 0;
}
onClipEvent (enterFrame) {
speed = speed * 0.95;
_x = (Xpos - _root._x);
_root.score._x = scoreX - _root._x;
_root.health._x = healthX - _root._x;
ySpeed = ySpeed + gravity;
if (ySpeed > 15) {
ySpeed = 15;
}
if ((ySpeed >= 0) and (hangtime > 2)) {
falling = true;
this.trace;
} else {
hangtime++;
}
if (_root.dead) {
this.gotoAndStop("gl");
this._xscale = 100;
_root.reset._visible = true;
_root.reset._x = this._x;
} else {
if ((((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y - 20, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y, true))) and (!_root.leftblock.hitTest(this._x + 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (speed > 0) {
dir = "right";
} else if (speed < 0) {
dir = "left";
}
if ((((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y - 20, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y, true))) and (!_root.rightblock.hitTest(this._x - 20, this._y + 30, true))) {
_root.health._x = _root.health._x + speed;
_root.score._x = _root.score._x + speed;
this._x = this._x + speed;
_root._x = _root._x - speed;
}
if (Key.isDown(37)) {
if (speed > (-maxmove)) {
speed = speed - 0.75;
}
this.gotoAndStop("run");
this._xscale = -100;
} else if (Key.isDown(39)) {
if (speed < maxmove) {
speed = speed + 0.75;
}
this._xscale = 100;
this.gotoAndStop("run");
} else if ((speed < 1) && (speed > -1)) {
speed = 0;
this.gotoAndStop("idle");
}
if ((Key.isDown(38) and (!falling)) and (!jumping)) {
jumping = true;
ySpeed = jump;
}
if (jumping) {
this.gotoAndStop("jump");
if (ySpeed > 0) {
jumping = false;
falling = true;
}
}
if (falling) {
this.gotoAndStop("fall");
}
}
forcasty = forcasty + ySpeed;
while ((_root.ground.hitTest(this._x, forcasty, true) or _root.ground.hitTest(this._x - 10, forcasty, true)) or (_root.ground.hitTest(this._x + 5, forcasty, true) and falling)) {
forcasty--;
falling = false;
hangtime = 0;
ySpeed = 0;
}
this._y = forcasty;
}
Instance of Symbol 1569 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gl = 1;
_root.gotoAndStop(24);
}
}
Frame 32
stop();
Frame 33
stop();
zomg = "";
Symbol 11 MovieClip [CheckThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 22 MovieClip [CheckBoxAssets] Frame 1
#initclip 1
mx.controls.CheckBox.prototype.adjustFocusRect = function () {
var _local4 = this._parent.focus_mc;
var _local2 = this.iconName;
var _local3 = this.getStyle("themeColor");
if (_local3 == undefined) {
_local3 = 8453965 /* 0x80FF4D */;
}
var _local8 = _local2._width + 4;
var _local5 = _local2._height + 4;
_local4.setSize(_local8, _local5, 0, 100, _local3);
var _local7 = _local2._x;
var _local6 = _local2._y;
_local4.move((this.x - 2) + _local7, (this.y + _local6) - 2);
};
#endinitclip
Symbol 24 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 26 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 29 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 31 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 34 MovieClip [Defaults] Frame 1
#initclip 2
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 35 MovieClip [UIObjectExtensions] Frame 1
#initclip 3
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 36 MovieClip [UIObject] Frame 1
#initclip 4
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 39 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 40 MovieClip Frame 1
#initclip 5
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
#endinitclip
Symbol 41 MovieClip [FocusRect] Frame 1
#initclip 6
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 42 MovieClip [FocusManager] Frame 1
#initclip 7
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 43 MovieClip [UIComponentExtensions] Frame 1
#initclip 8
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 44 MovieClip [UIComponent] Frame 1
#initclip 9
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 45 MovieClip [SimpleButton] Frame 1
#initclip 10
Object.registerClass("SimpleButton", mx.controls.SimpleButton);
#endinitclip
stop();
Symbol 46 MovieClip [Border] Frame 1
#initclip 11
Object.registerClass("Border", mx.skins.Border);
#endinitclip
stop();
Symbol 47 MovieClip [RectBorder] Frame 1
#initclip 12
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass("RectBorder", mx.skins.halo.RectBorder);
#endinitclip
stop();
Symbol 48 MovieClip [ButtonSkin] Frame 1
#initclip 13
Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin);
#endinitclip
Symbol 49 MovieClip [Button] Frame 1
#initclip 14
Object.registerClass("Button", mx.controls.Button);
#endinitclip
stop();
Instance of Symbol 45 MovieClip [SimpleButton] in Symbol 49 MovieClip [Button] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 50 MovieClip [CheckBox] Frame 1
#initclip 15
Object.registerClass("CheckBox", mx.controls.CheckBox);
#endinitclip
stop();
Instance of Symbol 49 MovieClip [Button] in Symbol 50 MovieClip [CheckBox] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 83 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 85 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 87 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 90 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 91 Button
on (release) {
_root.gotoAndStop(12);
}
Symbol 92 Button
on (release) {
_root.gotoAndStop(13);
}
Symbol 93 Button
on (release) {
_root.gotoAndStop(14);
}
Symbol 95 Button
on (release) {
_root.gotoAndStop(15);
}
Symbol 96 Button
on (release) {
_root.gotoAndStop(16);
}
Symbol 97 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 102 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 103 Button
on (release) {
_root.gotoAndStop(9);
}
Symbol 104 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 105 Button
on (release) {
_root.gotoAndStop(32);
}
Symbol 106 Button
on (release) {
_root.gotoAndStop(18);
}
Symbol 107 Button
on (release) {
_root.gotoAndStop(19);
}
Symbol 108 Button
on (release) {
_root.gotoAndStop(20);
}
Symbol 109 Button
on (release) {
_root.gotoAndStop(21);
}
Symbol 111 Button
on (release) {
five2._visible = true;
four2._visible = true;
four3._visible = true;
fourB._visible = true;
three2._visible = true;
three3._visible = true;
three4._visible = true;
threeB._visible = true;
two2._visible = true;
two3._visible = true;
twoB._visible = true;
one2._visible = true;
one3._visible = true;
oneB._visible = true;
fiveB._visible = true;
}
Symbol 112 Button
on (release) {
_root.gotoAndStop(23);
}
Symbol 113 Button
on (release) {
_root.gotoAndStop(24);
}
Symbol 118 Button
on (release) {
_root.gotoAndStop(33);
}
Symbol 195 MovieClip Frame 148
stop();
Symbol 241 MovieClip Frame 120
stop();
Symbol 288 MovieClip Frame 130
stop();
Symbol 354 MovieClip Frame 151
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 355 MovieClip Frame 3
stop();
Symbol 355 MovieClip Frame 4
stop();
Symbol 355 MovieClip Frame 5
stop();
Symbol 355 MovieClip Frame 6
stop();
Symbol 355 MovieClip Frame 7
stop();
Symbol 355 MovieClip Frame 10
stop();
Symbol 358 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 381 MovieClip Frame 4
stop();
Symbol 386 Button
on (release) {
_root.char.gotoAndStop("cat");
}
Symbol 388 Button
on (release) {
_root.char.gotoAndStop("dog");
}
Symbol 390 Button
on (release) {
_root.char.gotoAndStop("mouse");
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 391 MovieClip Frame 3
stop();
Symbol 391 MovieClip Frame 4
stop();
Symbol 391 MovieClip Frame 5
stop();
Symbol 394 Button
on (release) {
_root.char.gotoAndStop("base");
}
Symbol 396 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 398 Button
on (release) {
_root.char.gotoAndStop("plant");
}
Symbol 448 MovieClip Frame 96
stop();
Symbol 483 MovieClip Frame 111
stop();
Symbol 522 MovieClip Frame 111
stop();
Symbol 548 MovieClip Frame 93
stop();
Symbol 585 MovieClip Frame 111
stop();
Symbol 586 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 2
stop();
Symbol 586 MovieClip Frame 3
stop();
Symbol 586 MovieClip Frame 4
stop();
Symbol 586 MovieClip Frame 5
stop();
Symbol 586 MovieClip Frame 6
stop();
Symbol 586 MovieClip Frame 7
stop();
Symbol 586 MovieClip Frame 8
stop();
Symbol 586 MovieClip Frame 21
stop();
Symbol 601 MovieClip Frame 26
stop();
Symbol 620 MovieClip Frame 31
stop();
Symbol 628 Button
on (release) {
_root.char.gotoAndStop("bunny");
}
Symbol 630 Button
on (release) {
_root.char.gotoAndStop("deer");
}
Symbol 632 Button
on (release) {
_root.char.gotoAndStop("fox");
}
Symbol 634 Button
on (release) {
_root.char.gotoAndStop("skunk");
}
Symbol 636 Button
on (release) {
_root.char.gotoAndStop("rocky");
}
Symbol 655 MovieClip Frame 24
stop();
stop();
Symbol 708 MovieClip Frame 127
stop();
Symbol 761 MovieClip Frame 152
stop();
Symbol 800 MovieClip Frame 152
stop();
Symbol 802 MovieClip Frame 15
stop();
Symbol 804 MovieClip Frame 15
stop();
Symbol 843 MovieClip Frame 122
stop();
Symbol 882 MovieClip Frame 92
stop();
Symbol 897 MovieClip Frame 301
stop();
Symbol 924 MovieClip Frame 102
stop();
Symbol 925 MovieClip Frame 1
stop();
Symbol 925 MovieClip Frame 2
stop();
Symbol 925 MovieClip Frame 3
stop();
Symbol 925 MovieClip Frame 4
stop();
Symbol 925 MovieClip Frame 5
stop();
Symbol 925 MovieClip Frame 6
stop();
Symbol 925 MovieClip Frame 7
stop();
Symbol 925 MovieClip Frame 8
stop();
Symbol 925 MovieClip Frame 9
stop();
Symbol 925 MovieClip Frame 10
stop();
Symbol 925 MovieClip Frame 11
stop();
Symbol 925 MovieClip Frame 12
stop();
Symbol 925 MovieClip Frame 13
stop();
Symbol 948 MovieClip Frame 60
stop();
Symbol 954 MovieClip Frame 60
stop();
Symbol 1001 MovieClip Frame 136
stop();
_root.corndrain.play();
_root.corndrain._visible = true;
_root.corn.stop();
_root.corn._visible = false;
Symbol 1026 MovieClip Frame 152
stop();
_root.reset._visible = true;
Symbol 1031 Button
on (release) {
_root.char.gotoAndStop("pig");
}
Symbol 1033 Button
on (release) {
_root.char.gotoAndStop("horse");
}
Symbol 1035 Button
on (release) {
_root.char.gotoAndStop("donk");
}
Symbol 1037 Button
on (release) {
_root.char.gotoAndStop("cow");
}
Symbol 1039 Button
on (release) {
_root.char.gotoAndStop("sheep");
}
Symbol 1041 Button
on (release) {
_root.char.gotoAndStop("chick2");
}
Symbol 1082 MovieClip Frame 111
stop();
Symbol 1111 MovieClip Frame 117
stop();
Symbol 1154 MovieClip Frame 101
stop();
Symbol 1155 MovieClip Frame 1
stop();
Symbol 1155 MovieClip Frame 2
stop();
Symbol 1155 MovieClip Frame 3
stop();
Symbol 1155 MovieClip Frame 4
stop();
Symbol 1155 MovieClip Frame 5
stop();
Symbol 1155 MovieClip Frame 6
stop();
Symbol 1155 MovieClip Frame 15
stop();
Symbol 1210 MovieClip Frame 1
stop();
Symbol 1210 MovieClip Frame 2
stop();
Symbol 1213 Button
on (release) {
_root.char.gotoAndStop("monkey");
}
Symbol 1215 Button
on (release) {
_root.char.gotoAndStop("croc");
}
Symbol 1217 Button
on (release) {
_root.char.gotoAndStop("tiger");
}
Symbol 1220 Button
on (release) {
_root.gotoAndStop(24);
}
Symbol 1232 MovieClip Frame 370
stop();
_root.tex = "Your Osaka evolved into Eevesaka!";
_root.x = 10;
Symbol 1238 MovieClip Frame 31
stop();
Symbol 1238 MovieClip Frame 35
stop();
Symbol 1241 Button
on (release) {
if (x == 0) {
tex = "Wild Osaka appeared!";
}
if (x == 1) {
tex = "Wild Osaka is dazed and confused!";
}
if (x == 2) {
tex = "What will you do?";
}
if (x == 3) {
tex = "Attack Duders \n>Bag< Escape";
}
if (x == 4) {
tex = "Potion >Ball< \nStick Cancel";
}
if (x == 5) {
tex = "You threw a ball at Osaka!";
x = 100;
_root.ball._visible = true;
_root.ball.play();
}
if (x == 6) {
tex = "Give a nickname to Osaka?";
}
if (x == 7) {
tex = "Yes\n>No<";
}
if (x == 8) {
tex = "Osaka's information added to encyclopedia!";
}
if (x == 9) {
tex = "What? Osaka is evolving!";
x = 100;
evolve._visible = true;
evolve.play();
poke._visible = false;
ball._visible = false;
if (i2 < 4) {
i2 = 1;
}
}
if (x == 10) {
_root.gotoAndStop(24);
_root.j = 1;
}
x++;
}
Symbol 1247 MovieClip Frame 41
_root.poke.gotoAndStop(35);
Symbol 1247 MovieClip Frame 144
stop();
_root.x = 6;
_root.tex = "Gotcha! Osaka was caught!";
Symbol 1251 Button
on (release) {
_root.gotoAndStop(30);
}
Symbol 1253 Button
on (release) {
_root.gotoAndStop(31);
}
Symbol 1255 Button
on (release) {
_root.gotoAndStop(29);
}
Symbol 1257 Button
on (release) {
_root.gotoAndStop(28);
}
Symbol 1259 Button
on (release) {
_root.gotoAndStop(25);
}
Symbol 1261 Button
on (release) {
_root.gotoAndStop(27);
}
Symbol 1263 Button
on (release) {
_root.gotoAndStop(26);
}
Symbol 1272 MovieClip Frame 1
stop();
Symbol 1272 MovieClip Frame 2
stop();
Symbol 1272 MovieClip Frame 3
stop();
Symbol 1272 MovieClip Frame 4
stop();
Symbol 1272 MovieClip Frame 5
stop();
Symbol 1272 MovieClip Frame 6
stop();
Symbol 1272 MovieClip Frame 7
stop();
Symbol 1272 MovieClip Frame 8
stop();
Symbol 1283 MovieClip Frame 30
stop();
Symbol 1286 MovieClip Frame 50
stop();
Symbol 1357 MovieClip Frame 320
stop();
_root.ground._visible = false;
Symbol 1399 MovieClip Frame 203
stop();
Symbol 1491 MovieClip Frame 163
stop();
Symbol 1507 MovieClip Frame 163
stop();
Symbol 1508 MovieClip Frame 1
stop();
Symbol 1508 MovieClip Frame 2
stop();
Symbol 1508 MovieClip Frame 3
stop();
Symbol 1508 MovieClip Frame 4
stop();
Symbol 1508 MovieClip Frame 5
stop();
Symbol 1508 MovieClip Frame 6
stop();
Symbol 1508 MovieClip Frame 7
stop();
Symbol 1508 MovieClip Frame 8
stop();
Symbol 1511 Button
on (release) {
_root.gotoAndStop(24);
}
Symbol 1541 MovieClip Frame 47
stop();
stop();
Symbol 1571 Button
on (release) {
_root.char.gotoAndStop("u");
}
Symbol 1573 Button
on (release) {
_root.char.gotoAndStop("e");
}
Symbol 1574 Button
on (release) {
_root.char.gotoAndStop("es");
}
Symbol 1575 Button
on (release) {
_root.char.gotoAndStop("g");
}
Symbol 1576 Button
on (release) {
_root.char.gotoAndStop("l");
}
Symbol 1577 Button
on (release) {
_root.char.gotoAndStop("v");
}
Symbol 1578 Button
on (release) {
_root.char.gotoAndStop("j");
}
Symbol 1579 Button
on (release) {
_root.char.gotoAndStop("f");
}
Symbol 1594 MovieClip Frame 1
stop();
Symbol 1594 MovieClip Frame 2
stop();
Symbol 1594 MovieClip Frame 3
stop();
Symbol 1594 MovieClip Frame 4
stop();
Symbol 1594 MovieClip Frame 5
stop();
Symbol 1594 MovieClip Frame 6
stop();
Symbol 1594 MovieClip Frame 7
stop();
Symbol 1594 MovieClip Frame 8
stop();
Symbol 1594 MovieClip Frame 9
stop();
Symbol 1594 MovieClip Frame 10
stop();
Symbol 1594 MovieClip Frame 11
stop();
Symbol 1594 MovieClip Frame 12
stop();
Symbol 1595 Button
on (release) {
_root.char.gotoAndStop("va");
}
Symbol 1596 Button
on (release) {
_root.char.gotoAndStop("fa");
}
Symbol 1597 Button
on (release) {
_root.char.gotoAndStop("ja");
}
Symbol 1603 Button
on (release) {
_root.zomg = "So what is this?\n\nThis is a flash game about Transformation. The main character here is Osaka from Azumanga Daioh. Why? Because she was the only sprite I could find that I could actually use. She's in winter clothes because the sprite comes from a snowball game from Japan. Don't ask.\nAnyway, the game is a fairly simple platformer with pitfalls. Instead of dying when you engage a pitfall, Osaka transforms into something related to the pitfall. It's fun!...kinda.\nOh, by the way, there's a hidden button on the title screen that lets you skip to any stage.";
}
Symbol 1606 Button
on (release) {
_root.zomg = "Why do the early stages suck?\n\nI made them first. I learned a lot more about animation and stage design along the way and implemented a few ideas retroactively, but to be completely honest, I just didn't care. I wanted to finish so I could be done with this project and move onto the next. Game development is hard. Trust me.";
}
Symbol 1609 Button
on (release) {
_root.zomg = "Who are you?\n\nWho? Who is but the form following the function of what and what I am is a game developer.\nSorry. Couldn't help myself. I like to remain anonymous on the Internet, so let's just say that it doesn't matter who I am. But if you must know, I am \"monomonkey\" on Process Productions, which is a dumbass alias I made up to look like the polar opposite of any of my other Internet aliases so as to hide the fact that I like watching people turn into animals. Derp.\nI am not a furry.";
}
Symbol 1612 Button
on (release) {
_root.zomg = "wtf furry gtfo\n\nSorry if you don't like it. I tried to stay away from the furry shit as much as possible, because I am not a furry, nor do I particularly like the presence of furries. If you like TF material but you don't like furries, then don't think of it as furry.";
}
Symbol 1615 Button
on (release) {
_root.zomg = "How do I get (insert TF)?\n1: 3 milk bottles = cat, staying in thorns too long = plant, 5 tennis balls = dog, 5 failures on mousetraps = mouse\n2: touching the plants = bunny (there's a hidden path if this is too hard), having a branch fall on your head = deer/fox (the result is random. the branches fall when you touch bushes that have marks on them), getting sprayed = skunk (sorry for how hard it is to avoid your first time. that was intentional), and landing in the trash = raccoon\n3: staying in the mud too long = pig, landing in the hay = horse, 3 cans = donkey (yeah i know it was supposed to be a goat thing. also i know it sucks getting them, sorry), falling behind a gate = horse/donkey (no tf), standing in the grass too long = sheep/cow (result is random), falling down the granary/touching 3 eggs = chicken\n4: 5 yellow bananas = monkey, touching the water = crocodile, cub touches you = tiger\n5: hitting the wrong switch 2 times = lightningsaka, touching bad stuff = firesaka, getting hit by fish a lot = watersaka";
}
Symbol 1618 Button
on (release) {
_root.zomg = "Why does the animation glitch?\n\nIt's not my fault! If you tore apart my FLA document and looked at it, you would see that it looks absolutely perfect before it is compiled. Then Flash takes a dump all over it and ruins the animations. Again, not my fault! I found out months later how to fix this, but it is a fix that takes place in the sprite design stage of development, not in the animation stage of development, so it's completely unfixable at this point.\nFor added hilarity, zoom in when you see it happen. Suddenly, it won't happen anymore!";
}
Symbol 1621 Button
on (release) {
_root.zomg = "Complaints I've heard:\n\nWhy isn't ice/grass/dark/light done? Sorry, I got lazy ;_;\nWhy is the eeveesaka hit box so hueg? Sorry, nothing I can do about that ;_;\n(Insert complaint here)? Sorry, I'm dumb/lazy/stupid/fail ;_;\nWow, I even got lazy writing about this.";
}