Frame 1
ifFrameLoaded (42) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 6
player.xspeed = 0;
player.yspeed = 0;
if (l2 == 1) {
setProperty("b2", _alpha , "100");
}
if (l3 == 1) {
setProperty("b3", _alpha , "100");
}
if (l4 == 1) {
setProperty("b4", _alpha , "100");
}
if (l5 == 1) {
setProperty("b5", _alpha , "100");
}
Frame 7
if (Key.isDown(Key.left)) {
player.xspeed = -5;
tellTarget ("player") {
gotoAndStop ("esquerda");
};
} else if (Key.isDown(Key.right)) {
player.xspeed = 5;
tellTarget ("player") {
gotoAndStop ("direita");
};
} else if (Key.isDown(Key.up)) {
player.yspeed = -5;
tellTarget ("player") {
gotoAndStop ("up");
};
} else if (Key.isDown(Key.down)) {
player.yspeed = 5;
tellTarget ("player") {
gotoAndStop ("down");
};
} else {
player.yspeed = 0;
player.xspeed = 0;
}
x = player._x + player.xspeed;
y = player._y + player.yspeed;
if (bkg.hittest(x, player._y, true)) {
player._x = x;
} else {
player.xspeed = 0;
}
if (bkg.hittest(player._x, y, true)) {
player._y = y;
} else {
player.yspeed = 0;
}
if (pit.hittest(player._x, y, true)) {
gotoAndPlay (9);
}
Frame 8
gotoAndPlay (7);
Frame 9
stop();
l2 = 1;
setProperty("b2", _alpha , "0");
Frame 15
player.xspeed = 0;
player.yspeed = 0;
if (l2 == 1) {
setProperty("b2", _alpha , "100");
}
if (l3 == 1) {
setProperty("b3", _alpha , "100");
}
if (l4 == 1) {
setProperty("b4", _alpha , "100");
}
if (l5 == 1) {
setProperty("b5", _alpha , "100");
}
Frame 16
if (Key.isDown(Key.left)) {
player.xspeed = -5;
tellTarget ("player") {
gotoAndStop ("esquerda");
};
} else if (Key.isDown(Key.right)) {
player.xspeed = 5;
tellTarget ("player") {
gotoAndStop ("direita");
};
} else if (Key.isDown(Key.up)) {
player.yspeed = -5;
tellTarget ("player") {
gotoAndStop ("up");
};
} else if (Key.isDown(Key.down)) {
player.yspeed = 5;
tellTarget ("player") {
gotoAndStop ("down");
};
} else {
player.yspeed = 0;
player.xspeed = 0;
}
x = player._x + player.xspeed;
y = player._y + player.yspeed;
if (bkg.hittest(x, player._y, true)) {
player._x = x;
} else {
player.xspeed = 0;
}
if (bkg.hittest(player._x, y, true)) {
player._y = y;
} else {
player.yspeed = 0;
}
if (riba.hittest(player._x, y, true)) {
gotoAndPlay (18);
}
Frame 17
gotoAndPlay (16);
Frame 18
stop();
l3 = 1;
setProperty("b3", _alpha , "0");
Frame 24
player.xspeed = 0;
player.yspeed = 0;
if (l2 == 1) {
setProperty("b2", _alpha , "100");
}
if (l3 == 1) {
setProperty("b3", _alpha , "100");
}
if (l4 == 1) {
setProperty("b4", _alpha , "100");
}
if (l5 == 1) {
setProperty("b5", _alpha , "100");
}
Frame 25
if (Key.isDown(Key.left)) {
player.xspeed = -5;
tellTarget ("player") {
gotoAndStop ("esquerda");
};
} else if (Key.isDown(Key.right)) {
player.xspeed = 5;
tellTarget ("player") {
gotoAndStop ("direita");
};
} else if (Key.isDown(Key.up)) {
player.yspeed = -5;
tellTarget ("player") {
gotoAndStop ("up");
};
} else if (Key.isDown(Key.down)) {
player.yspeed = 5;
tellTarget ("player") {
gotoAndStop ("down");
};
} else {
player.yspeed = 0;
player.xspeed = 0;
}
x = player._x + player.xspeed;
y = player._y + player.yspeed;
if (bkg.hittest(x, player._y, true)) {
player._x = x;
} else {
player.xspeed = 0;
}
if (bkg.hittest(player._x, y, true)) {
player._y = y;
} else {
player.yspeed = 0;
}
if (fifi.hittest(player._x, y, true)) {
gotoAndPlay (27);
}
Frame 26
gotoAndPlay (25);
Frame 27
stop();
l4 = 1;
setProperty("b4", _alpha , "0");
Frame 33
player.xspeed = 0;
player.yspeed = 0;
if (l2 == 1) {
setProperty("b2", _alpha , "100");
}
if (l3 == 1) {
setProperty("b3", _alpha , "100");
}
if (l4 == 1) {
setProperty("b4", _alpha , "100");
}
if (l5 == 1) {
setProperty("b5", _alpha , "100");
}
Frame 34
if (Key.isDown(Key.left)) {
player.xspeed = -5;
tellTarget ("player") {
gotoAndStop ("esquerda");
};
} else if (Key.isDown(Key.right)) {
player.xspeed = 5;
tellTarget ("player") {
gotoAndStop ("direita");
};
} else if (Key.isDown(Key.up)) {
player.yspeed = -5;
tellTarget ("player") {
gotoAndStop ("up");
};
} else if (Key.isDown(Key.down)) {
player.yspeed = 5;
tellTarget ("player") {
gotoAndStop ("down");
};
} else {
player.yspeed = 0;
player.xspeed = 0;
}
x = player._x + player.xspeed;
y = player._y + player.yspeed;
if (bkg.hittest(x, player._y, true)) {
player._x = x;
} else {
player.xspeed = 0;
}
if (bkg.hittest(player._x, y, true)) {
player._y = y;
} else {
player.yspeed = 0;
}
if (estopa.hittest(player._x, y, true)) {
gotoAndPlay (36);
}
Frame 35
gotoAndPlay (34);
Frame 36
stop();
l5 = 1;
setProperty("b5", _alpha , "0");
Frame 42
player.xspeed = 0;
player.yspeed = 0;
if (l2 == 1) {
setProperty("b2", _alpha , "100");
}
if (l3 == 1) {
setProperty("b3", _alpha , "100");
}
if (l4 == 1) {
setProperty("b4", _alpha , "100");
}
if (l5 == 1) {
setProperty("b5", _alpha , "100");
}
Frame 43
if (Key.isDown(Key.left)) {
player.xspeed = -5;
tellTarget ("player") {
gotoAndStop ("esquerda");
};
} else if (Key.isDown(Key.right)) {
player.xspeed = 5;
tellTarget ("player") {
gotoAndStop ("direita");
};
} else if (Key.isDown(Key.up)) {
player.yspeed = -5;
tellTarget ("player") {
gotoAndStop ("up");
};
} else if (Key.isDown(Key.down)) {
player.yspeed = 5;
tellTarget ("player") {
gotoAndStop ("down");
};
} else {
player.yspeed = 0;
player.xspeed = 0;
}
x = player._x + player.xspeed;
y = player._y + player.yspeed;
if (bkg.hittest(x, player._y, true)) {
player._x = x;
} else {
player.xspeed = 0;
}
if (bkg.hittest(player._x, y, true)) {
player._y = y;
} else {
player.yspeed = 0;
}
if (croc.hittest(player._x, y, true)) {
gotoAndPlay (45);
}
Frame 44
gotoAndPlay (43);
Frame 45
stop();
Symbol 23 Button
on (release) {
gotoAndPlay (6);
}
Symbol 30 MovieClip Frame 8
if (Key.isDown(Key.right)) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 31 MovieClip Frame 7
if (Key.isDown(Key.left)) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 34 MovieClip Frame 6
if (Key.isDown(Key.down)) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 37 MovieClip Frame 6
if (Key.isDown(Key.up)) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 3
stop();
Symbol 38 MovieClip Frame 4
stop();
Symbol 42 Button
on (release) {
gotoAndPlay (6);
}
Symbol 43 Button
on (release) {
gotoAndPlay (1);
}
Symbol 56 Button
on (release) {
if (l2 == 1) {
gotoAndPlay (15);
}
}
Symbol 57 Button
on (release) {
if (l3 == 1) {
gotoAndPlay (24);
}
}
Symbol 58 Button
on (release) {
if (l4 == 1) {
gotoAndPlay (33);
}
}
Symbol 59 Button
on (release) {
if (l5 == 1) {
gotoAndStop (42);
}
}
Symbol 65 Button
on (release) {
gotoAndPlay (15);
}
Symbol 69 Button
on (release) {
gotoAndPlay (24);
}
Symbol 74 Button
on (release) {
gotoAndPlay (33);
}
Symbol 79 Button
on (release) {
gotoAndPlay (42);
}