Frame 214
stop();
Frame 274
stop();
Frame 311
stop();
Frame 312
Jump = 0;
Time = 0;
Gravity = 1.01;
Speed = 50;
Gravity = 1.01;
Speed = 65;
Gravity = 1.01;
Speed = 35;
MaxItem = 8;
MaxHazard = 2;
Item = MaxItem;
Gravity = 1.01;
Speed = 20;
MaxSpeed = 45;
MaxHeight = 200;
Hearts = 3;
Frame 313
ItemSize = 30;
HazardSize = 30;
DieFlag = false;
X = _xmouse;
if (X < 0) {
X = 0;
}
if (X > 400) {
X = 400;
}
setProperty("Board", _x , X);
setProperty("Board", _y , 388);
if (Jump == 0) {
setProperty("Mark", _visible , false);
tellTarget ("Board") {
gotoAndStop (2);
};
setProperty("Player1", _x , X - 40);
setProperty("Player1", _y , 340);
setProperty("Player2", _x , X + 40);
setProperty("Player2", _y , 340);
}
if (Jump == 1) {
tellTarget ("Board") {
gotoAndStop (3);
};
Time++;
PosX = PosX + MoveX;
if (PosX <= 30) {
PosX = 30;
MoveX = -MoveX;
}
if (PosX >= 370) {
PosX = 370;
MoveX = -MoveX;
}
Height = 340 - ((Speed * Time) - (Gravity * Math.pow(Time, 2)));
setProperty("Player1", _x , PosX);
setProperty("Player1", _y , Height);
setProperty("Player2", _x , X + 40);
setProperty("Player2", _y , 340);
i = 1;
while (i <= MaxItem) {
ax = getProperty("Item" add i, _x);
ay = getProperty("Item" add i, _y);
if (posx > (ax - ItemSize)) {
if (posx < (ax + ItemSize)) {
if (height > (ay - ItemSize)) {
if (height < (ay + ItemSize)) {
Item--;
tellTarget ("player1") {
gotoAndPlay ("Smile");
};
setProperty("Item" add i, _visible , false);
setProperty("Item" add i, _x , -100);
}
}
}
}
i++;
}
i = 1;
while (i <= MaxHazard) {
ax = getProperty("Hazard" add i, _x);
ay = getProperty("Hazard" add i, _y);
if (posx > (ax - HazardSize)) {
if (posx < (ax + HazardSize)) {
if (height > (ay - HazardSize)) {
if (height < (ay + HazardSize)) {
MoveX = 0;
tellTarget ("Player1") {
gotoAndStop ("Ouch");
};
setProperty("Hazard" add i, _visible , false);
setProperty("Hazard" add i, _x , -100);
}
}
}
}
i++;
}
if (Height > 340) {
In = false;
if (PosX > (X - 100)) {
if (PosX < (X + 20)) {
In = true;
}
}
if (In == true) {
tellTarget ("Player1") {
gotoAndStop ("Normal");
};
if (X < 40) {
MoveX = -5;
} else {
MoveX = (-int((X - PosX) / 8)) - 4;
}
PosX = X + 40;
Time = 0;
Jump = 2;
Speed = Speed + 5;
if (Speed >= MaxSpeed) {
Speed = MaxSpeed;
}
tellTarget (_root.JumpSound) {
gotoAndPlay ("Play");
};
} else {
Hearts--;
setProperty("Player1", _y , 380);
tellTarget ("Player1") {
gotoAndStop ("Ouch");
};
DieFlag = true;
Speed = 20;
Time = 0;
Jump = 0;
}
}
}
if (Jump == 2) {
tellTarget ("Board") {
gotoAndStop (1);
};
Time++;
PosX = PosX + MoveX;
if (PosX <= 30) {
PosX = 30;
MoveX = -MoveX;
}
if (PosX >= 370) {
PosX = 370;
MoveX = -MoveX;
}
Height = 340 - ((Speed * Time) - (Gravity * Math.pow(Time, 2)));
setProperty("Player1", _x , X - 40);
setProperty("Player1", _y , 340);
setProperty("Player2", _x , PosX);
setProperty("Player2", _y , Height);
i = 1;
while (i <= MaxItem) {
ax = getProperty("Item" add i, _x);
ay = getProperty("Item" add i, _y);
if (posx > (ax - ItemSize)) {
if (posx < (ax + ItemSize)) {
if (height > (ay - ItemSize)) {
if (height < (ay + ItemSize)) {
Item--;
tellTarget ("player2") {
gotoAndPlay ("Smile");
};
setProperty("Item" add i, _visible , false);
setProperty("Item" add i, _x , -100);
}
}
}
}
i++;
}
i = 1;
while (i <= MaxHazard) {
ax = getProperty("Hazard" add i, _x);
ay = getProperty("Hazard" add i, _y);
if (posx > (ax - HazardSize)) {
if (posx < (ax + HazardSize)) {
if (height > (ay - HazardSize)) {
if (height < (ay + HazardSize)) {
MoveX = 0;
tellTarget ("Player2") {
gotoAndStop ("Ouch");
};
setProperty("Hazard" add i, _visible , false);
setProperty("Hazard" add i, _x , -100);
}
}
}
}
i++;
}
if (Height > 340) {
In = false;
if (PosX > (X - 20)) {
if (PosX < (X + 100)) {
In = true;
}
}
if (In == true) {
tellTarget ("Player2") {
gotoAndStop ("Normal");
};
if (X > 360) {
MoveX = 5;
} else {
MoveX = int((PosX - X) / 8) + 4;
}
PosX = X - 40;
Time = 0;
Jump = 1;
Speed = Speed + 5;
if (Speed >= MaxSpeed) {
Speed = MaxSpeed;
}
tellTarget (_root.JumpSound) {
gotoAndPlay ("Play");
};
} else {
Hearts--;
setProperty("Player2", _y , 380);
tellTarget ("Player2") {
gotoAndStop ("Ouch");
};
DieFlag = true;
Speed = 20;
Time = 0;
Jump = 0;
}
}
}
if (Jump != 0) {
if (Height < 160) {
ScrHeight = -(Height - 160);
if (ScrHeight > MaxHeight) {
ScrHeight = MaxHeight;
}
setProperty(_root, _y , ScrHeight);
if (ScrHeight > 160) {
setProperty("Mark", _visible , true);
setProperty("Mark", _x , X);
setProperty("Mark", _y , (-ScrHeight) + 370);
} else {
setProperty("Mark", _visible , false);
}
} else {
ScrHeight = 0;
setProperty(_root, _y , 0);
}
}
setProperty(_root.Symbol, _y , (-ScrHeight) + 20);
setProperty(_root.Heart, _y , (-ScrHeight) + 20);
tellTarget (_root.Heart) {
gotoAndStop(_root.Hearts + 1);
};
if (DieFlag == true) {
gotoAndPlay (315);
}
Frame 314
if (Item <= 0) {
gotoAndPlay (318);
} else {
gotoAndPlay (313);
}
Frame 315
Count = 30;
Frame 316
Count--;
Frame 317
if (Count <= 0) {
tellTarget ("Start") {
gotoAndStop (1);
};
tellTarget ("Player1") {
gotoAndStop ("Normal");
};
tellTarget ("Player2") {
gotoAndStop ("Normal");
};
if (Hearts <= 0) {
stopAllSounds();
gotoAndPlay (281);
} else {
gotoAndPlay (313);
}
} else {
gotoAndPlay (316);
}
Frame 321
setProperty("_root", _y , 0);
Frame 331
stop();
Frame 332
Jump = 0;
Time = 0;
Gravity = 1.01;
Speed = 50;
Gravity = 1.01;
Speed = 65;
Gravity = 1.01;
Speed = 35;
MaxItem = 12;
MaxHazard = 3;
Item = MaxItem;
Gravity = 1.01;
Speed = 20;
MaxSpeed = 55;
MaxHeight = 400;
Hearts = 3;
Frame 333
ItemSize = 20;
HazardSize = 30;
DieFlag = false;
X = _xmouse;
if (X < 0) {
X = 0;
}
if (X > 400) {
X = 400;
}
setProperty("Board", _x , X);
setProperty("Board", _y , 388);
if (Jump == 0) {
setProperty("Mark", _visible , false);
tellTarget ("Board") {
gotoAndStop (2);
};
setProperty("Player1", _x , X - 40);
setProperty("Player1", _y , 340);
setProperty("Player2", _x , X + 40);
setProperty("Player2", _y , 340);
}
if (Jump == 1) {
tellTarget ("Board") {
gotoAndStop (3);
};
Time++;
PosX = PosX + MoveX;
if (PosX <= 30) {
PosX = 30;
MoveX = -MoveX;
}
if (PosX >= 370) {
PosX = 370;
MoveX = -MoveX;
}
Height = 340 - ((Speed * Time) - (Gravity * Math.pow(Time, 2)));
setProperty("Player1", _x , PosX);
setProperty("Player1", _y , Height);
setProperty("Player2", _x , X + 40);
setProperty("Player2", _y , 340);
i = 1;
while (i <= MaxItem) {
ax = getProperty("Item" add i, _x);
ay = getProperty("Item" add i, _y);
if (posx > (ax - ItemSize)) {
if (posx < (ax + ItemSize)) {
if (height > (ay - ItemSize)) {
if (height < (ay + ItemSize)) {
Item--;
tellTarget ("player1") {
gotoAndPlay ("Smile");
};
setProperty("Item" add i, _visible , false);
setProperty("Item" add i, _x , -100);
}
}
}
}
i++;
}
i = 1;
while (i <= MaxHazard) {
ax = getProperty("Hazard" add i, _x);
ay = getProperty("Hazard" add i, _y);
if (posx > (ax - HazardSize)) {
if (posx < (ax + HazardSize)) {
if (height > (ay - HazardSize)) {
if (height < (ay + HazardSize)) {
MoveX = 0;
tellTarget ("Player1") {
gotoAndStop ("Ouch");
};
setProperty("Hazard" add i, _visible , false);
setProperty("Hazard" add i, _x , -100);
}
}
}
}
i++;
}
if (Height > 340) {
In = false;
if (PosX > (X - 100)) {
if (PosX < (X + 20)) {
In = true;
}
}
if (In == true) {
tellTarget ("Player1") {
gotoAndStop ("Normal");
};
if (X < 40) {
MoveX = -5;
} else {
MoveX = (-int((X - PosX) / 8)) - 4;
}
PosX = X + 40;
Time = 0;
Jump = 2;
Speed = Speed + 5;
if (Speed >= MaxSpeed) {
Speed = MaxSpeed;
}
tellTarget (_root.JumpSound) {
gotoAndPlay ("Play");
};
} else {
Hearts--;
setProperty("Player1", _y , 380);
tellTarget ("Player1") {
gotoAndStop ("Ouch");
};
DieFlag = true;
Speed = 20;
Time = 0;
Jump = 0;
}
}
}
if (Jump == 2) {
tellTarget ("Board") {
gotoAndStop (1);
};
Time++;
PosX = PosX + MoveX;
if (PosX <= 30) {
PosX = 30;
MoveX = -MoveX;
}
if (PosX >= 370) {
PosX = 370;
MoveX = -MoveX;
}
Height = 340 - ((Speed * Time) - (Gravity * Math.pow(Time, 2)));
setProperty("Player1", _x , X - 40);
setProperty("Player1", _y , 340);
setProperty("Player2", _x , PosX);
setProperty("Player2", _y , Height);
i = 1;
while (i <= MaxItem) {
ax = getProperty("Item" add i, _x);
ay = getProperty("Item" add i, _y);
if (posx > (ax - ItemSize)) {
if (posx < (ax + ItemSize)) {
if (height > (ay - ItemSize)) {
if (height < (ay + ItemSize)) {
Item--;
tellTarget ("player2") {
gotoAndPlay ("Smile");
};
setProperty("Item" add i, _visible , false);
setProperty("Item" add i, _x , -100);
}
}
}
}
i++;
}
i = 1;
while (i <= MaxHazard) {
ax = getProperty("Hazard" add i, _x);
ay = getProperty("Hazard" add i, _y);
if (posx > (ax - HazardSize)) {
if (posx < (ax + HazardSize)) {
if (height > (ay - HazardSize)) {
if (height < (ay + HazardSize)) {
MoveX = 0;
tellTarget ("Player2") {
gotoAndStop ("Ouch");
};
setProperty("Hazard" add i, _visible , false);
setProperty("Hazard" add i, _x , -100);
}
}
}
}
i++;
}
if (Height > 340) {
In = false;
if (PosX > (X - 20)) {
if (PosX < (X + 100)) {
In = true;
}
}
if (In == true) {
tellTarget ("Player2") {
gotoAndStop ("Normal");
};
if (X > 360) {
MoveX = 5;
} else {
MoveX = int((PosX - X) / 8) + 4;
}
PosX = X - 40;
Time = 0;
Jump = 1;
Speed = Speed + 5;
if (Speed >= MaxSpeed) {
Speed = MaxSpeed;
}
tellTarget (_root.JumpSound) {
gotoAndPlay ("Play");
};
} else {
Hearts--;
setProperty("Player2", _y , 380);
tellTarget ("Player2") {
gotoAndStop ("Ouch");
};
DieFlag = true;
Speed = 20;
Time = 0;
Jump = 0;
}
}
}
if (Jump != 0) {
if (Height < 160) {
ScrHeight = -(Height - 160);
if (ScrHeight > MaxHeight) {
ScrHeight = MaxHeight;
}
setProperty(_root, _y , ScrHeight);
if (ScrHeight > 160) {
setProperty("Mark", _visible , true);
setProperty("Mark", _x , X);
setProperty("Mark", _y , (-ScrHeight) + 370);
} else {
setProperty("Mark", _visible , false);
}
} else {
ScrHeight = 0;
setProperty(_root, _y , 0);
}
}
setProperty(_root.Symbol, _y , (-ScrHeight) + 20);
setProperty(_root.Heart, _y , (-ScrHeight) + 20);
tellTarget (_root.Heart) {
gotoAndStop(_root.Hearts + 1);
};
if (DieFlag == true) {
gotoAndPlay (335);
}
Frame 334
if (Item <= 0) {
gotoAndPlay (338);
} else {
gotoAndPlay (333);
}
Frame 335
Count = 30;
Frame 336
Count--;
Frame 337
if (Count <= 0) {
tellTarget ("Start") {
gotoAndStop (1);
};
tellTarget ("Player1") {
gotoAndStop ("Normal");
};
tellTarget ("Player2") {
gotoAndStop ("Normal");
};
if (Hearts <= 0) {
stopAllSounds();
gotoAndPlay (281);
} else {
gotoAndPlay (333);
}
} else {
gotoAndPlay (336);
}
Frame 341
setProperty("_root", _y , 0);
Frame 351
stop();
Frame 352
Jump = 0;
Time = 0;
Gravity = 1.01;
Speed = 50;
Gravity = 1.01;
Speed = 65;
Gravity = 1.01;
Speed = 35;
MaxItem = 16;
MaxHazard = 4;
Item = MaxItem;
Gravity = 1.01;
Speed = 20;
MaxSpeed = 65;
MaxHeight = 720;
Hearts = 3;
Frame 353
ItemSize = 20;
HazardSize = 20;
DieFlag = false;
X = _xmouse;
if (X < 0) {
X = 0;
}
if (X > 400) {
X = 400;
}
setProperty("Board", _x , X);
setProperty("Board", _y , 388);
if (Jump == 0) {
setProperty("Mark", _visible , false);
tellTarget ("Board") {
gotoAndStop (2);
};
setProperty("Player1", _x , X - 40);
setProperty("Player1", _y , 340);
setProperty("Player2", _x , X + 40);
setProperty("Player2", _y , 340);
}
if (Jump == 1) {
tellTarget ("Board") {
gotoAndStop (3);
};
Time++;
PosX = PosX + MoveX;
if (PosX <= 30) {
PosX = 30;
MoveX = -MoveX;
}
if (PosX >= 370) {
PosX = 370;
MoveX = -MoveX;
}
Height = 340 - ((Speed * Time) - (Gravity * Math.pow(Time, 2)));
setProperty("Player1", _x , PosX);
setProperty("Player1", _y , Height);
setProperty("Player2", _x , X + 40);
setProperty("Player2", _y , 340);
i = 1;
while (i <= MaxItem) {
ax = getProperty("Item" add i, _x);
ay = getProperty("Item" add i, _y);
if (posx > (ax - ItemSize)) {
if (posx < (ax + ItemSize)) {
if (height > (ay - ItemSize)) {
if (height < (ay + ItemSize)) {
Item--;
tellTarget ("player1") {
gotoAndPlay ("Smile");
};
setProperty("Item" add i, _visible , false);
setProperty("Item" add i, _x , -100);
}
}
}
}
i++;
}
i = 1;
while (i <= MaxHazard) {
ax = getProperty("Hazard" add i, _x);
ay = getProperty("Hazard" add i, _y);
if (posx > (ax - HazardSize)) {
if (posx < (ax + HazardSize)) {
if (height > (ay - HazardSize)) {
if (height < (ay + HazardSize)) {
MoveX = 0;
tellTarget ("Player1") {
gotoAndStop ("Ouch");
};
setProperty("Hazard" add i, _visible , false);
setProperty("Hazard" add i, _x , -100);
}
}
}
}
i++;
}
if (Height > 340) {
In = false;
if (PosX > (X - 100)) {
if (PosX < (X + 20)) {
In = true;
}
}
if (In == true) {
tellTarget ("Player1") {
gotoAndStop ("Normal");
};
if (X < 40) {
MoveX = -5;
} else {
MoveX = (-int((X - PosX) / 8)) - 4;
}
PosX = X + 40;
Time = 0;
Jump = 2;
Speed = Speed + 5;
if (Speed >= MaxSpeed) {
Speed = MaxSpeed;
}
tellTarget (_root.JumpSound) {
gotoAndPlay ("Play");
};
} else {
Hearts--;
setProperty("Player1", _y , 380);
tellTarget ("Player1") {
gotoAndStop ("Ouch");
};
DieFlag = true;
Speed = 20;
Time = 0;
Jump = 0;
}
}
}
if (Jump == 2) {
tellTarget ("Board") {
gotoAndStop (1);
};
Time++;
PosX = PosX + MoveX;
if (PosX <= 30) {
PosX = 30;
MoveX = -MoveX;
}
if (PosX >= 370) {
PosX = 370;
MoveX = -MoveX;
}
Height = 340 - ((Speed * Time) - (Gravity * Math.pow(Time, 2)));
setProperty("Player1", _x , X - 40);
setProperty("Player1", _y , 340);
setProperty("Player2", _x , PosX);
setProperty("Player2", _y , Height);
i = 1;
while (i <= MaxItem) {
ax = getProperty("Item" add i, _x);
ay = getProperty("Item" add i, _y);
if (posx > (ax - ItemSize)) {
if (posx < (ax + ItemSize)) {
if (height > (ay - ItemSize)) {
if (height < (ay + ItemSize)) {
Item--;
tellTarget ("player2") {
gotoAndPlay ("Smile");
};
setProperty("Item" add i, _visible , false);
setProperty("Item" add i, _x , -100);
}
}
}
}
i++;
}
i = 1;
while (i <= MaxHazard) {
ax = getProperty("Hazard" add i, _x);
ay = getProperty("Hazard" add i, _y);
if (posx > (ax - HazardSize)) {
if (posx < (ax + HazardSize)) {
if (height > (ay - HazardSize)) {
if (height < (ay + HazardSize)) {
MoveX = 0;
tellTarget ("Player2") {
gotoAndStop ("Ouch");
};
setProperty("Hazard" add i, _visible , false);
setProperty("Hazard" add i, _x , -100);
}
}
}
}
i++;
}
if (Height > 340) {
In = false;
if (PosX > (X - 20)) {
if (PosX < (X + 100)) {
In = true;
}
}
if (In == true) {
tellTarget ("Player2") {
gotoAndStop ("Normal");
};
if (X > 360) {
MoveX = 5;
} else {
MoveX = int((PosX - X) / 8) + 4;
}
PosX = X - 40;
Time = 0;
Jump = 1;
Speed = Speed + 5;
if (Speed >= MaxSpeed) {
Speed = MaxSpeed;
}
tellTarget (_root.JumpSound) {
gotoAndPlay ("Play");
};
} else {
Hearts--;
setProperty("Player2", _y , 380);
tellTarget ("Player2") {
gotoAndStop ("Ouch");
};
DieFlag = true;
Speed = 20;
Time = 0;
Jump = 0;
}
}
}
if (Jump != 0) {
if (Height < 160) {
ScrHeight = -(Height - 160);
if (ScrHeight > MaxHeight) {
ScrHeight = MaxHeight;
}
setProperty(_root, _y , ScrHeight);
if (ScrHeight > 160) {
setProperty("Mark", _visible , true);
setProperty("Mark", _x , X);
setProperty("Mark", _y , (-ScrHeight) + 370);
} else {
setProperty("Mark", _visible , false);
}
} else {
ScrHeight = 0;
setProperty(_root, _y , 0);
}
}
setProperty(_root.Symbol, _y , (-ScrHeight) + 20);
setProperty(_root.Heart, _y , (-ScrHeight) + 20);
tellTarget (_root.Heart) {
gotoAndStop(_root.Hearts + 1);
};
if (DieFlag == true) {
gotoAndPlay (355);
}
Frame 354
if (Item <= 0) {
gotoAndPlay (358);
} else {
gotoAndPlay (353);
}
Frame 355
Count = 30;
Frame 356
Count--;
Frame 357
if (Count <= 0) {
tellTarget ("Start") {
gotoAndStop (1);
};
tellTarget ("Player1") {
gotoAndStop ("Normal");
};
tellTarget ("Player2") {
gotoAndStop ("Normal");
};
if (Hearts <= 0) {
stopAllSounds();
gotoAndPlay (281);
} else {
gotoAndPlay (353);
}
} else {
gotoAndPlay (356);
}
Frame 361
setProperty("_root", _y , 0);
Frame 371
stop();
Symbol 71 Button
on (release) {
getURL ("http://www.nartbox.com", "_blank");
}
Symbol 104 Button
on (release) {
gotoAndPlay (224);
}
Symbol 115 Button
on (release) {
stopAllSounds();
gotoAndPlay (312);
}
Symbol 118 Button
on (release) {
stopAllSounds();
gotoAndPlay (332);
}
Symbol 121 Button
on (release) {
stopAllSounds();
gotoAndPlay (352);
}
Symbol 143 MovieClip Frame 24
stop();
Symbol 148 Button
on (release) {
stopAllSounds();
gotoAndPlay (270);
}
Symbol 152 Button
on (release) {
stopAllSounds();
gotoAndPlay (1);
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 9
gotoAndStop (1);
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 9
gotoAndStop (1);
Symbol 205 Button
on (release) {
Set("_root:Jump", 1);
Set("_root:PosX", _root:X - 40);
Set("_root:MoveX", 7);
gotoAndStop (2);
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 214 Button
on (release) {
getURL ("http://www.nartbox.com", "_blank");
}
Symbol 215 Button
on (release) {
getURL ("http://www.nartbox.com/", "_blank");
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 3
stop();
Symbol 239 Button
on (release) {
gotoAndPlay (270);
}