Frame 1
ifFrameLoaded (19) {
gotoAndPlay (12);
}
Frame 10
ifFrameLoaded (19) {
gotoAndPlay (12);
}
Frame 11
gotoAndPlay (1);
Frame 12
cmove = "1";
lmove = "1";
level = "0";
score = "0";
storelife = "3";
deadcount = "100";
stop();
Frame 13
stopAllSounds();
cmove = cmove + "1";
lmove = lmove + "1";
level = level + "1";
timer = "3000";
win = "0";
life = storelife;
Frame 15
if (win >= "5") {
storelife = life;
score = score + timer;
setProperty("/player", _y , "390");
gotoAndPlay (13);
}
if (win < "1") {
setProperty("/pad1", _alpha , "0");
setProperty("/pad2", _alpha , "0");
setProperty("/pad3", _alpha , "0");
setProperty("/pad4", _alpha , "0");
setProperty("/pad5", _alpha , "0");
} else if (win < "2") {
setProperty("/pad1", _alpha , "100");
setProperty("/pad2", _alpha , "0");
setProperty("/pad3", _alpha , "0");
setProperty("/pad4", _alpha , "0");
setProperty("/pad5", _alpha , "0");
} else if (win < "3") {
setProperty("/pad1", _alpha , "100");
setProperty("/pad2", _alpha , "100");
setProperty("/pad3", _alpha , "0");
setProperty("/pad4", _alpha , "0");
setProperty("/pad5", _alpha , "0");
} else if (win < "4") {
setProperty("/pad1", _alpha , "100");
setProperty("/pad2", _alpha , "100");
setProperty("/pad3", _alpha , "100");
setProperty("/pad4", _alpha , "0");
setProperty("/pad5", _alpha , "0");
} else if (win < "5") {
setProperty("/pad1", _alpha , "100");
setProperty("/pad2", _alpha , "100");
setProperty("/pad3", _alpha , "100");
setProperty("/pad4", _alpha , "100");
setProperty("/pad5", _alpha , "0");
}
timer = timer - "1";
if (("0" >= timer) or ("0" >= life)) {
gotoAndPlay (17);
}
safe = "0";
sx = getProperty("/player", _x);
sy = getProperty("/player", _y);
leftend = "100";
rightend = "650";
cnum = "0";
lnum = "0";
enum = "0";
leftendlog = "50";
rightendlog = "620";
leftlogstart = "-50";
rightlogstart = "620";
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx + cmove);
if (rightend < cx) {
setProperty("car" add cnum, _x , "-30");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
cnum = cnum + "1";
cx = getProperty("car" add cnum, _x);
cy = getProperty("car" add cnum, _y);
setProperty("car" add cnum, _x , cx - cmove);
if (cx < (-leftend)) {
setProperty("car" add cnum, _x , "580");
}
if (((((cx + "50") >= sx) and (sx >= (cx - "50"))) and ((cy + "10") >= sy)) and (sy >= (cy - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splat");
};
life = life - "1";
}
if (((sy >= "109") and ("110" >= sy)) and ("20" < sx)) {
setProperty("/player", _x , sx - lmove);
}
if (((sy >= "89") and ("91" >= sy)) and (sx < "560")) {
setProperty("/player", _x , sx + lmove);
}
if (((sy >= "69") and ("71" >= sy)) and ("20" < sx)) {
setProperty("/player", _x , sx - lmove);
}
if (((sy >= "49") and ("51" >= sy)) and (sx < "560")) {
setProperty("/player", _x , sx + lmove);
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx - lmove);
if (lx < (-leftendlog)) {
setProperty("log" add lnum, _x , rightlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
lnum = lnum + "1";
lx = getProperty("log" add lnum, _x);
ly = getProperty("log" add lnum, _y);
setProperty("log" add lnum, _x , lx + lmove);
if (rightendlog < lx) {
setProperty("log" add lnum, _x , leftlogstart);
}
if (((((lx + "50") >= sx) and (sx >= (lx - "50"))) and ((ly + "10") >= sy)) and (sy >= (ly - "10"))) {
setProperty("/player", _y , "390");
tellTarget ("/sound") {
gotoAndStop ("splash");
};
life = life - "1";
}
enum = enum + "1";
ex = getProperty("end" add enum, _x);
ey = getProperty("end" add enum, _y);
if (((((ex + "30") >= sx) and (sx >= (ex - "30"))) and ((ey + "10") >= sy)) and (sy >= (ey - "10"))) {
setProperty("/player", _y , "390");
safe = "1";
tellTarget ("/sound") {
gotoAndStop ("win");
};
win = win + "1";
setProperty("end" add enum, _y , "-200");
}
enum = enum + "1";
ex = getProperty("end" add enum, _x);
ey = getProperty("end" add enum, _y);
if (((((ex + "30") >= sx) and (sx >= (ex - "30"))) and ((ey + "10") >= sy)) and (sy >= (ey - "10"))) {
setProperty("/player", _y , "390");
safe = "1";
tellTarget ("/sound") {
gotoAndStop ("win");
};
win = win + "1";
setProperty("end" add enum, _y , "-200");
}
enum = enum + "1";
ex = getProperty("end" add enum, _x);
ey = getProperty("end" add enum, _y);
if (((((ex + "30") >= sx) and (sx >= (ex - "30"))) and ((ey + "10") >= sy)) and (sy >= (ey - "10"))) {
setProperty("/player", _y , "390");
safe = "1";
tellTarget ("/sound") {
gotoAndStop ("win");
};
win = win + "1";
setProperty("end" add enum, _y , "-200");
}
enum = enum + "1";
ex = getProperty("end" add enum, _x);
ey = getProperty("end" add enum, _y);
if (((((ex + "30") >= sx) and (sx >= (ex - "30"))) and ((ey + "10") >= sy)) and (sy >= (ey - "10"))) {
setProperty("/player", _y , "390");
safe = "1";
tellTarget ("/sound") {
gotoAndStop ("win");
};
win = win + "1";
setProperty("end" add enum, _y , "-200");
}
enum = enum + "1";
ex = getProperty("end" add enum, _x);
ey = getProperty("end" add enum, _y);
if (((((ex + "30") >= sx) and (sx >= (ex - "30"))) and ((ey + "10") >= sy)) and (sy >= (ey - "10"))) {
setProperty("/player", _y , "390");
safe = "1";
tellTarget ("/sound") {
gotoAndStop ("win");
};
win = win + "1";
setProperty("end" add enum, _y , "-200");
}
if (((((sy >= "29") and ("31" >= sy)) and (sx < "560")) and (safe == "0")) and (win < "5")) {
setProperty("/player", _y , "390");
life = life - "1";
}
if ("0" >= extracount) {
extrastart = random("20");
extracount = "50";
}
extracount = extracount - "1";
if (extrastart == "1") {
if (extrapos == "0") {
extrachoose = random("3");
extraposy = random("3");
extraposx = random("450") + "50";
setProperty("/pow", _x , extraposx);
if (extraposy == "0") {
setProperty("/pow", _y , "330");
} else if (extraposy == "1") {
setProperty("/pow", _y , "290");
} else if (extraposy == "2") {
setProperty("/pow", _y , "230");
} else {
setProperty("/pow", _y , "230");
}
if (extrachoose == "0") {
tellTarget ("/pow") {
gotoAndStop ("life");
};
} else if (extrachoose == "1") {
tellTarget ("/pow") {
gotoAndStop ("score");
};
} else if (extrachoose == "2") {
tellTarget ("/pow") {
gotoAndStop ("skip");
};
} else {
tellTarget ("/pow") {
gotoAndStop ("skip");
};
}
}
extrapos = "1";
} else {
setProperty("/pow", _x , "-500");
extrapos = "0";
}
epx = getProperty("/pow", _x);
epy = getProperty("/pow", _y);
if (((((epx + "15") >= sx) and (sx >= (epx - "15"))) and ((epy + "15") >= sy)) and (sy >= (epy - "15"))) {
extrastart = "0";
tellTarget ("/sound") {
gotoAndStop ("chime");
};
if (extrachoose == "0") {
life = life + "1";
} else if (extrachoose == "1") {
score = score + "1000";
} else if (extrachoose >= "2") {
win = "5";
}
}
Frame 16
gotoAndPlay (15);
Frame 17
stopAllSounds();
if (deadcount < "0") {
gotoAndStop (12);
}
deadcount = deadcount - "1";
Frame 18
gotoAndPlay (17);
Frame 19
stop();
Symbol 30 MovieClip Frame 1
froggo = random("150");
if (froggo == "1") {
gotoAndPlay (3);
}
Symbol 30 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip Frame 14
froggo = "0";
Symbol 37 Button
on (release) {
gotoAndPlay (13);
}
Symbol 40 Button
on (release) {
gotoAndStop (19);
}
Symbol 47 Button
on (keyPress "<Left>") {
tellTarget ("/player") {
gotoAndStop ("left");
};
if ("30" < sx) {
setProperty("/player", _x , getProperty("/player", _x) - "20");
}
}
on (keyPress "<Right>") {
tellTarget ("/player") {
gotoAndStop ("right");
};
if (sx < "550") {
setProperty("/player", _x , getProperty("/player", _x) + "20");
}
}
on (keyPress "<Up>") {
tellTarget ("/player") {
gotoAndStop ("up");
};
if ("10" < sy) {
setProperty("/player", _y , getProperty("/player", _y) - "20");
}
}
on (keyPress "<Down>") {
tellTarget ("/player") {
gotoAndStop ("down");
};
if (sy < "380") {
setProperty("/player", _y , getProperty("/player", _y) + "20");
}
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 5
stop();
Symbol 91 MovieClip Frame 10
stop();
Symbol 91 MovieClip Frame 15
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
gotoAndStop (1);
Symbol 111 MovieClip Frame 4
gotoAndStop (1);
Symbol 111 MovieClip Frame 7
gotoAndStop (1);
Symbol 111 MovieClip Frame 10
gotoAndStop (1);