Frame 1
Stage.showMenu = eval (false)();
slido = 0;
Frame 2
stop();
Frame 3
local_data = SharedObject.getLocal("user_data");
_global.score = local_data.data.score2;
Mouse.show();
if (local_data.data.score2 > 1) {
} else {
local_data.data.score2 = 1;
local_data.flush();
}
stop();
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 171 MovieClip in Frame 3
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Frame 4
Mouse.show();
lvl = 0;
stop();
Instance of Symbol 171 MovieClip in Frame 4
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Frame 5
this.mflg = false;
Mouse.hide();
rest = 0;
Instance of Symbol 381 MovieClip "mc_main" in Frame 5
/* no clip actions */
Frame 6
if (local_data.data.score2 < 2) {
local_data.data.score2 = 2;
local_data.flush();
}
this.mflg = false;
Mouse.hide();
rest = 0;
Instance of Symbol 406 MovieClip "mc_main" in Frame 6
/* no clip actions */
Frame 7
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 3) {
local_data.data.score2 = 3;
local_data.flush();
}
Instance of Symbol 426 MovieClip "mc_main" in Frame 7
/* no clip actions */
Frame 8
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 4) {
local_data.data.score2 = 4;
local_data.flush();
}
Instance of Symbol 446 MovieClip "mc_main" in Frame 8
/* no clip actions */
Frame 9
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 5) {
local_data.data.score2 = 5;
local_data.flush();
}
Instance of Symbol 471 MovieClip "mc_main" in Frame 9
/* no clip actions */
Frame 10
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 6) {
local_data.data.score2 = 6;
local_data.flush();
}
Instance of Symbol 490 MovieClip "mc_main" in Frame 10
/* no clip actions */
Frame 11
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 7) {
local_data.data.score2 = 7;
local_data.flush();
}
Instance of Symbol 504 MovieClip "mc_main" in Frame 11
/* no clip actions */
Frame 12
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 8) {
local_data.data.score2 = 8;
local_data.flush();
}
Instance of Symbol 517 MovieClip "mc_main" in Frame 12
/* no clip actions */
Frame 13
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 9) {
local_data.data.score2 = 9;
local_data.flush();
}
Instance of Symbol 525 MovieClip "mc_main" in Frame 13
/* no clip actions */
Frame 14
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 10) {
local_data.data.score2 = 10;
local_data.flush();
}
Instance of Symbol 538 MovieClip "mc_main" in Frame 14
/* no clip actions */
Frame 15
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 11) {
local_data.data.score2 = 11;
local_data.flush();
}
Instance of Symbol 560 MovieClip "mc_main" in Frame 15
/* no clip actions */
Frame 16
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 12) {
local_data.data.score2 = 12;
local_data.flush();
}
Instance of Symbol 582 MovieClip "mc_main" in Frame 16
/* no clip actions */
Frame 17
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 13) {
local_data.data.score2 = 13;
local_data.flush();
}
Instance of Symbol 592 MovieClip "mc_main" in Frame 17
/* no clip actions */
Frame 18
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 14) {
local_data.data.score2 = 14;
local_data.flush();
}
Instance of Symbol 604 MovieClip "mc_main" in Frame 18
/* no clip actions */
Frame 19
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 15) {
local_data.data.score2 = 15;
local_data.flush();
}
Instance of Symbol 624 MovieClip "mc_main" in Frame 19
/* no clip actions */
Frame 20
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 16) {
local_data.data.score2 = 16;
local_data.flush();
}
Instance of Symbol 636 MovieClip "mc_main" in Frame 20
/* no clip actions */
Frame 21
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 17) {
local_data.data.score2 = 17;
local_data.flush();
}
Instance of Symbol 654 MovieClip "mc_main" in Frame 21
/* no clip actions */
Frame 22
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 18) {
local_data.data.score2 = 18;
local_data.flush();
}
Instance of Symbol 668 MovieClip "mc_main" in Frame 22
/* no clip actions */
Frame 23
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 19) {
local_data.data.score2 = 19;
local_data.flush();
}
Instance of Symbol 679 MovieClip "mc_main" in Frame 23
/* no clip actions */
Frame 24
this.mflg = false;
Mouse.hide();
rest = 0;
if (local_data.data.score2 < 20) {
local_data.data.score2 = 20;
local_data.flush();
}
Instance of Symbol 697 MovieClip "mc_main" in Frame 24
/* no clip actions */
Frame 25
stopAllSounds();
play();
Instance of Symbol 148 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Frame 711
stopAllSounds();
Frame 713
_root.gotoAndStop(4);
Frame 714
this.mflg = false;
rest = 0;
itson = 0;
Instance of Symbol 785 MovieClip "mc_main" in Frame 714
/* no clip actions */
Symbol 1 MovieClip [Key] Frame 1
function init() {
stat = "stay";
setDisp();
}
function setStat(evt, target) {
if (((evt == "press") && (stat == "stay")) || (stat == "fall")) {
stat = "get";
target.getKey();
setDisp();
if (_parent._visible) {
_root.playSE("se_key");
} else {
_root.playSE2("se_key");
}
}
return("press");
}
function setDisp() {
if (stat == "stay") {
_visible = true;
return(undefined);
}
_visible = false;
this.removeMovieClip();
}
_parent._parent._parent.object_list.push(this);
if (stat == "fall") {
ground_y = _y;
ax = 0;
ay = -10;
} else {
init();
}
stop();
this.onEnterFrame = function () {
if (stat == "fall") {
ay++;
_x = (_x + ax);
_y = (_y + ay);
this.swapDepths(_y);
if (_y >= ground_y) {
_y = ground_y;
ay = (-ay) * 0.5;
if (Math.abs(ay) < 1) {
stat = "stay";
}
}
}
};
this.onPress = function () {
if ((stat == "stay") || (stat == "fall")) {
stat = "get";
_root.mc_main.mc_cursor.getKey();
_root.playSE("se_key");
}
_root.object_event = [this, "press"];
setDisp();
};
Symbol 4 MovieClip Frame 1
stop();
Symbol 4 MovieClip Frame 40
stop();
Symbol 5 MovieClip [past] Frame 1
function main() {
if (live_flg) {
if (ptr < ca.length) {
if (_parent.floor_num == ca[ptr][3]) {
_visible = true;
} else {
_visible = false;
}
mc_cursor._x = ca[ptr][0];
mc_cursor._y = ca[ptr][1];
ptr++;
if (ca[ptr][2] != []) {
e = ca[ptr][2][1];
if (((__reg0 = e)) === "death") {
if (key_flg) {
key_flg = false;
_root.mc_main.resetKey(mc_cursor._x, mc_cursor._y, ca[ptr][3], "fall");
}
mc_cursor.gotoAndPlay("death");
return(undefined);
}
res = ca[ptr][2][0].setStat(e, this);
if ((e == "press") && (_visible)) {
_parent.makeHamon(ca[ptr][0], ca[ptr][1]);
}
return(undefined);
}
}
}
}
function getFloor() {
return(ca[ptr][3]);
}
function death() {
live_flg = false;
}
function getKey() {
key_flg = true;
mc_cursor.mc_key._visible = true;
}
function useKey() {
key_flg = false;
mc_cursor.mc_key._visible = false;
}
ptr = 0;
mc_cursor.txt = "No." + my_num;
mc_objects._alpha = 0;
live_flg = true;
key_flg = false;
mc_cursor.mc_key._visible = false;
_visible = true;
stop();
this.onEnterFrame = function () {
main();
};
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 35
stop();
Symbol 9 MovieClip [cursor] Frame 1
function setFloor(n) {
floor_num = n;
}
function getFloor() {
return(floor_num);
}
function eaten() {
live_flg = false;
if (key_flg) {
_root.mc_main.resetKey(mc_cursor._x, mc_cursor._y, floor_num, "fall");
key_flg = false;
}
mc_cursor.gotoAndPlay("death");
}
function death() {
}
function getKey() {
key_flg = true;
mc_cursor.mc_key._visible = true;
}
function useKey() {
key_flg = false;
mc_cursor.mc_key._visible = false;
}
floor_num = 1;
mc_cursor.txt = "";
current_flg = true;
live_flg = true;
key_flg = false;
mc_cursor.mc_key._visible = false;
_visible = true;
mc_cursor._x = _root._xmouse;
mc_cursor._y = _root._ymouse;
stop();
Symbol 38 Button
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 50 Button
on (press) {
if (_root.slido == 0) {
_root.slido = 1;
_root.rrr.gotoAndPlay(2);
}
}
Symbol 51 MovieClip Frame 1
function loading() {
if ((_root.getBytesLoaded() / _root.getBytesTotal()) >= 1) {
play();
loadLeft.text = "0";
loadBar.scaleX = 1;
delete this.onEnterFrame;
loadLeft.text = "0";
loadBar._xscale = 100;
} else {
loadBar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
loadLeft.text = String(Math.ceil((_root.getBytesTotal() - _root.getBytesLoaded()) / 100000) / 10);
}
}
_root.stop();
stop();
this.onEnterFrame = loading;
Symbol 51 MovieClip Frame 40
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 16
_root.gotoAndPlay(2);
Symbol 87 Button
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 100 MovieClip Frame 14
stop();
Symbol 101 MovieClip Frame 1
MovieClip(root).stop();
Symbol 101 MovieClip Frame 186
_parent.play();
Instance of Symbol 105 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 109 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Symbol 113 MovieClip Frame 99
_parent.nextFrame();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 15
stop();
_root.nextFrame();
Symbol 129 Button
on (release) {
if (sss == 0) {
blk.gotoAndPlay(2);
sss = 1;
}
}
Symbol 140 MovieClip Frame 1
sss = 0;
Symbol 140 MovieClip Frame 596
blk.gotoAndPlay(2);
Symbol 142 MovieClip Frame 15
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 3
stop();
Symbol 155 Button
on (release) {
gotoAndStop (2);
_parent.rrr.gotoAndPlay(2);
}
Symbol 157 Button
on (release) {
gotoAndStop (3);
}
Symbol 159 Button
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 162 Button
on (release) {
gotoAndStop (4);
_parent.rrr.gotoAndPlay(2);
}
Symbol 164 Button
on (release) {
gotoAndStop (1);
}
Symbol 166 MovieClip Frame 1
stop();
_global.ins = 1;
Symbol 166 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 3
stop();
_global.ins = 0;
Symbol 166 MovieClip Frame 4
stop();
_global.ins = 0;
Symbol 170 Button
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 16
_root.gotoAndPlay(4);
Symbol 181 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 2;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 184 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 3;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 187 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 4;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 190 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 5;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 193 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 6;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 196 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 7;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 199 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 8;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 202 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 9;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 205 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_parent.hit = 1;
_root.lvl = 10;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
}
}
Symbol 208 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 11;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 211 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 12;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 214 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 13;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 217 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 14;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 220 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 15;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 223 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 16;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 226 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 17;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 229 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 18;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 232 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 19;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 235 Button
on (release) {
if ((_parent.hit == 0) && (_alpha == 100)) {
_root.lvl = 20;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
_parent.hit = 1;
}
}
Symbol 238 Button
on (release) {
if (hit == 0) {
_root.lvl = 1;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
hit = 1;
}
}
Symbol 241 Button
on (release) {
if (hit == 0) {
_root.lvl = 23;
_root.asas.gotoAndPlay(2);
gotoAndStop (2);
hit = 1;
}
}
Symbol 242 MovieClip Frame 1
hit = 0;
if (_root.lvl > 1) {
} else {
_root.lvl = 1;
}
_root.lvl = sharedobject.getLocal("game");
setProperty(_root.lvl, _x , _root.lvl.data.lvl);
Instance of Symbol 182 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 2) {
_alpha = 0;
}
}
Instance of Symbol 185 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 3) {
_alpha = 0;
}
}
Instance of Symbol 188 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 4) {
_alpha = 0;
}
}
Instance of Symbol 191 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 5) {
_alpha = 0;
}
}
Instance of Symbol 194 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 6) {
_alpha = 0;
}
}
Instance of Symbol 197 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 7) {
_alpha = 0;
}
}
Instance of Symbol 200 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 8) {
_alpha = 0;
}
}
Instance of Symbol 203 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 9) {
_alpha = 0;
}
}
Instance of Symbol 206 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 10) {
_alpha = 0;
}
}
Instance of Symbol 209 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 11) {
_alpha = 0;
}
}
Instance of Symbol 212 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 12) {
_alpha = 0;
}
}
Instance of Symbol 215 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 13) {
_alpha = 0;
}
}
Instance of Symbol 218 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 14) {
_alpha = 0;
}
}
Instance of Symbol 221 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 15) {
_alpha = 0;
}
}
Instance of Symbol 224 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 16) {
_alpha = 0;
}
}
Instance of Symbol 227 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 17) {
_alpha = 0;
}
}
Instance of Symbol 230 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 18) {
_alpha = 0;
}
}
Instance of Symbol 233 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 19) {
_alpha = 0;
}
}
Instance of Symbol 236 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.score < 20) {
_alpha = 0;
}
}
Symbol 244 Button
on (release) {
if (agb.hit == 0) {
_root.lvl = 0;
_root.asas2.gotoAndPlay(2);
gotoAndStop (4);
agb.hit = 1;
}
}
Symbol 246 MovieClip Frame 15
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 15
_root.gotoAndStop(3);
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 14
stopAllSounds();
Symbol 251 MovieClip Frame 15
if (_root.lvl == 0) {
_root.gotoAndStop(3);
}
if (_root.lvl == 1) {
_root.gotoAndStop(5);
}
if (_root.lvl == 2) {
_root.gotoAndStop(6);
}
if (_root.lvl == 3) {
_root.gotoAndStop(7);
}
if (_root.lvl == 4) {
_root.gotoAndStop(8);
}
if (_root.lvl == 5) {
_root.gotoAndStop(9);
}
if (_root.lvl == 6) {
_root.gotoAndStop(10);
}
if (_root.lvl == 7) {
_root.gotoAndStop(11);
}
if (_root.lvl == 8) {
_root.gotoAndStop(12);
}
if (_root.lvl == 9) {
_root.gotoAndStop(13);
}
if (_root.lvl == 10) {
_root.gotoAndStop(14);
}
if (_root.lvl == 11) {
_root.gotoAndStop(15);
}
if (_root.lvl == 12) {
_root.gotoAndStop(16);
}
if (_root.lvl == 13) {
_root.gotoAndStop(17);
}
if (_root.lvl == 14) {
_root.gotoAndStop(18);
}
if (_root.lvl == 15) {
_root.gotoAndStop(19);
}
if (_root.lvl == 16) {
_root.gotoAndStop(20);
}
if (_root.lvl == 17) {
_root.gotoAndStop(21);
}
if (_root.lvl == 18) {
_root.gotoAndStop(22);
}
if (_root.lvl == 19) {
_root.gotoAndStop(23);
}
if (_root.lvl == 20) {
_root.gotoAndStop(24);
}
if (_root.lvl == 21) {
_root.gotoAndStop(25);
}
if (_root.lvl == 22) {
_root.gotoAndStop(26);
}
if (_root.lvl == 23) {
_root.gotoAndStop(714);
}
if (_root.lvl == 24) {
_root.gotoAndStop(28);
}
if (_root.lvl == 25) {
_root.gotoAndStop(29);
}
if (_root.lvl == 26) {
_root.gotoAndStop(30);
}
if (_root.lvl == 27) {
_root.gotoAndStop(31);
}
if (_root.lvl == 28) {
_root.gotoAndStop(32);
}
if (_root.lvl == 29) {
_root.gotoAndStop(33);
}
if (_root.lvl == 30) {
_root.gotoAndStop(34);
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 2
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 3
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 3
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 4
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 4
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 5
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 5
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 6
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 6
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 7
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 7
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 8
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 8
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 9
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 9
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 10
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 10
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 11
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 11
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 12
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 12
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 13
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 13
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 14
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 14
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 15
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 15
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 16
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 16
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 17
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 17
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 18
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 18
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 19
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 19
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 297 MovieClip Frame 20
stop();
Instance of Symbol 148 MovieClip in Symbol 297 MovieClip Frame 20
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 305 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");
return(undefined);
}
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();
};
Instance of Symbol 304 MovieClip in Symbol 305 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent._alpha == 100) {
gotoAndStop (2);
}
}
Instance of Symbol 307 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
speed = 0.5 + random(2);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 311 MovieClip Frame 1
stop();
gr = 0;
Symbol 311 MovieClip Frame 2
gr = 1;
Symbol 311 MovieClip Frame 21
stop();
Symbol 313 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");
return(undefined);
}
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 315 MovieClip Frame 1
function init() {
_state = "stay";
}
function go(target_mc) {
if ((_state == "stay") || (_state == "back")) {
if (target_mc == _root.mc_main.mc_cursor) {
_root.mc_main.eaten();
}
_x = (px + 1000);
_y = py;
target_mc.mc_cursor._alpha = 0;
_root.mc_main.mc_cursor._alpha = 0;
}
}
function eatEnd() {
_state = "stay";
}
INIT_X = 2650;
INIT_Y = 175;
init();
stop();
Symbol 315 MovieClip Frame 2
eatEnd();
stop();
this.onEnterFrame = function () {
};
Symbol 318 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");
return(undefined);
}
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 318 MovieClip Frame 5
stop();
Symbol 318 MovieClip Frame 10
stop();
Symbol 320 MovieClip Frame 1
this.onEnterFrame = function () {
i = 0;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[0].getFloor() == 1) && (_root.cursor_mc_list[0].live_flg)) {
nx = _root.cursor_mc_list[0].mc_cursor._x;
ny = _root.cursor_mc_list[0].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 0) {
_parent._parent._parent.clearCursor;
Mouse.hide();
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[0]);
return(undefined);
}
_parent._parent._parent.handb.play();
}
}
i++;
};
};
Symbol 321 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
if ((this.sw1_2._alpha == 100) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi" in Symbol 321 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 318 MovieClip "sw1_2" in Symbol 321 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Symbol 322 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 331 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 331 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 333 Button
on (press, release) {
nextFrame();
Mouse.hide();
_parent.count.hndc = 1;
}
Symbol 339 Button
on (release) {
gotoAndStop (2);
}
Symbol 343 Button
on (release) {
if (_root.rest == 0) {
_root.ggg.gotoAndPlay(2);
_root.rest = 1;
}
}
Symbol 345 Button
on (release) {
gotoAndStop (1);
}
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 2
stop();
Symbol 348 Button
on (release) {
if (_root.rest == 0) {
_root.ggg.gotoAndPlay(2);
_root.rest = 2;
}
}
Symbol 349 MovieClip Frame 1
stop();
Symbol 351 Button
on (release) {
gotoAndStop (2);
}
Symbol 356 Button
on (release) {
_global.ins = 1;
gotoAndStop (1);
}
Symbol 358 Button
on (release) {
_global.ins = 0;
gotoAndStop (1);
}
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
stop();
Symbol 361 Button
on (release) {
gotoAndStop (2);
}
Symbol 362 Button
on (release) {
music01 = new Sound();
music01.setVolume(0);
prevFrame();
}
Symbol 363 Button
on (release) {
music01 = new Sound();
music01.setVolume(100);
prevFrame();
}
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
stop();
Symbol 367 MovieClip Frame 13
_parent.nextFrame();
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 13
_root.itson = 3;
_parent.fcnt = 0;
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 36
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 80
_root.ggg.gotoAndPlay(2);
_root.rest = 3;
stop();
Symbol 381 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 171 MovieClip in Symbol 381 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 381 MovieClip Frame 2
trace("init2");
Symbol 381 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
Instance of Symbol 378 MovieClip in Symbol 381 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 381 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 381 MovieClip Frame 11
this.stop();
Symbol 381 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 15
stop();
if (_root.rest == 1) {
stopAllSounds();
gotoAndStop (32);
}
if (_root.rest == 2) {
_root.mc_main.mc_objects.mc_f1.gear.gotoAndStop(1);
_root.mc_main.gotoAndPlay("gameover");
play();
}
if (_root.rest == 3) {
_root.nextFrame();
}
Symbol 385 MovieClip Frame 31
_root.rest = 0;
stop();
Symbol 385 MovieClip Frame 32
_root.gotoAndStop(3);
Symbol 389 MovieClip Frame 1
this.onEnterFrame = function () {
i = 1;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[1].getFloor() == 1) && (_root.cursor_mc_list[1].live_flg)) {
nx = _root.cursor_mc_list[1].mc_cursor._x;
ny = _root.cursor_mc_list[1].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 1) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[1]);
return(undefined);
}
_parent._parent._parent.handc.play();
}
}
i++;
};
};
Symbol 390 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_3.getStat()) {
if ((this.sw1_3._alpha == 100) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 388 MovieClip "swi" in Symbol 390 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 313 MovieClip "swi2" in Symbol 390 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 305 MovieClip "sw1_2" in Symbol 390 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 318 MovieClip "sw1_3" in Symbol 390 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Symbol 391 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 394 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 394 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 398 Button
on (release) {
gotoAndStop (2);
}
Symbol 399 Button
on (release) {
if (_root.rest == 0) {
_root.ggg.gotoAndPlay(2);
_root.rest = 2;
}
}
Symbol 400 Button
on (release) {
gotoAndStop (1);
}
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Symbol 406 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
Instance of Symbol 297 MovieClip in Symbol 406 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 171 MovieClip in Symbol 406 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 406 MovieClip Frame 2
trace("init2");
Symbol 406 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
Instance of Symbol 405 MovieClip in Symbol 406 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 406 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 406 MovieClip Frame 11
this.stop();
Symbol 406 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 414 MovieClip Frame 1
onoff = 0;
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 (_parent.bx._alpha == 0) {
if (this.press_cnt > 0) {
this.gotoAndStop("on");
return(undefined);
}
}
}
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 414 MovieClip Frame 5
stop();
onoff = 0;
Symbol 414 MovieClip Frame 10
stop();
onoff = 1;
Symbol 416 MovieClip Frame 1
function init() {
_state = "stay";
px = INIT_X;
py = INIT_Y;
}
function go(target_mc) {
if ((_state == "stay") || (_state == "back")) {
px = target_mc.mc_cursor._x - 5;
py = target_mc.mc_cursor._y + 10;
eat_cnt = 1;
_state = "eat";
if (target_mc == _root.mc_main.mc_cursor) {
_root.mc_main.eaten();
}
if (_parent._visible) {
_root.playSE("se_yari");
} else {
_root.playSE2("se_yari");
}
_x = px;
_y = py;
this.swapDepths(_y);
gotoAndPlay ("go");
}
}
function eat() {
}
function eatEnd() {
_state = "stay";
}
function back() {
px = px + ((INIT_X - px) / 2);
py = py + ((INIT_Y - py) / 2);
if ((Math.abs(px) < 1) && (Math.abs(py) < 1)) {
_state = "stay";
}
}
INIT_X = 265;
INIT_Y = 175;
init();
stop();
this.onEnterFrame = function () {
if (((__reg0 = _state)) === "eat") {
eat();
} else if (__reg0 === "back") {
back();
}
_x = px;
_y = py;
};
Symbol 416 MovieClip Frame 2
eatEnd();
stop();
this.onEnterFrame = function () {
};
Symbol 417 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.bx._alpha = 0;
}
if (this.sw1_2.onoff == 1) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_3.getStat()) {
if ((this.sw1_3._alpha == 100) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 415 MovieClip "bx" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 50;
}
Instance of Symbol 313 MovieClip "swi2" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 318 MovieClip "sw1_3" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Symbol 418 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 421 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 421 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 426 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 171 MovieClip in Symbol 426 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 426 MovieClip Frame 2
trace("init2");
Symbol 426 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
Instance of Symbol 425 MovieClip in Symbol 426 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 426 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 426 MovieClip Frame 11
this.stop();
Symbol 426 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 431 Button
on (rollOut) {
this.gotoAndStop("off");
}
on (dragOut) {
this.gotoAndStop("off");
}
Symbol 432 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");
return(undefined);
}
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 432 MovieClip Frame 5
Symbol 435 MovieClip Frame 1
stop();
Symbol 436 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");
return(undefined);
}
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 436 MovieClip Frame 5
onoff = 0;
Symbol 436 MovieClip Frame 10
onoff = 1;
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent._alpha == 100) {
gotoAndStop (2);
}
}
Symbol 437 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi2._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_5.getStat() && (this.gear.gr == 0)) {
if (this.sw1_5._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 432 MovieClip "swi" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi2" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi3" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 313 MovieClip "swi4" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_4" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_5" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Symbol 438 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 441 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 441 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 446 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 171 MovieClip in Symbol 446 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 446 MovieClip Frame 2
trace("init2");
Symbol 446 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
Instance of Symbol 445 MovieClip in Symbol 446 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 446 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 446 MovieClip Frame 11
this.stop();
Symbol 446 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 452 MovieClip Frame 1
shot = 0;
Symbol 452 MovieClip Frame 14
shot = 1;
Symbol 452 MovieClip Frame 16
_parent.gotoAndStop("off");
Symbol 453 MovieClip Frame 1
onoff = 0;
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");
return(undefined);
}
}
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 453 MovieClip Frame 5
stop();
onoff = 0;
Symbol 453 MovieClip Frame 10
stop();
onoff = 1;
Symbol 456 MovieClip Frame 1
stop();
onoff = 0;
Symbol 456 MovieClip Frame 2
stop();
onoff = 1;
Symbol 460 MovieClip Frame 1
stop();
green = 0;
Symbol 460 MovieClip Frame 2
green = 1;
Symbol 461 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
}
if (this.sw1_3.getStat()) {
if ((sw1_3.green == 2) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 456 MovieClip "rec" in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.green == 2) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.swi2._alpha = 0;
_parent.sw1_3._alpha = 100;
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "ltwo" in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 318 MovieClip "sw1_3" in Symbol 461 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = _parent.lone.green + _parent.ltwo.green;
}
Symbol 462 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 465 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 465 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 471 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(7);
}
Instance of Symbol 171 MovieClip in Symbol 471 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 471 MovieClip Frame 2
trace("init2");
Symbol 471 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.green1 = 0;
mc_objects.mc_f1.sw1_3.green2 = 0;
mc_objects.mc_f1.sw1_3.green3 = 0;
mc_objects.mc_f1.sw1_3.green4 = 0;
Instance of Symbol 470 MovieClip in Symbol 471 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 471 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 471 MovieClip Frame 11
this.stop();
Symbol 471 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 479 MovieClip Frame 40
_parent.gotoAndStop("off");
Symbol 480 MovieClip Frame 1
onoff = 0;
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");
return(undefined);
}
}
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 480 MovieClip Frame 5
stop();
onoff = 0;
Symbol 480 MovieClip Frame 10
stop();
onoff = 1;
Symbol 481 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.onoff == 1) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
} else {
this.sw1_2._alpha = 0;
this.swi._alpha = 100;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_3.onoff == 1) {
if (this.bx._alpha == 0) {
this.sw1_5._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_5.getStat() && (this.gear.gr == 0)) {
if (this.sw1_5._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 432 MovieClip "swi" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 313 MovieClip "swi3" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_5" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 415 MovieClip "bx" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 50;
}
Symbol 482 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 485 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 485 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 490 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 171 MovieClip in Symbol 490 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 490 MovieClip Frame 2
trace("init2");
Symbol 490 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
Instance of Symbol 489 MovieClip in Symbol 490 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 490 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 490 MovieClip Frame 11
this.stop();
Symbol 490 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 493 MovieClip Frame 1
shot = 0;
Symbol 493 MovieClip Frame 7
shot = 1;
Symbol 493 MovieClip Frame 9
_parent.gotoAndStop("off");
Symbol 494 MovieClip Frame 1
onoff = 0;
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");
return(undefined);
}
}
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 494 MovieClip Frame 5
stop();
onoff = 0;
Symbol 494 MovieClip Frame 10
stop();
onoff = 1;
Symbol 496 MovieClip Frame 1
shot = 0;
Symbol 496 MovieClip Frame 19
shot = 1;
Symbol 496 MovieClip Frame 21
_parent.gotoAndStop("off");
Symbol 497 MovieClip Frame 1
onoff = 0;
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");
return(undefined);
}
}
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 497 MovieClip Frame 5
stop();
onoff = 0;
Symbol 497 MovieClip Frame 10
stop();
onoff = 1;
Symbol 498 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
}
if (this.sw1_3.getStat()) {
if ((sw1_3.green == 3) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi2" in Symbol 498 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 456 MovieClip "rec" in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.green == 3) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.lthree.gotoAndStop(2);
_parent.swi2._alpha = 0;
_parent.sw1_3._alpha = 100;
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "ltwo" in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "lthree" in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 318 MovieClip "sw1_3" in Symbol 498 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = (_parent.lone.green + _parent.ltwo.green) + _parent.lthree.green;
}
Symbol 499 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 502 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 502 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 504 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 171 MovieClip in Symbol 504 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 504 MovieClip Frame 2
trace("init2");
Symbol 504 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.green1 = 0;
mc_objects.mc_f1.sw1_3.green2 = 0;
mc_objects.mc_f1.sw1_0.green3 = 0;
mc_objects.mc_f1.sw1_0.green4 = 0;
Symbol 504 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 504 MovieClip Frame 11
this.stop();
Symbol 504 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 509 MovieClip Frame 85
_parent.gotoAndStop("off");
Symbol 510 MovieClip Frame 1
onoff = 0;
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");
return(undefined);
}
}
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 510 MovieClip Frame 5
stop();
onoff = 0;
Symbol 510 MovieClip Frame 10
stop();
onoff = 1;
Symbol 511 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.onoff == 1) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
} else {
this.sw1_2._alpha = 0;
this.sw1_3._alpha = 0;
this.sw1_4._alpha = 0;
this.swi._alpha = 100;
this.swi2._alpha = 100;
this.swi3._alpha = 100;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi2._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_6.getStat() && (this.gear.gr == 0)) {
if (this.sw1_6._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 432 MovieClip "swi" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi2" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi3" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi4" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_5.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 313 MovieClip "swi5" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_4" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_5" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_6" in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Symbol 512 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 515 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 515 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 517 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(5);
}
Instance of Symbol 171 MovieClip in Symbol 517 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 517 MovieClip Frame 2
trace("init2");
Symbol 517 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
Symbol 517 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 517 MovieClip Frame 11
this.stop();
Symbol 517 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 519 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.onoff == 1) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
} else {
this.sw1_2._alpha = 0;
this.sw1_3._alpha = 0;
this.sw1_4._alpha = 0;
this.sw1_7._alpha = 0;
this.swi2._alpha = 100;
this.swi3._alpha = 100;
this.swi4._alpha = 100;
this.swi7._alpha = 100;
this.bx._alpha = 50;
this.bx2._alpha = 50;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_5.onoff == 1) {
if (this.bx._alpha == 0) {
this.sw1_5.onoff = 1;
this.bx2._alpha = 0;
}
}
if (this.sw1_6.onoff == 1) {
this.sw1_7._alpha = 100;
this.swi7._alpha = 0;
}
if (this.sw1_7.getStat() && (this.gear.gr == 0)) {
if (this.sw1_7._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 432 MovieClip "swi2" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi3" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi4" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 313 MovieClip "swi7" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((sw1_1.onoff == 1) && (sw1_6.onoff == 1)) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_4" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_7" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((sw1_1.onoff == 1) && (sw1_6.onoff == 1)) {
_alpha = 100;
}
}
Instance of Symbol 415 MovieClip "bx2" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((sw1_1.onoff == 1) && (sw1_5.onoff == 1)) {
_alpha = 0;
}
}
Symbol 520 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 523 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 523 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 525 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 171 MovieClip in Symbol 525 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 525 MovieClip Frame 2
trace("init2");
Symbol 525 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
Symbol 525 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 525 MovieClip Frame 11
this.stop();
Symbol 525 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 527 MovieClip Frame 1
onoff = 0;
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) {
if (_parent.fake._alpha == 100) {
this.gotoAndStop("on");
return(undefined);
}
}
}
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 527 MovieClip Frame 5
stop();
onoff = 0;
Symbol 527 MovieClip Frame 10
stop();
onoff = 1;
Symbol 531 MovieClip Frame 1
stop();
green = 0;
Symbol 531 MovieClip Frame 2
green = 1;
Symbol 532 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi2._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.fake._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
}
if (this.sw1_3.getStat()) {
}
if (this.sw1_6.getStat() && (this.gear.gr == 0)) {
if (this.sw1_6._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 530 MovieClip "fake" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 313 MovieClip "swi6" in Symbol 532 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 456 MovieClip in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_6.green == 2) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.lthree.gotoAndStop(2);
_parent.swi6._alpha = 0;
_parent.sw1_6._alpha = 100;
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_5.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 531 MovieClip "ltwo" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 432 MovieClip "swi" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi2" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 318 MovieClip "sw1_6" in Symbol 532 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = _parent.lone.green + _parent.ltwo.green;
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Symbol 533 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 536 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 536 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 538 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 538 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 171 MovieClip in Symbol 538 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 538 MovieClip Frame 2
trace("init2");
Symbol 538 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.green1 = 0;
mc_objects.mc_f1.sw1_6.green2 = 0;
mc_objects.mc_f1.sw1_6.green3 = 0;
mc_objects.mc_f1.sw1_6.green4 = 0;
Symbol 538 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 538 MovieClip Frame 11
this.stop();
Symbol 538 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 540 MovieClip Frame 1
stop();
ann = 0;
Symbol 540 MovieClip Frame 2
stop();
ann = 1;
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 119
if (_parent.door1.ddd == 0) {
gotoAndStop (177);
}
Symbol 545 MovieClip Frame 176
stop();
_parent.indic.nextFrame();
Symbol 545 MovieClip Frame 177
stop();
Symbol 548 MovieClip Frame 1
stop();
ddd = 0;
Symbol 548 MovieClip Frame 2
stop();
ddd = 1;
Symbol 549 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.bx._alpha == 0) {
this.door1.gotoAndStop(2);
}
}
if (this.sw1_6.getStat()) {
if ((indic.ann == 1) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi10" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.indic.ann == 1) {
_alpha = 0;
}
}
Instance of Symbol 432 MovieClip "swi2" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi3" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi4" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 318 MovieClip "sw1_6" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = _parent.lone.green + _parent.ltwo.green;
gatez = ((_parent.sw1_5.onoff + _parent.sw1_6.onoff) + _parent.sw1_7.onoff) + _parent.sw1_8.onoff;
if (_parent.indic.ann == 1) {
_alpha = 100;
}
}
Instance of Symbol 415 MovieClip "bx" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 50;
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_4" in Symbol 549 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Symbol 550 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 554 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 554 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 36
stop();
Symbol 560 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 171 MovieClip in Symbol 560 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 560 MovieClip Frame 2
trace("init2");
Symbol 560 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door1.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.spark.gotoAndStop(1);
mc_objects.mc_f1.spark2.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
Symbol 560 MovieClip Frame 5
mc_objects.mc_f1.spark.gotoAndPlay(2);
mc_objects.mc_f1.spark2.gotoAndPlay(2);
Instance of Symbol 559 MovieClip in Symbol 560 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 560 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 560 MovieClip Frame 11
this.stop();
Symbol 560 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 562 MovieClip Frame 1
stop();
ann = 0;
Symbol 562 MovieClip Frame 2
stop();
Symbol 562 MovieClip Frame 3
stop();
Symbol 562 MovieClip Frame 4
stop();
ann = 1;
Symbol 563 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");
return(undefined);
}
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 563 MovieClip Frame 5
onoff = 0;
Symbol 563 MovieClip Frame 10
onoff = 1;
Symbol 565 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 123
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 124
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 125
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 126
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 127
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 128
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 129
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 130
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 131
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 132
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 133
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 134
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 135
if (_parent.door4.ddd == 0) {
gotoAndStop (152);
}
Symbol 565 MovieClip Frame 151
stop();
_parent.indic.nextFrame();
Symbol 565 MovieClip Frame 152
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 33
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 34
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 35
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 36
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 37
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 38
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 39
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 40
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 41
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 42
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 43
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 44
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 45
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 46
if (_parent.door2.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 149
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 150
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 151
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 152
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 153
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 154
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 155
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 156
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 157
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 158
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 159
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 160
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 161
if (_parent.door3.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 197
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 198
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 199
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 200
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 201
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 202
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 203
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 204
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 205
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 206
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 207
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 208
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 209
if (_parent.door4.ddd == 0) {
gotoAndStop (227);
}
Symbol 566 MovieClip Frame 226
stop();
_parent.indic.nextFrame();
Symbol 566 MovieClip Frame 227
stop();
Symbol 569 MovieClip Frame 1
stop();
ddd = 0;
Symbol 569 MovieClip Frame 2
stop();
ddd = 1;
Symbol 570 MovieClip Frame 1
stop();
Symbol 570 MovieClip Frame 59
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 60
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 61
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 62
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 63
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 64
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 65
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 66
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 67
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 68
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 69
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 70
if (_parent.door.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 225
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 226
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 227
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 228
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 229
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 230
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 231
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 232
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 233
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 234
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 235
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 236
if (_parent.door3.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 273
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 274
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 275
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 276
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 277
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 278
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 279
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 280
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 281
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 282
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 283
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 284
if (_parent.door4.ddd == 0) {
gotoAndStop (302);
}
Symbol 570 MovieClip Frame 301
stop();
_parent.indic.nextFrame();
Symbol 570 MovieClip Frame 302
stop();
Symbol 571 MovieClip Frame 1
this.onEnterFrame = function () {
i = 1;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[2].getFloor() == 1) && (_root.cursor_mc_list[2].live_flg)) {
nx = _root.cursor_mc_list[2].mc_cursor._x;
ny = _root.cursor_mc_list[2].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 2) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[2]);
return(undefined);
}
_parent._parent._parent.handd.play();
}
}
i++;
};
};
Symbol 572 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi6._alpha = 0;
}
}
if (this.sw1_6.getStat()) {
if (this.sw1_6._alpha == 100) {
this.sw1_7._alpha = 100;
this.swi7._alpha = 0;
}
}
if (this.sw1_7.getStat()) {
this.sw1_7.cnt = this.sw1_7.cnt - 1;
}
if (this.sw1_8.getStat()) {
if (this.sw1_8._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_9.getStat()) {
if (this.bx._alpha == 0) {
this.door1.gotoAndStop(2);
}
}
if (this.sw1_0.getStat()) {
if ((indic.ann == 1) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi10" in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.indic.ann == 1) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green1 = _parent.lone.green + _parent.ltwo.green;
green2 = _parent.lthree.green + _parent.lfour.green;
green3 = _parent.lfive.green + _parent.lsix.green;
green4 = _parent.lseven.green + _parent.leight.green;
gatez = _parent.sw1_1.onoff + _parent.sw1_1a.onoff;
gatez2 = _parent.sw1_2.onoff + _parent.sw1_2a.onoff;
gatez3 = _parent.sw1_3.onoff + _parent.sw1_3a.onoff;
gatez4 = _parent.sw1_4.onoff + _parent.sw1_4a.onoff;
if (_parent.indic.ann == 1) {
_alpha = 100;
}
}
Instance of Symbol 569 MovieClip "door" in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.gatez == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 569 MovieClip "door3" in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.gatez3 == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 569 MovieClip "door4" in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.gatez4 == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 573 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 576 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 576 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 582 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(16);
}
Instance of Symbol 171 MovieClip in Symbol 582 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 582 MovieClip Frame 2
trace("init2");
Symbol 582 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.rec4.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
mc_objects.mc_f1.spark.gotoAndStop(1);
mc_objects.mc_f1.spark2.gotoAndStop(1);
mc_objects.mc_f1.spark3.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
Symbol 582 MovieClip Frame 5
mc_objects.mc_f1.spark.gotoAndPlay(2);
mc_objects.mc_f1.spark2.gotoAndPlay(2);
mc_objects.mc_f1.spark3.gotoAndPlay(2);
Instance of Symbol 581 MovieClip in Symbol 582 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 582 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 582 MovieClip Frame 11
this.stop();
Symbol 582 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 122
if (_parent.door1.ddd == 0) {
gotoAndStop (232);
}
Symbol 585 MovieClip Frame 231
stop();
_parent.indic.nextFrame();
Symbol 585 MovieClip Frame 232
stop();
Symbol 586 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi6._alpha = 0;
}
}
if (this.sw1_6.getStat()) {
if (this.sw1_6._alpha == 100) {
this.sw1_7._alpha = 100;
this.swi7._alpha = 0;
}
}
if (this.sw1_7.getStat()) {
if (this.sw1_7._alpha == 100) {
this.sw1_8._alpha = 100;
this.swi8._alpha = 0;
}
}
if (this.sw1_8.getStat()) {
if (this.sw1_8._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_9.getStat()) {
if (this.bx._alpha == 0) {
this.door1.gotoAndStop(2);
}
}
if (this.sw1_0.getStat()) {
if ((indic.ann == 1) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi10" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.indic.ann == 1) {
_alpha = 0;
}
}
Instance of Symbol 432 MovieClip "swi2" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi3" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi4" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi7" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_7.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi6" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_6.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi5" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_5.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi8" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_8.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 586 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = _parent.lone.green + _parent.ltwo.green;
gatez = ((_parent.sw1_5.onoff + _parent.sw1_6.onoff) + _parent.sw1_7.onoff) + _parent.sw1_8.onoff;
if (_parent.indic.ann == 1) {
_alpha = 100;
}
}
Instance of Symbol 415 MovieClip "bx" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 50;
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_4" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_7" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_6" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_5" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_8" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Symbol 587 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 590 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 590 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 592 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(12);
}
Instance of Symbol 171 MovieClip in Symbol 592 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 592 MovieClip Frame 2
trace("init2");
Symbol 592 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door1.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.spark.gotoAndStop(1);
mc_objects.mc_f1.spark2.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
Symbol 592 MovieClip Frame 5
mc_objects.mc_f1.spark.gotoAndPlay(2);
mc_objects.mc_f1.spark2.gotoAndPlay(2);
Symbol 592 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 592 MovieClip Frame 11
this.stop();
Symbol 592 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 594 MovieClip Frame 1
stop();
ann = 0;
Symbol 594 MovieClip Frame 2
stop();
Symbol 594 MovieClip Frame 3
stop();
ann = 1;
Symbol 596 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 59
if (_parent.door1.ddd == 0) {
gotoAndStop (252);
}
Symbol 596 MovieClip Frame 138
if (_parent.door3.ddd == 0) {
gotoAndStop (252);
}
Symbol 596 MovieClip Frame 251
stop();
_parent.indic.nextFrame();
Symbol 596 MovieClip Frame 252
stop();
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 99
if (_parent.door2.ddd == 0) {
gotoAndStop (252);
}
Symbol 597 MovieClip Frame 179
if (_parent.door4.ddd == 0) {
gotoAndStop (252);
}
Symbol 597 MovieClip Frame 251
stop();
_parent.indic.nextFrame();
Symbol 597 MovieClip Frame 252
stop();
Symbol 598 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi6._alpha = 0;
}
}
if (this.sw1_6.getStat()) {
if (this.sw1_6._alpha == 100) {
this.sw1_7._alpha = 100;
this.swi7._alpha = 0;
}
}
if (this.sw1_7.getStat()) {
this.sw1_7.cnt = this.sw1_7.cnt - 1;
}
if (this.sw1_8.getStat()) {
if (this.sw1_8._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_9.getStat()) {
if (this.bx._alpha == 0) {
this.door1.gotoAndStop(2);
}
}
if (this.sw1_0.getStat()) {
if ((indic.ann == 1) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi10" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.indic.ann == 1) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green1 = _parent.lone.green + _parent.ltwo.green;
green2 = _parent.lthree.green + _parent.lfour.green;
green3 = _parent.lfive.green + _parent.lsix.green;
green4 = _parent.lseven.green + _parent.leight.green;
gatez = ((_parent.sw1_5.onoff + _parent.sw1_6.onoff) + _parent.sw1_7.onoff) + _parent.sw1_8.onoff;
if (_parent.indic.ann == 1) {
_alpha = 100;
}
}
Instance of Symbol 456 MovieClip "rec2" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green2 == 2) {
this.gotoAndStop(2);
_parent.lthree.gotoAndStop(2);
_parent.lfour.gotoAndStop(2);
_parent.door2.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lthree" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "lfour" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green1 == 2) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.door1.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "ltwo" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec3" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green3 == 2) {
this.gotoAndStop(2);
_parent.lfive.gotoAndStop(2);
_parent.lsix.gotoAndStop(2);
_parent.door3.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lfive" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_5.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "lsix" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_6.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec4" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green4 == 2) {
this.gotoAndStop(2);
_parent.lseven.gotoAndStop(2);
_parent.leight.gotoAndStop(2);
_parent.door4.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lseven" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_7.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "leight" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_8.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Symbol 599 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 602 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 602 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 604 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(15);
}
Instance of Symbol 171 MovieClip in Symbol 604 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 604 MovieClip Frame 2
trace("init2");
Symbol 604 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_0.green1 = 0;
mc_objects.mc_f1.sw1_0.green2 = 0;
mc_objects.mc_f1.sw1_0.green3 = 0;
mc_objects.mc_f1.sw1_0.green4 = 0;
mc_objects.mc_f1.sw1_0.gotoAndStop(1);
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_1.laser.shot = 0;
mc_objects.mc_f1.sw1_2.laser.shot = 0;
mc_objects.mc_f1.sw1_3.laser.shot = 0;
mc_objects.mc_f1.sw1_4.laser.shot = 0;
mc_objects.mc_f1.sw1_5.laser.shot = 0;
mc_objects.mc_f1.sw1_6.laser.shot = 0;
mc_objects.mc_f1.sw1_7.laser.shot = 0;
mc_objects.mc_f1.sw1_8.laser.shot = 0;
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.rec4.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door1.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
mc_objects.mc_f1.spark.gotoAndStop(1);
mc_objects.mc_f1.spark2.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
mc_objects.mc_f1.lfour.gotoAndStop(1);
mc_objects.mc_f1.lfive.gotoAndStop(1);
mc_objects.mc_f1.lsix.gotoAndStop(1);
mc_objects.mc_f1.lseven.gotoAndStop(1);
mc_objects.mc_f1.leight.gotoAndStop(1);
Symbol 604 MovieClip Frame 5
mc_objects.mc_f1.spark.gotoAndPlay(2);
mc_objects.mc_f1.spark2.gotoAndPlay(2);
Symbol 604 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 604 MovieClip Frame 11
this.stop();
Symbol 604 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 608 MovieClip Frame 1
function init() {
stat = "close";
life = 99;
setDisp();
}
function setStat(evt, target) {
if (evt == "press") {
life--;
if (life <= 0) {
life = 0;
_parent.door4.gotoAndStop(2);
} else if (_parent._visible) {
_root.playSE("se_click");
} else {
_root.playSE2("se_click");
}
setDisp();
}
return(evt);
}
function setDisp() {
if (life > 0) {
gotoAndStop ("locked");
return(undefined);
}
if (stat != "opened") {
stat = "opened";
gotoAndPlay ("open");
}
}
_parent._parent._parent.object_list.push(this);
stop();
this.onPress = function () {
if ((stat == "open") || (stat == "opened")) {
life = 0;
_parent.door4.gotoAndStop(2);
_root.playSE("se_up");
return(undefined);
}
_root.object_event = [this, "press"];
life--;
if (life <= 0) {
life = 0;
_parent.door4.gotoAndStop(2);
}
setDisp();
};
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 102
if (_parent.door4.ddd == 0) {
gotoAndStop (491);
}
Symbol 610 MovieClip Frame 190
if (_parent.door2.ddd == 0) {
gotoAndStop (491);
}
Symbol 610 MovieClip Frame 286
if (_parent.door1.ddd == 0) {
gotoAndStop (491);
}
Symbol 610 MovieClip Frame 369
if (_parent.door3.ddd == 0) {
gotoAndStop (491);
}
Symbol 610 MovieClip Frame 490
stop();
_parent.indic.nextFrame();
Symbol 610 MovieClip Frame 491
stop();
Symbol 611 MovieClip Frame 1
this.onEnterFrame = function () {
i = 1;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[3].getFloor() == 1) && (_root.cursor_mc_list[3].live_flg)) {
nx = _root.cursor_mc_list[3].mc_cursor._x;
ny = _root.cursor_mc_list[3].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 3) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[3]);
return(undefined);
}
_parent._parent._parent.hande.play();
}
}
i++;
};
};
Symbol 613 MovieClip Frame 1
this.onEnterFrame = function () {
i = 4;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[4].getFloor() == 1) && (_root.cursor_mc_list[4].live_flg)) {
nx = _root.cursor_mc_list[4].mc_cursor._x;
ny = _root.cursor_mc_list[4].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 4) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[4]);
return(undefined);
}
_parent._parent._parent.handf.play();
}
}
i++;
};
};
Symbol 614 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi6._alpha = 0;
}
}
if (this.sw1_6.getStat()) {
if (this.sw1_6._alpha == 100) {
this.sw1_7._alpha = 100;
this.swi7._alpha = 0;
}
}
if (this.sw1_7.getStat()) {
this.sw1_7.cnt = this.sw1_7.cnt - 1;
}
if (this.sw1_8.getStat()) {
if (this.sw1_8._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_9.getStat()) {
if (this.bx._alpha == 0) {
this.door1.gotoAndStop(2);
}
}
if (this.sw1_0.getStat()) {
if ((indic.ann == 1) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi10" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.indic.ann == 1) {
_alpha = 0;
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 614 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green1 = _parent.lone.green + _parent.ltwo.green;
green2 = _parent.lthree.green + _parent.lfour.green;
green3 = _parent.lfive.green + _parent.lsix.green;
gatez = ((_parent.sw1_5.onoff + _parent.sw1_6.onoff) + _parent.sw1_7.onoff) + _parent.sw1_8.onoff;
if (_parent.indic.ann == 1) {
_alpha = 100;
}
}
Instance of Symbol 456 MovieClip "rec2" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green2 == 2) {
this.gotoAndStop(2);
_parent.lthree.gotoAndStop(2);
_parent.lfour.gotoAndStop(2);
_parent.door2.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lthree" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "lfour" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec3" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green1 == 2) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.door3.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "ltwo" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green3 == 2) {
this.gotoAndStop(2);
_parent.lfive.gotoAndStop(2);
_parent.lsix.gotoAndStop(2);
_parent.door1.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lfive" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_5.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "lsix" in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_6.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 608 MovieClip "sw1_7" in Symbol 614 MovieClip Frame 1
onClipEvent (load) {
cnt = 99;
}
Symbol 615 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 618 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 618 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 624 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 624 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(14);
}
Instance of Symbol 171 MovieClip in Symbol 624 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 624 MovieClip Frame 2
trace("init2");
Symbol 624 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.life = 99;
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door1.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
mc_objects.mc_f1.sw1_0.green1 = 0;
mc_objects.mc_f1.sw1_0.green2 = 0;
mc_objects.mc_f1.sw1_0.green3 = 0;
mc_objects.mc_f1.sw1_0.green4 = 0;
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
mc_objects.mc_f1.lfour.gotoAndStop(1);
mc_objects.mc_f1.lfive.gotoAndStop(1);
mc_objects.mc_f1.lsix.gotoAndStop(1);
mc_objects.mc_f1.lseven.gotoAndStop(1);
mc_objects.mc_f1.leight.gotoAndStop(1);
mc_objects.mc_f1.spark.gotoAndStop(1);
mc_objects.mc_f1.spark2.gotoAndStop(1);
Symbol 624 MovieClip Frame 5
mc_objects.mc_f1.spark.gotoAndPlay(2);
mc_objects.mc_f1.spark2.gotoAndPlay(2);
Instance of Symbol 623 MovieClip in Symbol 624 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 624 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 624 MovieClip Frame 11
this.stop();
Symbol 624 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 626 MovieClip Frame 1
onoff = 0;
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 (_parent.bx._alpha == 0) {
if (this.press_cnt > 0) {
this.gotoAndStop("on");
return(undefined);
}
}
}
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 626 MovieClip Frame 5
stop();
onoff = 0;
Symbol 626 MovieClip Frame 10
stop();
onoff = 1;
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 241
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 242
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 243
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 244
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 245
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 246
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 247
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 248
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 249
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 250
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 251
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 252
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 253
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 254
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 378
if (_parent.door1.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 468
if (_parent.door2.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 535
if (_parent.door3.ddd == 0) {
gotoAndStop (679);
}
Symbol 627 MovieClip Frame 678
stop();
_parent.indic.nextFrame();
Symbol 627 MovieClip Frame 679
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 43
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 44
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 45
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 46
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 47
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 48
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 49
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 50
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 51
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 52
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 53
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 54
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 55
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 56
if (_parent.gate.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 180
if (_parent.door1.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 270
if (_parent.door2.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 337
if (_parent.door3.ddd == 0) {
gotoAndStop (679);
}
Symbol 629 MovieClip Frame 480
stop();
_parent.indic.nextFrame();
Symbol 629 MovieClip Frame 481
stop();
Symbol 630 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_9.getStat()) {
bx._alpha = 0;
}
if (this.sw1_3.getStat()) {
if (bx._alpha == 0) {
door3.gotoAndStop(2);
}
}
if (this.sw1_00.getStat()) {
bx2._alpha = 0;
}
if (this.sw1_10.getStat()) {
if (bx2._alpha == 0) {
door1.gotoAndStop(2);
this.sw1_10.gotoAndStop("on");
}
}
if (this.sw1_2.getStat()) {
}
if (this.sw1_4.getStat()) {
if ((indic.ann == 1) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
if (this.staire.onoff == 1) {
gr = 1;
}
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi2" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.indic.ann == 1) {
_alpha = 0;
}
}
Instance of Symbol 456 MovieClip "rec" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.green == 2) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.door2.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "ltwo" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 318 MovieClip "sw1_4" in Symbol 630 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = _parent.lone.green + _parent.ltwo.green;
gatez = ((_parent.sw1_5.onoff + _parent.sw1_6.onoff) + _parent.sw1_7.onoff) + _parent.sw1_8.onoff;
if (_parent.indic.ann == 1) {
_alpha = 100;
}
}
Instance of Symbol 415 MovieClip "bx" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 50;
}
Instance of Symbol 415 MovieClip "bx2" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 50;
}
Instance of Symbol 569 MovieClip "gate" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_4.gatez == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 631 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 634 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 634 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 636 MovieClip Frame 1
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(11);
}
Instance of Symbol 171 MovieClip in Symbol 636 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 636 MovieClip Frame 2
trace("init2");
Symbol 636 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door1.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.spark.gotoAndStop(1);
mc_objects.mc_f1.spark2.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
mc_objects.mc_f1.lfour.gotoAndStop(1);
mc_objects.mc_f1.lfive.gotoAndStop(1);
mc_objects.mc_f1.lsix.gotoAndStop(1);
mc_objects.mc_f1.lseven.gotoAndStop(1);
mc_objects.mc_f1.leight.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.green1 = 0;
mc_objects.mc_f1.sw1_4.green2 = 0;
mc_objects.mc_f1.sw1_4.green3 = 0;
mc_objects.mc_f1.sw1_4.green4 = 0;
Symbol 636 MovieClip Frame 5
mc_objects.mc_f1.spark.gotoAndPlay(2);
mc_objects.mc_f1.spark2.gotoAndPlay(2);
Symbol 636 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 636 MovieClip Frame 11
this.stop();
Symbol 636 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 638 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (((this.sw1_2._alpha == 100) && (gear.gr == 0)) && (_parent._parent.time > 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
_parent._parent.mc_objects.tik = 0;
}
}
if (this.staire.getStat()) {
}
this.staire.setDisp(true);
};
Instance of Symbol 313 MovieClip "swi" in Symbol 638 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 318 MovieClip "sw1_2" in Symbol 638 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Symbol 639 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 644 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
this.stra = ("Tine Left: " + _parent.time) + "sec";
stop();
Symbol 644 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 653 MovieClip Frame 43
_root.rest = 2;
_root.mmm.gotoAndPlay(2);
Symbol 654 MovieClip Frame 1
time = 5;
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 654 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(17);
}
Instance of Symbol 639 MovieClip "mc_objects" in Symbol 654 MovieClip Frame 1
onClipEvent (load) {
tik = 0;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
}
Instance of Symbol 171 MovieClip in Symbol 654 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 654 MovieClip Frame 2
trace("init2");
Symbol 654 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.rec4.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
Instance of Symbol 651 MovieClip in Symbol 654 MovieClip Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.ins == 0) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 639 MovieClip "mc_objects" in Symbol 654 MovieClip Frame 5
onClipEvent (load) {
tik = 0.03;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
if (_parent.time < 0) {
_parent.gotoAndStop("gameover2");
_parent.time = 0;
}
}
Symbol 654 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 654 MovieClip Frame 11
this.stop();
Symbol 654 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 654 MovieClip Frame 14
gotoAndPlay (1);
Symbol 658 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 15
_root.mc_main.gotoAndPlay(1);
Symbol 658 MovieClip Frame 31
_root.rest = 0;
Symbol 660 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
this.swi2._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi6._alpha = 0;
this.swi5._alpha = 0;
}
}
if (this.sw1_6.getStat()) {
if (this.sw1_6._alpha == 100) {
this.swi6._alpha = 0;
}
}
if ((this.sw1_0.getStat() && (this.gear.gr == 0)) && (_parent._parent.time > 0)) {
if (this.sw1_0._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
_parent._parent.mc_objects.tik = 0;
}
}
if (this.staire.getStat()) {
}
this.staire.setDisp(true);
};
Instance of Symbol 432 MovieClip "swi2" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_2.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi3" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi5" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_5.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 432 MovieClip "swi6" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_6.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 436 MovieClip "sw1_2" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_5" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 436 MovieClip "sw1_6" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 313 MovieClip "swi" in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
rrr = _parent.sw1_3.onoff + _parent.sw1_6.onoff;
}
onClipEvent (enterFrame) {
rrr = _parent.sw1_3.onoff + _parent.sw1_6.onoff;
if (((rrr == 2) && (_parent.sw1_3._alpha == 100)) && (_parent.sw1_6._alpha == 100)) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
rrr = _parent.sw1_3.onoff + _parent.sw1_6.onoff;
}
onClipEvent (enterFrame) {
rrr = _parent.sw1_3.onoff + _parent.sw1_6.onoff;
if (((rrr == 2) && (_parent.sw1_3._alpha == 100)) && (_parent.sw1_6._alpha == 100)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 661 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 665 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
this.stra = ("Tine Left: " + _parent.time) + "sec";
stop();
Symbol 665 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 668 MovieClip Frame 1
time = 15;
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(18);
}
Instance of Symbol 661 MovieClip "mc_objects" in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
tik = 0;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
}
Instance of Symbol 171 MovieClip in Symbol 668 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 668 MovieClip Frame 2
trace("init2");
Symbol 668 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.rec4.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
Instance of Symbol 661 MovieClip "mc_objects" in Symbol 668 MovieClip Frame 5
onClipEvent (load) {
tik = 0.03;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
if (_parent.time < 0) {
_parent.gotoAndStop("gameover2");
_parent.time = 0;
}
}
Symbol 668 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 668 MovieClip Frame 11
this.stop();
Symbol 668 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 668 MovieClip Frame 14
gotoAndPlay (1);
Symbol 670 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_a._alpha = 100;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_0._alpha = 100;
this.swi._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_b._alpha = 100;
}
}
if ((this.sw1_0.getStat() && (this.gear.gr == 0)) && (_parent._parent.time > 0)) {
if (this.sw1_0._alpha == 100) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
_parent._parent.mc_objects.tik = 0;
}
}
if (this.staire.getStat()) {
}
this.staire.setDisp(true);
};
Instance of Symbol 432 MovieClip "swi3" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_3.onoff == 0) {
_alpha = 100;
}
}
Instance of Symbol 388 MovieClip "swi5" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 388 MovieClip "swi4a" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
}
Instance of Symbol 436 MovieClip "sw1_3" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.onoff == 0) {
_alpha = 0;
}
}
Instance of Symbol 305 MovieClip "sw1_b" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 305 MovieClip "sw1_5" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 456 MovieClip "rec" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green == 3) {
this.gotoAndStop(2);
_parent.lone.gotoAndStop(2);
_parent.ltwo.gotoAndStop(2);
_parent.lthree.gotoAndStop(2);
_parent.swi4a._alpha = 0;
_parent.sw1_4._alpha = 100;
}
}
Instance of Symbol 460 MovieClip "lone" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_6.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "ltwo" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_7.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "lthree" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_8.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 305 MovieClip "sw1_a" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 305 MovieClip "sw1_4" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 313 MovieClip "swi" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
rrr = _parent.sw1_3.onoff + _parent.sw1_6.onoff;
}
onClipEvent (enterFrame) {
rrr = _parent.sw1_3.onoff + _parent.sw1_6.onoff;
if (((rrr == 2) && (_parent.sw1_3._alpha == 100)) && (_parent.sw1_6._alpha == 100)) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
green = (_parent.lone.green + _parent.ltwo.green) + _parent.lthree.green;
if ((_parent.sw1_a._alpha == 100) && (_parent.sw1_b._alpha == 100)) {
_parent.sw1_2._alpha = 100;
_parent.swi2._alpha = 0;
} else {
_parent.sw1_2._alpha = 0;
_parent.swi2._alpha = 100;
}
}
Symbol 671 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 675 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
this.stra = ("Tine Left: " + _parent.time) + "sec";
stop();
Symbol 675 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 679 MovieClip Frame 1
time = 25;
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(19);
}
Instance of Symbol 671 MovieClip "mc_objects" in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
tik = 0;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
}
Instance of Symbol 171 MovieClip in Symbol 679 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 679 MovieClip Frame 2
trace("init2");
Symbol 679 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_a.gotoAndStop(1);
mc_objects.mc_f1.sw1_b.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.rec4.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.lone.gotoAndStop(1);
mc_objects.mc_f1.ltwo.gotoAndStop(1);
mc_objects.mc_f1.lthree.gotoAndStop(1);
mc_objects.mc_f1.lfour.gotoAndStop(1);
mc_objects.mc_f1.lfive.gotoAndStop(1);
mc_objects.mc_f1.lsix.gotoAndStop(1);
mc_objects.mc_f1.lseven.gotoAndStop(1);
mc_objects.mc_f1.leight.gotoAndStop(1);
mc_objects.mc_f1.sw1_0.green1 = 0;
mc_objects.mc_f1.sw1_0.green2 = 0;
mc_objects.mc_f1.sw1_0.green3 = 0;
mc_objects.mc_f1.sw1_0.green4 = 0;
Instance of Symbol 671 MovieClip "mc_objects" in Symbol 679 MovieClip Frame 5
onClipEvent (load) {
tik = 0.03;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
if (_parent.time < 0) {
_parent.gotoAndStop("gameover2");
_parent.time = 0;
}
}
Symbol 679 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 679 MovieClip Frame 11
this.stop();
Symbol 679 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 679 MovieClip Frame 14
gotoAndPlay (1);
Instance of Symbol 682 MovieClip in Symbol 683 MovieClip Frame 1
onClipEvent (load) {
speed = 0.5 + random(2);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 684 MovieClip Frame 1
stop();
gr = 0;
Symbol 684 MovieClip Frame 2
gr = 1;
Symbol 684 MovieClip Frame 21
stop();
Symbol 685 MovieClip Frame 1
this.onEnterFrame = function () {
i = 5;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[5].getFloor() == 1) && (_root.cursor_mc_list[5].live_flg)) {
nx = _root.cursor_mc_list[5].mc_cursor._x;
ny = _root.cursor_mc_list[5].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 5) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[5]);
return(undefined);
}
_parent._parent._parent.handg.play();
}
}
i++;
};
};
Symbol 686 MovieClip Frame 1
this.onEnterFrame = function () {
i = 6;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[6].getFloor() == 1) && (_root.cursor_mc_list[6].live_flg)) {
nx = _root.cursor_mc_list[6].mc_cursor._x;
ny = _root.cursor_mc_list[6].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 6) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[6]);
return(undefined);
}
_parent._parent._parent.handh.play();
}
}
i++;
};
};
Symbol 687 MovieClip Frame 1
this.onEnterFrame = function () {
i = 7;
for(;;){
if (i >= _root.cursor_mc_list.length) {
return(undefined);
}
if ((_root.cursor_mc_list[7].getFloor() == 1) && (_root.cursor_mc_list[7].live_flg)) {
nx = _root.cursor_mc_list[7].mc_cursor._x;
ny = _root.cursor_mc_list[7].mc_cursor._y;
if (this.hitTest(nx, ny, true)) {
if (_parent._parent._parent.cursor_num == 7) {
_parent._parent._parent.hand.play();
_parent.mc_cursorEater.go(_root.cursor_mc_list[7]);
return(undefined);
}
_parent._parent._parent.handi.play();
}
}
i++;
};
};
Symbol 688 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi2._alpha = 0;
}
if (this.sw1_2.getStat()) {
if (this.sw1_2._alpha == 100) {
this.sw1_3._alpha = 100;
this.swi3._alpha = 0;
}
}
if (this.sw1_3.getStat()) {
if (this.sw1_3._alpha == 100) {
this.sw1_4._alpha = 100;
this.swi4._alpha = 0;
}
}
if (this.sw1_4.getStat()) {
if (this.sw1_4._alpha == 100) {
this.sw1_5._alpha = 100;
this.swi5._alpha = 0;
}
}
if (this.sw1_5.getStat()) {
if (this.sw1_5._alpha == 100) {
this.sw1_6._alpha = 100;
this.swi6._alpha = 0;
}
}
if (this.sw1_6.getStat()) {
if (this.sw1_6._alpha == 100) {
this.sw1_7._alpha = 100;
this.swi7._alpha = 0;
}
}
if (this.sw1_7.getStat()) {
if (this.sw1_7._alpha == 100) {
this.sw1_8._alpha = 100;
this.swi8._alpha = 0;
}
}
if (this.sw1_8.getStat()) {
if (this.sw1_8._alpha == 100) {
this.bx._alpha = 0;
}
}
if (this.sw1_9.getStat()) {
if (this.bx._alpha == 0) {
this.door1.gotoAndStop(2);
}
}
if (this.sw1_0.getStat()) {
if (((this.sw1_0._alpha == 100) && (this.swi._alpha == 0)) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
_parent._parent.mc_objects.tik = 0;
}
}
if (this.staire.getStat()) {
}
this.staire.setDisp(true);
};
Instance of Symbol 456 MovieClip "rec3" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green3 == 2) {
this.gotoAndStop(2);
_parent.l5.gotoAndStop(2);
_parent.l6.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "l5" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_c1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "l6" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_c2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec4" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green4 == 2) {
this.gotoAndStop(2);
_parent.l7.gotoAndStop(2);
_parent.l8.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "l7" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_d1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "l8" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_d2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green == 2) {
this.gotoAndStop(2);
_parent.l1.gotoAndStop(2);
_parent.l2.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "l1" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_a1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "l2" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_a2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 456 MovieClip "rec2" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_0.green2 == 2) {
this.gotoAndStop(2);
_parent.l3.gotoAndStop(2);
_parent.l4.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "l3" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_b1.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 460 MovieClip "l4" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.sw1_b2.laser.shot == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 318 MovieClip "sw1_0" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
green = _parent.l1.green + _parent.l2.green;
green2 = _parent.l3.green + _parent.l4.green;
green3 = _parent.l5.green + _parent.l6.green;
green4 = _parent.l7.green + _parent.l8.green;
if ((((((((((((_parent.sw1_1.onoff + _parent.sw1_2.onoff) + _parent.sw1_3.onoff) + _parent.sw1_4.onoff) + _parent.sw1_5.onoff) + _parent.sw1_6.onoff) + _parent.sw1_7.onoff) + _parent.sw1_8.onoff) + _parent.rec.onoff) + _parent.rec2.onoff) + _parent.rec3.onoff) + _parent.rec4.onoff) == 12) {
this._alpha = 100;
_parent.swi._alpha = 0;
} else {
this._alpha = 0;
_parent.swi._alpha = 100;
}
}
Symbol 689 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 693 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
this.stra = ("Tine Left: " + _parent.time) + "sec";
stop();
Symbol 693 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 697 MovieClip Frame 1
time = 33;
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 697 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(20);
}
Instance of Symbol 689 MovieClip "mc_objects" in Symbol 697 MovieClip Frame 1
onClipEvent (load) {
tik = 0;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
}
Instance of Symbol 171 MovieClip in Symbol 697 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 697 MovieClip Frame 2
trace("init2");
Symbol 697 MovieClip Frame 4
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.sw1_8.gotoAndStop(1);
mc_objects.mc_f1.sw1_9.gotoAndStop(1);
mc_objects.mc_f1.sw1_a1.gotoAndStop(1);
mc_objects.mc_f1.sw1_b1.gotoAndStop(1);
mc_objects.mc_f1.sw1_c1.gotoAndStop(1);
mc_objects.mc_f1.sw1_d1.gotoAndStop(1);
mc_objects.mc_f1.sw1_a2.gotoAndStop(1);
mc_objects.mc_f1.sw1_b2.gotoAndStop(1);
mc_objects.mc_f1.sw1_c2.gotoAndStop(1);
mc_objects.mc_f1.sw1_d2.gotoAndStop(1);
mc_objects.mc_f1.sw1_10.gotoAndStop(1);
mc_objects.mc_f1.sw1_00.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
mc_objects.mc_f1.rec2.gotoAndStop(1);
mc_objects.mc_f1.rec3.gotoAndStop(1);
mc_objects.mc_f1.rec4.gotoAndStop(1);
mc_objects.mc_f1.gate.gotoAndStop(1);
mc_objects.mc_f1.door.gotoAndStop(1);
mc_objects.mc_f1.door2.gotoAndStop(1);
mc_objects.mc_f1.door3.gotoAndStop(1);
mc_objects.mc_f1.door4.gotoAndStop(1);
mc_objects.mc_f1.indic.gotoAndStop(1);
mc_objects.mc_f1.l1.gotoAndStop(1);
mc_objects.mc_f1.l2.gotoAndStop(1);
mc_objects.mc_f1.l3.gotoAndStop(1);
mc_objects.mc_f1.l4.gotoAndStop(1);
mc_objects.mc_f1.l5.gotoAndStop(1);
mc_objects.mc_f1.l6.gotoAndStop(1);
mc_objects.mc_f1.l7.gotoAndStop(1);
mc_objects.mc_f1.l8.gotoAndStop(1);
mc_objects.mc_f1.sw1_0.green1 = 0;
mc_objects.mc_f1.sw1_0.green2 = 0;
mc_objects.mc_f1.sw1_0.green3 = 0;
mc_objects.mc_f1.sw1_0.green4 = 0;
Instance of Symbol 689 MovieClip "mc_objects" in Symbol 697 MovieClip Frame 5
onClipEvent (load) {
tik = 0.03;
}
onClipEvent (enterFrame) {
_parent.time = _parent.time - tik;
if (_parent.time < 0) {
_parent.gotoAndStop("gameover2");
_parent.time = 0;
}
}
Symbol 697 MovieClip Frame 6
this.stat = "init";
this.stop();
Mouse.hide();
Symbol 697 MovieClip Frame 11
this.stop();
Symbol 697 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 697 MovieClip Frame 14
gotoAndPlay (1);
Instance of Symbol 683 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Instance of Symbol 148 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
speed = 1.5 - (random(3000) / 3000);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
}
Symbol 724 MovieClip Frame 16
stop();
Symbol 733 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");
return(undefined);
}
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 733 MovieClip Frame 10
if (_root.itson == 1) {
_root.itson = 2;
_parent._parent._parent.gotoAndStop(7);
}
Instance of Symbol 304 MovieClip in Symbol 733 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent._alpha == 100) {
gotoAndStop (2);
}
}
Symbol 735 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");
return(undefined);
}
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();
};
Instance of Symbol 304 MovieClip in Symbol 735 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent._alpha == 100) {
gotoAndStop (2);
}
}
Symbol 737 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");
return(undefined);
}
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();
};
Instance of Symbol 304 MovieClip in Symbol 737 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent._alpha == 100) {
gotoAndStop (2);
}
}
Symbol 738 MovieClip Frame 1
gr = 0;
this.stop();
this.onEnterFrame = function () {
if (this.sw1_1.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_3.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_4.getStat()) {
this.sw1_2._alpha = 100;
this.swi._alpha = 0;
}
if (this.sw1_2.getStat()) {
if ((this.sw1_2._alpha == 100) && (gear.gr == 0)) {
gear.gotoAndPlay(2);
_parent._parent.kkkz.gotoAndPlay(2);
}
}
if (this.staire.getStat()) {
}
this.staire.setDisp(true);
};
Instance of Symbol 731 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.itson == 0) {
_x = 127.8;
} else {
_x = -100;
}
}
Instance of Symbol 733 MovieClip "sw1_1" in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.itson == 1) {
_x = 127.8;
} else {
_x = -100;
}
}
Instance of Symbol 735 MovieClip "sw1_3" in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.itson == 2) {
_x = 127.8;
} else {
_x = -100;
}
}
Instance of Symbol 737 MovieClip "sw1_4" in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_x = 127.8;
} else {
_x = -100;
}
}
Instance of Symbol 313 MovieClip "swi" in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 100;
}
Instance of Symbol 318 MovieClip "sw1_2" in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = 0;
}
Instance of Symbol 320 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.itson == 2) {
_x = 238.5;
} else {
_x = 700;
}
}
Symbol 739 MovieClip Frame 1
function setFloor(n) {
i = 1;
for(;;){
if (i > 16) {
return(undefined);
}
if (i == n) {
this["mc_f" + i]._visible = true;
} else {
this["mc_f" + i]._visible = false;
}
i++;
};
}
this.stop();
Symbol 745 Button
on (release) {
_root.ggg.gotoAndPlay(2);
_root.rest = 3;
}
Symbol 747 Button
on (release) {
nextFrame();
}
Symbol 750 Button
on (release) {
_global.ins = 1;
gotoAndStop (3);
}
Symbol 752 Button
on (release) {
_global.ins = 0;
gotoAndStop (3);
}
Symbol 758 MovieClip Frame 1
stop();
Symbol 758 MovieClip Frame 2
stop();
Symbol 758 MovieClip Frame 3
_root.ggg.gotoAndPlay(2);
_root.rest = 3;
stop();
Symbol 761 Button
on (press, release) {
nextFrame();
Mouse.hide();
_parent.count.hndc = 1;
}
Symbol 764 MovieClip Frame 1
this.str = ("Cursor Nr: " + (1 + _parent.cursor_num)) + "";
stop();
Symbol 764 MovieClip Frame 30
_parent.play();
this.stop();
Symbol 771 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 36
stop();
Symbol 778 Button
on (release) {
_parent.ggg.play();
_root.rest = 3;
}
Symbol 785 MovieClip Frame 1
stop();
function main() {
if (((__reg0 = stat)) === "init") {
initCursor();
} else if (!(__reg0 === "stay")) {
if (__reg0 === "run") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "eaten") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
} else if (__reg0 === "death") {
runCursor();
if (floor_num < 16) {
fcnt_d = fcnt;
if (fnct_d < 0) {
fcnt_d = 0;
}
if (fcnt < 0) {
cursor_num++;
last_cursor = 9 - cursor_num;
_parent.mc_last.setNum(last_cursor);
clearCursor();
if (last_cursor < 0) {
stat = "gameover";
gotoAndStop ("gameover");
} else {
stat = "standby";
gotoAndStop ("ready");
}
} else {
fcnt--;
}
}
}
}
if (get_coin_cnt >= _root.high_score) {
_root.high_score = get_coin_cnt;
}
}
function clearFloor16() {
stat = "clear";
gotoAndStop ("clear");
}
function initFloor() {
floor_num = 1;
_root.object_event = [];
mc_objects.setFloor(floor_num);
i = 0;
while (i < object_list.length) {
object_list[i].init();
i++;
}
i = 1;
while (i <= 15) {
if (mc_objects["mc_f" + i].mc_key != undefined) {
mc_objects["mc_f" + i].mc_key.removeMovieClip();
}
i++;
}
resetKey(270, 100, 6, "stay");
}
function initCursor() {
var _local4 = 9 - cursor_num;
_parent.mc_last.setNum(_local4);
mflg = false;
fcnt = 7.5E19;
get_coin_cnt = 0;
depth_past = 4000;
depth_my_cursor = 5000;
depth_hamon = 100;
_root.cursor_mc_list = [];
setCursor();
stat = "run";
this.attachMovie("cursor", "mc_cursor", depth_my_cursor);
mc_cursor.current_flg = true;
_root.cursor_mc_list.push(mc_cursor);
mc_cursor._visible = false;
mc_objects.mc_f2.mc_cursorEater.init();
remote_cnt = 0;
mc_objects.mc_f12.mc_stair.init();
mc_objects.mc_f8.mc_click100.init();
}
function runCursor() {
if (((__reg0 = stat)) === "run") {
nx = _root._xmouse;
ny = _root._ymouse;
ca[cursor_num].push([nx, ny, _root.object_event, floor_num]);
mc_cursor.mc_cursor._x = nx;
mc_cursor.mc_cursor._y = ny;
if (_root.object_event[1] == "press") {
makeHamon(nx, ny);
}
_root.object_event = [];
return(undefined);
}
if (__reg0 === "eaten") {
ca[cursor_num].push([nx, ny, [this, "death"], floor_num]);
stat = "death";
return(undefined);
}
ca[cursor_num].push([nx, ny, [], floor_num]);
return(undefined);
}
function eaten() {
if (stat == "run") {
stat = "eaten";
mc_cursor.eaten();
}
}
function death() {
fcnt = 0;
}
function setCursor() {
i = 0;
for(;;){
if (i >= cursor_num) {
return(undefined);
}
mc_name = "mc_past" + i;
this.attachMovie("past", mc_name, depth_past++);
this[mc_name].ca = ca[i];
this[mc_name].my_num = i + 1;
this[mc_name].current_flg = false;
this[mc_name]._visible = false;
_root.cursor_mc_list.push(this[mc_name]);
i++;
};
}
function upStairs(n) {
if (stat != "clear") {
floor_num = floor_num + n;
if (floor_num < 0) {
floor_num = 0;
}
mc_cursor.setFloor(floor_num);
mc_objects.setFloor(floor_num);
}
}
function clearCursor() {
mc_cursor.removeMovieClip();
i = 0;
for(;;){
if (i >= this.cursor_num) {
return(undefined);
}
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;
}
function resetKey(nx, ny, nfloor, nmode) {
key_set_mc = _root.mc_main.mc_objects["mc_f" + nfloor];
key_set_mc.attachMovie("Key", "mc_key", 100);
key_set_mc.mc_key._x = nx + 6;
key_set_mc.mc_key._y = ny + 54;
key_set_mc.mc_key.stat = nmode;
}
trace("init");
ca = [[], [], [], [], [], [], [], [], [], []];
stat = "standby";
cursor_num = 0;
object_list = [];
this.onEnterFrame = function () {
main();
};
Instance of Symbol 297 MovieClip in Symbol 785 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 171 MovieClip in Symbol 785 MovieClip Frame 1
on (release) {
getURL ("http://www.maxgames.com/", "_blank");
}
Symbol 785 MovieClip Frame 2
stop();
trace("init2");
Symbol 785 MovieClip Frame 3
play();
Symbol 785 MovieClip Frame 4
stop();
this.initFloor();
this.stop();
Mouse.show();
sft = cursor_num + 1;
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
mc_objects.mc_f1.sw1_2.gotoAndStop(1);
mc_objects.mc_f1.sw1_3.gotoAndStop(1);
mc_objects.mc_f1.sw1_4.gotoAndStop(1);
mc_objects.mc_f1.sw1_5.gotoAndStop(1);
mc_objects.mc_f1.sw1_6.gotoAndStop(1);
mc_objects.mc_f1.sw1_7.gotoAndStop(1);
mc_objects.mc_f1.rec.gotoAndStop(1);
Instance of Symbol 764 MovieClip in Symbol 785 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 766 MovieClip in Symbol 785 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.itson == 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 768 MovieClip in Symbol 785 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 744 MovieClip in Symbol 785 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 770 MovieClip in Symbol 785 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 785 MovieClip Frame 6
stop();
if (_root.itson == 0) {
_root.itson = 1;
}
this.stat = "init";
this.stop();
Mouse.hide();
Instance of Symbol 773 MovieClip in Symbol 785 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.itson == 1) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 777 MovieClip in Symbol 785 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 785 MovieClip Frame 7
stop();
Instance of Symbol 744 MovieClip in Symbol 785 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.itson == 2) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 782 MovieClip in Symbol 785 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.itson == 2) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 777 MovieClip in Symbol 785 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.itson == 3) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Symbol 785 MovieClip Frame 8
stop();
this.stat = "init";
this.stop();
Mouse.hide();
mc_objects.mc_f1.sw1_1.gotoAndStop(1);
Symbol 785 MovieClip Frame 11
this.stop();
Symbol 785 MovieClip Frame 13
Mouse.show();
this.clearCursor();
Symbol 789 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 15
stop();
if (_root.rest == 1) {
stopAllSounds();
_root.gotoAndStop(3);
}
if (_root.rest == 2) {
_root.mc_main.gotoAndPlay("gameover");
_root.itson = 0;
play();
}
if (_root.rest == 3) {
_root.gotoAndStop(5);
}
Symbol 789 MovieClip Frame 31
_root.rest = 0;