Instance of Symbol 20 MovieClip in Frame 1
onClipEvent (load) {
this._xscale = 0;
}
onClipEvent (enterFrame) {
this._xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 1;
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (enterFrame) {
percentage = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
percentage = Math.floor(percentage);
percentage = percentage + " %";
}
Frame 2
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
gotoAndPlay (1);
}
Frame 3
gotoAndPlay (4);
Frame 4
theme1 = new Sound();
theme1.attachSound("theme1");
if (!$theme_started) {
$theme_started = true;
theme1.start();
}
Frame 318
gotoAndPlay (4);
Instance of Symbol 88 MovieClip in Frame 319
onClipEvent (load) {
$num = 0;
$interval = 3;
}
onClipEvent (enterFrame) {
if ($num == $interval) {
this._x = this._x - (_root.$scroll_speed / 3);
if ((-(this._width / 2)) >= this._x) {
this._x = 480 + (this._width / 2);
}
$num = 0;
}
$num++;
}
Instance of Symbol 89 MovieClip in Frame 319
onClipEvent (load) {
$num = 0;
$interval = 3;
}
onClipEvent (enterFrame) {
if ($num == $interval) {
this._x = this._x - (_root.$scroll_speed / 3);
if ((-(this._width / 2)) >= this._x) {
this._x = 480 + (this._width / 2);
}
$num = 0;
}
$num++;
}
Instance of Symbol 184 MovieClip "terrain2" in Frame 319
onClipEvent (load) {
$x_start = this._x;
}
onClipEvent (enterFrame) {
if ((_root.hero._x >= 180) && (!_root.$end_of_level)) {
this._x = this._x - _root.hero.$right_speed;
}
if (0 >= (this._x + 240)) {
this._x = 720;
tellTarget (this) {
gotoAndStop(_root.$frame);
};
tellTarget (_root.terrain2.ledges2) {
gotoAndStop(_root.$frame);
};
_root.$frame++;
}
}
Instance of Symbol 119 MovieClip "monster1" in Frame 319
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
_root.ow.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
_root.score = _root.score + 5;
tellTarget (this) {
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 215 MovieClip "terrain" in Frame 319
onClipEvent (load) {
$x_start = this._x;
}
onClipEvent (enterFrame) {
if ((_root.hero._x >= 180) && (!_root.$end_of_level)) {
this._x = this._x - _root.hero.$right_speed;
}
if (0 >= (this._x + 240)) {
this._x = 720;
tellTarget (this) {
gotoAndStop(_root.$frame);
};
tellTarget (_root.terrain.ledges) {
gotoAndStop(_root.$frame);
};
}
}
Instance of Symbol 191 MovieClip in Frame 319
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
}
}
Instance of Symbol 199 MovieClip in Frame 319
onClipEvent (load) {
$velocity = 13;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if ($x_on_main_stage >= 0) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
$running = true;
this._y = this._y - $velocity;
$velocity = $velocity - 0.3;
if ($y_on_main_stage >= 520) {
$velocity = 15.5;
tellTarget (this) {
gotoAndPlay ("Bite");
};
}
}
}
Instance of Symbol 176 MovieClip in Frame 319
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Instance of Symbol 144 MovieClip in Frame 319
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 180 MovieClip in Frame 319
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 100) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -35) && (35 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 123 MovieClip in Frame 319
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 218 MovieClip "monster2" in Frame 319
onClipEvent (load) {
$life = 5;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if (((_root.hero._x + 25) >= ($x_on_main_stage - 20)) && (($x_on_main_stage + 20) >= (_root.hero._x - 25))) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
_root.ow.start();
}
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (_root.acorn.hitTest(this.sensor) && ($on_screen)) {
removeMovieClip(_root.acorn);
_root.hero.$can_fire = true;
$life--;
_root.hit_termite.start();
_root.score++;
tellTarget (this) {
gotoAndPlay ("shot");
};
}
}
if ((0 >= $life) && (!$dead)) {
$dead = true;
tellTarget (this) {
gotoAndPlay ("die");
};
_root.termite_explode.start();
_root.score = _root.score + 10;
}
}
Instance of Symbol 242 MovieClip "hero" in Frame 319
onClipEvent (load) {
function stopFall() {
$fall = false;
$falling = false;
$gravity = 0;
$jump = false;
$check_right_side = false;
$check_left_side = false;
$falling = false;
$on_ground = true;
if (!Key.isDown(Key.SPACE)) {
$can_press = true;
}
}
$can_press = true;
num = 1000;
$can_fire = true;
$velocity_start = 10;
$velocity = $velocity_start;
$facing = "right";
}
onClipEvent (enterFrame) {
if (($can_fire && (!$fallen_down_pit)) && (!_root.$acorn_hit_by_monster)) {
if (Key.isDown(90)) {
$can_fire = false;
_root.swish.start();
num++;
_root.bullet.duplicateMovieClip("acorn", num);
_root.acorn._x = this._x;
_root.acorn._y = this._y;
_root.acorn.$facing = $facing;
}
}
if (this._y >= 330) {
$right_speed = 0;
tellTarget (this) {
gotoAndPlay ("Die 2");
};
if (!$started_die1) {
$started_die1 = true;
_root.die1.start();
}
$fallen_down_pit = true;
}
if (((!$ducking) && (!_root.$acorn_hit_by_monster)) && (!$fallen_down_pit)) {
if ((!$jump) && (!$on_floating)) {
$fall = true;
}
if (Key.isDown(Key.RIGHT)) {
$facing = "right";
$move_right = true;
if (4 >= $right_speed) {
$right_speed = $right_speed + 0.5;
}
}
if (!Key.isDown(Key.RIGHT)) {
if ($on_ground) {
$right_speed = $right_speed - 0.5;
}
$right_speed = $right_speed - 0.05;
if (0 >= $right_speed) {
$right_speed = 0;
}
}
if (this.hitTest(_root.terrain)) {
if ((_root.terrain.ledges.hitTest(this._x + 18, (this._y + (this._height / 2)) - 8, true) || (_root.terrain.ledges.hitTest(this._x + 18, this._y, true))) || (_root.terrain.ledges.hitTest(this._x + 18, this._y - (this._height / 2), true))) {
$move_right = false;
$right_speed = 0;
if (($facing == "right") && ($on_ground)) {
while (_root.terrain.ledges.hitTest(this._x + 17, (this._y + (this._height / 2)) - 8, true)) {
this._x--;
}
}
}
}
if (this.hitTest(_root.terrain2)) {
if ((_root.terrain2.ledges2.hitTest(this._x + 18, (this._y + (this._height / 2)) - 8, true) || (_root.terrain2.ledges2.hitTest(this._x + 18, this._y, true))) || (_root.terrain2.ledges2.hitTest(this._x + 18, this._y - (this._height / 2), true))) {
$move_right = false;
$right_speed = 0;
if (($facing == "right") && ($on_ground)) {
while (_root.terrain2.ledges2.hitTest(this._x + 17, (this._y + (this._height / 2)) - 8, true)) {
this._x--;
}
}
}
}
if (Key.isDown(Key.LEFT) && ($left_speed >= -4)) {
$facing = "left";
$left_speed = $left_speed - 0.2;
}
if (!Key.isDown(Key.LEFT)) {
if ($on_ground) {
$left_speed = $left_speed + 0.5;
}
$left_speed = $left_speed + 0.05;
if ($left_speed >= 0) {
$left_speed = 0;
}
}
if (Key.isDown(Key.LEFT) && ($left_speed >= -4)) {
$facing = "left";
$left_speed = $left_speed - 0.2;
}
if (!Key.isDown(Key.LEFT)) {
if ($on_ground) {
$left_speed = $left_speed + 0.5;
}
$left_speed = $left_speed + 0.05;
if ($left_speed >= 0) {
$left_speed = 0;
}
}
if (this.hitTest(_root.terrain)) {
if ((_root.terrain.ledges.hitTest(this._x - 18, (this._y + (this._height / 2)) - 8, true) || (_root.terrain.ledges.hitTest(this._x - 18, this._y, true))) || (_root.terrain.ledges.hitTest(this._x - 18, this._y - (this._height / 2), true))) {
$move_left = false;
$left_speed = 0;
if (($facing == "left") && ($on_ground)) {
while (_root.terrain.ledges.hitTest(this._x - 17, (this._y + (this._height / 2)) - 8, true)) {
this._x++;
}
}
}
}
if (this.hitTest(_root.terrain2)) {
if ((_root.terrain2.ledges2.hitTest(this._x - 18, (this._y + (this._height / 2)) - 8, true) || (_root.terrain2.ledges2.hitTest(this._x - 18, this._y, true))) || (_root.terrain2.ledges2.hitTest(this._x - 18, this._y - (this._height / 2), true))) {
$move_left = false;
$left_speed = 0;
if (($facing == "left") && ($on_ground)) {
while (_root.terrain2.ledges2.hitTest(this._x - 17, (this._y + (this._height / 2)) - 8, true)) {
this._x++;
}
}
}
}
if (((Key.isDown(Key.SPACE) && (!$jump)) && (!$falling)) && ($can_press)) {
$can_press = false;
_root.jump.Start();
$fall = false;
$jump = true;
$on_ground = false;
}
if ($jump) {
if (Key.isDown(Key.SPACE)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.4;
}
if (!Key.isDown(Key.SPACE)) {
this._y = this._y - $velocity;
$velocity = $velocity - 1;
}
if (0 >= $velocity) {
$gravity = 0;
$fall = true;
$jump = false;
$velocity = $velocity_start;
}
}
if ((this._x >= 180) && (!_root.$end_of_level)) {
$move_right = false;
}
if (this.hitTest(_root.terrain)) {
if (_root.terrain.ledges.hitTest(this._x - 10, this._y + 30, true)) {
stopFall();
while (_root.terrain.ledges.hitTest(this._x - 10, this._y + 29, true)) {
this._y--;
}
}
if (_root.terrain.ledges.hitTest(this._x + 10, this._y + 30, true)) {
stopFall();
while (_root.terrain.ledges.hitTest(this._x + 10, this._y + 29, true)) {
this._y--;
}
}
}
if (this.hitTest(_root.terrain2)) {
if (_root.terrain2.ledges2.hitTest(this._x - 10, this._y + 30, true)) {
stopFall();
while (_root.terrain2.ledges2.hitTest(this._x - 10, this._y + 29, true)) {
this._y--;
}
}
if (_root.terrain2.ledges2.hitTest(this._x + 10, this._y + 30, true)) {
stopFall();
while (_root.terrain2.ledges2.hitTest(this._x + 10, this._y + 29, true)) {
this._y--;
}
}
}
if ($fall == true) {
this._y = this._y + $gravity;
$gravity = $gravity + 0.7;
$falling = true;
$make_noise = true;
if ($gravity >= 11) {
$gravity = 11;
}
}
if (($facing == "right") && ($move_right)) {
this._x = this._x + $right_speed;
}
if (($facing == "left") && (this._x >= 30)) {
this._x = this._x + $left_speed;
}
if (((!$jump) && ($falling)) && ($facing == "right")) {
tellTarget (this) {
gotoAndPlay ("fall right");
};
}
if (((((!Key.isDown(Key.DOWN)) && (!$jump)) && (!$falling)) && ($facing == "right")) && (!Key.isDown(Key.RIGHT))) {
tellTarget (this) {
gotoAndPlay ("standing_right");
};
}
if ((((!$jump) && (!$falling)) && ($facing == "right")) && (Key.isDown(Key.RIGHT))) {
tellTarget (this) {
gotoAndPlay ("walk_right");
};
}
if ($jump && ($facing == "right")) {
tellTarget (this) {
gotoAndPlay ("jump right");
};
}
if ($jump && ($facing == "left")) {
tellTarget (this) {
gotoAndPlay ("jump left");
};
}
if ((((!$jump) && (!$falling)) && ($facing == "left")) && (Key.isDown(Key.LEFT))) {
tellTarget (this) {
gotoAndPlay ("walk_left");
};
}
if (((((!Key.isDown(Key.DOWN)) && (!$jump)) && (!$falling)) && ($facing == "left")) && (!Key.isDown(Key.LEFT))) {
tellTarget (this) {
gotoAndStop ("standing_left");
};
}
if (($jump && ($facing == "left")) && (Key.isDown(Key.LEFT))) {
tellTarget (this) {
gotoAndPlay ("jump left");
};
}
if ($falling && ($facing == "left")) {
tellTarget (this) {
gotoAndPlay ("fall left");
};
}
if ((((Key.isDown(Key.DOWN) && (!$jump)) && (!$falling)) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.RIGHT))) {
if ($facing == "left") {
tellTarget (this) {
gotoAndPlay ("Duck Left");
};
}
if ($facing == "right") {
tellTarget (this) {
gotoAndPlay ("Duck Right");
};
}
}
$on_floating = false;
}
}
Instance of Symbol 244 MovieClip "bullet" in Frame 319
onClipEvent (load) {
$can_kill = true;
$bullet_y_speed = 10;
$bullet_y_speed2 = 7;
$bullet_x_speed = 5;
$direction = _root.hero.$facing;
if ($direction == "right") {
this._rotation = -90;
}
if ($direction == "left") {
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
if ((_root.terrain.ledges.hitTest(this._x + 15, this._y - 10, true) && (0 >= $bullet_y_speed)) && ($facing == "right")) {
$bullet_x_speed = $bullet_x_speed * -1;
$facing = "left";
}
if ((_root.terrain2.ledges2.hitTest(this._x + 15, this._y - 10, true) && (0 >= $bullet_y_speed)) && ($facing == "right")) {
$bullet_x_speed = $bullet_x_speed * -1;
$facing = "left";
}
if ((_root.terrain.ledges.hitTest(this._x - 15, this._y - 10, true) && (0 >= $bullet_y_speed)) && ($facing == "left")) {
$bullet_x_speed = $bullet_x_speed * -1;
$facing = "right";
}
if ((_root.terrain2.ledges2.hitTest(this._x - 15, this._y - 10, true) && (0 >= $bullet_y_speed)) && ($facing == "left")) {
$bullet_x_speed = $bullet_x_speed * -1;
$facing = "right";
}
if (!$be_still) {
if ((!_root.hero.$jump) && (!_root.hero.$falling)) {
if (_root.hero.$scrolling) {
this._x = this._x - _root.hero.$scroll_speed;
}
}
if (_root.hero.$move_right && (_root.hero.$jump)) {
this._x = this._x + 2;
}
if ($direction == "left") {
this._rotation = this._rotation - 5;
}
if ($direction == "right") {
this._rotation = this._rotation + 5;
}
this._y = this._y - $bullet_y_speed;
if ($facing == "left") {
this._x = this._x - $bullet_x_speed;
}
if ($facing == "right") {
this._x = this._x + $bullet_x_speed;
}
if ($bullet_y_speed >= -15) {
$bullet_y_speed = $bullet_y_speed - 1.5;
}
if (((480 < this._x) || (this._x < 0)) || (340 < this._y)) {
removeMovieClip(this);
_root.hero.$can_fire = true;
}
if (_root.terrain.ledges.hitTest(this._x, this._y, true) && (0 >= $bullet_y_speed)) {
$can_kill = false;
if ($bounce < 2) {
_root.acorn_dull.start();
}
$bullet_x_speed = 2;
$bullet_y_speed = $bullet_y_speed2;
$bullet_y_speed2--;
$bounce++;
if ($bounce == 3) {
removeMovieClip(this);
_root.hero.$can_fire = true;
$bullet_y_speed2 = 6;
}
}
if (_root.terrain2.ledges2.hitTest(this._x, this._y, true) && (0 >= $bullet_y_speed)) {
$can_kill = false;
if ($bounce < 2) {
_root.acorn_dull.start();
}
$bullet_x_speed = 2;
$bullet_y_speed = $bullet_y_speed2;
$bullet_y_speed2--;
$bounce++;
if ($bounce == 3) {
removeMovieClip(this);
_root.hero.$can_fire = true;
$bullet_y_speed2 = 6;
}
}
}
}
Instance of Symbol 252 MovieClip "border" in Frame 319
onClipEvent (load) {
this.swapDepths(99999);
}
onClipEvent (enterFrame) {
mushroom_counter = _root.mushroom_counter;
lives = _root.lives;
level = (_root.world + " : ") + _root.level;
score = _root.score;
}
Frame 319
function reset() {
$i = 0;
while ($i < 20) {
_root.terrain["monster" + $i]._x = _root.terrain["monster" + $i].$start_x;
_root.terrain2["monster" + $i]._x = _root.terrain2["monster" + $i].$start_x;
_root.terrain["monster" + $i]._y = _root.terrain["monster" + $i].$start_y;
_root.terrain2["monster" + $i]._y = _root.terrain2["monster" + $i].$start_y;
_root.terrain["monster" + $i].$gone = false;
_root.terrain["monster" + $i].$velocity = 10;
_root.terrain["monster" + $i].$count = 0;
_root.terrain2["monster" + $i].$gone = false;
_root.terrain2["monster" + $i].$velocity = 10;
_root.terrain2["monster" + $i].$count = 0;
$i++;
}
if (_root.lives == 0) {
_root.gotoAndStop(320);
}
if (value == half) {
tellTarget (_root.terrain) {
gotoAndStop(_root.up_to +0);
};
_root.terrain._x = _root.terrain.$x_start;
tellTarget (_root.terrain.ledges) {
gotoAndStop(_root.up_to +0);
};
tellTarget (_root.terrain2) {
gotoAndStop(_root.up_to +0);
};
tellTarget (_root.terrain2.ledges2) {
gotoAndStop(_root.up_to +0);
};
_root.terrain2._x = _root.terrain2.$x_start;
_root.$frame = _root.up_to + 1;
}
tellTarget (_root.hero) {
gotoAndPlay ("standing_right");
};
_root.hero.$scrolling = false;
_root.hero._x = 60;
_root.hero._y = 230;
_root.$acorn_hit_by_monster = false;
_root.hero.$fallen_down_pit = false;
_root.hero.$started_die1 = false;
_root.hero.$falling = false;
_root.hero.$jump = false;
_root.hero.$fall = false;
_root.hero.$gravity = 0;
_root.$frame = _root.up_to + 1;
}
_root.up_to = 1;
$terrain_to_edit = "terrain2";
_root.$frame = 2;
mushroom_counter = 0;
lives = 3;
level = 1;
world = 1;
score = 0;
jump = new Sound();
jump.attachSound("jump");
halfway = new Sound();
halfway.attachSound("halfway");
die1 = new Sound();
die1.attachSound("die1");
termite_explode = new Sound();
termite_explode.attachSound("termite_explode");
hit_termite = new Sound();
hit_termite.attachSound("hit_termite");
fart = new Sound();
fart.attachSound("fart");
creature_bite = new Sound();
creature_bite.attachSound("creature_bite");
land = new Sound();
land.attachSound("land");
string = new Sound();
string.attachSound("string");
chomp = new Sound();
chomp.attachSound("chomp");
bullet_hit = new Sound();
bullet_hit.attachSound("bullet_hit");
swish = new Sound();
swish.attachSound("swish");
evil_hiss = new Sound();
evil_hiss.attachSound("evil_hiss");
acorn_dull = new Sound();
acorn_dull.attachSound("acorn_dull");
mushroom_hit = new Sound();
mushroom_hit.attachSound("mushroom_hit");
mushroom_burst = new Sound();
mushroom_burst.attachSound("mushroom_burst");
ow = new Sound();
ow.attachSound("ow");
$jump_height = 50;
$x_pos = 480;
scroll_depth_counter = 10;
$draw_next_strip = 1;
$character_speed = 3;
$monster1_speed = 2;
_root.bullet.$be_still = true;
stop();
Frame 320
_root.border._visible = false;
gotoAndPlay (321);
Frame 321
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 20
stop();
Symbol 39 MovieClip Frame 60
gotoAndPlay (1);
Symbol 44 MovieClip Frame 60
gotoAndPlay (1);
Symbol 53 Button
on (press) {
gotoAndStop (319);
_root.theme1.stop();
}
Symbol 71 MovieClip Frame 5
stop();
Symbol 84 MovieClip Frame 20
gotoAndStop (1);
Symbol 96 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
if (((!$dead) && (!$hit_acorn)) && ($can_move)) {
this._x = this._x - 5;
}
Symbol 119 MovieClip Frame 17
if (!$dead) {
gotoAndPlay (1);
}
Symbol 119 MovieClip Frame 39
stop();
Symbol 119 MovieClip Frame 100
$hit_acorn = false;
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 9
stop();
Symbol 144 MovieClip Frame 14
stop();
Symbol 144 MovieClip Frame 19
stop();
Symbol 144 MovieClip Frame 24
stop();
Instance of Symbol 136 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = 3;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 137 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = 2;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 138 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = 5.5;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 139 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = -4.5;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 140 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = -3;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 141 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = -2;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 142 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = -5.5;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 143 MovieClip in Symbol 144 MovieClip Frame 25
onClipEvent (load) {
$y_speed = 8;
$x_speed = 4.5;
}
onClipEvent (enterFrame) {
if (!$stopped) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
this._y = this._y - $y_speed;
if (20 >= $moved) {
this._x = this._x + $x_speed;
$moved++;
}
if ($y_speed >= -8) {
$y_speed = $y_speed - 1;
}
if ($y_on_main_stage >= 235) {
$y_speed = 0;
$x_speed = 0;
$stopped = true;
}
}
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Symbol 144 MovieClip Frame 60
stop();
Symbol 163 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip "termite" in Symbol 163 MovieClip Frame 1
onClipEvent (load) {
$move = 70;
}
onClipEvent (enterFrame) {
if (!_parent.$dead) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if ($on_screen) {
if (!$already_been_launched) {
_root.fart.start();
$already_been_launched = true;
}
this._x = this._x - 5;
$have_moved++;
if ($have_moved >= $move) {
_root.fart.start();
this._x = this._x + ($move * 5);
$have_moved = 0;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
_root.ow.start();
_root.lives--;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
}
}
}
Symbol 163 MovieClip Frame 4
gotoAndPlay (1);
Symbol 163 MovieClip Frame 14
stop();
Symbol 184 MovieClip Frame 1
stop();
Instance of Symbol 119 MovieClip "monster1" in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
_root.ow.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
_root.score = _root.score + 5;
tellTarget (this) {
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 123 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 123 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 123 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 124 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
}
}
Instance of Symbol 125 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 125 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 125 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 144 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 144 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 146 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 100) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -30) && (30 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 124 MovieClip in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 125 MovieClip in Symbol 184 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 163 MovieClip in Symbol 184 MovieClip Frame 5
onClipEvent (load) {
$life = 5;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if (((_root.hero._x + 25) >= ($x_on_main_stage - 20)) && (($x_on_main_stage + 20) >= (_root.hero._x - 25))) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
}
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (_root.acorn.hitTest(this.sensor) && ($on_screen)) {
removeMovieClip(_root.acorn);
_root.hero.$can_fire = true;
$life--;
_root.hit_termite.start();
_root.score++;
tellTarget (this) {
gotoAndPlay ("shot");
};
}
}
if ((0 >= $life) && (!$dead)) {
$dead = true;
tellTarget (this) {
gotoAndPlay ("die");
};
_root.termite_explode.start();
_root.score = _root.score + 10;
}
}
Instance of Symbol 163 MovieClip in Symbol 184 MovieClip Frame 5
onClipEvent (load) {
$life = 5;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if (((_root.hero._x + 25) >= ($x_on_main_stage - 20)) && (($x_on_main_stage + 20) >= (_root.hero._x - 25))) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
}
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (_root.acorn.hitTest(this.sensor) && ($on_screen)) {
removeMovieClip(_root.acorn);
_root.hero.$can_fire = true;
$life--;
_root.hit_termite.start();
_root.score++;
tellTarget (this) {
gotoAndPlay ("shot");
};
}
}
if ((0 >= $life) && (!$dead)) {
$dead = true;
tellTarget (this) {
gotoAndPlay ("die");
};
_root.termite_explode.start();
_root.score = _root.score + 10;
}
}
Instance of Symbol 125 MovieClip in Symbol 184 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 144 MovieClip in Symbol 184 MovieClip Frame 5
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 176 MovieClip in Symbol 184 MovieClip Frame 6
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 184 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 178 MovieClip in Symbol 184 MovieClip Frame 7
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 80) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -35) && (35 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 179 MovieClip in Symbol 184 MovieClip Frame 7
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 110) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -35) && (35 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 180 MovieClip in Symbol 184 MovieClip Frame 7
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 100) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -35) && (35 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 182 MovieClip in Symbol 184 MovieClip Frame 8
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
trace($x_on_main_stage);
if (460 >= $x_on_main_stage) {
_root.$end_of_level = true;
}
}
Instance of Symbol 123 MovieClip in Symbol 184 MovieClip Frame 8
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 123 MovieClip in Symbol 184 MovieClip Frame 8
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Symbol 190 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip "termite" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
$move = 70;
}
onClipEvent (enterFrame) {
if (!_parent.$dead) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if ($on_screen) {
if (!$already_been_launched) {
_root.fart.start();
$already_been_launched = true;
}
this._x = this._x - 5;
$have_moved++;
if ($have_moved >= $move) {
_root.fart.start();
this._x = this._x + ($move * 5);
$have_moved = 0;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
_root.ow.start();
_root.lives--;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
}
}
}
Symbol 194 MovieClip Frame 4
gotoAndPlay (1);
Symbol 194 MovieClip Frame 14
stop();
Symbol 199 MovieClip Frame 35
if ($running) {
_root.creature_bite.start();
}
Symbol 199 MovieClip Frame 65
stop();
Symbol 200 MovieClip Frame 35
if ($running) {
_root.creature_bite.start();
}
Symbol 200 MovieClip Frame 65
stop();
Symbol 201 MovieClip Frame 1
if (((!$dead) && (!$hit_acorn)) && ($can_move)) {
this._x = this._x - 5;
}
Symbol 201 MovieClip Frame 17
if (!$dead) {
gotoAndPlay (1);
}
Symbol 201 MovieClip Frame 39
stop();
Symbol 201 MovieClip Frame 100
$hit_acorn = false;
Symbol 212 MovieClip Frame 40
gotoAndPlay (1);
Symbol 212 MovieClip Frame 228
this._visible = false;
_root.$balloon_hit = true;
stop();
Symbol 215 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 191 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
}
}
Instance of Symbol 193 MovieClip in Symbol 215 MovieClip Frame 2
onClipEvent (load) {
$been_munched = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 125 MovieClip in Symbol 215 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.mouth_sensor) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 176 MovieClip in Symbol 215 MovieClip Frame 2
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Instance of Symbol 194 MovieClip "monster2" in Symbol 215 MovieClip Frame 2
onClipEvent (load) {
$life = 5;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if (((_root.hero._x + 25) >= ($x_on_main_stage - 20)) && (($x_on_main_stage + 20) >= (_root.hero._x - 25))) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
_root.ow.start();
_root.lives--;
}
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (_root.acorn.hitTest(this.sensor) && ($on_screen)) {
removeMovieClip(_root.acorn);
_root.hero.$can_fire = true;
$life--;
_root.hit_termite.start();
_root.score++;
tellTarget (this) {
gotoAndPlay ("shot");
};
}
}
if ((0 >= $life) && (!$dead)) {
$dead = true;
tellTarget (this) {
gotoAndPlay ("die");
};
_root.termite_explode.start();
_root.score = _root.score + 10;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 123 MovieClip in Symbol 215 MovieClip Frame 3
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 180 MovieClip in Symbol 215 MovieClip Frame 3
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 100) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -35) && (35 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 199 MovieClip in Symbol 215 MovieClip Frame 4
onClipEvent (load) {
$velocity = 13;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if ($x_on_main_stage >= 0) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
$running = true;
this._y = this._y - $velocity;
$velocity = $velocity - 0.3;
if ($y_on_main_stage >= 520) {
$velocity = 15.5;
tellTarget (this) {
gotoAndPlay ("Bite");
};
}
}
}
Instance of Symbol 200 MovieClip in Symbol 215 MovieClip Frame 4
onClipEvent (load) {
$velocity = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if ($x_on_main_stage >= 0) {
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
$running = true;
this._y = this._y - $velocity;
$velocity = $velocity - 0.3;
if ($y_on_main_stage >= 520) {
$velocity = 15.5;
tellTarget (this) {
gotoAndPlay ("Bite");
};
}
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 201 MovieClip "monster4" in Symbol 215 MovieClip Frame 5
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
_root.ply();
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
tellTarget (this) {
_root.score = _root.score + 5;
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 201 MovieClip "monster7" in Symbol 215 MovieClip Frame 5
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
_root.ply();
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
tellTarget (this) {
_root.score = _root.score + 5;
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 201 MovieClip "monster5" in Symbol 215 MovieClip Frame 5
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
_root.ply();
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
tellTarget (this) {
_root.score = _root.score + 5;
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 201 MovieClip "monster6" in Symbol 215 MovieClip Frame 5
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
_root.ply();
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
tellTarget (this) {
_root.score = _root.score + 5;
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 201 MovieClip "monster3" in Symbol 215 MovieClip Frame 5
onClipEvent (load) {
$velocity = 10;
$start_x = this._x;
$start_y = this._y;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if (500 >= $x_on_main_stage) {
$can_move = true;
if ((!$dead) && (!$hit_acorn)) {
this._x--;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
_root.ply();
if (!$already_hit) {
$already_hit = true;
_root.$has_reset = false;
_root.lives--;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
tellTarget (this) {
gotoAndPlay ("Laugh");
};
_root.evil_hiss.start();
$already_hit = false;
}
}
if ((!$dead) && (_root.acorn.$can_kill)) {
if (this.hitTest(_root.acorn)) {
$dead = true;
removeMovieClip(_root.acorn);
$hit_acorn = true;
_root.hero.$can_fire = true;
_root.bullet_hit.start();
tellTarget (this) {
_root.score = _root.score + 5;
gotoAndPlay ("Die");
};
}
}
if ($dead) {
$count++;
if (($count >= 10) && (!$gone)) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.8;
if (this._y >= 360) {
$velocity = 0;
$gone = true;
tellTarget (this) {
gotoAndPlay ("Walk");
$dead = false;
$hit_acorn = false;
};
}
}
}
}
}
Instance of Symbol 144 MovieClip in Symbol 215 MovieClip Frame 6
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 144 MovieClip in Symbol 215 MovieClip Frame 6
onClipEvent (load) {
$been_hit = 0;
this.swapDepths("_root.hero");
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
$y_on_main_stage = pt.y;
if (!$burst) {
if (_root.hero.$jump && (this.hitTest(_root.hero._x, _root.hero._y - 25, true))) {
_root.mushroom_hit.start();
_root.hero.$fall = true;
_root.hero.$falling = true;
_root.hero.$gravity = 10;
_root.hero.$jump = false;
_root.hero.$jump_right = false;
_root.hero.$allowed_to_jump = false;
_root.hero.$velocity = _root.hero.$velocity_start;
$been_hit = $been_hit + 5;
tellTarget (this) {
gotoAndPlay($been_hit);
};
if ($been_hit == 25) {
_root.mushroom_burst.start();
$burst = true;
}
}
}
}
Instance of Symbol 146 MovieClip in Symbol 215 MovieClip Frame 6
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 100) {
$move_by = $move_by * -1;
$moved = 0;
}
if ((((($x >= -30) && (30 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
Instance of Symbol 123 MovieClip in Symbol 215 MovieClip Frame 6
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 123 MovieClip in Symbol 215 MovieClip Frame 6
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 212 MovieClip in Symbol 215 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.$balloon_hit) {
this._visible = false;
}
if (_root.hero.hitTest(this) && (!_root.$go_up)) {
_root.$go_up = true;
_root.string.start();
_root.halfway.start();
tellTarget (this) {
gotoAndPlay ("Hit");
};
_root.up_to = 6;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Instance of Symbol 214 MovieClip "test" in Symbol 215 MovieClip Frame 7
onClipEvent (load) {
$move_by = -1;
$moved = 0;
}
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
this._y = this._y + $move_by;
$moved++;
if ($moved == 100) {
$move_by = $move_by * -1;
$moved = 0;
}
if (!_root.hero.$fallen_down_pit) {
if ((((($x >= -30) && (30 >= $x)) && ($y >= -45)) && (-35 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 41;
}
}
}
Instance of Symbol 123 MovieClip in Symbol 215 MovieClip Frame 8
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 123 MovieClip in Symbol 215 MovieClip Frame 8
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 123 MovieClip in Symbol 215 MovieClip Frame 8
onClipEvent (enterFrame) {
pt = new Object();
pt.x = _root.hero._x;
pt.y = _root.hero._y;
this.globalToLocal(pt);
$x = pt.x;
$y = pt.y;
if ((((($x >= -50) && (50 >= $x)) && ($y >= -50)) && (-30 >= $y)) && (!_root.hero.$jump)) {
_root.hero.$on_floating = true;
_root.hero.stopFall();
_root.hero.$falling = false;
_root.hero.$on_ground = true;
pt2 = new Object();
pt2.x = 0;
pt2.y = 0;
this.localToGlobal(pt2);
$y_on_main_stage = pt2.y;
_root.hero._y = $y_on_main_stage - 37;
}
}
Instance of Symbol 121 MovieClip in Symbol 215 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (!$been_munched)) {
this._visible = false;
$been_munched = true;
tellTarget (_root.hero.body.body.face) {
gotoAndPlay ("eat mushroom");
};
_root.chomp.Start();
_root.mushroom_counter++;
_root.score = _root.score + 5;
}
}
Symbol 218 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip "termite" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
$move = 70;
}
onClipEvent (enterFrame) {
if (!_parent.$dead) {
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
$x_on_main_stage = pt.x;
if ((500 >= $x_on_main_stage) && ($x_on_main_stage >= 0)) {
$on_screen = true;
}
if ($on_screen) {
if (!$already_been_launched) {
_root.fart.start();
$already_been_launched = true;
}
this._x = this._x - 5;
$have_moved++;
if ($have_moved >= $move) {
_root.fart.start();
this._x = this._x + ($move * 5);
$have_moved = 0;
}
if (this.hitTest(_root.hero.hit_sensor) && (!$dead)) {
if (!$already_hit) {
$already_hit = true;
$hit_acorn = true;
_root.$acorn_hit_by_monster = true;
_root.ow.start();
_root.lives--;
tellTarget (_root.hero) {
gotoAndPlay ("Die");
};
}
}
}
}
}
Symbol 218 MovieClip Frame 4
gotoAndPlay (1);
Symbol 218 MovieClip Frame 14
stop();
Symbol 223 MovieClip Frame 20
gotoAndStop (1);
Symbol 224 MovieClip Frame 10
gotoAndStop (1);
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 11
stop();
Symbol 242 MovieClip Frame 30
gotoAndPlay (1);
Symbol 242 MovieClip Frame 40
gotoAndPlay (1);
Symbol 242 MovieClip Frame 65
stop();
Symbol 242 MovieClip Frame 90
gotoAndPlay (66);
Symbol 242 MovieClip Frame 94
gotoAndPlay (91);
Symbol 242 MovieClip Frame 98
gotoAndPlay (95);
Symbol 242 MovieClip Frame 105
stop();
Instance of Symbol 228 MovieClip in Symbol 242 MovieClip Frame 105
onClipEvent (load) {
$velocity = 15;
}
onClipEvent (enterFrame) {
this._y = this._y - $velocity;
$velocity = $velocity - 1;
this._rotation = this._rotation + 10;
_root.hero.$right_speed = 0;
_root.hero.$left_speed = 0;
if (this._y >= 600) {
_root.reset(_root.up_to);
}
}
Instance of Symbol 241 MovieClip in Symbol 242 MovieClip Frame 110
onClipEvent (load) {
$velocity = 15;
_root.lives--;
}
onClipEvent (enterFrame) {
this._y = this._y - $velocity;
$velocity = $velocity - 0.6;
_root.hero.$scrolling = false;
if (this._y >= 360) {
_root.reset();
}
}
Symbol 242 MovieClip Frame 125
stop();
Symbol 242 MovieClip Frame 135
stop();
Symbol 260 Button
on (release) {
var gname = "AcornsBigAdventureCm";
var gscore = _root.score;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
stopAllSounds();
_root._visible = false;
_root.enabled = false;
}
Symbol 262 Button
on (release) {
_root.gotoAndPlay(1);
}