Frame 1
stopAllSounds();
stop();
_root.q = "high";
if (funktionen != 1) {
onEnterFrame = function () {
newT = getTimer();
while (Math.abs(newT - oldT) < maxF) {
newT = getTimer();
}
oldT = getTimer();
};
oldT = getTimer();
maxF = 31;
funktionen = 1;
}
Frame 2
stop();
Frame 3
endgame = new Sound();
endgame.attachSound("endgame");
lars2 = new Sound();
lars2.attachSound("lars2");
pappa2 = new Sound();
pappa2.attachSound("pappa2");
lars1 = new Sound();
lars1.attachSound("lars1");
pappa1 = new Sound();
pappa1.attachSound("pappa1");
seagull = new Sound();
seagull.attachSound("seagull");
extraliv = new Sound();
extraliv.attachSound("extraliv");
timer = new Sound();
timer.attachSound("time");
thud = new Sound();
thud.attachSound("thud");
finish = new Sound();
finish.attachSound("finish");
yeti2 = new Sound();
yeti2.attachSound("yeti2");
goat = new Sound();
goat.attachSound("goat");
ghost = new Sound();
ghost.attachSound("ghost");
coin = new Sound();
coin.attachSound("coin");
keyGet = new Sound();
keyGet.attachSound("advance");
camel = new Sound();
camel.attachSound("camel");
horse = new Sound();
horse.attachSound("horse");
blipp = new Sound();
blipp.attachSound("countdown");
bounce = new Sound();
bounce.attachSound("boink");
yeti = new Sound();
yeti.attachSound("yeti");
fanfare = new Sound();
fanfare.attachSound("fanfare");
atomic = new Sound();
atomic.attachSound("atomic");
andso = new Sound();
andso.attachSound("andso");
andso.start(0, 99);
_root.attachMovie("vitt", "vitt", _root.getNextHighestDepth());
Frame 4
stop();
Instance of Symbol 233 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (s == NaN) {
s = 0;
} else {
s++;
}
if (s > 50) {
_alpha = (_alpha - 10);
}
if (Key.isDown(32)) {
p = 1;
} else if (p == 1) {
_root.attachMovie("vitt", "vitt", _root.getNextHighestDepth());
_parent.nextFrame()();
}
}
Frame 5
stop();
Instance of Symbol 245 MovieClip in Frame 5
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else {
stop();
}
}
Instance of Symbol 45 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
p = 1;
} else if (p == 1) {
_root.fanfare.start();
_parent.nextFrame()();
}
}
Instance of Symbol 301 MovieClip in Frame 5
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Instance of Symbol 311 MovieClip in Frame 5
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else {
stop();
}
}
Instance of Symbol 249 MovieClip "a" in Frame 6
onClipEvent (enterFrame) {
play();
}
Instance of Symbol 45 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32) && (s != 1)) {
s = 1;
_root.andso.stop();
_root.fanfare.start();
_root.attachMovie("vitt", "vitt", _root.getNextHighestDepth());
_parent.play();
}
}
Instance of Symbol 359 MovieClip in Frame 6
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Frame 7
_root.pinkerton = 0;
_root.barbalala = 0;
_root.control = 0;
_root.score = 0;
_root.basescore = 0;
_root.baselives = 5;
_root.lives = _root.baselives;
atomic.start(0, 999);
Frame 8
stage = 1;
atime = 10;
time = 50;
c = 0;
stop();
Instance of Symbol 387 MovieClip "ground" in Frame 8
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Instance of Symbol 88 MovieClip in Frame 8
onClipEvent (load) {
_root.c = 0;
_root.times = 0;
_root.score = 0;
}
onClipEvent (enterFrame) {
_root.sumscore = _root.basescore + _root.score;
if (_root.control == 0) {
if (_root.death != 1) {
if (_root.time == 0) {
_root.death = 1;
}
}
_root.c++;
if (_root.c == 31) {
_root.c = 0;
_root.time--;
_root.times++;
if (_root.time < 10) {
_root.timer.start();
}
}
}
}
Instance of Symbol 402 MovieClip in Frame 8
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (9);
} else {
stop();
}
}
Frame 9
stage = 2;
atime = 20;
time = 50;
c = 0;
Instance of Symbol 432 MovieClip in Frame 9
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 10
stage = 3;
atime = 20;
time = 50;
c = 0;
Instance of Symbol 465 MovieClip in Frame 10
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 11
stage = 4;
atime = 10;
time = 50;
c = 0;
Instance of Symbol 471 MovieClip in Frame 11
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 12
stage = 5;
atime = 15;
time = 70;
c = 0;
Instance of Symbol 478 MovieClip in Frame 12
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 13
stage = 6;
atime = 15;
time = 60;
c = 0;
stop();
Instance of Symbol 494 MovieClip in Frame 13
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 14
stage = 7;
atime = 25;
time = 70;
c = 0;
stop();
Instance of Symbol 511 MovieClip in Frame 14
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 15
stage = 8;
atime = 25;
time = 70;
c = 0;
Instance of Symbol 518 MovieClip in Frame 15
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.1;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.1;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 16
stage = 9;
atime = 25;
time = 70;
c = 0;
Instance of Symbol 528 MovieClip in Frame 16
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 17
stage = 10;
time = 70;
atime = 20;
c = 0;
stop();
Instance of Symbol 542 MovieClip in Frame 17
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 18
stage = 11;
atime = 30;
time = 140;
c = 0;
stop();
Instance of Symbol 602 MovieClip in Frame 18
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Instance of Symbol 606 MovieClip in Frame 18
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else {
stop();
}
}
onClipEvent (load) {
_alpha = 0;
s = 0;
p = _root.barbalala;
}
onClipEvent (enterFrame) {
if (p != 1) {
s++;
if ((s >= 51) && (s <= 70)) {
_alpha = (_alpha + 5);
} else if (s == 90) {
_root.barbalala = 1;
} else if ((s >= 151) && (s <= 170)) {
_alpha = (_alpha - 5);
}
}
}
Frame 19
stage = 12;
atime = 10;
time = 50;
c = 0;
stop();
Instance of Symbol 646 MovieClip in Frame 19
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 20
stage = 13;
atime = 25;
time = 70;
c = 0;
stop();
Instance of Symbol 650 MovieClip in Frame 20
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 21
stage = 14;
time = 80;
atime = 25;
c = 0;
Instance of Symbol 656 MovieClip in Frame 21
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 22
stage = 15;
time = 110;
atime = 40;
c = 0;
stop();
Instance of Symbol 661 MovieClip in Frame 22
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 23
stage = 16;
time = 80;
atime = 30;
c = 0;
Instance of Symbol 665 MovieClip in Frame 23
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 24
stage = 17;
atime = 25;
time = 70;
c = 0;
stop();
Instance of Symbol 687 MovieClip in Frame 24
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 25
stage = 18;
atime = 30;
time = 80;
c = 0;
Instance of Symbol 691 MovieClip in Frame 25
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 26
stage = 19;
atime = 30;
time = 80;
c = 0;
stop();
Instance of Symbol 695 MovieClip in Frame 26
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 27
stage = 20;
atime = 40;
time = 110;
c = 0;
Instance of Symbol 699 MovieClip in Frame 27
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 28
stage = 21;
atime = 40;
time = 110;
c = 0;
_root.menucredits = 0;
stop();
Instance of Symbol 706 MovieClip in Frame 28
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Frame 31
if (stage == 21) {
goto = 35;
} else {
goto = stage + 2;
}
gotoAndStop(goto +6);
Frame 36
goto = stage + 1;
_root.attachMovie("vitt", "vitt", _root.getNextHighestDepth());
gotoAndStop(goto +6);
Frame 41
stage = 34;
atime = 30;
time = 140;
c = 0;
stop();
Instance of Symbol 757 MovieClip in Frame 41
onClipEvent (enterFrame) {
while ((Hero._x + _x) > 450) {
_x = (_x-1);
ground.g._x++;
_parent.berg._x = _parent.berg._x - 0.4;
}
while ((Hero._x + _x) < 350) {
_x = (_x+1);
ground.g._x--;
_parent.berg._x = _parent.berg._x + 0.4;
}
while ((Hero._y + _y) > 450) {
_y = (_y-1);
ground.g._y++;
_parent.moon._y = _parent.moon._y - 0.05;
_parent.moln._y = _parent.moln._y - 0.2;
_parent.berg._y = _parent.berg._y - 0.4;
}
while ((Hero._y + _y) < 350) {
_y = (_y+1);
ground.g._y--;
_parent.moon._y = _parent.moon._y + 0.05;
_parent.moln._y = _parent.moln._y + 0.2;
_parent.berg._y = _parent.berg._y + 0.4;
}
}
Instance of Symbol 762 MovieClip in Frame 41
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (9);
} else {
stop();
}
}
onClipEvent (load) {
_alpha = 0;
s = 0;
p = _root.pinkerton;
}
onClipEvent (enterFrame) {
if (p != 1) {
s++;
if ((s >= 51) && (s <= 70)) {
_alpha = (_alpha + 5);
} else if (s == 90) {
_root.pinkerton = 1;
} else if ((s >= 151) && (s <= 170)) {
_alpha = (_alpha - 5);
}
}
}
Instance of Symbol 88 MovieClip in Frame 41
onClipEvent (load) {
_root.c = 0;
_root.times = 0;
_root.score = 0;
}
onClipEvent (enterFrame) {
_root.sumscore = _root.basescore + _root.score;
if (_root.control == 0) {
if (_root.death != 1) {
if (_root.time == 0) {
_root.death = 1;
}
}
_root.c++;
if (_root.c == 31) {
_root.c = 0;
_root.time--;
_root.times++;
if (_root.time < 10) {
_root.countdown.start();
}
}
}
}
Instance of Symbol 402 MovieClip in Frame 41
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else {
stop();
}
}
Frame 51
if (stage == 21) {
goto = 35;
} else if (stage == 34) {
goto = 47;
stopAllSounds();
_root.andso.start(0, 999);
} else {
goto = stage + 2;
}
gotoAndStop(goto +6);
Frame 53
Frame 54
stop();
Instance of Symbol 782 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_y < -830) {
if (_root.menucredits == 1) {
_root.gotoAndStop("menu");
_root.menucredits = 0;
} else {
_parent.nextFrame();
}
} else {
_y = (_y - 2);
}
}
Frame 55
if (_root.basescore >= 250000) {
grade = "A";
} else if (_root.basescore >= 200000) {
grade = "B";
} else if (_root.basescore >= 150000) {
grade = "C";
} else if (_root.basescore >= 60000) {
grade = "D";
} else {
grade = "F";
}
Instance of Symbol 791 MovieClip in Frame 55
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (9);
} else {
stop();
}
}
Instance of Symbol 45 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
s = 1;
} else if (s == 1) {
_root.gotoAndStop("menu");
}
}
Frame 56
atomic.stop();
stop();
Instance of Symbol 88 MovieClip in Frame 56
onClipEvent (load) {
_root.endgame.start();
_root.gameovertime = 10;
c = 0;
}
onClipEvent (enterFrame) {
if (_root.gameovertime <= 0) {
_root.gameover = 1;
_parent.black.play();
}
if ((_root.gameovertime > 0) && (s != 1)) {
if (Key.isDown(32)) {
s = 1;
_root.fanfare.start();
_parent.corpse.play();
}
c++;
if (c == 33) {
c = 0;
_root.gameovertime--;
}
}
}
Frame 57
stop();
Instance of Symbol 88 MovieClip in Frame 57
onClipEvent (load) {
p = 0;
_root.penalty = -10000;
}
onClipEvent (enterFrame) {
if ((_root.penalty < 0) && (_root.basescore > 0)) {
if (s != 1) {
s == 1;
_root.blipp.start();
}
_root.penalty = _root.penalty + 100;
_root.basescore = _root.basescore - 100;
} else if (p > 30) {
_root.attachMovie("vitt", "vitt", _root.getNextHighestDepth());
_root.atomic.start(0, 999);
_parent.play();
} else {
p++;
}
}
Instance of Symbol 791 MovieClip in Frame 57
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (9);
} else {
stop();
}
}
Frame 58
gotoAndStop ("died");
Symbol 12 MovieClip [fadeout] Frame 51
removeMovieClip(this);
Instance of Symbol 22 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.grade == "B") {
_parent.nextFrame();
} else if (_parent._parent._parent.grade == "C") {
_parent.gotoAndStop(3);
} else if (_parent._parent._parent.grade == "D") {
_parent.gotoAndStop(4);
} else if (_parent._parent._parent.grade == "F") {
_parent.gotoAndStop(5);
} else {
_parent.stop();
}
}
Symbol 32 MovieClip Frame 20
stop();
Instance of Symbol 44 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Symbol 54 MovieClip [grade] Frame 1
multi = (_root.times + _root.time) / 70;
if (multi >= 1) {
multi = 1;
}
if (_root.times <= _root.atime) {
grade = "A";
} else if (_root.times <= (_root.atime + (8 * multi))) {
grade = "B";
} else if (_root.times <= (_root.atime + (16 * multi))) {
grade = "C";
} else if (_root.times <= (_root.atime + (24 * multi))) {
grade = "D";
} else if (_root.times <= (_root.atime + (40 * multi))) {
grade = "F";
}
_root.basescore = _root.basescore + _root.score;
_root.score = 0;
stop();
Instance of Symbol 40 MovieClip in Symbol 54 MovieClip [grade] Frame 1
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else {
stop();
}
}
Instance of Symbol 45 MovieClip in Symbol 54 MovieClip [grade] Frame 1
onClipEvent (enterFrame) {
if (_root.time >= 1) {
if (s != 1) {
s == 1;
_root.blipp.start();
}
_root.time = _root.time - 1;
_root.basescore = _root.basescore + 100;
}
if (Key.isDown(32) && (s != 1)) {
_root.basescore = _root.basescore + (_root.time * 100);
_root.time = 0;
_parent.play();
}
}
Instance of Symbol 53 MovieClip in Symbol 54 MovieClip [grade] Frame 2
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else {
stop();
}
}
Symbol 54 MovieClip [grade] Frame 3
_root.gotoAndPlay(45);
_root.control = 0;
_root.attachMovie("vitt", "vitt", _root.getNextHighestDepth());
this.removeMovieClip();
Symbol 82 Button
on (release) {
getURL ("http://www.newgrounds.com/", "blank");
}
Symbol 83 Button
on (release) {
getURL ("http://www.raitendo.com/", "blank");
}
Symbol 104 MovieClip Frame 89
stop();
Symbol 110 MovieClip Frame 140
stop();
Symbol 114 MovieClip Frame 63
stop();
Symbol 116 Button
on (release) {
getURL ("http://www.raitendo.com", "blank");
}
Symbol 117 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
_parent.t = 0;
}
onClipEvent (enterFrame) {
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
bar._yscale = 100 - PercentLoaded;
if (PercentLoaded < 90) {
a._rotation = a._rotation + 20;
} else if ((PercentLoaded > 90) && (PercentLoaded < 96)) {
a._rotation = a._rotation + 10;
} else if ((PercentLoaded >= 96) && (PercentLoaded <= 99)) {
a._rotation = a._rotation + 8;
}
if (PercentLoaded == 100) {
_parent.t++;
if (_parent.t <= 8) {
a._rotation = a._rotation + (8 - _parent.t);
}
if (_parent.t == 20) {
_root.attachMovie("fadeout", "fadeout", _root.getNextHighestDepth());
} else if (_parent.t == 45) {
_parent.nextFrame();
}
}
}
Instance of Symbol 88 MovieClip in Symbol 117 MovieClip Frame 2
onClipEvent (load) {
_parent.t = 0;
}
onClipEvent (enterFrame) {
_parent.t++;
if (_parent.t == 60) {
_root.attachMovie("fadeout", "fadeout", _root.getNextHighestDepth());
} else if (_parent.t == 82) {
_parent.nextFrame();
}
}
Instance of Symbol 88 MovieClip in Symbol 117 MovieClip Frame 3
onClipEvent (load) {
_parent.t = 0;
}
onClipEvent (enterFrame) {
_parent.t++;
if (_parent.t == 20) {
_parent.nextFrame();
}
}
Instance of Symbol 88 MovieClip in Symbol 117 MovieClip Frame 4
onClipEvent (load) {
_parent.t = 0;
}
onClipEvent (enterFrame) {
_parent.t++;
if (_parent.t == 140) {
_root.attachMovie("fadeout", "fadeout", _root.getNextHighestDepth());
} else if (_parent.t == 160) {
_root.nextFrame();
}
}
Symbol 130 MovieClip [vitt] Frame 15
removeMovieClip(this);
Instance of Symbol 150 MovieClip in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 151 MovieClip "dat" in Symbol 152 MovieClip [svart] Frame 1
onClipEvent (load) {
y = _parent._y;
}
onClipEvent (enterFrame) {
if (_parent._y > (y + 450)) {
removeMovieClip(_parent);
}
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
removeMovieClip(_parent);
_root.death = 1;
}
_parent._y = _parent._y + 13;
if (((_parent._parent._parent.Hero._x - 20) - 9) > _parent._x) {
_parent._x = _parent._x + 9;
} else if (((_parent._parent._parent.Hero._x - 20) + 9) < _parent._x) {
_parent._x = _parent._x - 9;
}
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 159 Button
on (release) {
_root.language = "english";
play();
}
Symbol 163 Button
on (release) {
_root.language = "japanese";
play();
}
Symbol 167 Button
on (release) {
_root.language = "swedish";
play();
}
Instance of Symbol 173 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 173 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 173 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 10
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 7
stop();
Symbol 230 MovieClip Frame 20
_root.play();
stop();
Symbol 231 MovieClip Frame 1
stop();
Instance of Symbol 209 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.t >= 20) && (_parent.t <= 92)) {
_x = (_x - 6);
play();
} else if ((_parent.t > 120) && (_parent.t < 200)) {
if (_parent.t == 121) {
_root.pappa1.start();
}
mun.play();
}
}
Instance of Symbol 88 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
_parent.t = 0;
}
onClipEvent (enterFrame) {
_parent.t++;
if (_parent.t == 100) {
_parent.nextFrame();
} else if (_parent.t == 260) {
_parent.nextFrame();
_root.lars1.start();
_parent.mun.play();
} else if (_parent.t == 340) {
_parent.nextFrame();
}
}
Instance of Symbol 215 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Instance of Symbol 223 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Instance of Symbol 227 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Symbol 238 Button
on (release) {
_root.sound = "off";
_root.atomic.setVolume(0);
nextFrame();
}
Symbol 239 Button
on (release) {
_root.sound = "on";
_root.atomic.setVolume(100);
prevFrame();
}
Symbol 241 MovieClip Frame 1
if (_root.sound == "off") {
nextFrame();
}
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 7
stop();
Instance of Symbol 251 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
if (random(3) == 1) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(1);
}
}
Symbol 256 Button
on (release) {
_root.atomic.setVolume(0);
_root.sound = "off";
nextFrame();
}
Symbol 259 Button
on (release) {
_root.sound = "on";
_root.atomic.setVolume(100);
prevFrame();
}
Symbol 260 MovieClip Frame 1
if (_root.sound == "off") {
nextFrame();
} else {
stop();
}
Symbol 263 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 266 Button
on (release) {
_root.menucredits = 1;
_root.gotoAndStop("credits");
}
Symbol 269 Button
on (release) {
_root.fanfare.start();
_root.nextFrame()();
}
Symbol 272 Button
on (release) {
_root.atomic.setVolume(0);
_root.sound = "off";
nextFrame();
}
Symbol 275 Button
on (release) {
_root.atomic.setVolume(0);
_root.sound = "on";
prevFrame();
}
Symbol 276 MovieClip Frame 1
if (_root.sound == "off") {
nextFrame();
} else {
stop();
}
Symbol 279 Button
on (release) {
_root.fanfare.start();
_root.nextFrame()();
}
Symbol 282 Button
on (release) {
getURL ("http://www.newgrounds.com", _blank);
}
Symbol 285 Button
on (release) {
_root.menucredits = 1;
_root.gotoAndStop("credits");
}
Symbol 288 Button
on (release) {
_root.atomic.setVolume(0);
_root.sound = "off";
nextFrame();
}
Symbol 293 Button
on (release) {
_root.atomic.setVolume(0);
_root.sound = "on";
prevFrame();
}
Symbol 294 MovieClip Frame 1
if (_root.sound == "off") {
nextFrame();
} else {
stop();
}
Symbol 297 Button
on (release) {
_root.fanfare.start();
_root.nextFrame()();
}
Symbol 300 Button
on (release) {
getURL ("http://www.newgrounds.com", _blank);
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 8
stop();
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent._parent.key == 1) && (p != 1)) {
p = 1;
play();
}
if ((_parent._parent._parent.Hero.jump == 0) && (_parent.a.hitTest(_parent._parent._parent.Hero.hit))) {
if (_parent._parent._parent.key == 1) {
if (s != 1) {
_parent._parent._parent.Hero.xSpeed = 0;
_parent._parent._parent.Hero.ySpeed = 0;
_root.finish.start();
_root.control = 1;
s = 1;
_root.attachMovie("grade", "grade", _root.getNextHighestDepth());
}
}
}
}
Symbol 323 MovieClip Frame 1
stop();
Instance of Symbol 322 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.keyGet.start();
_parent._parent._parent.key = 1;
_parent.nextFrame();
}
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 8
_parent.gotoAndStop(random(3) + 1);
Symbol 331 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 2
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 3
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
Symbol 332 MovieClip Frame 1
stop();
Instance of Symbol 327 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.score = _root.score + 200;
_root.coin.start();
_root.coinNumber++;
_parent.nextFrame();
}
}
Instance of Symbol 338 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 344 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 344 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 338 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 344 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 253 MovieClip in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 253 MovieClip "moln" in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 253 MovieClip "moln" in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Symbol 378 MovieClip Frame 13
stop();
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 347 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (load) {
if (_parent.walkdistance < 0) {
_parent._xscale = -100;
}
x = _parent._x;
}
onClipEvent (enterFrame) {
if (_parent.walkdistance > 0) {
if (_parent._xscale == 100) {
if (_parent._x < (x - _parent.walkdistance)) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 4;
}
} else if (_parent._xscale == -100) {
if (_parent._x > x) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 4;
}
}
} else if (_parent._xscale == 100) {
if (_parent._x < x) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 4;
}
} else if (_parent._xscale == -100) {
if (_parent._x > (x - _parent.walkdistance)) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 4;
}
}
}
Instance of Symbol 151 MovieClip "hit" in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.5;
_root.score = _root.score + 1000;
_parent.nextFrame();
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Instance of Symbol 378 MovieClip in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
_root.camel.start();
}
Instance of Symbol 379 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1200;
}
Instance of Symbol 379 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -1200;
}
Symbol 385 MovieClip Frame 1
if (_root.deaths == NaN) {
_root.deaths = 1;
} else {
_root.deaths++;
}
Symbol 385 MovieClip Frame 28
_root.death = 0;
stop();
if (_root.lives <= 0) {
_root.atomic.stop();
_root.gotoAndPlay("gameover");
} else {
_root.gotoAndPlay("died");
}
Instance of Symbol 151 MovieClip "hit" in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
_parent.xSpeed = 0;
_parent.ySpeed = 0;
_parent.maxSpeed = 4;
_parent.accel = 0;
_parent.maxAccel = 10;
_parent.jumpHeight = 34;
_parent.fullJump = 0;
_parent.jump = 1;
_parent.djump = 0;
_parent.duck = 0;
}
onClipEvent (enterFrame) {
if (_root.control == 0) {
Right = Key.isDown(39);
Left = Key.isDown(37);
Down = Key.isDown(40);
Up = Key.isDown(38);
if (_root.death == 1) {
_parent.gotoAndStop(4);
} else {
if (_parent.jump == 1) {
if (!Up) {
s = 1;
}
if (_parent.duck == 0) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(3);
}
} else if (_parent.duck == 0) {
_parent.gotoAndStop(1);
} else {
_parent.gotoAndStop(3);
}
if (Down) {
_parent.duck = 1;
} else {
_parent.duck = 0;
}
if (Right && (_parent.duck == 0)) {
if (_parent.accel < _parent.maxAccel) {
_parent.accel = _parent.accel + 1.5;
}
_parent._xscale = 100;
if (_parent.jump == 0) {
_parent.a.play();
_parent.xSpeed = 4;
} else if (_parent.xSpeed < _parent.maxSpeed) {
_parent.xSpeed = _parent.xSpeed + 1.5;
} else {
_parent.xSpeed = _parent.maxSpeed;
}
} else if (Left && (_parent.duck == 0)) {
if (_parent.accel > (-_parent.maxAccel)) {
_parent.accel = _parent.accel - 1.5;
}
_parent._xscale = -100;
if (_parent.jump == 0) {
_parent.a.play();
_parent.xSpeed = -4;
} else if (_parent.xSpeed > (-_parent.maxSpeed)) {
_parent.xSpeed = _parent.xSpeed - 1.5;
} else {
_parent.xSpeed = -_parent.maxSpeed;
}
} else if (_parent.jump == 0) {
_parent.xSpeed = _parent.xSpeed / 1.3;
if ((_parent.xSpeed < 0.1) && (_parent.xSpeed > -0.1)) {
_parent.xSpeed = 0;
}
}
if (_parent.ySpeed < 30) {
if (_parent.jump == 1) {
_parent.ySpeed = _parent.ySpeed + 3;
} else {
_parent.ySpeed = _parent.ySpeed + 5;
}
}
if (Up) {
if (_parent.fullJump < 4) {
_parent.ySpeed = (-_parent.jumpHeight) * 0.8;
_parent.jump = 1;
_parent.fullJump++;
s = 1;
}
} else if (_parent.jump == 1) {
_parent.fullJump = 10;
}
if (_parent.ySpeed > 10) {
if (_parent._y > 3000) {
_root.death = 1;
_root.lives++;
}
_parent.jump = 1;
}
_parent._x = _parent._x + _parent.xSpeed;
_parent._x = _parent._x + _parent.accel;
_parent._y = _parent._y + _parent.ySpeed;
if (_parent.jump == 0) {
_parent.accel = _parent.accel / 1.2;
} else {
_parent.accel = _parent.accel / 1.1;
}
if ((_parent.accel < 0.1) && (_parent.accel > -0.1)) {
_parent.accel = 0;
}
}
}
if ((_parent.ySpeed <= 0) && (_parent.jump == 1)) {
while (_parent._parent.ground.ground.hitTest((_parent._x + _parent._parent._x) + 10, (_parent._y + _parent._parent._y) - 90, true)) {
_parent._y++;
_parent.ySpeed = 1;
}
while (_parent._parent.ground.ground.hitTest((_parent._x + _parent._parent._x) - 10, (_parent._y + _parent._parent._y) - 90, true)) {
_parent._y++;
_parent.ySpeed = 1;
}
}
if (_parent.ySpeed >= 0) {
while (_parent._parent.ground.ground.hitTest(_parent._x + _parent._parent._x, _parent._y + _parent._parent._y, true)) {
_parent._y--;
_parent.ySpeed = 0;
_parent.jump = 0;
_parent.fullJump = 0;
}
}
if (_parent.xSpeed > 0) {
while (_parent._parent.ground.ground.hitTest((_parent._x + _parent._parent._x) + 30, (_parent._y + _parent._parent._y) - 20, true)) {
_parent._x--;
}
} else if (_parent.xSpeed < 0) {
while (_parent._parent.ground.ground.hitTest((_parent._x + _parent._parent._x) - 30, (_parent._y + _parent._parent._y) - 20, true)) {
_parent._x++;
}
}
}
Instance of Symbol 385 MovieClip in Symbol 386 MovieClip Frame 4
onClipEvent (load) {
_root.lives--;
_root.ghost.start();
}
Symbol 403 Button
on (release) {
_root.sound = "off";
_root.atomic.setVolume(0);
nextFrame();
}
Symbol 404 MovieClip Frame 1
if (_root.sound == "off") {
nextFrame();
} else {
stop();
}
Symbol 407 Button
on (release, keyPress "q") {
if (_root.q == "high") {
_root.q = "medium";
_root._quality = "medium";
} else if (_root.q == "medium") {
_root.q = "low";
_root._quality = "low";
} else if (_root.q == "low") {
_root.q = "high";
_root._quality = "high";
}
}
Symbol 429 MovieClip Frame 13
stop();
Symbol 430 MovieClip Frame 1
stop();
Instance of Symbol 421 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
if (_parent.walkdistance < 0) {
_parent._xscale = -100;
}
x = _parent._x;
}
onClipEvent (enterFrame) {
if (_parent.walkdistance > 0) {
if (_parent._xscale == 100) {
if (_parent._x < (x - _parent.walkdistance)) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 4;
}
} else if (_parent._xscale == -100) {
if (_parent._x > x) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 4;
}
}
} else if (_parent._xscale == 100) {
if (_parent._x < x) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 4;
}
} else if (_parent._xscale == -100) {
if (_parent._x > (x - _parent.walkdistance)) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 4;
}
}
}
Instance of Symbol 151 MovieClip "hit" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.5;
_root.score = _root.score + 1000;
_parent.nextFrame();
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Instance of Symbol 429 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
_root.horse.start();
}
Instance of Symbol 430 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 850;
}
Instance of Symbol 379 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1100;
}
Instance of Symbol 379 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 800;
}
Symbol 451 MovieClip Frame 9
_parent.prevFrame();
Symbol 452 MovieClip Frame 1
stop();
Instance of Symbol 439 MovieClip in Symbol 452 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero) && (_root.death != 1)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 2.2;
_parent._parent._parent.Hero.jump = 1;
_parent._parent._parent.Hero.xSpeed = 0;
_root.bounce.start();
_parent.play();
}
}
Symbol 462 MovieClip Frame 13
stop();
Symbol 463 MovieClip Frame 1
stop();
Instance of Symbol 457 MovieClip in Symbol 463 MovieClip Frame 1
onClipEvent (load) {
if (_parent.walkdistance < 0) {
_parent._xscale = -100;
}
x = _parent._x;
}
onClipEvent (enterFrame) {
if (_parent.walkdistance > 0) {
if (_parent._xscale == 100) {
if (_parent._x < (x - _parent.walkdistance)) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 4;
}
} else if (_parent._xscale == -100) {
if (_parent._x > x) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 4;
}
}
} else if (_parent._xscale == 100) {
if (_parent._x < x) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 4;
}
} else if (_parent._xscale == -100) {
if (_parent._x > (x - _parent.walkdistance)) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 4;
}
}
}
Instance of Symbol 151 MovieClip "hit" in Symbol 463 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.5;
_root.score = _root.score + 1000;
_parent.nextFrame();
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 463 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Instance of Symbol 462 MovieClip in Symbol 463 MovieClip Frame 2
onClipEvent (load) {
_root.yeti.start();
}
Instance of Symbol 463 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -420;
}
Instance of Symbol 463 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -420;
}
Instance of Symbol 463 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 510;
}
Instance of Symbol 379 MovieClip in Symbol 470 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -1100;
}
Instance of Symbol 379 MovieClip in Symbol 470 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -700;
}
Instance of Symbol 430 MovieClip in Symbol 470 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 430 MovieClip in Symbol 470 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -200;
}
Instance of Symbol 379 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 430 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -200;
}
Instance of Symbol 253 MovieClip in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 253 MovieClip "moln" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 253 MovieClip "moln" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Symbol 489 MovieClip Frame 1
stop();
Instance of Symbol 248 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.5;
_parent._parent._parent.Hero.jump = 1;
_parent._parent._parent.whitebar = 1;
_root.blipp.start();
_parent.nextFrame();
}
}
Instance of Symbol 491 MovieClip in Symbol 492 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent._parent.whitebar == 1) && (s != 1)) {
s = 1;
_alpha = 0;
_parent._parent.ground.attachMovie("whitebar", "w" + _parent._parent.ground.getNextHighestDepth(), _parent._parent.ground.getNextHighestDepth(), {_x:_parent._x - _parent._parent.ground._x, _y:_parent._y - _parent._parent.ground._y});
}
}
Instance of Symbol 379 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 700;
}
Instance of Symbol 379 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 700;
}
Instance of Symbol 430 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 430 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Symbol 505 MovieClip Frame 15
stop();
Symbol 506 MovieClip Frame 1
stop();
Instance of Symbol 500 MovieClip in Symbol 506 MovieClip Frame 1
onClipEvent (load) {
if (_parent.walkdistance < 0) {
_parent._xscale = -100;
}
x = _parent._x;
}
onClipEvent (enterFrame) {
if (_parent.walkdistance > 0) {
if (_parent._xscale == 100) {
if (_parent._x < (x - _parent.walkdistance)) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 5;
}
} else if (_parent._xscale == -100) {
if (_parent._x > x) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 5;
}
}
} else if (_parent._xscale == 100) {
if (_parent._x < x) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 5;
}
} else if (_parent._xscale == -100) {
if (_parent._x > (x - _parent.walkdistance)) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 5;
}
}
}
Instance of Symbol 151 MovieClip "hit" in Symbol 506 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.5;
_root.score = _root.score + 1300;
_parent.nextFrame();
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 506 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Instance of Symbol 505 MovieClip in Symbol 506 MovieClip Frame 2
onClipEvent (load) {
_root.goat.start();
}
Symbol 509 MovieClip Frame 1
stop();
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.lives++;
_root.extraliv.start();
_parent.nextFrame();
}
}
Instance of Symbol 463 MovieClip in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 190;
}
Instance of Symbol 506 MovieClip in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 430 MovieClip in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 506 MovieClip in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 430 MovieClip in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 380;
}
Instance of Symbol 463 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -190;
}
Instance of Symbol 506 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 463 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 500;
}
Instance of Symbol 463 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -600;
}
Instance of Symbol 151 MovieClip "dat" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 506 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 463 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1330;
}
Instance of Symbol 506 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -200;
}
Instance of Symbol 463 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 190;
}
Symbol 561 MovieClip Frame 7
_parent.prevFrame();
Symbol 562 MovieClip Frame 1
stop();
Instance of Symbol 553 MovieClip in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.Hero.ySpeed > 0) {
if ((this.hitTest(_parent._parent._parent.Hero) && (_root.death != 1)) && (_parent._parent._parent.Hero.jump == 1)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 1.5;
_parent._parent._parent.Hero.jump = 1;
_parent._parent._parent.Hero.xSpeed = 0;
_root.bounce.start();
_parent.play();
}
}
}
Symbol 562 MovieClip Frame 2
stop();
Symbol 565 MovieClip Frame 1
stop();
Instance of Symbol 151 MovieClip "hit" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.Hero.feet) && (_parent._parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent._parent.Hero.jumpHeight) * 0.7;
_parent._parent.hits++;
if ((_parent._parent.hits == 8) && (u != 1)) {
u = 1;
_parent._parent.death = 1;
_parent._parent.gotoAndPlay(20);
} else {
_parent.play();
}
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Instance of Symbol 151 MovieClip "hit" in Symbol 569 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.Hero.feet) && (_parent._parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent._parent.Hero.jumpHeight) * 0.7;
_parent._parent.hits++;
if ((_parent._parent.hits == 3) && (u != 1)) {
u = 1;
_parent._parent.death = 1;
_parent._parent.gotoAndPlay(20);
} else {
_parent.play();
}
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 569 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Symbol 600 MovieClip Frame 18
if (_xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
active = 0;
gotoAndStop (1);
Instance of Symbol 322 MovieClip in Symbol 600 MovieClip Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit) && (_alpha != 0)) {
_root.keyGet.start();
_parent._parent._parent.key = 1;
_alpha = 0;
}
}
Symbol 600 MovieClip Frame 67
stop();
Instance of Symbol 600 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (load) {
hits = 0;
stop();
run = 0;
x = _x;
at = 0;
active = 0;
}
onClipEvent (enterFrame) {
if (awake != 1) {
if (_parent._parent.Hero._x > (_x - 670)) {
_root.yeti.start();
awake = 1;
}
}
if (death == 1) {
} else if (awake == 1) {
if (run == 1) {
if (_x < (x - 860)) {
_root.thud.start();
run = 0;
pos = 1;
play();
} else {
_x = (_x - 20);
}
} else if (run == 2) {
if (_x == x) {
_root.thud.start();
run = 0;
pos = 2;
play();
} else {
_x = (_x + 20);
}
} else {
at++;
if (_x == x) {
pos = 2;
}
if ((at == 35) && (active != 1)) {
at = 0;
if (pos == 2) {
run = 1;
active = 1;
} else if (pos == 1) {
run = 2;
active = 1;
}
}
}
}
}
Instance of Symbol 173 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 173 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Instance of Symbol 173 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x < -150) {
_x = 1200;
}
_x = (_x - 1);
}
Symbol 628 MovieClip Frame 7
stop();
Symbol 636 MovieClip Frame 15
stop();
Symbol 637 MovieClip Frame 1
stop();
Instance of Symbol 151 MovieClip "hit" in Symbol 637 MovieClip Frame 1
onClipEvent (load) {
s = 0;
b = 0;
if (_parent.walkdistance < 0) {
_parent._xscale = -100;
}
x = _parent._x;
}
onClipEvent (enterFrame) {
if (b > 0) {
b++;
}
if ((b == 0) or (b > 10)) {
if (_parent.walkdistance > 0) {
if (_parent._xscale == 100) {
if (_parent._x < (x - _parent.walkdistance)) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 2;
}
} else if (_parent._xscale == -100) {
if (_parent._x > x) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 2;
}
}
} else if (_parent._xscale == 100) {
if (_parent._x < x) {
_parent._xscale = -100;
} else {
_parent._x = _parent._x - 2;
}
} else if (_parent._xscale == -100) {
if (_parent._x > (x - _parent.walkdistance)) {
_parent._xscale = 100;
} else {
_parent._x = _parent._x + 2;
}
}
}
if ((b == 0) or (b > 10)) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.ySpeed > 0)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.7;
s++;
if (s == 1) {
_parent.nextFrame();
b = 1;
} else if (s == 2) {
_root.score = _root.score + 1800;
_parent.nextFrame();
}
}
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 637 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit) && (_root.control == 0)) {
if (!_parent.hit.hitTest(_parent._parent._parent.Hero.feet)) {
_root.death = 1;
}
}
}
Instance of Symbol 628 MovieClip in Symbol 637 MovieClip Frame 2
onClipEvent (load) {
_root.seagull.start(0.2);
}
Instance of Symbol 636 MovieClip in Symbol 637 MovieClip Frame 3
onClipEvent (load) {
_root.seagull.start();
}
Instance of Symbol 639 MovieClip in Symbol 640 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent._parent.blackbar == 1) && (s != 1)) {
s = 1;
_alpha = 0;
_parent._parent.ground.attachMovie("blackbar", "b" + _parent._parent.ground.getNextHighestDepth(), _parent._parent.ground.getNextHighestDepth(), {_x:_parent._x - _parent._parent.ground._x, _y:_parent._y - _parent._parent.ground._y});
}
}
Symbol 644 MovieClip Frame 1
stop();
Instance of Symbol 642 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet)) {
_parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent.Hero.jumpHeight) * 0.5;
_parent._parent._parent.Hero.jump = 1;
_parent._parent._parent.blackbar = 1;
_root.blipp.start();
_parent.nextFrame();
}
}
Instance of Symbol 430 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 210;
}
Instance of Symbol 637 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 120;
}
Instance of Symbol 379 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 400;
}
Instance of Symbol 430 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 210;
}
Instance of Symbol 463 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 540;
}
Instance of Symbol 463 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -180;
}
Instance of Symbol 463 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 840;
}
Instance of Symbol 637 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 120;
}
Instance of Symbol 463 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 770;
}
Instance of Symbol 525 MovieClip in Symbol 659 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (80);
}
Instance of Symbol 379 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -200;
}
Instance of Symbol 637 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 400;
}
Instance of Symbol 637 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1000;
}
Instance of Symbol 637 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1000;
}
Instance of Symbol 379 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 637 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 470;
}
Instance of Symbol 379 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 430;
}
Instance of Symbol 637 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 400;
}
Instance of Symbol 637 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 500;
}
Instance of Symbol 379 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 600;
}
Instance of Symbol 379 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 600;
}
Instance of Symbol 379 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -200;
}
Instance of Symbol 379 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 151 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.ground.attachMovie("whitebar", "w" + _parent._parent.ground.getNextHighestDepth(), _parent._parent.ground.getNextHighestDepth(), {_alpha:0, _x:_parent._x - _parent._parent.ground._x, _y:_parent._y - _parent._parent.ground._y});
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.jump == 0)) {
_parent._parent._parent.Hero._x = _parent._parent._parent.Hero._x - 8;
}
}
Instance of Symbol 151 MovieClip in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.ground.attachMovie("whitebar", "w" + _parent._parent.ground.getNextHighestDepth(), _parent._parent.ground.getNextHighestDepth(), {_alpha:0, _x:_parent._x - _parent._parent.ground._x, _y:_parent._y - _parent._parent.ground._y});
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.feet) && (_parent._parent._parent.Hero.jump == 0)) {
_parent._parent._parent.Hero._x = _parent._parent._parent.Hero._x + 8;
}
}
Instance of Symbol 379 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1000;
}
Instance of Symbol 379 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 379 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -330;
}
Instance of Symbol 379 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 1000;
}
Instance of Symbol 637 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -600;
}
Instance of Symbol 379 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 330;
}
Instance of Symbol 637 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 320;
}
Instance of Symbol 637 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -320;
}
Instance of Symbol 379 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 379 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 260;
}
Instance of Symbol 525 MovieClip in Symbol 697 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (80);
}
Instance of Symbol 379 MovieClip in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 379 MovieClip in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -200;
}
Instance of Symbol 637 MovieClip in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
walkdistance = -1000;
}
Instance of Symbol 637 MovieClip in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 700;
}
Instance of Symbol 151 MovieClip "dat" in Symbol 700 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dat.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 379 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 500;
}
Instance of Symbol 379 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 200;
}
Instance of Symbol 379 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 500;
}
Instance of Symbol 379 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 500;
}
Instance of Symbol 637 MovieClip in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
walkdistance = 460;
}
Instance of Symbol 721 MovieClip in Symbol 722 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.Hero.feet)) {
_parent._parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent._parent.Hero.jumpHeight) * 1.3;
_parent._parent._parent._parent.Hero.xSpeed = _parent._parent._parent._parent.Hero.xSpeed * 1.5;
if (_parent._parent.itai != 1) {
_parent._parent.pains++;
}
if (_parent._parent.pains >= 3) {
_parent._parent.death = 1;
_root.yeti2.start();
} else if (_parent._parent.itai != 1) {
_root.yeti2.start();
_parent._parent.itai = 1;
}
}
}
Instance of Symbol 150 MovieClip in Symbol 727 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 755 MovieClip Frame 1
jump = 0;
active = 0;
stop();
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Symbol 755 MovieClip Frame 14
jump = 1;
stop();
Instance of Symbol 727 MovieClip in Symbol 755 MovieClip Frame 14
onClipEvent (load) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Symbol 755 MovieClip Frame 15
_root.thud.start();
jump = 0;
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Symbol 755 MovieClip Frame 22
gotoAndPlay (35);
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Symbol 755 MovieClip Frame 40
_parent.attachMovie("svart", "s" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x + 250, _y:_y + 310});
if (random(3) == 1) {
gotoAndStop (1);
} else {
gotoAndPlay (34);
}
Symbol 755 MovieClip Frame 45
active = 1;
Instance of Symbol 151 MovieClip "dat" in Symbol 755 MovieClip Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip in Symbol 755 MovieClip Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 755 MovieClip Frame 82
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 755 MovieClip Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Instance of Symbol 151 MovieClip "dat" in Symbol 755 MovieClip Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit)) {
_root.death = 1;
}
}
Symbol 755 MovieClip Frame 184
p = 0;
itai = 0;
active = 0;
pleasejump = 1;
gotoAndStop (1);
Symbol 755 MovieClip Frame 190
play();
_root.score = _root.score + 20000;
Instance of Symbol 721 MovieClip in Symbol 755 MovieClip Frame 248
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent._parent.Hero.feet)) {
_root.yeti2.stop();
_root.yeti2.start();
_parent._parent.itai = 1;
_parent._parent._parent._parent.Hero.ySpeed = (-_parent._parent._parent._parent.Hero.jumpHeight) * 1.2;
_parent._parent._parent._parent.Hero.xSpeed = _parent._parent._parent._parent.Hero.xSpeed * 1.3;
}
}
Symbol 755 MovieClip Frame 263
stop();
Instance of Symbol 322 MovieClip in Symbol 755 MovieClip Frame 263
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.Hero.hit) && (_alpha != 0)) {
_root.keyGet.start();
_parent._parent._parent.key = 1;
_alpha = 0;
}
}
Instance of Symbol 755 MovieClip in Symbol 756 MovieClip Frame 1
onClipEvent (load) {
loc = "b";
j = 0;
x = _x;
y = _y;
pains = 0;
}
onClipEvent (enterFrame) {
if (_x < (x - 100)) {
loc = "a";
} else if (_x > (x + 100)) {
loc = "c";
} else {
loc = "b";
}
if (death == 1) {
if (_y < y) {
_y = (_y + 50);
} else if (d != 1) {
_y = y;
j = 0;
jump = 0;
d = 1;
gotoAndPlay (190);
}
} else {
if (jump == 1) {
j++;
if ((j > 11) && (j <= 31)) {
if ((m == "ba") or (m == "cb")) {
_x = (_x - 23);
} else if ((m == "bc") or (m == "ab")) {
_x = (_x + 23);
} else if (m == "ac") {
_x = (_x + 46);
} else if (m == "ca") {
_x = (_x - 46);
}
}
if (itai == 1) {
if (_y < y) {
_y = (_y + 50);
} else {
jump = 0;
play();
j = 0;
_y = y;
}
} else if ((j > 1) && (j < 20)) {
_y = (_y - 50);
} else if ((j > 21) && (j < 41)) {
_y = (_y + 50);
} else if (j >= 41) {
if ((m == "ba") or (m == "ca")) {
loc = "a";
} else if ((m == "ab") or (m == "cb")) {
loc = "b";
} else if ((m == "ac") or (m == "bc")) {
loc = "c";
}
jump = 0;
play();
j = 0;
_y = y;
}
}
if (itai == 1) {
if (p != 1) {
gotoAndPlay (45);
p = 1;
}
} else if ((active != 1) && ((random(50) == 1) or (pleasejump == 1))) {
pleasejump = 0;
active = 1;
play();
if (loc == "b") {
if (_parent._parent.Hero.hitTest(_parent._parent.a)) {
m = "ba";
} else if (_parent._parent.Hero.hitTest(_parent._parent.c)) {
m = "bc";
} else {
m = 0;
}
} else if (loc == "a") {
if (_parent._parent.Hero.hitTest(_parent._parent.b)) {
m = "ab";
} else if (_parent._parent.Hero.hitTest(_parent._parent.c)) {
m = "ac";
} else {
m = 0;
}
} else if (_parent._parent.Hero.hitTest(_parent._parent.a)) {
m = "ca";
} else if (_parent._parent.Hero.hitTest(_parent._parent.b)) {
m = "cb";
} else {
m = 0;
}
}
}
}
Instance of Symbol 150 MovieClip "b" in Symbol 757 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 150 MovieClip "c" in Symbol 757 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 150 MovieClip "a" in Symbol 757 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 777 MovieClip Frame 1
stop();
Instance of Symbol 209 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.t >= 20) && (_parent.t <= 92)) {
_x = (_x - 6);
play();
} else if ((_parent.t > 120) && (_parent.t < 230)) {
if (_parent.t == 121) {
_root.pappa2.start();
}
mun.play();
}
}
Instance of Symbol 88 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (load) {
_parent.t = 0;
}
onClipEvent (enterFrame) {
_parent.t++;
if (_parent.t == 100) {
_parent.nextFrame();
} else if ((_parent.t >= 280) and (_parent.t <= 292)) {
if (_parent.t == 280) {
_root.lars2.start();
_parent.nextFrame();
}
_parent.mun.play();
} else if (_parent.t == 360) {
_parent.nextFrame();
}
}
Instance of Symbol 772 MovieClip in Symbol 777 MovieClip Frame 2
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Instance of Symbol 776 MovieClip in Symbol 777 MovieClip Frame 3
onClipEvent (load) {
if (_root.language == "japanese") {
nextFrame();
} else if (_root.language == "swedish") {
gotoAndStop (3);
} else {
stop();
}
}
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 35
_parent.black.play();
stop();
Symbol 813 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 35
_root.lives = _root.baselives;
if (_root.gameover == 1) {
andso.start(0, 99);
_root.gameover = 0;
_root.gotoAndStop("menu");
} else {
_parent.play();
}