Frame 1
ifFrameLoaded (102) {
gotoAndStop (5);
}
ljud = 1;
Frame 4
gotoAndPlay (1);
Frame 5
stop();
_root.hero.die = 0;
meter = 0;
liv = 3;
points = 0;
Instance of Symbol 30 MovieClip "liv1" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 30 MovieClip "liv2" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 30 MovieClip "liv3" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 30 MovieClip "liv4" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 30 MovieClip "liv5" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 30 MovieClip "liv6" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 30 MovieClip "liv7" in Frame 7
onClipEvent (enterFrame) {
if (_root.liv >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 8
play();
scor = 0;
meter = meter - l_points;
Frame 9
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 42 MovieClip "die2" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 36 MovieClip "level6" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 9
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level2");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 9
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
this.springa.stop();
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (2 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) and (jumping == false)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 68 MovieClip "pris7" in Frame 9
/* no clip actions */
Frame 15
play();
scor = 0;
meter = meter - l_points;
Frame 16
stop();
scor = 0;
hero.die = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 70 MovieClip "die4" in Frame 16
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 36 MovieClip "12" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 42 MovieClip "die3" in Frame 16
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 36 MovieClip "level6" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 16
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level3");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 16
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (4 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 68 MovieClip "pris7" in Frame 16
/* no clip actions */
Frame 22
play();
scor = 0;
meter = meter - l_points;
Frame 23
stop();
scor = 0;
hero.die = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall1" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv7" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv18" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak18" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "top" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 72 MovieClip "die2" in Frame 23
onClipEvent (load) {
this.gotoAndPlay(10);
}
Instance of Symbol 36 MovieClip "level6" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 38 MovieClip "koll" in Frame 23
onClipEvent (load) {
test = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa)) {
test = 1;
}
if ((test == 1) and (this._x < 200)) {
this._x = this._x - 8;
}
}
Instance of Symbol 45 MovieClip "port" in Frame 23
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level4");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 23
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (4 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (17 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 68 MovieClip "pris7" in Frame 23
/* no clip actions */
Frame 29
play();
scor = 0;
meter = meter - l_points;
Frame 30
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv3" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv6" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv7" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak6" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 79 MovieClip "knapp1" in Frame 30
onClipEvent (load) {
koll = 1;
}
onClipEvent (enterFrame) {
if (koll == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.door1.gotoAndPlay(10);
koll = 0;
}
}
}
Instance of Symbol 80 MovieClip "door1" in Frame 30
onClipEvent (enterFrame) {
if (this.h.hitTest(_root.hero)) {
_root.hero._x = this._x + 17;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak22" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 42 MovieClip "die2" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 42 MovieClip "die7" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 42 MovieClip "die6" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 42 MovieClip "die5" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 36 MovieClip "level6" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 30
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level5");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 30
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (8 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 30 MovieClip "livextra" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.play();
}
}
Frame 36
play();
scor = 0;
meter = meter - l_points;
Frame 37
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv6" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv7" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak6" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv15" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak15" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 72 MovieClip "die7" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(27);
}
Instance of Symbol 70 MovieClip "die8" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(7);
}
Instance of Symbol 36 MovieClip "level6" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 37
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level6");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 37
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (8 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 86 MovieClip "die6" in Frame 37
onClipEvent (load) {
riktning = 1;
}
onClipEvent (enterFrame) {
if (this._x < 67) {
this._x = this._x + 1;
riktning = 1;
}
if (264 < this._x) {
this._x = this._x - 1;
riktning = -1;
}
this._x = this._x + (2 * riktning);
}
Instance of Symbol 36 MovieClip "top" in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Frame 43
play();
scor = 0;
meter = meter - l_points;
Frame 44
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall1" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall2" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall3" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "level20" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak20" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 42 MovieClip "die1" in Frame 44
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 36 MovieClip "level6" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "top" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 45 MovieClip "port" in Frame 44
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level7");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 44
onClipEvent (load) {
speed = 7;
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
this.springa.stop();
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.water)) {
speed = 4;
} else {
speed = 7;
}
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (4 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + speed;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - speed;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 97 MovieClip "die3" in Frame 44
onClipEvent (load) {
riktning_X = 1;
riktning_Y = 1;
}
onClipEvent (enterFrame) {
if (136 < this._y) {
if (this._x < _root.hero._x) {
riktning_X = 1;
} else {
riktning_X = -1;
}
this._x = this._x + (1 * riktning_X);
if (this._y < (_root.hero._y - 20)) {
riktning_Y = 1;
} else {
riktning_Y = -1;
}
this._y = this._y + (1 * riktning_Y);
r = Math.atan2(_root.hero._y - this._y, _root.hero._x - this._x);
_rotation = (((r / Math.PI) * 180) + 90);
} else {
this._y = this._y + 1;
}
}
Instance of Symbol 70 MovieClip "die4" in Frame 44
onClipEvent (load) {
this.gotoAndPlay(46);
}
Instance of Symbol 68 MovieClip "pris7" in Frame 44
/* no clip actions */
Frame 50
play();
scor = 0;
meter = meter - l_points;
Frame 51
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv6" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv7" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak6" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv17" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak17" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv20" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 42 MovieClip "die5" in Frame 51
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 42 MovieClip "die4" in Frame 51
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 42 MovieClip "die1" in Frame 51
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 36 MovieClip "level6" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 51
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level8");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 51
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (11 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 86 MovieClip "die7" in Frame 51
onClipEvent (load) {
riktning = 1;
}
onClipEvent (enterFrame) {
if (this._x < 55) {
this._x = this._x + 1;
riktning = 1;
}
if (332 < this._x) {
this._x = this._x - 1;
riktning = -1;
}
this._x = this._x + (2 * riktning);
}
Instance of Symbol 86 MovieClip "die6" in Frame 51
onClipEvent (load) {
riktning = 1;
}
onClipEvent (enterFrame) {
if (this._x < 55) {
this._x = this._x + 1;
riktning = 1;
}
if (332 < this._x) {
this._x = this._x - 1;
riktning = -1;
}
this._x = this._x + (2 * riktning);
}
Instance of Symbol 30 MovieClip "livextra" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "top" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Frame 57
play();
scor = 0;
meter = meter - l_points;
Frame 58
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv4" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv3" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall2" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 79 MovieClip "knapp1" in Frame 58
onClipEvent (load) {
koll = 1;
}
onClipEvent (enterFrame) {
if (koll == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.die7.slide = 1;
koll = 0;
}
}
}
Instance of Symbol 36 MovieClip "wall1" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall3" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv15" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "wall6" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "tak15" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv17" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak17" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv20" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak20" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv19" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak19" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv18" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak18" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv22" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak22" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv21" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "wall4" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall5" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 70 MovieClip "die5" in Frame 58
onClipEvent (load) {
this.gotoAndPlay(16);
}
Instance of Symbol 36 MovieClip "tak21" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall7" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv25" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak25" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 102 MovieClip "die3" in Frame 58
onClipEvent (load) {
this.gotoAndPlay(10);
}
Instance of Symbol 103 MovieClip "die7" in Frame 58
onClipEvent (load) {
slide = 0;
}
onClipEvent (enterFrame) {
if (slide == 1) {
if (this._y >= 45) {
this._y = this._y - 0.333333333333333;
}
}
}
Instance of Symbol 36 MovieClip "level6" in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 58
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level9");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 58
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
this._xscale = 100 * skala;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (7 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Frame 64
play();
scor = 0;
meter = meter - l_points;
Frame 65
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv3" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall1" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 79 MovieClip "knapp1" in Frame 65
onClipEvent (load) {
koll = 1;
}
onClipEvent (enterFrame) {
if (koll == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.door1.gotoAndPlay(10);
koll = 0;
}
}
}
Instance of Symbol 80 MovieClip "door1" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero.skala == -1)) {
_root.hero._x = this._x + 17;
}
if (this.hitTest(_root.hero) and (_root.hero.skala == 1)) {
_root.hero._x = this._x - 17;
}
}
Instance of Symbol 36 MovieClip "wall2" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 42 MovieClip "die1" in Frame 65
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 102 MovieClip "die5" in Frame 65
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 102 MovieClip "die4" in Frame 65
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 102 MovieClip "die3" in Frame 65
onClipEvent (load) {
this.gotoAndPlay(9);
}
Instance of Symbol 36 MovieClip "level6" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 38 MovieClip "koll" in Frame 65
onClipEvent (load) {
test = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
test = 1;
}
if ((test == 1) and (this._x < 100)) {
this._x = this._x - 8;
}
}
Instance of Symbol 45 MovieClip "port" in Frame 65
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level10");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 65
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = -1;
this._xscale = 100 * skala;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (8 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (19 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Frame 71
play();
scor = 0;
meter = meter - l_points;
Frame 72
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv6" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv7" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak6" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv5" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak5" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv17" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak17" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 111 MovieClip "g1" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g2" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g3" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g4" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g5" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g6" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g7" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 111 MovieClip "g8" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 36 MovieClip "wall" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 111 MovieClip "g9" in Frame 72
onClipEvent (load) {
this.h._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
this.h._visible = true;
} else {
this.h._visible = false;
}
}
Instance of Symbol 42 MovieClip "die4" in Frame 72
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 70 MovieClip "die6" in Frame 72
onClipEvent (load) {
this.gotoAndPlay(46);
}
Instance of Symbol 36 MovieClip "level6" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 38 MovieClip "koll" in Frame 72
onClipEvent (load) {
test = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
test = 1;
}
if ((test == 1) and (this._x < 700)) {
this._x = this._x + 8;
}
}
Instance of Symbol 45 MovieClip "port" in Frame 72
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level11");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 72
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (6 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (21 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 7 MovieClip "die1" in Frame 72
onClipEvent (load) {
riktning = 1;
this.gotoAndPlay(10);
}
onClipEvent (enterFrame) {
if ((this._x < 412) and (324 < this._x)) {
if (this._x < _root.hero._x) {
riktning = 1;
} else {
riktning = -1;
}
this._x = this._x + (1 * riktning);
}
if (this._x >= 412) {
this._x = this._x - 1;
}
if (324 >= this._x) {
this._x = this._x + 1;
}
}
Instance of Symbol 7 MovieClip "die2" in Frame 72
onClipEvent (load) {
riktning = 1;
}
onClipEvent (enterFrame) {
if ((this._x < 228) and (11 < this._x)) {
if (this._x < _root.hero._x) {
riktning = 1;
} else {
riktning = -1;
}
this._x = this._x + (1 * riktning);
}
if (this._x >= 228) {
this._x = this._x - 1;
}
if (11 >= this._x) {
this._x = this._x + 1;
}
}
Instance of Symbol 7 MovieClip "die3" in Frame 72
onClipEvent (load) {
riktning = 1;
this.gotoAndPlay(25);
}
onClipEvent (enterFrame) {
if ((this._x < 487) and (246 < this._x)) {
if (this._x < _root.hero._x) {
riktning = 1;
} else {
riktning = -1;
}
this._x = this._x + (1.5 * riktning);
}
if (this._x >= 487) {
this._x = this._x - 1;
}
if (246 >= this._x) {
this._x = this._x + 1;
}
}
Frame 78
play();
scor = 0;
meter = meter - l_points;
Frame 79
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "12" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv3" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall2" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 79 MovieClip "knapp1" in Frame 79
onClipEvent (load) {
koll = 1;
}
onClipEvent (enterFrame) {
if (koll == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.door1.gotoAndPlay(10);
koll = 0;
}
}
}
Instance of Symbol 36 MovieClip "wall1" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall3" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv15" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak15" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv17" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak17" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 70 MovieClip "die11" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(16);
}
Instance of Symbol 70 MovieClip "die12" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(16);
}
Instance of Symbol 36 MovieClip "wall4" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall5" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv20" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak20" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv19" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak19" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv18" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak18" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv22" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak22" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv21" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak21" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall6" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall7" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 102 MovieClip "die6" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 102 MovieClip "die1" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 102 MovieClip "die4" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 97 MovieClip "die7" in Frame 79
onClipEvent (load) {
riktning_X = 1;
riktning_Y = 1;
}
onClipEvent (enterFrame) {
if ((((103 < this._x) and (this._x < 428)) and (this._y < 280)) and (161 < this._y)) {
if (this._x < _root.hero._x) {
riktning_X = 1;
} else {
riktning_X = -1;
}
this._x = this._x + (2 * riktning_X);
if (this._y < (_root.hero._y - 20)) {
riktning_Y = 1;
} else {
riktning_Y = -1;
}
this._y = this._y + (1 * riktning_Y);
}
if (103 >= this._x) {
this._x = this._x + 1;
}
if (this._x >= 428) {
this._x = this._x - 1;
}
if (this._y >= 280) {
this._y = this._y - 1;
}
if (161 >= this._y) {
this._y = this._y + 1;
}
r = Math.atan2(_root.hero._y - this._y, _root.hero._x - this._x);
_rotation = (((r / Math.PI) * 180) + 90);
}
Instance of Symbol 102 MovieClip "die10" in Frame 79
onClipEvent (load) {
this.gotoAndPlay(20);
}
Instance of Symbol 80 MovieClip "door1" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level6" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 79
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level12");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 79
onClipEvent (load) {
speed = 7;
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
this._xscale = 100 * skala;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.water)) {
speed = 4;
} else {
speed = 7;
}
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (12 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (19 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + speed;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - speed;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 30 MovieClip "livextra" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.play();
}
}
Frame 85
play();
scor = 0;
meter = meter - l_points;
Frame 86
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv1" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv6" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv10" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak6" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak10" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv17" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak17" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 79 MovieClip "knapp1" in Frame 86
onClipEvent (load) {
koll3 = 1;
}
onClipEvent (enterFrame) {
if (koll3 == 1) {
if (this.h.hitTest(_root.hero)) {
_root.die5.kolla = 1;
this.gotoAndStop(20);
_root.door1.gotoAndPlay(10);
_root.door2.gotoAndPlay(10);
koll3 = 0;
}
}
}
Instance of Symbol 36 MovieClip "wall5" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 80 MovieClip "door1" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero.skala == -1)) {
_root.hero._x = this._x + 17;
}
if (this.hitTest(_root.hero) and (_root.hero.skala == 1)) {
_root.hero._x = this._x - 17;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall2" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 80 MovieClip "door2" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (this._x < _root.hero._x)) {
_root.hero._x = this._x + 17;
}
if (this.hitTest(_root.hero) and (_root.hero._x < this._x)) {
_root.hero._x = this._x - 17;
}
}
Instance of Symbol 36 MovieClip "wall3" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (this._x < _root.hero._x) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero._x < this._x) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall6" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa)) {
if (this._x < _root.hero._x) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa)) {
if (_root.hero._x < this._x) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "wall4" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "level15" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak15" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "wall1" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 36 MovieClip "golv14" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak14" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv16" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak16" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv18" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak18" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv19" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak19" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv20" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak20" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 79 MovieClip "knapp4" in Frame 86
onClipEvent (load) {
koll2 = 1;
}
onClipEvent (enterFrame) {
if (koll2 == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.die2.gotoAndStop(80);
koll2 = 0;
}
}
}
Instance of Symbol 36 MovieClip "golv21" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak21" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 80 MovieClip "door3" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (this._x < _root.hero._x)) {
_root.hero._x = this._x + 17;
}
if (this.hitTest(_root.hero) and (_root.hero._x < this._x)) {
_root.hero._x = this._x - 17;
}
}
Instance of Symbol 79 MovieClip "knapp2" in Frame 86
onClipEvent (load) {
koll1 = 1;
}
onClipEvent (enterFrame) {
if (koll1 == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.door3.gotoAndPlay(10);
koll1 = 0;
}
}
}
Instance of Symbol 70 MovieClip "die3" in Frame 86
onClipEvent (load) {
this.gotoAndPlay(7);
}
Instance of Symbol 80 MovieClip "door4" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (this._x < _root.hero._x)) {
_root.hero._x = this._x + 17;
}
if (this.hitTest(_root.hero) and (_root.hero._x < this._x)) {
_root.hero._x = this._x - 17;
}
}
Instance of Symbol 79 MovieClip "knapp3" in Frame 86
onClipEvent (load) {
koll4 = 1;
}
onClipEvent (enterFrame) {
if (koll4 == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.door4.gotoAndPlay(10);
koll4 = 0;
}
}
}
Instance of Symbol 70 MovieClip "die2" in Frame 86
onClipEvent (load) {
this.gotoAndPlay(46);
}
Instance of Symbol 86 MovieClip "die5" in Frame 86
onClipEvent (load) {
riktning = 1;
kolla = 0;
this.stop();
}
onClipEvent (enterFrame) {
if (kolla == 1) {
this.play();
if (this._x < 161) {
this._x = this._x + 1;
riktning = 1;
}
if (273 < this._x) {
this._x = this._x - 1;
riktning = -1;
}
this._x = this._x + (2 * riktning);
}
}
Instance of Symbol 36 MovieClip "level6" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 86
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("level13");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 86
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (5 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Instance of Symbol 30 MovieClip "livextra" in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.play();
}
}
Frame 92
play();
scor = 0;
meter = meter - l_points;
Frame 93
stop();
scor = 0;
l_points = 0;
Instance of Symbol 36 MovieClip "golv8" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv4" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level3" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv13" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level4" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "level7" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv2" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv9" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv6" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "golv7" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "18" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak2" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak1" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak3" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak4" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak6" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak7" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak9" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak11" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak12" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak13" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "tak8" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 36 MovieClip "golv17" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg) or this.hitTest(_root.hero.stilla.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 36 MovieClip "tak17" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 70 MovieClip "die3" in Frame 93
onClipEvent (load) {
this.gotoAndPlay(7);
}
Instance of Symbol 79 MovieClip "knapp1" in Frame 93
onClipEvent (load) {
koll = 1;
}
onClipEvent (enterFrame) {
if (koll == 1) {
if (this.h.hitTest(_root.hero)) {
this.gotoAndStop(20);
_root.door1.gotoAndPlay(10);
koll = 0;
}
}
}
Instance of Symbol 36 MovieClip in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == -1) {
_root.hero._x = this._x + 17;
}
}
if (this.hitTest(_root.hero.hoppa.face)) {
if (_root.hero.skala == 1) {
_root.hero._x = this._x - 17;
}
}
}
Instance of Symbol 80 MovieClip "door1" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero.skala == -1)) {
_root.hero._x = this._x + 17;
}
if (this.hitTest(_root.hero) and (_root.hero.skala == 1)) {
_root.hero._x = this._x - 17;
}
}
Instance of Symbol 36 MovieClip "top" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hoppa.face)) {
_root.hero._y = this._y + 30;
}
}
Instance of Symbol 122 MovieClip "die2" in Frame 93
onClipEvent (load) {
riktning_X = 1;
riktning_Y = 1;
}
onClipEvent (enterFrame) {
if (this._x < _root.hero._x) {
riktning_X = 1;
} else {
riktning_X = -1;
}
this._x = this._x + (1 * riktning_X);
if (this._y < _root.hero._y) {
riktning_Y = 1;
} else {
riktning_Y = -1;
}
this._y = this._y + (1 * riktning_Y);
}
Instance of Symbol 36 MovieClip "level6" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.springa.leg)) {
_root.hero._y = this._y;
_root.hero.platform = "on";
}
}
Instance of Symbol 45 MovieClip "port" in Frame 93
onClipEvent (enterFrame) {
if (this.p.hitTest(_root.hero)) {
_root.gotoAndStop("seger");
}
if (_root.scor == 12) {
this.play();
}
}
Instance of Symbol 64 MovieClip "hero" in Frame 93
onClipEvent (load) {
vel_y = 0;
accel = 4;
jumping = false;
gravity = "on";
skala = 1;
die = 0;
testahopp = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.left)) {
this._x = _root.left._x + 15;
}
if (this.hitTest(_root.right)) {
this._x = _root.right._x - 15;
}
i = 1;
while (4 >= i) {
if (this.hitTest(_root["die" + i].h) and (die == 0)) {
this.gotoAndPlay("die");
}
i++;
}
i = 1;
while (13 >= i) {
if (this.hitTest(_root["pris" + i]) and (die == 0)) {
_root["pris" + i].play();
}
i++;
}
if (die == 0) {
this.stilla._visible = true;
this.springa._visible = false;
this.hoppa._visible = false;
this.springa.stop();
if (gravity == "on") {
this._y = this._y + 10;
}
if (Key.isDown(39)) {
skala = 1;
this._xscale = 100 * skala;
this._x = this._x + 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (Key.isDown(37)) {
skala = -1;
this._xscale = 100 * skala;
this._x = this._x - 7;
this.stilla._visible = false;
this.springa._visible = true;
this.springa.play();
}
if (((Key.isDown(38) && (!jumping)) and (this.hoppa._visible == false)) and (testahopp == 0)) {
platform = "no";
vel_y = 23;
jumping = true;
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
this.springa.stop();
testahopp = 1;
}
if (jumping == true) {
if (platform == "on") {
gravity = "on";
vel_y = 0;
jumping = false;
} else {
gravity = "off";
this.stilla._visible = false;
this.springa._visible = false;
this.hoppa._visible = true;
}
vel_y = vel_y - accel;
if (vel_y < -10) {
vel_y = -10;
}
this._y = this._y - vel_y;
}
if (Key.isDown(38) == false) {
testahopp = 0;
}
}
}
Frame 102
stop();
Frame 105
stop();
Frame 108
stop();
Frame 109
stop();
loadVariablesNum ("tvavisarymd2.asp", 0);
Symbol 12 Button
on (release) {
getURL ("http://www.karn.nu", "_blank");
}
Symbol 15 Button
on (release, keyPress "<Enter>") {
if (_root.password == "utop") {
_root.gotoAndStop("level2");
} else if (_root.password == "tori") {
_root.gotoAndStop("level3");
} else if (_root.password == "turo") {
_root.gotoAndStop("level4");
} else if (_root.password == "atel") {
_root.gotoAndStop("level5");
} else if (_root.password == "klev") {
_root.gotoAndStop("level6");
} else if (_root.password == "hyfo") {
_root.gotoAndStop("level7");
} else if (_root.password == "feal") {
_root.gotoAndStop("level8");
} else if (_root.password == "shom") {
_root.gotoAndStop("level9");
} else if (_root.password == "pame") {
_root.gotoAndStop("level10");
} else if (_root.password == "kexi") {
_root.gotoAndStop("level11");
} else if (_root.password == "vate") {
_root.gotoAndStop("level12");
} else if (_root.password == "pogi") {
_root.gotoAndStop("level13");
} else {
gotoAndStop (9);
}
}
Symbol 26 Button
on (release) {
gotoAndStop (109);
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
stop();
_root.liv = _root.liv + 1;
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 11
stop();
_root.scor = 100;
Symbol 61 MovieClip Frame 16
gotoAndPlay (1);
Symbol 63 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
stop();
stop();
Symbol 64 MovieClip Frame 13
die = 1;
Symbol 64 MovieClip Frame 33
_root.liv = _root.liv - 1;
if (_root.liv == 0) {
_root.gotoAndStop("gameover");
} else {
_root.prevFrame();
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 2
stop();
_root.scor = _root.scor + 1;
_root.meter = _root.meter + 5;
_root.l_points = _root.l_points + 5;
Symbol 70 MovieClip Frame 15
gotoAndPlay (1);
Symbol 70 MovieClip Frame 45
gotoAndPlay (16);
Symbol 70 MovieClip Frame 76
gotoAndPlay (46);
Symbol 70 MovieClip Frame 80
stop();
Symbol 79 MovieClip Frame 16
gotoAndPlay (1);
Symbol 79 MovieClip Frame 20
stop();
Symbol 80 MovieClip Frame 8
gotoAndPlay (1);
Symbol 80 MovieClip Frame 10
play();
Symbol 80 MovieClip Frame 28
stop();
Symbol 129 Button
on (release, keyPress "<Enter>") {
gotoAndStop (108);
}
Symbol 137 Button
on (release, keyPress "<Enter>") {
loadVariablesNum ("tvatio.asp", 0, "POST");
play();
}
Symbol 174 Button
on (release, keyPress "<Enter>") {
gotoAndStop (5);
}