Frame 2
Set("_level0:gWTE_ID", "Parachute");
Set("_level0:gBOMB_Y", "80");
Set("_level0:gWTE_TF", "40");
Frame 4
Set("_level0:gWTE_FL", _framesloaded);
Set("_level0:gWTE_PL", int((_level0:gWTE_FL / _level0:gWTE_TF) * "100"));
Set("_level0:gWTE_PLtxt", _level0:gWTE_PL add "%");
ifFrameLoaded (30) {
Set("_level0:gGameLoaded", "1");
gotoAndPlay (20);
}
Frame 6
gotoAndPlay (4);
Frame 21
stop();
Frame 25
loadVariablesNum ((((_level0:gTracking_URL add "?episode=") add _level0:gEpisode_ID) add "&stage=5&id=") add _level0:gWTE_ID, 0);
stopAllSounds();
jumpnumber = "0";
score = "0";
ground = "330";
call("check wind");
Frame 39
call("mNextJump");
Frame 42
stop();
Frame 43
call("check wind");
Frame 63
call("mNextJump");
Frame 66
stop();
Frame 67
call("check wind");
Frame 86
call("mNextJump");
Frame 89
stop();
Frame 90
call("check wind");
Frame 107
call("mNextJump");
Frame 110
stop();
Frame 111
call("check wind");
Frame 128
call("mNextJump");
Frame 131
stop();
Frame 132
call("check wind");
Frame 151
call("mNextJump");
Frame 154
stop();
Frame 155
call("check wind");
Frame 173
call("mNextJump");
Frame 176
stop();
Frame 177
call("check wind");
Frame 195
call("mNextJump");
Frame 198
stop();
Frame 199
call("check wind");
Frame 217
call("mNextJump");
Frame 220
stop();
Frame 221
call("check wind");
Frame 240
call("mNextJump");
Frame 243
stop();
Frame 244
jump == "1";
chute == "1";
Frame 246
stopAllSounds();
Frame 256
stop();
Frame 257
wind = "2.5" - (random("40") * "0.1");
trace("Wind: " add wind);
if ((wind >= "-10") and (wind < "-2")) {
tellTarget ("windstick") {
gotoAndStop ("l3");
};
}
if ((wind >= "-2") and (wind < "-1.1")) {
tellTarget ("windstick") {
gotoAndStop ("l2");
};
}
if ((wind >= "-1.1") and (wind < "0")) {
tellTarget ("windstick") {
gotoAndStop ("l1");
};
}
if (wind == "0") {
tellTarget ("windstick") {
gotoAndStop ("null");
};
}
if (("0" < wind) and ("1.1" >= wind)) {
tellTarget ("windstick") {
gotoAndStop ("r1");
};
}
if (("1.1" < wind) and ("2" >= wind)) {
tellTarget ("windstick") {
gotoAndStop ("r2");
};
}
if (("2" < wind) and ("10" >= wind)) {
tellTarget ("windstick") {
gotoAndStop ("r3");
};
}
Frame 266
jumpnumber = jumpnumber + "1";
planespeed = "6" + (jumpnumber / "2");
daffyXSpeed = -planespeed;
gravity = "8";
jump = "0";
chute = "0";
tellTarget ("plane") {
play();
};
Symbol 43 MovieClip Frame 1
stop();
Symbol 58 Button
on (release) {
if ((jump == "1") and (chute == "0")) {
chute = "1";
tellTarget ("daffy") {
gotoAndPlay ("chute");
};
gravity = gravity * "0.25";
}
}
Symbol 62 Button
on (release) {
if (jump == "0") {
jump = "1";
setProperty("daffy", _x , getProperty("plane", _x));
tellTarget ("daffy") {
play();
};
}
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 25
tellTarget ("../") {
setProperty("daffy", _y , "27.4");
setProperty("daffy", _x , "595");
play();
};
tellTarget ("../daffy") {
gotoAndStop (1);
};
Symbol 77 Button
on (release) {
play();
}
Symbol 104 MovieClip Frame 6
stop();
Symbol 118 MovieClip Frame 18
stop();
Symbol 119 MovieClip Frame 15
stop();
Symbol 120 MovieClip Frame 1
daffyfall = ..:planespeed;
stop();
Symbol 120 MovieClip Frame 2
_x = ((_x - daffyfall) + (..:wind * "0.25"));
_y = (_y + ..:gravity);
if (..:ground < _y) {
gotoAndPlay (12);
}
if (((((getProperty("../target", _x) - (getProperty("../target", _width) / "2")) < _x) and (_x < (getProperty("../target", _x) + (getProperty("../target", _width) / "2")))) and (getProperty("../target", _y) < (_y + "10"))) and ((_y - "10") < getProperty("../target", _y))) {
gotoAndPlay (12);
}
Symbol 120 MovieClip Frame 3
_x = ((_x - daffyfall) + (..:wind * "0.25"));
_y = (_y + ..:gravity);
if (..:ground < _y) {
gotoAndPlay (12);
}
if (((((getProperty("../target", _x) - (getProperty("../target", _width) / "2")) < _x) and (_x < (getProperty("../target", _x) + (getProperty("../target", _width) / "2")))) and (getProperty("../target", _y) < (_y + "10"))) and ((_y - "10") < getProperty("../target", _y))) {
gotoAndPlay (12);
}
Symbol 120 MovieClip Frame 4
_x = ((_x - daffyfall) + (..:wind * "0.25"));
_y = (_y + ..:gravity);
Set("..:gravity", ..:gravity + "0.5");
if ("0" < daffyfall) {
daffyfall = daffyfall - "0.35";
}
if (..:ground < _y) {
gotoAndPlay (12);
}
if (((((getProperty("../target", _x) - (getProperty("../target", _width) / "2")) < _x) and (_x < (getProperty("../target", _x) + (getProperty("../target", _width) / "2")))) and (getProperty("../target", _y) < (_y + "10"))) and ((_y - "10") < getProperty("../target", _y))) {
gotoAndPlay (12);
}
gotoAndPlay(_currentframe - "1");
Symbol 120 MovieClip Frame 7
_x = ((_x - daffyfall) + (..:wind * "0.25"));
_y = (_y + ..:gravity);
if (..:ground < _y) {
gotoAndPlay (12);
}
if (((((getProperty("../target", _x) - (getProperty("../target", _width) / "2")) < _x) and (_x < (getProperty("../target", _x) + (getProperty("../target", _width) / "2")))) and (getProperty("../target", _y) < (_y + "10"))) and ((_y - "10") < getProperty("../target", _y))) {
gotoAndPlay (12);
}
Symbol 120 MovieClip Frame 8
_x = ((_x - (daffyfall * "0.3")) + ..:wind);
_y = (_y + (..:gravity * "0.5"));
if (((((getProperty("../target", _x) - (getProperty("../target", _width) / "2")) < _x) and (_x < (getProperty("../target", _x) + (getProperty("../target", _width) / "2")))) and (getProperty("../target", _y) < (_y + "10"))) and ((_y - "10") < getProperty("../target", _y))) {
Set("..:score", ..:score + "100");
gotoAndPlay (29);
}
if (..:ground < _y) {
gotoAndPlay (46);
}
Symbol 120 MovieClip Frame 9
_x = ((_x - (daffyfall * "0.5")) + ..:wind);
_y = (_y + (..:gravity * "0.5"));
Set("..:gravity", ..:gravity + "0.1");
if (((((getProperty("../target", _x) - (getProperty("../target", _width) / "2")) < _x) and (_x < (getProperty("../target", _x) + (getProperty("../target", _width) / "2")))) and (getProperty("../target", _y) < (_y + "10"))) and ((_y - "10") < getProperty("../target", _y))) {
Set("..:score", ..:score + "100");
gotoAndPlay (29);
}
if (..:ground < _y) {
gotoAndPlay (46);
}
gotoAndPlay(_currentframe - "1");
Symbol 120 MovieClip Frame 12
stopAllSounds();
Symbol 120 MovieClip Frame 26
tellTarget ("../player") {
play();
};
stop();
Symbol 120 MovieClip Frame 44
tellTarget ("../player") {
play();
};
stop();
Symbol 120 MovieClip Frame 62
tellTarget ("../player") {
play();
};
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 3
Set("..:gravity", ..:gravity + "0.5");
if (("-20" < ..:daffyXSpeed) and (..:daffyXSpeed < "20")) {
Set("..:daffyXSpeed", ..:daffyXSpeed + (..:wind * "0.1"));
}
_x = (_x + ..:daffyXSpeed);
_y = (_y + ..:gravity);
if (..:ground < _y) {
Set("..:chute", "1");
gotoAndPlay (12);
}
Symbol 123 MovieClip Frame 4
gotoAndPlay(_currentframe - "1");
Symbol 123 MovieClip Frame 7
Set("..:daffyXSpeed", ..:daffyXSpeed / "4");
Symbol 123 MovieClip Frame 8
Set("..:gravity", ..:gravity + "0.25");
if (("-20" < ..:daffyXSpeed) and (..:daffyXSpeed < "20")) {
Set("..:daffyXSpeed", ..:daffyXSpeed + (..:wind * "0.1"));
}
_x = (_x + ..:daffyXSpeed);
_y = (_y + (..:gravity * "0.5"));
pDaffyX = _x;
pDaffyY = _y;
pTargetX = getProperty("../target", _x);
pTargetY = getProperty("../target", _y);
pTargetRadius = getProperty("../target", _width) / "2";
if (..:chute == "1") {
pDaffyY = pDaffyY - "50";
}
if (..:ground < pDaffyY) {
gotoAndPlay (46);
}
if (((((pTargetX - pTargetRadius) < pDaffyX) and (pDaffyX < (pTargetX + pTargetRadius))) and (pTargetY < pDaffyY)) and (pDaffyY < (pTargetY + "10"))) {
Set("..:score", ..:score + "100");
gotoAndPlay (29);
}
Symbol 123 MovieClip Frame 9
gotoAndPlay(_currentframe - "1");
Symbol 123 MovieClip Frame 12
tellTarget ("../AUDIO_PlaneSound") {
gotoAndPlay ("Stop");
};
Symbol 123 MovieClip Frame 26
tellTarget ("../player") {
play();
};
stop();
Symbol 123 MovieClip Frame 29
tellTarget ("../AUDIO_PlaneSound") {
gotoAndPlay ("Stop");
};
Symbol 123 MovieClip Frame 44
tellTarget ("../player") {
play();
};
stop();
Symbol 123 MovieClip Frame 46
tellTarget ("../AUDIO_PlaneSound") {
gotoAndPlay ("Stop");
};
Symbol 123 MovieClip Frame 62
tellTarget ("../player") {
play();
};
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 5
stop();
Symbol 127 MovieClip Frame 31
gotoAndPlay (11);
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
tellTarget ("../AUDIO_PlaneSound") {
gotoAndPlay ("Play");
};
Symbol 129 MovieClip Frame 3
_x = (_x - ..:planespeed);
if ((_x < "-100") and (..:jump == "0")) {
_x = "555";
tellTarget ("../player") {
play();
};
gotoAndStop (1);
}
if ((_x < "-100") and (..:jump == "1")) {
_x = "555";
gotoAndStop (1);
}
Symbol 129 MovieClip Frame 4
gotoAndPlay(_currentframe - "1");
Symbol 144 Button
on (release) {
gotoAndPlay (25);
}