Frame 1
_root.skywheel._rotation = _root.skywheel._rotation + 1;
Frame 2
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndPlay (1);
}
Frame 20
level = 1;
lives = 3;
score = 0;
xtralives = 2;
xtramines = 1;
mines = 3;
_root.strawblow = 0;
Frame 33
stop();
Frame 34
stop();
Frame 46
stopAllSounds();
Frame 47
function landmine() {
if (0 < _root.mines) {
s = new Sound();
s.attachSound("laymine");
s.start();
_root[(("x" + positionx) + "y") + positiony].gotoAndPlay("mine");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 9;
_root.mines = _root.mines - 1;
i = 0;
while (i < 9) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
if (0 < mines) {
i = 0;
while (i < mines) {
_root.attachMovie("minesymbol", "minesymbol" + i, i + 3000);
_root["minesymbol" + i]._x = 90 + (i * 30);
_root["minesymbol" + i]._y = 47;
i++;
}
}
}
}
Frame 48
strawberrystatus = 0;
telepadleftstatus = 1;
telepadrightstatus = 1;
limitx = 9;
limity = 9;
positionx = 1;
positiony = 1;
totalboxes = 0;
_root.strawblow = 0;
if (level == 1) {
changes = 1;
}
if (level == 2) {
changes = 2;
}
if (level == 3) {
changes = 2;
}
if (level == 4) {
changes = 3;
}
if (level == 5) {
changes = 3;
}
if (level == 6) {
changes = 3;
}
m = 1;
while (m < 10) {
n = 1;
while (n < 10) {
_root[((("x" + m) + "y") + n) + "state"] = 0;
_root[(("x" + m) + "y") + n].gotoAndStop("white");
n++;
}
m++;
}
Frame 49
i = 0;
while (i < 9) {
_root["tanksymbol" + i].removeMovieClip();
i++;
}
if (0 < lives) {
i = 0;
while (i < lives) {
_root.attachMovie("tanksymbol", "tanksymbol" + i, i + 2000);
_root["tanksymbol" + i]._x = 90 + (i * 30);
_root["tanksymbol" + i]._y = 24;
i++;
}
}
i = 0;
while (i < 9) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
if (0 < mines) {
i = 0;
while (i < mines) {
_root.attachMovie("minesymbol", "minesymbol" + i, i + 3000);
_root["minesymbol" + i]._x = 90 + (i * 30);
_root["minesymbol" + i]._y = 47;
i++;
}
}
Frame 57
if (totalboxes == 45) {
gotoAndPlay (276);
}
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
if (level == 1) {
if (_root.totalboxes == 36) {
if (_root.strawberrystatus == 0) {
if (_root.strawblow == 0) {
attachMovie("strawberry", "strawberry", 100);
_root.strawberry._x = 275;
_root.strawberry._y = 53;
_root.strawberrystatus = 1;
}
}
}
}
if (level == 2) {
if (_root.totalboxes == 20) {
if (_root.strawberrystatus == 0) {
if (_root.strawblow == 0) {
attachMovie("strawberry", "strawberry", 100);
_root.strawberry._x = 275;
_root.strawberry._y = 53;
_root.strawberrystatus = 1;
}
}
}
}
if (level == 3) {
if (_root.totalboxes == 25) {
if (_root.strawberrystatus == 0) {
if (_root.strawblow == 0) {
attachMovie("strawberry", "strawberry", 100);
_root.strawberry._x = 275;
_root.strawberry._y = 53;
_root.strawberrystatus = 1;
}
}
}
}
if (level == 4) {
if (_root.totalboxes == 22) {
if (_root.strawberrystatus == 0) {
if (_root.strawblow == 0) {
attachMovie("strawberry", "strawberry", 100);
_root.strawberry._x = 275;
_root.strawberry._y = 53;
_root.strawberrystatus = 1;
}
}
}
}
if (level == 5) {
if (_root.totalboxes == 12) {
if (_root.strawberrystatus == 0) {
if (_root.strawblow == 0) {
attachMovie("strawberry", "strawberry", 100);
_root.strawberry._x = 275;
_root.strawberry._y = 53;
_root.strawberrystatus = 1;
}
}
}
}
if (level == 6) {
if (_root.totalboxes == 8) {
if (_root.strawberrystatus == 0) {
if (_root.strawblow == 0) {
attachMovie("strawberry", "strawberry", 100);
_root.strawberry._x = 275;
_root.strawberry._y = 53;
_root.strawberrystatus = 1;
}
}
}
}
if (4500 < score) {
if (xtralives == 2) {
s = new Sound();
s.attachSound("newlife");
s.start();
xtralives = 1;
lives = lives + 1;
i = 0;
while (i < 9) {
_root["tanksymbol" + i].removeMovieClip();
i++;
}
if (0 < lives) {
i = 0;
while (i < lives) {
_root.attachMovie("tanksymbol", "tanksymbol" + i, i + 2000);
_root["tanksymbol" + i]._x = 80 + (i * 30);
_root["tanksymbol" + i]._y = 25;
i++;
}
}
}
}
if (7000 < score) {
if (xtralives == 1) {
s = new Sound();
s.attachSound("newlife");
s.start();
xtralives = 0;
lives = lives + 1;
i = 0;
while (i < 9) {
_root["tanksymbol" + i].removeMovieClip();
i++;
}
if (0 < lives) {
i = 0;
while (i < lives) {
_root.attachMovie("tanksymbol", "tanksymbol" + i, i + 2000);
_root["tanksymbol" + i]._x = 80 + (i * 30);
_root["tanksymbol" + i]._y = 25;
i++;
}
}
}
}
if (5000 < score) {
if (xtramines == 1) {
s = new Sound();
s.attachSound("newlife");
s.start();
xtramines = 0;
mines = mines + 1;
}
}
Frame 60
gotoAndPlay (57);
Frame 61
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 4;
Frame 62
_root.tank._x = _root.tank._x + 1.5;
_root.tank._y = _root.tank._y - 5;
Frame 63
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y - 5;
Frame 64
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y - 3;
Frame 65
_root.tank._x = _root.tank._x + 4;
Frame 66
_root.tank._x = _root.tank._x + 5.5;
_root.tank._y = _root.tank._y + 3;
Frame 67
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y + 4;
Frame 68
_root.tank._x = _root.tank._x + 4;
_root.tank._y = _root.tank._y + 6;
Frame 69
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y + 9;
Frame 70
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 13;
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
Frame 71
_root.buttons.gotoAndPlay("active");
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 18;
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (changes == 1) {
if (xystate < 1) {
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root.score = _root.score + 10;
_root.totalboxes = _root.totalboxes + 1;
}
}
if (changes == 2) {
if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 15;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 10;
}
}
if (changes == 3) {
if (xystate == 2) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 3;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 20;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 15;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
_root.score = _root.score + 10;
}
}
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
gotoAndPlay (57);
Frame 72
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 4;
Frame 73
_root.tank._x = _root.tank._x - 1.5;
_root.tank._y = _root.tank._y - 5;
Frame 74
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y - 5;
Frame 75
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y - 3;
Frame 76
_root.tank._x = _root.tank._x - 4;
Frame 77
_root.tank._x = _root.tank._x - 5.5;
_root.tank._y = _root.tank._y + 3;
Frame 78
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y + 4;
Frame 79
_root.tank._x = _root.tank._x - 4;
_root.tank._y = _root.tank._y + 6;
Frame 80
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y + 9;
Frame 81
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 13;
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
Frame 82
_root.buttons.gotoAndPlay("active");
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 18;
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (changes == 1) {
if (xystate < 1) {
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root.score = _root.score + 10;
_root.totalboxes = _root.totalboxes + 1;
}
}
if (changes == 2) {
if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 15;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 10;
}
}
if (changes == 3) {
if (xystate == 2) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 3;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 20;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 15;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
_root.score = _root.score + 10;
}
}
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
gotoAndPlay (57);
Frame 83
_root.tank._y = _root.tank._y - 5;
Frame 84
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 7;
Frame 85
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y - 11;
Frame 86
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y - 9;
Frame 87
_root.tank._x = _root.tank._x - 4;
_root.tank._y = _root.tank._y - 6;
Frame 88
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y - 3;
Frame 89
_root.tank._x = _root.tank._x - 6;
_root.tank._y = _root.tank._y - 1;
Frame 90
_root.tank._x = _root.tank._x - 5;
Frame 91
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y + 1;
Frame 92
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 2;
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
Frame 93
_root.buttons.gotoAndPlay("active");
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 3;
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (changes == 1) {
if (xystate < 1) {
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root.score = _root.score + 10;
_root.totalboxes = _root.totalboxes + 1;
}
}
if (changes == 2) {
if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 15;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 10;
}
}
if (changes == 3) {
if (xystate == 2) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 3;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 20;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 15;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
_root.score = _root.score + 10;
}
}
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
gotoAndPlay (57);
Frame 94
_root.tank._y = _root.tank._y - 5;
Frame 95
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 7;
Frame 96
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y - 11;
Frame 97
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y - 9;
Frame 98
_root.tank._x = _root.tank._x + 4;
_root.tank._y = _root.tank._y - 6;
Frame 99
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y - 3;
Frame 100
_root.tank._x = _root.tank._x + 6;
_root.tank._y = _root.tank._y - 1;
Frame 101
_root.tank._x = _root.tank._x + 5;
Frame 102
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y + 1;
Frame 103
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 2;
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
Frame 104
_root.buttons.gotoAndPlay("active");
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 3;
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (changes == 1) {
if (xystate < 1) {
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root.score = _root.score + 10;
_root.totalboxes = _root.totalboxes + 1;
}
}
if (changes == 2) {
if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 15;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 10;
}
}
if (changes == 3) {
if (xystate == 2) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 3;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.score = _root.score + 20;
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
_root.score = _root.score + 15;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
_root.score = _root.score + 10;
}
}
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (_root.tank.hitzone.hitTest(_root.strawberry.hitzone)) {
_root.buttons.gotoAndStop("inactive");
gotoAndPlay (267);
}
gotoAndPlay (57);
Frame 105
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 4;
Frame 106
_root.tank._x = _root.tank._x + 1.5;
_root.tank._y = _root.tank._y - 5;
Frame 107
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y - 5;
Frame 108
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y - 3;
Frame 109
_root.tank._x = _root.tank._x + 4;
Frame 110
_root.tank._x = _root.tank._x + 5.5;
_root.tank._y = _root.tank._y + 3;
Frame 111
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y + 4;
Frame 112
_root.tank._x = _root.tank._x + 4;
_root.tank._y = _root.tank._y + 6;
Frame 113
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y + 9;
Frame 114
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 13;
Frame 115
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 18;
Frame 116
_root.tank._y = _root.tank._y + 23;
Frame 117
_root.tank._y = _root.tank._y + 33;
Frame 118
temptankx = _root.tank._x;
temptanky = _root.tank._y;
temptankdir = "downright";
gotoAndPlay (255);
Frame 119
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 4;
Frame 120
_root.tank._x = _root.tank._x - 1.5;
_root.tank._y = _root.tank._y - 5;
Frame 121
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y - 5;
Frame 122
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y - 3;
Frame 123
_root.tank._x = _root.tank._x - 4;
Frame 124
_root.tank._x = _root.tank._x - 5.5;
_root.tank._y = _root.tank._y + 3;
Frame 125
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y + 4;
Frame 126
_root.tank._x = _root.tank._x - 4;
_root.tank._y = _root.tank._y + 6;
Frame 127
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y + 9;
Frame 128
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 13;
Frame 129
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 18;
Frame 130
_root.tank._y = _root.tank._y + 23;
Frame 131
_root.tank._y = _root.tank._y + 33;
Frame 132
temptankx = _root.tank._x;
temptanky = _root.tank._y;
temptankdir = "downleft";
gotoAndPlay (255);
Frame 133
_root.tank._y = _root.tank._y - 5;
Frame 134
_root.tank._y = _root.tank._y - 7;
Frame 135
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 11;
Frame 136
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 9;
Frame 137
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y - 6;
Frame 138
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y - 3;
Frame 139
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y - 1;
Frame 140
_root.tank._x = _root.tank._x - 6;
Frame 141
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y + 1;
Frame 142
_root.tank._x = _root.tank._x - 4;
_root.tank._y = _root.tank._y + 2;
Frame 143
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y + 3;
Frame 144
temptankx = _root.tank._x;
temptanky = _root.tank._y;
temptankdir = "upleft";
gotoAndPlay (255);
Frame 145
_root.tank._y = _root.tank._y - 5;
Frame 146
_root.tank._y = _root.tank._y - 7;
Frame 147
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 11;
Frame 148
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 9;
Frame 149
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y - 6;
Frame 150
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y - 3;
Frame 151
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y - 1;
Frame 152
_root.tank._x = _root.tank._x + 6;
Frame 153
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y + 1;
Frame 154
_root.tank._x = _root.tank._x + 4;
_root.tank._y = _root.tank._y + 2;
Frame 155
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y + 3;
Frame 156
temptankx = _root.tank._x;
temptanky = _root.tank._y;
temptankdir = "upright";
gotoAndPlay (255);
Frame 157
_root.tank._y = _root.tank._y - 5;
Frame 158
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 7;
Frame 159
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y - 11;
Frame 160
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y - 9;
Frame 161
_root.tank._x = _root.tank._x + 4;
_root.tank._y = _root.tank._y - 6;
Frame 162
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y - 3;
Frame 163
_root.tank._x = _root.tank._x + 6;
_root.tank._y = _root.tank._y - 1;
Frame 164
_root.tank._x = _root.tank._x + 5;
Frame 165
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y + 1;
Frame 166
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 2;
Frame 167
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y + 3;
Frame 168
_root.tank._y = _root.tank._y + 7;
Frame 169
_root.tank._y = _root.tank._y + 11;
Frame 170
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 171
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 172
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 173
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 174
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 175
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 176
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 177
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 178
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 179
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 180
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 181
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 182
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 183
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 184
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 185
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 186
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 187
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 188
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 189
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 190
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 191
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 192
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 193
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 194
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x - 8.4;
_root.telepadright._y = _root.telepadright._y - 10;
_root.telepadright._x = _root.telepadright._x - 8.4;
Frame 195
_root.tank.gotoAndStop(2);
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 4;
Frame 196
_root.tank._x = _root.tank._x - 1.5;
_root.tank._y = _root.tank._y - 5;
_root.telepadrightstatus = 0;
Frame 197
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y - 5;
Frame 198
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y - 3;
Frame 199
_root.tank._x = _root.tank._x - 4;
Frame 200
_root.tank._x = _root.tank._x - 5.5;
_root.tank._y = _root.tank._y + 3;
Frame 201
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y + 4;
Frame 202
_root.tank._x = _root.tank._x - 4;
_root.tank._y = _root.tank._y + 6;
Frame 203
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y + 9;
Frame 204
_root.tank._x = 275;
_root.tank._y = 52.8;
Frame 205
_root.telepadright.gotoAndPlay(2);
_root.telepadrightstatus = 0;
_root.positionx = 1;
_root.positiony = 1;
_root.limitx = 9;
_root.limity = 9;
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (changes == 1) {
if (xystate < 1) {
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root.totalboxes = _root.totalboxes + 1;
}
}
if (changes == 2) {
if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
}
}
if (changes == 3) {
if (xystate == 2) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 3;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
}
}
_root.buttons.gotoAndPlay("active");
gotoAndPlay (57);
Frame 206
_root.tank._y = _root.tank._y - 5;
Frame 207
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y - 7;
Frame 208
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y - 11;
Frame 209
_root.tank._x = _root.tank._x - 3;
_root.tank._y = _root.tank._y - 9;
Frame 210
_root.tank._x = _root.tank._x - 4;
_root.tank._y = _root.tank._y - 6;
Frame 211
_root.tank._x = _root.tank._x - 5;
_root.tank._y = _root.tank._y - 3;
Frame 212
_root.tank._x = _root.tank._x - 6;
_root.tank._y = _root.tank._y - 1;
Frame 213
_root.tank._x = _root.tank._x - 5;
Frame 214
_root.tank._x = _root.tank._x - 2;
_root.tank._y = _root.tank._y + 1;
Frame 215
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 2;
Frame 216
_root.tank._x = _root.tank._x - 1;
_root.tank._y = _root.tank._y + 3;
Frame 217
_root.tank._y = _root.tank._y + 7;
Frame 218
_root.tank._y = _root.tank._y + 11;
Frame 219
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 220
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 221
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 222
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 223
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 224
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 225
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 226
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 227
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 228
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 229
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 230
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 231
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 232
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 233
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 234
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 235
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 236
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 237
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 238
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 239
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 240
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
telepadleftstatus = 0;
Frame 241
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 242
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 243
_root.tank._y = _root.tank._y - 10;
_root.tank._x = _root.tank._x + 8.4;
_root.telepadleft._y = _root.telepadleft._y - 10;
_root.telepadleft._x = _root.telepadleft._x + 8.4;
Frame 244
_root.tank.gotoAndStop(1);
_root.tank._x = _root.tank._x + 1;
_root.tank._y = _root.tank._y - 4;
Frame 245
_root.tank._x = _root.tank._x + 1.5;
_root.tank._y = _root.tank._y - 5;
Frame 246
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y - 5;
Frame 247
_root.tank._x = _root.tank._x + 3;
_root.tank._y = _root.tank._y - 3;
Frame 248
_root.tank._x = _root.tank._x + 4;
Frame 249
_root.tank._x = _root.tank._x + 5.5;
_root.tank._y = _root.tank._y + 3;
Frame 250
_root.tank._x = _root.tank._x + 5;
_root.tank._y = _root.tank._y + 4;
Frame 251
_root.tank._x = _root.tank._x + 4;
_root.tank._y = _root.tank._y + 6;
Frame 252
_root.tank._x = _root.tank._x + 2;
_root.tank._y = _root.tank._y + 9;
Frame 253
_root.tank._x = 275;
_root.tank._y = 52.8;
Frame 254
_root.telepadleft.gotoAndPlay(2);
telepadleftstatus = 0;
positionx = 1;
positiony = 1;
limitx = 9;
limity = 9;
_root.xystate = _root[((("x" + positionx) + "y") + positiony) + "state"];
if (changes == 1) {
if (xystate < 1) {
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root.totalboxes = _root.totalboxes + 1;
}
}
if (changes == 2) {
if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
}
}
if (changes == 3) {
if (xystate == 2) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 3;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("blue");
_root.totalboxes = _root.totalboxes + 1;
} else if (xystate == 1) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 2;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("green");
} else if (xystate == 0) {
_root[((("x" + positionx) + "y") + positiony) + "state"] = 1;
_root[(("x" + positionx) + "y") + positiony].gotoAndStop("red");
}
}
_root.buttons.gotoAndPlay("active");
gotoAndPlay (57);
Frame 255
_root.buttons.gotoAndStop("inactive");
if (temptankdir == "upright") {
_root.tank._x = temptankx;
_root.tank._y = temptanky;
_root.tank.gotoAndStop(3);
}
if (temptankdir == "upleft") {
_root.tank._x = temptankx;
_root.tank._y = temptanky;
_root.tank.gotoAndStop(4);
}
if (temptankdir == "downleft") {
_root.tank._x = temptankx;
_root.tank._y = temptanky;
_root.tank.gotoAndStop(1);
}
if (temptankdir == "downright") {
_root.tank._x = temptankx;
_root.tank._y = temptanky;
_root.tank.gotoAndStop(2);
}
_root.tank._y = _root.tank._y + 5;
Frame 256
_root.tank._y = _root.tank._y + 9;
Frame 257
_root.tank._y = _root.tank._y + 15;
Frame 258
_root.tank._y = _root.tank._y + 23;
Frame 259
_root.tank._y = _root.tank._y + 40;
Frame 260
_root.tank._y = _root.tank._y + 54;
Frame 261
_root.tank._y = _root.tank._y + 90;
Frame 262
_root.tank._y = _root.tank._y + 100;
Frame 263
_root.tank._y = _root.tank._y + 100;
Frame 264
i = 0;
while (i < 9) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
if (lives < 1) {
endmessage = "Game Over Man! Final Score: " + score;
gotoAndPlay (285);
}
lives = lives - 1;
if (250 < score) {
score = score - 250;
}
Frame 266
strawberry.removeMovieClip();
stop();
Frame 267
_root.strawberry.gotoAndPlay("explode");
_root.buttons.gotoAndStop("inactive");
if (250 < score) {
score = score - 250;
}
Frame 273
i = 0;
while (i < 9) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
if (lives < 1) {
endmessage = "Game Over Man! Final Score: " + score;
gotoAndPlay (285);
}
lives = lives - 1;
Frame 275
strawberry.removeMovieClip();
i = 0;
while (i < 3) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
stop();
Frame 276
strawberry.removeMovieClip();
i = 0;
while (i < 3) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
_root.buttons.gotoAndPlay("inactive");
Frame 277
i = 0;
while (i < 9) {
_root["minesymbol" + i].removeMovieClip();
i++;
}
if (level == 1) {
score = score + 250;
}
if (level == 2) {
score = score + 500;
}
if (level == 3) {
score = score + 750;
}
if (level == 4) {
score = score + 1000;
}
if (level == 5) {
score = score + 1500;
}
if (level == 6) {
score = score + 2500;
endmessage = "Champion! Your final score: " + score;
gotoAndPlay (285);
}
Frame 284
stop();
Frame 286
_root.nightwheel._rotation = _root.nightwheel._rotation + 0.5;
Frame 287
_root.nightwheel._rotation = _root.nightwheel._rotation + 0.5;
Frame 288
gotoAndPlay (286);
Symbol 27 MovieClip [x3y3] Frame 1
stop();
Symbol 27 MovieClip [x3y3] Frame 2
stop();
Symbol 27 MovieClip [x3y3] Frame 3
stop();
Symbol 27 MovieClip [x3y3] Frame 4
stop();
Symbol 27 MovieClip [x3y3] Frame 5
stop();
Symbol 27 MovieClip [x3y3] Frame 6
stop();
Symbol 27 MovieClip [x3y3] Frame 7
stop();
Symbol 27 MovieClip [x3y3] Frame 8
stop();
Symbol 27 MovieClip [x3y3] Frame 9
stop();
Symbol 27 MovieClip [x3y3] Frame 10
stop();
Symbol 27 MovieClip [x3y3] Frame 13
gotoAndPlay (11);
Symbol 32 MovieClip Frame 5
stop();
Symbol 32 MovieClip Frame 11
stop();
Symbol 32 MovieClip Frame 17
stop();
Symbol 32 MovieClip Frame 19
gotoAndPlay (13);
Symbol 41 MovieClip [strawberry] Frame 14
_root.strawlimitx = 9;
_root.strawlimity = 9;
_root.strawpositionx = 1;
_root.strawpositiony = 1;
Symbol 41 MovieClip [strawberry] Frame 16
if (_root[((("x" + _root.strawpositionx) + "y") + _root.strawpositiony) + "state"] == 9) {
_root[((("x" + _root.strawpositionx) + "y") + _root.strawpositiony) + "state"] == 3;
_root[(("x" + _root.strawpositionx) + "y") + _root.strawpositiony].gotoAndPlay("blue");
_root.totalboxes = _root.totalboxes + 1;
gotoAndPlay (70);
_root.strawblow = 1;
} else {
_root.distancex = _root.strawpositionx - _root.positionx;
_root.distancey = _root.strawpositiony - _root.positiony;
if (math.abs(_root.distancex) >= math.abs(_root.distancey)) {
if (_root.strawpositionx < _root.strawlimitx) {
if (_root.distancex < 0) {
gotoAndPlay (21);
}
}
if (_root.strawpositionx >= _root.strawlimitx) {
if (1 < _root.strawpositiony) {
gotoAndPlay (57);
}
}
if (0 < _root.distancex) {
gotoAndPlay (45);
}
}
if (math.abs(_root.distancex) < math.abs(_root.distancey)) {
if (_root.distancey < 0) {
gotoAndPlay (33);
}
if (0 < _root.distancey) {
gotoAndPlay (57);
}
}
}
Symbol 41 MovieClip [strawberry] Frame 20
gotoAndPlay (16);
Symbol 41 MovieClip [strawberry] Frame 21
_root.strawberry.strawberry_avy.gotoAndPlay("right");
_root.strawberry._x = _root.strawberry._x + 1;
_root.strawberry._y = _root.strawberry._y - 4;
Symbol 41 MovieClip [strawberry] Frame 22
_root.strawberry._x = _root.strawberry._x + 1.5;
_root.strawberry._y = _root.strawberry._y - 5;
Symbol 41 MovieClip [strawberry] Frame 23
_root.strawberry._x = _root.strawberry._x + 2;
_root.strawberry._y = _root.strawberry._y - 5;
Symbol 41 MovieClip [strawberry] Frame 24
_root.strawberry._x = _root.strawberry._x + 3;
_root.strawberry._y = _root.strawberry._y - 3;
Symbol 41 MovieClip [strawberry] Frame 25
_root.strawberry._x = _root.strawberry._x + 4;
Symbol 41 MovieClip [strawberry] Frame 26
_root.strawberry._x = _root.strawberry._x + 5.5;
_root.strawberry._y = _root.strawberry._y + 3;
Symbol 41 MovieClip [strawberry] Frame 27
_root.strawberry._x = _root.strawberry._x + 5;
_root.strawberry._y = _root.strawberry._y + 4;
Symbol 41 MovieClip [strawberry] Frame 28
_root.strawberry._x = _root.strawberry._x + 4;
_root.strawberry._y = _root.strawberry._y + 6;
Symbol 41 MovieClip [strawberry] Frame 29
_root.strawberry._x = _root.strawberry._x + 2;
_root.strawberry._y = _root.strawberry._y + 9;
Symbol 41 MovieClip [strawberry] Frame 30
_root.strawberry._x = _root.strawberry._x + 1;
_root.strawberry._y = _root.strawberry._y + 13;
Symbol 41 MovieClip [strawberry] Frame 31
_root.strawberry._x = _root.strawberry._x + 1;
_root.strawberry._y = _root.strawberry._y + 18;
Symbol 41 MovieClip [strawberry] Frame 32
_root.strawpositionx = _root.strawpositionx + 1;
_root.strawlimity = _root.strawlimity - 1;
gotoAndPlay (16);
Symbol 41 MovieClip [strawberry] Frame 33
_root.strawberry.strawberry_avy.gotoAndPlay("left");
_root.strawberry._x = _root.strawberry._x - 1;
_root.strawberry._y = _root.strawberry._y - 4;
Symbol 41 MovieClip [strawberry] Frame 34
_root.strawberry._x = _root.strawberry._x - 1.5;
_root.strawberry._y = _root.strawberry._y - 5;
Symbol 41 MovieClip [strawberry] Frame 35
_root.strawberry._x = _root.strawberry._x - 2;
_root.strawberry._y = _root.strawberry._y - 5;
Symbol 41 MovieClip [strawberry] Frame 36
_root.strawberry._x = _root.strawberry._x - 3;
_root.strawberry._y = _root.strawberry._y - 3;
Symbol 41 MovieClip [strawberry] Frame 37
_root.strawberry._x = _root.strawberry._x - 4;
Symbol 41 MovieClip [strawberry] Frame 38
_root.strawberry._x = _root.strawberry._x - 5.5;
_root.strawberry._y = _root.strawberry._y + 3;
Symbol 41 MovieClip [strawberry] Frame 39
_root.strawberry._x = _root.strawberry._x - 5;
_root.strawberry._y = _root.strawberry._y + 4;
Symbol 41 MovieClip [strawberry] Frame 40
_root.strawberry._x = _root.strawberry._x - 4;
_root.strawberry._y = _root.strawberry._y + 6;
Symbol 41 MovieClip [strawberry] Frame 41
_root.strawberry._x = _root.strawberry._x - 2;
_root.strawberry._y = _root.strawberry._y + 9;
Symbol 41 MovieClip [strawberry] Frame 42
_root.strawberry._x = _root.strawberry._x - 1;
_root.strawberry._y = _root.strawberry._y + 13;
Symbol 41 MovieClip [strawberry] Frame 43
_root.strawberry._x = _root.strawberry._x - 1;
_root.strawberry._y = _root.strawberry._y + 18;
Symbol 41 MovieClip [strawberry] Frame 44
_root.strawpositiony = _root.strawpositiony + 1;
_root.strawlimitx = _root.strawlimitx - 1;
gotoAndPlay (16);
Symbol 41 MovieClip [strawberry] Frame 45
_root.strawberry.strawberry_avy.gotoAndPlay("back");
_root.strawberry._y = _root.strawberry._y - 5;
Symbol 41 MovieClip [strawberry] Frame 46
_root.strawberry._x = _root.strawberry._x - 1;
_root.strawberry._y = _root.strawberry._y - 7;
Symbol 41 MovieClip [strawberry] Frame 47
_root.strawberry._x = _root.strawberry._x - 2;
_root.strawberry._y = _root.strawberry._y - 11;
Symbol 41 MovieClip [strawberry] Frame 48
_root.strawberry._x = _root.strawberry._x - 3;
_root.strawberry._y = _root.strawberry._y - 9;
Symbol 41 MovieClip [strawberry] Frame 49
_root.strawberry._x = _root.strawberry._x - 4;
_root.strawberry._y = _root.strawberry._y - 6;
Symbol 41 MovieClip [strawberry] Frame 50
_root.strawberry._x = _root.strawberry._x - 5;
_root.strawberry._y = _root.strawberry._y - 3;
Symbol 41 MovieClip [strawberry] Frame 51
_root.strawberry._x = _root.strawberry._x - 6;
_root.strawberry._y = _root.strawberry._y - 1;
Symbol 41 MovieClip [strawberry] Frame 52
_root.strawberry._x = _root.strawberry._x - 5;
Symbol 41 MovieClip [strawberry] Frame 53
_root.strawberry._x = _root.strawberry._x - 2;
_root.strawberry._y = _root.strawberry._y + 1;
Symbol 41 MovieClip [strawberry] Frame 54
_root.strawberry._x = _root.strawberry._x - 1;
_root.strawberry._y = _root.strawberry._y + 2;
Symbol 41 MovieClip [strawberry] Frame 55
_root.strawberry._x = _root.strawberry._x - 1;
_root.strawberry._y = _root.strawberry._y + 3;
Symbol 41 MovieClip [strawberry] Frame 56
_root.strawpositionx = _root.strawpositionx - 1;
_root.strawlimity = _root.strawlimity + 1;
gotoAndPlay (16);
Symbol 41 MovieClip [strawberry] Frame 57
_root.strawberry.strawberry_avy.gotoAndPlay("back");
_root.strawberry._y = _root.strawberry._y - 5;
Symbol 41 MovieClip [strawberry] Frame 58
_root.strawberry._x = _root.strawberry._x + 1;
_root.strawberry._y = _root.strawberry._y - 7;
Symbol 41 MovieClip [strawberry] Frame 59
_root.strawberry._x = _root.strawberry._x + 2;
_root.strawberry._y = _root.strawberry._y - 11;
Symbol 41 MovieClip [strawberry] Frame 60
_root.strawberry._x = _root.strawberry._x + 3;
_root.strawberry._y = _root.strawberry._y - 9;
Symbol 41 MovieClip [strawberry] Frame 61
_root.strawberry._x = _root.strawberry._x + 4;
_root.strawberry._y = _root.strawberry._y - 6;
Symbol 41 MovieClip [strawberry] Frame 62
_root.strawberry._x = _root.strawberry._x + 5;
_root.strawberry._y = _root.strawberry._y - 3;
Symbol 41 MovieClip [strawberry] Frame 63
_root.strawberry._x = _root.strawberry._x + 6;
_root.strawberry._y = _root.strawberry._y - 1;
Symbol 41 MovieClip [strawberry] Frame 64
_root.strawberry._x = _root.strawberry._x + 5;
Symbol 41 MovieClip [strawberry] Frame 65
_root.strawberry._x = _root.strawberry._x + 2;
_root.strawberry._y = _root.strawberry._y + 1;
Symbol 41 MovieClip [strawberry] Frame 66
_root.strawberry._x = _root.strawberry._x + 1;
_root.strawberry._y = _root.strawberry._y + 2;
Symbol 41 MovieClip [strawberry] Frame 67
_root.strawberry._x = _root.strawberry._x + 1;
_root.strawberry._y = _root.strawberry._y + 3;
Symbol 41 MovieClip [strawberry] Frame 68
_root.strawpositiony = _root.strawpositiony - 1;
_root.strawlimitx = _root.strawlimitx + 1;
gotoAndPlay (16);
Symbol 41 MovieClip [strawberry] Frame 69
gotoAndPlay (16);
Symbol 41 MovieClip [strawberry] Frame 76
this.removeMovieClip();
stop();
Symbol 44 MovieClip [x3y3] Frame 1
stop();
Symbol 44 MovieClip [x3y3] Frame 2
stop();
Symbol 44 MovieClip [x3y3] Frame 3
stop();
Symbol 44 MovieClip [x3y3] Frame 4
stop();
Symbol 44 MovieClip [x3y3] Frame 5
stop();
Symbol 44 MovieClip [x3y3] Frame 6
stop();
Symbol 44 MovieClip [x3y3] Frame 7
stop();
Symbol 44 MovieClip [x3y3] Frame 8
stop();
Symbol 44 MovieClip [x3y3] Frame 9
stop();
Symbol 44 MovieClip [x3y3] Frame 10
stop();
Symbol 44 MovieClip [x3y3] Frame 13
gotoAndPlay (11);
Symbol 45 MovieClip [x3y3] Frame 1
stop();
Symbol 45 MovieClip [x3y3] Frame 2
stop();
Symbol 45 MovieClip [x3y3] Frame 3
stop();
Symbol 45 MovieClip [x3y3] Frame 4
stop();
Symbol 45 MovieClip [x3y3] Frame 5
stop();
Symbol 45 MovieClip [x3y3] Frame 6
stop();
Symbol 45 MovieClip [x3y3] Frame 7
stop();
Symbol 45 MovieClip [x3y3] Frame 8
stop();
Symbol 45 MovieClip [x3y3] Frame 9
stop();
Symbol 45 MovieClip [x3y3] Frame 10
stop();
Symbol 45 MovieClip [x3y3] Frame 13
gotoAndPlay (11);
Symbol 60 MovieClip Frame 1
setProperty(this, _xscale , (_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
Symbol 76 Button
on (release) {
gotoAndPlay (35);
}
Symbol 79 Button
on (release) {
gotoAndPlay (34);
}
Symbol 86 Button
on (press, keyPress "<Up>") {
if (_root.positionx < 2) {
gotoAndPlay (3);
_root.tank.gotoAndStop(4);
if (_root.telepadrightstatus == 0) {
_parent.gotoAndPlay("fall up left");
}
if (_root.telepadleftstatus == 1) {
if (_root.positiony == 8) {
_parent.gotoAndPlay("telepadleft");
} else {
_parent.gotoAndPlay("fall up left");
}
} else {
_parent.gotoAndPlay("fall up left");
}
} else {
gotoAndPlay (3);
_parent.gotoAndPlay("up left");
_root.tank.gotoAndStop(4);
_root.positionx = _root.positionx - 1;
_root.limity = _root.limity + 1;
}
}
Symbol 90 Button
on (press, keyPress "<Right>") {
if (_root.positiony < 2) {
gotoAndPlay (3);
_root.tank.gotoAndStop(3);
if (_root.telepadrightstatus == 0) {
_parent.gotoAndPlay("fall up right");
}
if (_root.telepadrightstatus == 1) {
if (_root.positionx == 8) {
_parent.gotoAndPlay("telepadright");
}
if (_root.positionx != 8) {
_parent.gotoAndPlay("fall up right");
}
}
} else {
gotoAndPlay (3);
_parent.gotoAndPlay("up right");
_root.tank.gotoAndStop(3);
_root.positiony = _root.positiony - 1;
_root.limitx = _root.limitx + 1;
}
}
Symbol 93 Button
on (press, keyPress "<Down>") {
if (_root.positionx == _root.limitx) {
_root.tank.gotoAndStop(1);
gotoAndPlay (3);
_parent.gotoAndPlay("fall down right");
} else {
gotoAndPlay (3);
_root.tank.gotoAndStop(1);
_parent.gotoAndPlay("down right");
_root.positionx = _root.positionx + 1;
_root.limity = _root.limity - 1;
}
}
Symbol 96 Button
on (press, keyPress "<Left>") {
if (_root.positiony == _root.limity) {
_root.tank.gotoAndStop(2);
gotoAndPlay (3);
_parent.gotoAndPlay("fall down left");
} else {
gotoAndPlay (3);
_root.tank.gotoAndStop(2);
_parent.gotoAndPlay("down left");
_root.positiony = _root.positiony + 1;
_root.limitx = _root.limitx - 1;
}
}
Symbol 101 Button
on (release, keyPress "<Space>") {
_root.landmine();
}
Symbol 109 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 4
stop();
Instance of Symbol 124 MovieClip "spiral" in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 6;
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 6
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 4
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 3
stop();
Symbol 149 MovieClip Frame 4
stop();
Symbol 160 Button
on (release, keyPress "<Space>") {
_root.buttons.gotoAndStop(1);
gotoAndPlay (47);
}
Symbol 163 Button
on (release, keyPress "<Space>") {
_root.buttons.gotoAndStop(1);
gotoAndPlay (47);
}
Symbol 168 Button
on (release, keyPress "<Space>") {
level = level + 1;
_root.buttons.gotoAndStop(1);
gotoAndPlay (47);
}
Symbol 173 Button
on (release) {
stopAllSounds();
gotoAndPlay (20);
}