Frame 1
this.stop();
Frame 2
this.high_score = 0;
Instance of Symbol 26 MovieClip in Frame 8
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 90
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
_quality = "High";
Mouse.show();
this.stop();
Frame 91
this.mflg = false;
Mouse.hide();
Frame 92
this.stop();
Symbol 2 MovieClip [hamon] Frame 12
this.removeMovieClip();
this.stop();
Symbol 8 MovieClip [past] Frame 1
function main() {
if (this.ptr < this.ca.length) {
if (_parent.floor_num == this.ca[ptr][3]) {
this._visible = true;
} else {
this._visible = false;
}
this.mc_cursor._x = this.ca[ptr][0];
this.mc_cursor._y = this.ca[ptr][1];
this.ptr++;
if (this.ca[ptr][2] != []) {
this.ca[ptr][2][0].setStat(this.ca[ptr][2][1]);
if ((this.ca[ptr][2][1] == "press") && (this._visible)) {
_parent.makeHamon(this.ca[ptr][0], this.ca[ptr][1]);
}
}
}
}
this.ptr = 0;
this.mc_cursor.txt = "No." + this.my_num;
this.mc_objects._alpha = 0;
this.onEnterFrame = function () {
this.main();
};
Symbol 17 MovieClip Frame 1
this.load_finish_flg = false;
this.stop();
this.onEnterFrame = function () {
if (this.load_finish_flg == false) {
this.loaded_size = _root.getBytesLoaded();
this.total_size = _root.getBytesTotal();
if (this.loaded_size >= this.total_size) {
this.load_finish_flg = true;
this.gotoAndPlay("ok");
} else {
var _local3 = (this.loaded_size / this.total_size) * 100;
var _local4 = Math.round(_local3);
this.mc_bar._width = 300 * (_local4 / 100);
}
}
};
Symbol 17 MovieClip Frame 19
_parent.play();
Symbol 26 MovieClip Frame 126
_root.nextFrame();
Symbol 32 MovieClip Frame 1
this.onPress = function () {
_root.gotoAndPlay("play");
};
Symbol 36 Button
on (release) {
getURL ("http://www.armorgames.com");
}
Symbol 39 Button
on (release) {
getURL ("http://www.armorblog.com");
}
Symbol 41 MovieClip Frame 1
this.onPress = function () {
trace("pressBG");
_root.object_event = [this, "press"];
};
this.onRelease = function () {
_root.mflg = false;
};
this.onReleaseOutside = function () {
_root.mflg = false;
};
Symbol 53 MovieClip Frame 1
this.onRelease = function () {
_root.gotoAndPlay("title");
};
Symbol 55 MovieClip Frame 1
this.onPress = function () {
_parent._parent._parent.upStairs(1);
};
Symbol 59 MovieClip Frame 1
function init() {
this.stat = "close";
this.setDisp();
}
function setStat(stat) {
if ((stat == "press") && (this.stat == "close")) {
this.stat = "open";
_parent._parent._parent.get_coin_cnt++;
this.setDisp();
}
}
function setDisp() {
if (this.stat == "open") {
this.gotoAndPlay("open");
} else {
this.gotoAndStop("close");
}
}
_parent._parent._parent.object_list.push(this);
this.init();
this.stop();
this.onPress = function () {
_root.object_event = [this, "press"];
if (this.stat == "close") {
_parent._parent._parent.get_coin_cnt++;
this.stat = "open";
this.setDisp();
} else if (this.hit_flg) {
_parent._parent._parent.upStairs(1);
}
};
Symbol 59 MovieClip Frame 25
this.stop();
Symbol 60 MovieClip Frame 1
this.stop();
Symbol 62 MovieClip Frame 1
this.onPress = function () {
_parent._parent._parent.upStairs(-1);
};
Symbol 63 MovieClip Frame 1
this.stop();
Symbol 64 MovieClip Frame 1
this.stop();
Symbol 93 MovieClip Frame 1
function init() {
this.stat = "close";
this.life = 1;
this.setDisp();
}
function setStat(stat) {
if ((stat == "press") && (this.stat == "close")) {
this.stat = "open";
this.setDisp();
}
}
function setDisp() {
if (this.stat == "open") {
if (this.hit_flg) {
this.gotoAndPlay("open2");
} else {
this.gotoAndPlay("open");
}
} else {
this.gotoAndStop("close");
}
}
function setHit() {
trace("hit");
this.hit_flg = true;
_parent._parent.mc_f5.mc_down._x = this._x;
_parent._parent.mc_f5.mc_down._y = this._y;
}
_parent._parent._parent.object_list.push(this);
this.hit_flg = false;
this.init();
this.stop();
this.onPress = function () {
_root.object_event = [this, "press"];
if (this.stat == "close") {
this.stat = "open";
this.setDisp();
} else if (this.hit_flg) {
_parent._parent._parent.upStairs(1);
}
};
Symbol 93 MovieClip Frame 25
this.stop();
Symbol 93 MovieClip Frame 41
this.stop();
Symbol 94 MovieClip Frame 2
var n = _root.randomInt(13);
this["b" + n].setHit();
trace(n);
this.stop();
Symbol 95 MovieClip Frame 1
this.stop();
Symbol 98 MovieClip Frame 1
function init() {
this.stat = "release";
this.press_cnt = 0;
this.setDisp();
}
function setStat(stat) {
this.stat = stat;
if (this.stat == "press") {
this.press_cnt++;
}
if (this.stat == "release") {
this.press_cnt--;
if (this.press_cnt < 0) {
this.press_cnt = 0;
}
}
this.setDisp();
}
function setDisp() {
if (this.press_cnt > 0) {
this.gotoAndStop("on");
} else {
this.gotoAndStop("off");
}
}
function getStat() {
if (this.press_cnt > 0) {
return(true);
}
return(false);
}
_parent._parent._parent.object_list.push(this);
this.init();
this.stop();
this.onPress = function () {
trace("press");
_root.object_event = [this, "press"];
this.press_cnt++;
this.setDisp();
};
this.onRelease = function () {
trace("release");
_root.object_event = [this, "release"];
this.press_cnt--;
if (this.press_cnt < 0) {
this.press_cnt = 0;
}
this.setDisp();
};
this.onDragOut = function () {
trace("dragOut");
_root.object_event = [this, "release"];
this.press_cnt--;
if (this.press_cnt < 0) {
this.press_cnt = 0;
}
this.setDisp();
};
Symbol 99 MovieClip Frame 1
this.stop();
Symbol 100 MovieClip Frame 1
this.stop();
Symbol 101 MovieClip Frame 1
function setDisp(flg) {
this._visible = flg;
}
this.onPress = function () {
_parent._parent._parent.upStairs(1);
};
this._visible = false;
Symbol 102 MovieClip Frame 1
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.staire.setDisp(true);
} else {
this.staire.setDisp(false);
}
};
Symbol 103 MovieClip Frame 1
this.stop();
Symbol 108 MovieClip Frame 1
function init() {
trace("init loc_staire");
this.stat = "close";
this.life = 99;
this.setDisp();
}
function setStat(stat) {
if (stat == "press") {
this.life--;
if (this.life <= 0) {
this.life = 0;
if (this.stat == "close") {
this.stat = "open";
}
}
this.setDisp();
}
}
function setDisp() {
if (this.life > 0) {
this.gotoAndStop("close");
} else if (this.stat != "opened") {
this.stat = "opened";
this.gotoAndPlay("open");
}
}
_parent._parent._parent.object_list.push(this);
this.init();
this.stop();
this.onPress = function () {
if ((this.stat == "open") || (this.stat == "opened")) {
_parent._parent._parent.upStairs(1);
} else {
_root.object_event = [this, "press"];
this.life--;
if (this.life <= 0) {
this.life = 0;
this.stat = "open";
}
this.setDisp();
}
};
Symbol 108 MovieClip Frame 24
this.stop();
Symbol 109 MovieClip Frame 1
this.stop();
Symbol 110 MovieClip Frame 1
this.stop();
Symbol 111 MovieClip Frame 1
this.stop();
Symbol 112 MovieClip Frame 1
this.stop();
Symbol 113 MovieClip Frame 1
this.stop();
Symbol 114 MovieClip Frame 1
this.stop();
this.onEnterFrame = function () {
if (((_parent.mc_f6.sw.getStat() && (this.sw1_2.getStat())) && (this.sw1_3.getStat())) && (this.sw1_4.getStat())) {
this.staire.setDisp(true);
} else {
this.staire.setDisp(false);
}
};
Symbol 116 MovieClip Frame 1
function init() {
this.stat = "close";
this.setDisp();
}
function setStat(stat) {
if ((stat == "press") && (this.stat == "close")) {
this.stat = "open";
_parent._parent._parent.get_coin_cnt++;
this.setDisp();
}
}
function setDisp() {
if (this.stat == "open") {
this.gotoAndPlay("open");
} else {
this.gotoAndStop("close");
}
}
_parent._parent._parent.object_list.push(this);
this.init();
this.stop();
this.onPress = function () {
_root.object_event = [this, "press"];
if (this.stat == "close") {
_parent._parent._parent.get_coin_cnt = _parent._parent._parent.get_coin_cnt + 100;
_parent._parent._parent.clearFloor16();
this.stat = "open";
this.setDisp();
} else if (this.hit_flg) {
_parent._parent._parent.upStairs(1);
}
};
Symbol 116 MovieClip Frame 25
this.stop();
Symbol 118 MovieClip Frame 1
this.stop();
Symbol 119 MovieClip Frame 1
function setFloor(n) {
i = 1;
while (i <= 16) {
if (i != n) {
this["mc_f" + i]._visible = false;
} else {
this["mc_f" + i]._visible = true;
}
i++;
}
}
this.stop();
Symbol 127 MovieClip Frame 1
this.str = ("CURSOR No. " + (_parent.cursor_num + 1)) + " READY?";
Symbol 127 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 130 MovieClip Frame 60
_root.gotoAndPlay(1);
Symbol 134 MovieClip Frame 60
this.stop();
Symbol 135 MovieClip Frame 1
function main() {
switch (this.stat) {
case "init" :
this.initCursor();
break;
case "stay" :
break;
case "run" :
this.runCursor();
if (this.floor_num >= 16) {
break;
}
this.fcnt--;
if (this.fcnt != 0) {
break;
}
this.cursor_num++;
last_cursor = 9 - this.cursor_num;
_parent.mc_last.setNum(last_cursor);
this.clearCursor();
if (last_cursor < 0) {
stat = "gameover";
this.gotoAndStop("gameover");
} else {
stat = "standby";
this.gotoAndStop("ready");
}
}
if (this.get_coin_cnt >= _root.high_score) {
_root.high_score = this.get_coin_cnt;
}
}
function clearFloor16() {
this.stat = "clear";
this.gotoAndStop("clear");
}
function initFloor() {
trace("initFloor");
this.floor_num = 1;
_root.object_event = [];
this.mc_objects.setFloor(this.floor_num);
i = 0;
while (i < this.object_list.length) {
this.object_list[i].init();
i++;
}
}
function initCursor() {
var _local3 = 9 - this.cursor_num;
_parent.mc_last.setNum(_local3);
this.mflg = false;
this.fcnt = 650;
this.get_coin_cnt = 0;
this.depth_past = 4000;
this.depth_my_cursor = 5000;
this.depth_hamon = 100;
this.setCursor();
this.stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
}
function runCursor() {
nx = _root._xmouse;
ny = _root._ymouse;
this.ca[this.cursor_num].push([nx, ny, _root.object_event, this.floor_num]);
this.mc_cursor._x = nx;
this.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
this.makeHamon(nx, ny);
}
_root.object_event = [];
}
function setCursor() {
i = 0;
while (i < this.cursor_num) {
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, this.depth_past++);
this[mc_name].ca = this.ca[i];
this[mc_name].my_num = i + 1;
i++;
}
}
function upStairs(n) {
this.floor_num = this.floor_num + n;
if (this.floor_num < 1) {
this.floor_num = 1;
}
this.mc_objects.setFloor(this.floor_num);
}
function clearCursor() {
this.mc_cursor.removeMovieClip();
i = 0;
while (i < this.cursor_num) {
mc_name = "mc_past" + i;
this[mc_name].removeMovieClip();
i++;
}
}
function makeHamon(nx, ny) {
var _local2 = "hm" + depth_hamon;
this.attachMovie("hamon", _local2, depth_hamon++);
this[_local2]._x = nx;
this[_local2]._y = ny;
}
trace("init");
this.ca = [[], [], [], [], [], [], [], [], [], []];
this.stat = "standby";
this.cursor_num = 0;
this.object_list = [];
this.onEnterFrame = function () {
this.main();
};
Symbol 135 MovieClip Frame 2
trace("init2");
Symbol 135 MovieClip Frame 3
this.initFloor();
this.stop();
Symbol 135 MovieClip Frame 4
this.stat = "init";
this.stop();
Symbol 135 MovieClip Frame 11
this.stop();
Symbol 135 MovieClip Frame 20
Mouse.show();
this.clearCursor();
this.stop();
Symbol 136 MovieClip Frame 1
function setNum(n) {
this.gotoAndStop(11 - n);
}
stop();