Frame 5
if (_framesloaded >= _totalframes) {
gotoAndPlay (9);
}
Frame 7
if (_framesloaded >= _totalframes) {
load.gotoAndPlay("off");
gotoAndStop (8);
} else {
gotoAndPlay (6);
}
Frame 9
stop();
Frame 10
_root.vars.crocspcf = (_root.vars.crocspc + 250) / _root.vars.crocspd;
_root.vars.klev = "land";
_root.vars.playpause = "play";
_root.vars.cacount = 1;
_root.vars.cacroc = 0;
_root.vars.cbcount = 1;
_root.vars.cbcroc = 0;
_root.vars.cccount = 1;
_root.vars.cccroc = 0;
_root.ca1.mename = "ca1";
_root.ca2.mename = "ca2";
_root.ca3.mename = "ca3";
_root.cb1.mename = "cb1";
_root.cb2.mename = "cb2";
_root.cb3.mename = "cb3";
_root.cc1.mename = "cc1";
_root.cc2.mename = "cc2";
_root.cc3.mename = "cc3";
Frame 11
_root.vars.kway = "r";
_root.vars.kvert = "up";
_root.vars.klev = "land";
_root.vars.croc = "none";
_root.vars.kfall = 0;
_root.vars.kx = 110;
_root.vars.ky = 315;
Frame 24
_root.vars.ksplasher = 1;
kiara._y = _root.vars.ky;
kiara._x = _root.vars.kx;
if (_root.vars.kway == "l") {
if (_root.vars.kvert == "up") {
kiara.gotoAndStop(2);
} else {
kiara.gotoAndStop(4);
}
} else if (_root.vars.kvert == "up") {
kiara.gotoAndStop(1);
} else {
kiara.gotoAndStop(3);
}
stop();
Instance of Symbol 166 MovieClip "kiara" in Frame 24
onClipEvent (keyDown) {
if (Key.getCode() == 37) {
_root.vars.kway = "l";
gotoAndStop (6);
} else if (Key.getCode() == 39) {
_root.vars.kway = "r";
gotoAndStop (5);
} else if (Key.getCode() == 38) {
if (_root.vars.klev != "land") {
_root.vars.kvert = "up";
if (_root.vars.kway == "l") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
} else if (Key.getCode() == 40) {
if (_root.vars.klev != "land") {
_root.vars.kvert = "dn";
if (_root.vars.kway == "l") {
gotoAndStop (4);
} else {
gotoAndStop (3);
}
}
} else if (Key.getCode() == 32) {
_root.vars.kx = _root.kiara._x;
_root.vars.ky = _root.kiara._y;
_root.gotoAndPlay("jump");
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 37) {
_root.vars.kway = "l";
if (_root.vars.kvert == "up") {
gotoAndStop (2);
} else {
gotoAndStop (4);
}
} else if (Key.getCode() == 39) {
_root.vars.kway = "r";
if (_root.vars.kvert == "up") {
gotoAndStop (1);
} else {
gotoAndStop (3);
}
}
}
Frame 25
_root.vars.ksplasher = 0;
_root.vars.croc = "none";
splasha._x = _root.vars.kx;
splasha._y = _root.vars.ky;
splashb._x = _root.vars.kx;
splashb._y = _root.vars.ky;
if (_root.vars.kfall) {
if (_root.vars.klev == "land") {
splasha._x = 183;
splasha._y = 293;
splashb._x = 183;
splashb._y = 293;
}
if (_root.vars.kway == "r") {
splasha.gotoAndStop(1);
splashb.gotoAndStop(1);
} else {
splasha.gotoAndStop(2);
splashb.gotoAndStop(2);
}
} else if (_root.vars.kvert == "up") {
if (_root.vars.klev == "c") {
if (_root.vars.kway == "r") {
splasha.gotoAndStop(7);
splashb.gotoAndStop(7);
} else {
splasha.gotoAndStop(8);
splashb.gotoAndStop(8);
}
} else if (_root.vars.kway == "r") {
splasha.gotoAndStop(3);
splashb.gotoAndStop(3);
} else {
splasha.gotoAndStop(4);
splashb.gotoAndStop(4);
}
} else if (_root.vars.kway == "r") {
splasha.gotoAndStop(5);
splashb.gotoAndStop(5);
} else {
splasha.gotoAndStop(6);
splashb.gotoAndStop(6);
}
stop();
Frame 26
_root.vars.ksplasher = 0;
_root.vars.croc = "none";
jump._x = _root.vars.kx;
jump._y = _root.vars.ky;
if (_root.vars.kvert == "up") {
if (_root.vars.klev == "c") {
if (_root.vars.kway == "r") {
jump.gotoAndStop(5);
} else {
jump.gotoAndStop(6);
}
} else if (_root.vars.kway == "r") {
jump.gotoAndStop(1);
} else {
jump.gotoAndStop(2);
}
} else if (_root.vars.kway == "r") {
jump.gotoAndStop(3);
} else {
jump.gotoAndStop(4);
}
stop();
Frame 27
_root.kstill._x = _root.vars.kx;
_root.kstill._y = _root.vars.ky;
if (_root.vars.kway == "r") {
if (_root.vars.kvert == "up") {
_root.kstill.gotoAndStop(2);
} else {
_root.kstill.gotoAndStop(4);
}
} else if (_root.vars.kvert == "up") {
_root.kstill.gotoAndStop(3);
} else {
_root.kstill.gotoAndStop(5);
}
stop();
Frame 28
stop();
Frame 29
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 30
gotoAndPlay (1);
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 7
stop();
Symbol 84 MovieClip Frame 154
stop();
Symbol 91 Button
on (release) {
_root.vars.timerl = 720;
_root.vars.crocsnap = 0;
_root.vars.crocdive = 0;
_root.vars.crocspd = 5;
_root.vars.crocrnd = 5;
_root.vars.crocspc = 30;
_root.vars.diff = 1;
gotoAndPlay (54);
}
Symbol 95 Button
on (release) {
_root.vars.timerl = 540;
_root.vars.crocsnap = 1;
_root.vars.crocdive = 0;
_root.vars.crocspd = 10;
_root.vars.crocrnd = 20;
_root.vars.crocspc = 50;
_root.vars.diff = 2;
gotoAndPlay (54);
}
Symbol 99 Button
on (release) {
_root.vars.timerl = 360;
_root.vars.crocsnap = 1;
_root.vars.crocdive = 1;
_root.vars.crocspd = 10;
_root.vars.crocrnd = 20;
_root.vars.crocspc = 50;
_root.vars.diff = 3;
gotoAndPlay (54);
}
Symbol 103 Button
on (release) {
gotoAndPlay (61);
}
Symbol 109 Button
on (release) {
gotoAndPlay (39);
}
Symbol 110 MovieClip Frame 32
if (getProperty("_root", _framesloaded) < getProperty("_root", _totalframes)) {
gotoAndPlay (31);
}
Symbol 110 MovieClip Frame 53
gotoAndPlay (39);
Symbol 110 MovieClip Frame 60
_root.gotoAndPlay("gamestart");
stop();
Symbol 110 MovieClip Frame 65
stop();
Symbol 112 MovieClip Frame 2
if (_parent.ltarg.hitTest(_root.jump.kjump.ktarg)) {
_root.vars.croc = "none";
_root.vars.kvert = "up";
_root.vars.klev = "land";
_root.vars.ky = 315;
if (_root.vars.kway == "l") {
_root.vars.kx = _root.vars.kx - 90;
} else {
_root.vars.kx = _root.vars.kx + 90;
}
_root.gotoAndPlay("walk");
}
gotoAndPlay (1);
Symbol 115 MovieClip Frame 2
if (_parent.kotarg.hitTest(_root.jump.kjump.ktarg)) {
_root.gotoAndPlay("win");
}
gotoAndPlay (1);
Symbol 128 MovieClip Frame 1
if (_root.vars.diff < 3) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 133 MovieClip Frame 13
gotoAndPlay (1);
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 11
gotoAndPlay (10);
Symbol 134 MovieClip Frame 19
gotoAndStop (1);
Symbol 135 MovieClip Frame 57
gotoAndPlay (1);
Symbol 136 MovieClip Frame 12
stop();
Symbol 137 MovieClip Frame 2
if (_parent.ctarg.hitTest(_root.jump.kjump.ktarg)) {
if (_root.vars.kway == "l") {
_root.vars.kx = _root.vars.kx - 90;
} else {
_root.vars.kx = _root.vars.kx + 90;
}
_root.vars.croc = _parent.mename;
_root.vars.cwalk = _root.vars.kx - eval (("_root." + _parent.mename) + "._x");
if (_parent.mename.charAt(1) == "a") {
_root.vars.klev = "a";
_root.vars.ky = 280;
_root.vars.crocr = 40;
_root.vars.crocl = -20;
} else if (_parent.mename.charAt(1) == "b") {
_root.vars.klev = "b";
_root.vars.ky = 245;
_root.vars.crocr = 20;
_root.vars.crocl = -40;
} else if (_parent.mename.charAt(1) == "c") {
_root.vars.klev = "c";
_root.vars.ky = 210;
_root.vars.crocr = 40;
_root.vars.crocl = -20;
}
_root.gotoAndPlay("walk");
}
gotoAndPlay (1);
Symbol 138 MovieClip Frame 1
stat = 0;
stop();
Symbol 138 MovieClip Frame 2
if (_root.vars.crocdive) {
if (random(10) == 1) {
swimstart = random(25) + 3;
gotoAndPlay(swimstart);
} else {
ripple.gotoAndPlay("up");
gotoAndPlay (42);
}
} else {
ripple.gotoAndPlay("up");
gotoAndPlay (42);
}
Symbol 138 MovieClip Frame 41
ripple.gotoAndPlay("up");
Symbol 138 MovieClip Frame 57
if (_root.vars.playpause == "play") {
if (_root.vars.crocsnap) {
if (random(10) == 1) {
gotoAndPlay (58);
} else if (_root.vars.crocdive) {
if (random(10) == 1) {
gotoAndPlay (74);
} else {
gotoAndPlay (42);
}
} else {
gotoAndPlay (42);
}
} else {
gotoAndPlay (42);
}
} else {
gotoAndPlay (42);
}
Symbol 138 MovieClip Frame 67
if (_root.vars.croc == mename) {
if (_parent.mename.charAt(1) == "b") {
if (_root.vars.cwalk < -10) {
_root.vars.kfall = 1;
_root.gotoAndPlay("splash");
}
} else if (10 < _root.vars.cwalk) {
_root.vars.kx = _root.kiara._x;
_root.vars.kfall = 1;
_root.gotoAndPlay("splash");
}
}
Symbol 138 MovieClip Frame 73
gotoAndPlay (42);
Symbol 138 MovieClip Frame 74
ripple.gotoAndPlay("dn");
Symbol 138 MovieClip Frame 75
if (_root.vars.croc == mename) {
_root.kiara._y = _root.kiara._y + 2;
}
Symbol 138 MovieClip Frame 76
if (_root.vars.croc == mename) {
_root.kiara._y = _root.kiara._y + 2;
}
Symbol 138 MovieClip Frame 77
if (_root.vars.croc == mename) {
_root.kiara._y = _root.kiara._y + 2;
}
Symbol 138 MovieClip Frame 78
if (_root.vars.croc == mename) {
_root.kiara._y = _root.kiara._y + 2;
}
Symbol 138 MovieClip Frame 79
if (_root.vars.croc == mename) {
_root.kiara._y = _root.kiara._y + 2;
}
Symbol 138 MovieClip Frame 80
if (_root.vars.croc == mename) {
_root.vars.kx = _root.kiara._x;
_root.vars.kfall = 1;
_root.gotoAndPlay("splash");
}
Symbol 138 MovieClip Frame 89
stat = 0;
currcroc = "_root." + mename;
if (mename.charAt(1) == "b") {
setProperty(currcroc, _x , 680);
} else {
setProperty(currcroc, _x , -80);
}
gotoAndStop (1);
Symbol 147 MovieClip Frame 2
setProperty("bar", _x , (170 / _root.vars.timerl) * _parent.timerl);
gotoAndPlay (1);
Symbol 150 MovieClip Frame 1
lives = 4;
bonus = 0;
timerl = _root.vars.timerl;
Symbol 150 MovieClip Frame 3
if (_root.vars.playpause == "play") {
if (0 >= timerl) {
_root.gotoAndPlay("lose");
} else {
timerl = timerl - 1;
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Symbol 152 MovieClip Frame 2
if (_root.vars.playpause == "play") {
if ((_root.vars.klev != "land") && (_root.vars.klev != "none")) {
_root.kiara._x = eval (("_root." + _root.vars.croc) + "._x") + _root.vars.cwalk;
if (_root.vars.ksplasher) {
if (_root.kiara._x >= 590) {
_root.vars.kx = _root.kiara._x;
_root.vars.kway = "l";
_root.vars.kfall = 1;
_root.gotoAndPlay("splash");
} else if (10 >= _root.kiara._x) {
_root.vars.kx = _root.kiara._x;
_root.vars.kway = "r";
_root.vars.kfall = 1;
_root.gotoAndPlay("splash");
}
}
}
_root.vars.cacount = _root.vars.cacount - 1;
if (_root.vars.cacount == 0) {
if (random(_root.vars.crocrnd) == 1) {
_root.vars.cacount = _root.vars.crocspcf;
_root.vars.cacroc = _root.vars.cacroc + 1;
if (3 < _root.vars.cacroc) {
_root.vars.cacroc = 1;
}
Set(("_root.ca" + _root.vars.cacroc) + ".stat", 1);
tellTarget ("_root.ca" + _root.vars.cacroc) {
gotoAndPlay (2);
};
} else {
_root.vars.cacount = 1;
}
}
_root.vars.cbcount = _root.vars.cbcount - 1;
if (_root.vars.cbcount == 0) {
if (random(_root.vars.crocrnd) == 1) {
_root.vars.cbcount = _root.vars.crocspcf;
_root.vars.cbcroc = _root.vars.cbcroc + 1;
if (3 < _root.vars.cbcroc) {
_root.vars.cbcroc = 1;
}
Set(("_root.cb" + _root.vars.cbcroc) + ".stat", 1);
tellTarget ("_root.cb" + _root.vars.cbcroc) {
gotoAndPlay (2);
};
} else {
_root.vars.cbcount = 1;
}
}
_root.vars.cccount = _root.vars.cccount - 1;
if (_root.vars.cccount == 0) {
if (random(_root.vars.crocrnd) == 1) {
_root.vars.cccount = _root.vars.crocspcf;
_root.vars.cccroc = _root.vars.cccroc + 1;
if (3 < _root.vars.cccroc) {
_root.vars.cccroc = 1;
}
Set(("_root.cc" + _root.vars.cccroc) + ".stat", 1);
tellTarget ("_root.cc" + _root.vars.cccroc) {
gotoAndPlay (2);
};
} else {
_root.vars.cccount = 1;
}
}
if (_root.ca1.stat) {
ca1pos = _root.ca1._x + _root.vars.crocspd;
if (680 < _root.ca1._x) {
ca1pos = -80;
_root.ca1.gotoAndStop(1);
}
_root.ca1._x = ca1pos;
}
if (_root.ca2.stat) {
ca2pos = _root.ca2._x + _root.vars.crocspd;
if (680 < _root.ca2._x) {
ca2pos = -80;
_root.ca2.gotoAndStop(1);
}
_root.ca2._x = ca2pos;
}
if (_root.ca3.stat) {
ca3pos = _root.ca3._x + _root.vars.crocspd;
if (680 < _root.ca3._x) {
ca3pos = -80;
_root.ca3.gotoAndStop(1);
}
_root.ca3._x = ca3pos;
}
if (_root.cb1.stat) {
cb1pos = _root.cb1._x - _root.vars.crocspd;
if (_root.cb1._x < -80) {
cb1pos = 680;
_root.cb1.gotoAndStop(1);
}
_root.cb1._x = cb1pos;
}
if (_root.cb2.stat) {
cb2pos = _root.cb2._x - _root.vars.crocspd;
if (_root.cb2._x < -80) {
cb2pos = 680;
_root.cb2.gotoAndStop(1);
}
_root.cb2._x = cb2pos;
}
if (_root.cb3.stat) {
cb3pos = _root.cb3._x - _root.vars.crocspd;
if (_root.cb3._x < -80) {
cb3pos = 680;
_root.cb3.gotoAndStop(1);
}
_root.cb3._x = cb3pos;
}
if (_root.cc1.stat) {
cc1pos = _root.cc1._x + _root.vars.crocspd;
if (680 < _root.cc1._x) {
cc1pos = -80;
_root.cc1.gotoAndStop(1);
}
_root.cc1._x = cc1pos;
}
if (_root.cc2.stat) {
cc2pos = _root.cc2._x + _root.vars.crocspd;
if (680 < _root.cc2._x) {
cc2pos = -80;
_root.cc2.gotoAndStop(1);
}
_root.cc2._x = cc2pos;
}
if (_root.cc3.stat) {
cc3pos = _root.cc3._x + _root.vars.crocspd;
if (680 < _root.cc3._x) {
cc3pos = -80;
_root.cc3.gotoAndStop(1);
}
_root.cc3._x = cc3pos;
}
}
gotoAndPlay (1);
Symbol 152 MovieClip Frame 5
ccount = 0;
while (ccount < 4) {
ccount = ccount + 1;
if (eval (("_root.ca" + ccount) + ".stat") == 1) {
currcroc = "_root.ca" + ccount;
Set(("ca" + ccount) + "pos", getProperty(currcroc, _x) + _root.vars.crocspd);
if (680 < eval (("ca" + ccount) + "pos")) {
Set(("ca" + ccount) + "pos", -80);
}
setProperty(currcroc, _x , ("ca" + ccount) + "pos");
}
}
if (_root.ca1.stat) {
ca1pos = _root.ca1._x + _root.vars.crocspd;
if (680 < _root.ca1._x) {
ca1pos = -80;
_root.ca1.gotoAndStop(1);
}
_root.ca1._x = ca1pos;
}
Symbol 154 MovieClip Frame 258
gotoAndPlay (1);
Symbol 164 MovieClip Frame 2
if (_root.vars.klev == "land") {
kliml = 40;
klimr = 150;
kpos = _root.kiara._x;
if (_root.vars.kway == "l") {
if (kliml < kpos) {
setProperty("_root.kiara", _x , kpos - 10);
}
} else if (kpos < klimr) {
setProperty("_root.kiara", _x , kpos + 10);
}
} else {
if (_root.vars.kway == "l") {
_root.vars.cwalk = _root.vars.cwalk - 10;
} else {
_root.vars.cwalk = _root.vars.cwalk + 10;
}
if ((_root.vars.crocr < _root.vars.cwalk) || (_root.vars.cwalk < _root.vars.crocl)) {
_root.vars.kx = _root.kiara._x;
_root.vars.kfall = 1;
_root.gotoAndPlay("splash");
}
}
gotoAndPlay (1);
Symbol 166 MovieClip Frame 1
stop();
Symbol 167 Button
on (release) {
_root.vars.kx = _root.kiara._x;
_root.vars.ky = _root.kiara._y;
_root.vars.playpause = "pause";
gotoAndPlay (27);
}
Symbol 169 MovieClip Frame 25
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 14
_root.vars.kfall = 0;
swimposx = _root.vars.kx + _root.vars.swimx;
swimposy = _root.vars.ky + _root.vars.swimy;
_root.swim._x = swimposx;
_root.swim._y = swimposy;
_root.gotoAndPlay("setup");
stop();
Symbol 173 MovieClip Frame 1
_root.vars.swimx = 40;
_root.vars.swimy = 27;
stop();
Symbol 173 MovieClip Frame 2
_root.vars.swimx = -40;
_root.vars.swimy = 27;
Symbol 173 MovieClip Frame 3
_root.vars.swimx = 104;
_root.vars.swimy = -8;
Symbol 173 MovieClip Frame 4
_root.vars.swimx = -104;
_root.vars.swimy = -8;
Symbol 173 MovieClip Frame 5
_root.vars.swimx = 104;
_root.vars.swimy = 62;
Symbol 173 MovieClip Frame 6
_root.vars.swimx = -104;
_root.vars.swimy = 62;
Symbol 173 MovieClip Frame 7
_root.vars.swimx = 175;
_root.vars.swimy = -16;
Symbol 173 MovieClip Frame 8
_root.vars.swimx = -175;
_root.vars.swimy = -16;
Symbol 175 MovieClip Frame 9
ripples.gotoAndPlay(1);
Symbol 175 MovieClip Frame 31
gotoAndPlay (17);
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 3
_root.swim._x = _root.swim._x + 10;
if (640 < _root.swim._x) {
_root.gotoAndPlay("setup");
} else {
gotoAndPlay (2);
}
Symbol 176 MovieClip Frame 5
_root.swim._x = _root.swim._x - 10;
if (_root.swim._x < -40) {
_root.gotoAndPlay("setup");
} else {
gotoAndPlay (4);
}
Symbol 178 MovieClip Frame 5
_root.gotoAndPlay("splash");
Symbol 181 MovieClip Frame 5
_root.gotoAndPlay("splash");
Symbol 182 MovieClip Frame 5
_root.gotoAndPlay("splash");
Symbol 183 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 186 Button
on (release) {
_root.vars.playpause = "play";
gotoAndPlay (24);
}
Symbol 195 Button
on (release) {
_root.gotoAndPlay("replay");
}
Symbol 201 Button
on (release) {
getURL ("http://disney.tokenzone.com/dtz2/set/lionking/CaptureEvent?sc=tc1331-439DN-DJADS-46Y35", "_blank");
}
Symbol 202 MovieClip Frame 32
gotoAndPlay (10);
Symbol 240 Button
on (release) {
_root.gotoAndPlay("replay");
}
Symbol 242 MovieClip Frame 31
gotoAndPlay (9);