Frame 1
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function stopTimer(trg, sec) {
var _local1 = this;
target = trg;
target.stop();
target.createEmptyMovieClip("mcTimer", 100000);
target.mcTimer.timeOut = sec;
target.mcTimer.startTime = getTimer();
target.mcTimer.onEnterFrame = function () {
var _local1 = this;
if (getTimer() > (_local1.startTime + _local1.timeOut)) {
_local1._parent.play();
_local1.removeMovieClip();
}
};
}
function talk(trg, delay, msg) {
var _local1 = this;
target = trg;
target.stop();
target.msg = "";
target.createEmptyMovieClip("mcTalk", 100001);
target.mcTalk.msg = msg;
target.mcTalk.msgleng = target.mcTalk.msg.length;
target.mcTalk.i = 0;
target.mcTalk.delay = delay;
target.mcTalk.timeOut = 0;
target.mcTalk.startTime = getTimer();
target.mcTalk.onEnterFrame = function () {
var _local1 = this;
if (getTimer() > (_local1.startTime + _local1.timeOut)) {
_local1.mchara = _local1.msg.charAt(_local1.i);
_local1._parent.msg = _local1._parent.msg + _local1.mchara;
_local1.i++;
if (_local1.i < _local1.msgleng) {
_local1.timeOut = _local1.delay;
_local1.startTime = getTimer();
} else {
_local1._parent.play();
_local1.removeMovieClip();
}
}
};
}
function endP(X, Y) {
var _local1 = _root;
_local1.attachMovie("endPanel", "endPanel", 100002);
_local1.endPanel._x = X;
_local1.endPanel._y = Y;
}
function rankP(X, Y) {
var _local1 = _root;
_local1.attachMovie("rankPanel", "rankPanel", 100002);
_local1.rankPanel._x = X;
_local1.rankPanel._y = Y;
}
function helpP(X, Y) {
var _local1 = _root;
_local1.attachMovie("helpPanel", "helpPanel", 100002);
_local1.helpPanel._x = X;
_local1.helpPanel._y = Y;
}
function clearP(X, Y) {
var _local1 = _root;
_local1.attachMovie("clearPanel", "clearPanel", 100003);
_local1.clearPanel._x = X;
_local1.clearPanel._y = Y;
}
fscommand ("showmenu", "false");
System.useCodePage = true;
dataID = "tomadv3";
defurl = "http://hpcgi2.nifty.com/game-cgi/ranking_pc/score.cgi?";
levelNum = 1;
restNum = 3;
eSpeed = 2;
score = 0;
count = 0;
rootSound = new Sound(_root);
rootSound.attachSound("bgm");
rootSound.setVolume(100);
_root.rootSound.stop();
rootSound2 = new Sound(_root);
rootSound2.attachSound("bgm2");
rootSound2.setVolume(100);
_root.rootSound2.stop();
stop();
Frame 3
function gameStart() {
var _local1 = _root;
_local1.rootSound2.start(0, 1000);
lelvelNum = lelvelNum - 3;
if (levelNum <= 1) {
levelNum = 1;
}
_local1.pSet.mainEngine();
_local1.sSet.init();
if (_local1.levelNum >= 5) {
_local1.dSet.init();
}
if (_local1.levelNum >= 10) {
_local1.eSet.gotoAndStop(2);
}
}
stop();
Symbol 19 MovieClip [clearPanel] Frame 1
point = 0;
this.guard.useHandCursor = false;
Symbol 19 MovieClip [clearPanel] Frame 7
_root.stopTimer(this, 2000);
Symbol 19 MovieClip [clearPanel] Frame 8
pinSound = new Sound(this);
pinSound.attachSound("pin");
pinSound.setVolume(100);
pinSound.start(0, 1000);
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local1.timeBar._width--;
_local2.point = _local2.point + 10;
_local1.score = _local1.score + 10;
if (_local1.timeBar._width < 1) {
_local1.timeBar._visible = false;
pinSound.stop();
_local2.play();
delete _local2.onEnterFrame;
}
};
stop();
Symbol 19 MovieClip [clearPanel] Frame 9
_root.stopTimer(this, 3000);
Symbol 19 MovieClip [clearPanel] Frame 15
_root.stageNum++;
_root.gotoAndPlay("next");
this.removeMovieClip();
Symbol 25 MovieClip [unit] Frame 1
this.rank = _root["rank" + this.ID];
this.name = _root["name" + this.ID];
this.score = _root["score" + this.ID];
Symbol 32 Button
on (press) {
_root.gotoAndStop("opening");
this.removeMovieClip();
}
Symbol 37 Button
on (release) {
_parent.pageNum--;
_parent.play();
}
Symbol 38 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.pageNum == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
Symbol 39 Button
on (release) {
_parent.pageNum++;
_parent.play();
}
Symbol 40 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.pageNum == 10) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
Symbol 45 MovieClip Frame 1
this.page = this.pageNum + "/10";
sNum = ((this.pageNum - 1) * 10) + 1;
mNum = sNum + 9;
pNum = 1;
i = sNum;
while (i <= mNum) {
newName = "unit" + i;
trace(newName);
this.attachMovie("unit", newName, i);
this[newName]._y = 20 * pNum;
this[newName].ID = i;
pNum++;
i++;
}
stop();
Symbol 45 MovieClip Frame 2
i = 1;
while (i <= 100) {
this["unit" + i].removeMovieClip();
i++;
}
Symbol 46 MovieClip [rankPanel] Frame 1
this.guard.useHandCursor = false;
Symbol 46 MovieClip [rankPanel] Frame 11
function loaded(result) {
loadRank(result);
}
function loadRank(list) {
var _local1 = _root;
var _local3 = list.split(newline);
_local1.rankNum = _local3.length - 1;
_local1.rank = 0;
_local1.preScore = "";
i = 0;
while (i <= (_local1.rankNum - 1)) {
var _local2 = _local3[i].split("\t");
_local1["name" + (i + 1)] = _local2[0];
_local1["score" + (i + 1)] = _local2[1];
if (_local1["score" + (i + 1)] == _local1.preScore) {
_local1["rank" + (i + 1)] = _local1.rank;
} else {
_local1.rank++;
_local1["rank" + (i + 1)] = _local1.rank;
}
_local1.preScore = _local1["score" + (i + 1)];
check = (((((i + "\u9806\u4F4D\uFF1A") + _local1["rank" + (i + 1)]) + "\u3000/\u3000\u540D\u524D\uFF1A") + _local1["name" + (i + 1)]) + "\u3000/\u3000\u30B9\u30B3\u30A2\uFF1A") + _local1["score" + (i + 1)];
trace(check);
i++;
}
this.play();
}
var SendData = new LoadVars();
var LoadData = new LoadVars();
SendData.command = "view";
SendData.id = _root.dataID;
conecturl = _root.defurl + Math.random(65536);
SendData.sendAndLoad(conecturl, LoadData, "POST");
LoadData.onData = loaded;
stop();
Symbol 46 MovieClip [rankPanel] Frame 12
stop();
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip [rankPanel] Frame 12
onClipEvent (load) {
this.pageNum = 1;
}
Symbol 47 Button
on (press) {
_root.gotoAndStop("opening");
this.removeMovieClip();
}
Symbol 50 MovieClip [helpPanel] Frame 1
this.guard.useHandCursor = false;
Symbol 50 MovieClip [helpPanel] Frame 12
stop();
Symbol 51 Button
on (press) {
play();
}
Symbol 53 Button
on (press) {
_root.gotoAndStop("opening");
_parent.removeMovieClip();
}
Symbol 58 Button
on (press) {
if (this.name != "") {
play();
}
}
Symbol 68 MovieClip Frame 1
score = _root.score;
stop();
Symbol 68 MovieClip Frame 2
name = "";
stop();
Symbol 68 MovieClip Frame 3
play();
Symbol 68 MovieClip Frame 5
function loaded(result) {
_root.err = result;
play();
}
var SendData = new LoadVars();
var LoadData = new LoadVars();
SendData.command = "save";
SendData.name = this.name;
SendData.score = this.score;
SendData.id = _root.dataID;
conecturl = _root.defurl + Math.random(65536);
SendData.sendAndLoad(conecturl, LoadData, "POST");
LoadData.onData = loaded;
stop();
Symbol 68 MovieClip Frame 10
this.err = _root.err;
stop();
Symbol 69 MovieClip [endPanel] Frame 1
this.guard.useHandCursor = false;
Symbol 69 MovieClip [endPanel] Frame 11
stop();
Symbol 76 Button
on (rollOver) {
sankaku._visible = true;
}
on (rollOut) {
sankaku._visible = false;
}
on (release) {
if (ID == 1) {
_root.play();
} else if (ID == 2) {
_root.helpP(210, 210);
} else if (ID == 3) {
_root.gotoAndStop("opening");
}
}
Symbol 77 MovieClip Frame 1
this.ID = _name.charAt(1);
if (this.ID == 1) {
txt = "GAME START";
} else if (this.ID == 2) {
txt = "HELP";
} else if (this.ID == 3) {
txt = "TOP";
}
textBox.text = txt;
w = textBox.textWidth;
h = textBox.textHeight;
b._width = w + 4;
b._height = h;
sankaku._y = h / 2;
sankaku._visible = false;
Symbol 110 MovieClip Frame 1
function good() {
gotoAndStop (3);
startTime = getTimer();
}
defY = _y;
yPow = 3;
timeOut = 1000;
startTime = getTimer();
this.onEnterFrame = function () {
if (_y > defY) {
yPow = yPow - 0.2;
} else if (_y < defY) {
yPow = yPow + 0.2;
}
_y = (_y + yPow);
if (getTimer() > (startTime + timeOut)) {
gotoAndStop (2);
}
};
stop();
Symbol 141 MovieClip Frame 1
function init() {
var _local1 = this;
_visible = false;
timeOut = _root.randomInt(10000) + 2000;
startTime = getTimer();
_local1.onEnterFrame = function () {
var _local1 = this;
if (getTimer() > (startTime + timeOut)) {
judgePos();
_visible = true;
_local1.gotoAndPlay(2);
_local1.onEnterFrame = function () {
if (_currentframe >= 10) {
if (_root.randomInt(20) == 1) {
this.gotoAndStop(11);
} else {
this.gotoAndStop(10);
}
waiting();
}
};
}
};
}
function setPos() {
var _local1 = _root;
posID = _local1.randomInt(6);
if (posID == 1) {
_y = 122;
_x = (15 + (30 * (_local1.randomInt(4) - 1)));
} else if (posID == 2) {
_y = 122;
_x = (315 + (30 * (_local1.randomInt(4) - 1)));
} else if (posID == 3) {
_y = 212;
_x = (105 + (30 * (_local1.randomInt(8) - 1)));
} else if (posID == 4) {
_y = 302;
_x = (15 + (30 * (_local1.randomInt(5) - 1)));
} else if (posID == 5) {
_y = 302;
_x = (285 + (30 * (_local1.randomInt(5) - 1)));
} else if (posID == 6) {
_y = 392;
_x = (15 + (30 * (_local1.randomInt(14) - 1)));
}
}
function judgePos() {
var _local1 = _root;
flg = 1;
while (flg == 1) {
flg = 0;
setPos();
i = 1;
while (i <= 9) {
if (i != id) {
if ((_x == _local1["f" + i]._x) && (_y == _local1["f" + i]._y)) {
flg = 1;
break;
}
}
i++;
}
}
}
function waiting() {
this.onEnterFrame = function () {
saX = Math.abs(_root.pSet._x - _x);
saY = Math.abs(_root.pSet._y - _y);
if ((saX <= 10) && (saY <= 10)) {
point();
}
};
}
function point() {
var _local1 = _root;
gSound.start();
_local1.score = _local1.score + 100;
_local1.count++;
if (_local1.count >= 10) {
_local1.count = 0;
_local1.levelNum++;
if (_local1.levelNum == 5) {
_local1.dSet.init();
} else if (_local1.levelNum == 10) {
_local1.eSet.gotoAndStop(2);
}
}
if (_currentframe == 11) {
attack();
} else {
girl();
}
this.gotoAndStop(12);
}
function girl() {
var _local1 = _root;
this.onEnterFrame = function () {
var _local1 = _root;
f.gotoAndStop(1);
_x = (_x + ((_local1.gSet._x - _x) / 10));
_y = (_y + ((_local1.gSet._y - _y) / 10));
f._rotation = f._rotation - 10;
if ((Math.abs(_local1.gSet._x - _x) < 10) && (Math.abs(_local1.gSet._y - _y) < 10)) {
_local1.gSet.good();
init();
}
};
}
function attack() {
var _local1 = _root;
var _local2 = this;
f.gotoAndPlay(1);
if (_local1.pSet._xscale == 100) {
xSpeed = 15;
} else {
xSpeed = -15;
}
_local2.onEnterFrame = function () {
var _local1 = _root;
f._xscale = 200;
f._yscale = 200;
_x = (_x + xSpeed);
f._rotation = f._rotation + (xSpeed * 2);
if (this.hp.hitTest(_local1.sSet.hp)) {
_local1.sSet.miss();
}
if (this.hp.hitTest(_local1.dSet.hp)) {
_local1.dSet.miss();
}
if ((_x < -20) || (_x > 440)) {
init();
}
};
}
id = _name.charAt(1);
gSound = new Sound(this);
gSound.attachSound("getsound");
gSound.setVolume(100);
gSound.stop();
init();
Symbol 141 MovieClip Frame 10
stop();
Symbol 141 MovieClip Frame 11
stop();
Symbol 147 MovieClip Frame 1
function init() {
_visible = false;
gotoAndStop (1);
_y = 122;
if (_root.randomInt(2) == 1) {
_x = -20;
xSpeed = 3;
_xscale = -100;
} else {
_x = 440;
xSpeed = -3;
_xscale = 100;
}
timeOut = _root.randomInt(5000);
startTime = getTimer();
this.onEnterFrame = function () {
if (getTimer() > (startTime + timeOut)) {
mainEngine();
}
};
}
function mainEngine() {
var _local1 = _root;
var _local2 = this;
_visible = true;
Ypow = 0;
_local2.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_x = (_x + xSpeed);
Ypow--;
_y = (_y - Ypow);
if (_y > 500) {
jumpSound.stop();
walkSound.stop();
_local1.gotoAndPlay("miss");
delete _local2.onEnterFrame;
}
if ((_y >= 290) && (_y <= 350)) {
if (_x > 420) {
_x = (_x - 420);
} else if (_x < 0) {
_x = (_x + 420);
}
} else if (_y >= 360) {
if ((_x < -20) || (_x > 440)) {
init();
}
}
if (Ypow <= 0) {
i = 1;
while (i <= 6) {
if (_local2.hitTest(_local1["hp" + i])) {
if (_y <= (_local1["hp" + i]._y - Ypow)) {
Ypow = 0;
_y = _local1["hp" + i]._y;
}
}
i++;
}
}
if (_local2.hp.hitTest(_local1.pSet)) {
if (_local1.pSet._currentframe <= 4) {
if ((_local1.pSet.Ypow < 0) && ((_local1.pSet._y + _local1.pSet.Ypow) <= _y)) {
_local1.pSet.jpFlg = 1;
_local1.pSet.Ypow = 8;
miss();
} else {
_local1.pSet.miss();
}
}
}
};
}
function miss() {
_root.score = _root.score + 300;
Ypow = 10;
missSound.start();
gotoAndStop (2);
this.onEnterFrame = function () {
Ypow--;
_y = (_y - Ypow);
if (_y > 500) {
init();
}
};
}
missSound = new Sound(this);
missSound.attachSound("voice");
missSound.setVolume(100);
missSound.stop();
stop();
Symbol 155 MovieClip Frame 1
function init() {
jpFlg = 1;
_x = 355;
_y = -10;
mainEngine();
}
function miss() {
if (_currentframe < 30) {
_root.score = _root.score + 1000;
jumpSound.stop();
missSound.start();
Ypow = 10;
gotoAndStop ("bad");
this.onEnterFrame = function () {
Ypow--;
_y = (_y - Ypow);
p._rotation = p._rotation + 10;
if (_y > 500) {
timeOut = 15000;
startTime = getTimer();
this.onEnterFrame = function () {
if (getTimer() > (startTime + timeOut)) {
init();
}
};
}
};
}
}
function setSpeed() {
var _local1 = _root;
if (_local1.randomInt(2) == 1) {
xSpeed = (-_local1.eSpeed) - (_local1.levelNum / 5);
} else {
xSpeed = _local1.eSpeed + (_local1.levelNum / 5);
}
}
function mainEngine() {
var _local1 = _root;
var _local2 = this;
setSpeed();
_local2.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (jpFlg == 0) {
gotoAndStop ("run");
if ((_local1.pSet._y < _y) && (_local1.randomInt(30) == 1)) {
if (Ypow == 0) {
jumpSound.start();
Ypow = 15;
jpFlg = 1;
}
}
if (_local1.randomInt(80) == 1) {
xSpeed = -xSpeed;
}
hrnd = 100 - (_local1.levelNum * 4);
if (hrnd <= 30) {
hrnd = 30;
}
if ((_local1.randomInt(hrnd) == 1) && (_local1.hummer.flg == 0)) {
if (Ypow == 0) {
attack();
}
}
} else if (jpFlg == 1) {
gotoAndStop ("jump");
}
if (xSpeed < 0) {
_xscale = 100;
} else if (xSpeed > 0) {
_xscale = -100;
}
_x = (_x + xSpeed);
Ypow--;
_y = (_y - Ypow);
if (_y > 500) {
jumpSound.stop();
walkSound.stop();
_local1.gotoAndPlay("miss");
delete _local2.onEnterFrame;
}
if (_x > 420) {
_x = (_x - 420);
} else if (_x < 0) {
_x = (_x + 420);
}
if (Ypow <= 0) {
i = 1;
while (i <= 6) {
if (_local2.hitTest(_local1["hp" + i])) {
if (_y <= (_local1["hp" + i]._y - Ypow)) {
Ypow = 0;
jpFlg = 0;
_y = _local1["hp" + i]._y;
}
}
i++;
}
}
if (_local2.hp.hitTest(_local1.pSet)) {
if (_local1.pSet._currentframe <= 4) {
_local1.pSet.miss();
}
}
};
}
function attack() {
if (_x > _root.pSet._x) {
_xscale = 100;
} else {
_xscale = -100;
}
this.gotoAndPlay("nage");
delete this.onEnterFrame;
}
jumpSound = new Sound(this);
jumpSound.attachSound("jump");
jumpSound.setVolume(100);
jumpSound.stop();
missSound = new Sound(this);
missSound.attachSound("voice");
missSound.setVolume(100);
missSound.stop();
stop();
Symbol 155 MovieClip Frame 19
_root.hummer.fire();
Symbol 155 MovieClip Frame 29
mainEngine();
Symbol 163 MovieClip Frame 1
stop();
Instance of Symbol 101 MovieClip "hp" in Symbol 163 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.pSet)) {
if (_root.pSet._currentframe <= 4) {
if ((_root.pSet.Ypow < 0) && ((_root.pSet._y + _root.pSet.Ypow) <= (_parent._y + 10))) {
_root.pSet.jpFlg = 1;
_root.pSet.Ypow = 8;
_parent.nextFrame();
} else {
_root.pSet.miss();
}
}
}
}
Symbol 163 MovieClip Frame 2
xSpeed = 0;
ySpeed = 0;
yPow = 0;
this.onEnterFrame = function () {
saX = _root.pSet._x - _x;
saY = (_root.pSet._y - 18) - _y;
if (saX > 3) {
xSpeed = xSpeed + 0.05;
if (xSpeed > 1) {
xSpeed = 1;
}
} else if (saX < -3) {
xSpeed = xSpeed - 0.05;
if (xSpeed < -1) {
xSpeed = -1;
}
}
if (saY > 3) {
ySpeed = ySpeed + 0.05;
if (ySpeed > 1) {
ySpeed = 1;
}
} else if (saY < -1) {
ySpeed = ySpeed - 0.05;
if (ySpeed < -1) {
ySpeed = -1;
}
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
};
stop();
Symbol 163 MovieClip Frame 3
_root.score = _root.score + 300;
yPow = 3;
this.onEnterFrame = function () {
yPow--;
_y = (_y - yPow);
if (_y > 500) {
_y = -50;
gotoAndStop (2);
}
};
Symbol 170 MovieClip Frame 1
function miss() {
jumpSound.stop();
walkSound.stop();
missSound.start();
if (_currentframe <= 4) {
Ypow = 10;
gotoAndStop ("bad");
this.onEnterFrame = function () {
Ypow--;
_y = (_y - Ypow);
p._rotation = p._rotation + 10;
if (_y > 500) {
_root.missPanel.play();
delete this.onEnterFrame;
}
};
}
}
function mainEngine() {
var _local1 = _root;
var _local2 = this;
_local2.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (jpFlg == 0) {
if (Key.isDown(39)) {
_x = (_x + 4);
gotoAndStop ("run");
_xscale = 100;
} else if (Key.isDown(37)) {
_x = (_x - 4);
gotoAndStop ("run");
_xscale = -100;
} else {
gotoAndStop ("stay");
}
if (Key.isDown(32)) {
if ((Ypow == 0) && (stayFlg == 0)) {
stayFlg = 1;
staycount = 0;
Ypow = 15;
jpFlg = 1;
}
} else {
stayFlg = 0;
}
} else if (jpFlg == 1) {
gotoAndStop ("jump");
if (Key.isDown(39)) {
_x = (_x + 4);
_xscale = 100;
} else if (Key.isDown(37)) {
_x = (_x - 4);
_xscale = -100;
}
}
Ypow--;
_y = (_y - Ypow);
if (_y > 500) {
jumpSound.stop();
walkSound.stop();
_local1.gotoAndPlay("miss");
delete _local2.onEnterFrame;
}
if (_x > 420) {
_x = (_x - 420);
} else if (_x < 0) {
_x = (_x + 420);
}
if (Ypow <= 0) {
i = 1;
while (i <= 6) {
if (_local2.hitTest(_local1["hp" + i])) {
if (_y <= (_local1["hp" + i]._y - Ypow)) {
Ypow = 0;
jpFlg = 0;
_y = _local1["hp" + i]._y;
}
}
i++;
}
}
};
}
walkSound = new Sound(this);
walkSound.attachSound("walk");
walkSound.setVolume(100);
walkSound.stop();
jumpSound = new Sound(this);
jumpSound.attachSound("jump");
jumpSound.setVolume(100);
jumpSound.stop();
missSound = new Sound(this);
missSound.attachSound("fall");
missSound.setVolume(100);
missSound.stop();
jpFlg = 0;
stayFlg = 0;
stop();
Symbol 170 MovieClip Frame 2
jumpSound.stop();
walkSound.stop();
Symbol 170 MovieClip Frame 3
jumpSound.stop();
walkSound.start(0, 1000);
Symbol 170 MovieClip Frame 4
walkSound.stop();
jumpSound.start();
Symbol 172 MovieClip Frame 1
function init() {
flg = 0;
_x = -100;
delete this.onEnterFrame;
}
function fire() {
var _local1 = _root;
var _local2 = this;
flg = 1;
if (_local1.sSet._xscale > 0) {
_rotation = 90;
_x = (_local1.sSet._x + 15);
} else {
_rotation = -90;
_x = (_local1.sSet._x - 15);
}
_y = (_local1.sSet._y - 20);
r = Math.atan2(_local1.pSet._y - _local2._y, _local1.pSet._x - _local2._x);
Xspeed = 8 * Math.cos(r);
Yspeed = 8 * Math.sin(r);
_local2.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local2._x = _local2._x + Xspeed;
_local2._y = _local2._y + Yspeed;
_local2._rotation = _local2._rotation + (Xspeed * 2);
_xscale = 100;
_yscale = 100;
saX = Math.abs(_local1.pSet._x - _x);
saY = Math.abs((_local1.pSet._y - 15) - _y);
if (((saX <= 15) && (saY <= 15)) && (_local1.pSet._currentframe <= 4)) {
_local1.pSet.miss();
}
if ((((_x < -20) || (_x > 440)) || (_y < -20)) || (_y > 440)) {
init();
}
};
}
init();
Symbol 176 MovieClip Frame 1
nframe = 4 - _root.restNum;
this.gotoAndStop(nframe);
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
_root.rootSound2.stop();
Symbol 180 MovieClip Frame 7
_root.restNum--;
_root.restSet.nextFrame();
Symbol 180 MovieClip Frame 60
if (_root.restNum <= 0) {
_root.endP(210, 210);
_visible = false;
} else {
_root.gotoAndPlay("next");
}
Symbol 182 MovieClip Frame 50
_root.gameStart();
stop();