Combined Code
frame 1 {
stop();
}
movieClip 15 {
}
movieClip 16 {
}
button 20 {
on (release) {
gotoAndPlay(2);
}
}
frame 2 {
stop();
}
movieClip 30 {
}
movieClip 31 {
}
movieClip 34 {
}
instance car of movieClip 34 {
onClipEvent (load) {
moveSpeed = 10;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x += moveSpeed;
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
} else {
if (Key.isDown(40)) {
this._y += moveSpeed;
} else {
if (Key.isDown(37)) {
this._x -= moveSpeed;
} else {
if (Key.isDown(40)) {
this._x -= moveSpeed;
this._y += moveSpeed;
}
}
}
}
}
if (_root.land.hitTest(_x + x, _y + y, true)) {
this._x = 260;
this._y = 583;
}
if (_root.água.hitTest(_x + x, _y + y, true)) {
this._x = 260;
this._y = 583;
tellTarget ('_root') {
gotoAndStop('fimlabi');
}
}
if (_root.fera.hitTest(_x + x, _y + y, true)) {
this._x = 260;
this._y = 583;
tellTarget ('_root') {
gotoAndStop('fimlabi');
}
}
if (_root.cana.hitTest(_x + x, _y + y, true)) {
this._x = 260;
this._y = 583;
tellTarget ('_root') {
gotoAndStop('ganhoulabi');
}
}
}
}
movieClip 36 {
}
movieClip 37 {
}
movieClip 38 {
frame 1 {
..:timerviagem = '60';
}
frame 13 {
..:timerviagem -= 1;
if (..:timerviagem == 0) {
tellTarget ('_root') {
gotoAndPlay('fimlabi');
}
} else {
gotoAndPlay(2);
}
}
}
frame 3 {
stop();
}
movieClip 46 {
}
button 49 {
on (release) {
gotoAndPlay(1);
}
}
frame 4 {
stop();
}
button 54 {
on (release) {
gotoAndPlay(1);
}
}