Frame 3
TotalPush = new Array(7, 10, 38, 23, 19, 17, 14, 51, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Depth = 501;
Frame 4
MySound6 = new Sound();
MySound6.attachSound("MySound6");
MySound6.start(0, 100);
MySound6.setVolume(100);
stop();
Frame 5
stop();
MainLevel = 1;
DWeaver = 0;
MovePush = 0;
DoorTest = false;
TotalScore = 0;
Push = false;
Detonate = false;
Dir = 0;
Exit = false;
Moving = false;
myArray = new Array();
Frame 6
stop();
Frame 7
stop();
Frame 8
user_so.data.tname = _root.MainLevel;
user_so.flush();
_root.DWeaver = 0;
Frame 9
i = 0;
while (i < 300) {
removeMovieClip("mp" + i);
removeMovieClip("mc" + i);
i++;
}
_root.Exit = false;
_root.DoorTest = false;
_root.loop = 0;
_root.Detonate = false;
Frame 10
if (MainLevel == 1) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 1, 7, 1, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 8, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 2;
Score = 0;
Pause = false;
Door = 38;
}
if (MainLevel == 2) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 2, 0, 0, 0, 9, 0, 0, 0, 9, 0, 0, 3, 2, 0, 9, 0, 0, 0, 9, 0, 7, 0, 3, 0, 9, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 8, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 4;
Score = 0;
Pause = false;
Door = 48;
}
if (MainLevel == 3) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 1, 0, 3, 4, 9, 0, 0, 9, 9, 7, 3, 2, 1, 0, 9, 9, 0, 0, 9, 0, 4, 0, 2, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0, 4, 9, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 8, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 9;
Score = 0;
Pause = false;
Door = 27;
}
if (MainLevel == 4) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0, 9, 0, 4, 0, 4, 0, 9, 0, 0, 9, 9, 3, 0, 7, 0, 4, 9, 9, 0, 0, 9, 0, 3, 0, 3, 0, 9, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 5, 4, 4, 4, 5, 0, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 5, 0, 0, 0, 5, 4, 4, 4, 4, 4, 8, 0, 0, 0, 0, 5, 4, 4, 4, 5, 5, 0, 0, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 6;
Score = 0;
Pause = false;
Door = 57;
}
if (MainLevel == 5) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 0, 5, 0, 0, 9, 0, 0, 0, 9, 3, 5, 5, 3, 7, 9, 0, 0, 0, 9, 0, 5, 0, 0, 0, 9, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 3, 0, 0, 0, 5, 4, 4, 4, 6, 6, 3, 0, 0, 0, 5, 4, 4, 4, 4, 6, 9, 0, 0, 0, 5, 4, 4, 4, 6, 6, 3, 0, 0, 0, 0, 5, 5, 5, 5, 5, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 2;
Score = 0;
Pause = false;
Door = 38;
}
if (MainLevel == 6) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 9, 0, 4, 0, 9, 9, 0, 0, 0, 0, 9, 5, 5, 5, 0, 9, 0, 0, 0, 9, 0, 0, 5, 0, 0, 9, 0, 0, 0, 9, 0, 5, 7, 5, 0, 9, 0, 0, 0, 0, 9, 0, 4, 0, 9, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 3, 6, 6, 6, 3, 3, 0, 0, 0, 0, 3, 6, 6, 6, 6, 9, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 0, 3, 6, 6, 6, 3, 0, 0, 0, 0, 0, 3, 6, 6, 6, 3, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 2;
Score = 0;
Pause = false;
Door = 38;
}
if (MainLevel == 7) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 9, 0, 5, 0, 9, 0, 0, 0, 0, 9, 0, 1, 4, 0, 0, 9, 0, 0, 0, 9, 1, 4, 0, 1, 7, 9, 0, 0, 0, 9, 0, 1, 4, 0, 0, 9, 0, 0, 0, 0, 9, 0, 5, 0, 9, 0, 0, 0, 0, 0, 0, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 3, 6, 6, 6, 3, 0, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 9, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 0, 3, 6, 6, 6, 3, 0, 0, 0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 7;
Score = 0;
Pause = false;
Door = 48;
}
if (MainLevel == 8) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 0, 0, 1, 0, 9, 0, 0, 0, 9, 0, 3, 2, 9, 0, 9, 0, 0, 0, 9, 0, 5, 7, 0, 4, 9, 0, 0, 0, 9, 0, 4, 5, 2, 1, 9, 0, 0, 0, 9, 0, 3, 0, 0, 0, 9, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 2, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 9, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 8;
Score = 0;
Pause = false;
Door = 48;
}
Frame 11
if (MainLevel == 9) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 0, 0, 0, 0, 0, 9, 7, 0, 0, 0, 9, 0, 0, 0, 9, 4, 0, 0, 6, 0, 0, 9, 0, 0, 0, 9, 0, 3, 0, 0, 9, 0, 0, 0, 0, 0, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 6, 6, 6, 6, 3, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 9, 0, 0, 0, 3, 6, 6, 6, 6, 3, 3, 0, 0, 0, 0, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 2;
Score = 0;
Pause = false;
Door = 38;
}
if (MainLevel == 10) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 1, 2, 0, 0, 9, 0, 0, 0, 9, 0, 4, 3, 0, 7, 9, 0, 0, 0, 9, 4, 0, 0, 6, 0, 9, 0, 0, 0, 9, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 9, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 0, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 5;
Score = 0;
Pause = false;
Door = 28;
}
if (MainLevel == 11) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 9, 0, 0, 0, 9, 0, 2, 0, 0, 0, 9, 0, 0, 9, 0, 5, 0, 0, 0, 0, 9, 0, 0, 9, 0, 6, 0, 7, 0, 0, 9, 0, 0, 9, 0, 0, 4, 0, 4, 2, 9, 0, 0, 9, 0, 3, 0, 0, 0, 3, 9, 0, 0, 0, 9, 4, 0, 0, 0, 9, 0, 0, 0, 0, 0, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 9, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 6, 6, 6, 6, 3, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 7;
Score = 0;
Pause = false;
Door = 28;
}
if (MainLevel == 12) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 9, 0, 0, 0, 9, 0, 0, 0, 0, 1, 0, 9, 0, 0, 9, 0, 2, 3, 0, 5, 0, 9, 0, 0, 9, 0, 5, 5, 6, 0, 0, 9, 0, 0, 9, 0, 0, 6, 5, 2, 0, 9, 0, 0, 9, 0, 5, 0, 7, 5, 0, 9, 0, 0, 9, 0, 3, 0, 0, 0, 0, 9, 0, 0, 0, 9, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 9, 0, 0, 3, 6, 6, 6, 6, 6, 6, 3, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 5;
Score = 0;
Pause = false;
Door = 68;
}
if (MainLevel == 13) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 3, 0, 3, 0, 0, 9, 9, 0, 9, 9, 0, 8, 0, 0, 7, 0, 9, 0, 0, 9, 0, 0, 0, 8, 0, 9, 9, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 9, 0, 0, 3, 6, 6, 6, 6, 6, 3, 3, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 2;
Score = 0;
Pause = false;
Door = 38;
}
if (MainLevel == 14) {
myArray = new Array();
Map = new Array(0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 8, 4, 8, 4, 8, 9, 9, 0, 9, 9, 5, 8, 5, 5, 0, 7, 9, 0, 0, 9, 2, 5, 2, 8, 5, 9, 9, 0, 0, 0, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
myArray = new Array();
Floor = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 3, 6, 6, 6, 6, 6, 3, 3, 0, 0, 3, 6, 6, 6, 6, 7, 6, 9, 0, 0, 3, 6, 6, 6, 6, 6, 3, 3, 0, 0, 0, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Checking = false;
LevelScore = 4;
Score = 0;
Pause = false;
Door = 38;
}
if (MainLevel == 15) {
myArray = new Array();
Map = new Array(0, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 2, 8, 5, 0, 5, 0, 1, 9, 0, 9, 0, 5, 5, 3, 0, 5, 0, 9, 0, 9, 2, 0, 0, 0, 0, 0, 1, 9, 0, 9, 9, 0, 9, 9, 0, 9, 9, 9, 0, 9, 0, 2, 5, 0, 0, 8, 0, 9, 0, 9, 5, 0, 8, 0, 0, 0, 0, 9, 0, 9, 0, 1, 5, 5, 8, 0, 5, 9, 0, 9, 5, 7, 0, 0, 0, 3, 5, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 0, 0);
myArray = new Array();
Floor = new Array(0, 3, 3, 3, 3, 3, 3, 3, 0, 0, 3, 6, 6, 6, 6, 6, 6, 6, 3, 0, 3, 6, 6, 6, 6, 6, 6, 6, 3, 0, 3, 6, 6, 6, 6, 6, 6, 6, 3, 0, 3, 3, 6, 3, 3, 6, 3, 3, 3, 0, 3, 6, 6, 6, 6, 6, 6, 6, 2, 0, 3, 7, 6, 6, 6, 6, 6, 1, 2, 0, 3, 6, 6, 6, 6, 6, 1, 1, 10, 0, 3, 6, 6, 6, 6, 1, 1, 1, 2, 0, 0, 3, 3, 3, 3, 2, 2, 2, 0, 0);
Checking = false;
LevelScore = 8;
Score = 0;
Pause = false;
Door = 78;
}
Frame 20
ypos = 50;
xpos = 50;
i = 0;
while (i < 100) {
if (_root.Floor[i] == 1) {
duplicateMovieClip (Tile, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 2) {
duplicateMovieClip (GreyBox, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 3) {
duplicateMovieClip (GreyBox2, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 4) {
duplicateMovieClip (Tile2, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 5) {
duplicateMovieClip (GreyBox3, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 6) {
duplicateMovieClip (Tile3, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 7) {
duplicateMovieClip (Tile4, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
}
if (_root.Floor[i] == 8) {
duplicateMovieClip (Doors, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Floor[i] == 9) {
duplicateMovieClip (SoilDoor, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Floor[i] == 10) {
duplicateMovieClip (MarbleDoor, "mp" + i, i);
setProperty("mp" + i, _x , ypos);
setProperty("mp" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
ypos = ypos + 50;
if (ypos == 500) {
ypos = 0;
xpos = xpos + 50;
}
i++;
}
ypos = 50;
xpos = 50;
i = 0;
while (i < 100) {
if (_root.Map[i] == 1) {
duplicateMovieClip (BlueBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 2) {
duplicateMovieClip (RedBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 3) {
duplicateMovieClip (YellowBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 4) {
duplicateMovieClip (GreenBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 5) {
duplicateMovieClip (ClearBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 6) {
duplicateMovieClip (JokerBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 7) {
duplicateMovieClip (FeatherBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
if (_root.Map[i] == 8) {
duplicateMovieClip (BombBox, "mc" + i, i + 200);
setProperty("mc" + i, _x , ypos);
setProperty("mc" + i, _y , xpos);
this["mc" + i].myVariable = i;
}
ypos = ypos + 50;
if (ypos == 500) {
ypos = 0;
xpos = xpos + 50;
}
MySound6.stop("MySound6");
MySound = new Sound();
MySound.attachSound("MySound");
MySound.start(0, 100);
MySound.setVolume(50);
i++;
}
Instance of Symbol 107 MovieClip "YellowBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if ((_root.Map[myVariable + 1] == 3) or (_root.Map[myVariable + 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 1] == 3) or (_root.Map[myVariable - 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable + 10] == 3) or (_root.Map[myVariable + 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 10] == 3) or (_root.Map[myVariable - 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 3;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 3;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 3;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 3;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
}
}
}
Instance of Symbol 99 MovieClip "GreenBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if ((_root.Map[myVariable + 1] == 4) or (_root.Map[myVariable + 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 1] == 4) or (_root.Map[myVariable - 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable + 10] == 4) or (_root.Map[myVariable + 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 10] == 4) or (_root.Map[myVariable - 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 4;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 4;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 4;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 4;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
}
}
}
Instance of Symbol 116 MovieClip "JOkerBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if ((((_root.Map[myVariable + 1] == 4) or (_root.Map[myVariable + 1] == 1)) or (_root.Map[myVariable + 1] == 2)) or (_root.Map[myVariable + 1] == 3)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((((_root.Map[myVariable - 1] == 4) or (_root.Map[myVariable - 1] == 1)) or (_root.Map[myVariable - 1] == 2)) or (_root.Map[myVariable - 1] == 3)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((((_root.Map[myVariable + 10] == 4) or (_root.Map[myVariable + 10] == 1)) or (_root.Map[myVariable + 10] == 2)) or (_root.Map[myVariable + 10] == 3)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((((_root.Map[myVariable - 10] == 4) or (_root.Map[myVariable - 10] == 1)) or (_root.Map[myVariable - 10] == 2)) or (_root.Map[myVariable - 10] == 3)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 6;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 6;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 6;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 6;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
}
}
}
Instance of Symbol 122 MovieClip "ClearBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if ((_root.Map[myVariable + 1] == 8) && (_root.Detonate == true)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 1] == 8) && (_root.Detonate == true)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable + 10] == 8) && (_root.Detonate == true)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 10] == 8) && (_root.Detonate == true)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 5;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 5;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 5;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 5;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
}
}
}
}
}
Instance of Symbol 95 MovieClip "BlueBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
_root.Dir = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if ((_root.Map[myVariable + 1] == 1) or (_root.Map[myVariable + 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 1] == 1) or (_root.Map[myVariable - 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable + 10] == 1) or (_root.Map[myVariable + 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 10] == 1) or (_root.Map[myVariable - 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 1;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 1;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 1;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 1;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
}
}
Instance of Symbol 103 MovieClip "RedBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if ((_root.Map[myVariable + 1] == 2) or (_root.Map[myVariable + 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 1] == 2) or (_root.Map[myVariable - 1] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable + 10] == 2) or (_root.Map[myVariable + 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if ((_root.Map[myVariable - 10] == 2) or (_root.Map[myVariable - 10] == 6)) {
this.Dead = true;
this.gotoAndPlay(10);
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 2;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 2;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 2;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 2;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
}
}
}
Instance of Symbol 164 MovieClip "FeatherBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
_root.Weaver = 1;
myListener = new Object();
myListener.onKeyUp = function () {
_root.Weaver = 1;
};
Key.addListener(myListener);
}
onClipEvent (enterFrame) {
if (_root.Pause == false) {
if (Key.isDown(39) && (_root.Weaver == 1)) {
_root.Weaver = 0;
this._rotation = 90;
if ((_root.Map[myVariable + 1] == 0) or (_root.Floor[myVariable + 1] == 99)) {
_root.Map[myVariable] = 0;
_root.Checking = false;
bpos = bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 7;
_root.Push = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
this.gotoAndPlay(5);
}
if (_root.Map[myVariable + 1] != 0) {
_root.Push = true;
_root.Dir = 1;
_root.Checking = true;
_root.Moving = false;
_root.Weaver = 1;
}
}
if (Key.isDown(37) && (_root.Weaver == 1)) {
_root.Weaver = 0;
this._rotation = 270;
if ((_root.Map[myVariable - 1] == 0) or (_root.Floor[myVariable - 1] == 99)) {
_root.Map[myVariable] = 0;
_root.Checking = true;
bpos = bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 7;
_root.SlideSound.gotoAndPlay(5);
_root.Push = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
this.gotoAndPlay(5);
}
if (_root.Map[myVariable - 1] != 0) {
_root.Push = true;
_root.Dir = 3;
_root.Checking = true;
_root.Moving = false;
_root.Weaver = 1;
}
}
if (Key.isDown(40) && (_root.Weaver == 1)) {
_root.Weaver = 0;
this._rotation = 180;
if ((_root.Map[myVariable + 10] == 0) or (_root.Floor[myVariable + 10] == 99)) {
_root.Map[myVariable] = 0;
_root.Checking = true;
apos = apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 7;
_root.SlideSound.gotoAndPlay(5);
_root.Push = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
this.gotoAndPlay(5);
}
if (_root.Map[myVariable + 10] != 0) {
_root.Push = true;
_root.Dir = 2;
_root.Checking = true;
_root.Moving = false;
_root.Weaver = 1;
}
}
if (Key.isDown(38) && (_root.Weaver == 1)) {
_root.Weaver = 0;
this._rotation = 0;
if ((_root.Map[myVariable - 10] == 0) or (_root.Floor[myVariable - 10] == 99)) {
_root.Map[myVariable] = 0;
_root.Checking = true;
apos = apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 7;
_root.SlideSound.gotoAndPlay(5);
_root.Push = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
this.gotoAndPlay(5);
}
if (_root.Map[myVariable - 10] != 0) {
_root.Push = true;
_root.Dir = 4;
_root.Checking = true;
_root.Moving = false;
_root.Weaver = 1;
}
}
if ((Key.isDown(32) && (_root.Weaver == 1)) && (_root.Moving == false)) {
this.gotoAndPlay(50);
_root.Weaver = 0;
}
this._y = this._y + ((this.apos - this._y) / 3);
this._x = this._x + ((this.bpos - this._x) / 3);
if (_root.Floor[myVariable] == 99) {
_root.Exit = true;
}
if (_root.Floor[myVariable] == 7) {
_root.Detonate = true;
_root.Floor[myVariable] = 100;
}
}
}
Instance of Symbol 173 MovieClip "Doors" in Frame 20
onClipEvent (enterFrame) {
if (_root.DoorTest == true) {
_root.Floor[_root.Door] = 99;
this.gotoAndStop(5);
_root.DoorTest = false;
}
}
Instance of Symbol 131 MovieClip "BombBox" in Frame 20
onClipEvent (load) {
this.apos = this._y;
this.bpos = this._x;
this.Dead = false;
_root.Dir = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + ((this.apos - this._y) / 4);
this._x = this._x + ((this.bpos - this._x) / 4);
if (this.Dead == false) {
if (_root.Detonate == true) {
this.Dead = true;
this.gotoAndPlay(10);
this.Dead = true;
}
if (_root.Moving == true) {
if ((_root.Map[myVariable - 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 1] == 0) && (_root.Dir == 1)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos + 50;
myVariable = myVariable + 1;
_root.Map[myVariable] = 8;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 1] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 1] == 0) && (_root.Dir == 3)) {
_root.Map[myVariable] = 0;
this.bpos = this.bpos - 50;
myVariable = myVariable - 1;
_root.Map[myVariable] = 8;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable + 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable - 10] == 0) && (_root.Dir == 4)) {
_root.Map[myVariable] = 0;
this.apos = this.apos - 50;
myVariable = myVariable - 10;
_root.Map[myVariable] = 8;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
if ((_root.Map[myVariable - 10] == 7) && (_root.Push == true)) {
if ((_root.Map[myVariable + 10] == 0) && (_root.Dir == 2)) {
_root.Map[myVariable] = 0;
this.apos = this.apos + 50;
myVariable = myVariable + 10;
_root.Map[myVariable] = 8;
_root.Dir = 0;
_root.Push = false;
_root.Target = false;
_root.Moving = false;
_root.MovePush = _root.MovePush + 1;
}
}
}
}
}
Instance of Symbol 185 MovieClip "SoilDoor" in Frame 20
onClipEvent (enterFrame) {
if (_root.DoorTest == true) {
_root.Floor[_root.Door] = 99;
this.gotoAndStop(5);
_root.DoorTest = false;
}
}
Instance of Symbol 188 MovieClip "MarbleDoor" in Frame 20
onClipEvent (enterFrame) {
if (_root.DoorTest == true) {
_root.Floor[_root.Door] = 99;
this.gotoAndStop(5);
_root.DoorTest = false;
}
}
Frame 25
stop();
Instance of Symbol 210 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((_root.Score == _root.LevelScore) && (_root.Pause == false)) {
_root.DoorTest = true;
if (_root.Exit == true) {
_root.loop = _root.loop + 1;
if (_root.loop == 10) {
_root.gameover.swapDepths(_root.Depth);
_root.gameover.gotoAndStop(5);
_root.Pause = true;
_root.Depth = _root.Depth + 1;
_root.DWeaver = true;
_root.Exit = false;
_root.DoorTest = false;
_root.loop = 0;
}
}
}
if (((Key.isDown(49) && (_root.Score != _root.LevelScore)) && (_root.Pause == false)) && (_root.DWeaver == 0)) {
_root.gameover.swapDepths(_root.Depth);
stopAllSounds();
_root.gameover.gotoAndStop(10);
_root.Pause = true;
_root.Depth = _root.Depth + 1;
_root.DWeaver = 2;
_root.Exit = false;
_root.DoorTest = false;
}
if (Key.isDown(50) && (_root.DWeaver == 0)) {
i = 0;
while (i < 300) {
removeMovieClip(_root["mp" + i]);
removeMovieClip(_root["mc" + i]);
i++;
}
stopAllSounds();
_root.Exit = false;
_root.DoorTest = false;
_root.gotoAndPlay(4);
}
if ((Key.isDown(32) && (_root.Pause == true)) && (_root.DWeaver == 1)) {
_root.MainLevel = _root.MainLevel + 1;
stopAllSounds();
_root.GameOver.gotoAndStop(1);
_root.gotoAndPlay(8);
_root.DWeaver = 0;
_root.Exit = false;
_root.DoorTest = false;
}
if (Key.isDown(32) && (_root.DWeaver == 2)) {
stopAllSounds();
_root.GameOver.gotoAndStop(1);
_root.gotoAndPlay(8);
_root.DWeaver = 0;
_root.Exit = false;
_root.DoorTest = false;
}
}
Symbol 8 MovieClip Frame 1
doneLoading = 0;
stop();
Instance of Symbol 7 MovieClip "bkgd" in Symbol 8 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.doneLoading == 0) {
total = _parent._parent.getBytesTotal();
isloaded = _parent._parent.getBytesLoaded();
p = 100 * (isLoaded / total);
_root.LoaderMovie.gotoAndPlay(int(p));
_parent.bytes = ((int(isloaded / 1000) add " KB of ") add int(total / 1000)) add " KB";
_parent.percent = int(p) add "% LOADED";
if (p > 95) {
_parent._parent.gotoAndPlay(3);
_parent.gotoAndStop("off");
_parent.doneLoading = 1;
} else {
_parent._parent.gotoAndPlay(1);
}
}
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 100
stop();
Symbol 28 MovieClip Frame 160
_root.gotoAndPlay(5);
stop();
Symbol 35 MovieClip Frame 50
stop();
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 36 MovieClip Frame 70
gotoAndPlay (1);
Symbol 39 Button
on (press) {
user_so.data.tname = 1;
_root.MainLevel = 1;
user_so.flush();
gotoAndPlay (8);
}
Symbol 40 Button
on (press) {
gotoAndPlay (6);
}
Symbol 47 Button
on (press) {
user_so = SharedObject.getLocal("user");
if (user_so.data.tname != undefined) {
_root.SendData = user_so.data.tname;
_root.MainLevel = _root.SendData;
} else {
_root.SendData = 1;
_root.MainLevel = _root.SendData;
}
gotoAndPlay (8);
}
Symbol 48 Button
on (release) {
stopAllSounds();
getURL ("http://www.cloud9designs.net", "_blank");
}
Symbol 50 Button
on (release) {
stopAllSounds();
getURL ("http://www.flashninjaclan.com", "_blank");
}
Symbol 54 Button
on (press) {
gotoAndStop (7);
}
Symbol 56 Button
on (release) {
stopAllSounds();
getURL ("http://www.flashninjaclan.com", "_blank");
}
Symbol 57 Button
on (press) {
gotoAndStop (5);
}
Symbol 66 MovieClip Frame 31
stop();
Symbol 94 MovieClip Frame 30
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 95 MovieClip Frame 25
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 95 MovieClip Frame 75
_root.TotalScore = _root.TotalScore + 100;
_root.Score = _root.Score + 1;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 99 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 99 MovieClip Frame 25
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 99 MovieClip Frame 75
_root.TotalScore = _root.TotalScore + 100;
_root.Score = _root.Score + 1;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 103 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 103 MovieClip Frame 25
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 103 MovieClip Frame 75
_root.TotalScore = _root.TotalScore + 100;
_root.Score = _root.Score + 1;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 107 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Instance of Symbol 35 MovieClip in Symbol 107 MovieClip Frame 25
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 107 MovieClip Frame 75
_root.TotalScore = _root.TotalScore + 100;
_root.Score = _root.Score + 1;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 115 MovieClip Frame 31
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 116 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 116 MovieClip Frame 59
_root.TotalScore = _root.TotalScore + 500;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 122 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 122 MovieClip Frame 75
_root.TotalScore = _root.TotalScore + 100;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 5
stop();
Instance of Symbol 94 MovieClip in Symbol 131 MovieClip Frame 20
onClipEvent (load) {
this._rotation = this._rotation + Math.round(Math.random() * 360);
}
Symbol 131 MovieClip Frame 75
_root.TotalScore = _root.TotalScore + 100;
_root.Map[myVariable] = 0;
this.removeMovieClip();
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 17
gotoAndStop (1);
Symbol 164 MovieClip Frame 56
_root.Moving = true;
Symbol 164 MovieClip Frame 64
gotoAndPlay (1);
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 5
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 5
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 5
_root.MySound.stop("MySound");
MySound2 = new Sound();
MySound2.attachSound("MySound3");
MySound2.start(0, 1);
MySound2.setVolume(100);
if (_root.MovePush < _root.TotalPush[_root.MainLevel - 1]) {
_root.TotalPush[_root.MainLevel - 1] = _root.MovePush;
_root.gameover.Record.gotoAndPlay(5);
}
_root.MovePush = 0;
_root.DWeaver = 1;
stop();
Symbol 205 MovieClip Frame 10
_root.QuitSounds.gotoAndPlay(5);
_root.MySound.stop("MySound");
MySound3 = new Sound();
MySound3.attachSound("MySound2");
MySound3.start(0, 1);
MySound3.setVolume(100);
_root.MovePush = 0;
_root.DWeaver = 2;
stop();