Frame 1
ifFrameLoaded (49) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
stop();
lap = 1;
emess = "";
Frame 4
startDrag ("/player", true, 50, 150, 650, 310);
Mouse.hide(0);
playerr = getProperty("player", _rotation);
status = "alive";
score = 0;
trackr = getProperty("tracks", _rotation);
Frame 5
if (hy < 150) {
hy = 150;
}
if (310 < hy) {
hy = 310;
}
if ((_root.tracks.electric.hitTest(px, py, true) and (58 < Number(getProperty("/tracks/electric", _currentframe)))) and (Number(getProperty("/tracks/electric", _currentframe)) < 70)) {
status = "dead";
}
if ((_root.tracks.leftob.hitTest(px, py, true) and (57 < Number(getProperty("/tracks/leftob", _currentframe)))) and (Number(getProperty("/tracks/leftob", _currentframe)) < 60)) {
status = "dead";
}
if ((_root.tracks.leftob.hitTest(px, py, true) and (99 < Number(getProperty("/tracks/leftob", _currentframe)))) and (Number(getProperty("/tracks/leftob", _currentframe)) < 102)) {
status = "dead";
}
if ((_root.tracks.rightob.hitTest(px, py, true) and (57 < Number(getProperty("/tracks/rightob", _currentframe)))) and (Number(getProperty("/tracks/rightob", _currentframe)) < 60)) {
status = "dead";
}
if ((_root.tracks.rightob.hitTest(px, py, true) and (99 < Number(getProperty("/tracks/rightob", _currentframe)))) and (Number(getProperty("/tracks/rightob", _currentframe)) < 102)) {
status = "dead";
}
if (_root.tracks.playshad.hitTest(px, py, true)) {
status = "dead";
}
if ((status == "alive") and (getProperty("/tracks/finip", _currentframe) == 815)) {
lap = lap + 1;
tellTarget ("/tracks/leftob") {
gotoAndPlay (1);
};
tellTarget ("/tracks/rightob") {
gotoAndPlay (1);
};
tellTarget ("/tracks/electric") {
gotoAndPlay (1);
};
}
if (lap == 4) {
gotoAndStop (50);
}
if (status == "dead") {
tellTarget ("/player") {
gotoAndPlay (15);
stopDrag();
};
setProperty("/tracks/playshad", _visible , 0);
_root.warn.gotoAndStop(1);
gotoAndPlay (10);
}
px = getProperty("player", _x);
py = getProperty("player", _y);
if (230 < py) {
score = score + 100;
_root.tracks.leftcol.lbs.gotoAndStop(2);
_root.tracks.ritecol.rbs.gotoAndStop(2);
} else {
_root.tracks.leftcol.lbs.gotoAndStop(1);
_root.tracks.ritecol.rbs.gotoAndStop(1);
}
if (py < 155) {
score = score + 200;
_root.tracks.leftcol.lts.gotoAndStop(2);
_root.tracks.ritecol.rts.gotoAndStop(2);
} else {
_root.tracks.leftcol.lts.gotoAndStop(1);
_root.tracks.ritecol.rts.gotoAndStop(1);
}
if ((0 < px) and (px < 300)) {
step = -1;
vstep = 1;
}
if ((300 < px) and (px < 400)) {
step = 0;
vstep = 0;
}
if ((400 < px) and (px < 700)) {
step = 1;
vstep = -1;
}
if (trackr < -30) {
step = 1;
}
if (30 < trackr) {
step = -1;
}
if (playerr < -30) {
vstep = 1;
}
if (30 < playerr) {
vstep = -1;
}
trackr = trackr + step;
playerr = playerr + vstep;
if ((getProperty("/tracks/playshad", _y) + 100) < py) {
_root.warn.gotoAndPlay(2);
} else {
_root.warn.gotoAndStop(1);
}
setProperty("player", _rotation , playerr);
setProperty("/player/pchar", _rotation , (-playerr) / 2);
setProperty("/tracks/playshad", _x , px - 328);
if (py < 200) {
setProperty("/tracks/playshad", _alpha , 40);
}
if ((200 < py) and (py < 250)) {
setProperty("/tracks/playshad", _alpha , 60);
}
if ((250 < py) and (py < 300)) {
setProperty("/tracks/playshad", _alpha , 80);
}
tx = getProperty("/tracks", _x);
if (px < 350) {
tx = tx + 2;
}
if (350 < px) {
tx = tx - 2;
}
if (tx < 267) {
tx = 267;
}
if (387 < tx) {
tx = 387;
}
ty = getProperty("/tracks", _y);
if (py < 250) {
ty = ty + 2;
}
if (150 < py) {
ty = ty - 2;
}
if (ty < 118) {
ty = 118;
}
if (300 < ty) {
ty = 300;
}
setProperty("/tracks", _y , ty);
setProperty("/tracks", _x , tx);
x = getProperty("player", _x);
setProperty("playshad", _x , x);
setProperty("tracks", _rotation , trackr);
lite = random(1000);
if (lite < 10) {
tracks.skys.gotoAndPlay(5);
}
Frame 6
gotoAndPlay (5);
Frame 47
Mouse.show(0);
gotoAndPlay (1);
Frame 50
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
Mouse.show();
if (400000 < score) {
emess = "You've beaten the high score!!!!";
} else {
emess = "";
}
Symbol 12 Button
on (release) {
gotoAndPlay (3);
}
Symbol 20 MovieClip Frame 10
stop();
Symbol 29 MovieClip Frame 1
thun = random(25);
if (thun eq 1) {
gotoAndPlay (3);
}
if (thun eq 24) {
gotoAndPlay (5);
}
Symbol 29 MovieClip Frame 2
gotoAndPlay (1);
Symbol 29 MovieClip Frame 4
gotoAndPlay (1);
Symbol 29 MovieClip Frame 6
gotoAndPlay (1);
Symbol 32 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 56
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 501
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 50
stop();
Symbol 47 MovieClip Frame 100
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 50
stop();
Symbol 57 MovieClip Frame 100
stop();
Symbol 60 MovieClip Frame 16
gotoAndPlay (1);
Symbol 62 MovieClip Frame 22
gotoAndPlay (7);
Symbol 65 MovieClip Frame 120
gotoAndPlay (1);
Symbol 69 MovieClip Frame 1
ltmap = "00000010010101301101018001000001010004000000000400000";
ctmap = "c0200000100000000000001000001000000000000101010000500";
rtmap = "00000000000010110010100100010100001000040100000004000";
np3 = 1;
Symbol 69 MovieClip Frame 2
po3 = substring(ctmap, np3, 1);
if (po3 == "0") {
gotoAndPlay (3);
}
if (po3 == "1") {
gotoAndPlay (31);
}
if (po3 == "2") {
tellTarget ("/tracks/leftcol") {
gotoAndPlay (2);
};
tellTarget ("/tracks/ritecol") {
gotoAndPlay (2);
};
}
if (po3 == "c") {
gotoAndPlay (70);
}
if (po3 == "5") {
tellTarget ("/tracks/leftcol") {
gotoAndPlay (51);
};
tellTarget ("/tracks/ritecol") {
gotoAndPlay (51);
};
}
Symbol 69 MovieClip Frame 30
np3 = np3 + 1;
gotoAndPlay (2);
Symbol 69 MovieClip Frame 61
np3 = np3 + 1;
gotoAndPlay (2);
Symbol 69 MovieClip Frame 101
np3 = np3 + 1;
gotoAndPlay (2);
Symbol 72 MovieClip Frame 1
ltmap = "00000010010101301101018001000001010004000000000400000";
ctmap = "c0200000100000000000001000001000000000000101010000500";
rtmap = "00000000000010110010100100010100001000040100000004000";
np2 = 1;
Symbol 72 MovieClip Frame 2
po2 = substring(rtmap, np2, 1);
if (po2 == "0") {
gotoAndPlay (3);
}
if (po2 == "1") {
gotoAndPlay (31);
}
if (po2 == "4") {
gotoAndPlay (70);
}
Symbol 72 MovieClip Frame 30
np2 = np2 + 1;
gotoAndPlay (2);
Symbol 72 MovieClip Frame 61
np2 = np2 + 1;
gotoAndPlay (2);
Symbol 72 MovieClip Frame 100
np2 = np2 + 1;
gotoAndPlay (2);
Symbol 73 MovieClip Frame 1
ltmap = "00000010010101301101018001000001010004000000000400000";
ctmap = "c0200000100000000000001000001000000000000101010000500";
rtmap = "00000000000010110010100100010100001000040100000004000";
np = 1;
Symbol 73 MovieClip Frame 2
po = substring(ltmap, np, 1);
if (po == "0") {
gotoAndPlay (3);
}
if (po == "1") {
gotoAndPlay (31);
}
if (po == "4") {
gotoAndPlay (70);
}
if (po == "8") {
tellTarget ("/tracks/finip") {
gotoAndPlay (2);
};
}
if (po == "3") {
tellTarget ("/tracks/city") {
gotoAndPlay (2);
};
}
Symbol 73 MovieClip Frame 30
np = np + 1;
gotoAndPlay (2);
Symbol 73 MovieClip Frame 61
np = np + 1;
gotoAndPlay (2);
Symbol 73 MovieClip Frame 102
np = np + 1;
gotoAndPlay (2);
Symbol 76 MovieClip Frame 1
stop();
stop();
stop();
stop();
Symbol 89 MovieClip Frame 21
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();
Symbol 103 Button
on (press) {
gotoAndStop (1);
}