Frame 26
stop();
Frame 27
e_walk = 2.5;
e_walk_x = 5;
e_walk_y = 2.5;
count = 1000;
e_count = 0;
span = 50;
mdown = 0;
score = 0;
_root.i = 0;
hartx = 5;
saisyo = 0;
p_hp_max = 3;
p_hp = p_hp_max;
wepon = 1;
Instance of Symbol 30 MovieClip [emi] "sp_emi" in Frame 32
onClipEvent (enterFrame) {
ct++;
if (ct == 3) {
mx = _root._xmouse;
my = _root._ymouse;
ct = 0;
}
if ((Stage.width - 30) >= _x) {
this._x = this._x + ((mx - this._x) / 20);
} else {
_x = Stage.width - 30;
}
if ((stage.height - 30) >= _y) {
this._y = this._y + ((my - this._y) / 20);
} else {
_y = stage.height - 30;
}
}
onClipEvent (mouseDown) {
if (_root.wepon == 1) {
_root.fire.removemovieclip();
_root.attachMovie("fire", "fire", 100);
} else if (_root.wepon == 2) {
_root.fire.removemovieclip();
_root.attachMovie("fire_b", "fire", 100);
} else if (_root.wepon == 3) {
_root.fire.removemovieclip();
_root.attachMovie("fire_c", "fire", 100);
} else if (_root.wepon == 4) {
_root.fire.removemovieclip();
_root.attachMovie("fire_d", "fire", 100);
} else {
_root.fire.removemovieclip();
_root.attachMovie("fire", "fire", 100);
}
_root.wepon;
}
onClipEvent (mouseUp) {
_root.fire.removemovieclip();
}
Frame 34
function hp_del() {
eval ("_root.sp_hart" + _root.p_hp).removemovieclip();
_root.p_hp--;
_root.hartx = _root.hartx - 15;
_root.sp_emi.gotoandplay("DAME");
}
function hp_add() {
_root.p_hp++;
_root.sp_hart.duplicatemovieclip("sp_hart" + ci, ci + 1500);
eval ("sp_hart" + ci)._x = _root.hartx;
_root.hartx = _root.hartx + 15;
}
if (_root.saisyo == 0) {
ci = 1;
for ( ; _root.p_hp_max >= ci ; ci++) {
_root.sp_hart.duplicatemovieclip("sp_hart" + ci, ci + 1500);
eval ("sp_hart" + ci)._x = _root.hartx;
_root.hartx = _root.hartx + 15;
}
_root.p_hp = _root.p_hp_max;
_root.saisyo = 1;
}
if (3000 < _root.score) {
e_walk_x = 6;
e_walk_y = 4;
}
cs++;
if (cs == 5) {
_root.attachMovie("snow", "snow" + _root.count, 2500 + _root.count);
_root["snow" + _root.count]._x = int(math.random() * 180);
_root.count++;
cs = 0;
}
ct++;
if (ct == _root.span) {
_root.attachMovie("sp_em", "sp_em" + _root.e_count, 1000 + _root.e_count);
_root.e_count++;
ct = 0;
}
r = int(math.random() * 100);
if (r == 1) {
_root.attachMovie("sp_em_b", "sp_em_b" + _root.e_count, 1000 + _root.e_count);
_root.e_count++;
}
r = int(math.random() * 1500);
if ((r == 1) && (500 < _root.score)) {
_root.attachMovie("sp_em_c", "sp_em_c" + _root.e_count, 1000 + _root.e_count);
_root.e_count++;
}
r = int(math.random() * 3000);
if ((r == 1) && (3000 < _root.score)) {
_root.attachMovie("sp_meka", "sp_meka" + _root.e_count, 1000 + _root.e_count);
_root.e_count++;
}
r = int(math.random() * 5000);
if (r == 1) {
_root.attachMovie("c_tree", "c_tree" + _root.e_count, 1000 + _root.e_count);
_root.e_count++;
}
if ((500 < score) && (1000 >= score)) {
_root.sp_back.gotoandplay("2");
}
if ((1000 < score) && (1500 >= score)) {
_root.sp_back.gotoandplay("2");
}
if ((1500 < score) && (2000 >= score)) {
_root.sp_back.gotoandplay("3");
}
if ((2000 < score) && (2500 >= score)) {
_root.sp_back.gotoandplay("4");
}
if ((2500 < score) && (3000 >= score)) {
_root.sp_back.gotoandplay("5");
}
if ((3000 < score) && (3500 >= score)) {
_root.sp_back.gotoandplay("6");
}
if ((3500 < score) && (4000 >= score)) {
_root.sp_back.gotoandplay("7");
}
if ((4000 < score) && (5000 >= score)) {
_root.sp_back.gotoandplay("8");
}
if ((5000 < score) && (10000 >= score)) {
_root.sp_back.gotoandplay("9");
}
if (0 >= _root.p_hp) {
_root.gotoandplay("GAMEOVER");
}
Frame 35
gotoAndPlay("\u30E1\u30A4\u30F3");
Frame 37
stop();
Symbol 19998 MovieClip [sp_ld] Frame 2
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
sindo = int((loaded / total) * 100);
loadertext = ((((int(loaded / 1000) + "KB / ") + int(total / 1000)) + "KB (") + sindo) + "%)";
Symbol 19998 MovieClip [sp_ld] Frame 4
gotoAndPlay("loading");
Symbol 10 MovieClip [e1] Frame 21
gotoAndPlay("WALK");
Symbol 10 MovieClip [e1] Frame 42
_parent._parent.removemovieclip();
Symbol 10 MovieClip [e1] Frame 43
stop();
Symbol 10 MovieClip [e1] Frame 94
_parent._parent.removemovieclip();
Symbol 10 MovieClip [e1] Frame 95
stop();
Symbol 14 MovieClip [soku] Frame 2
stop();
Symbol 14 MovieClip [soku] Frame 3
this.removemovieclip();
Symbol 30 MovieClip [emi] Frame 31
gotoAndPlay("WALK");
Symbol 30 MovieClip [emi] Frame 62
gotoAndPlay("WALK");
Symbol 42 MovieClip [sp_player] Frame 21
gotoAndPlay("MOVE");
Symbol 42 MovieClip [sp_player] Frame 23
gotoAndPlay("TAME");
Symbol 42 MovieClip [sp_player] Frame 44
gotoAndPlay("MAX");
Symbol 82 MovieClip [sp_enemy_1] Frame 21
gotoAndPlay("MOVE");
Symbol 82 MovieClip [sp_enemy_1] Frame 42
gotoAndPlay("TAME");
Symbol 82 MovieClip [sp_enemy_1] Frame 63
gotoAndPlay("MAX");
Symbol 82 MovieClip [sp_enemy_1] Frame 164
gotoAndPlay("DEL");
Symbol 120 MovieClip [baku] Frame 13
this.removemovieclip();
Symbol 140 MovieClip [tama] Frame 61
this.removemovieclip();
Symbol 142 MovieClip [fire] Frame 1
if (_root["tama" + _root.i] == null) {
_root.attachMovie("tama", "tama" + _root.i, 1800 + _root.i);
_root["tama" + _root.i]._x = _root.sp_emi._x + 15;
_root["tama" + _root.i]._y = _root.sp_emi._y - 5;
}
_root.i++;
if (_root.i >= 5) {
_root.i = 0;
}
Instance of Symbol 10 MovieClip [e1] "sp_em" in Symbol 148 MovieClip [sp_em] Frame 1
onClipEvent (load) {
hp = 1;
_x = int(math.random() * 100) + 30;
_y = -10;
}
onClipEvent (enterFrame) {
if (0 >= hp) {
ct++;
if (ct == 20) {
_parent.removemovieclip();
ct = 0;
}
} else {
_y = _y + _root.e_walk;
if ((stage.height + 30) < _y) {
_parent.removemovieclip();
}
if (this.hitTest(_root.sp_emi)) {
_root.hp_del();
hp = 0;
this.gotoandplay("NIYA");
}
i = 0;
for ( ; i < 6 ; i++) {
if (this.hitTest(_root["tama" + i])) {
_root["tama" + i].removemovieclip();
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
i = 0;
for ( ; i < 1 ; i++) {
if (this.hitTest(_root["beam" + i])) {
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
}
}
Symbol 150 MovieClip [back] Frame 1
stop();
Symbol 150 MovieClip [back] Frame 3
stop();
Symbol 150 MovieClip [back] Frame 5
stop();
Symbol 150 MovieClip [back] Frame 7
stop();
Symbol 150 MovieClip [back] Frame 9
stop();
Symbol 150 MovieClip [back] Frame 11
stop();
Symbol 150 MovieClip [back] Frame 13
stop();
Symbol 150 MovieClip [back] Frame 15
stop();
Symbol 150 MovieClip [back] Frame 17
stop();
Symbol 164 MovieClip [hart] Frame 3
stop();
Symbol 164 MovieClip [hart] Frame 5
stop();
Symbol 164 MovieClip [hart] Frame 8
stop();
Symbol 164 MovieClip [hart] Frame 10
stop();
Symbol 164 MovieClip [hart] Frame 13
stop();
Symbol 166 MovieClip [e2] Frame 21
gotoAndPlay("WALK");
Symbol 166 MovieClip [e2] Frame 42
_parent._parent.removemovieclip();
Symbol 166 MovieClip [e2] Frame 43
stop();
Symbol 166 MovieClip [e2] Frame 94
_parent._parent.removemovieclip();
Symbol 166 MovieClip [e2] Frame 95
stop();
Instance of Symbol 166 MovieClip [e2] "sp_em_b" in Symbol 170 MovieClip [sp_em_b] Frame 1
onClipEvent (load) {
hp = 3;
_x = int(math.random() * 100) + 30;
_y = -10;
}
onClipEvent (enterFrame) {
if (0 >= hp) {
ct++;
if (ct == 20) {
_parent.removemovieclip();
ct = 0;
}
} else {
_x = _x + _root.e_walk_x;
if (_x < 0) {
_x = 0;
_root.e_walk_x = _root.e_walk_x * -1;
}
if ((stage.width - 30) < _x) {
_x = stage.width - 30;
_root.e_walk_x = _root.e_walk_x * -1;
}
_y = _y + _root.e_walk_y;
if ((stage.height + 30) < _y) {
_parent.removemovieclip();
}
if (this.hitTest(_root.sp_emi)) {
_root.hp_del();
hp = 0;
this.gotoandplay("NIYA");
}
i = 0;
for ( ; i < 6 ; i++) {
if (this.hitTest(_root["tama" + i])) {
_root["tama" + i].removemovieclip();
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
i = 0;
for ( ; i < 1 ; i++) {
if (this.hitTest(_root["beam" + i])) {
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
}
}
Symbol 172 MovieClip [beam] Frame 61
this.removemovieclip();
Symbol 176 MovieClip [fire_b] Frame 1
if (_root["beam" + _root.i] == null) {
_root.attachMovie("beam", "beam" + _root.i, 1800 + _root.i);
_root["beam" + _root.i]._x = _root.sp_emi._x + 15;
_root["beam" + _root.i]._y = _root.sp_emi._y + 5;
}
_root.i++;
if (_root.i >= 1) {
_root.i = 0;
}
Symbol 182 MovieClip [snow] Frame 201
this.removemovieclip();
Instance of Symbol 156 MovieClip [tree] "c_tree" in Symbol 184 MovieClip [c_tree] Frame 1
onClipEvent (load) {
_x = int(math.random() * 100) + 30;
_y = -10;
}
onClipEvent (enterFrame) {
_y = _y + _root.e_walk;
if ((stage.height + 30) < _y) {
_parent.removemovieclip();
}
if (this.hitTest(_root.sp_emi)) {
_root.attachMovie("p_up", "p_up", 3000);
if (_root.wepon != 4) {
_root.wepon++;
} else {
_root.wepon = 1;
}
_parent.removemovieclip();
}
}
Symbol 184 MovieClip [c_tree] Frame 101
this.removemovieclip();
Symbol 20000 Button
on (release) {
gotoAndPlay("_root.START");
}
Symbol 20001 Button
on (release) {
getURL ("http://click.dtiserv2.com/Click2/1-103-15546", "_blank");
}
Symbol 196 MovieClip [GAMEOVER] Frame 53
stop();
Symbol 202 MovieClip [fire_c] Frame 1
if (_root["tama" + _root.i] == null) {
_root.attachMovie("tama", "tama" + _root.i, 1800 + _root.i);
_root["tama" + _root.i]._x = _root.sp_emi._x + 15;
_root["tama" + _root.i]._y = _root.sp_emi._y - 5;
_root.i++;
_root.attachMovie("tama", "tama" + _root.i, 1800 + _root.i);
_root["tama" + _root.i]._x = _root.sp_emi._x + 45;
_root["tama" + _root.i]._y = _root.sp_emi._y - 5;
_root.i++;
_root.attachMovie("tama", "tama" + _root.i, 1800 + _root.i);
_root["tama" + _root.i]._x = _root.sp_emi._x - 15;
_root["tama" + _root.i]._y = _root.sp_emi._y - 5;
}
_root.i++;
if (_root.i >= 3) {
_root.i = 0;
}
Symbol 204 MovieClip [fire_d] Frame 1
if (_root["beam" + _root.i] == null) {
_root.attachMovie("beam", "beam" + _root.i, 1800 + _root.i);
_root["beam" + _root.i]._x = _root.sp_emi._x + 15;
_root["beam" + _root.i]._y = _root.sp_emi._y + 5;
}
_root.i++;
if (_root["beam" + _root.i] == null) {
_root.attachMovie("beam", "beam" + _root.i, 1800 + _root.i);
_root["beam" + _root.i]._x = _root.sp_emi._x + 45;
_root["beam" + _root.i]._y = _root.sp_emi._y + 5;
}
_root.i++;
if (_root["beam" + _root.i] == null) {
_root.attachMovie("beam", "beam" + _root.i, 1800 + _root.i);
_root["beam" + _root.i]._x = _root.sp_emi._x - 15;
_root["beam" + _root.i]._y = _root.sp_emi._y + 5;
}
_root.i++;
if (_root.i >= 3) {
_root.i = 0;
}
Symbol 212 MovieClip [e3] Frame 21
gotoAndPlay("WALK");
Symbol 212 MovieClip [e3] Frame 42
_parent._parent.removemovieclip();
Symbol 212 MovieClip [e3] Frame 43
stop();
Symbol 212 MovieClip [e3] Frame 94
_parent._parent.removemovieclip();
Symbol 212 MovieClip [e3] Frame 95
stop();
Instance of Symbol 212 MovieClip [e3] "sp_em_c" in Symbol 220 MovieClip [sp_em_c] Frame 1
onClipEvent (load) {
hp = 3;
_x = int(math.random() * 100) + 30;
_y = -10;
}
onClipEvent (enterFrame) {
if (0 >= hp) {
ct++;
if (ct == 20) {
_parent.removemovieclip();
ct = 0;
}
} else {
_x = _x + _root.e_walk_x;
if (_x < 0) {
_x = 0;
_root.e_walk_x = _root.e_walk_x * -1;
}
if ((stage.width - 30) < _x) {
_x = stage.width - 30;
_root.e_walk_x = _root.e_walk_x * -1;
}
if (_y < 100) {
_y = _y + _root.e_walk_y;
}
if ((stage.height + 30) < _y) {
_parent.removemovieclip();
}
if (this.hitTest(_root.sp_emi)) {
_root.hp_del();
hp = 0;
this.gotoandplay("NIYA");
}
i = 0;
for ( ; i < 6 ; i++) {
if (this.hitTest(_root["tama" + i])) {
_root["tama" + i].removemovieclip();
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
i = 0;
for ( ; i < 1 ; i++) {
if (this.hitTest(_root["beam" + i])) {
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
bct++;
if (bct == 60) {
if (_root["bom" + _root.bi] == null) {
_root.attachMovie("bom", "bom" + _root.bi, 1800 + _root.bi);
_root["bom" + _root.bi]._x = _x;
_root["bom" + _root.bi]._y = _y;
_root.bi++;
if (_root.bi >= 5) {
_root.bi = 0;
}
}
bct = 0;
}
}
}
Instance of Symbol 228 MovieClip [bom_g] in Symbol 226 MovieClip [bom] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.sp_emi)) {
_root.hp_del();
_root.attachMovie("baku", "baku" + _root.count, 1500 + _root.count);
_root["baku" + _root.count]._x = _root.sp_emi._x;
_root["baku" + _root.count]._y = _root.sp_emi._y;
_root.count++;
_parent.removemovieclip();
}
}
Symbol 226 MovieClip [bom] Frame 81
this.removemovieclip();
Symbol 230 MovieClip [e_fire] Frame 1
if (_root["bom" + _root.i] == null) {
_root.attachMovie("beam", "beam" + _root.i, 1800 + _root.i);
_root["bom" + _root.i]._x = _root.sp_emi._x + 15;
_root["bom" + _root.i]._y = _root.sp_emi._y + 5;
}
_root.i++;
if (_root.i >= 1) {
_root.i = 0;
}
Symbol 242 MovieClip [meka] Frame 21
gotoAndPlay("WALK");
Symbol 242 MovieClip [meka] Frame 52
_parent._parent.removemovieclip();
Symbol 242 MovieClip [meka] Frame 53
stop();
Symbol 242 MovieClip [meka] Frame 74
gotoAndPlay("WALK");
Symbol 250 MovieClip [sp_missile] Frame 61
this.removemovieclip();
Instance of Symbol 242 MovieClip [meka] in Symbol 252 MovieClip [sp_meka] Frame 1
onClipEvent (load) {
hp = 100;
_x = int(math.random() * 100) + 30;
_y = -10;
}
onClipEvent (enterFrame) {
if (0 >= hp) {
ct++;
if (ct == 50) {
_parent.removemovieclip();
}
} else {
_x = _x + _root.e_walk_x;
if (_x < 0) {
_x = 0;
_root.e_walk_x = _root.e_walk_x * -1;
}
if ((stage.width - 30) < _x) {
_x = stage.width - 30;
_root.e_walk_x = _root.e_walk_x * -1;
}
if (_y < 100) {
_y = _y + _root.e_walk_y;
}
if ((stage.height + 30) < _y) {
_parent.removemovieclip();
}
if (this.hitTest(_root.sp_emi)) {
_root.hp_del();
hp = 0;
this.gotoandplay("NIYA");
}
i = 0;
for ( ; i < 6 ; i++) {
if (this.hitTest(_root["tama" + i])) {
_root["tama" + i].removemovieclip();
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
i = 0;
for ( ; i < 1 ; i++) {
if (this.hitTest(_root["beam" + i])) {
hp--;
if (0 < hp) {
_y = _y - 20;
} else {
_root.score = _root.score + 10;
this.gotoandplay("DEL");
}
}
}
bct++;
if (bct == 120) {
if (_root["missile" + _root.bi] == null) {
_root.attachMovie("sp_missile", "missile" + _root.bi, 1800 + _root.bi);
_root["missile" + _root.bi]._x = _x;
_root["missile" + _root.bi]._y = _y;
_root.bi++;
if (_root.bi >= 6) {
_root.bi = 0;
}
}
bct = 0;
}
}
}
Symbol 256 MovieClip [p_up] Frame 1
this.removemovieclip();
Symbol 256 MovieClip [p_up] Frame 2
stop();
Symbol 20002 Button
on (release) {
getURL ("http://click.dtiserv2.com/Click2/1-103-15546", "_blank");
}
Symbol 20003 Button
on (release) {
gotoAndPlay("START");
}
Symbol 20004 Button
on (release) {
getURL ("http://kyokun.kir.jp/game/index.html", "_blank");
}