Frame 25
stop();
Frame 275
gotoAndStop (276);
Frame 276
PlayMode = 0;
Players = 0;
Computer = 0;
Frame 299
stopAllSounds();
gotoAndPlay (549);
Frame 549
Set("_root.Screen:PlayMode", PlayMode);
Set("_root.Screen:Players", Players);
Set("_root.Screen:Computer", Computer);
stop();
Frame 570
stop();
Frame 571
gotoAndPlay (822);
Frame 572
gotoAndPlay (1126);
Frame 822
stopAllSounds();
Frame 876
stop();
Frame 1126
stopAllSounds();
Frame 1180
stop();
Symbol 23 Button
on (release) {
gotoAndStop (276);
}
Symbol 29 Button
on (release) {
getURL ("http://www.nartbox.com", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://www.nartbox.com", "_blank");
}
Symbol 39 MovieClip Frame 11
gotoAndPlay (1);
Symbol 41 Button
on (release) {
gotoAndStop (277);
}
Symbol 44 Button
on (release) {
PlayMode = 1;
gotoAndStop (278);
}
Symbol 47 Button
on (release) {
PlayMode = 2;
gotoAndPlay (279);
}
Symbol 50 Button
on (release) {
Players = 1;
Computer = 2;
gotoAndPlay (279);
}
Symbol 53 Button
on (release) {
Players = 2;
Computer = 1;
gotoAndPlay (279);
}
Symbol 54 MovieClip Frame 20
stop();
Symbol 64 MovieClip Frame 5
gotoAndPlay (1);
Symbol 68 Button
on (press) {
angle = 0;
gotoAndPlay (24);
}
on (release, releaseOutside) {
gotoAndPlay (26);
}
Symbol 76 MovieClip Frame 20
gotoAndPlay (1);
Symbol 79 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
if (click == true) {
angle = angle + 10;
if (angle >= 180) {
angle = 180;
}
Set("_level0:SetSpeed", angle);
setProperty("Bar", _rotation , angle);
} else {
angle = 0;
}
Symbol 86 MovieClip Frame 2
gotoAndPlay (2);
Symbol 97 MovieClip Frame 1
if (_root.Screen:Item == 4) {
gotoAndPlay (37);
}
Symbol 97 MovieClip Frame 36
stop();
Symbol 101 MovieClip Frame 1
if (_root.Screen:Item == 4) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 3
if (..:Watch == true) {
Set("..:Computer", 1);
}
if (..:Computer == 1) {
mouse.hide();
Set("_root.CursorCom:TX", _root._xmouse);
Set("_root.CursorCom:TY", _root._ymouse);
Set("_root.CursorCom:PrevX", _root.CursorCom:TX);
Set("_root.CursorCom:PrevY", _root.CursorCom:TY);
setProperty("_root.CursorCom", _x , _root._xmouse);
setProperty("_root.CursorCom", _y , _root._ymouse);
setProperty("_root.CursorCom", _visible , true);
tellTarget ("_root.CursorCom") {
gotoAndPlay ("Arrow");
};
}
Symbol 121 MovieClip Frame 21
seta = 45;
angle = 0;
if (..:Computer == 1) {
ItemUse = 0;
MoveResult = false;
pi = 3.1415;
radian = pi / 180;
temp = 50;
PW = 135;
wind = -_root.Screen:Winds;
if (wind < 0) {
PW = (PW + int(wind / 5)) - 5;
}
if (0 < wind) {
PW = PW + int(wind / 3.3);
}
if (random(2) == 0) {
temp = (temp + random(10)) - 5;
PW = (PW + random(10)) - 5;
} else {
temp = (temp + random(60)) - 30;
PW = (PW + random(60)) - 30;
}
if (temp < 30) {
temp = 30;
}
if (80 < temp) {
temp = 80;
}
distance = random(100) + 100;
MX = (_x + 550) + (Math.cos(temp * radian) * distance);
MY = (_y + 25) - (Math.sin(temp * radian) * distance);
Set("_root.CursorCom:TX", MX);
Set("_root.CursorCom:TY", MY);
Set("_root.CursorCom:Name", _name);
if (_root.Toolbar.ItemM1:Used == false) {
if (random(5) == 0) {
ItemUse = 1;
Set("_root.CursorCom:TX", 65);
Set("_root.CursorCom:TY", 76);
}
}
if (_root.Toolbar.ItemM2:Used == false) {
if (random(5) == 0) {
ItemUse = 2;
Set("_root.CursorCom:TX", 105);
Set("_root.CursorCom:TY", 76);
}
}
if (_root.Toolbar.ItemM4:Used == false) {
if (random(5) == 0) {
ItemUse = 4;
Set("_root.CursorCom:TX", 185);
Set("_root.CursorCom:TY", 76);
}
}
if (_root.Toolbar:E_Mingming < 70) {
if (_root.Toolbar.ItemM3:Used == false) {
if (random(3) == 0) {
ItemUse = 3;
Set("_root.CursorCom:TX", 145);
Set("_root.CursorCom:TY", 76);
}
}
}
if (_root.Toolbar:E_Mingming < 30) {
if (_root.Toolbar.ItemM3:Used == false) {
ItemUse = 3;
Set("_root.CursorCom:TX", 145);
Set("_root.CursorCom:TY", 76);
}
}
gotoAndPlay (37);
}
Symbol 121 MovieClip Frame 22
direct = 1;
minangle = 30;
maxangle = 80;
pi = 3.1415;
radian = pi / 180;
if (0 < _xmouse) {
if (_ymouse < -50) {
x = Math.abs(_xmouse);
y = Math.abs(_ymouse + 50);
x2 = Math.pow(x, 2);
y2 = Math.pow(y, 2);
r = Math.sqrt(x2 + y2);
xx = x / r;
seta = Math.acos(xx) / radian;
seta = int(seta * 100) / 100;
if (maxangle < seta) {
seta = maxangle;
}
if (seta < minangle) {
seta = minangle;
}
}
}
setProperty("Line", _rotation , 90 - seta);
setProperty("Mingming.eye1.Eye", _rotation , 15 - seta);
if (_root.Screen:Item == 4) {
tellTarget ("Mingming") {
gotoAndStop (2);
};
}
Symbol 121 MovieClip Frame 23
gotoAndPlay (22);
Symbol 121 MovieClip Frame 24
angle = angle + 5;
if (angle >= 180) {
angle = 180;
gotoAndPlay (26);
}
setProperty("Power.Bar", _rotation , angle);
Symbol 121 MovieClip Frame 25
gotoAndPlay (24);
Symbol 121 MovieClip Frame 26
Set("..:angle", seta);
Set("..:speed", (angle / 8) + 12);
Set("..:Times", 0);
Set("..:Vertical", _x);
Set("..:Horizon", _y - 50);
Set("..:PrevY", ..:Horizon);
Set("..:B_angle", seta);
Set("..:B_speed", (angle / 8) + 12);
Set("..:B_Times", 0);
Set("..:B_Vertical", _x);
Set("..:B_Horizon", _y - 50);
Set("..:B_PrevY", ..:Horizon);
tellTarget ("..") {
gotoAndPlay ("ShootMingming");
};
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
stop();
Symbol 121 MovieClip Frame 36
stop();
Symbol 121 MovieClip Frame 37
direct = 1;
minangle = 30;
maxangle = 80;
pi = 3.1415;
radian = pi / 180;
CX = (getProperty("_root.CursorCom", _x) - _x) - 550;
CY = (getProperty("_root.CursorCom", _y) - _y) - 75;
if (0 < CX) {
if (CY < -50) {
x = Math.abs(CX);
y = Math.abs(CY + 50);
x2 = Math.pow(x, 2);
y2 = Math.pow(y, 2);
r = Math.sqrt(x2 + y2);
xx = x / r;
seta = Math.acos(xx) / radian;
seta = int(seta * 100) / 100;
if (maxangle < seta) {
seta = maxangle;
}
if (seta < minangle) {
seta = minangle;
}
}
}
setProperty("Line", _rotation , 90 - seta);
setProperty("Mingming.eye1.Eye", _rotation , 15 - seta);
if (_root.Screen:Item == 4) {
tellTarget ("Mingming") {
gotoAndStop (2);
};
}
if (MoveResult == true) {
if (ItemUse == 0) {
tellTarget ("_root.CursorCom") {
gotoAndPlay ("Hand");
};
gotoAndPlay (39);
}
if (ItemUse == 1) {
Set("_root.Toolbar.ItemM1:used", true);
Set("_root.Screen:Item", 1);
setProperty("_root.Toolbar.ItemM1", _visible , false);
}
if (ItemUse == 2) {
Set("_root.Toolbar.ItemM2:used", true);
Set("_root.Screen:Item", 2);
setProperty("_root.Toolbar.ItemM2", _visible , false);
}
if (ItemUse == 4) {
Set("_root.Toolbar.ItemM4:used", true);
Set("_root.Screen:Item", 4);
setProperty("_root.Toolbar.ItemM4", _visible , false);
}
if (ItemUse == 3) {
Set("_root.Toolbar.ItemM3:used", true);
Set("_root.Screen:Item", 3);
setProperty("_root.Toolbar.ItemM3", _visible , false);
Set("_root.Toolbar:E_Mingming", _root.Toolbar:E_Mingming + 30);
if (30 < _root.Toolbar:E_Mingming) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
tellTarget ("_root.Screen") {
gotoAndPlay ("MoveToWangtta");
};
Mouse.show();
setProperty("_root.CursorCom", _visible , false);
}
if (ItemUse != 0) {
tellTarget ("Sound") {
gotoAndStop ("Play");
};
MoveResult = false;
ItemUse = 0;
Set("_root.CursorCom:TX", MX);
Set("_root.CursorCom:TY", MY);
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
}
}
Symbol 121 MovieClip Frame 38
gotoAndPlay (37);
Symbol 121 MovieClip Frame 39
angle = angle + 5;
if (angle >= 180) {
angle = 180;
gotoAndPlay (41);
}
if (angle >= PW) {
gotoAndPlay (41);
}
setProperty("Power.Bar", _rotation , angle);
Symbol 121 MovieClip Frame 40
gotoAndPlay (39);
Symbol 121 MovieClip Frame 41
Set("..:angle", seta);
Set("..:speed", (angle / 8) + 12);
Set("..:Times", 0);
Set("..:Vertical", _x);
Set("..:Horizon", _y - 50);
Set("..:PrevY", ..:Horizon);
Set("..:B_angle", seta);
Set("..:B_speed", (angle / 8) + 12);
Set("..:B_Times", 0);
Set("..:B_Vertical", _x);
Set("..:B_Horizon", _y - 50);
Set("..:B_PrevY", ..:Horizon);
tellTarget ("..") {
gotoAndPlay ("ShootMingming");
};
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
Mouse.show();
setProperty("_root.CursorCom", _visible , false);
stop();
Symbol 121 MovieClip Frame 42
stop();
Symbol 127 Button
on (press) {
gotoAndPlay (24);
}
on (release, releaseOutside) {
gotoAndPlay (26);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
if (_root.Screen:Item == 4) {
gotoAndPlay (37);
}
Symbol 148 MovieClip Frame 36
stop();
Symbol 148 MovieClip Frame 72
stop();
Symbol 150 MovieClip Frame 1
if (_root.Screen:Item == 4) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 169 MovieClip Frame 3
if (..:Watch == true) {
Set("..:Computer", 2);
}
if (..:Computer == 2) {
mouse.hide();
Set("_root.CursorCom:TX", _root._xmouse);
Set("_root.CursorCom:TY", _root._ymouse);
Set("_root.CursorCom:PrevX", _root.CursorCom:TX);
Set("_root.CursorCom:PrevY", _root.CursorCom:TY);
setProperty("_root.CursorCom", _x , _root._xmouse);
setProperty("_root.CursorCom", _y , _root._ymouse);
setProperty("_root.CursorCom", _visible , true);
tellTarget ("_root.CursorCom") {
gotoAndPlay ("Arrow");
};
}
Symbol 169 MovieClip Frame 21
seta = 45;
angle = 0;
if (..:Computer == 2) {
ItemUse = 0;
MoveResult = false;
pi = 3.1415;
radian = pi / 180;
temp = 50;
PW = 135;
wind = _root.Screen:Winds;
if (wind < 0) {
PW = (PW + int(wind / 5)) - 5;
}
if (0 < wind) {
PW = PW + int(wind / 3.3);
}
if (random(2) == 0) {
temp = (temp + random(10)) - 5;
PW = (PW + random(10)) - 5;
} else {
temp = (temp + random(60)) - 30;
PW = (PW + random(60)) - 30;
}
if (temp < 30) {
temp = 30;
}
if (80 < temp) {
temp = 80;
}
distance = random(100) + 100;
MX = _x - (Math.cos(temp * radian) * distance);
MY = (_y + 25) - (Math.sin(temp * radian) * distance);
Set("_root.CursorCom:TX", MX);
Set("_root.CursorCom:TY", MY);
Set("_root.CursorCom:Name", _name);
if (_root.Toolbar.ItemW1:Used == false) {
if (random(5) == 0) {
ItemUse = 1;
Set("_root.CursorCom:TX", 365);
Set("_root.CursorCom:TY", 76);
}
}
if (_root.Toolbar.ItemW2:Used == false) {
if (random(5) == 0) {
ItemUse = 2;
Set("_root.CursorCom:TX", 405);
Set("_root.CursorCom:TY", 76);
}
}
if (_root.Toolbar.ItemW4:Used == false) {
if (random(5) == 0) {
ItemUse = 4;
Set("_root.CursorCom:TX", 485);
Set("_root.CursorCom:TY", 76);
}
}
if (_root.Toolbar:E_Wangtta < 70) {
if (_root.Toolbar.ItemW3:Used == false) {
if (random(3) == 0) {
ItemUse = 3;
Set("_root.CursorCom:TX", 445);
Set("_root.CursorCom:TY", 76);
}
}
}
if (_root.Toolbar:E_Wangtta < 30) {
if (_root.Toolbar.ItemW3:Used == false) {
ItemUse = 3;
Set("_root.CursorCom:TX", 445);
Set("_root.CursorCom:TY", 76);
}
}
gotoAndPlay (37);
}
Symbol 169 MovieClip Frame 22
direct = -1;
minangle = 30;
maxangle = 80;
pi = 3.1415;
radian = pi / 180;
if (_xmouse < 0) {
if (_ymouse < -50) {
x = Math.abs(_xmouse);
y = Math.abs(_ymouse + 50);
x2 = Math.pow(x, 2);
y2 = Math.pow(y, 2);
r = Math.sqrt(x2 + y2);
xx = x / r;
seta = Math.acos(xx) / radian;
seta = int(seta * 100) / 100;
if (maxangle < seta) {
seta = maxangle;
}
if (seta < minangle) {
seta = minangle;
}
}
}
setProperty("Line", _rotation , seta + 270);
setProperty("Wangtta.eye1.Eye", _rotation , seta - 45);
setProperty("Wangtta.eye2.Eye", _rotation , ((seta / 5) * 4) - 45);
if (_root.Screen:Item == 4) {
tellTarget ("Wangtta") {
gotoAndStop (2);
};
}
Symbol 169 MovieClip Frame 23
gotoAndPlay (22);
Symbol 169 MovieClip Frame 24
angle = angle + 5;
if (angle >= 180) {
angle = 180;
gotoAndPlay (26);
}
setProperty("Power.Bar", _rotation , angle);
Symbol 169 MovieClip Frame 25
gotoAndPlay (24);
Symbol 169 MovieClip Frame 26
Set("..:angle", seta);
Set("..:speed", (angle / 8) + 12);
Set("..:Times", 0);
Set("..:Vertical", _x);
Set("..:Horizon", _y - 50);
Set("..:PrevY", ..:Horizon);
Set("..:B_angle", seta);
Set("..:B_speed", (angle / 8) + 12);
Set("..:B_Times", 0);
Set("..:B_Vertical", _x);
Set("..:B_Horizon", _y - 50);
Set("..:B_PrevY", ..:Horizon);
tellTarget ("..") {
gotoAndPlay ("ShootWangtta");
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
stop();
Symbol 169 MovieClip Frame 36
stop();
Symbol 169 MovieClip Frame 37
direct = -1;
minangle = 30;
maxangle = 80;
pi = 3.1415;
radian = pi / 180;
CX = getProperty("_root.CursorCom", _x) - _x;
CY = (getProperty("_root.CursorCom", _y) - _y) - 75;
if (CX < 0) {
if (CY < -50) {
x = Math.abs(CX);
y = Math.abs(CY + 50);
x2 = Math.pow(x, 2);
y2 = Math.pow(y, 2);
r = Math.sqrt(x2 + y2);
xx = x / r;
seta = Math.acos(xx) / radian;
seta = int(seta * 100) / 100;
if (maxangle < seta) {
seta = maxangle;
}
if (seta < minangle) {
seta = minangle;
}
}
}
setProperty("Line", _rotation , seta + 270);
setProperty("Wangtta.eye1.Eye", _rotation , seta - 45);
setProperty("Wangtta.eye2.Eye", _rotation , ((seta / 5) * 4) - 45);
if (_root.Screen:Item == 4) {
tellTarget ("Wangtta") {
gotoAndStop (2);
};
}
if (MoveResult == true) {
if (ItemUse == 0) {
tellTarget ("_root.CursorCom") {
gotoAndPlay ("Hand");
};
gotoAndPlay (39);
}
if (ItemUse == 1) {
Set("_root.Toolbar.ItemW1:used", true);
Set("_root.Screen:Item", 1);
setProperty("_root.Toolbar.ItemW1", _visible , false);
}
if (ItemUse == 2) {
Set("_root.Toolbar.ItemW2:used", true);
Set("_root.Screen:Item", 2);
setProperty("_root.Toolbar.ItemW2", _visible , false);
}
if (ItemUse == 4) {
Set("_root.Toolbar.ItemW4:used", true);
Set("_root.Screen:Item", 4);
setProperty("_root.Toolbar.ItemW4", _visible , false);
}
if (ItemUse == 3) {
Set("_root.Toolbar.ItemW3:used", true);
Set("_root.Screen:Item", 3);
setProperty("_root.Toolbar.ItemW3", _visible , false);
Set("_root.Toolbar:E_Wangtta", _root.Toolbar:E_Wangtta + 30);
if (30 < _root.Toolbar:E_Wangtta) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
tellTarget ("_root.Screen") {
gotoAndPlay ("MoveToMingming");
};
Mouse.show();
setProperty("_root.CursorCom", _visible , false);
}
if (ItemUse != 0) {
tellTarget ("Sound") {
gotoAndStop ("Play");
};
MoveResult = false;
ItemUse = 0;
Set("_root.CursorCom:TX", MX);
Set("_root.CursorCom:TY", MY);
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
}
}
Symbol 169 MovieClip Frame 38
gotoAndPlay (37);
Symbol 169 MovieClip Frame 39
angle = angle + 5;
if (angle >= 180) {
angle = 180;
gotoAndPlay (41);
}
if (angle >= PW) {
gotoAndPlay (41);
}
setProperty("Power.Bar", _rotation , angle);
Symbol 169 MovieClip Frame 40
gotoAndPlay (39);
Symbol 169 MovieClip Frame 41
Set("..:angle", seta);
Set("..:speed", (angle / 8) + 12);
Set("..:Times", 0);
Set("..:Vertical", _x);
Set("..:Horizon", _y - 50);
Set("..:PrevY", ..:Horizon);
Set("..:B_angle", seta);
Set("..:B_speed", (angle / 8) + 12);
Set("..:B_Times", 0);
Set("..:B_Vertical", _x);
Set("..:B_Horizon", _y - 50);
Set("..:B_PrevY", ..:Horizon);
tellTarget ("..") {
gotoAndPlay ("ShootWangtta");
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
Mouse.show();
setProperty("_root.CursorCom", _visible , false);
stop();
Symbol 169 MovieClip Frame 42
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 12
stop();
Symbol 173 MovieClip Frame 23
stop();
Symbol 186 MovieClip Frame 1
if (_root.Screen:Item == 4) {
gotoAndPlay (11);
}
Symbol 186 MovieClip Frame 10
gotoAndPlay (1);
Symbol 186 MovieClip Frame 23
gotoAndPlay (11);
Symbol 186 MovieClip Frame 28
gotoAndPlay (25);
Symbol 186 MovieClip Frame 33
gotoAndPlay (30);
Symbol 199 MovieClip Frame 1
if (_root.Screen:Item == 4) {
gotoAndPlay (11);
}
Symbol 199 MovieClip Frame 10
gotoAndPlay (1);
Symbol 199 MovieClip Frame 23
gotoAndPlay (11);
Symbol 199 MovieClip Frame 28
gotoAndPlay (25);
Symbol 199 MovieClip Frame 33
gotoAndPlay (30);
Symbol 200 MovieClip Frame 1
_root.Toolbar.E_Mingming = 100;
_root.Toolbar.E_Wangtta = 100;
_root.Toolbar.E_MingmingD = 100;
_root.Toolbar.E_WangttaD = 100;
setProperty("Mingming", _x , -400);
setProperty("Mingming", _y , 290);
setProperty("Wangtta", _x , 400);
setProperty("Wangtta", _y , 290);
tellTarget ("Mingming") {
gotoAndStop ("Stand");
};
tellTarget ("Wangtta") {
gotoAndStop ("Stand");
};
Scale = 1;
Gravity = -0.98;
Winds = 0;
MoveRatio = 5;
GameSet = false;
Watch = false;
if (PlayMode == 1) {
Turn = Players;
} else {
Turn = random(2) + 1;
}
_x = 275;
_y = 300;
if (Turn == 1) {
ScreenTX = 550;
ScreenTY = 76;
} else {
ScreenTX = 0;
ScreenTY = 76;
}
i = 1;
while (4 >= i) {
tellTarget ("_root.ToolBar.ItemW" add i) {
gotoAndStop (2);
};
tellTarget ("_root.ToolBar.ItemM" add i) {
gotoAndStop (2);
};
Set(("_root.ToolBar.ItemW" add i) add ":Used", false);
Set(("_root.ToolBar.ItemM" add i) add ":Used", false);
i++;
}
setProperty("_root.CursorCom", _visible , false);
gotoAndPlay (2);
Symbol 200 MovieClip Frame 2
if (Turn == 1) {
sx = _x;
sy = _y;
sx = int(sx - (((sx - ScreenTX) - 5) / MoveRatio));
sy = int(sy - ((sy - ScreenTY) / MoveRatio));
} else {
sx = _x;
sy = _y;
sx = int(sx - ((sx - ScreenTX) / MoveRatio));
sy = int(sy - ((sy - ScreenTY) / MoveRatio));
}
if (sx < 0) {
sx = 0;
}
if (550 < sx) {
sx = 550;
}
if (sy < 76) {
sy = 76;
}
_x = sx;
_y = sy;
Symbol 200 MovieClip Frame 3
Check = true;
if (ScreenTX != sx) {
Check = false;
}
if (ScreenTY != sy) {
Check = false;
}
if (check == true) {
if (Turn == 1) {
gotoAndPlay (36);
} else {
gotoAndPlay (4);
}
} else {
gotoAndPlay (2);
}
Symbol 200 MovieClip Frame 4
_x = 0;
_y = 76;
tellTarget ("Wangtta") {
gotoAndPlay ("Reload");
};
if (30 < _root.Toolbar:E_Mingming) {
tellTarget ("Mingming") {
gotoAndStop ("Stand");
};
} else {
tellTarget ("Mingming") {
gotoAndStop ("Sick");
};
}
Winds = Winds + (random(101) - 50);
if (Winds < -150) {
Winds = -150;
}
if (150 < Winds) {
Winds = 150;
}
Wind = Winds / 1000;
Fall = false;
Side = false;
Hit = false;
HitCore = false;
Item = 0;
ItemStatus = 0;
Damage = 0;
if (Computer == 2) {
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (3);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (3);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (3);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (1);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (1);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (1);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (1);
};
}
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
stop();
Symbol 200 MovieClip Frame 5
if (Item == 2) {
setProperty("Ammo", _xscale , 200);
setProperty("Ammo", _yscale , 200);
setProperty("AmmoS", _xscale , 200);
setProperty("AmmoS", _yscale , 100);
}
pi = 3.14;
radian = pi / 180;
Times++;
vx = Math.cos(Angle * Radian) * Speed;
vy = Math.sin(Angle * Radian) * Speed;
x = (vx * Times) - (Wind * math.pow(Times, 2));
y = (vy * Times) + ((Gravity * math.pow(Times, 2)) / 2);
x = vertical - x;
y = (-y) + horizon;
if (Fall == true) {
if (Item == 4) {
x = PrevX + ItemVX;
}
}
setProperty("Ammo", _x , x * Scale);
setProperty("Ammo", _y , y * Scale);
setProperty("AmmoS", _x , x * Scale);
setProperty("AmmoS", _y , 290 * Scale);
sx = 275 - (x * Scale);
sy = 200 - (y * Scale);
if (sx < 0) {
sx = 0;
}
if (550 < sx) {
sx = 550;
}
if (sy < 76) {
sy = 76;
}
_x = sx;
_y = sy;
if (Fall == false) {
if (PrevY < y) {
Fall = true;
if (Item == 4) {
if (150 < x) {
ItemVX = ((getProperty("Wangtta", _x) + 20) - x) / Times;
if (30 < ItemVX) {
ItemVX = 30;
}
tellTarget ("Ammo") {
gotoAndPlay ("Right");
};
tellTarget ("AmmoS") {
gotoAndPlay ("Right");
};
} else {
ItemVX = ((getProperty("Mingming", _x) - 20) - x) / Times;
if (ItemVX < -30) {
ItemVX = -30;
}
tellTarget ("Ammo") {
gotoAndPlay ("Left");
};
tellTarget ("AmmoS") {
gotoAndPlay ("Left");
};
}
}
}
}
if (Side == false) {
if (x < 0) {
Side = true;
}
}
if (Side == true) {
cx = getProperty("Mingming", _x) - 25;
cy = getProperty("Mingming", _y) - 90;
hx = getProperty("Mingming", _x) - 35;
hy = getProperty("Mingming", _y) - 110;
} else {
cx = getProperty("Wangtta", _x) - 25;
cy = getProperty("Wangtta", _y) - 90;
hx = getProperty("Wangtta", _x) - 35;
hy = getProperty("Wangtta", _y) - 110;
}
HitCheck = false;
if (Fall == true) {
if (HitCore == false) {
Damage = 0;
if (Hit == false) {
if (hx < x) {
if (x < (hx + 70)) {
if (hy < y) {
if (y < (hy + 100)) {
Damage = 10;
Hit = true;
HitCheck = true;
}
}
}
}
}
if (cx < x) {
if (x < (cx + 50)) {
if (cy < y) {
if (y < (cy + 20)) {
if (HitCheck == true) {
Damage = Damage + 10;
} else if (Hit == true) {
Damage = 10;
} else {
Damage = 20;
}
HitCore = true;
HitCheck = true;
}
}
}
}
}
}
if (HitCheck == true) {
if (Item == 1) {
if (ItemStatus == 1) {
Damage = 20;
HitCore = true;
}
}
if (Item == 2) {
Damage = 30;
HitCore = true;
}
}
if (HitCheck == true) {
setProperty("Crash", _x , x);
setProperty("Crash", _y , y);
if (Side == true) {
Set("_root.Toolbar:E_Mingming", _root.Toolbar:E_Mingming - Damage);
if (0 >= _root.Toolbar:E_Mingming) {
GameSet = true;
tellTarget ("_root.Mask") {
gotoAndPlay ("MingmingDie");
};
}
if (HitCore == false) {
tellTarget ("Mingming") {
gotoAndStop ("Hit1");
};
tellTarget ("Crash") {
gotoAndPlay ("Normal");
};
} else {
tellTarget ("Mingming") {
gotoAndStop ("Hit2");
};
tellTarget ("Crash") {
gotoAndPlay ("Direct");
};
}
} else {
Set("_root.Toolbar:E_Wangtta", _root.Toolbar:E_Wangtta - Damage);
if (0 >= _root.Toolbar:E_Wangtta) {
GameSet = true;
tellTarget ("_root.Mask") {
gotoAndPlay ("WangttaDie");
};
}
if (HitCore == false) {
tellTarget ("Wangtta") {
gotoAndStop ("Hit1");
};
tellTarget ("Crash") {
gotoAndPlay ("Normal");
};
} else {
tellTarget ("Wangtta") {
gotoAndStop ("Hit2");
};
tellTarget ("Crash") {
gotoAndPlay ("Direct");
};
}
}
}
Symbol 200 MovieClip Frame 6
if (280 < (y * scale)) {
tellTarget ("Ammo") {
stop();
};
if (Item == 4) {
setProperty("Ammo", _visible , false);
}
setProperty("AmmoS", _visible , false);
HitCheck = false;
if (Hit == true) {
HitCheck = true;
}
if (HitCore == true) {
HitCheck = true;
}
if (HitCheck == false) {
tellTarget ("Mingming") {
gotoAndStop ("Smile");
};
}
if (Side == false) {
tellTarget ("Mingming") {
gotoAndStop ("Smile");
};
}
gotoAndPlay (7);
} else {
PrevX = x;
PrevY = y;
gotoAndPlay (5);
}
Symbol 200 MovieClip Frame 21
if (Item == 1) {
if (ItemStatus == 0) {
_x = 0;
_y = 76;
Fall = false;
Side = false;
Hit = false;
HitCore = false;
Damage = 0;
Times = 0;
PrevY = Horizon;
tellTarget ("Ammo") {
gotoAndPlay (1);
};
setProperty("AmmoS", _visible , true);
if (HitCheck == true) {
tellTarget ("Mingming") {
gotoAndStop ("HitMe");
};
}
tellTarget ("Wangtta") {
gotoAndPlay ("DoubleShot");
};
}
}
Symbol 200 MovieClip Frame 24
if (Item == 1) {
if (ItemStatus == 0) {
ItemStatus = 1;
gotoAndPlay (5);
}
}
Symbol 200 MovieClip Frame 32
if (GameSet == true) {
stop();
}
Symbol 200 MovieClip Frame 33
sx = int(sx - ((sx - 555) / 5));
sy = int(sy - ((sy - 76) / 5));
if (sx < 0) {
sx = 0;
}
if (550 < sx) {
sx = 550;
}
if (sy < 76) {
sy = 76;
}
_x = sx;
_y = sy;
Symbol 200 MovieClip Frame 34
check = false;
if (sx >= 550) {
if (76 >= sy) {
check = true;
}
}
if (check == true) {
gotoAndPlay (35);
} else {
gotoAndPlay (33);
}
Symbol 200 MovieClip Frame 35
gotoAndPlay (36);
Symbol 200 MovieClip Frame 36
_x = 550;
_y = 76;
tellTarget ("Mingming") {
gotoAndPlay ("Reload");
};
if (30 < _root.Toolbar:E_Wangtta) {
tellTarget ("Wangtta") {
gotoAndStop ("Stand");
};
} else {
tellTarget ("Wangtta") {
gotoAndStop ("Sick");
};
}
Winds = Winds + (random(101) - 50);
if (Winds < -150) {
Winds = -150;
}
if (150 < Winds) {
Winds = 150;
}
Wind = -(Winds / 1000);
Fall = false;
Side = false;
Hit = false;
HitCore = false;
Item = 0;
ItemStatus = 0;
Damage = 0;
if (Computer == 1) {
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (3);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (3);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (3);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (1);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (1);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (1);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (1);
};
}
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
stop();
Symbol 200 MovieClip Frame 37
if (Item == 2) {
setProperty("Ammo", _xscale , 200);
setProperty("Ammo", _yscale , 200);
setProperty("AmmoS", _xscale , 200);
setProperty("AmmoS", _yscale , 100);
}
pi = 3.14;
radian = pi / 180;
Times++;
vx = Math.cos(Angle * Radian) * Speed;
vy = Math.sin(Angle * Radian) * Speed;
x = (vx * Times) - (Wind * math.pow(Times, 2));
y = (vy * Times) + ((Gravity * math.pow(Times, 2)) / 2);
x = vertical + x;
y = (-y) + horizon;
if (Fall == true) {
if (Item == 4) {
x = PrevX + ItemVX;
}
}
setProperty("Ammo", _x , x * Scale);
setProperty("Ammo", _y , y * Scale);
setProperty("AmmoS", _x , x * Scale);
setProperty("AmmoS", _y , 290 * Scale);
sx = 275 - (x * Scale);
sy = 200 - (y * Scale);
if (sx < 0) {
sx = 0;
}
if (550 < sx) {
sx = 550;
}
if (sy < 76) {
sy = 76;
}
_x = sx;
_y = sy;
if (Fall == false) {
if (PrevY < y) {
Fall = true;
if (Item == 4) {
if (x < -150) {
ItemVX = ((getProperty("Mingming", _x) - 20) - x) / Times;
if (ItemVX < -30) {
ItemVX = -30;
}
tellTarget ("Ammo") {
gotoAndPlay ("Left");
};
tellTarget ("AmmoS") {
gotoAndPlay ("Left");
};
} else {
ItemVX = ((getProperty("Wangtta", _x) + 20) - x) / Times;
if (30 < ItemVX) {
ItemVX = 30;
}
tellTarget ("Ammo") {
gotoAndPlay ("Right");
};
tellTarget ("AmmoS") {
gotoAndPlay ("Right");
};
}
}
}
}
if (Side == false) {
if (0 < x) {
Side = true;
}
}
if (Side == true) {
cx = getProperty("Wangtta", _x) - 25;
cy = getProperty("Wangtta", _y) - 90;
hx = getProperty("Wangtta", _x) - 35;
hy = getProperty("Wangtta", _y) - 110;
} else {
cx = getProperty("Mingming", _x) - 25;
cy = getProperty("Mingming", _y) - 90;
hx = getProperty("Mingming", _x) - 35;
hy = getProperty("Mingming", _y) - 110;
}
HitCheck = false;
if (Fall == true) {
if (HitCore == false) {
Damage = 0;
if (Hit == false) {
if (hx < x) {
if (x < (hx + 70)) {
if (hy < y) {
if (y < (hy + 100)) {
Damage = 10;
Hit = true;
HitCheck = true;
}
}
}
}
}
if (cx < x) {
if (x < (cx + 50)) {
if (cy < y) {
if (y < (cy + 20)) {
if (HitCheck == true) {
Damage = Damage + 10;
} else if (Hit == true) {
Damage = 10;
} else {
Damage = 20;
}
HitCore = true;
HitCheck = true;
}
}
}
}
}
}
if (HitCheck == true) {
if (Item == 1) {
if (ItemStatus == 1) {
Damage = 20;
HitCore = true;
}
}
if (Item == 2) {
Damage = 30;
HitCore = true;
}
}
if (HitCheck == true) {
setProperty("Crash", _x , x);
setProperty("Crash", _y , y);
if (Side == true) {
Set("_root.Toolbar:E_Wangtta", _root.Toolbar:E_Wangtta - Damage);
if (0 >= _root.Toolbar:E_Wangtta) {
GameSet = true;
tellTarget ("_root.Mask") {
gotoAndPlay ("WangttaDie");
};
}
if (HitCore == false) {
tellTarget ("Wangtta") {
gotoAndStop ("Hit1");
};
tellTarget ("Crash") {
gotoAndPlay ("Normal");
};
} else {
tellTarget ("Wangtta") {
gotoAndStop ("Hit2");
};
tellTarget ("Crash") {
gotoAndPlay ("Direct");
};
}
} else {
Set("_root.Toolbar:E_Mingming", _root.Toolbar:E_Mingming - Damage);
if (0 >= _root.Toolbar:E_Mingming) {
GameSet = true;
tellTarget ("_root.Mask") {
gotoAndPlay ("MingmingDie");
};
}
if (HitCore == false) {
tellTarget ("Mingming") {
gotoAndStop ("Hit1");
};
tellTarget ("Crash") {
gotoAndPlay ("Normal");
};
} else {
tellTarget ("Mingming") {
gotoAndStop ("Hit2");
};
tellTarget ("Crash") {
gotoAndPlay ("Direct");
};
}
}
}
Symbol 200 MovieClip Frame 38
if (280 < (y * scale)) {
tellTarget ("Ammo") {
stop();
};
if (Item == 4) {
setProperty("Ammo", _visible , false);
}
setProperty("AmmoS", _visible , false);
HitCheck = false;
if (Hit == true) {
HitCheck = true;
}
if (HitCore == true) {
HitCheck = true;
}
if (HitCheck == false) {
tellTarget ("Wangtta") {
gotoAndStop ("Smile");
};
}
if (Side == false) {
tellTarget ("Wangtta") {
gotoAndStop ("Smile");
};
}
gotoAndPlay (39);
} else {
PrevX = x;
PrevY = y;
gotoAndPlay (37);
}
Symbol 200 MovieClip Frame 53
if (Item == 1) {
if (ItemStatus == 0) {
_x = 550;
_y = 76;
Fall = false;
Side = false;
Hit = false;
HitCore = false;
Damage = 0;
Times = 0;
PrevY = Horizon;
tellTarget ("Ammo") {
gotoAndPlay (1);
};
setProperty("AmmoS", _visible , true);
if (HitCheck == true) {
tellTarget ("Wangtta") {
gotoAndStop ("HitMe");
};
}
tellTarget ("Mingming") {
gotoAndPlay ("DoubleShot");
};
}
}
Symbol 200 MovieClip Frame 56
if (Item == 1) {
if (ItemStatus == 0) {
ItemStatus = 1;
gotoAndPlay (37);
}
}
Symbol 200 MovieClip Frame 64
if (GameSet == true) {
stop();
}
Symbol 200 MovieClip Frame 65
sx = int(sx - ((sx - 0) / 5));
sy = int(sy - ((sy - 76) / 5));
if (sx < 0) {
sx = 0;
}
if (550 < sx) {
sx = 550;
}
if (sy < 76) {
sy = 76;
}
_x = sx;
_y = sy;
Symbol 200 MovieClip Frame 66
check = false;
if (0 >= sx) {
if (76 >= sy) {
check = true;
}
}
if (check == true) {
gotoAndPlay (67);
} else {
gotoAndPlay (65);
}
Symbol 200 MovieClip Frame 67
gotoAndPlay (4);
Symbol 203 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 20
gotoAndPlay (1);
Symbol 215 Button
on (release) {
Set("_root.Screen:Item", 2);
used = true;
_visible = false;
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 221 Button
on (release) {
Set("_root.Screen:Item", 4);
used = true;
_visible = false;
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 227 Button
on (release) {
Set("_root.Screen:Item", 1);
used = true;
_visible = false;
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
}
Symbol 229 MovieClip Frame 1
stop();
Symbol 233 Button
on (release) {
used = true;
Set("_root.Screen:Item", 3);
_visible = false;
temp = _name;
if (temp == "ItemM3") {
Set("_root.Toolbar:E_Mingming", _root.Toolbar:E_MingMing + 30);
tellTarget ("_root.Screen:") {
gotoAndPlay ("MoveToWangtta");
};
if (30 < _root.Toolbar:E_Mingming) {
tellTarget ("_root.Screen.Mingming") {
gotoAndStop ("Stand");
};
} else {
tellTarget ("_root.Screen.Mingming") {
gotoAndStop ("Sick");
};
}
} else {
Set("_root.Toolbar:E_Wangtta", _root.Toolbar:E_Wangtta + 30);
tellTarget ("_root.Screen:") {
gotoAndPlay ("MoveToMingming");
};
if (30 < _root.Toolbar:E_Wangtta) {
tellTarget ("_root.Screen.Wangtta") {
gotoAndStop ("Stand");
};
} else {
tellTarget ("_root.Screen.Wangtta") {
gotoAndStop ("Sick");
};
}
}
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
}
Symbol 235 MovieClip Frame 1
stop();
Symbol 240 Button
on (release) {
Set("_root.Screen:Item", 4);
used = true;
_visible = false;
tellTarget ("_root.Toolbar.ItemM1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemM4") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW1") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW2") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW3") {
gotoAndStop (2);
};
tellTarget ("_root.Toolbar.ItemW4") {
gotoAndStop (2);
};
}
Symbol 242 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
if (E_Mingming < 0) {
E_Mingming = 0;
}
if (E_Wangtta < 0) {
E_Wangtta = 0;
}
if (100 < E_Mingming) {
E_Mingming = 100;
}
if (100 < E_Wangtta) {
E_Wangtta = 100;
}
if (E_Mingming < E_MingmingD) {
E_MingmingD = int(E_MingmingD - ((E_MingmingD - E_Mingming) / 10));
}
if (E_Wangtta < E_WangttaD) {
E_WangttaD = int(E_WangttaD - ((E_WangttaD - E_Wangtta) / 10));
}
if (E_MingmingD < 0) {
E_MingmingD = 0;
}
if (E_WangttaD < 0) {
E_WangttaD = 0;
}
setProperty("Energy.Mingming", _xscale , E_Mingming);
setProperty("Energy.Wangtta", _xscale , E_Wangtta);
setProperty("Energy.MingmingD", _xscale , E_MingmingD);
setProperty("Energy.WangttaD", _xscale , E_WangttaD);
Wind = Math.abs(_root.Screen:Winds) / 1.5;
if (_root.Screen:Winds < 0) {
tellTarget ("Wind") {
gotoAndStop ("Left");
};
tellTarget ("Wind.Bar") {
gotoAndStop ("Left");
};
} else {
tellTarget ("Wind") {
gotoAndStop ("Right");
};
tellTarget ("Wind.Bar") {
gotoAndStop ("Right");
};
}
if (_root.Screen:Winds == 0) {
tellTarget ("Wind") {
gotoAndStop ("Zero");
};
}
setProperty("Wind.Bar", _xscale , Wind);
Symbol 243 MovieClip Frame 2
gotoAndPlay (1);
Symbol 249 MovieClip Frame 1
MoveRatio = 3;
sx = _x;
sy = _y;
sx = sx + ((TX - sx) / MoveRatio);
sy = sy + ((TY - sy) / MoveRatio);
_x = sx;
_y = sy;
Check = false;
if (PrevX == sx) {
if (PrevY == sy) {
Check = true;
Set(("_root.Screen." add Name) add ":MoveResult", true);
}
}
if (Check == false) {
PrevX = sx;
PrevY = sy;
}
Symbol 249 MovieClip Frame 2
gotoAndPlay (1);
Symbol 249 MovieClip Frame 3
MoveRatio = 3;
sx = _x;
sy = _y;
sx = sx + ((TX - sx) / MoveRatio);
sy = sy + ((TY - sy) / MoveRatio);
_x = sx;
_y = sy;
Check = false;
if (PrevX == sx) {
if (PrevY == sy) {
Check = true;
Set(("_root.Screen." add Name) add ":MoveResult", true);
}
}
if (Check == false) {
PrevX = sx;
PrevY = sy;
}
Symbol 249 MovieClip Frame 4
gotoAndPlay (3);
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 31
tellTarget ("_root") {
gotoAndPlay ("WangttaWin");
};
stop();
Symbol 251 MovieClip Frame 61
tellTarget ("_root") {
gotoAndPlay ("MingmingWin");
};
stop();
Symbol 252 MovieClip Frame 21
stop();
Symbol 265 Button
on (release) {
stopAllSounds();
gotoAndPlay (275);
}