Frame 1
this.stop();
Frame 10
function continueInit() {
this.gLastPlayer = 3;
this.gScore = this.gScore - 15000;
if (this.gScore < 0) {
this.gScore = 0;
}
this.getHoneCnt = 0;
i = 1;
while (10 >= i) {
sName = "star" + String(i);
this.getStarMC[sName].gotoAndStop("init");
i++;
}
this.getStarList = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
this.gStageNum = 1;
this.gLastPlayer = 3;
this.gStartLocList = [[70, 290], [320, 300], [80, 290], [580, 60], [520, 290], [320, 320], [80, 200], [80, 300], [80, 100], [80, 300]];
this.gotoAndPlay("title");
this.gMapChipThisList = [];
this.gScore = 0;
this.stageClearTime = 0;
this.nomissFlg = true;
this.YaCnt = 0;
this.playFlg = false;
this.getHoneCnt = 0;
this.getStarList = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
this.mutekiFlg = false;
Frame 22
Mouse.show();
this.stop();
Frame 30
this.stop();
Frame 40
this.stop();
Frame 50
this.stop();
Mouse.hide();
Instance of Symbol 88 MovieClip "numMainScoreMC" in Frame 50
onClipEvent (load) {
keta = 7;
disp0Flg = true;
numName = "number";
}
Instance of Symbol 174 MovieClip "mutekiMC" in Frame 50
onClipEvent (enterFrame) {
this._visible = _root.mutekiFlg;
}
Instance of Symbol 178 MovieClip "uchiwaMC" in Frame 50
onClipEvent (load) {
this.aogiFlg = false;
}
onClipEvent (mouseDown) {
if (_root.playFlg == true) {
this.loopanm.gotoAndPlay("loop2");
this.aogiFlg = true;
}
}
onClipEvent (mouseUp) {
this.loopanm.gotoAndStop("stay");
this.aogiFlg = false;
}
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (LastKey == 32) {
if (_root.playFlg == true) {
this.loopanm.gotoAndPlay("loop2");
this.aogiFlg = true;
}
}
}
onClipEvent (keyUp) {
var Lastkey = key.getCode();
if (LastKey == 32) {
this.loopanm.gotoAndStop("stay");
this.aogiFlg = false;
}
if ((LastKey == 82) && (_root.playFlg == true)) {
_root.gotoAndPlay("init");
}
if (LastKey == 16) {
if (Key.isDown(40) && (Key.isDown(38))) {
_root.mutekiFlg = !_root.mutekiFlg;
if (_root.mutekiFlg == true) {
_root.balloonMC.gotoAndPlay("muteki");
_root.balloonMC.tobbyMC.gotoAndPlay("muteki");
} else {
_root.balloonMC.gotoAndPlay("normal");
_root.balloonMC.tobbyMC.gotoAndPlay("normal");
}
}
}
}
Frame 53
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 55
this.stop();
Frame 58
this.stop();
Frame 65
this.stop();
Mouse.hide();
Instance of Symbol 224 MovieClip in Frame 66
onClipEvent (load) {
speed = 2;
amp = 10;
angle = 180;
moveUDflg = false;
MoveLRflg = true;
}
Instance of Symbol 228 MovieClip in Frame 66
onClipEvent (load) {
meatFlg = false;
bornNum = 1;
}
Instance of Symbol 228 MovieClip in Frame 66
onClipEvent (load) {
meatFlg = false;
bornNum = 2;
}
Frame 68
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 70
this.stop();
Frame 73
this.stop();
Frame 80
this.stop();
Mouse.hide();
Instance of Symbol 236 MovieClip in Frame 81
onClipEvent (load) {
algNum = 2;
}
Instance of Symbol 228 MovieClip in Frame 81
onClipEvent (load) {
meatFlg = true;
bornNum = 0;
}
Instance of Symbol 228 MovieClip in Frame 81
onClipEvent (load) {
meatFlg = true;
bornNum = 0;
}
Frame 83
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 85
this.stop();
Frame 88
this.stop();
Frame 95
this.stop();
Mouse.hide();
Instance of Symbol 228 MovieClip in Frame 95
onClipEvent (load) {
meatFlg = false;
bornNum = 0;
}
Frame 98
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 100
this.stop();
Frame 103
this.stop();
Frame 110
this.stop();
Mouse.hide();
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = 2;
addy = 2;
}
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = 1;
addy = 1;
}
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = 1;
addy = 1;
}
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = 1;
addy = -1;
}
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = -1;
addy = 1;
}
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = -2;
addy = -2;
}
Instance of Symbol 239 MovieClip in Frame 111
onClipEvent (load) {
addx = 4;
addy = 4;
}
Frame 113
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 115
this.stop();
Frame 118
this.stop();
Frame 125
this.stop();
Mouse.hide();
Instance of Symbol 224 MovieClip in Frame 125
onClipEvent (load) {
speed = 2;
amp = 10;
angle = 0;
moveUDflg = false;
MoveLRflg = true;
}
Instance of Symbol 224 MovieClip "togexMC" in Frame 125
onClipEvent (load) {
speed = 2;
amp = 10;
angle = 180;
moveUDflg = false;
MoveLRflg = true;
}
Instance of Symbol 224 MovieClip in Frame 125
onClipEvent (load) {
speed = 2;
amp = 5;
angle = 0;
moveUDflg = false;
MoveLRflg = true;
}
Instance of Symbol 224 MovieClip in Frame 125
onClipEvent (load) {
speed = 2;
amp = 5;
angle = 0;
moveUDflg = false;
MoveLRflg = true;
}
Frame 128
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 130
this.stop();
Frame 133
this.stop();
Frame 140
this.stop();
Mouse.hide();
Instance of Symbol 241 MovieClip in Frame 141
onClipEvent (load) {
speed = 2;
amp = 3;
angle = 0;
moveUDflg = true;
MoveLRflg = false;
}
Instance of Symbol 241 MovieClip in Frame 141
onClipEvent (load) {
speed = 2;
amp = 3;
angle = 0;
moveUDflg = true;
MoveLRflg = false;
}
Instance of Symbol 236 MovieClip in Frame 141
onClipEvent (load) {
algNum = 3;
}
Instance of Symbol 224 MovieClip in Frame 141
onClipEvent (load) {
speed = 1;
amp = 2;
angle = 0;
moveUDflg = false;
MoveLRflg = false;
}
Instance of Symbol 224 MovieClip in Frame 141
onClipEvent (load) {
speed = 1;
amp = 2;
angle = 0;
moveUDflg = false;
MoveLRflg = false;
}
Instance of Symbol 228 MovieClip in Frame 141
onClipEvent (load) {
meatFlg = true;
bornNum = 1;
}
Instance of Symbol 228 MovieClip in Frame 141
onClipEvent (load) {
meatFlg = false;
bornNum = 2;
}
Frame 143
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 145
this.stop();
Frame 148
this.stop();
Frame 155
this.stop();
Mouse.hide();
Instance of Symbol 242 MovieClip in Frame 156
onClipEvent (load) {
speed = -1;
rRadius = 200;
angle = 0;
cx = 320;
cy = 250;
}
Instance of Symbol 242 MovieClip in Frame 156
onClipEvent (load) {
speed = -1;
rRadius = 100;
angle = 0;
cx = 320;
cy = 250;
}
Instance of Symbol 242 MovieClip in Frame 156
onClipEvent (load) {
speed = -1;
rRadius = 300;
angle = 0;
cx = 320;
cy = 250;
}
Instance of Symbol 242 MovieClip in Frame 156
onClipEvent (load) {
speed = 1;
rRadius = 150;
angle = 0;
cx = 320;
cy = 250;
}
Instance of Symbol 242 MovieClip in Frame 156
onClipEvent (load) {
speed = 1;
rRadius = 250;
angle = 0;
cx = 320;
cy = 250;
}
Frame 158
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 160
this.stop();
Frame 163
this.stop();
Frame 170
this.stop();
Mouse.hide();
Instance of Symbol 236 MovieClip in Frame 171
onClipEvent (load) {
algNum = 1;
}
Instance of Symbol 236 MovieClip in Frame 171
onClipEvent (load) {
algNum = 2;
}
Instance of Symbol 242 MovieClip in Frame 171
onClipEvent (load) {
speed = 2;
rRadius = 50;
angle = 0;
cx = 320;
cy = 350;
}
Instance of Symbol 242 MovieClip in Frame 171
onClipEvent (load) {
speed = 2;
rRadius = 100;
angle = 0;
cx = 320;
cy = 350;
}
Instance of Symbol 242 MovieClip in Frame 171
onClipEvent (load) {
speed = 2;
rRadius = 150;
angle = 0;
cx = 320;
cy = 350;
}
Instance of Symbol 224 MovieClip in Frame 171
onClipEvent (load) {
speed = 1;
amp = 2;
angle = 0;
moveUDflg = false;
MoveLRflg = false;
}
Instance of Symbol 242 MovieClip in Frame 171
onClipEvent (load) {
speed = 2;
rRadius = 200;
angle = 0;
cx = 320;
cy = 350;
}
Frame 173
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 175
this.stop();
Frame 178
this.stop();
Frame 185
this.stop();
Mouse.hide();
Instance of Symbol 236 MovieClip in Frame 186
onClipEvent (load) {
algNum = 4;
}
Instance of Symbol 224 MovieClip in Frame 186
onClipEvent (load) {
speed = 2;
amp = 5;
angle = 0;
moveUDflg = true;
MoveLRflg = false;
}
Instance of Symbol 224 MovieClip in Frame 186
onClipEvent (load) {
speed = 3;
amp = 4;
angle = 0;
moveUDflg = false;
MoveLRflg = true;
}
Instance of Symbol 228 MovieClip in Frame 186
onClipEvent (load) {
meatFlg = true;
bornNum = 0;
}
Instance of Symbol 228 MovieClip in Frame 186
onClipEvent (load) {
meatFlg = true;
bornNum = 0;
}
Instance of Symbol 228 MovieClip in Frame 186
onClipEvent (load) {
meatFlg = true;
bornNum = 0;
}
Instance of Symbol 228 MovieClip in Frame 186
onClipEvent (load) {
meatFlg = true;
bornNum = 0;
}
Frame 188
this.numMainScoreMC.dispNum(this.gScore);
if (this.setLabelFlg == true) {
this.gotoAndPlay(this.labelName);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 190
this.stop();
Frame 193
this.stop();
Symbol 11 MovieClip [fukiya_ya] Frame 1
function move() {
this.px = this.px + this.addx;
this.py = this.py + this.addy;
if (this.hitTest(_root.balloonMC.hitdummyMC)) {
_root.balloonMC.entryBurst();
}
if (this.hitTest(_root.balloonMC.tobbyMC.hitdummy2MC)) {
_root.balloonMC.entryTobbyDeath();
this.removeMovieClip();
}
if ((this.px < -10) || (650 < this.px)) {
this.removeMovieClip();
}
}
Symbol 11 MovieClip [fukiya_ya] Frame 5
this._x = this.px;
this._y = this.py;
this.move();
this.gotoAndPlay(_currentframe - 1);
Symbol 22 MovieClip [number] Frame 1
this.stop();
Symbol 22 MovieClip [number] Frame 2
this.stop();
Symbol 22 MovieClip [number] Frame 3
this.stop();
Symbol 22 MovieClip [number] Frame 4
this.stop();
Symbol 22 MovieClip [number] Frame 5
this.stop();
Symbol 22 MovieClip [number] Frame 6
this.stop();
Symbol 22 MovieClip [number] Frame 7
this.stop();
Symbol 22 MovieClip [number] Frame 8
this.stop();
Symbol 22 MovieClip [number] Frame 9
this.stop();
Symbol 22 MovieClip [number] Frame 10
this.stop();
Symbol 27 MovieClip Frame 1
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.gotoAndPlay("init");
} else {
parcent = (loadedsize / totalsize) * 100;
gDownloaded = Math.round(parcent);
this.bar._width = 300 * (gDownloaded / 100);
_root.stop();
}
Symbol 27 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 31 Button
on (release) {
var labelName = ("stg" + String(_root.gStageNum));
_root.gotoAndPlay(labelName);
}
Symbol 34 Button
on (release) {
_root.gotoAndPlay("inst");
}
Symbol 41 MovieClip Frame 40
this.gotoAndPlay(1);
Symbol 41 MovieClip Frame 45
this.stop();
Symbol 42 MovieClip Frame 1
function alg() {
var d = (Math.cos((this.Angle * Math.PI) / 180) * this.amp);
this.py = this.py + d;
this.Angle = this.Angle + this.speed;
this.Angle = this.Angle % 360;
}
this.speed = 3;
this.amp = 1;
this.angle = 180;
this.py = this._y;
this.px = this._x;
Symbol 42 MovieClip Frame 5
this.alg();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 45 MovieClip Frame 10
this.stop();
Symbol 49 Button
on (release) {
this.play();
}
Symbol 82 MovieClip Frame 10
this.stop();
Symbol 82 MovieClip Frame 20
this.gotoAndStop(1);
_root.gotoAndPlay("title");
Symbol 88 MovieClip Frame 1
function dispNum(num) {
var t = num;
var d = 10;
i = 0;
while (i < this.keta) {
var k = ((t % d) / (d / 10));
eval ("this.n" + String(i + 1)).gotoAndStop(k + 1);
t = t - (t % d);
d = d * 10;
i++;
}
}
i = 0;
while (i < (this.keta - 1)) {
MCname = "n" + String(i + 2);
this.attachMovie("number", MCname, i + 2);
this[MCname]._x = -15 - (15 * i);
this[MCname]._y = 0;
i++;
}
Symbol 88 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 1);
Symbol 92 MovieClip Frame 1
_parent.stop();
this.startTime = getTimer();
Symbol 92 MovieClip Frame 3
if ((getTimer() - this.startTime) >= this.stayTime) {
_parent.play();
this.stop();
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 95 Button
on (release) {
this.gotoAndPlay("copyright");
}
Symbol 146 MovieClip Frame 1
function randomInt(maxNum) {
var rndNum = (Math.random() * maxNum);
if (rndNum == 0) {
rndNum = 1;
} else {
rndNum = Math.ceil(rndNum);
}
return(rndNum);
}
i = 0;
while (i < 10) {
var p = (randomInt(10) - 1);
trace(p);
if (_root.getStarList[p] == 0) {
this.gotoAndStop("m" + String(p + 1));
break;
}
i++;
}
Symbol 147 MovieClip Frame 1
function checkRank() {
rankScoreList = [790000, 780000, 770000, 740000];
i = 0;
while (i < rankScoreList.length) {
if (rankScoreList[i] < _root.gScore) {
return(i);
}
i++;
}
return(4);
}
function checkStar() {
var sCnt = 0;
i = 0;
while (i < 10) {
if (_root.getStarList[i] == 1) {
sCnt++;
}
i++;
}
trace(sCnt);
return(sCnt);
}
this.SE01 = new Sound(this);
this.SE01.attachSound("SE_addscore");
this.SE02 = new Sound(this);
this.SE02.attachSound("SE_doram");
this.nowPoint = 0;
Mouse.show();
Instance of Symbol 88 MovieClip "totalMC" in Symbol 147 MovieClip Frame 1
onClipEvent (load) {
keta = 6;
disp0Flg = true;
numName = "number";
}
Symbol 147 MovieClip Frame 8
this.SE01.start(0, 100000);
Symbol 147 MovieClip Frame 10
if (this.nowPoint < _root.gScore) {
this.nowPoint = this.nowPoint + 12345;
if (_root.gScore < this.nowPoint) {
this.nowPoint = _root.gScore;
}
this.totalMC.dispNum(this.nowPoint);
this.gotoAndPlay(_currentframe - 1);
} else {
this.SE01.stop();
this.gotoAndPlay(_currentframe + 1);
}
Instance of Symbol 92 MovieClip in Symbol 147 MovieClip Frame 11
onClipEvent (load) {
stayTime = 2000;
}
Symbol 147 MovieClip Frame 20
this.star = this.checkStar();
if (this.star == 10) {
this.gotoAndPlay("trueEnding");
}
Symbol 147 MovieClip Frame 22
jumpNum = this.checkRank();
this.gotoAndPlay("rank_" + String(jumpNum + 1));
Symbol 147 MovieClip Frame 39
this.stop();
Symbol 147 MovieClip Frame 49
this.stop();
Symbol 147 MovieClip Frame 59
this.stop();
Symbol 147 MovieClip Frame 69
this.stop();
Symbol 147 MovieClip Frame 79
this.stop();
Symbol 147 MovieClip Frame 99
this.stop();
Instance of Symbol 92 MovieClip in Symbol 147 MovieClip Frame 109
onClipEvent (load) {
stayTime = 2000;
}
Instance of Symbol 92 MovieClip in Symbol 147 MovieClip Frame 120
onClipEvent (load) {
stayTime = 2000;
}
Symbol 147 MovieClip Frame 131
if (this.star == 10) {
_root.gotoAndPlay("init");
}
Instance of Symbol 92 MovieClip in Symbol 147 MovieClip Frame 132
onClipEvent (load) {
stayTime = 2000;
}
Instance of Symbol 92 MovieClip in Symbol 147 MovieClip Frame 145
onClipEvent (load) {
stayTime = 3000;
}
Symbol 147 MovieClip Frame 155
this.gotoAndStop(1);
_root.gotoAndPlay("init");
Symbol 149 MovieClip Frame 1
Symbol 149 MovieClip Frame 4
this.stop();
Symbol 151 MovieClip Frame 1
Symbol 151 MovieClip Frame 5
this.stop();
Symbol 153 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 153 MovieClip Frame 10
this.stop();
Symbol 155 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 155 MovieClip Frame 10
this.stop();
Symbol 157 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 157 MovieClip Frame 10
this.stop();
Symbol 161 MovieClip Frame 1
this.stop();
Symbol 161 MovieClip Frame 20
this.gotoAndPlay("goalIn");
Symbol 170 MovieClip Frame 1
this.stop();
Symbol 170 MovieClip Frame 6
this.stop();
Symbol 177 MovieClip Frame 1
this.stop();
Symbol 177 MovieClip Frame 16
this.gotoAndPlay(8);
Symbol 177 MovieClip Frame 27
_root.gScore = _root.gScore + 4;
this.gotoAndPlay(20);
Symbol 178 MovieClip Frame 1
function main() {
var dx = (this.px - _root.balloonMC._x);
var dy = (this.py - _root.balloonMC._y);
var r = Math.atan2(dy, dx);
this.angle = r / (Math.PI/180);
if (this.aogiFlg == true) {
_root.balloonMC.addp(this.angle);
if (this.soundFlg == false) {
this.theSoundObj.start(0, 100000);
this.soundFlg = true;
}
} else {
this.theSoundObj.stop();
this.SoundFlg = false;
}
}
this.px = 0;
this.py = 0;
this.angle = 0;
this.theSoundOBj = new Sound(this);
this.theSoundObj.attachSound("SE_aogi");
this.SoundFlg = false;
Symbol 178 MovieClip Frame 10
px = _root._xmouse;
py = _root._ymouse;
if (_root.playFlg == true) {
this.main();
} else {
this.loopanm.gotoAndStop("stay");
this.theSoundObj.stop();
}
this._x = this.px;
this._y = this.py;
this._rotation = this.angle - 90;
this.gotoAndPlay(_currentframe - 1);
Symbol 182 MovieClip Frame 1
function init() {
this.r = 0;
this.r2 = 0;
this.r2Bak = this.r2;
this.power = 0;
this.gotoAndPlay("standby");
}
function moveFuriko() {
if (_root.uchiwaMC.aogiFlg == true) {
if (0 < _parent.adx) {
if ((_root.uchiwaMC._x - _parent._x) < 0) {
this.angle = Math.cos((this.r2 * Math.PI) / 180) * this.power;
this.r2 = this.r2 - ((_parent.adx * 0.5) + 16);
this.r = this.r2;
if (this.r2 < 0) {
this.r2 = 0;
this.r = 0;
}
}
} else if (0 < (_root.uchiwaMC._x - _parent._x)) {
this.angle = Math.cos((this.r2 * Math.PI) / 180) * this.power;
this.r2 = this.r2 - (_parent.adx * 0.5);
this.r = this.r2;
if (180 < this.r2) {
this.r2 = 180;
this.r = 180;
}
}
}
this.r2Bak = this.r2;
if (this.power >= 1) {
this.angle = Math.cos((this.r2 * Math.PI) / 180) * this.power;
this.r = (this.r + 8) % 360;
if (180 < this.r) {
this.r2 = 180 - (this.r % 180);
} else {
this.r2 = this.r;
}
this.power = this.power * 0.98;
if (_parent.tobbyMC.loopAnmMC._currentframe == 45) {
_parent.tobbyMC.loopAnmMC.gotoAndPlay("loop");
}
} else {
this.angle = 0;
this.r = 0;
this.r2 = 0;
this.power = 0;
_parent.tobbyMC.loopAnmMC.gotoAndStop("stay");
}
_parent.tobbyMC.setloc(this.angle);
}
function addp(dx) {
this.power = this.power + Math.abs(dx / 5);
if (60 < this.power) {
this.power = 60;
}
}
this.init();
Symbol 182 MovieClip Frame 10
this.moveFuriko();
this._rotation = this.angle;
this.gotoAndplay(_currentframe - 1);
Symbol 182 MovieClip Frame 21
this.moveFuriko();
this._rotation = this.angle;
this.gotoAndplay(_currentframe - 1);
Symbol 184 MovieClip Frame 1
function init() {
this.fallFlg = false;
this.ady = 0;
}
function setLoc(angle) {
if (this.fallFlg == false) {
this.py = (Math.cos((angle * Math.PI) / 180) * 45) + _parent.himoMC._y;
this.px = (Math.sin(((-angle) * Math.PI) / 180) * 45) + _parent.himoMC._x;
this.angle = angle;
}
}
function entryfall() {
this.fallFlg = true;
}
function fall() {
this.py = this.py + this.ady;
this.ady = this.ady + 1;
if (500 < this.py) {
_root.labelName = "m" + String(_root.gStageNum);
_root.setLabelFlg = true;
}
}
Symbol 184 MovieClip Frame 10
if (this.fallFlg == true) {
this.fall();
}
this._x = this.px;
this._y = this.py;
this._rotation = this.angle;
this.gotoAndPlay(_currentframe - 1);
Symbol 184 MovieClip Frame 20
if (this.fallFlg == true) {
this.fall();
}
this._x = this.px;
this._y = this.py;
this._rotation = this.angle;
this.gotoAndPlay(_currentframe - 1);
Symbol 187 MovieClip Frame 1
this.stop();
Symbol 187 MovieClip Frame 29
this.stop();
Symbol 188 MovieClip Frame 1
function initPlayer() {
this.missFlg = false;
this.px = _root.gStartLocList[_root.gStageNum - 1][0];
this.py = _root.gStartLocList[_root.gStageNum - 1][1];
this.adx = 0;
this.ady = 0;
this.AirResistance = 0.95;
this._visible = true;
this.fusenMC.gotoAndStop("init");
this.himoMC.init();
this.tobbyMC.init();
this.tobbyDeathFlg = false;
this._visible = true;
this.hitdummyMC._visible = true;
this.eipaEntryFlg = false;
}
function startballoon() {
_root.playFlg = true;
this.startTime = getTimer();
}
function unDisp() {
this._visible = false;
}
function move() {
this.adx = this.adx * this.AirResistance;
this.ady = this.ady * this.AirResistance;
this.px = this.px + this.adx;
this.py = this.py + this.ady;
if (this.tobbyDeathFlg == false) {
this.py = this.py + 1;
}
}
function addp(angle) {
if (this.playFlg == false) {
return(undefined);
}
var ph = 0.5;
this.adx = this.adx + (-(Math.cos((angle * Math.PI) / 180) * ph));
this.ady = this.ady + (-(Math.sin((angle * Math.PI) / 180) * ph));
this.himoMC.addp(this.adx);
}
function goalCheck() {
if ((this.tobbyMC.hitdummy2MC.hitTest(_root.goalMC) == true) || (this.hitdummyMC.hitTest(_root.goalMC) == true)) {
_root.labelName = "c" + String(_root.gStageNum);
_root.setLabelFlg = true;
_root.playFlg = false;
_root.goalMC.gotoAndPlay("goalIn");
_root.stageClearTime = getTimer() - this.startTime;
}
}
function debugClear() {
_root.labelName = "c" + String(_root.gStageNum);
_root.setLabelFlg = true;
_root.playFlg = false;
_root.stageClearTime = getTimer() - this.startTime;
}
function entryBurst() {
this.missFlg = true;
_root.playFlg = false;
_root.nomissFlg = false;
this.fusenMC.gotoAndPlay("burst");
this.hitdummyMC._visible = false;
}
function entryTobbyDeath() {
_root.playFlg = false;
_root.nomissFlg = false;
this.ady = this.ady - 3;
this.himoMC.gotoAndPlay("free");
this.tobbyMC.entryfall();
this.tobbyDeathFlg = true;
this.theSoundOBj.start();
}
function hitCheck() {
if (this.py < 50) {
this.entryBurst();
return(undefined);
}
if ((this.px < 20) || (620 < this.px)) {
this.entryBurst();
return(undefined);
}
if (395 < this.py) {
this.entryTobbyDeath();
return(undefined);
}
i = 0;
while (i < _root.gMapChipThisList.length) {
if (this.hitdummyMC.hitTest(_root.gMapChipThisList[i])) {
this.entryBurst();
return(undefined);
}
i++;
}
i = 0;
while (i < _root.gMapChipThisList.length) {
if (this.tobbyMC.hitdummy2MC.hitTest(_root.gMapChipThisList[i])) {
this.entryTobbyDeath();
return(undefined);
}
i++;
}
}
function missMove() {
this.py = this.py + this.ady;
this.ady++;
if (500 < this.py) {
_root.labelName = "m" + String(_root.gStageNum);
_root.setLabelFlg = true;
}
}
function eipaCheck() {
if (this.eipaEntryFlg == false) {
if (40000 < (getTimer() - this.startTime)) {
trace("entry");
_root.eipaMC.entry();
this.eipaEntryFlg = true;
}
}
}
this._visible = false;
this.missFlg = false;
this.startTime = 0;
this.theSoundOBj = new Sound(this);
this.theSoundOBj.attachSound("SE_death");
Symbol 188 MovieClip Frame 10
if (_root.playflg == true) {
this.move();
this.goalCheck();
this.hitCheck();
this.eipaCheck();
}
if (this.missFlg == true) {
this.missMove();
}
if (this.tobbyDeathFlg == true) {
this.move();
}
this._x = px;
this._y = py;
this.gotoAndPlay(_currentframe - 1);
Symbol 188 MovieClip Frame 20
if (_root.playflg == true) {
this.move();
this.goalCheck();
this.hitCheck();
}
if (this.missFlg == true) {
this.missMove();
}
if (this.tobbyDeathFlg == true) {
this.move();
}
this._x = px;
this._y = py;
this.gotoAndPlay(_currentframe - 1);
Symbol 193 MovieClip Frame 3
_root.balloonMC.initPlayer();
_root.setLabelFlg = false;
_root.labelName = "";
Instance of Symbol 92 MovieClip in Symbol 193 MovieClip Frame 20
onClipEvent (load) {
stayTime = 750;
}
Symbol 193 MovieClip Frame 30
_root.balloonMC.startballoon();
_root.play();
Symbol 196 MovieClip Frame 1
this.stop();
Symbol 196 MovieClip Frame 10
this.stop();
Symbol 197 MovieClip Frame 1
function init() {
this.entryBoxFlg = false;
this.cCnt = 0;
this.openFlg = false;
this._visible = false;
this.getBornList = [];
this.getBornNum = 0;
}
function cChk01() {
if (_root.uchiwaMC.aogiFlg == true) {
this.cCnt++;
} else {
this.cCnt = 0;
}
if (this.cCnt >= 30) {
this.entryBox();
}
}
function cChk02() {
if (this.getBornNum == 2) {
this.entryBox();
}
}
function cChk03() {
if (_root.secretDummyMC.hitTest(_root.balloonMC) == true) {
this.entryBox();
}
}
function cChk04() {
if (_root.secretDummyMC.hitTest(_root.balloonMC) == true) {
this.entryBox();
}
}
function cChk05() {
if (_root.uchiwaMC.aogiFlg == false) {
this.cCnt++;
} else {
this.cCnt = 0;
}
if (this.cCnt >= 60) {
this.entryBox();
}
}
function cChk06() {
if (_root.togexMC.hitTest(_root.balloonMC.himoMC) == true) {
this.entryBox();
}
}
function cChk07() {
if ((this.getBornList[0] == 1) && (this.getBornList[1] == 2)) {
this.entryBox();
}
}
function cChk08() {
if (8 < _root.balloonMC.adx) {
this.entryBox();
}
}
function cChk09() {
if (_root.secretDummyMC.hitTest(_root.balloonMC.fusenMC) == true) {
this.entryBox();
}
}
function cChk10() {
if ((_root.gScore % 10000) == 1048) {
this.entryBox();
}
}
function getBorn(bNum) {
this.getBornList.push(bNum);
this.getBornNum++;
}
function entryBox() {
if (this.entryBoxFlg == true) {
return(undefined);
}
this.entryBoxFlg = true;
this._visible = true;
this.SE_entryBox.start();
}
this.SE_entryBox = new Sound(this);
this.SE_entryBox.attachSound("SE_entryBox");
this.SE_get = new Sound(this);
this.SE_get.attachSound("SE_get");
this.init();
Symbol 197 MovieClip Frame 5
if (_root.playFlg == true) {
if (this.entryBoxFlg == false) {
if (_root.gStageNum == 1) {
this.cChk01();
}
if (_root.gStageNum == 2) {
this.cChk02();
}
if (_root.gStageNum == 3) {
this.cChk03();
}
if (_root.gStageNum == 4) {
this.cChk04();
}
if (_root.gStageNum == 5) {
this.cChk05();
}
if (_root.gStageNum == 6) {
this.cChk06();
}
if (_root.gStageNum == 7) {
this.cChk07();
}
if (_root.gStageNum == 8) {
this.cChk08();
}
if (_root.gStageNum == 9) {
this.cChk09();
}
if (_root.gStageNum == 10) {
this.cChk10();
}
} else if (this.openFlg == false) {
if (this.hitTest(_root.balloonMC.tobbyMC) == true) {
this.boxMC.gotoAndStop("open");
this.openFlg = true;
this.SE_get.start();
_root.getStarList[_root.gStageNum - 1] = 1;
var starName = ("star" + String(_root.gStageNum));
_root.getStarMC[starName].gotoAndStop("get");
}
}
}
this.gotoAndPlay(_currentframe - 1);
Symbol 199 MovieClip Frame 1
function alg() {
this.px = this.px + ((_root.balloonMC._x - this.px) / this.speed);
this.py = this.py + ((_root.balloonMC._y - this.py) / this.speed);
this.speed = this.speed - 0.1;
if (this.speed < 10) {
this.speed = 10;
}
this._rotation = (this._rotation + 10) % 360;
if (this.hitTest(_root.balloonMC.hitdummyMC)) {
_root.balloonMC.entryBurst();
}
if (this.hitTest(_root.balloonMC.tobbyMC.hitdummy2MC)) {
_root.balloonMC.entryTobbyDeath();
}
}
function entry() {
trace("res");
this._visible = true;
this.entryFlg = true;
}
this.py = this._y;
this.px = this._x;
this.speed = 100;
this.entryFlg = false;
this._visible = false;
Symbol 199 MovieClip Frame 5
if ((_root.playFlg == true) && (this.entryFlg == true)) {
this.alg();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 206 Button
on (release) {
this.continueFlg = true;
this.play();
}
Symbol 207 Button
on (release) {
this.continueFlg = false;
this.play();
}
Instance of Symbol 92 MovieClip in Symbol 210 MovieClip Frame 6
onClipEvent (load) {
stayTime = 1500;
}
Symbol 210 MovieClip Frame 12
_root.gLastPlayer--;
if (_root.gLastPlayer == 0) {
this.gotoAndPlay("gameover");
}
Symbol 210 MovieClip Frame 20
_root.balloonMC.undisp();
labelName = "stg" + String(_root.gStageNum);
_root.gotoAndPlay(labelName);
Instance of Symbol 92 MovieClip in Symbol 210 MovieClip Frame 26
onClipEvent (load) {
stayTime = 500;
}
Instance of Symbol 92 MovieClip in Symbol 210 MovieClip Frame 35
onClipEvent (load) {
stayTime = 1500;
}
Instance of Symbol 92 MovieClip in Symbol 210 MovieClip Frame 43
onClipEvent (load) {
stayTime = 500;
}
Symbol 210 MovieClip Frame 50
Mouse.show();
this.stop();
Symbol 210 MovieClip Frame 65
if (this.continueFlg == true) {
Mouse.hide();
_root.continueInit();
labelName = "stg" + String(_root.gStageNum);
_root.gotoAndPlay(labelName);
} else {
_root.gotoAndPlay("init");
}
Symbol 220 MovieClip Frame 2
this.SE01 = new Sound(this);
this.SE01.attachSound("SE_addscore");
this.SE02 = new Sound(this);
this.SE02.attachSound("SE_doram");
this.clearBonus = _root.gStageNum * 1000;
this.timeBonus = 60000 - _root.stageClearTime;
if (this.timeBonus < 0) {
this.timeBonus = 0;
}
this.timeBonus = 10000 + this.timebonus;
if (_root.gStageNum == 9) {
this.timeBonus = this.timeBonus - (this.timeBonus % 1000);
this.timeBonus = this.timeBonus + (1000 - (_root.gScore % 1000));
} else {
this.timeBonus = this.timeBonus - (this.timeBonus % 10);
}
if (_root.nomissFlg == true) {
this.nomissBonus = 10000;
} else {
_root.nomissFlg = true;
}
this.totalBonus = (this.clearBonus + this.timeBonus) + this.nomissBonus;
Instance of Symbol 88 MovieClip "numClearMC" in Symbol 220 MovieClip Frame 15
onClipEvent (load) {
keta = 6;
disp0Flg = true;
numName = "number";
}
Symbol 220 MovieClip Frame 16
this.numClearMC.dispNum(this.clearBonus);
Instance of Symbol 88 MovieClip "numTimeMC" in Symbol 220 MovieClip Frame 29
onClipEvent (load) {
keta = 6;
disp0Flg = true;
numName = "number";
}
Symbol 220 MovieClip Frame 30
this.numTimeMC.dispNum(this.timeBonus);
Instance of Symbol 88 MovieClip "numNoMissMC" in Symbol 220 MovieClip Frame 44
onClipEvent (load) {
keta = 6;
disp0Flg = true;
numName = "number";
}
Symbol 220 MovieClip Frame 45
this.numNoMissMC.dispNum(this.nomissBonus);
Instance of Symbol 88 MovieClip "numTotalMC" in Symbol 220 MovieClip Frame 59
onClipEvent (load) {
keta = 6;
disp0Flg = true;
numName = "number";
}
Instance of Symbol 88 MovieClip "numScoreMC" in Symbol 220 MovieClip Frame 59
onClipEvent (load) {
keta = 7;
disp0Flg = true;
numName = "number";
}
Symbol 220 MovieClip Frame 60
this.numTotalMC.dispNum(this.totalBonus);
Symbol 220 MovieClip Frame 77
this.SE01.start(0, 100000);
Symbol 220 MovieClip Frame 79
if (0 < this.totalBonus) {
this.totalBonus = this.totalBonus - 1234;
if (this.totalBonus < 0) {
var hpts = (-this.totalBonus);
this.totalBonus = 0;
_root.gScore = _root.gScore + (1234 - hpts);
} else {
_root.gScore = _root.gScore + 1234;
}
this.numScoreMC.dispNum(_root.gScore);
_root.numMainScoreMC.dispNum(_root.gScore);
this.numTotalMC.dispNum(this.totalBonus);
this.gotoAndPlay(_currentframe - 1);
} else {
this.SE01.stop();
this.gotoAndPlay(_currentframe + 1);
}
Symbol 220 MovieClip Frame 145
_root.balloonMC.undisp();
_root.gStageNum++;
if (10 < _root.gStageNum) {
_root.gotoAndPlay("ending");
} else {
_root.play();
}
Symbol 222 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 222 MovieClip Frame 10
this.stop();
Symbol 224 MovieClip Frame 1
function alg() {
var d = (Math.cos((this.Angle * Math.PI) / 180) * this.amp);
if (this.moveUDflg == true) {
this.py = this.py + d;
}
if (this.moveLRflg == true) {
this.px = this.px + d;
}
this.Angle = this.Angle + this.speed;
this.Angle = this.Angle % 360;
if (this.hitTest(_root.balloonMC.hitdummyMC)) {
_root.balloonMC.entryBurst();
}
if (this.hitTest(_root.balloonMC.tobbyMC.hitdummy2MC)) {
_root.balloonMC.entryTobbyDeath();
}
}
this.py = this._y;
this.px = this._x;
Symbol 224 MovieClip Frame 5
if (_root.playFlg == true) {
this.alg();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 227 MovieClip Frame 1
this.stop();
Symbol 227 MovieClip Frame 6
this.stop();
Symbol 228 MovieClip Frame 1
function getCheck() {
if (this.hitTest(_root.balloonMC.tobbyMC)) {
this._visible = false;
this._y = -100;
_root.gScore = _root.gScore + this.addScore;
_root.getHoneCnt++;
this.SE01.start();
_root.sBoxMC.getBorn(this.bornNum);
}
}
this.SE01 = new Sound(this);
this.SE01.attachSound("SE_get");
if (this.meatFlg == true) {
this.graphicMC.gotoAndStop("meat");
this.addScore = 1000;
} else {
this.graphicMC.gotoAndStop("born");
this.addScore = 300;
}
Symbol 228 MovieClip Frame 10
if (this._visible == true) {
this.getCheck();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 230 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 230 MovieClip Frame 10
this.stop();
Symbol 232 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 232 MovieClip Frame 10
this.stop();
Symbol 235 MovieClip Frame 1
this.stop();
Symbol 235 MovieClip Frame 10
this.stop();
Symbol 236 MovieClip Frame 1
function alg01() {
this.py = this.py - this.lookPlayer();
if (this.timeCnt == 15) {
this.anmMC.gotoAndStop("standby");
}
if (90 < this.timeCnt) {
this.entry_ya(this._xscale / 5, 0, 0);
this.timeCnt = 0;
}
timeCnt++;
}
function alg02() {
this.py = this.py + (Math.cos((this.Angle * Math.PI) / 180) * 2);
this.Angle++;
this.Angle = this.Angle % 360;
this.lookPlayer();
if (this.timeCnt == 15) {
this.anmMC.gotoAndStop("standby");
}
if ((this.Angle % 90) == 0) {
this.entry_ya(this._xscale / 5, 0, 0);
this.timeCnt = 0;
}
timeCnt++;
}
function alg03() {
this.py = this.py + ((_root.balloonMC.py - this.py) / 10);
this.lookPlayer();
if (this.timeCnt == 15) {
this.anmMC.gotoAndStop("standby");
}
if (90 < this.timeCnt) {
this.entry_ya(this._xscale / 5, 0, 0);
this.timeCnt = 0;
}
timeCnt++;
}
function alg04() {
this.py = this.py + ((_root.balloonMC.py - this.py) / 2);
this.lookPlayer();
if (this.timeCnt == 15) {
this.anmMC.gotoAndStop("standby");
}
if (90 < this.timeCnt) {
if (Math.abs(this.py - _root.balloonMC.py) < 5) {
this.entry_ya(this._xscale / 5, 0, 0);
this.timeCnt = 0;
}
}
timeCnt++;
}
function entry_ya(dx, dy, dAngle) {
this.SE_fukiya.start();
this.anmMC.gotoAndStop("shot");
newYaName = "ya" + String(_root.YaCnt);
_root.attachMovie("fukiya_ya", newYaName, _root.YaCnt);
_root.YaCnt++;
_root[newYaName].px = this.px + (20 * this.flipHSign);
_root[newYaName].py = this.py + 4;
_root[newYaName].addx = dx;
_root[newYaName].addy = dy;
_root[newYaName]._xscale = this.flipHSign * 100;
_root[newYaName]._rotation = dAngle;
}
function lookPlayer() {
if ((_root.balloonMC._x - this._x) < 0) {
this._xscale = -100;
this.flipHSign = -1;
} else {
this._xscale = 100;
this.flipHSign = 1;
}
}
this.px = this._x;
this.py = this._y;
this.timeCnt = 0;
this.flipHSign = 1;
this.SE_fukiya = new Sound(this);
this.SE_fukiya.attachSound("SE_fukiya");
this.angle = 0;
Symbol 236 MovieClip Frame 10
if (_root.playFlg == true) {
this._x = this.px;
this._y = this.py;
if (this.algNum == 1) {
this.alg01();
}
if (this.algNum == 2) {
this.alg02();
}
if (this.algNum == 3) {
this.alg03();
}
if (this.algNum == 4) {
this.alg04();
}
}
this.gotoAndPlay(_currentframe - 1);
Symbol 238 MovieClip Frame 1
_root.gMapChipThisList.push(this);
Symbol 238 MovieClip Frame 10
this.stop();
Symbol 239 MovieClip Frame 1
function alg() {
this.px = this.px + this.addx;
this.py = this.py + this.addy;
if (15 >= this.px) {
this.px = 15;
this.addx = -this.addx;
}
if (this.px >= 625) {
this.px = 625;
this.addx = -this.addx;
}
if (45 >= this.py) {
this.py = 45;
this.addy = -this.addy;
}
if (this.py >= 465) {
this.py = 465;
this.addy = -this.addy;
}
if (this.hitTest(_root.balloonMC.hitdummyMC)) {
_root.balloonMC.entryBurst();
}
if (this.hitTest(_root.balloonMC.tobbyMC.hitdummy2MC)) {
_root.balloonMC.entryTobbyDeath();
}
}
this.py = this._y;
this.px = this._x;
Symbol 239 MovieClip Frame 5
if (_root.playFlg == true) {
this.alg();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 241 MovieClip Frame 1
function alg() {
var d = (Math.cos((this.Angle * Math.PI) / 180) * this.amp);
if (this.moveUDflg == true) {
this.py = this.py + d;
}
if (this.moveLRflg == true) {
this.px = this.px + d;
}
this.Angle = this.Angle + this.speed;
this.Angle = this.Angle % 360;
if (this.hitTest(_root.balloonMC.hitdummyMC)) {
_root.balloonMC.entryBurst();
}
if (this.hitTest(_root.balloonMC.tobbyMC.hitdummy2MC)) {
_root.balloonMC.entryTobbyDeath();
}
}
this.py = this._y;
this.px = this._x;
Symbol 241 MovieClip Frame 5
if (_root.playFlg == true) {
this.alg();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 242 MovieClip Frame 1
function alg() {
this.px = this.cx + (Math.cos((this.Angle * Math.PI) / 180) * this.rRadius);
this.py = this.cy + (Math.sin((this.Angle * Math.PI) / 180) * this.rRadius);
this.Angle = this.Angle + this.speed;
this.Angle = this.Angle % 360;
if (this.hitTest(_root.balloonMC.hitdummyMC)) {
_root.balloonMC.entryBurst();
}
if (this.hitTest(_root.balloonMC.tobbyMC.hitdummy2MC)) {
_root.balloonMC.entryTobbyDeath();
}
}
Symbol 242 MovieClip Frame 5
if (_root.playFlg == true) {
this.alg();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);