Frame 8
shinkoflg = 1;
nDepth = 0;
keyflg = false;
ido = 5;
kabehit = 0;
dekoflg = 0;
life = 200;
j = 1000;
ddd = 0;
bounus = 0;
savedata = SharedObject.getLocal("pandamsave");
if (savedata.data.cleaflg != null) {
cleaflg = savedata.data.cleaflg;
} else {
cleaflg = 0;
}
Instance of Symbol 56 MovieClip "zako" in Frame 8
onClipEvent (load) {
this._x = de;
stop();
spd = 3;
rot = 0;
gravity = 10;
tyakuchi = 0;
jump = false;
boost = true;
ido = 0;
kahen = 5;
hendo = 0;
idoflg = 0;
kabeatari = 0;
timer = 0;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (active == true) {
if (Key.isDown(65) && (_root.dekoflg == 2)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if ((_root.yuka._x > -2830) && (_root.dekoflg == 1)) {
this._x = this._x - _root.ido;
}
}
if (_root.yuka.jimen.hitTest(_x + 35, _y + 26, true) || (_root.yuka.jimen.hitTest(_x + 35, _y, true))) {
this._x = this._x - 8;
ido = 0;
} else if (_root.yuka.jimen.hitTest(_x - 35, _y + 26, true) || (_root.yuka.jimen.hitTest(_x - 35, _y, true))) {
this._x = this._x + 8;
ido = 0;
}
if (((_root.pandam._x < this._x) && (!_root.yuka.jimen.hitTest(_x - 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = 100;
ido = 5;
} else if (((_root.pandam._x > this._x) && (!_root.yuka.jimen.hitTest(_x + 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = -100;
ido = 5;
}
if (Math.abs(_root.pandam._x - this._x) < 900) {
if (idoflg == 0) {
gotoAndPlay ("flgA");
idoflg = 1;
}
} else {
gotoAndStop (1);
idoflg = 0;
}
rot = Math.atan2(_root.pandam._y - this._y, _root.pandam._x - this._x);
jouge = (rot * 180) / Math.PI;
if (jump == true) {
if (this._y > 50) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (this._y >= 550) {
this.removeMovieClip();
}
}
}
Instance of Symbol 58 MovieClip in Frame 8
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 15
yuka.jimen.gotoAndStop(1);
yuka.ten.gotoAndStop(1);
city.gotoAndStop(1);
yuka.hantei.gotoAndStop(1);
if (cleaflg == 1) {
bounus = 1;
} else if ((cleaflg > 1) && (cleaflg <= 4)) {
bounus = 2;
} else if (cleaflg == 5) {
bounus = 3;
}
Instance of Symbol 65 MovieClip "pandam" in Frame 31
onClipEvent (load) {
ugoki = 5;
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + ugoki;
if (this._x > 540) {
ugoki = -5;
} else if (this._x < 100) {
ugoki = 5;
}
}
Instance of Symbol 68 MovieClip "e1bullet" in Frame 31
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 2;
_root.lifeber._xscale = _root.lifeber._xscale - 2;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Frame 33
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:40, de:100, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:40, de:540, life:32});
Frame 44
stop();
Frame 52
stop();
Frame 54
zako1 = falese;
shinkoflg = 1;
nDepth = 0;
keyflg = false;
ido = 5;
kabehit = 0;
dekoflg = 0;
j = 1000;
yuka.jimen.gotoAndStop(1);
yuka.ten.gotoAndStop(1);
city.gotoAndStop(1);
stegenum = 1;
pandam.life = 100;
yuka._x = -250;
yuka._x = -206;
yuka.hantei.gotoAndStop(1);
Instance of Symbol 152 MovieClip "pandam" in Frame 54
onClipEvent (load) {
stop();
life = 100;
active = true;
_root.rot = 0;
spd = 3;
gravity = 10;
tyakuchi = 0;
select = 1;
jump = false;
wolkx = true;
boost = true;
wepon = 1;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (this.active == true) {
_root.yukaichi = _root.yuka._x;
mukiX = _root._xmouse - _x;
if (mukiX > 0) {
this._xscale = 100;
wolkx = true;
} else {
this._xscale = -100;
wolkx = false;
}
_root.rot = Math.atan2(_root._ymouse - _y, _root._xmouse - _x);
jouge = (_root.rot * 180) / Math.PI;
if ((Key.isDown(68) && (!_root.yuka.jimen.hitTest(_x + 32, _y + 28, true))) && (_root.yuka._x > -2830)) {
_root.dekoflg = 1;
if (jump == false) {
if (wolkx == false) {
gotoAndStop ("back");
} else {
gotoAndStop ("walk");
}
} else if (jump == true) {
gotoAndStop (1);
}
_root.yuka._x = _root.yuka._x - _root.ido;
_root.city._x = _root.city._x - (_root.ido / 2);
} else if ((Key.isDown(65) && (!_root.yuka.jimen.hitTest(_x - 32, _y + 28, true))) && (_root.yuka._x < 230)) {
_root.dekoflg = 2;
if (jump == false) {
if (wolkx == true) {
gotoAndStop ("back");
} else {
gotoAndStop ("walk");
}
} else if (jump == true) {
gotoAndStop (1);
}
_root.yuka._x = _root.yuka._x + _root.ido;
_root.city._x = _root.city._x + (_root.ido / 2);
} else {
_root.dekoflg = 0;
gotoAndStop (1);
}
if (Key.isDown(87) && (jump == false)) {
gotoAndPlay ("jump");
gravity = gravity - 18;
jump = true;
}
if (jump == true) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (Key.isDown(83) && (jump == false)) {
if (Key.isDown(68) || (Key.isDown(65))) {
boostmc.play();
if (_root.boostpower._xscale > 4) {
boost = true;
_root.ido = 10;
_root.boostpower._xscale = _root.boostpower._xscale - 3;
} else if ((_root.boostpower._xscale = 0)) {
_root.boostflag = false;
boost = false;
}
}
} else if (Key.isDown(83) && (jump == true)) {
boostmc.play();
if (_root.boostpower._xscale > 4) {
boostss.play();
boost = true;
gravity = 0;
_root.ido = 10;
if (this._y > 50) {
this._y = this._y - 8;
}
_root.boostpower._xscale = _root.boostpower._xscale - 3;
} else if ((_root.boostpower._xscale = 0)) {
_root.boostflag = false;
boost = false;
}
} else {
boostss.gotoAndStop(1);
}
if (boost == true) {
_root.ido = 10;
} else if (boost == false) {
_root.ido = 5;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
boost = false;
_root.boostflag = true;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
boost = false;
_root.boostflag = true;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
boostmc.gotoAndStop(1);
}
if (_root.yuka.ten.hitTest(_x + 30, _y - 30, true) || (_root.yuka.ten.hitTest(_x - 30, _y - 30, true))) {
this._y = this._y + 10;
if (Key.isDown(68)) {
_root.yuka._x = _root.yuka._x + 10;
_root.city._x = _root.city._x + 5;
} else if (Key.isDown(65)) {
_root.yuka._x = _root.yuka._x - 10;
_root.city._x = _root.city._x - 5;
}
}
}
}
onClipEvent (mouseUp) {
if (select == 1) {
hed.guns.gotoAndStop("mg");
} else if (select == 2) {
hed.guns.gotoAndStop("baz");
} else if (select == 3) {
hed.guns.gotoAndStop("rifle");
} else if (select == 5) {
hed.guns.gotoAndStop("smg");
} else if (select == 4) {
hed.guns.gotoAndStop("srifle");
}
_root.gunheatflg == false;
hed.guns.kaisu = 0;
}
onClipEvent (mouseDown) {
if (select == 1) {
hed.guns.gotoAndPlay("shot1");
} else if (select == 2) {
hed.guns.gotoAndPlay("shot2");
} else if (select == 3) {
hed.guns.gotoAndPlay("shot3");
} else if (select == 5) {
hed.guns.gotoAndPlay("smg");
} else if (select == 4) {
hed.guns.gotoAndPlay("srifle");
}
}
onClipEvent (keyDown) {
if (Key.isDown(49)) {
if (wepon <= 1) {
hed.guns.gotoAndStop("mg");
select = 1;
}
}
if (_root.bounus == 1) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
} else if (_root.bounus == 2) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
if (Key.isDown(51)) {
if (wepon <= 3) {
hed.guns.gotoAndStop("rifle");
select = 3;
}
}
} else if (_root.bounus == 3) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
if (Key.isDown(51)) {
if (wepon <= 3) {
hed.guns.gotoAndStop("rifle");
select = 3;
}
}
if (Key.isDown(52)) {
if (wepon <= 4) {
hed.guns.gotoAndStop("srifle");
select = 4;
}
}
if (Key.isDown(53)) {
if (wepon <= 5) {
hed.guns.gotoAndStop("smg");
select = 5;
}
}
}
}
Instance of Symbol 153 MovieClip "bullet" in Frame 54
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 3;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 3;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 3;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 3;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 3;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 3;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 56 MovieClip "zako" in Frame 54
onClipEvent (load) {
this._x = de;
stop();
spd = 3;
rot = 0;
gravity = 10;
tyakuchi = 0;
jump = false;
boost = true;
ido = 0;
kahen = 5;
hendo = 0;
idoflg = 0;
kabeatari = 0;
timer = 0;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (active == true) {
if (Key.isDown(65) && (_root.dekoflg == 2)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if ((_root.yuka._x > -2830) && (_root.dekoflg == 1)) {
this._x = this._x - _root.ido;
}
}
if (_root.yuka.jimen.hitTest(_x + 35, _y + 26, true) || (_root.yuka.jimen.hitTest(_x + 35, _y, true))) {
this._x = this._x - 8;
ido = 0;
} else if (_root.yuka.jimen.hitTest(_x - 35, _y + 26, true) || (_root.yuka.jimen.hitTest(_x - 35, _y, true))) {
this._x = this._x + 8;
ido = 0;
}
if (((_root.pandam._x < this._x) && (!_root.yuka.jimen.hitTest(_x - 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = 100;
ido = 5;
} else if (((_root.pandam._x > this._x) && (!_root.yuka.jimen.hitTest(_x + 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = -100;
ido = 5;
}
if (Math.abs(_root.pandam._x - this._x) < 1000) {
if (idoflg == 0) {
gotoAndPlay ("flgA");
idoflg = 1;
}
} else {
gotoAndStop (1);
idoflg = 0;
}
rot = Math.atan2(_root.pandam._y - this._y, _root.pandam._x - this._x);
jouge = (rot * 180) / Math.PI;
if (jump == true) {
if (this._y > 50) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
}
if (this._y <= 50) {
gravity = 10;
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (this._y >= 550) {
this.removeMovieClip();
}
}
}
Instance of Symbol 68 MovieClip "e1bullet" in Frame 54
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 2;
_root.lifeber._xscale = _root.lifeber._xscale - 2;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 156 MovieClip "bbullet" in Frame 54
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 11;
this.gotoAndPlay(2);
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (_root.yuka.ten.hitTest(_x, _y, true))) {
this.gotoAndPlay(2);
}
if (timer > 20) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 158 MovieClip "lbullet" in Frame 54
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 8;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 159 MovieClip "e1bbullet" in Frame 54
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 10;
_root.lifeber._xscale = _root.lifeber._xscale - 10;
this.gotoAndPlay(2);
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (_root.yuka.ten.hitTest(_x, _y, true))) {
this.gotoAndPlay(2);
}
if (timer > 20) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 160 MovieClip "e1lbullet" in Frame 54
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 8;
_root.lifeber._xscale = _root.lifeber._xscale - 8;
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 153 MovieClip "sbullet" in Frame 54
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 12;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 158 MovieClip "slbullet" in Frame 54
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 18;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 162 MovieClip "boostpower" in Frame 54
onClipEvent (enterFrame) {
if (_root.boostflag == false) {
this._xscale = 0;
} else if (_root.boostflag == true) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1.5;
}
}
}
Instance of Symbol 164 MovieClip "gunheat" in Frame 54
onClipEvent (enterFrame) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1.2;
}
}
Frame 73
count = 0;
stop();
Frame 82
nDepth = 0;
keyflg = false;
ido = 5;
kabehit = 0;
dekoflg = 0;
j = 1000;
yuka.jimen.gotoAndStop(2);
yuka.ten.gotoAndStop(2);
city.gotoAndStop(2);
stegenum = 2;
yuka._x = 0;
city._x = -205;
pandam.life = 100;
pandam.active = true;
yuka.hantei.gotoAndStop(1);
yuka.jimen.door.gotoAndStop(1);
Frame 101
count = 0;
stop();
Instance of Symbol 171 MovieClip in Frame 101
onClipEvent (load) {
function numde() {
if ((_root.yukaichi < -800) && (_root.yukaichi > -2100)) {
num = Math.floor((Math.random() * 2) + 1);
if (num == 1) {
_root.en_sign.gotoAndPlay("right");
dde1 = 750;
dde2 = 780;
dde3 = 810;
dde4 = 840;
} else {
_root.en_sign.gotoAndPlay("left");
dde1 = -110;
dde2 = -140;
dde3 = -170;
dde4 = -200;
}
} else if (_root.yukaichi > -800) {
_root.en_sign.gotoAndPlay("right");
dde1 = 1050;
dde2 = 1080;
dde3 = 1110;
dde4 = 1140;
} else if (_root.yukaichi < -2100) {
_root.en_sign.gotoAndPlay("left");
dde1 = -410;
dde2 = -440;
dde3 = -470;
dde4 = -500;
}
}
function lv1() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:dde3, life:32});
}
function lv2() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:dde3, life:32});
}
function lv3() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde3, life:32});
}
function lv4() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
}
function lv5() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde4, life:32});
}
function lv6() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:3, sokudo:20, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde4, life:32});
}
dde = 1;
num = 1;
stflg = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if ((_root.count == 0) && (_root.nDepth == 0)) {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:1050, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:40, de:1080, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:40, de:1110, life:32});
}
if (stflg == 0) {
if ((_root.count == 3) && (_root.nDepth <= 4)) {
timer++;
if (timer == 45) {
numde();
lv1();
timer = 0;
}
}
if ((_root.count == 6) && (_root.nDepth <= 7)) {
timer++;
if (timer == 45) {
numde();
lv1();
timer = 0;
}
}
if ((_root.count == 9) && (_root.nDepth <= 10)) {
timer++;
if (timer == 45) {
numde();
lv1();
timer = 0;
}
}
if ((_root.count == 12) && (_root.nDepth <= 13)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 15) && (_root.nDepth <= 16)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 18) && (_root.nDepth <= 19)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 21) && (_root.nDepth <= 22)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 24) && (_root.nDepth <= 25)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 27) && (_root.nDepth <= 28)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 30) && (_root.nDepth <= 31)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 33) && (_root.nDepth <= 34)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 36) && (_root.nDepth <= 37)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 39) && (_root.nDepth <= 40)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 43) && (_root.nDepth <= 44)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
stflg = 1;
}
}
if (_root.count == 43) {
_root.en_sign.gotoAndPlay("endstage");
_root.yuka.jimen.door.gotoAndPlay(3);
_root.count = 0;
}
}
Frame 109
nDepth = 0;
keyflg = false;
ido = 5;
kabehit = 0;
dekoflg = 0;
j = 1000;
yuka.jimen.gotoAndStop(3);
yuka.ten.gotoAndStop(3);
city.gotoAndStop(3);
stegenum = 3;
yuka._x = 0;
city._x = -205;
pandam.life = 100;
pandam.active = true;
yuka.hantei.gotoAndStop(1);
yuka.jimen.door.gotoAndStop(1);
Instance of Symbol 152 MovieClip "pandam" in Frame 109
onClipEvent (load) {
stop();
life = 100;
active = true;
_root.rot = 0;
spd = 3;
gravity = 10;
tyakuchi = 0;
select = 1;
jump = false;
wolkx = true;
boost = true;
wepon = 1;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (this.active == true) {
_root.yukaichi = _root.yuka._x;
mukiX = _root._xmouse - _x;
if (mukiX > 0) {
this._xscale = 100;
wolkx = true;
} else {
this._xscale = -100;
wolkx = false;
}
_root.rot = Math.atan2(_root._ymouse - _y, _root._xmouse - _x);
jouge = (_root.rot * 180) / Math.PI;
if ((Key.isDown(68) && (!_root.yuka.jimen.hitTest(_x + 32, _y + 28, true))) && (_root.yuka._x > -2830)) {
_root.dekoflg = 1;
if (jump == false) {
if (wolkx == false) {
gotoAndStop ("back");
} else {
gotoAndStop ("walk");
}
} else if (jump == true) {
gotoAndStop (1);
}
_root.yuka._x = _root.yuka._x - _root.ido;
_root.city._x = _root.city._x - (_root.ido / 2);
} else if ((Key.isDown(65) && (!_root.yuka.jimen.hitTest(_x - 32, _y + 28, true))) && (_root.yuka._x < 230)) {
_root.dekoflg = 2;
if (jump == false) {
if (wolkx == true) {
gotoAndStop ("back");
} else {
gotoAndStop ("walk");
}
} else if (jump == true) {
gotoAndStop (1);
}
_root.yuka._x = _root.yuka._x + _root.ido;
_root.city._x = _root.city._x + (_root.ido / 2);
} else {
_root.dekoflg = 0;
gotoAndStop (1);
}
if (Key.isDown(87) && (jump == false)) {
gotoAndPlay ("jump");
gravity = gravity - 18;
jump = true;
}
if (jump == true) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (Key.isDown(83) && (jump == false)) {
if (Key.isDown(68) || (Key.isDown(65))) {
boostmc.play();
if (_root.boostpower._xscale > 4) {
boost = true;
_root.ido = 10;
_root.boostpower._xscale = _root.boostpower._xscale - 3;
} else if ((_root.boostpower._xscale = 0)) {
_root.boostflag = false;
boost = false;
}
}
} else if (Key.isDown(83) && (jump == true)) {
boostmc.play();
if (_root.boostpower._xscale > 4) {
boost = true;
gravity = 0;
_root.ido = 10;
if (this._y > 50) {
this._y = this._y - 8;
}
_root.boostpower._xscale = _root.boostpower._xscale - 3;
} else if ((_root.boostpower._xscale = 0)) {
_root.boostflag = false;
boost = false;
}
}
if (boost == true) {
_root.ido = 10;
} else if (boost == false) {
_root.ido = 5;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
boost = false;
_root.boostflag = true;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
boost = false;
_root.boostflag = true;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
boostmc.gotoAndStop(1);
}
if (_root.yuka.ten.hitTest(_x + 30, _y - 30, true) || (_root.yuka.ten.hitTest(_x - 30, _y - 30, true))) {
this._y = this._y + 10;
if (Key.isDown(68)) {
_root.yuka._x = _root.yuka._x + 10;
_root.city._x = _root.city._x + 5;
} else if (Key.isDown(65)) {
_root.yuka._x = _root.yuka._x - 10;
_root.city._x = _root.city._x - 5;
}
}
}
}
onClipEvent (mouseUp) {
if (select == 1) {
hed.guns.gotoAndStop("mg");
} else if (select == 2) {
hed.guns.gotoAndStop("baz");
} else if (select == 3) {
hed.guns.gotoAndStop("rifle");
} else if (select == 5) {
hed.guns.gotoAndStop("smg");
} else if (select == 4) {
hed.guns.gotoAndStop("srifle");
}
_root.gunheatflg == false;
hed.guns.kaisu = 0;
}
onClipEvent (mouseDown) {
if (select == 1) {
hed.guns.gotoAndPlay("shot1");
} else if (select == 2) {
hed.guns.gotoAndPlay("shot2");
} else if (select == 3) {
hed.guns.gotoAndPlay("shot3");
} else if (select == 5) {
hed.guns.gotoAndPlay("smg");
} else if (select == 4) {
hed.guns.gotoAndPlay("srifle");
}
}
onClipEvent (keyDown) {
if (Key.isDown(49)) {
if (wepon <= 1) {
hed.guns.gotoAndStop("mg");
select = 1;
}
}
if (_root.bounus == 1) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
} else if (_root.bounus == 2) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
if (Key.isDown(51)) {
if (wepon <= 3) {
hed.guns.gotoAndStop("rifle");
select = 3;
}
}
} else if (_root.bounus == 3) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
if (Key.isDown(51)) {
if (wepon <= 3) {
hed.guns.gotoAndStop("rifle");
select = 3;
}
}
if (Key.isDown(52)) {
if (wepon <= 4) {
hed.guns.gotoAndStop("srifle");
select = 4;
}
}
if (Key.isDown(53)) {
if (wepon <= 5) {
hed.guns.gotoAndStop("smg");
select = 5;
}
}
}
}
Instance of Symbol 56 MovieClip "zako" in Frame 109
onClipEvent (load) {
this._x = de;
stop();
spd = 3;
rot = 0;
gravity = 10;
tyakuchi = 0;
jump = false;
boost = true;
ido = 0;
kahen = 5;
hendo = 0;
idoflg = 0;
kabeatari = 0;
timer = 0;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (active == true) {
if (Key.isDown(65) && (_root.dekoflg == 2)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if ((_root.yuka._x > -2830) && (_root.dekoflg == 1)) {
this._x = this._x - _root.ido;
}
}
if (_root.yuka.jimen.hitTest(_x + 35, _y + 26, true) || (_root.yuka.jimen.hitTest(_x + 35, _y, true))) {
this._x = this._x - 8;
ido = 0;
} else if (_root.yuka.jimen.hitTest(_x - 35, _y + 26, true) || (_root.yuka.jimen.hitTest(_x - 35, _y, true))) {
this._x = this._x + 8;
ido = 0;
}
if (((_root.pandam._x < this._x) && (!_root.yuka.jimen.hitTest(_x - 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = 100;
ido = 5;
} else if (((_root.pandam._x > this._x) && (!_root.yuka.jimen.hitTest(_x + 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = -100;
ido = 5;
}
if (Math.abs(_root.pandam._x - this._x) < 900) {
if (idoflg == 0) {
gotoAndPlay ("flgA");
idoflg = 1;
}
} else {
gotoAndStop (1);
idoflg = 0;
}
rot = Math.atan2(_root.pandam._y - this._y, _root.pandam._x - this._x);
jouge = (rot * 180) / Math.PI;
if (jump == true) {
if (this._y > 50) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (this._y >= 550) {
this.removeMovieClip();
}
}
}
Instance of Symbol 156 MovieClip "bbullet" in Frame 109
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 11;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 11;
this.gotoAndPlay(2);
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (_root.yuka.ten.hitTest(_x, _y, true))) {
this.gotoAndPlay(2);
}
if (timer > 20) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 158 MovieClip "lbullet" in Frame 109
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 8;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 8;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 153 MovieClip "sbullet" in Frame 109
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 12;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 12;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 158 MovieClip "slbullet" in Frame 109
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 18;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 18;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 68 MovieClip "e1bullet" in Frame 109
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 1;
_root.lifeber._xscale = _root.lifeber._xscale - 1;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 159 MovieClip "e1bbullet" in Frame 109
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 5;
_root.lifeber._xscale = _root.lifeber._xscale - 5;
this.gotoAndPlay(2);
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (_root.yuka.ten.hitTest(_x, _y, true))) {
this.gotoAndPlay(2);
}
if (timer > 20) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 160 MovieClip "e1lbullet" in Frame 109
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 4;
_root.lifeber._xscale = _root.lifeber._xscale - 4;
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Frame 128
count = 0;
stop();
Instance of Symbol 171 MovieClip in Frame 128
onClipEvent (load) {
function numde() {
if ((_root.yukaichi < -800) && (_root.yukaichi > -2100)) {
num = Math.floor((Math.random() * 2) + 1);
if (num == 1) {
_root.en_sign.gotoAndPlay("right");
dde1 = 750;
dde2 = 780;
dde3 = 810;
dde4 = 840;
} else {
_root.en_sign.gotoAndPlay("left");
dde1 = -110;
dde2 = -140;
dde3 = -170;
dde4 = -200;
}
} else if (_root.yukaichi > -800) {
_root.en_sign.gotoAndPlay("right");
dde1 = 1050;
dde2 = 1080;
dde3 = 1110;
dde4 = 1140;
} else if (_root.yukaichi < -2100) {
_root.en_sign.gotoAndPlay("left");
dde1 = -410;
dde2 = -440;
dde3 = -470;
dde4 = -500;
}
}
function lv1() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:40, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:dde4, life:32});
}
function lv2() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:dde4, life:32});
}
function lv3() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:dde4, life:32});
}
function lv4() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:dde4, life:32});
}
function lv5() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:1, wepon:3, sokudo:35, de:dde4, life:32});
}
function lv6() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:30, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:3, sokudo:30, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde4, life:32});
}
dde = 1;
num = 1;
stflg = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if ((_root.count == 0) && (_root.nDepth == 0)) {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:1050, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:40, de:1080, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:1110, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:40, de:1140, life:32});
}
if (stflg == 0) {
if ((_root.count == 4) && (_root.nDepth <= 5)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 8) && (_root.nDepth <= 9)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 12) && (_root.nDepth <= 13)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 16) && (_root.nDepth <= 17)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 20) && (_root.nDepth <= 21)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 24) && (_root.nDepth <= 25)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 28) && (_root.nDepth <= 29)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 32) && (_root.nDepth <= 33)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 36) && (_root.nDepth <= 37)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 40) && (_root.nDepth <= 41)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 44) && (_root.nDepth <= 45)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 48) && (_root.nDepth <= 49)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
}
}
if (_root.count == 48) {
_root.en_sign.gotoAndPlay("endstage");
_root.yuka.jimen.door.gotoAndPlay(3);
_root.count = 0;
}
}
Frame 136
nDepth = 0;
keyflg = false;
ido = 5;
kabehit = 0;
dekoflg = 0;
j = 1000;
yuka.jimen.gotoAndStop(4);
yuka.ten.gotoAndStop(4);
city.gotoAndStop(4);
stegenum = 4;
yuka._x = 0;
city._x = -205;
pandam.life = 100;
pandam.active = true;
yuka.hantei.gotoAndStop(1);
yuka.jimen.door.gotoAndStop(1);
Instance of Symbol 152 MovieClip "pandam" in Frame 136
onClipEvent (load) {
stop();
life = 100;
active = true;
_root.rot = 0;
spd = 3;
gravity = 10;
tyakuchi = 0;
select = 1;
jump = false;
wolkx = true;
boost = true;
wepon = 1;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (this.active == true) {
_root.yukaichi = _root.yuka._x;
mukiX = _root._xmouse - _x;
if (mukiX > 0) {
this._xscale = 100;
wolkx = true;
} else {
this._xscale = -100;
wolkx = false;
}
_root.rot = Math.atan2(_root._ymouse - _y, _root._xmouse - _x);
jouge = (_root.rot * 180) / Math.PI;
if ((Key.isDown(68) && (!_root.yuka.jimen.hitTest(_x + 32, _y + 28, true))) && (_root.yuka._x > -2830)) {
_root.dekoflg = 1;
if (jump == false) {
if (wolkx == false) {
gotoAndStop ("back");
} else {
gotoAndStop ("walk");
}
} else if (jump == true) {
gotoAndStop (1);
}
_root.yuka._x = _root.yuka._x - _root.ido;
_root.city._x = _root.city._x - (_root.ido / 2);
} else if ((Key.isDown(65) && (!_root.yuka.jimen.hitTest(_x - 32, _y + 28, true))) && (_root.yuka._x < 230)) {
_root.dekoflg = 2;
if (jump == false) {
if (wolkx == true) {
gotoAndStop ("back");
} else {
gotoAndStop ("walk");
}
} else if (jump == true) {
gotoAndStop (1);
}
_root.yuka._x = _root.yuka._x + _root.ido;
_root.city._x = _root.city._x + (_root.ido / 2);
} else {
_root.dekoflg = 0;
gotoAndStop (1);
}
if (Key.isDown(87) && (jump == false)) {
gotoAndPlay ("jump");
gravity = gravity - 18;
jump = true;
}
if (jump == true) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
if (Key.isDown(83) && (jump == false)) {
if (Key.isDown(68) || (Key.isDown(65))) {
boostmc.play();
if (_root.boostpower._xscale > 4) {
boost = true;
_root.ido = 10;
_root.boostpower._xscale = _root.boostpower._xscale - 3;
} else if ((_root.boostpower._xscale = 0)) {
_root.boostflag = false;
boost = false;
}
}
} else if (Key.isDown(83) && (jump == true)) {
boostmc.play();
if (_root.boostpower._xscale > 4) {
boost = true;
gravity = 0;
_root.ido = 10;
if (this._y > 50) {
this._y = this._y - 8;
}
_root.boostpower._xscale = _root.boostpower._xscale - 3;
} else if ((_root.boostpower._xscale = 0)) {
_root.boostflag = false;
boost = false;
}
}
if (boost == true) {
_root.ido = 10;
} else if (boost == false) {
_root.ido = 5;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
boost = false;
_root.boostflag = true;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
boost = false;
_root.boostflag = true;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
boostmc.gotoAndStop(1);
}
if (_root.yuka.ten.hitTest(_x + 30, _y - 30, true) || (_root.yuka.ten.hitTest(_x - 30, _y - 30, true))) {
this._y = this._y + 10;
if (Key.isDown(68)) {
_root.yuka._x = _root.yuka._x + 10;
_root.city._x = _root.city._x + 5;
} else if (Key.isDown(65)) {
_root.yuka._x = _root.yuka._x - 10;
_root.city._x = _root.city._x - 5;
}
}
}
}
onClipEvent (mouseUp) {
if (select == 1) {
hed.guns.gotoAndStop("mg");
} else if (select == 2) {
hed.guns.gotoAndStop("baz");
} else if (select == 3) {
hed.guns.gotoAndStop("rifle");
} else if (select == 4) {
hed.guns.gotoAndStop("srifle");
} else if (select == 5) {
hed.guns.gotoAndStop("smg");
}
_root.gunheatflg == false;
hed.guns.kaisu = 0;
}
onClipEvent (mouseDown) {
if (select == 1) {
hed.guns.gotoAndPlay("shot1");
} else if (select == 2) {
hed.guns.gotoAndPlay("shot2");
} else if (select == 3) {
hed.guns.gotoAndPlay("shot3");
} else if (select == 4) {
hed.guns.gotoAndPlay("shot5");
} else if (select == 5) {
hed.guns.gotoAndPlay("smg");
}
}
onClipEvent (keyDown) {
if (Key.isDown(49)) {
if (wepon <= 1) {
hed.guns.gotoAndStop("mg");
select = 1;
}
}
if (_root.bounus == 1) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
} else if (_root.bounus == 2) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
if (Key.isDown(51)) {
if (wepon <= 3) {
hed.guns.gotoAndStop("rifle");
select = 3;
}
}
} else if (_root.bounus == 3) {
if (Key.isDown(50)) {
if (wepon <= 2) {
hed.guns.gotoAndStop("baz");
select = 2;
}
}
if (Key.isDown(51)) {
if (wepon <= 3) {
hed.guns.gotoAndStop("rifle");
select = 3;
}
}
if (Key.isDown(52)) {
if (wepon <= 4) {
hed.guns.gotoAndStop("srifle");
select = 4;
}
}
if (Key.isDown(53)) {
if (wepon <= 5) {
hed.guns.gotoAndStop("smg");
select = 5;
}
}
}
}
Instance of Symbol 153 MovieClip "bullet" in Frame 136
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 4;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 4;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 4;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 4;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 4;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 4;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 56 MovieClip "zako" in Frame 136
onClipEvent (load) {
this._x = de;
stop();
spd = 3;
rot = 0;
gravity = 10;
tyakuchi = 0;
jump = false;
boost = true;
ido = 0;
kahen = 5;
hendo = 0;
idoflg = 0;
kabeatari = 0;
timer = 0;
myColor = new Color(this);
}
onClipEvent (enterFrame) {
if (active == true) {
if (Key.isDown(65) && (_root.dekoflg == 2)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if ((_root.yuka._x > -2830) && (_root.dekoflg == 1)) {
this._x = this._x - _root.ido;
}
}
if (_root.yuka.jimen.hitTest(_x + 35, _y + 26, true)) {
this._x = this._x - 8;
ido = 0;
} else if (_root.yuka.jimen.hitTest(_x - 35, _y + 26, true)) {
this._x = this._x + 8;
ido = 0;
}
if (((_root.pandam._x < this._x) && (!_root.yuka.jimen.hitTest(_x - 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = 100;
ido = 5;
} else if (((_root.pandam._x > this._x) && (!_root.yuka.jimen.hitTest(_x + 38, _y + 26, true))) && ((!jump) == true)) {
this._xscale = -100;
ido = 5;
}
if (Math.abs(_root.pandam._x - this._x) < 900) {
if (idoflg == 0) {
gotoAndPlay ("flgA");
idoflg = 1;
}
} else {
gotoAndStop (1);
idoflg = 0;
}
rot = Math.atan2(_root.pandam._y - this._y, _root.pandam._x - this._x);
jouge = (rot * 180) / Math.PI;
if (jump == true) {
if (this._y > 50) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true) && (jump == true)) {
jump = false;
gravity = 0;
this._y = this._y + -10;
}
if (_root.yuka.jimen.hitTest(_x, _y + 30, true)) {
jump = false;
gravity = 0;
this._y = this._y + -1;
}
if ((!_root.yuka.jimen.hitTest(_x, _y + 29, true)) && (jump == false)) {
gravity = gravity + 1;
this._y = this._y + gravity;
}
}
}
Instance of Symbol 68 MovieClip "e1bullet" in Frame 136
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 1;
_root.lifeber._xscale = _root.lifeber._xscale - 1;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 20)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 156 MovieClip "bbullet" in Frame 136
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 14;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 14;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 14;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 14;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 14;
this.gotoAndPlay(2);
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 14;
this.gotoAndPlay(2);
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (_root.yuka.ten.hitTest(_x, _y, true))) {
this.gotoAndPlay(2);
}
if (timer > 20) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 158 MovieClip "lbullet" in Frame 136
onClipEvent (load) {
if (panxscale == 100) {
_rotation = pandamarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (pandamarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.zako2.hit)) {
speed = 0;
_root.zako2.myColor.setRGB(16777062);
_root.zako2.hit.gotoAndPlay(2);
_root.zako2.life = _root.zako2.life - 10;
this.removeMovieClip();
}
if (this.hitTest(_root.zako3.hit)) {
speed = 0;
_root.zako3.myColor.setRGB(16777062);
_root.zako3.hit.gotoAndPlay(2);
_root.zako3.life = _root.zako3.life - 10;
this.removeMovieClip();
}
if (this.hitTest(_root.zako4.hit)) {
speed = 0;
_root.zako4.myColor.setRGB(16777062);
_root.zako4.hit.gotoAndPlay(2);
_root.zako4.life = _root.zako4.life - 10;
this.removeMovieClip();
}
if (this.hitTest(_root.zako5.hit)) {
speed = 0;
_root.zako5.myColor.setRGB(16777062);
_root.zako5.hit.gotoAndPlay(2);
_root.zako5.life = _root.zako5.life - 10;
this.removeMovieClip();
}
if (this.hitTest(_root.zako6.hit)) {
speed = 0;
_root.zako6.myColor.setRGB(16777062);
_root.zako6.hit.gotoAndPlay(2);
_root.zako6.life = _root.zako6.life - 10;
this.removeMovieClip();
}
if (this.hitTest(_root.zako7.hit)) {
speed = 0;
_root.zako7.myColor.setRGB(16777062);
_root.zako7.hit.gotoAndPlay(2);
_root.zako7.life = _root.zako7.life - 10;
this.removeMovieClip();
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 159 MovieClip "e1bbullet" in Frame 136
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 5;
_root.lifeber._xscale = _root.lifeber._xscale - 5;
this.gotoAndPlay(2);
}
if (_root.yuka.jimen.hitTest(_x, _y, true) || (_root.yuka.ten.hitTest(_x, _y, true))) {
this.gotoAndPlay(2);
}
if (timer > 20) {
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Instance of Symbol 160 MovieClip "e1lbullet" in Frame 136
onClipEvent (load) {
if (zakoxscale == 100) {
_rotation = zakoarm;
speed = spd;
} else {
this._xscale = -100;
_rotation = (zakoarm * -1);
speed = -spd;
}
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
rot = this._rotation + 90;
this._x = this._x + (Math.sin((rot * Math.PI) / 180) * speed);
this._y = this._y - (Math.cos((rot * Math.PI) / 180) * speed);
if (_root.yuka.jimen.hitTest(_x, _y, true) || (timer > 10)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pandam.hit)) {
speed = 0;
_root.pandam.myColor.setRGB(16777062);
_root.pandam.hit.gotoAndPlay(2);
_root.pandam.life = _root.pandam.life - 4;
_root.lifeber._xscale = _root.lifeber._xscale - 4;
this.removeMovieClip();
}
if (Key.isDown(65)) {
if (_root.yuka._x < 230) {
this._x = this._x + _root.ido;
}
}
if (Key.isDown(68)) {
if (_root.yuka._x > -2830) {
this._x = this._x - _root.ido;
}
}
}
Frame 155
count = 0;
stop();
Instance of Symbol 171 MovieClip in Frame 155
onClipEvent (load) {
function numde() {
if ((_root.yukaichi < -800) && (_root.yukaichi > -2100)) {
num = Math.floor((Math.random() * 2) + 1);
if (num == 1) {
_root.en_sign.gotoAndPlay("right");
dde1 = 750;
dde2 = 780;
dde3 = 810;
dde4 = 840;
} else {
_root.en_sign.gotoAndPlay("left");
dde1 = -110;
dde2 = -140;
dde3 = -170;
dde4 = -200;
}
} else if (_root.yukaichi > -800) {
_root.en_sign.gotoAndPlay("right");
dde1 = 1050;
dde2 = 1080;
dde3 = 1110;
dde4 = 1140;
} else if (_root.yukaichi < -2100) {
_root.en_sign.gotoAndPlay("left");
dde1 = -410;
dde2 = -440;
dde3 = -470;
dde4 = -500;
}
}
function lv1() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde4, life:32});
}
function lv2() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:3, sokudo:35, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:dde4, life:32});
}
function lv3() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:30, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:3, sokudo:30, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde4, life:32});
}
function lv4() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde4, life:32});
}
function lv5() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:3, sokudo:20, de:dde4, life:50});
}
function lv6() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:3, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:4, wepon:3, sokudo:20, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde4, life:50});
}
dde = 1;
num = 1;
stflg = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if ((_root.count == 0) && (_root.nDepth == 0)) {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:1050, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:35, de:1080, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:1110, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:1140, life:32});
}
if (stflg == 0) {
if ((_root.count == 4) && (_root.nDepth <= 5)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 8) && (_root.nDepth <= 9)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 12) && (_root.nDepth <= 13)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 16) && (_root.nDepth <= 17)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 20) && (_root.nDepth <= 21)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 24) && (_root.nDepth <= 25)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 28) && (_root.nDepth <= 29)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 32) && (_root.nDepth <= 33)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 36) && (_root.nDepth <= 37)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 40) && (_root.nDepth <= 41)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 44) && (_root.nDepth <= 45)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 48) && (_root.nDepth <= 49)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 52) && (_root.nDepth <= 53)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 56) && (_root.nDepth <= 57)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
stflg = 1;
}
}
if (_root.count == 56) {
_root.en_sign.gotoAndPlay("endstage");
_root.yuka.jimen.door.gotoAndPlay(3);
_root.count = 0;
}
}
Frame 163
nDepth = 0;
keyflg = false;
ido = 5;
kabehit = 0;
dekoflg = 0;
j = 1000;
yuka.jimen.gotoAndStop(5);
yuka.ten.gotoAndStop(5);
city.gotoAndStop(5);
stegenum = 5;
pandam.life = 100;
yuka._x = 0;
city._x = -205;
pandam.active = true;
yuka.hantei.gotoAndStop(1);
yuka.jimen.door.gotoAndStop(1);
Frame 182
count = 0;
stop();
Instance of Symbol 171 MovieClip in Frame 182
onClipEvent (load) {
function numde() {
if ((_root.yukaichi < -800) && (_root.yukaichi > -2100)) {
num = Math.floor((Math.random() * 2) + 1);
if (num == 1) {
_root.en_sign.gotoAndPlay("right");
dde1 = 750;
dde2 = 780;
dde3 = 810;
dde4 = 840;
} else {
_root.en_sign.gotoAndPlay("left");
dde1 = -110;
dde2 = -140;
dde3 = -170;
dde4 = -200;
}
} else if (_root.yukaichi > -800) {
_root.en_sign.gotoAndPlay("right");
dde1 = 1050;
dde2 = 1080;
dde3 = 1110;
dde4 = 1140;
} else if (_root.yukaichi < -2100) {
_root.en_sign.gotoAndPlay("left");
dde1 = -410;
dde2 = -440;
dde3 = -470;
dde4 = -500;
}
}
function lv1() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:35, de:dde4, life:32});
}
function lv2() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:3, sokudo:35, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:dde4, life:32});
}
function lv3() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:30, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:3, sokudo:30, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde4, life:32});
}
function lv4() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:20, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:20, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:20, de:dde4, life:32});
}
function lv5() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:15, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:25, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:25, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:3, sokudo:20, de:dde4, life:50});
}
function lv6() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:4, wepon:2, sokudo:15, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:4, wepon:3, sokudo:15, de:dde2, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:25, de:dde3, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:25, de:dde4, life:50});
}
dde = 1;
num = 1;
stflg = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if ((_root.count == 0) && (_root.nDepth == 0)) {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:1050, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:2, sokudo:35, de:1080, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:35, de:1110, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:35, de:1140, life:32});
}
if (stflg == 0) {
if ((_root.count == 4) && (_root.nDepth <= 5)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 8) && (_root.nDepth <= 9)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 12) && (_root.nDepth <= 13)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 16) && (_root.nDepth <= 17)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 20) && (_root.nDepth <= 21)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 24) && (_root.nDepth <= 25)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 28) && (_root.nDepth <= 29)) {
timer++;
if (timer == 45) {
numde();
lv4();
timer = 0;
}
}
if ((_root.count == 32) && (_root.nDepth <= 33)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 36) && (_root.nDepth <= 37)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
if ((_root.count == 40) && (_root.nDepth <= 41)) {
timer++;
if (timer == 45) {
numde();
lv5();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 44) && (_root.nDepth <= 45)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
}
if ((_root.count == 48) && (_root.nDepth <= 49)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
}
if ((_root.count == 52) && (_root.nDepth <= 53)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
}
if ((_root.count == 56) && (_root.nDepth <= 57)) {
timer++;
if (timer == 45) {
numde();
lv6();
timer = 0;
}
stflg = 1;
}
}
if (_root.count == 56) {
_root.en_sign.gotoAndPlay("endstage");
_root.yuka.jimen.door.gotoAndPlay(3);
_root.count = 0;
}
}
Frame 362
stop();
Symbol 7 MovieClip Frame 1
this.onEnterFrame = function () {
total = _parent.getBytesTotal();
loaded = _parent.getBytesLoaded();
l_percent = Math.round((loaded / total) * 100);
l_bar._xscale = l_percent;
_parent.stop();
if (l_percent == 100) {
_parent.gotoAndPlay("saisho");
}
};
Symbol 13 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 1
if (_parent.active == true) {
gotoAndPlay (2);
} else {
stop();
}
Instance of Symbol 22 MovieClip "body" in Symbol 23 MovieClip Frame 1
onClipEvent (load) {
function heitype() {
if (sekkin <= 5) {
_parent._parent.gotoAndPlay("flgA2");
} else if (sekkin <= 11) {
_parent._parent.gotoAndStop("flgB");
} else if (sekkin == 12) {
_parent._parent.gotoAndPlay("flgC");
} else if (sekkin <= 13) {
_parent._parent.gotoAndPlay("flgD");
} else if (sekkin == 15) {
_parent._parent.gotoAndStop("flgE");
}
}
}
Symbol 23 MovieClip Frame 3
if (_parent.idotype == 1) {
gotoAndStop (1);
} else if (_parent.idotype == 2) {
gotoAndStop (4);
} else if (_parent.idotype == 3) {
gotoAndStop (5);
} else if (_parent.idotype == 4) {
gotoAndStop (6);
}
Instance of Symbol 22 MovieClip "body" in Symbol 23 MovieClip Frame 4
onClipEvent (load) {
function heitype() {
if (sekkin <= 3) {
_parent._parent.gotoAndPlay("flgA2");
} else if (sekkin <= 7) {
_parent._parent.gotoAndStop("flgB");
} else if (sekkin <= 10) {
_parent._parent.gotoAndPlay("flgC");
} else if (sekkin <= 12) {
_parent._parent.gotoAndPlay("flgD");
} else if (sekkin <= 14) {
_parent._parent.gotoAndStop("flgE");
} else if (sekkin <= 15) {
_parent._parent.gotoAndPlay("flgF");
}
}
}
Instance of Symbol 22 MovieClip "body" in Symbol 23 MovieClip Frame 5
onClipEvent (load) {
function heitype() {
if (sekkin <= 2) {
_parent._parent.gotoAndPlay("flgA2");
} else if (sekkin <= 6) {
_parent._parent.gotoAndStop("flgB");
} else if (sekkin <= 9) {
_parent._parent.gotoAndPlay("flgC");
} else if (sekkin <= 14) {
_parent._parent.gotoAndPlay("flgD");
} else if (sekkin <= 15) {
_parent._parent.gotoAndStop("flgE");
}
}
}
Instance of Symbol 22 MovieClip "body" in Symbol 23 MovieClip Frame 6
onClipEvent (load) {
function heitype() {
if (sekkin <= 4) {
_parent._parent.gotoAndStop("flgB");
} else if (sekkin <= 7) {
_parent._parent.gotoAndPlay("flgC");
} else if (sekkin <= 14) {
_parent._parent.gotoAndPlay("flgD");
} else if (sekkin <= 15) {
_parent._parent.gotoAndPlay("flgF");
}
}
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
_root.j++;
_root.e1bullet.duplicateMovieClip("e1bullet" + _root.j, _root.j, {zakoarm:_parent._rotation, zakoxscale:_parent._parent._xscale, _x:_parent.e1banX, _y:_parent.e1banY, spd:16});
_parent.timer = _parent.timer + 1;
kaisu++;
Symbol 35 MovieClip Frame 3
_parent._parent.jouge = _parent._parent.jouge - 3;
Symbol 35 MovieClip Frame 5
if (kaisu < 3) {
gotoAndPlay ("shot1");
} else {
_parent.wait = 0;
kaisu = 0;
gotoAndStop ("mg");
}
Symbol 35 MovieClip Frame 7
stop();
Symbol 35 MovieClip Frame 8
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
_root.j++;
_root.e1bbullet.duplicateMovieClip("e1bbullet" + _root.j, _root.j, {zakoarm:_parent._rotation, zakoxscale:_parent._parent._xscale, _x:_parent.e1banX, _y:_parent.e1banY, spd:16});
kaisu++;
Symbol 37 MovieClip Frame 3
_parent._parent.jouge = _parent._parent.jouge - 30;
Symbol 37 MovieClip Frame 15
if (kaisu < 1) {
gotoAndPlay ("shot2");
} else {
gotoAndStop ("baz");
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 2
_root.j++;
_root.e1lbullet.duplicateMovieClip("e1lbullet" + _root.j, _root.j, {zakoarm:_parent._rotation, zakoxscale:_parent._parent._xscale, _x:_parent.e1banX, _y:_parent.e1banY, spd:35});
kaisu++;
Symbol 39 MovieClip Frame 3
_parent._parent.jouge = _parent._parent.jouge - 20;
Symbol 39 MovieClip Frame 11
if (kaisu < 2) {
gotoAndPlay ("shot3");
} else {
gotoAndStop ("rifle");
}
Symbol 40 MovieClip Frame 1
if (_parent.active == true) {
gotoAndPlay (2);
} else {
stop();
}
Instance of Symbol 26 MovieClip "ichi" in Symbol 40 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 40 MovieClip Frame 3
if (_parent.wepon == 1) {
gotoAndStop (4);
} else if (_parent.wepon == 2) {
gotoAndStop (5);
} else if (_parent.wepon == 3) {
gotoAndStop (6);
}
Instance of Symbol 35 MovieClip "zakogun" in Symbol 40 MovieClip Frame 4
onClipEvent (load) {
kaisu = 0;
}
Instance of Symbol 37 MovieClip "zakogun" in Symbol 40 MovieClip Frame 5
onClipEvent (load) {
kaisu = 0;
}
Instance of Symbol 39 MovieClip "zakogun" in Symbol 40 MovieClip Frame 6
onClipEvent (load) {
kaisu = 0;
}
Symbol 42 MovieClip Frame 3
_parent.myColor.setTransform({ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0});
if (_parent.life <= 0) {
_parent.active = false;
_parent.gotoAndPlay("flgZ");
} else {
gotoAndStop (1);
}
Instance of Symbol 23 MovieClip "main" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
sekkin = 1;
}
Instance of Symbol 40 MovieClip "zakohed" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
wait = 0;
kaisu = 0;
}
onClipEvent (enterFrame) {
if (_parent.active == true) {
if (_parent._xscale == 100) {
if ((_parent.jouge > -120) && (_parent.jouge < 0)) {
_parent.jouge = -120;
}
if ((_parent.jouge < 140) && (_parent.jouge > 0)) {
_parent.jouge = 140;
}
_rotation = _parent.jouge;
} else {
if (_parent.jouge > 20) {
_parent.jouge = 20;
}
if (_parent.jouge < -40) {
_parent.jouge = -40;
}
_rotation = ((_parent.jouge * -1) - 180);
}
baban = new Object();
baban.x = ichi._x;
baban.y = ichi._y;
localToGlobal(baban);
e1banX = baban.x;
e1banY = baban.y;
if (Math.abs(_root.pandam._x - _parent._x) < 380) {
wait++;
if (wait == 10) {
if (_root.j >= 1050) {
_root.j = 1000;
}
fire = Math.floor((Math.random() * 10) + 1);
if (fire < 7) {
zakogun.gotoAndStop(1);
} else if (fire >= 7) {
zakogun.play();
}
} else if (wait > _parent.sokudo) {
wait = 0;
}
}
}
}
Instance of Symbol 42 MovieClip "hit2" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
stop();
this._visible = false;
}
Instance of Symbol 42 MovieClip "hit" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
stop();
this._visible = false;
}
Symbol 56 MovieClip Frame 2
main.body.sekkin = Math.floor((Math.random() * 15) + 1);
Symbol 56 MovieClip Frame 3
idoflg = 1;
if (this.hitTest(_root.pandam)) {
kaihi = Math.floor((Math.random() * 3) + 1);
if (kaihi <= 2) {
gotoAndStop ("flgE");
} else {
gotoAndPlay ("flgF");
}
} else {
main.body.heitype();
}
Symbol 56 MovieClip Frame 17
gotoAndPlay ("flgA");
Instance of Symbol 43 MovieClip in Symbol 56 MovieClip Frame 18
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.ido;
} else {
_parent._x = _parent._x + _parent.ido;
}
if (timer >= 20) {
_parent.gotoAndPlay("flgA");
timer = 0;
}
}
Symbol 56 MovieClip Frame 19
gravity = gravity - 18;
jump = true;
Symbol 56 MovieClip Frame 23
if (this.life <= 0) {
active = false;
this.gotoAndPlay("flgZ");
} else if (jump == true) {
gotoAndPlay ("flgC2");
}
Symbol 56 MovieClip Frame 24
gotoAndPlay ("flgA");
Symbol 56 MovieClip Frame 25
gravity = gravity - 18;
jump = true;
Instance of Symbol 47 MovieClip "boostmc" in Symbol 56 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_parent._xscale == 100) {
_parent._x = _parent._x - 8;
} else {
_parent._x = _parent._x + 8;
}
}
Symbol 56 MovieClip Frame 29
if (this.life <= 0) {
active = false;
this.gotoAndPlay("flgZ");
} else if (jump == true) {
gotoAndPlay ("flgD2");
}
Symbol 56 MovieClip Frame 30
gotoAndPlay ("flgA");
Symbol 56 MovieClip Frame 31
gravity = gravity - 18;
jump = true;
Instance of Symbol 47 MovieClip "boostmc" in Symbol 56 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_parent._xscale == 100) {
_parent._x = _parent._x + 8;
} else {
_parent._x = _parent._x - 8;
}
}
Symbol 56 MovieClip Frame 35
if (this.life <= 0) {
active = false;
this.gotoAndPlay("flgZ");
} else if (jump == true) {
gotoAndPlay ("flgF2");
}
Symbol 56 MovieClip Frame 36
gotoAndPlay ("flgA");
Instance of Symbol 48 MovieClip in Symbol 56 MovieClip Frame 37
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.ido;
} else {
_parent._x = _parent._x - _parent.ido;
}
if (_parent.kabeatari == 1) {
_parent.ido = 0;
_parent.gotoAndPlay("flgA");
timer = 0;
}
if (timer >= 15) {
_parent.gotoAndPlay("flgA");
timer = 0;
}
}
Symbol 56 MovieClip Frame 38
myColor.setTransform({ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0});
ido = 0;
Instance of Symbol 35 MovieClip "zakogun" in Symbol 56 MovieClip Frame 38
onClipEvent (enterFrame) {
if (_parent.wepon == 2) {
gotoAndStop ("baz");
} else if (_parent.wepon == 3) {
gotoAndStop ("rifle");
}
}
Instance of Symbol 26 MovieClip "ichi" in Symbol 56 MovieClip Frame 38
onClipEvent (load) {
this._visible = false;
}
Symbol 56 MovieClip Frame 45
_root.count = _root.count + 1;
this.removeMovieClip();
stop();
Symbol 74 Button
on (release) {
_parent.gotoAndPlay(13);
}
Symbol 78 MovieClip Frame 1
this.useHandCursor = false;
Symbol 91 Button
on (release) {
_root.savedata = SharedObject.getLocal("pandamsave");
_root.savedata.data.cleaflg = 0;
_root.savedata.flush();
_root.cleaflg = 0;
gotoAndPlay (2);
}
Symbol 92 Button
on (release) {
_parent.gotoAndPlay(36);
}
Symbol 95 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.pandam.removeMovieClip();
_root.gotoAndPlay("stage1");
}
Symbol 104 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.pandam.removeMovieClip();
_root.gotoAndPlay("stage2");
}
Symbol 105 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.pandam.removeMovieClip();
_root.gotoAndPlay("stage3");
}
Symbol 106 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.pandam.removeMovieClip();
_root.gotoAndPlay("stage4");
}
Symbol 107 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.pandam.removeMovieClip();
_root.gotoAndPlay("stage5");
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 6
stop();
Symbol 109 MovieClip Frame 1
stop();
Instance of Symbol 78 MovieClip in Symbol 109 MovieClip Frame 1
on (rollOver) {
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.cleaflg == 1) {
gotoAndStop (2);
} else if (_root.cleaflg == 2) {
gotoAndStop (3);
} else if (_root.cleaflg == 3) {
gotoAndStop (4);
} else if (_root.cleaflg >= 4) {
gotoAndStop (5);
}
}
Symbol 109 MovieClip Frame 3
gotoAndStop (1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 12
stop();
Symbol 110 MovieClip Frame 23
gotoAndStop (1);
Symbol 110 MovieClip Frame 35
stop();
Symbol 110 MovieClip Frame 46
gotoAndStop (1);
Symbol 113 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.pandam.removeMovieClip();
gotoAndPlay ("stage1");
}
Symbol 115 Button
on (release) {
howto.gotoAndPlay(2);
}
Symbol 117 Button
on (release) {
howto.gotoAndPlay(25);
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 20
stop();
Symbol 129 MovieClip Frame 1
stop();
Instance of Symbol 122 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 122 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 132 MovieClip Frame 1
stop();
Instance of Symbol 122 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 122 MovieClip "hantei" in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pandam)) {
_root.pandam.active = false;
_root.en_sign.gotoAndPlay("clear");
this.gotoAndStop(2);
}
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 28
gotoAndStop (1);
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
if (_root.gunheat._xscale > 8) {
_root.gunheat._xscale = _root.gunheat._xscale - 8;
} else {
gotoAndStop (1);
}
Symbol 144 MovieClip Frame 3
_root.i++;
_root.bullet.duplicateMovieClip("bullet" + _root.i, _root.i, {pandamarm:_parent._rotation, panxscale:_parent._parent._xscale, _x:_root.banX, _y:_root.banY, spd:16});
kaisu++;
_root.pandam.jouge = _root.pandam.jouge - 3;
if (_root.i >= 112) {
_root.i = 100;
}
Symbol 144 MovieClip Frame 5
if (_root.gunheat._xscale > 10) {
gotoAndPlay ("shot1");
} else {
gotoAndStop ("mg");
}
if (kaisu > 4) {
kaisu = 0;
gotoAndStop ("mg");
} else {
gotoAndPlay ("shot1");
}
Symbol 144 MovieClip Frame 7
stop();
Symbol 144 MovieClip Frame 8
if (_root.gunheat._xscale == 0) {
gotoAndStop ("baz");
}
if (_root.gunheat._xscale > 35) {
_root.gunheat._xscale = _root.gunheat._xscale - 35;
} else {
gotoAndStop ("baz");
}
Symbol 144 MovieClip Frame 9
_root.i++;
_root.bbullet.duplicateMovieClip("bullet" + _root.i, _root.i, {pandamarm:_parent._rotation - 2, panxscale:_parent._parent._xscale, _x:_root.banX, _y:_root.banY, spd:16});
if (_root.i >= 112) {
_root.i = 100;
}
Symbol 144 MovieClip Frame 10
_root.pandam.jouge = _root.pandam.jouge - 30;
Symbol 144 MovieClip Frame 25
if (_root.gunheat._xscale > 35) {
gotoAndPlay ("shot2");
} else {
gotoAndStop ("baz");
}
Symbol 144 MovieClip Frame 27
stop();
Symbol 144 MovieClip Frame 28
if (_root.gunheat._xscale > 25) {
_root.gunheat._xscale = _root.gunheat._xscale - 25;
} else {
gotoAndStop ("rifle");
}
Symbol 144 MovieClip Frame 29
_root.i++;
_root.lbullet.duplicateMovieClip("bullet" + _root.i, _root.i, {pandamarm:_parent._rotation, panxscale:_parent._parent._xscale, _x:_root.banX, _y:_root.banY, spd:35});
if (_root.i >= 112) {
_root.i = 100;
}
Symbol 144 MovieClip Frame 30
_root.pandam.jouge = _root.pandam.jouge - 20;
Symbol 144 MovieClip Frame 39
if (_root.gunheat._xscale > 25) {
gotoAndPlay ("shot3");
} else {
gotoAndStop ("rifle");
}
Symbol 144 MovieClip Frame 41
stop();
Symbol 144 MovieClip Frame 42
if (_root.gunheat._xscale > 4) {
_root.gunheat._xscale = _root.gunheat._xscale - 4;
} else {
gotoAndStop ("smg");
}
Symbol 144 MovieClip Frame 43
_root.i++;
_root.sbullet.duplicateMovieClip("bullet" + _root.i, _root.i, {pandamarm:_parent._rotation, panxscale:_parent._parent._xscale, _x:_root.banX, _y:_root.banY, spd:16});
kaisu++;
_root.pandam.jouge = _root.pandam.jouge - 3;
if (_root.i >= 112) {
_root.i = 100;
}
Symbol 144 MovieClip Frame 45
if (_root.gunheat._xscale > 10) {
gotoAndPlay ("shots");
} else {
gotoAndStop ("smg");
}
if (kaisu > 4) {
kaisu = 0;
gotoAndStop ("smg");
} else {
gotoAndPlay ("shots");
}
Symbol 144 MovieClip Frame 47
stop();
Symbol 144 MovieClip Frame 48
if (_root.gunheat._xscale > 12) {
_root.gunheat._xscale = _root.gunheat._xscale - 12;
} else {
gotoAndStop ("srifle");
}
Symbol 144 MovieClip Frame 49
_root.i++;
_root.slbullet.duplicateMovieClip("bullet" + _root.i, _root.i, {pandamarm:_parent._rotation, panxscale:_parent._parent._xscale, _x:_root.banX, _y:_root.banY, spd:35});
if (_root.i >= 112) {
_root.i = 100;
}
Symbol 144 MovieClip Frame 50
_root.pandam.jouge = _root.pandam.jouge - 20;
Symbol 144 MovieClip Frame 59
if (_root.gunheat._xscale > 12) {
gotoAndPlay ("shot5");
} else {
gotoAndStop ("srifle");
}
Instance of Symbol 144 MovieClip "guns" in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
_root.i = 100;
kaisu = 0;
}
Instance of Symbol 26 MovieClip "ichi" in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 146 MovieClip Frame 3
_parent.myColor.setTransform({ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0});
if (_parent.life <= 0) {
_parent.active = false;
_parent.gotoAndPlay("flgZ");
} else {
this.gotoAndStop(1);
}
Instance of Symbol 47 MovieClip "boostmc" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 145 MovieClip "hed" in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.active == true) {
if (_parent._xscale == 100) {
if (_parent.jouge > 40) {
_parent.jouge = 40;
}
if (_parent.jouge < -60) {
_parent.jouge = -60;
}
_rotation = _parent.jouge;
} else {
if ((_parent.jouge > -120) && (_parent.jouge < 0)) {
_parent.jouge = -120;
}
if ((_parent.jouge < 140) && (_parent.jouge > 0)) {
_parent.jouge = 140;
}
_rotation = ((_parent.jouge * -1) - 180);
}
baban = new Object();
baban.x = ichi._x;
baban.y = ichi._y;
localToGlobal(baban);
_root.banX = baban.x;
_root.banY = baban.y;
}
}
Instance of Symbol 146 MovieClip "hit" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
stop();
this._visible = false;
}
Instance of Symbol 148 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 152 MovieClip Frame 10
gotoAndStop (1);
Symbol 152 MovieClip Frame 16
myColor.setTransform({ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0});
Symbol 152 MovieClip Frame 23
_root.en_sign.gotoAndPlay("gameover");
this.removeMovieClip();
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 3
this.removeMovieClip();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 3
this.removeMovieClip();
Instance of Symbol 171 MovieClip in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
function numde() {
if ((_root.yukaichi < -800) && (_root.yukaichi > -2100)) {
num = Math.floor((Math.random() * 2) + 1);
if (num == 1) {
_root.en_sign.gotoAndPlay("right");
dde1 = 750;
dde2 = 780;
dde3 = 810;
dde4 = 840;
} else {
_root.en_sign.gotoAndPlay("left");
dde1 = -110;
dde2 = -140;
dde3 = -170;
dde4 = -200;
}
} else if (_root.yukaichi > -800) {
_root.en_sign.gotoAndPlay("right");
dde1 = 1050;
dde2 = 1080;
dde3 = 1110;
dde4 = 1140;
} else if (_root.yukaichi < -2100) {
_root.en_sign.gotoAndPlay("left");
dde1 = -410;
dde2 = -440;
dde3 = -470;
dde4 = -500;
}
}
function lv1() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:dde3, life:32});
}
function lv2() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:35, de:dde3, life:32});
}
function lv3() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:30, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:2, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde3, life:32});
}
function lv4() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:20, de:dde1, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
}
function lv5() {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:2, wepon:2, sokudo:20, de:dde1, life:50});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde2, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:4, wepon:1, sokudo:30, de:dde3, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako5", _root.nDepth, {active:true, idotype:3, wepon:1, sokudo:30, de:dde4, life:32});
}
dde = 1;
num = 1;
stflg = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if ((_root.count == 0) && (_root.nDepth == 0)) {
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako2", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:1050, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako3", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:1080, life:32});
_root.nDepth = _root.nDepth + 1;
_root.zako.duplicateMovieClip("zako4", _root.nDepth, {active:true, idotype:1, wepon:1, sokudo:40, de:1110, life:32});
}
if (stflg == 0) {
if ((_root.count == 3) && (_root.nDepth <= 4)) {
timer++;
if (timer == 45) {
numde();
lv1();
timer = 0;
}
}
if ((_root.count == 6) && (_root.nDepth <= 7)) {
timer++;
if (timer == 45) {
numde();
lv1();
timer = 0;
}
}
if ((_root.count == 9) && (_root.nDepth <= 10)) {
timer++;
if (timer == 45) {
numde();
lv1();
timer = 0;
}
}
if ((_root.count == 12) && (_root.nDepth <= 13)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
if ((_root.count == 15) && (_root.nDepth <= 16)) {
timer++;
if (timer == 45) {
numde();
lv2();
timer = 0;
}
}
}
if (stflg == 0) {
if ((_root.count == 18) && (_root.nDepth <= 19)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 21) && (_root.nDepth <= 22)) {
timer++;
if (timer == 45) {
numde();
lv3();
timer = 0;
}
}
if ((_root.count == 24) && (_root.nDepth <= 25)) {
timer++;
if (timer == 45) {
numde();
lv5();
stflg = 1;
timer = 0;
}
}
}
if (_root.count == 28) {
_root.en_sign.gotoAndPlay("endstage");
_root.yuka.jimen.door.gotoAndPlay(3);
_root.count = 0;
}
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
_root.bounus = 1;
Symbol 185 MovieClip Frame 3
_root.bounus = 2;
Symbol 185 MovieClip Frame 5
_root.bounus = 3;
Symbol 187 Button
on (release) {
_root.gotoAndPlay(hensu);
}
Symbol 191 Button
on (release) {
_root.zako2.removeMovieClip();
_root.zako3.removeMovieClip();
_root.zako4.removeMovieClip();
_root.zako5.removeMovieClip();
_root.zako6.removeMovieClip();
_root.zako7.removeMovieClip();
_root.gotoAndPlay("hajime");
}
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 17
gotoAndStop (1);
Symbol 192 MovieClip Frame 31
gotoAndStop (1);
Symbol 192 MovieClip Frame 49
if (_root.yuka._x > -2940) {
gotoAndPlay ("endstage");
} else {
gotoAndStop (1);
}
Symbol 192 MovieClip Frame 51
if (_root.stegenum == 1) {
hensu = "stage2";
_root.cleaflg = 1;
} else if (_root.stegenum == 2) {
hensu = "stage3";
_root.cleaflg = 2;
} else if (_root.stegenum == 3) {
hensu = "stage4";
_root.cleaflg = 3;
} else if (_root.stegenum == 4) {
hensu = "stage5";
_root.cleaflg = 4;
} else if (_root.stegenum == 5) {
hensu = "endstage";
_root.cleaflg = 5;
}
Symbol 192 MovieClip Frame 52
stopAllSounds();
Symbol 192 MovieClip Frame 58
_root.savedata = SharedObject.getLocal("pandamsave");
_root.savedata.data.cleaflg = _root.cleaflg;
_root.savedata.flush();
Instance of Symbol 185 MovieClip in Symbol 192 MovieClip Frame 60
onClipEvent (enterFrame) {
if (_root.stegenum == 1) {
if (_root.bounus == 0) {
this.gotoAndStop(2);
} else if (_root.bounus < 3) {
_root.bounus = 1;
}
} else if (_root.stegenum == 2) {
if (_root.bounus == 1) {
this.gotoAndStop(3);
} else if (_root.bounus < 3) {
_root.bounus = 2;
}
} else if (_root.stegenum == 3) {
this.gotoAndStop(4);
} else if (_root.stegenum == 5) {
if (_root.bounus == 2) {
this.gotoAndStop(5);
} else if (_root.bounus < 3) {
_root.bounus = 3;
}
}
}
Symbol 192 MovieClip Frame 72
stop();
Symbol 192 MovieClip Frame 75
stopAllSounds();
Symbol 192 MovieClip Frame 81
stop();