Frame 1
stop();
function gotoNextScene() {
play();
gotoAndStop (2);
}
Instance of Symbol 5 MovieClip in Frame 1
on (press) {
if (clkf == false) {
clkf = true;
_root.spP();
}
}
onClipEvent (load) {
clkf = false;
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
_root.gotoNextScene();
}
}
Instance of Symbol 12 MovieClip in Frame 1
onClipEvent (enterFrame) {
var nloaded = _root.getBytesLoaded();
var ntotal = _root.getBytesTotal();
var bParcent = Math.round((nloaded / ntotal) * 100);
this._xscale = bParcent;
}
Frame 2
function endproc() {
gotoAndStop (1);
}
function shootP() {
point = 0;
if (time < 100) {
point = 5;
} else if (time < 200) {
point = 3;
} else if (time < 400) {
point = 1;
}
_root.score = _root.score + point;
_root.count++;
switch (point) {
case 0 :
_root.p0.duplicateMovieClip("unit" + _root.count, _root.count);
break;
case 1 :
p1.duplicateMovieClip("unit" + _root.count, _root.count);
break;
case 3 :
p3.duplicateMovieClip("unit" + _root.count, _root.count);
break;
case 5 :
_root.p5.duplicateMovieClip("unit" + _root.count, _root.count);
}
_root["unit" + _root.count]._x = _root._xmouse;
_root["unit" + _root.count]._y = _root._ymouse;
_root["damage" + _root.count].gotoAndPlay(1);
}
function bonusP(bb) {
_root.score = _root.score + bb;
_root.count++;
switch (bb) {
case 10 :
_root.p10.duplicateMovieClip("unit" + _root.count, _root.count);
break;
case 30 :
_root.p30.duplicateMovieClip("unit" + _root.count, _root.count);
break;
case 50 :
_root.p50.duplicateMovieClip("unit" + _root.count, _root.count);
break;
case 100 :
_root.p100.duplicateMovieClip("unit" + _root.count, _root.count);
}
_root["unit" + _root.count]._x = _root._xmouse;
_root["unit" + _root.count]._y = _root._ymouse;
_root["unit" + _root.count].gotoAndPlay(1);
}
function spP() {
_root.score = _root.score + 100;
_root.count++;
_root.pb100.duplicateMovieClip("unit" + _root.count, _root.count);
_root["unit" + _root.count]._x = _root._xmouse;
_root["unit" + _root.count]._y = _root._ymouse;
_root["damage" + _root.count].gotoAndPlay(1);
}
view = 1;
stop();
Instance of Symbol 131 MovieClip in Frame 2
on (press) {
_parent.gotoAndPlay("f1");
}
Instance of Symbol 122 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((_root.nugicnt == 4) && (_root.endflag == false)) {
_root.endflag = true;
_root.endobj.gotoAndPlay(2);
}
_root.time++;
if (_root.score >= 800) {
if ((_root.main.seta._visible == false) && (_root.main.uwagi2._visible == false)) {
_root.main.kao.gotoAndStop(2);
}
}
if (_root.score >= 1200) {
if (_root.main.Gpan._visible == false) {
_root.main.kahansin.gotoAndStop(1);
}
}
if ((_root.time > 600) && (_root.endflag == false)) {
_root.spP();
_root.endflag = true;
_root.endobj.gotoAndPlay(2);
_root.main.faces.gotoAndStop("lv3");
} else if ((_root.time > 350) && (_root.endflag == false)) {
_root.main.faces.gotoAndStop("lv2");
_root.main.ase1.gotoAndPlay(2);
}
}
onClipEvent (load) {
_root.score = 0;
_root.time = 0;
_root.gotoAndPlay(2);
_root.view = 1;
_root.nugicnt = 0;
_root.endflag = false;
}
Frame 28
view = 2;
stop();
Instance of Symbol 131 MovieClip in Frame 28
on (press) {
_parent.gotoAndPlay("f2");
}
Instance of Symbol 174 MovieClip in Frame 28
on (press) {
_parent.gotoAndPlay("f8");
}
Frame 55
view = 3;
stop();
Instance of Symbol 131 MovieClip in Frame 55
on (press) {
_parent.gotoAndPlay("f3");
}
Instance of Symbol 174 MovieClip in Frame 55
on (press) {
_parent.gotoAndPlay("f7");
}
Frame 81
view = 4;
stop();
Instance of Symbol 131 MovieClip in Frame 81
on (press) {
_parent.gotoAndPlay("f4");
}
Instance of Symbol 174 MovieClip in Frame 81
on (press) {
_parent.gotoAndPlay("f6");
}
Frame 109
view = 5;
stop();
Instance of Symbol 174 MovieClip in Frame 109
on (press) {
_parent.gotoAndPlay("f5");
}
Frame 135
view = 4;
stop();
Instance of Symbol 131 MovieClip in Frame 135
on (press) {
_parent.gotoAndPlay("f4");
}
Instance of Symbol 174 MovieClip in Frame 135
on (press) {
_parent.gotoAndPlay("f6");
}
Frame 160
view = 3;
stop();
Instance of Symbol 131 MovieClip in Frame 160
on (press) {
_parent.gotoAndPlay("f3");
}
Instance of Symbol 174 MovieClip in Frame 160
on (press) {
_parent.gotoAndPlay("f7");
}
Frame 185
view = 2;
stop();
Instance of Symbol 131 MovieClip in Frame 185
on (press) {
_parent.gotoAndPlay("f2");
}
Instance of Symbol 174 MovieClip in Frame 185
on (press) {
_parent.gotoAndPlay("f8");
}
Frame 216
view = 1;
stop();
Instance of Symbol 131 MovieClip in Frame 216
on (press) {
_parent.gotoAndPlay("f1");
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 2
stop();
Symbol 22 MovieClip Frame 3
stop();
Symbol 22 MovieClip Frame 4
stop();
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
clkflg = false;
Symbol 41 MovieClip Frame 40
_root.bonusP(10);
Symbol 41 MovieClip Frame 75
clkflg = true;
Instance of Symbol 44 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (load) {
maxhp = 10;
hp = 10;
}
on (press) {
if ((_root.view != 5) || (_parent.obj.clkflg == false)) {
return(undefined);
}
hp--;
_root.shootP();
if (hp == 0) {
if (maxhp > 30) {
return(undefined);
}
_parent.obj.gotoAndPlay(2);
maxhp = maxhp + 5;
hp = maxhp;
}
}
Instance of Symbol 48 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (load) {
hp = 18;
}
on (press) {
if (_parent._parent.isClickUwagi() == false) {
return(undefined);
}
hp--;
_root.shootP();
if (hp == 0) {
_parent._visible = false;
_root.bonusP(50);
if (_root.time <= 300) {
_root.spP();
}
_root.nugicnt++;
}
}
Symbol 56 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
hp = 10;
}
on (press) {
if (_parent._parent.isClickGpan() == false) {
return(undefined);
}
hp--;
_root.shootP();
if (hp == 0) {
_root.bonusP(30);
_parent.gotoAndStop(2);
}
}
Symbol 56 MovieClip Frame 2
stop();
Instance of Symbol 55 MovieClip in Symbol 56 MovieClip Frame 2
onClipEvent (load) {
hp = 15;
}
on (press) {
if (_parent._parent.isClickGpan() == false) {
return(undefined);
}
hp--;
_root.shootP();
if (hp == 0) {
_parent._visible = false;
if (((_root.time <= 500) && (_parent._parent.bousi._visible == false)) || ((_root.time <= 350) && (_parent._parent.bousi._visible == true))) {
_root.spP();
}
_root.bonusP(30);
_root.nugicnt++;
}
}
Symbol 66 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
this.hp = 5;
}
on (press) {
if (_parent._parent.isClickSeta1() == false) {
return(undefined);
}
this.hp--;
_root.shootP();
if (this.hp == 0) {
_root.bonusP(10);
if (_root.time < 70) {
_root.spP();
}
_parent.gotoAndPlay(2);
}
}
Symbol 66 MovieClip Frame 2
this.hp = 15;
stop();
Instance of Symbol 63 MovieClip in Symbol 66 MovieClip Frame 2
on (press) {
if (_parent._parent.isClickSeta2() == false) {
return(undefined);
}
_parent.hp--;
_root.shootP();
if (_parent.hp <= 0) {
_parent._visible = false;
_parent._parent.dispatch();
_parent._parent.uwagi2._visible = true;
_root.bonusP(30);
if (((_root.time <= 280) && (_parent._parent.bousi._visible == false)) || ((_root.time <= 130) && (_parent._parent.bousi._visible == true))) {
_root.spP();
}
_root.nugicnt++;
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 2
on (press) {
if (_parent._parent.isClickSeta2() == false) {
return(undefined);
}
_parent.hp = _parent.hp - 1.5;
_root.shootP();
if (_parent.hp <= 0) {
_parent._visible = false;
_parent._parent.dispatch();
_parent._parent.uwagi2._visible = true;
_root.bonusP(30);
if (((_root.time <= 280) && (_parent._parent.bousi._visible == false)) || ((_root.time <= 130) && (_parent._parent.bousi._visible == true))) {
_root.spP();
}
_root.nugicnt++;
}
}
Symbol 81 MovieClip Frame 89
gotoAndPlay (2);
Symbol 91 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
hp = 1;
}
on (press) {
hp--;
if (hp == 0) {
_root.spP();
}
}
Symbol 91 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 46
gotoAndPlay (1);
Symbol 109 MovieClip Frame 47
stop();
Symbol 109 MovieClip Frame 52
stop();
Symbol 113 MovieClip Frame 1
hp = 12;
stop();
Instance of Symbol 112 MovieClip in Symbol 113 MovieClip Frame 1
on (press) {
if (_parent._parent.isClickbosi() == false) {
return(undefined);
}
_parent.hp--;
_root.shootP();
if (_parent.hp == 0) {
_parent._visible = false;
_parent._parent.kami.gotoAndStop(2);
_parent._parent.dispatch();
_root.bonusP(30);
if (_root.time <= 150) {
_root.spP();
}
_root.nugicnt++;
_parent._parent.kao.kaokage._visible = false;
}
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 8
gotoAndPlay (2);
Instance of Symbol 120 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
hp = 5;
}
on (press) {
hp--;
if (hp > 0) {
_root.shootP();
}
if (hp == 0) {
_root.bonusP(100);
}
}
Symbol 129 MovieClip Frame 1
function dispatch() {
if (seta._visible == false) {
if (bousi._visible == false) {
ude.gotoAndStop(4);
hand.gotoAndPlay(2);
} else {
ude.gotoAndStop(1);
}
} else if (bousi._visible == false) {
ude.gotoAndStop(3);
hand.gotoAndPlay(2);
} else {
ude.gotoAndStop(2);
}
}
function isClickSeta1() {
if (_root.view == 2) {
return(true);
}
return(false);
}
function isClickSeta2() {
if (_root.view == 3) {
return(true);
}
return(false);
}
function isClickbosi() {
if (_root.view == 1) {
return(true);
}
return(false);
}
function isClickUwagi() {
if ((_root.view == 3) && (seta._visible == false)) {
return(true);
}
return(false);
}
function isClickGpan() {
if ((_root.view == 4) && (seta._visible == false)) {
return(true);
}
return(false);
}
Instance of Symbol 5 MovieClip in Symbol 129 MovieClip Frame 1
on (press) {
if (clkf == false) {
clkf = true;
_root.spP();
}
}
onClipEvent (load) {
clkf = false;
}
Instance of Symbol 22 MovieClip "ude" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 25 MovieClip "kahansin" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 49 MovieClip "uwagi2" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 81 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
cf = false;
}
on (press) {
_root.bonusP(10);
if (cf == false) {
cf = true;
}
}
Instance of Symbol 113 MovieClip "bousi" in Symbol 129 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 121 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (keyDown) {
if (Key.getAscii() == 103) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
}
Instance of Symbol 122 MovieClip "dm" in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
}
Symbol 135 MovieClip Frame 40
this.removeMovieClip();
stop();
Symbol 137 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 139 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 141 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 143 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 145 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 147 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 149 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 151 MovieClip Frame 30
this.removeMovieClip();
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Instance of Symbol 159 MovieClip in Symbol 160 MovieClip Frame 2
on (press) {
_root.endproc();
trace("hihi");
_root.main.seta.removeMovieClip();
_root.main.seta._visible = true;
_root.main.seta.gotoAndPlay(1);
_root.main.bousi._visible = true;
_root.main.bousi.removeMovieClip();
_root.main.uwagi2._visible = false;
_root.main.Gpan._visible = true;
_root.main.Gpan.gotoAndPlay(1);
_root.main.faces.gotoAndPlay(1);
_root.main.kao.gotoAndStop(1);
_root.main.kahansin.gotoAndStop(2);
_root.main.hand.gotoAndStop(1);
_root.main.dispatch();
_root.score = 0;
_root.time = 0;
_root.gotoAndPlay(2);
_root.view = 1;
_root.nugicnt = 0;
_root.endflag = false;
_parent.gotoAndPlay(1);
}
Symbol 165 MovieClip Frame 30
stop();
Instance of Symbol 169 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (14);
}
Instance of Symbol 169 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (12);
}
Symbol 171 MovieClip Frame 30
stop();
Symbol 172 MovieClip Frame 1
if (_parent.main.seta._currentframe != 1) {
this._visible = false;
}
Symbol 175 MovieClip Frame 1
if ((_parent.main.seta._visible == false) || (_parent.main.seta._currentframe == 1)) {
_visible = false;
}
Symbol 176 MovieClip Frame 1
if (_parent.main.uwagi2._visible == false) {
_visible = false;
}
Symbol 177 MovieClip Frame 1
if ((_parent.main.seta._visible == true) || (_parent.main.Gpan._currentframe != 1)) {
_visible = false;
}
Symbol 178 MovieClip Frame 1
if ((_parent.main.Gpan._currentframe != 2) || (_parent.main.Gpan._visible == false)) {
_visible = false;
}
Symbol 180 MovieClip Frame 1
if (_parent.main.bousi._visible == false) {
_visible = false;
}