Frame 1
stop();
Frame 2
pigX = 0;
pigLR = 1;
LRLR = 1;
Delay = 0;
pigXg = 91;
pigLRg = 1;
LrLRg = 2;
Delayg = 0;
stopAllSounds();
if (MasiLife == 1) {
} else {
sound = new sound();
diedie = 1;
}
XXX = 0;
Fall = 0;
MasiM = 1;
diedie = diedie + 1;
if (diedie == 1) {
setProperty("/mm1", _y , 26);
setProperty("/mm2", _y , 26);
setProperty("/mm3", _y , 26);
}
if (diedie == 2) {
setProperty("/mm1", _y , -50);
}
if (diedie == 3) {
setProperty("/mm2", _y , -50);
}
if (diedie == 4) {
setProperty("/mm3", _y , -50);
}
if (diedie == 4) {
gotoAndPlay (340);
}
MasiX = 48;
MasiY = 6;
MasiLR = 1;
UDown = 1;
MasiLife = 1;
fla = 1;
ham1 = 1;
ham = 1;
bana = 1;
bana1 = 1;
Money = 1;
Money1 = 1;
scorex = 2;
ABC = 1;
Frame 3
if ((PigLR == 1) and (Delay == 0)) {
pigX = pigX + 1;
if (LRLR == 1) {
setProperty("/pig", _x , pigX * 5);
setProperty("/pig1", _x , 560);
}
if (LRLR == 2) {
setProperty("/pig1", _x , pigX * 5);
setProperty("/pig", _x , 550);
}
if (pigX >= 89) {
pigLR = 2;
setProperty("/Pig", _x , 550);
setProperty("/Pig1", _x , 560);
}
} else if ((PigLR == 2) and (Delay == 0)) {
pigX = pigX - 1;
if (LRLR == 1) {
setProperty("/pig2", _x , pigX * 5);
setProperty("/pig3", _x , 520);
}
if (LRLR == 2) {
setProperty("/pig3", _x , pigX * 5);
setProperty("/pig2", _x , 550);
}
if (-1 >= pigX) {
PigLR = 1;
setProperty("/Pig2", _x , 550);
setProperty("/Pig3", _x , 570);
}
}
if (Delay == 0) {
LRLR = LRLR + 1;
}
Delay = Delay + 1;
if ((PigLRg == 1) and (Delayg == 0)) {
pigXg = pigXg + 1;
if (LRLRg == 1) {
setProperty("/pigg", _x , pigXg * 5);
setProperty("/pig1g", _x , 560);
}
if (LRLRg == 2) {
setProperty("/pig1g", _x , pigXg * 5);
setProperty("/pigg", _x , 550);
}
if (pigXg >= 90) {
pigLRg = 2;
setProperty("/Pigg", _x , 550);
setProperty("/Pig1g", _x , 560);
}
} else if ((PigLRg == 2) and (Delayg == 0)) {
pigXg = pigXg - 1;
if (LRLRg == 1) {
setProperty("/pig2g", _x , pigXg * 5);
setProperty("/pig3g", _x , 520);
}
if (LRLRg == 2) {
setProperty("/pig3g", _x , pigXg * 5);
setProperty("/pig2g", _x , 550);
}
if (-1 >= pigXg) {
PigLRg = 1;
setProperty("/Pig2g", _x , 550);
setProperty("/Pig3g", _x , 570);
}
}
if (Delayg == 0) {
LRLRg = LRLRg + 1;
}
Delayg = Delayg + 1;
if (diedie == 1) {
setProperty("/mm1", _y , 41);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 2) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 3) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 41);
}
if (diedie >= 4) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 500);
diedie = 0;
gotoAndPlay (340);
}
if (MasiY == 2) {
if (((MasiX == 12) or (MasiX == 33)) or (MasiX == 36)) {
Fall = 1;
}
}
if (MasiY == 4) {
if ((MasiX >= 18) and (24 >= MasiX)) {
Fall = 1;
}
}
if (Fall == 1) {
XXX = XXX + 1;
setProperty("/MasiMove", _x , 520);
setProperty("/MasiMove1", _x , 520);
setProperty("/MasiMove2", _x , 520);
setProperty("/MasiMove4", _x , 520);
setProperty("/Shadow", _x , Masix * 10);
setProperty("/Shadow", _y , (Masiy * 50) - 50);
if (XXX == 1) {
Masiyy = Masiy;
setProperty("/Fall2", _x , (Masix * 10) + 15);
setProperty("/Fall2", _y , (Masiyy * 50) - 40);
Masiy = Masiy + 1;
}
if (XXX == 3) {
setProperty("/Fall2", _y , 360);
setProperty("/Fall1", _x , (Masix * 10) + 15);
setProperty("/Fall1", _y , (Masiyy * 50) - 20);
}
if (XXX == 8) {
setProperty("/Fall1", _y , 360);
setProperty("/Fall2", _x , (Masix * 10) + 15);
setProperty("/Fall2", _y , (Masiyy * 50) + 0);
}
if (XXX == 14) {
setProperty("/Fall2", _y , 360);
setProperty("/Fall3", _x , (Masix * 10) + 15);
setProperty("/Fall3", _y , (Masiyy * 50) + 20);
}
if (XXX == 20) {
setProperty("/Fall3", _y , 360);
setProperty("/Fall2", _y , (Masiyy * 50) + 50);
}
if (22 < XXX) {
setProperty("/Fall2", _y , 360);
Fall = 0;
XXX = 0;
MasiY = Masiy + 1;
setProperty("/shadow", _x , 520);
}
}
if (((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) {
if (kee == 2) {
XXX = XXX + 1;
if (XXX == 1) {
_root.so.start("bee");
setProperty("/Jump", _x , Masix * 10);
}
if (XXX == 5) {
setProperty("/Jump", _y , 350);
setProperty("/Jump1", _x , (Masix * 10) - 21);
setProperty("/Jump1", _y , (Masiy * 50) - 68);
}
if (XXX == 9) {
setProperty("/Jump1", _y , 350);
setProperty("/Jump2", _x , (Masix * 10) - 36);
setProperty("/Jump2", _y , (Masiy * 50) - 86);
}
if (XXX == 13) {
setProperty("/Jump2", _y , 350);
setProperty("/Jump3", _x , (Masix * 10) - 47);
setProperty("/Jump3", _y , (Masiy * 50) - 66);
}
if (XXX >= 16) {
setProperty("/Jump3", _y , 350);
MasiX = Masix - 6;
setProperty("/MasiMove1", _x , Masix * 10);
XXX = 0;
kee = 1;
setProperty("/Shadow", _x , 520);
}
}
if (kee == 3) {
XXX = XXX + 1;
if (XXX == 1) {
_root.so.start("/bee");
setProperty("/Jumpp", _x , (MasiX * 10) + 30);
}
if (XXX == 5) {
setProperty("/Jumpp", _y , 350);
setProperty("/jumpp1", _x , ((Masix * 10) + 21) + 30);
setProperty("/Jumpp1", _y , (Masiy * 50) - 68);
}
if (XXX == 9) {
setProperty("/Jumpp1", _y , 350);
setProperty("/Jumpp2", _x , ((MasiX * 10) + 36) + 30);
setProperty("/Jumpp2", _y , (Masiy * 50) - 86);
}
if (XXX == 13) {
setProperty("/Jumpp2", _y , 350);
setProperty("/Jumpp3", _x , ((Masix * 10) + 47) + 30);
setProperty("/Jumpp3", _y , (Masiy * 50) - 66);
}
if (XXX >= 16) {
setProperty("/Jumpp3", _y , 350);
MasiX = MasiX + 6;
setProperty("/masiMove2", _x , Masix * 10);
XXX = 0;
kee = 1;
setProperty("/Shadow", _x , 520);
}
}
}
if (((MasiY == 6) and (MasiX == 3)) and (Ham1 == 1)) {
Scorex = 1;
setProperty("/Ham1", _x , 550);
sound.attachSound("abc");
sound.start();
Ham1 = 2;
}
if (((MasiY == 4) and (MasiX == 0)) and (Bana == 1)) {
Scorex = 1;
setProperty("/bana", _x , 550);
sound.attachSound("abc");
sound.start();
Bana = 2;
}
if (((MasiY == 4) and (MasiX == 27)) and (Money1 == 1)) {
Scorex = 1;
setProperty("/Money1", _x , 550);
sound.attachSound("abc");
sound.start();
Money1 = 2;
}
if (((MasiY == 2) and (MasiX == 6)) and (Ham == 1)) {
Scorex = 1;
setProperty("/Ham", _x , 550);
sound.attachSound("abc");
sound.start();
Ham = 2;
}
if (((MasiY == 2) and (MasiX == 30)) and (Money == 1)) {
scorex = 1;
setProperty("/Money", _x , 550);
sound.attachSound("abc");
sound.start();
Money = 2;
}
if (((MasiY == 2) and (MasiX == 45)) and (Bana1 == 1)) {
Scorex = 1;
setProperty("/Bana1", _x , 550);
sound.attachSound("abc");
sound.start();
Bana1 = 2;
}
if ((((((Ham == 2) and (Bana == 2)) and (Money == 2)) and (Money1 == 2)) and (Bana1 == 2)) and (Ham1 == 2)) {
gotoAndPlay (10);
}
if (((MasiY == 6) or (MasiY == 4)) or (MasiY == 2)) {
MYMY = 1;
} else {
MYMY = 2;
}
if (Fall == 1) {
MYMY = 2;
}
if (((UDown == 1) and (MYMY == 1)) and (MasiLife == 1)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove3", _y , 250);
if (MasiLR == 1) {
setProperty("/MasiMove4", _x , 600);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
if (MasiM == 1) {
setProperty("/MasiMove1", _x , 600);
setProperty("/MasiMove", _x , MasiX * 10);
setProperty("/MasiMove", _y , (MasiY * 50) - 50);
}
if (MasiM == 2) {
setProperty("/MasiMove", _x , 600);
setProperty("/MasiMove1", _x , MasiX * 10);
setProperty("/MasiMove1", _y , (MasiY * 50) - 50);
}
} else if (MasiLR == 2) {
setProperty("/MasiMove1", _x , 600);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
if (MasiM == 1) {
setProperty("/MasiMove4", _x , 550);
setProperty("/MasiMove2", _x , MasiX * 10);
setProperty("/MasiMove2", _y , (MasiY * 50) - 50);
}
if (MasiM == 2) {
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove4", _x , MasiX * 10);
setProperty("/MasiMove4", _y , (MasiY * 50) - 50);
}
}
} else if ((UDown == 2) and (Dup == 1)) {
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiMove4", _x , 550);
setProperty("/MasiMove1", _x , 600);
if ((4 < MasiY) and (MasiX == 12)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((4 < MasiY) and (MasiX == 36)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((2 < MasiY) and (MasiX == 3)) and (MasiY < 5)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((2 < MasiY) and (MasiX == 42)) and (MasiY < 5)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((MasiY == 5) or (MasiY == 3)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , MasiX * 10);
setProperty("/MasiMove5", _y , (MasiY * 50) - 50);
}
Udown = 1;
} else if ((UDown == 2) and (Dup == 2)) {
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiMove1", _x , 550);
setProperty("/MasiMove4", _x , 600);
if (((MasiY >= 4) and (MasiX == 12)) and (MasiY < 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 4) and (MasiX == 36)) and (MasiY < 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 2) and (MasiX == 3)) and (MasiY < 4)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 2) and (MasiX == 42)) and (MasiY < 4)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((MasiY == 5) or (MasiY == 3)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , MasiX * 10);
setProperty("/MasiMove5", _y , (MasiY * 50) - 50);
}
Udown = 1;
}
if (MasiY == 6) {
if (((PigX * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigX * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
if (((PigX * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigX * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
if ((18 < (MasiX + 3)) and (MasiX < 21)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
if ((30 < (MasiX + 3)) and (MasiX < 33)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
}
if (MasiY == 4) {
if (((PigXg * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigXg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
if (((PigXg * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigXg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
if ((33 < (MasiX + 3)) and (MasiX < 36)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
}
if (MasiY == 2) {
if ((21 < (MasiX + 3)) and (MasiX < 24)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (5);
}
}
Frame 4
if (LRLR == 3) {
LRLR = 1;
}
if (Delay >= 10) {
Delay = 0;
}
if (LRLRg == 3) {
LRLRg = 1;
}
if (Delayg >= 6) {
Delayg = 0;
}
gotoAndPlay (3);
if (scorex == 1) {
score = score + 50;
}
scorex = 2;
if (MasiM >= 3) {
MasiM = 1;
}
gotoAndPlay (3);
Frame 5
if (diedie == 2) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 3) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 41);
}
if (diedie >= 4) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 500);
diedie = 0;
gotoAndPlay (340);
}
if (MasiLife == 2) {
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiDead", _x , (MasiX * 10) + 15);
setProperty("/MasiDead", _y , (MasiY * 50) - 25);
}
fla = fla + 1;
Frame 6
if (fla >= 15) {
MasiLife = 1;
gotoAndPlay (2);
} else {
gotoAndPlay (5);
}
Frame 65
pigX = 0;
pigLR = 1;
LRLR = 1;
Delay = 0;
pigXg = 91;
pigLRg = 1;
LrLRg = 2;
Delayg = 0;
pigXgg = 0;
pigLRgg = 1;
LRLRgg = 1;
Delaygg = 0;
MYMY = 1;
XXX = 0;
Fall = 0;
MasiM = 1;
if (diedie == 2) {
setProperty("/mm1", _y , -50);
}
if (diedie == 3) {
setProperty("/mm2", _y , -50);
}
if (diedie == 4) {
setProperty("/mm3", _y , -50);
}
if (diedie == 4) {
gotoAndPlay (340);
}
MasiX = 48;
MasiY = 6;
MasiM = 1;
MasiLR = 1;
UDown = 1;
MasiLife = 1;
fla = 1;
ham1 = 1;
ham = 1;
bana = 1;
bana1 = 1;
Money = 1;
Money1 = 1;
scorex = 2;
ABC = 1;
Frame 66
if ((PigLR == 1) and (Delay == 0)) {
pigX = pigX + 1;
if (LRLR == 1) {
setProperty("/pig", _x , pigX * 5);
setProperty("/pig1", _x , 560);
}
if (LRLR == 2) {
setProperty("/pig1", _x , pigX * 5);
setProperty("/pig", _x , 550);
}
if (pigX >= 89) {
pigLR = 2;
setProperty("/Pig", _x , 550);
setProperty("/Pig1", _x , 560);
}
} else if ((PigLR == 2) and (Delay == 0)) {
pigX = pigX - 1;
if (LRLR == 1) {
setProperty("/pig2", _x , pigX * 5);
setProperty("/pig3", _x , 520);
}
if (LRLR == 2) {
setProperty("/pig3", _x , pigX * 5);
setProperty("/pig2", _x , 550);
}
if (-1 >= pigX) {
PigLR = 1;
setProperty("/Pig2", _x , 550);
setProperty("/Pig3", _x , 570);
}
}
if (Delay == 0) {
LRLR = LRLR + 1;
}
Delay = Delay + 1;
if ((PigLRg == 1) and (Delayg == 0)) {
pigXg = pigXg + 1;
if (LRLRg == 1) {
setProperty("/pigg", _x , pigXg * 5);
setProperty("/pig1g", _x , 560);
}
if (LRLRg == 2) {
setProperty("/pig1g", _x , pigXg * 5);
setProperty("/pigg", _x , 550);
}
if (pigXg >= 90) {
pigLRg = 2;
setProperty("/Pigg", _x , 550);
setProperty("/Pig1g", _x , 560);
}
} else if ((PigLRg == 2) and (Delayg == 0)) {
pigXg = pigXg - 1;
if (LRLRg == 1) {
setProperty("/pig2g", _x , pigXg * 5);
setProperty("/pig3g", _x , 520);
}
if (LRLRg == 2) {
setProperty("/pig3g", _x , pigXg * 5);
setProperty("/pig2g", _x , 550);
}
if (-1 >= pigXg) {
PigLRg = 1;
setProperty("/Pig2g", _x , 550);
setProperty("/Pig3g", _x , 570);
}
}
if (Delayg == 0) {
LRLRg = LRLRg + 1;
}
Delayg = Delayg + 1;
if ((PigLRgg == 1) and (Delaygg == 0)) {
pigXgg = pigXgg + 1;
if (LRLRgg == 1) {
setProperty("/piggg", _x , pigXgg * 5);
setProperty("/pig1gg", _x , 560);
}
if (LRLRgg == 2) {
setProperty("/pig1gg", _x , pigXgg * 5);
setProperty("/piggg", _x , 550);
}
if (pigXgg >= 89) {
pigLRgg = 2;
setProperty("/Piggg", _x , 550);
setProperty("/Pig1gg", _x , 560);
}
} else if ((PigLRgg == 2) and (Delaygg == 0)) {
pigXgg = pigXgg - 1;
if (LRLRgg == 1) {
setProperty("/pig2gg", _x , pigXgg * 5);
setProperty("/pig3gg", _x , 520);
}
if (LRLRgg == 2) {
setProperty("/pig3gg", _x , pigXgg * 5);
setProperty("/pig2gg", _x , 550);
}
if (-1 >= pigXgg) {
PigLRgg = 1;
setProperty("/Pig2gg", _x , 550);
setProperty("/Pig3gg", _x , 570);
}
}
if (Delaygg == 0) {
LRLRgg = LRLRgg + 1;
}
Delaygg = Delaygg + 1;
if (diedie == 1) {
setProperty("/mm1", _y , 41);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 2) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 3) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 41);
}
if (diedie >= 4) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 500);
diedie = 0;
gotoAndPlay (340);
}
if (MasiY == 2) {
if ((((MasiX == 6) or (MasiX == 18)) or (MasiX == 21)) or (MasiX == 36)) {
Fall = 1;
}
}
if (MasiY == 4) {
if (((MasiX == 12) or (MasiX == 24)) or (MasiX == 15)) {
Fall = 1;
}
}
if (Fall == 1) {
XXX = XXX + 1;
setProperty("/MasiMove", _x , 520);
setProperty("/MasiMove1", _x , 520);
setProperty("/MasiMove2", _x , 520);
setProperty("/MasiMove4", _x , 520);
setProperty("/Shadow", _x , Masix * 10);
setProperty("/Shadow", _y , (Masiy * 50) - 50);
if (XXX == 1) {
Masiyy = Masiy;
setProperty("/Fall2", _x , (Masix * 10) + 15);
setProperty("/Fall2", _y , (Masiy * 50) - 40);
Masiy = Masiy + 1;
}
if (XXX == 3) {
setProperty("/Fall2", _y , 360);
setProperty("/Fall1", _x , (Masix * 10) + 15);
setProperty("/Fall1", _y , (Masiyy * 50) - 20);
}
if (XXX == 8) {
setProperty("/Fall1", _y , 360);
setProperty("/Fall2", _x , (Masix * 10) + 15);
setProperty("/Fall2", _y , (Masiyy * 50) + 0);
}
if (XXX == 14) {
setProperty("/Fall2", _y , 360);
setProperty("/Fall3", _x , (Masix * 10) + 15);
setProperty("/Fall3", _y , (Masiyy * 50) + 20);
}
if (XXX == 20) {
setProperty("/Fall3", _y , 360);
setProperty("/Fall2", _y , (Masiyy * 50) + 50);
}
if (22 < XXX) {
setProperty("/Fall2", _y , 360);
Fall = 0;
XXX = 0;
MasiY = Masiy + 1;
setProperty("/shadow", _x , 520);
}
}
if (((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) {
if ((kee == 2) and (Fall == 0)) {
XXX = XXX + 1;
if (XXX == 1) {
_root.so.start("bee");
setProperty("/Jump", _x , Masix * 10);
}
if (XXX == 5) {
setProperty("/Jump", _y , 350);
setProperty("/Jump1", _x , (Masix * 10) - 21);
setProperty("/Jump1", _y , (Masiy * 50) - 68);
}
if (XXX == 9) {
setProperty("/Jump1", _y , 350);
setProperty("/Jump2", _x , (Masix * 10) - 36);
setProperty("/Jump2", _y , (Masiy * 50) - 86);
}
if (XXX == 13) {
setProperty("/Jump2", _y , 350);
setProperty("/Jump3", _x , (Masix * 10) - 47);
setProperty("/Jump3", _y , (Masiy * 50) - 66);
}
if (XXX >= 16) {
setProperty("/Jump3", _y , 350);
MasiX = Masix - 6;
setProperty("/MasiMove1", _x , Masix * 10);
XXX = 0;
kee = 1;
setProperty("/Shadow", _x , 520);
}
}
if ((kee == 3) and (Fall == 0)) {
XXX = XXX + 1;
if (XXX == 1) {
_root.so.start("/bee");
setProperty("/Jumpp", _x , (MasiX * 10) + 30);
}
if (XXX == 5) {
setProperty("/Jumpp", _y , 350);
setProperty("/jumpp1", _x , ((Masix * 10) + 21) + 30);
setProperty("/Jumpp1", _y , (Masiy * 50) - 68);
}
if (XXX == 9) {
setProperty("/Jumpp1", _y , 350);
setProperty("/Jumpp2", _x , ((MasiX * 10) + 36) + 30);
setProperty("/Jumpp2", _y , (Masiy * 50) - 86);
}
if (XXX == 13) {
setProperty("/Jumpp2", _y , 350);
setProperty("/Jumpp3", _x , ((Masix * 10) + 47) + 30);
setProperty("/Jumpp3", _y , (Masiy * 50) - 66);
}
if (XXX >= 16) {
setProperty("/Jumpp3", _y , 350);
MasiX = MasiX + 6;
setProperty("/masiMove2", _x , Masix * 10);
XXX = 0;
kee = 1;
setProperty("/Shadow", _x , 520);
}
}
}
if (((MasiY == 4) and (MasiX == 18)) and (Ham1 == 1)) {
Scorex = 1;
setProperty("/Ham1", _x , 550);
sound.attachSound("abc");
sound.start();
Ham1 = 2;
}
if (((MasiY == 6) and (MasiX == 18)) and (Bana == 1)) {
Scorex = 1;
setProperty("/bana", _x , 550);
sound.attachSound("abc");
sound.start();
Bana = 2;
}
if (((MasiY == 4) and (MasiX == 42)) and (Money1 == 1)) {
Scorex = 1;
setProperty("/Money1", _x , 550);
sound.attachSound("abc");
sound.start();
Money1 = 2;
}
if (((MasiY == 6) and (MasiX == 3)) and (Ham == 1)) {
Scorex = 1;
setProperty("/Ham", _x , 550);
sound.attachSound("abc");
sound.start();
Ham = 2;
}
if (((MasiY == 2) and (MasiX == 15)) and (Money == 1)) {
scorex = 1;
setProperty("/Money", _x , 550);
sound.attachSound("abc");
sound.start();
Money = 2;
}
if (((MasiY == 2) and (MasiX == 39)) and (Bana1 == 1)) {
Scorex = 1;
setProperty("/Bana1", _x , 550);
sound.attachSound("abc");
sound.start();
Bana1 = 2;
}
if ((((((Ham == 2) and (Bana == 2)) and (Money == 2)) and (Money1 == 2)) and (Bana1 == 2)) and (Ham1 == 2)) {
gotoAndPlay (80);
}
if (((MasiY == 6) or (MasiY == 4)) or (MasiY == 2)) {
MYMY = 1;
} else {
MYMY = 2;
}
if (Fall == 1) {
MYMY = 2;
}
if (((UDown == 1) and (MYMY == 1)) and (MasiLife == 1)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove3", _y , 250);
if (MasiLR == 1) {
setProperty("/MasiMove4", _x , 600);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
if (MasiM == 1) {
setProperty("/MasiMove1", _x , 600);
setProperty("/MasiMove", _x , MasiX * 10);
setProperty("/MasiMove", _y , (MasiY * 50) - 50);
}
if (MasiM == 2) {
setProperty("/MasiMove", _x , 600);
setProperty("/MasiMove1", _x , MasiX * 10);
setProperty("/MasiMove1", _y , (MasiY * 50) - 50);
}
} else if (MasiLR == 2) {
setProperty("/MasiMove1", _x , 600);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
if (MasiM == 1) {
setProperty("/MasiMove4", _x , 550);
setProperty("/MasiMove2", _x , MasiX * 10);
setProperty("/MasiMove2", _y , (MasiY * 50) - 50);
}
if (MasiM == 2) {
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove4", _x , MasiX * 10);
setProperty("/MasiMove4", _y , (MasiY * 50) - 50);
}
}
} else if ((UDown == 2) and (Dup == 1)) {
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiMove4", _x , 550);
setProperty("/MasiMove1", _x , 600);
if ((4 < MasiY) and (MasiX == 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((4 < MasiY) and (MasiX == 30)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((2 < MasiY) and (MasiX == 0)) and (MasiY < 5)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((MasiY == 5) or (MasiY == 3)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , MasiX * 10);
setProperty("/MasiMove5", _y , (MasiY * 50) - 50);
}
Udown = 1;
} else if ((UDown == 2) and (Dup == 2)) {
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiMove1", _x , 550);
setProperty("/MasiMove4", _x , 600);
if (((MasiY >= 4) and (MasiX == 6)) and (MasiY < 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 4) and (MasiX == 30)) and (MasiY < 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 2) and (MasiX == 0)) and (MasiY < 4)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((MasiY == 5) or (MasiY == 3)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , MasiX * 10);
setProperty("/MasiMove5", _y , (MasiY * 50) - 50);
}
Udown = 1;
}
if (MasiY == 6) {
if (((PigX * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigX * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if (((PigX * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigX * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if ((12 < (MasiX + 3)) and (MasiX < 15)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if ((36 < (MasiX + 3)) and (MAsix < 39)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
}
if (MasiY == 4) {
if (((PigXg * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigXg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if (((PigXg * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigXg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if ((39 < (MasiX + 3)) and (MasiX < 42)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if ((21 < (MasiX + 3)) and (MAsix < 24)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
}
if (MasiY == 2) {
if (((PigXgg * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigXgg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if (((PigXgg * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigXgg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
if ((27 < (MasiX + 3)) and (MasiX < 30)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (68);
}
}
Frame 67
if (LRLR == 3) {
LRLR = 1;
}
if (Delay >= 2) {
Delay = 0;
}
if (LRLRg == 3) {
LRLRg = 1;
}
if (Delayg >= 1) {
Delayg = 0;
}
if (LRLRgg == 3) {
LRLRgg = 1;
}
if (DelayGG >= 3) {
Delaygg = 0;
}
gotoAndPlay (66);
if (scorex == 1) {
score = score + 50;
}
scorex = 2;
if (MasiM >= 3) {
MasiM = 1;
}
gotoAndPlay (66);
Frame 68
if (diedie == 2) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 3) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 41);
}
if (diedie >= 4) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 500);
diedie = 0;
gotoAndPlay (340);
}
if (MasiLife == 2) {
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiDead", _x , (MasiX * 10) + 15);
setProperty("/MasiDead", _y , (MasiY * 50) - 25);
}
fla = fla + 1;
Frame 69
if (fla >= 15) {
MasiLife = 1;
diedie = diedie + 1;
gotoAndPlay (65);
} else {
gotoAndPlay (68);
}
Frame 159
pigX = 0;
pigLR = 1;
LRLR = 1;
Delay = 0;
pigXg = 91;
pigLRg = 1;
LrLRg = 2;
Delayg = 0;
pigXgg = 0;
pigLRgg = 1;
LRLRgg = 1;
Delaygg = 0;
MYMY = 1;
XXX = 0;
Fall = 0;
MasiM = 1;
if (diedie == 2) {
setProperty("/mm1", _y , -50);
}
if (diedie == 3) {
setProperty("/mm2", _y , -50);
}
if (diedie == 4) {
setProperty("/mm3", _y , -50);
}
if (diedie == 4) {
gotoAndPlay (340);
}
MasiX = 48;
MasiY = 6;
MasiM = 1;
MasiLR = 1;
UDown = 1;
MasiLife = 1;
fla = 1;
ham1 = 1;
ham = 1;
bana = 1;
bana1 = 1;
Money = 1;
Money1 = 1;
scorex = 2;
ABC = 1;
Frame 160
if ((PigLR == 1) and (Delay == 0)) {
pigX = pigX + 1;
if (LRLR == 1) {
setProperty("/pig", _x , pigX * 5);
setProperty("/pig1", _x , 560);
}
if (LRLR == 2) {
setProperty("/pig1", _x , pigX * 5);
setProperty("/pig", _x , 550);
}
if (pigX >= 89) {
pigLR = 2;
setProperty("/Pig", _x , 550);
setProperty("/Pig1", _x , 560);
}
} else if ((PigLR == 2) and (Delay == 0)) {
pigX = pigX - 1;
if (LRLR == 1) {
setProperty("/pig2", _x , pigX * 5);
setProperty("/pig3", _x , 520);
}
if (LRLR == 2) {
setProperty("/pig3", _x , pigX * 5);
setProperty("/pig2", _x , 550);
}
if (-1 >= pigX) {
PigLR = 1;
setProperty("/Pig2", _x , 550);
setProperty("/Pig3", _x , 570);
}
}
if (Delay == 0) {
LRLR = LRLR + 1;
}
Delay = Delay + 1;
if ((PigLRg == 1) and (Delayg == 0)) {
pigXg = pigXg + 1;
if (LRLRg == 1) {
setProperty("/pigg", _x , pigXg * 5);
setProperty("/pig1g", _x , 560);
}
if (LRLRg == 2) {
setProperty("/pig1g", _x , pigXg * 5);
setProperty("/pigg", _x , 550);
}
if (pigXg >= 90) {
pigLRg = 2;
setProperty("/Pigg", _x , 550);
setProperty("/Pig1g", _x , 560);
}
} else if ((PigLRg == 2) and (Delayg == 0)) {
pigXg = pigXg - 1;
if (LRLRg == 1) {
setProperty("/pig2g", _x , pigXg * 5);
setProperty("/pig3g", _x , 520);
}
if (LRLRg == 2) {
setProperty("/pig3g", _x , pigXg * 5);
setProperty("/pig2g", _x , 550);
}
if (-1 >= pigXg) {
PigLRg = 1;
setProperty("/Pig2g", _x , 550);
setProperty("/Pig3g", _x , 570);
}
}
if (Delayg == 0) {
LRLRg = LRLRg + 1;
}
Delayg = Delayg + 1;
if ((PigLRgg == 1) and (Delaygg == 0)) {
pigXgg = pigXgg + 1;
if (LRLRgg == 1) {
setProperty("/piggg", _x , pigXgg * 5);
setProperty("/pig1gg", _x , 560);
}
if (LRLRgg == 2) {
setProperty("/pig1gg", _x , pigXgg * 5);
setProperty("/piggg", _x , 550);
}
if (pigXgg >= 89) {
pigLRgg = 2;
setProperty("/Piggg", _x , 550);
setProperty("/Pig1gg", _x , 560);
}
} else if ((PigLRgg == 2) and (Delaygg == 0)) {
pigXgg = pigXgg - 1;
if (LRLRgg == 1) {
setProperty("/pig2gg", _x , pigXgg * 5);
setProperty("/pig3gg", _x , 520);
}
if (LRLRgg == 2) {
setProperty("/pig3gg", _x , pigXgg * 5);
setProperty("/pig2gg", _x , 550);
}
if (-1 >= pigXgg) {
PigLRgg = 1;
setProperty("/Pig2gg", _x , 550);
setProperty("/Pig3gg", _x , 570);
}
}
if (Delaygg == 0) {
LRLRgg = LRLRgg + 1;
}
Delaygg = Delaygg + 1;
if (diedie == 1) {
setProperty("/mm1", _y , 41);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 2) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 3) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 41);
}
if (diedie >= 4) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 500);
diedie = 0;
gotoAndPlay (340);
}
if (MasiY == 2) {
if (((((MasiX == 6) or (MasiX == 15)) or (MasiX == 24)) or (MasiX == 36)) or (MasiX == 42)) {
Fall = 1;
}
}
if (MasiY == 4) {
if (((((MasiX == 2) or (MasiX == 21)) or (MasiX == 24)) or (MasiX == 33)) or (MasiX == 42)) {
Fall = 1;
}
}
if (Fall == 1) {
XXX = XXX + 1;
setProperty("/MasiMove", _x , 520);
setProperty("/MasiMove1", _x , 520);
setProperty("/MasiMove2", _x , 520);
setProperty("/MasiMove4", _x , 520);
setProperty("/Shadow", _x , Masix * 10);
setProperty("/Shadow", _y , (Masiy * 50) - 50);
if (XXX == 1) {
Masiyy = Masiy;
setProperty("/Fall2", _x , (Masix * 10) + 15);
setProperty("/Fall2", _y , (Masiy * 50) - 40);
Masiy = Masiy + 1;
}
if (XXX == 3) {
setProperty("/Fall2", _y , 360);
setProperty("/Fall1", _x , (Masix * 10) + 15);
setProperty("/Fall1", _y , (Masiyy * 50) - 20);
}
if (XXX == 8) {
setProperty("/Fall1", _y , 360);
setProperty("/Fall2", _x , (Masix * 10) + 15);
setProperty("/Fall2", _y , (Masiyy * 50) + 0);
}
if (XXX == 14) {
setProperty("/Fall2", _y , 360);
setProperty("/Fall3", _x , (Masix * 10) + 15);
setProperty("/Fall3", _y , (Masiyy * 50) + 20);
}
if (XXX == 20) {
setProperty("/Fall3", _y , 360);
setProperty("/Fall2", _y , (Masiyy * 50) + 50);
}
if (22 < XXX) {
setProperty("/Fall2", _y , 360);
Fall = 0;
XXX = 0;
MasiY = Masiy + 1;
setProperty("/shadow", _x , 520);
}
}
if (((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) {
if ((kee == 2) and (Fall == 0)) {
XXX = XXX + 1;
if (XXX == 1) {
_root.so.start("bee");
setProperty("/Jump", _x , Masix * 10);
}
if (XXX == 5) {
setProperty("/Jump", _y , 350);
setProperty("/Jump1", _x , (Masix * 10) - 21);
setProperty("/Jump1", _y , (Masiy * 50) - 68);
}
if (XXX == 9) {
setProperty("/Jump1", _y , 350);
setProperty("/Jump2", _x , (Masix * 10) - 36);
setProperty("/Jump2", _y , (Masiy * 50) - 86);
}
if (XXX == 13) {
setProperty("/Jump2", _y , 350);
setProperty("/Jump3", _x , (Masix * 10) - 47);
setProperty("/Jump3", _y , (Masiy * 50) - 66);
}
if (XXX >= 16) {
setProperty("/Jump3", _y , 350);
MasiX = Masix - 6;
setProperty("/MasiMove1", _x , Masix * 10);
XXX = 0;
kee = 1;
setProperty("/Shadow", _x , 520);
}
}
if ((kee == 3) and (Fall == 0)) {
XXX = XXX + 1;
if (XXX == 1) {
_root.so.start("/bee");
setProperty("/Jumpp", _x , (MasiX * 10) + 30);
}
if (XXX == 5) {
setProperty("/Jumpp", _y , 350);
setProperty("/jumpp1", _x , ((Masix * 10) + 21) + 30);
setProperty("/Jumpp1", _y , (Masiy * 50) - 68);
}
if (XXX == 9) {
setProperty("/Jumpp1", _y , 350);
setProperty("/Jumpp2", _x , ((MasiX * 10) + 36) + 30);
setProperty("/Jumpp2", _y , (Masiy * 50) - 86);
}
if (XXX == 13) {
setProperty("/Jumpp2", _y , 350);
setProperty("/Jumpp3", _x , ((Masix * 10) + 47) + 30);
setProperty("/Jumpp3", _y , (Masiy * 50) - 66);
}
if (XXX >= 16) {
setProperty("/Jumpp3", _y , 350);
MasiX = MasiX + 6;
setProperty("/masiMove2", _x , Masix * 10);
XXX = 0;
kee = 1;
setProperty("/Shadow", _x , 520);
}
}
}
if (((MasiY == 2) and (MasiX == 12)) and (Ham1 == 1)) {
Scorex = 1;
setProperty("/Ham1", _x , 550);
sound.attachSound("abc");
sound.start();
Ham1 = 2;
}
if (((MasiY == 6) and (MasiX == 21)) and (Bana == 1)) {
Scorex = 1;
setProperty("/bana", _x , 550);
sound.attachSound("abc");
sound.start();
Bana = 2;
}
if (((MasiY == 4) and (MasiX == 27)) and (Money1 == 1)) {
Scorex = 1;
setProperty("/Money1", _x , 550);
sound.attachSound("abc");
sound.start();
Money1 = 2;
}
if (((MasiY == 6) and (MasiX == 0)) and (Ham == 1)) {
Scorex = 1;
setProperty("/Ham", _x , 550);
sound.attachSound("abc");
sound.start();
Ham = 2;
}
if (((MasiY == 2) and (MasiX == 21)) and (Money == 1)) {
scorex = 1;
setProperty("/Money", _x , 550);
sound.attachSound("abc");
sound.start();
Money = 2;
}
if (((MasiY == 2) and (MasiX == 45)) and (Bana1 == 1)) {
Scorex = 1;
setProperty("/Bana1", _x , 550);
sound.attachSound("abc");
sound.start();
Bana1 = 2;
}
if ((((((Ham == 2) and (Bana == 2)) and (Money == 2)) and (Money1 == 2)) and (Bana1 == 2)) and (Ham1 == 2)) {
gotoAndPlay (400);
}
if (((MasiY == 6) or (MasiY == 4)) or (MasiY == 2)) {
MYMY = 1;
} else {
MYMY = 2;
}
if (Fall == 1) {
MYMY = 2;
}
if (((UDown == 1) and (MYMY == 1)) and (MasiLife == 1)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove3", _y , 250);
if (MasiLR == 1) {
setProperty("/MasiMove4", _x , 600);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
if (MasiM == 1) {
setProperty("/MasiMove1", _x , 600);
setProperty("/MasiMove", _x , MasiX * 10);
setProperty("/MasiMove", _y , (MasiY * 50) - 50);
}
if (MasiM == 2) {
setProperty("/MasiMove", _x , 600);
setProperty("/MasiMove1", _x , MasiX * 10);
setProperty("/MasiMove1", _y , (MasiY * 50) - 50);
}
} else if (MasiLR == 2) {
setProperty("/MasiMove1", _x , 600);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
if (MasiM == 1) {
setProperty("/MasiMove4", _x , 550);
setProperty("/MasiMove2", _x , MasiX * 10);
setProperty("/MasiMove2", _y , (MasiY * 50) - 50);
}
if (MasiM == 2) {
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove4", _x , MasiX * 10);
setProperty("/MasiMove4", _y , (MasiY * 50) - 50);
}
}
} else if ((UDown == 2) and (Dup == 1)) {
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiMove4", _x , 550);
setProperty("/MasiMove1", _x , 600);
if ((4 < MasiY) and (MasiX == 12)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((4 < MasiY) and (MasiX == 39)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((2 < MasiY) and (MasiX == 0)) and (MasiY < 5)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((2 < MasiY) and (MasiX == 30)) and (MasiY < 5)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy - 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((MasiY == 5) or (MasiY == 3)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , MasiX * 10);
setProperty("/MasiMove5", _y , (MasiY * 50) - 50);
}
Udown = 1;
} else if ((UDown == 2) and (Dup == 2)) {
setProperty("/MasiMove5", _x , 510);
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiMove1", _x , 550);
setProperty("/MasiMove4", _x , 600);
if (((MasiY >= 4) and (MasiX == 12)) and (MasiY < 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 4) and (MasiX == 39)) and (MasiY < 6)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 2) and (MasiX == 0)) and (MasiY < 4)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if (((MasiY >= 2) and (MasiX == 30)) and (MasiY < 4)) {
setProperty("/MasiMove3", _x , MasiX * 10);
MasiY = Masiy + 0.5;
setProperty("/MasiMove3", _y , (MasiY * 50) - 50);
Udown = 1;
}
if ((MasiY == 5) or (MasiY == 3)) {
setProperty("/MasiMove3", _x , 550);
setProperty("/MasiMove5", _x , MasiX * 10);
setProperty("/MasiMove5", _y , (MasiY * 50) - 50);
}
Udown = 1;
}
if (MasiY == 6) {
if (((PigX * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigX * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if (((PigX * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigX * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if ((6 < (MasiX + 3)) and (MasiX < 9)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if ((24 < (MasiX + 3)) and (MAsix < 27)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if ((33 < (MasiX + 3)) and (MAsix < 36)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
}
if (MasiY == 4) {
if (((PigXg * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigXg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if (((PigXg * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigXg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if ((15 < (MasiX + 3)) and (MasiX < 18)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if ((36 < (MasiX + 3)) and (MAsix < 39)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
}
if (MasiY == 2) {
if (((PigXgg * 5) < (MasiX * 10)) and ((MasiX * 10) < ((pigXgg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if (((PigXgg * 5) < ((MasiX * 10) + 30)) and (((MasiX * 10) + 30) < ((pigXgg * 5) + 30))) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
if ((27 < (MasiX + 3)) and (MasiX < 30)) {
sound.attachSound("die");
sound.start();
MasiLife = 2;
gotoAndPlay (162);
}
}
Frame 161
if (LRLR == 3) {
LRLR = 1;
}
if (Delay >= 2) {
Delay = 0;
}
if (LRLRg == 3) {
LRLRg = 1;
}
if (Delayg >= 1) {
Delayg = 0;
}
if (LRLRgg == 3) {
LRLRgg = 1;
}
if (DelayGG >= 0) {
Delaygg = 0;
}
gotoAndPlay (160);
if (scorex == 1) {
score = score + 50;
}
scorex = 2;
if (MasiM >= 3) {
MasiM = 1;
}
gotoAndPlay (160);
Frame 162
if (diedie == 2) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 41);
setProperty("/mm3", _y , 41);
}
if (diedie == 3) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 41);
}
if (diedie >= 4) {
setProperty("/mm1", _y , 500);
setProperty("/mm2", _y , 500);
setProperty("/mm3", _y , 500);
diedie = 0;
gotoAndPlay (340);
}
if (MasiLife == 2) {
setProperty("/MasiMove", _x , 510);
setProperty("/MasiMove", _y , 300);
setProperty("/MasiMove2", _x , 550);
setProperty("/MasiMove2", _y , 300);
setProperty("/MasiDead", _x , (MasiX * 10) + 15);
setProperty("/MasiDead", _y , (MasiY * 50) - 25);
}
fla = fla + 1;
Frame 163
if (fla >= 15) {
MasiLife = 1;
diedie = diedie + 1;
gotoAndPlay (159);
} else {
gotoAndPlay (162);
}
Frame 340
diedie = 0;
score = 0;
Frame 390
gotoAndPlay (1);
Frame 440
diedie = 0;
score = 0;
gotoAndPlay (1);
Symbol 13 Button
on (release) {
gotoAndPlay (2);
}
Symbol 20 Button
on (keyPress "<Space>") {
if (((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) {
if (MasiLR == 1) {
if (5 >= MasiX) {
kee = 1;
} else {
kee = 2;
sound.attachSound("jum");
sound.start();
}
} else if (MasiLR == 2) {
if (MasiX >= 40) {
kee = 1;
} else {
kee = 3;
sound.attachSound("jum");
sound.start();
}
}
}
}
on (keyPress "<Up>") {
UDown = 2;
Dup = 1;
}
on (keyPress "<Down>") {
UDown = 2;
Dup = 2;
}
on (keyPress "<Left>") {
_root.so.start();
MasiM = MasiM + 1;
MasiX = MasiX - 1;
MasiLR = 1;
if ((Kee == 2) or (kee == 3)) {
MasiX = MasiX + 1;
}
if ((((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) or (kee == 2)) {
} else {
MasiX = MasiX + 1;
}
if (MasiX == -1) {
MasiX = 0;
}
}
on (keyPress "<Right>") {
MasiM = MasiM + 1;
MasiX = MasiX + 1;
MasiLR = 2;
if ((Kee == 2) or (kee == 3)) {
MasiX = MasiX - 1;
}
if ((((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) or (Kee == 2)) {
} else {
MasiX = MasiX - 1;
}
if ((MasiX == 49) and (MasiY == 6)) {
MasiX = 48;
}
if ((MasiX == 46) and (MasiY < 6)) {
MasiX = 45;
}
}
Symbol 112 Button
on (keyPress "<Space>") {
if (((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) {
if (MasiLR == 1) {
if (5 >= MasiX) {
kee = 1;
} else {
kee = 2;
sound.attachSound("jum");
sound.start();
}
} else if (MasiLR == 2) {
if (MasiX >= 40) {
kee = 1;
} else {
kee = 3;
sound.attachSound("jum");
sound.start();
}
}
}
}
on (keyPress "<Up>") {
UDown = 2;
Dup = 1;
}
on (keyPress "<Down>") {
UDown = 2;
Dup = 2;
}
on (keyPress "<Left>") {
_root.so.start();
MasiM = MasiM + 1;
MasiX = MasiX - 1;
MasiLR = 1;
if ((Kee == 2) or (kee == 3)) {
MasiX = MasiX + 1;
}
if ((((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) or (kee == 2)) {
} else {
MasiX = MasiX + 1;
}
if (MasiX == -1) {
MasiX = 0;
}
}
on (keyPress "<Right>") {
MasiM = MasiM + 1;
MasiX = MasiX + 1;
MasiLR = 2;
if ((Kee == 2) or (kee == 3)) {
MasiX = MasiX - 1;
}
if ((((MasiY == 2) or (MasiY == 4)) or (MasiY == 6)) or (Kee == 2)) {
} else {
MasiX = MasiX - 1;
}
if ((MasiX == 49) and (MasiY == 6)) {
MasiX = 48;
}
if ((MasiX == 46) and (MasiY < 6)) {
MasiX = 45;
}
}