Frame 1
this.stop();
Frame 2
function initGame() {
this.mouse_press_flg = false;
this.stage_num = 1;
this.score = 0;
if (this.game_mode == 1) {
this.neko = 10;
} else {
this.neko = 99;
}
this.dispScore();
}
function dispScore() {
this.mc_score.disp_num(this.score);
this.mc_hiscore.disp_num(this.hiscore);
}
function addScore(n) {
this.score = this.score + n;
if (this.score >= this.hiscore) {
this.hiscore = this.score;
}
this.mc_score.disp_num(this.score);
this.mc_hiscore.disp_num(this.hiscore);
}
this.hiscore = 0;
this.last_stage_num = 6;
Frame 3
this.gotoAndStop("title");
Frame 10
this.stop();
Instance of Symbol 10 MovieClip "mc_score" in Frame 10
//component parameters
onClipEvent (construct) {
disp_zero_flg = true;
keta_num = 6;
}
Instance of Symbol 10 MovieClip "mc_hiscore" in Frame 10
//component parameters
onClipEvent (construct) {
disp_zero_flg = true;
keta_num = 6;
}
Frame 11
if (!(this.btn_stat === "start")) {
} else {
this.gotoAndPlay("gameinit");
}
Frame 20
this.initGame();
Frame 21
this.mouse_press_flg = false;
Frame 31
this.stop();
Frame 40
this.mc_game.gameStart();
this.stat = "main";
this.stop();
Frame 50
this.stop();
Frame 59
this.gotoAndPlay("title");
Frame 60
this.stop();
Frame 61
this.stage_num++;
if (this.stage_num < this.last_stage_num) {
this.gotoAndPlay("stagein");
} else {
this.gotoAndPlay("ending");
}
Frame 64
this.stat = "miss";
this.stop();
Frame 65
this.gotoAndPlay("stagein");
Frame 70
this.stop();
Frame 79
this.gotoAndPlay("title");
Symbol 4 MovieClip Frame 1
function loadingFinishCheck(target_mc) {
var _local2 = target_mc.loading_target_mc.getBytesLoaded();
var _local3 = target_mc.loading_target_mc.getBytesTotal();
if ((_local2 >= _local3) && (_local2 > 1)) {
target_mc.memo = "COMPLETE";
target_mc.gotoAndPlay("finish");
clearInterval(target_mc.loadingItvID);
}
var _local4 = (_local2 / _local3) * 100;
target_mc.downloaded = Math.round(_local4);
target_mc.downloadedbyte = (String(_local2) + " / ") + String(_local3);
}
this.downloaded = 0;
this.downloadedbyte = 0;
this.loading_target_mc = _parent;
this.memo = "NOW LOADING";
this.loadingItvID = setInterval(this, "loadingFinishCheck", 100, this);
this.stop();
Symbol 4 MovieClip Frame 19
_parent.play();
Symbol 10 MovieClip Frame 1
function disp_num(n) {
if (this.disp_zero_flg == false) {
var _local3 = false;
var _local2 = Math.pow(10, this.keta_num);
ii = this.keta_num;
while (ii >= 1) {
d = Math.floor((n % _local2) / (_local2 / 10));
if (((d == 0) && (_local3 == false)) && (ii > 1)) {
d = "";
} else {
_local3 = true;
}
this["mc_num" + ii].num = d;
_local2 = _local2 / 10;
ii--;
}
} else {
var _local2 = Math.pow(10, this.keta_num);
ii = this.keta_num;
while (ii >= 1) {
d = Math.floor((n % _local2) / (_local2 / 10));
this["mc_num" + ii].num = d;
_local2 = _local2 / 10;
ii--;
}
}
}
ii = 0;
while (ii < (this.keta_num - 1)) {
this["mc_num" + (this.keta_num - ii)].num = 0;
ii++;
}
Symbol 20 MovieClip Frame 1
this.stop();
Symbol 20 MovieClip Frame 10
this.stop();
Symbol 20 MovieClip Frame 50
this.gotoAndPlay(10);
Symbol 23 MovieClip Frame 1
this.onPress = function () {
_parent.btn_stat = "start";
_parent.game_mode = 1;
_parent.play();
};
this.onRollOver = function () {
this.mc_base.gotoAndPlay("over");
};
this.onRollOut = function () {
this.mc_base.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.mc_base.gotoAndStop("stay");
};
Symbol 25 MovieClip Frame 1
this.onPress = function () {
_parent.btn_stat = "start";
_parent.game_mode = 2;
_parent.play();
};
this.onRollOver = function () {
this.mc_base.gotoAndPlay("over");
};
this.onRollOut = function () {
this.mc_base.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.mc_base.gotoAndStop("stay");
};
Symbol 39 MovieClip Frame 9
this.gotoAndPlay(1);
Symbol 39 MovieClip Frame 21
this.stop();
Symbol 39 MovieClip Frame 30
this.stop();
Symbol 39 MovieClip Frame 31
this.stop();
Symbol 42 MovieClip Frame 1
function init() {
this.WALL_LEFT = 10;
this.WALL_RIGHT = 630;
this.dx = 2;
this.dy = 0;
this.px = this._x;
this.py = this._y;
this.stat = "standby";
_parent.neko_mc_list.push(this);
this.floor_num = 0;
}
function main() {
switch (this.stat) {
case "run" :
this.run();
break;
case "fall" :
this.fall();
break;
case "death" :
this.death();
}
this._x = this.px;
this._y = this.py;
}
function entryStartRun() {
this.stat = "run";
}
function entryFall() {
if (this.stat == "fall") {
return(undefined);
}
this.mc_g.gotoAndStop("fall");
this.floor_num++;
this.stat = "fall";
this.ground_y = 60 + (this.floor_num * 80);
}
function entryDeath() {
if (this.stat == "death") {
return(undefined);
}
this.stat = "death";
this.mc_g.gotoAndStop("death");
if (_root.game_mode == 1) {
_root.neko--;
_parent.neko_end_cnt++;
if (_root.neko == 0) {
_root.gotoAndPlay("gameover");
}
} else if (_root.stat == "main") {
_root.neko--;
if (_root.neko == 0) {
_root.gotoAndPlay("gameover");
} else {
_root.gotoAndPlay("miss");
}
}
}
function run() {
this.px = this.px + this.dx;
this.py = this.py + this.dy;
if (this.px <= this.WALL_LEFT) {
this.px = this.WALL_LEFT;
this.dx = -this.dx;
}
if (this.px >= this.WALL_RIGHT) {
this.px = this.WALL_RIGHT;
this.dx = -this.dx;
}
if (this.dx > 0) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this.mc_hit.hitTest(_parent.mc_home.mc_hit)) {
this.stat = "goal";
this.mc_g.gotoAndStop("goal");
_parent.neko_end_cnt++;
_parent.neko_goal_cnt++;
_parent.mc_home.entryMark(_parent.neko_goal_cnt);
if (_root.game_mode == 1) {
if (_parent.neko_end_cnt == 10) {
_root.gotoAndPlay("stageclear");
}
} else if (_parent.neko_goal_cnt == 10) {
_root.gotoAndPlay("stageclear");
}
}
}
function fall() {
this.dy++;
this.px = this.px + (this.dx / 2);
this.py = this.py + this.dy;
if (this.py >= this.ground_y) {
this.py = this.ground_y;
this.dy = 0;
this.stat = "run";
this.mc_g.gotoAndPlay("walk");
}
}
function death() {
this.mc_g.gotoAndStop("death");
}
this.init();
Symbol 42 MovieClip Frame 2
this.onEnterFrame = function () {
this.main();
};
this.stop();
Symbol 48 MovieClip Frame 1
this.stat = "off";
this.gotoAndStop(this.stat);
this.onEnterFrame = function () {
if (_parent._parent.mouse_press_flg) {
this.stat = "on";
this.gotoAndStop("on");
} else {
this.stat = "off";
this.gotoAndStop("off");
}
if (this.stat == "off") {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryFall();
}
i++;
}
}
};
Symbol 55 MovieClip Frame 1
this.stat = "off";
this.stop();
this.onEnterFrame = function () {
if (_parent._parent.mouse_press_flg) {
this.stat = "on";
this.gotoAndStop("on");
} else {
this.stat = "off";
this.gotoAndStop("off");
}
if (this.stat == "on") {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryDeath();
}
i++;
}
}
};
Symbol 57 MovieClip Frame 1
this.stat = "off";
this.gotoAndStop(this.stat);
this.onEnterFrame = function () {
if (_parent._parent.mouse_press_flg) {
this.stat = "on";
this.gotoAndStop("on");
} else {
this.stat = "off";
this.gotoAndStop("off");
}
if (this.stat == "on") {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryFall();
}
i++;
}
}
};
Symbol 60 MovieClip Frame 1
this.stat = "off";
this.stop();
this.onEnterFrame = function () {
if (_parent._parent.mouse_press_flg) {
this.stat = "on";
this.gotoAndStop("on");
} else {
this.stat = "off";
this.gotoAndStop("off");
}
if (this.stat == "off") {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryDeath();
}
i++;
}
}
};
Symbol 64 MovieClip Frame 1
this.stop();
Symbol 65 MovieClip Frame 1
if (_root.stage_num == 6) {
this._x = this._x + 60;
}
Symbol 69 MovieClip Frame 1
function entryMark(n) {
if (n >= 10) {
n = 10;
if (this.ok_flg == false) {
this.gotoAndPlay("ok");
this.ok_flg = true;
}
}
this.mc_mark.gotoAndStop(n + 1);
}
this.ok_flg = false;
this.stop();
Symbol 69 MovieClip Frame 10
this.stop();
Symbol 75 MovieClip Frame 1
this.stop();
this.onEnterFrame = function () {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryDeath();
}
i++;
}
};
Symbol 79 MovieClip Frame 1
this.onEnterFrame = function () {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryDeath();
}
i++;
}
};
Symbol 79 MovieClip Frame 90
this.gotoAndPlay(2);
Symbol 81 MovieClip Frame 1
this.stop();
this.onEnterFrame = function () {
i = 0;
while (i < _parent.neko_mc_list.length) {
if (this.mc_hit.hitTest(_parent.neko_mc_list[i].mc_hit)) {
_parent.neko_mc_list[i].entryDeath();
}
i++;
}
};
Symbol 84 MovieClip Frame 1
function initStage() {
this.neko_mc_list = [];
this.gotoAndPlay("stage" + String(_parent.stage_num));
this.txt1 = "stage " + _parent.stage_num;
this.neko_end_cnt = 0;
this.neko_goal_cnt = 0;
}
function gameStart() {
i = 1;
while (i <= 10) {
this["mc_neko" + i].entryStartRun();
i++;
}
}
function start_timer() {
var _local2 = new Date();
this.start_ms = _local2.getTime();
}
function get_past_time() {
var _local3 = new Date();
var _local2 = _local3.getTime() - this.start_ms;
return(_local2);
}
this.initStage();
this.stop();
Symbol 84 MovieClip Frame 11
trace("set stage1");
this.stop();
Symbol 84 MovieClip Frame 21
this.total_circle_cnt = 4;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage2");
this.stop();
Symbol 84 MovieClip Frame 31
this.total_circle_cnt = 5;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage1");
this.stop();
Symbol 84 MovieClip Frame 41
this.total_circle_cnt = 5;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage1");
this.stop();
Symbol 84 MovieClip Frame 51
this.total_circle_cnt = 5;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage5");
this.stop();
Symbol 84 MovieClip Frame 61
this.total_circle_cnt = 7;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage1");
this.stop();
Symbol 84 MovieClip Frame 71
this.total_circle_cnt = 7;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage1");
this.stop();
Symbol 84 MovieClip Frame 81
this.total_circle_cnt = 5;
this.mc_player.init();
this.initCircle(this.total_circle_cnt);
trace("set stage1");
this.stop();
Symbol 88 MovieClip Frame 1
this.onPress = function () {
if (_root.stat == "main") {
_parent.mouse_press_flg = !_parent.mouse_press_flg;
}
};
this.stop();
Symbol 91 MovieClip Frame 1
this.mes = "stage " + _parent.stage_num;
Symbol 91 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 95 Button
on (press) {
if (_root.neko > 0) {
_root.gotoAndPlay("stagein");
}
}
Symbol 97 MovieClip Frame 60
_parent.play();
this.stop();
Symbol 103 MovieClip Frame 1
this.onPress = function () {
_parent._parent.play();
};
this.onRollOver = function () {
this.mc_base.gotoAndPlay("over");
};
this.onRollOut = function () {
this.mc_base.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.mc_base.gotoAndStop("stay");
};
Symbol 105 MovieClip Frame 1
this.onPress = function () {
_parent._parent.play();
};
this.onRollOver = function () {
this.mc_base.gotoAndPlay("over");
};
this.onRollOut = function () {
this.mc_base.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.mc_base.gotoAndStop("stay");
};
Symbol 106 MovieClip Frame 1
var ti = _parent.mc_game.get_past_time();
this.clearbonus = _parent.neko * 1000;
if (this.clearbonus < 1000) {
this.clearbonus = 1000;
}
trace(this.clearbonus);
_parent.addScore(this.clearbonus);
Symbol 106 MovieClip Frame 29
if (_parent.stage_num == _parent.last_stage_num) {
this.gotoAndStop("end");
} else {
this.gotoAndStop("next");
}
Symbol 106 MovieClip Frame 30
this.stop();
Symbol 106 MovieClip Frame 40
this.stop();
Symbol 109 MovieClip Frame 60
_parent.play();
this.stop();
Symbol 112 MovieClip Frame 1
this.onPress = function () {
_parent._parent.play();
};
this.onRollOver = function () {
this.mc_base.gotoAndPlay("over");
};
this.onRollOut = function () {
this.mc_base.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.mc_base.gotoAndStop("stay");
};
Symbol 113 MovieClip Frame 45
this.stop();