Combined Code
frame 1 {
Stage.scaleMode = false;
Stage.showMenu = false;
strucload = 0;
powerload = 0;
weapload = 0;
neurload = 0;
bytesloaded = 0;
bytestotal = getBytesTotal();
KeyLeftNum = 37;
KeyRightNum = 39;
KeyJumpNum = 38;
KeyShootNum = 32;
KeyDashNum = 35;
KeyPauseNum = 36;
KeyLeft = 'Left Arrow';
KeyRight = 'Right Arrow';
KeyJump = 'Up Arrow';
KeyShoot = 'Spacebar';
KeyDash = 'End';
KeyPause = 'Home';
twopressdash = false;
delayvalue = 15;
stop();
}
movieClip 3 {
}
instance of movieClip 3 {
onClipEvent (enterFrame) {
if (strucload == 100 and this._alpha < 100 and _root._currentframe == 1) {
this._x += 5;
eval(this)._alpha = this._alpha + 10;
}
if (this._alpha > 0 and _root._currentframe == 2) {
eval(this)._alpha = this._alpha - 10;
}
}
}
instance of movieClip 3 {
onClipEvent (enterFrame) {
if (powerload == 100 and this._alpha < 100 and _root._currentframe == 1) {
this._x += 5;
eval(this)._alpha = this._alpha + 10;
}
if (this._alpha > 0 and _root._currentframe == 2) {
eval(this)._alpha = this._alpha - 10;
}
}
}
instance of movieClip 3 {
onClipEvent (enterFrame) {
if (weapload == 100 and this._alpha < 100 and _root._currentframe == 1) {
this._x += 5;
eval(this)._alpha = this._alpha + 10;
}
if (this._alpha > 0 and _root._currentframe == 2) {
eval(this)._alpha = this._alpha - 10;
}
}
}
movieClip 16 {
}
movieClip 22 {
}
instance of movieClip 22 {
onClipEvent (enterFrame) {
_root.bytesloaded = _root.getBytesLoaded();
bytestotal = _root.bytestotal;
bytesloaded = _root.bytesloaded;
if (bytesloaded / _root.bytestotal <= 0.25) {
_root.strucload = int(400 * (bytesloaded / bytestotal));
} else {
if (bytesloaded / bytestotal <= 0.5) {
_root.strucload = 100;
_root.powerload = int(400 * (bytesloaded / bytestotal - 0.25));
} else {
if (bytesloaded / bytestotal <= 0.75) {
_root.strucload = 100;
_root.powerload = 100;
_root.weapload = int(400 * (bytesloaded / bytestotal - 0.5));
} else {
if (bytesloaded / bytestotal <= 1) {
_root.strucload = 100;
_root.powerload = 100;
_root.weapload = 100;
_root.neurload = int(400 * (bytesloaded / bytestotal - 0.75));
}
}
}
}
if (bytesloaded == bytestotal) {
_root.play();
}
}
}
movieClip 35 {
frame 1 {
if (_root.neurload > 99) {
gotoAndStop(1);
}
}
frame 20 {
if (_root.strucload < 100) {
gotoAndPlay(1);
}
}
frame 40 {
if (_root.powerload < 100) {
gotoAndPlay(21);
}
}
frame 60 {
if (_root.weapload < 100) {
gotoAndPlay(41);
}
}
frame 80 {
if (_root.neurload < 100) {
gotoAndPlay(61);
} else {
gotoAndStop(1);
}
}
}
frame 2 {
stop();
}
movieClip 41 {
}
movieClip 45 {
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 59 {
}
movieClip 60 {
frame 270 {
_root.play();
}
}
frame 3 {
_quality = 'HIGH';
eval(_root)._alpha = 100;
stop();
}
movieClip 66 {
}
movieClip 67 {
frame 20 {
stop();
}
}
button 69 {
on (release) {
stopAllSounds();
gotoAndStop(8);
}
}
movieClip 74 {
}
button 76 {
on (release) {
_root.gotoAndStop(5);
}
}
button 84 {
on (release) {
_root.nextFrame();
}
}
frame 4 {
stop();
}
movieClip 96 {
}
button 98 {
on (release) {
_root.prevFrame();
}
}
movieClip 105 {
}
instance of movieClip 105 {
onClipEvent (release) {
_root.gotoAndStop(7);
}
}
movieClip 109 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 109 {
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
if (_currentframe == 1) {
_root.twopressdash = false;
this.gotoAndStop(2);
} else {
_root.twopressdash = true;
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.twopressdash) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
movieClip 134 {
}
movieClip 148 {
}
button 157 {
on (release) {
_root.nextFrame();
}
}
button 159 {
on (release) {
_root.gotoAndStop(3);
}
}
movieClip 169 {
}
movieClip 173 {
}
movieClip 181 {
frame 1 {
stop();
}
frame 6 {
gotoAndStop(1);
}
frame 7 {
stop();
}
}
movieClip 202 {
}
movieClip 256 {
}
frame 7 {
stop();
}
button 259 {
on (release) {
_root.gotoAndStop(4);
}
}
movieClip 266 {
frame 1 {
stop();
}
instance of movieClip 173 {
onClipEvent (keyUp) {
oldnum = _root.Keyleftnum;
old = _root.Keyleft;
_root.Keyleftnum = Key.getCode();
if (_root.Keyleftnum == 8) {
_root.Keyleft = 'Backspace';
} else {
if (_root.Keyleftnum == 20) {
_root.Keyleft = 'Caps Lock';
} else {
if (_root.Keyleftnum == 17) {
_root.Keyleft = 'Control';
} else {
if (_root.Keyleftnum == 46) {
_root.Keyleft = 'Delete';
} else {
if (_root.Keyleftnum == 40) {
_root.Keyleft = 'Down Arrow';
} else {
if (_root.Keyleftnum == 35) {
_root.Keyleft = 'End';
} else {
if (_root.Keyleftnum == 13) {
_root.Keyleft = 'Enter';
} else {
if (_root.Keyleftnum == 27) {
_root.Keyleft = 'Escape';
} else {
if (_root.Keyleftnum == 36) {
_root.Keyleft = 'Home';
} else {
if (_root.Keyleftnum == 45) {
_root.Keyleft = 'Insert';
} else {
if (_root.Keyleftnum == 37) {
_root.Keyleft = 'Left Arrow';
} else {
if (_root.Keyleftnum == 34) {
_root.Keyleft = 'Page Down';
} else {
if (_root.Keyleftnum == 33) {
_root.Keyleft = 'Page Up';
} else {
if (_root.Keyleftnum == 39) {
_root.Keyleft = 'Right Arrow';
} else {
if (_root.Keyleftnum == 16) {
_root.Keyleft = 'Shift';
} else {
if (_root.Keyleftnum == 32) {
_root.Keyleft = 'Spacebar';
} else {
if (_root.Keyleftnum == 9) {
_root.Keyleft = 'Tab';
} else {
if (_root.Keyleftnum == 38) {
_root.Keyleft = 'Up Arrow';
} else {
if (_root.Keyleftnum == 18) {
_root.Keyleft = 'Alt';
} else {
if (_root.Keyleftnum == 106) {
_root.Keyleft = 'Numpad *';
} else {
if (_root.Keyleftnum == 107) {
_root.Keyleft = 'Numpad +';
} else {
if (_root.Keyleftnum == 108) {
_root.Keyleft = 'Numpad Enter';
} else {
if (_root.Keyleftnum == 109) {
_root.Keyleft = 'Numpad -';
} else {
if (_root.Keyleftnum == 110) {
_root.Keyleft = 'Numpad .';
} else {
if (_root.Keyleftnum == 111) {
_root.Keyleft = 'Numpad /';
} else {
if (_root.Keyleftnum == 144) {
_root.Keyleft = 'NumLock';
} else {
if (_root.Keyleftnum == 186) {
_root.Keyleft = ': or ;';
} else {
if (_root.Keyleftnum == 187) {
_root.Keyleft = '= or +';
} else {
if (_root.Keyleftnum == 189) {
_root.Keyleft = '- or _';
} else {
if (_root.Keyleftnum == 192) {
_root.Keyleft = '` or ~';
} else {
if (_root.Keyleftnum == 219) {
_root.Keyleft = '[ or {';
} else {
if (_root.Keyleftnum == 220) {
_root.Keyleft = '\\or |';
} else {
if (_root.Keyleftnum == 221) {
_root.Keyleft = '] or }';
} else {
if (_root.Keyleftnum == 222) {
_root.Keyleft = '" or \'';
} else {
if (_root.Keyleftnum > 95 and _root.Keyleftnum < 106) {
_root.Keyleft = 'Numpad ' + String(_root.Keyleftnum - 96);
} else {
if (_root.Keyleftnum > 111 and _root.Keyleftnum < 127) {
_root.Keyleft = 'F' + String(_root.Keyleftnum - 111);
} else {
_root.Keyleft = String.fromCharCode(_root.Keyleftnum);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.Keyleft == _root.Keyright or _root.Keyleft == _root.KeyJump or _root.Keyleft == _root.KeyDash or _root.Keyleft == _root.KeyPause or _root.Keyleft == _root.KeyShoot) {
_root.Keyleftnum = oldnum;
_root.Keyleft = old;
_root.error.gotoAndPlay(2);
} else {
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
instance of movieClip 173 {
onClipEvent (keyUp) {
oldnum = _root.Keyrightnum;
old = _root.Keyright;
_root.Keyrightnum = Key.getCode();
if (_root.Keyrightnum == 8) {
_root.Keyright = 'Backspace';
} else {
if (_root.Keyrightnum == 20) {
_root.Keyright = 'Caps Lock';
} else {
if (_root.Keyrightnum == 17) {
_root.Keyright = 'Control';
} else {
if (_root.Keyrightnum == 46) {
_root.Keyright = 'Delete';
} else {
if (_root.Keyrightnum == 40) {
_root.Keyright = 'Down Arrow';
} else {
if (_root.Keyrightnum == 35) {
_root.Keyright = 'End';
} else {
if (_root.Keyrightnum == 13) {
_root.Keyright = 'Enter';
} else {
if (_root.Keyrightnum == 27) {
_root.Keyright = 'Escape';
} else {
if (_root.Keyrightnum == 36) {
_root.Keyright = 'Home';
} else {
if (_root.Keyrightnum == 45) {
_root.Keyright = 'Insert';
} else {
if (_root.Keyrightnum == 37) {
_root.Keyright = 'Left Arrow';
} else {
if (_root.Keyrightnum == 34) {
_root.Keyright = 'Page Down';
} else {
if (_root.Keyrightnum == 33) {
_root.Keyright = 'Page Up';
} else {
if (_root.Keyrightnum == 39) {
_root.Keyright = 'Right Arrow';
} else {
if (_root.Keyrightnum == 16) {
_root.Keyright = 'Shift';
} else {
if (_root.Keyrightnum == 32) {
_root.Keyright = 'Spacebar';
} else {
if (_root.Keyrightnum == 9) {
_root.Keyright = 'Tab';
} else {
if (_root.Keyrightnum == 38) {
_root.Keyright = 'Up Arrow';
} else {
if (_root.Keyrightnum == 18) {
_root.Keyright = 'Alt';
} else {
if (_root.Keyrightnum == 106) {
_root.Keyright = 'Numpad *';
} else {
if (_root.Keyrightnum == 107) {
_root.Keyright = 'Numpad +';
} else {
if (_root.Keyrightnum == 108) {
_root.Keyright = 'Numpad Enter';
} else {
if (_root.Keyrightnum == 109) {
_root.Keyright = 'Numpad -';
} else {
if (_root.Keyrightnum == 110) {
_root.Keyright = 'Numpad .';
} else {
if (_root.Keyrightnum == 111) {
_root.Keyright = 'Numpad /';
} else {
if (_root.Keyrightnum == 144) {
_root.Keyright = 'NumLock';
} else {
if (_root.Keyrightnum == 186) {
_root.Keyright = ': or ;';
} else {
if (_root.Keyrightnum == 187) {
_root.Keyright = '= or +';
} else {
if (_root.Keyrightnum == 189) {
_root.Keyright = '- or _';
} else {
if (_root.Keyrightnum == 192) {
_root.Keyright = '` or ~';
} else {
if (_root.Keyrightnum == 219) {
_root.Keyright = '[ or {';
} else {
if (_root.Keyrightnum == 220) {
_root.Keyright = '\\or |';
} else {
if (_root.Keyrightnum == 221) {
_root.Keyright = '] or }';
} else {
if (_root.Keyrightnum == 222) {
_root.Keyright = '" or \'';
} else {
if (_root.Keyrightnum > 95 and _root.Keyrightnum < 106) {
_root.Keyright = 'Numpad ' + String(_root.Keyrightnum - 96);
} else {
if (_root.Keyrightnum > 111 and _root.Keyrightnum < 127) {
_root.Keyright = 'F' + String(_root.Keyrightnum - 111);
} else {
_root.Keyright = String.fromCharCode(_root.Keyrightnum);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.Keyright == _root.Keyleft or _root.Keyright == _root.KeyJump or _root.Keyright == _root.KeyDash or _root.Keyright == _root.KeyPause or _root.Keyright == _root.KeyShoot) {
_root.Keyrightnum = oldnum;
_root.Keyright = old;
_root.error.gotoAndPlay(2);
} else {
_parent.nextFrame();
}
}
}
frame 3 {
stop();
}
instance of movieClip 173 {
onClipEvent (keyUp) {
oldnum = _root.Keyjumpnum;
old = _root.Keyjump;
_root.Keyjumpnum = Key.getCode();
if (_root.Keyjumpnum == 8) {
_root.Keyjump = 'Backspace';
} else {
if (_root.Keyjumpnum == 20) {
_root.Keyjump = 'Caps Lock';
} else {
if (_root.Keyjumpnum == 17) {
_root.Keyjump = 'Control';
} else {
if (_root.Keyjumpnum == 46) {
_root.Keyjump = 'Delete';
} else {
if (_root.Keyjumpnum == 40) {
_root.Keyjump = 'Down Arrow';
} else {
if (_root.Keyjumpnum == 35) {
_root.Keyjump = 'End';
} else {
if (_root.Keyjumpnum == 13) {
_root.Keyjump = 'Enter';
} else {
if (_root.Keyjumpnum == 27) {
_root.Keyjump = 'Escape';
} else {
if (_root.Keyjumpnum == 36) {
_root.Keyjump = 'Home';
} else {
if (_root.Keyjumpnum == 45) {
_root.Keyjump = 'Insert';
} else {
if (_root.Keyjumpnum == 39) {
_root.Keyjump = 'Right Arrow';
} else {
if (_root.Keyjumpnum == 34) {
_root.Keyjump = 'Page Down';
} else {
if (_root.Keyjumpnum == 33) {
_root.Keyjump = 'Page Up';
} else {
if (_root.Keyjumpnum == 39) {
_root.Keyjump = 'Right Arrow';
} else {
if (_root.Keyjumpnum == 16) {
_root.Keyjump = 'Shift';
} else {
if (_root.Keyjumpnum == 32) {
_root.Keyjump = 'Spacebar';
} else {
if (_root.Keyjumpnum == 9) {
_root.Keyjump = 'Tab';
} else {
if (_root.Keyjumpnum == 38) {
_root.Keyjump = 'Up Arrow';
} else {
if (_root.Keyjumpnum == 18) {
_root.Keyjump = 'Alt';
} else {
if (_root.Keyjumpnum == 106) {
_root.Keyjump = 'Numpad *';
} else {
if (_root.Keyjumpnum == 107) {
_root.Keyjump = 'Numpad +';
} else {
if (_root.Keyjumpnum == 108) {
_root.Keyjump = 'Numpad Enter';
} else {
if (_root.Keyjumpnum == 109) {
_root.Keyjump = 'Numpad -';
} else {
if (_root.Keyjumpnum == 110) {
_root.Keyjump = 'Numpad .';
} else {
if (_root.Keyjumpnum == 111) {
_root.Keyjump = 'Numpad /';
} else {
if (_root.Keyjumpnum == 144) {
_root.Keyjump = 'NumLock';
} else {
if (_root.Keyjumpnum == 186) {
_root.Keyjump = ': or ;';
} else {
if (_root.Keyjumpnum == 187) {
_root.Keyjump = '= or +';
} else {
if (_root.Keyjumpnum == 189) {
_root.Keyjump = '- or _';
} else {
if (_root.Keyjumpnum == 192) {
_root.Keyjump = '` or ~';
} else {
if (_root.Keyjumpnum == 219) {
_root.Keyjump = '[ or {';
} else {
if (_root.Keyjumpnum == 220) {
_root.Keyjump = '\\or |';
} else {
if (_root.Keyjumpnum == 221) {
_root.Keyjump = '] or }';
} else {
if (_root.Keyjumpnum == 222) {
_root.Keyjump = '" or \'';
} else {
if (_root.Keyjumpnum > 95 and _root.Keyjumpnum < 106) {
_root.Keyjump = 'Numpad ' + String(_root.Keyjumpnum - 96);
} else {
if (_root.Keyjumpnum > 111 and _root.Keyjumpnum < 127) {
_root.Keyjump = 'F' + String(_root.Keyjumpnum - 111);
} else {
_root.Keyjump = String.fromCharCode(_root.Keyjumpnum);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.Keyjump == _root.Keyleft or _root.Keyjump == _root.Keyright or _root.Keyjump == _root.KeyDash or _root.Keyjump == _root.KeyPause or _root.Keyjump == _root.KeyShoot) {
_root.Keyjumpnum = oldnum;
_root.Keyjump = old;
_root.error.gotoAndPlay(2);
} else {
_parent.nextFrame();
}
}
}
frame 4 {
stop();
}
instance of movieClip 173 {
onClipEvent (keyUp) {
oldnum = _root.Keyshootnum;
old = _root.Keyshoot;
_root.Keyshootnum = Key.getCode();
if (_root.Keyshootnum == 8) {
_root.Keyshoot = 'Backspace';
} else {
if (_root.Keyshootnum == 20) {
_root.Keyshoot = 'Caps Lock';
} else {
if (_root.Keyshootnum == 17) {
_root.Keyshoot = 'Control';
} else {
if (_root.Keyshootnum == 46) {
_root.Keyshoot = 'Delete';
} else {
if (_root.Keyshootnum == 40) {
_root.Keyshoot = 'Down Arrow';
} else {
if (_root.Keyshootnum == 35) {
_root.Keyshoot = 'End';
} else {
if (_root.Keyshootnum == 13) {
_root.Keyshoot = 'Enter';
} else {
if (_root.Keyshootnum == 27) {
_root.Keyshoot = 'Escape';
} else {
if (_root.Keyshootnum == 36) {
_root.Keyshoot = 'Home';
} else {
if (_root.Keyshootnum == 45) {
_root.Keyshoot = 'Insert';
} else {
if (_root.Keyshootnum == 39) {
_root.Keyshoot = 'Right Arrow';
} else {
if (_root.Keyshootnum == 34) {
_root.Keyshoot = 'Page Down';
} else {
if (_root.Keyshootnum == 33) {
_root.Keyshoot = 'Page Up';
} else {
if (_root.Keyshootnum == 39) {
_root.Keyshoot = 'Right Arrow';
} else {
if (_root.Keyshootnum == 16) {
_root.Keyshoot = 'Shift';
} else {
if (_root.Keyshootnum == 32) {
_root.Keyshoot = 'Spacebar';
} else {
if (_root.Keyshootnum == 9) {
_root.Keyshoot = 'Tab';
} else {
if (_root.Keyshootnum == 38) {
_root.Keyshoot = 'Up Arrow';
} else {
if (_root.Keyshootnum == 18) {
_root.Keyshoot = 'Alt';
} else {
if (_root.Keyshootnum == 106) {
_root.Keyshoot = 'Numpad *';
} else {
if (_root.Keyshootnum == 107) {
_root.Keyshoot = 'Numpad +';
} else {
if (_root.Keyshootnum == 108) {
_root.Keyshoot = 'Numpad Enter';
} else {
if (_root.Keyshootnum == 109) {
_root.Keyshoot = 'Numpad -';
} else {
if (_root.Keyshootnum == 110) {
_root.Keyshoot = 'Numpad .';
} else {
if (_root.Keyshootnum == 111) {
_root.Keyshoot = 'Numpad /';
} else {
if (_root.Keyshootnum == 144) {
_root.Keyshoot = 'NumLock';
} else {
if (_root.Keyshootnum == 186) {
_root.Keyshoot = ': or ;';
} else {
if (_root.Keyshootnum == 187) {
_root.Keyshoot = '= or +';
} else {
if (_root.Keyshootnum == 189) {
_root.Keyshoot = '- or _';
} else {
if (_root.Keyshootnum == 192) {
_root.Keyshoot = '` or ~';
} else {
if (_root.Keyshootnum == 219) {
_root.Keyshoot = '[ or {';
} else {
if (_root.Keyshootnum == 220) {
_root.Keyshoot = '\\or |';
} else {
if (_root.Keyshootnum == 221) {
_root.Keyshoot = '] or }';
} else {
if (_root.Keyshootnum == 222) {
_root.Keyshoot = '" or \'';
} else {
if (_root.Keyshootnum > 95 and _root.Keyshootnum < 106) {
_root.Keyshoot = 'Numpad ' + String(_root.Keyshootnum - 96);
} else {
if (_root.Keyshootnum > 111 and _root.Keyshootnum < 127) {
_root.Keyshoot = 'F' + String(_root.Keyshootnum - 111);
} else {
_root.Keyshoot = String.fromCharCode(_root.Keyshootnum);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.Keyshoot == _root.Keyleft or _root.Keyshoot == _root.Keyright or _root.Keyshoot == _root.Keyjump or _root.Keyshoot == _root.KeyPause or _root.Keyshoot == _root.Keydash) {
_root.Keyshootnum = oldnum;
_root.Keyshoot = old;
_root.error.gotoAndPlay(2);
} else {
_parent.nextFrame();
}
}
}
frame 5 {
stop();
}
instance of movieClip 173 {
onClipEvent (keyUp) {
oldnum = _root.Keydashnum;
old = _root.Keydash;
_root.Keydashnum = Key.getCode();
if (_root.Keydashnum == 8) {
_root.Keydash = 'Backspace';
} else {
if (_root.Keydashnum == 20) {
_root.Keydash = 'Caps Lock';
} else {
if (_root.Keydashnum == 17) {
_root.Keydash = 'Control';
} else {
if (_root.Keydashnum == 46) {
_root.Keydash = 'Delete';
} else {
if (_root.Keydashnum == 40) {
_root.Keydash = 'Down Arrow';
} else {
if (_root.Keydashnum == 35) {
_root.Keydash = 'End';
} else {
if (_root.Keydashnum == 13) {
_root.Keydash = 'Enter';
} else {
if (_root.Keydashnum == 27) {
_root.Keydash = 'Escape';
} else {
if (_root.Keydashnum == 36) {
_root.Keydash = 'Home';
} else {
if (_root.Keydashnum == 45) {
_root.Keydash = 'Insert';
} else {
if (_root.Keydashnum == 39) {
_root.Keydash = 'Right Arrow';
} else {
if (_root.Keydashnum == 34) {
_root.Keydash = 'Page Down';
} else {
if (_root.Keydashnum == 33) {
_root.Keydash = 'Page Up';
} else {
if (_root.Keydashnum == 39) {
_root.Keydash = 'Right Arrow';
} else {
if (_root.Keydashnum == 16) {
_root.Keydash = 'Shift';
} else {
if (_root.Keydashnum == 32) {
_root.Keydash = 'Spacebar';
} else {
if (_root.Keydashnum == 9) {
_root.Keydash = 'Tab';
} else {
if (_root.Keydashnum == 38) {
_root.Keydash = 'Up Arrow';
} else {
if (_root.Keydashnum == 18) {
_root.Keydash = 'Alt';
} else {
if (_root.Keydashnum == 106) {
_root.Keydash = 'Numpad *';
} else {
if (_root.Keydashnum == 107) {
_root.Keydash = 'Numpad +';
} else {
if (_root.Keydashnum == 108) {
_root.Keydash = 'Numpad Enter';
} else {
if (_root.Keydashnum == 109) {
_root.Keydash = 'Numpad -';
} else {
if (_root.Keydashnum == 110) {
_root.Keydash = 'Numpad .';
} else {
if (_root.Keydashnum == 111) {
_root.Keydash = 'Numpad /';
} else {
if (_root.Keydashnum == 144) {
_root.Keydash = 'NumLock';
} else {
if (_root.Keydashnum == 186) {
_root.Keydash = ': or ;';
} else {
if (_root.Keydashnum == 187) {
_root.Keydash = '= or +';
} else {
if (_root.Keydashnum == 189) {
_root.Keydash = '- or _';
} else {
if (_root.Keydashnum == 192) {
_root.Keydash = '` or ~';
} else {
if (_root.Keydashnum == 219) {
_root.Keydash = '[ or {';
} else {
if (_root.Keydashnum == 220) {
_root.Keydash = '\\or |';
} else {
if (_root.Keydashnum == 221) {
_root.Keydash = '] or }';
} else {
if (_root.Keydashnum == 222) {
_root.Keydash = '" or \'';
} else {
if (_root.Keydashnum > 95 and _root.Keydashnum < 106) {
_root.Keydash = 'Numpad ' + String(_root.Keydashnum - 96);
} else {
if (_root.Keydashnum > 111 and _root.Keydashnum < 127) {
_root.Keydash = 'F' + String(_root.Keydashnum - 111);
} else {
_root.Keydash = String.fromCharCode(_root.Keydashnum);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.Keydash == _root.Keyleft or _root.Keydash == _root.Keyright or _root.Keydash == _root.Keyjump or _root.Keydash == _root.KeyPause or _root.Keydash == _root.KeyShoot) {
_root.Keydashnum = oldnum;
_root.Keydash = old;
_root.error.gotoAndPlay(2);
} else {
_parent.nextFrame();
}
}
}
frame 6 {
stop();
}
instance of movieClip 173 {
onClipEvent (keyUp) {
oldnum = _root.Keypausenum;
old = _root.Keypause;
_root.Keypausenum = Key.getCode();
if (_root.Keypausenum == 8) {
_root.Keypause = 'Backspace';
} else {
if (_root.Keypausenum == 20) {
_root.Keypause = 'Caps Lock';
} else {
if (_root.Keypausenum == 17) {
_root.Keypause = 'Control';
} else {
if (_root.Keypausenum == 46) {
_root.Keypause = 'Delete';
} else {
if (_root.Keypausenum == 40) {
_root.Keypause = 'Down Arrow';
} else {
if (_root.Keypausenum == 35) {
_root.Keypause = 'End';
} else {
if (_root.Keypausenum == 13) {
_root.Keypause = 'Enter';
} else {
if (_root.Keypausenum == 27) {
_root.Keypause = 'Escape';
} else {
if (_root.Keypausenum == 36) {
_root.Keypause = 'Home';
} else {
if (_root.Keypausenum == 45) {
_root.Keypause = 'Insert';
} else {
if (_root.Keypausenum == 39) {
_root.Keypause = 'Right Arrow';
} else {
if (_root.Keypausenum == 34) {
_root.Keypause = 'Page Down';
} else {
if (_root.Keypausenum == 33) {
_root.Keypause = 'Page Up';
} else {
if (_root.Keypausenum == 39) {
_root.Keypause = 'Right Arrow';
} else {
if (_root.Keypausenum == 16) {
_root.Keypause = 'Shift';
} else {
if (_root.Keypausenum == 32) {
_root.Keypause = 'Spacebar';
} else {
if (_root.Keypausenum == 9) {
_root.Keypause = 'Tab';
} else {
if (_root.Keypausenum == 38) {
_root.Keypause = 'Up Arrow';
} else {
if (_root.Keypausenum == 18) {
_root.Keypause = 'Alt';
} else {
if (_root.Keypausenum == 106) {
_root.Keypause = 'Numpad *';
} else {
if (_root.Keypausenum == 107) {
_root.Keypause = 'Numpad +';
} else {
if (_root.Keypausenum == 108) {
_root.Keypause = 'Numpad Enter';
} else {
if (_root.Keypausenum == 109) {
_root.Keypause = 'Numpad -';
} else {
if (_root.Keypausenum == 110) {
_root.Keypause = 'Numpad .';
} else {
if (_root.Keypausenum == 111) {
_root.Keypause = 'Numpad /';
} else {
if (_root.Keypausenum == 144) {
_root.Keypause = 'NumLock';
} else {
if (_root.Keypausenum == 186) {
_root.Keypause = ': or ;';
} else {
if (_root.Keypausenum == 187) {
_root.Keypause = '= or +';
} else {
if (_root.Keypausenum == 189) {
_root.Keypause = '- or _';
} else {
if (_root.Keypausenum == 192) {
_root.Keypause = '` or ~';
} else {
if (_root.Keypausenum == 219) {
_root.Keypause = '[ or {';
} else {
if (_root.Keypausenum == 220) {
_root.Keypause = '\\or |';
} else {
if (_root.Keypausenum == 221) {
_root.Keypause = '] or }';
} else {
if (_root.Keypausenum == 222) {
_root.Keypause = '" or \'';
} else {
if (_root.Keypausenum > 95 and _root.Keypausenum < 106) {
_root.Keypause = 'Numpad ' + String(_root.Keypausenum - 96);
} else {
if (_root.Keypausenum > 111 and _root.Keypausenum < 127) {
_root.Keypause = 'F' + String(_root.Keypausenum - 111);
} else {
_root.Keypause = String.fromCharCode(_root.Keypausenum);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.Keypause == _root.Keyleft or _root.Keypause == _root.Keyright or _root.Keypause == _root.Keyjump or _root.Keypause == _root.Keyshoot or _root.Keypause == _root.Keydash) {
_root.Keypausenum = oldnum;
_root.Keypause = old;
_root.error.gotoAndPlay(2);
} else {
_root.gotoAndStop(4);
}
}
}
}
movieClip 268 {
frame 1 {
stop();
}
}
frame 8 {
function dies() {
if (!death) {
_global.death = true;
_root.bgm.stop();
_root.bgm2.stop();
_root.sfx10.stop();
_root.sfx11.stop();
_root.Megaman.chargepoints = 0;
_root.Megaman.health = 0;
_root.Megaman.freeze = true;
duplicateMovieClip(_root.mmdeathanim, 'Megadeath', 9000);
_root.Megadeath._x = _root.Megaman._x;
_root.Megadeath._y = _root.Megaman._y;
_root.Megadeath.play();
_root.Megaman._visible = false;
_root.Megaman.airborne = false;
_root.Megaman.dashing = false;
_root.Megaman.Injured = false;
_root.Megaman.flailing = false;
_root.Megaman.xvel = 0;
_root.Megaman.yvel = 0;
_root.Megaman.invincible = false;
_root.Megaman.invincibletime = 0;
_global.xfollow = false;
_global.yfollow = false;
_root.MMDeathSound.gotoAndPlay(2);
removeMovieClip(_root.SmallShot1);
removeMovieClip(_root.SmallShot2);
removeMovieClip(_root.MedShot);
removeMovieClip(_root.BassLarge1);
removeMovieClip(_root.BassLarge2);
removeMovieClip(_root.BassLarge3);
removeMovieClip(_root.TripleSpawn);
timer = 100;
_root.lives -= 1;
eval(_root.Megaman)._alpha = 100;
if (_root.lives == 0) {
gotoAndPlay(9);
}
} else {
if (timer > 0) {
timer -= 1;
} else {
updateAfterEvent();
_root.Megaman.myColour.setTransform(_root.Megaman.BaseColour);
_root.Viewable.bossbar.gotoAndStop(1);
_root.Viewable.gotoAndStop(1);
_root.Megaman._xscale = _root.checkpoint.xscale;
_root.Megaman._yscale = _root.checkpoint.yscale;
_root._x = 0;
_root._y = 0;
_root.Megaman._x = _root.checkpoint.MMx;
_root.Megaman._y = _root.checkpoint.MMy;
_root.xfollow = true;
_root.yfollow = true;
_root.xfollow = checkpoint.xf;
_root.yfollow = checkpoint.yf;
_root.Megaman.health = 28;
_root.Boss.health = 168;
_root.Megaman._visible = true;
_root.Megaman.gotoAndPlay(2);
_global.death = false;
_root.Megaman.freeze = false;
_global.bossfight = false;
_root.thaw2.done = false;
_root.Boss._x = bossstartx;
_root.Boss._y = bossstarty;
_root.Boss._xscale = -100;
_root.Boss.gotoAndStop(1);
stopAllSounds();
_root.bgm.start(0, 999);
_root.bgm.setVolume(50);
_root.Megaman.airborne = false;
_root.Megaman.dashing = false;
_root.Megaman.Injured = false;
_root.Megaman.flailing = false;
_root.Megaman.xvel = 0;
_root.Megaman.yvel = 0;
_global.xfollow = true;
_global.yfollow = true;
_root.OriginalTurret._visible = false;
_root.OriginalDragonfly._visible = false;
_root.OriginalSpinner._visible = false;
_root.OriginalTurretShot._visible = false;
}
}
}
function Victorious() {
gotoAndPlay(29);
_root.bgm.stop();
_root.bgm2.stop();
removeMovieClip(_root.SmallShot1);
removeMovieClip(_root.SmallShot2);
removeMovieClip(_root.MedShot);
removeMovieClip(_root.BassLarge1);
removeMovieClip(_root.BassLarge2);
removeMovieClip(_root.BassLarge3);
removeMovieClip(_root.TripleSpawn);
count = 1;
while (count < 100) {
removeMovieClip(_root['Shot' + count]);
++count;
}
}
eval(_root)._alpha = 100;
_quality = 'LOW';
_global.landed = false;
_global.gamepause = false;
Lives = 3;
_global.airborne = false;
_global.dashing = false;
_global.dashtime = 0;
_global.busterout = false;
_global.yvel = 0;
_global.xvel = 0;
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
_global.rounds = 0;
_global.roundsMax = 5;
_global.rof = 5;
_global.shottime = 0;
_global.shotnumber = 0;
_global.death = false;
_global.xfollow = true;
_global.yfollow = true;
_global.bossfight = false;
_global.booyashaka = false;
_global.bossstartx = _root.Boss._x;
_global.bossstarty = _root.Boss._y;
checkpoint = new Object();
checkpoint.MMx = _root.Megaman._x;
checkpoint.MMy = _root.Megaman._y;
checkpoint.rootx = _root._x;
checkpoint.rooty = _root._y;
checkpoint.xscale = 200;
checkpoint.yscale = 200;
_root.checkpoint.xf = true;
_root.checkpoint.yf = true;
_root.OriginalTurret._visible = false;
_root.OriginalDragonfly._visible = false;
_root.OriginalSpinner._visible = false;
_root.OriginalTurretShot._visible = false;
_root.OriginalSniperJoe._visible = false;
_root.OriginalJoeShot._visible = false;
_root.OriginalGrenade._visible = false;
duplicateMovieClip(_root.OriginalViewable, 'viewable', 9999);
bgm = new Sound(bgmusic);
bgm.attachSound('metalman');
bgm.start(0, 999);
bgm.setVolume(50);
bgm2 = new Sound(bgmusic2);
bgm2.attachSound('boss');
bgm3 = new Sound(bgmusic3);
bgm3.attachSound('maverickappear');
sfx = new Sound();
sfx.attachSound('hpinc');
sfx2 = new Sound();
sfx2.attachSound('ting');
sfx3 = new Sound();
sfx3.attachSound('bdashc');
sfx4 = new Sound();
sfx4.attachSound('bdash');
sfx5 = new Sound();
sfx5.attachSound('slamsound');
sfx6 = new Sound();
sfx6.attachSound('mmshotsound');
sfx7 = new Sound();
sfx7.attachSound('hover');
sfx8 = new Sound();
sfx8.attachSound('bossbigsound');
sfx9 = new Sound();
sfx9.attachSound('mmchargedshotb');
sfx10 = new Sound();
sfx10.attachSound('mmstartcharging');
sfx10.onSoundComplete = function () {
if (_root.Megaman.busterout) {
sfx11.start(0.5, 0);
}
};
sfx11 = new Sound();
sfx11.attachSound('mmcharging');
sfx11.onSoundComplete = function () {
if (_root.Megaman.busterout) {
sfx11.start(0.5, 0);
}
};
sfx12 = new Sound();
sfx12.attachSound('oneupsound');
stop();
}
movieClip 273 {
}
movieClip 274 {
}
movieClip 275 {
}
movieClip 276 {
instance of movieClip 275 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 275 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
instance of movieClip 275 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
movieClip 277 {
instance of movieClip 276 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
movieClip 278 {
}
movieClip 283 {
}
movieClip 286 {
}
movieClip 292 {
}
movieClip 295 {
}
movieClip 301 {
}
movieClip 308 {
}
movieClip 309 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 310 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = clipBounds.xMin;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 311 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 312 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = clipBounds.yMin;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 313 {
}
movieClip 314 {
instance of movieClip 313 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
movieClip 318 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 319 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.left = clipBounds.xMin;
_global.enviro = 'normal';
}
}
}
}
movieClip 320 {
}
movieClip 323 {
}
movieClip 325 {
}
movieClip 327 {
}
movieClip 328 {
}
movieClip 331 {
}
movieClip 334 {
}
movieClip 336 {
}
movieClip 337 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 338 {
instance top of movieClip 309 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and _root.Megaman._y - ground < 10) {
_global.landed = true;
_parent.landed = true;
} else {
_global.landed = false;
_parent.landed = false;
}
}
}
instance top of movieClip 337 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and _root.Megaman._y - ground < 10) {
_global.landed = true;
_parent.landed = true;
} else {
_global.landed = false;
_parent.landed = false;
}
}
}
}
movieClip 339 {
instance stats of movieClip 338 {
onClipEvent (load) {
landed = false;
startx = _parent.startx;
starty = _parent.starty;
xvel = _parent.xvel;
yvel = _parent.yvel;
nummoves = _parent.nummoves;
timer = 0;
slider = 0;
going = true;
}
onClipEvent (enterFrame) {
if (!gamepause) {
if (timer == 0) {
if (going) {
slider += 1;
_parent._x = startx + slider * xvel;
_parent._y = starty + slider * yvel;
if (landed and slider > 1) {
_root.Megaman._x += xvel;
}
if (landed and slider > 1) {
_global.ground += yvel;
_root.Megaman._y += yvel;
}
if (slider >= nummoves) {
slider = nummoves;
timer = 60;
going = false;
}
} else {
_parent._x = startx + slider * xvel;
_parent._y = starty + slider * yvel;
slider -= 1;
if (landed and slider < nummoves - 1) {
_root.Megaman._x -= xvel;
}
if (landed and slider < nummoves - 1) {
_global.ground -= yvel;
_root.Megaman._y -= yvel;
}
if (slider <= 0) {
slider = 0;
timer = 60;
going = true;
}
}
} else {
timer -= 1;
}
}
}
}
}
movieClip 345 {
instance mp1 of movieClip 339 {
onClipEvent (load) {
startx = this._x;
starty = this._y;
xvel = 16;
yvel = 0;
nummoves = 52;
}
}
instance mp2 of movieClip 339 {
onClipEvent (load) {
startx = this._x;
starty = this._y;
xvel = 16;
yvel = -16;
nummoves = 14;
}
}
}
movieClip 346 {
instance of movieClip 301 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 328 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 334 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 336 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 345 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewblock)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 346 {
onClipEvent (enterFrame) {
count = 1;
while (count < 100) {
if (this.hitTest(_root['Shot' + count]._x, _root['Shot' + count]._y, true)) {
_root['Shot' + count].removeMovieClip();
}
++count;
}
}
}
movieClip 358 {
frame 1 {
stop();
}
frame 25 {
_root.Megaman.xvel = 10;
stop();
}
frame 49 {
gotoAndStop(1);
}
}
movieClip 359 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and _root.Megaman.freeze) {
_root.leftbossdoor.play();
_root.Megaman.freeze = false;
_root.Megaman.xvel = 0;
}
}
}
}
movieClip 360 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (bossfight and !done) {
_root.Megaman._y += yvel;
if (_root.Megaman._y < clipBounds.yMax) {
_root.Megaman.gotoAndStop(_root.Megaman.FAir);
if (yvel < 30) {
yvel += Math.abs(yvel) * 0.15 + 1;
}
} else {
_root.Megaman._y = clipBounds.yMax;
_root.Megaman.gotoAndStop(_root.Megaman.FStand);
done = true;
}
} else {
this;
if (hitTest(_root.Megaman) and !_root.prebosscamera.hitTest(_root.Megaman)) {
if (!bossfight) {
_root.bgm.stop();
_root.bgm.setVolume(100);
_root.bgm3.start(0, 0);
_root.Megaman.dashing = false;
_root.rightbossdoor.play();
_root.Megaman.xvel = 0;
_root.Megaman.gotoAndStop(_root.Megaman.FAir);
clipBounds = this.getBounds(_root);
yvel = 0;
}
_global.bossfight = true;
}
}
}
}
}
movieClip 362 {
}
movieClip 363 {
instance camobj of movieClip 362 {
onClipEvent (load) {
xTarget = -_parent._x + 640;
yTarget = -_parent._y + 480;
cameraspeed = 25;
}
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !cancel) {
_global.yfollow = false;
_global.xfollow = false;
if (_root._x < xTarget and Math.abs(_root._x - xTarget) > cameraspeed) {
_root._x += cameraspeed;
_root.Viewable._x -= cameraspeed;
_root.viewblock._x -= cameraspeed;
_root.background._x -= cameraspeed * 0.2;
} else {
if (_root._x > xTarget and Math.abs(_root._x - xTarget) > cameraspeed) {
_root._x -= cameraspeed;
_root.Viewable._x += cameraspeed;
_root.viewblock._x += cameraspeed;
_root.background._x += cameraspeed * 0.2;
} else {
if (_root._x != xTarget) {
_root._x = xTarget;
_root.Viewable._x = _parent._x - 320;
_root.viewblock._x = _parent._x - 320;
_root.background._x = (_parent._x - 160) * 0.2;
_parent.xLock = true;
}
}
}
if (_root._y < yTarget and Math.abs(_root._y - yTarget) > cameraspeed) {
_root._y += cameraspeed;
_root.Viewable._y -= cameraspeed;
_root.viewblock._y -= cameraspeed;
} else {
if (_root._y > xTarget and Math.abs(_root._y - yTarget) > cameraspeed) {
_root._y -= cameraspeed;
_root.Viewable._y += cameraspeed;
_root.viewblock._y += cameraspeed;
} else {
if (_root._y != yTarget) {
_root._y = yTarget;
_root.Viewable._y = _parent._y - 240;
_root.viewblock._y = _parent._y - 240;
_parent.yLock = true;
}
}
}
}
}
}
}
instance Camera1 of movieClip 363 {
onClipEvent (enterFrame) {
if (xLock and yLock and !cancel) {
cancel = true;
}
}
}
movieClip 364 {
instance of movieClip 362 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
_global.yfollow = true;
}
}
}
instance of movieClip 362 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
_global.yfollow = false;
}
}
}
}
instance prebosscamera of movieClip 363 {
onClipEvent (load) {
camobj.cancel = false;
}
onClipEvent (enterFrame) {
if (death) {
camobj.cancel = false;
}
}
}
instance of movieClip 363 {
onClipEvent (load) {
cancel = false;
}
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
_root.prebosscamera.camobj.cancel = true;
}
}
}
movieClip 368 {
frame 1 {
stop();
}
}
instance OriginalShot of movieClip 368 {
onClipEvent (load) {
damage = 2;
if (_root.Megaman._xscale > 0) {
xvel = 30;
} else {
xvel = -30;
}
if (_root.Megaman.clinging) {
xvel = -xvel;
}
}
onClipEvent (enterFrame) {
if (!gamepause) {
this._x += xvel;
}
this;
if (hitTest(_root.viewable)) {
} else {
removeMovieClip(this);
}
}
}
movieClip 370 {
frame 1 {
stop();
}
}
movieClip 372 {
frame 1 {
stop();
}
}
instance OriginalTurret of movieClip 181 {
onClipEvent (load) {
sfx = new Sound(this);
sfx2 = new Sound(this);
sfx.attachSound('nmehitsound');
sfx2.attachSound('nmedeathsound');
var active = true;
var destroyed = false;
var health = 16;
var SETurtime = 5;
var SETrof = 30;
var Turnumber = TurMin;
gotoAndStop(8);
}
onClipEvent (enterFrame) {
if (!gamepause) {
eval(this)._alpha = 100;
this;
if (hitTest(_root.Viewable) and active and !death) {
if (SETurtime < 0) {
point = new Object();
point.x = this.Weapon._x;
point.y = this.Weapon._y;
localToGlobal(point);
_root.OriginalTurretShot.duplicateMovieClip('Shot' + Turnumber, Turnumber);
_root['Shot' + Turnumber]._x = point.x - _root._x;
_root['Shot' + Turnumber]._y = point.y - _root._y;
if (this._xscale > 0) {
_root['Shot' + Turnumber].facing = 'left';
} else {
_root['Shot' + Turnumber].facing = 'right';
}
_root['Shot' + Turnumber]._visible = true;
SETurtime = SETrof;
if (Turnumber > TurMax) {
Turnumber = TurMin;
} else {
Turnumber += 1;
}
} else {
if (SETurtime == 4) {
play();
SETurtime -= 1;
} else {
SETurtime -= 1;
}
}
}
}
}
onClipEvent (enterFrame) {
if (!gamepause) {
if (health > 0) {
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
this.health -= _root['Shot' + count].damage;
removeMovieClip(_root['Shot' + count]);
if (this.health < 1) {
this.active = false;
_root.OriginalTurretExplosion.duplicateMovieClip('TurretExplosion', 300);
_root.TurretExplosion._x = this._x;
_root.TurretExplosion._y = this._y - this._height / 2;
sfx2.start(0, 0);
sfx2.start(0, 0);
} else {
sfx.start(0, 0);
sfx.start(0, 0);
eval(this)._alpha = 0;
}
}
++count;
}
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 2;
_root.Megaman.injured = true;
_root.Megaman.xvel = (_root.Megaman._xscale / Math.abs(_root.Megaman._xscale)) * -8;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.death) {
removeMovieClip(this);
}
if (this.health < 1) {
this.gotoAndStop('death');
}
}
}
movieClip 380 {
frame 8 {
gotoAndPlay(1);
}
}
instance OriginalTurretShot of movieClip 380 {
onClipEvent (load) {
if (facing == 'right') {
xvel = 12;
this._xscale = -100;
} else {
xvel = -12;
}
}
onClipEvent (enterFrame) {
if (!gamepause) {
play();
this._x += xvel;
this;
if (hitTest(_root.Megaman) and !(_root.Megaman.injured or _root.Megaman._currentframe < 15) and !_root.Megaman.invincible) {
_root.Megaman.health -= 2;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this._xscale / Math.abs(this._xscale)) * -8;
removeMovieClip(this);
}
} else {
stop();
}
if (_global.death) {
removeMovieClip(this);
}
}
}
movieClip 391 {
frame 7 {
removeMovieClip(this);
}
}
movieClip 394 {
}
instance OriginalBassLarge of movieClip 394 {
onClipEvent (enterFrame) {
if (!gamepause) {
this._x += xvel;
this._y += yvel;
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 4;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this._xscale / Math.abs(this._xscale)) * -8;
}
}
}
}
movieClip 397 {
}
instance OriginalBassMedium of movieClip 397 {
onClipEvent (enterFrame) {
if (!gamepause) {
this._x += xvel;
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 3;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this._xscale / Math.abs(this._xscale)) * -8;
}
}
}
}
movieClip 400 {
}
instance OriginalBassSmall of movieClip 400 {
onClipEvent (enterFrame) {
if (!gamepause) {
this._x += xvel;
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 2;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this._xscale / Math.abs(this._xscale)) * -8;
}
}
}
}
movieClip 403 {
}
instance OriginalBassTriple of movieClip 403 {
onClipEvent (load) {
if (!gamepause) {
if (instance) {
if (this._xscale > 0) {
constant = 1;
} else {
constant = -1;
}
duplicateMovieClip(_root.OriginalBassLarge, 'Basslarge1', 210);
_root.Basslarge1.xvel = 25 * constant;
_root.Basslarge1.yvel = 0;
_root.Basslarge1._x = this._x;
_root.Basslarge1._y = this._y;
_root.Basslarge1._xscale = 100 * constant;
duplicateMovieClip(_root.OriginalBassLarge, 'Basslarge2', 211);
_root.Basslarge2.xvel = 16 * constant;
_root.Basslarge2.yvel = -9;
_root.Basslarge2._x = this._x;
_root.Basslarge2._y = this._y;
eval(_root.Basslarge2)._rotation = -75 + 30 * constant;
duplicateMovieClip(_root.OriginalBassLarge, 'Basslarge3', 212);
_root.Basslarge3.xvel = 16 * constant;
_root.Basslarge3.yvel = 9;
_root.Basslarge3._x = this._x;
_root.Basslarge3._y = this._y;
eval(_root.Basslarge3)._rotation = 75 - 30 * constant;
removeMovieClip(this);
}
}
}
}
instance OriginalDragonfly of movieClip 169 {
onClipEvent (load) {
health = 4;
sfx = new Sound(this);
sfx2 = new Sound(this);
sfx.attachSound('nmehitsound');
sfx2.attachSound('nmedeathsound');
}
onClipEvent (enterFrame) {
if (!gamepause) {
play();
eval(this)._alpha = 100;
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
this.health -= _root['Shot' + count].damage;
removeMovieClip(_root['Shot' + count]);
if (this.health < 1) {
_root.OriginalExplosion.duplicateMovieClip('TurretExplosion', 300);
_root.TurretExplosion._x = this._x;
_root.TurretExplosion._y = this._y - this._height / 2;
sfx2.start(0, 0);
sfx2.start(0, 0);
removeMovieClip(this);
} else {
sfx.start(0, 0);
sfx.start(0, 0);
}
eval(this)._alpha = 0;
}
++count;
}
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 3;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this.xvel / Math.abs(this.xvel)) * 8;
}
this;
if (this._xscale * (this._x - _root.Megaman._x) < 0 and !hitTest(_root.Viewable)) {
removeMovieClip(this);
}
}
if (_global.death) {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (!gamepause) {
this._x += xvel;
} else {
stop();
}
}
}
movieClip 404 {
}
instance bgmusic of movieClip 404 {
onClipEvent (load) {
}
}
instance bgmusic2 of movieClip 404 {
onClipEvent (load) {
}
}
instance mmsfx1 of movieClip 404 {
onClipEvent (load) {
}
}
instance OriginalSpinner of movieClip 202 {
onClipEvent (load) {
sfx2 = new Sound(this);
sfx2.attachSound('nmedeathsound');
}
onClipEvent (enterFrame) {
if (go and !gamepause) {
play();
if (_root.Megaman._x < this._x) {
this._x -= Math.min(3, Math.abs(this._x - _root.Megaman._x));
} else {
this._x += Math.min(3, Math.abs(_root.Megaman._x - this._x));
}
if (_root.Megaman._y - _root.Megaman._height < this._y) {
this._y -= Math.min(3, Math.abs(this._y - _root.Megaman._y));
} else {
this._y += Math.min(3, Math.abs(_root.Megaman._y - this._y));
}
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 1;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this.xvel / Math.abs(this.xvel)) * 8;
}
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
removeMovieClip(_root['Shot' + count]);
_root.OriginalExplosion.duplicateMovieClip('TurretExplosion', 0);
_root.TurretExplosion._x = this._x;
_root.TurretExplosion._y = this._y - this._height / 2;
sfx2.start(0, 0);
sfx2.start(0, 0);
removeMovieClip(this);
}
++count;
}
} else {
if (gamepause) {
stop();
}
}
if (_global.death) {
removeMovieClip(this);
}
}
}
instance OriginalJoeShot of movieClip 368 {
onClipEvent (enterFrame) {
if (!gamepause) {
this._x += xvel;
this;
if (hitTest(_root.Megaman) and !(_root.Megaman.injured or _root.Megaman._currentframe < 15) and !_root.Megaman.invincible) {
_root.Megaman.health -= 2;
_root.Megaman.injured = true;
_root.Megaman.xvel = (this._xscale / Math.abs(this._xscale)) * -8;
removeMovieClip(this);
}
}
if (_global.death) {
removeMovieClip(this);
}
}
}
movieClip 425 {
frame 11 {
removeMovieClip(this);
}
}
instance OriginalTurretExplosion of movieClip 425 {
onClipEvent (enterFrame) {
if (gamepause) {
stop();
} else {
play();
}
}
}
movieClip 426 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = clipBounds.yMin;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 427 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !booyashaka) {
_root.dies();
}
}
}
}
movieClip 428 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 429 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 430 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = clipBounds.xMin;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 431 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = Number.POSITIVE_INFINITY;
_global.ceiling = clipBounds.yMin;
_global.left = clipBounds.xMin;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 432 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.left = clipBounds.xMin;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 433 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = clipBounds.yMin;
_global.enviro = 'normal';
}
}
}
}
movieClip 434 {
}
instance of movieClip 434 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
movieClip 435 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 436 {
}
instance of movieClip 436 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
movieClip 437 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = clipBounds.yMin;
_global.left = clipBounds.xMin;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 438 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root)) {
this;
if (hitTest(_root.Megaman) and !_root.Megaman.freeze) {
_root.Megaman.stop();
_root.Megaman.freeze = true;
_root.Megaman.xvel = 0;
_root.rightbossdoor.play();
}
}
}
}
}
movieClip 439 {
}
instance of movieClip 439 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !bossfight) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
movieClip 440 {
instance top of movieClip 309 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and _root.Megaman._y - ground < 16) {
_global.landed = true;
_parent.landed = true;
} else {
_global.landed = false;
_parent.landed = false;
}
}
}
}
movieClip 441 {
instance stats of movieClip 440 {
onClipEvent (load) {
timer = 15;
yvel = 1;
starty = this._y;
}
onClipEvent (enterFrame) {
if (!gamepause) {
if (landed and !timerstart) {
timerstart = true;
} else {
if (timerstart and timer > 0) {
timer -= 1;
} else {
if (timer == 0) {
this._y += yvel;
yvel = yvel * 1.2 + 1;
}
}
}
if (death) {
timer = 15;
yvel = 1;
timerstart = false;
this._y = starty;
}
}
}
}
}
movieClip 442 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root)) {
this;
if (hitTest(_root.Megaman) and !_root.Megaman.freeze) {
_root.Megaman.stop();
_root.Megaman.freeze = true;
_root.Megaman.xvel = 0;
_root.leftbossdoor.play();
}
}
}
}
}
movieClip 444 {
}
movieClip 445 {
}
instance dfsp1 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly1', 201);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly1._x = this._x + 480;
_root.Dragonfly1._xscale = 100;
} else {
_root.Dragonfly1._x = this._x - 480;
_root.Dragonfly1._xscale = -100;
}
_root.Dragonfly1._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly1.xvel = -30;
} else {
_root.Dragonfly1.xvel = 30;
}
_root.Dragonfly1._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance dfsp2 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly2', 202);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly2._x = this._x + 480;
_root.Dragonfly2._xscale = 100;
} else {
_root.Dragonfly2._x = this._x - 480;
_root.Dragonfly2._xscale = -100;
}
_root.Dragonfly2._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly2.xvel = -30;
} else {
_root.Dragonfly2.xvel = 30;
}
_root.Dragonfly2._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance dfsp3 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly3', 202);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly3._x = this._x + 480;
_root.Dragonfly3._xscale = 100;
} else {
_root.Dragonfly3._x = this._x - 480;
_root.Dragonfly3._xscale = -100;
}
_root.Dragonfly3._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly3.xvel = -30;
} else {
_root.Dragonfly3.xvel = 30;
}
_root.Dragonfly3._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance spsp1 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalSpinner, 'Spinner1', 301);
_root.Spinner1._x = this._x;
_root.Spinner1._y = this._y;
_root.Spinner1._visible = true;
_root.Spinner1.go = true;
done = true;
}
}
if (death) {
done = false;
}
}
}
instance spsp3 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalSpinner, 'Spinner3', 303);
_root.Spinner3._x = this._x;
_root.Spinner3._y = this._y;
_root.Spinner3._visible = true;
_root.Spinner3.go = true;
done = true;
}
}
if (death) {
done = false;
}
}
}
instance dfsp4 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly4', 204);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly4._x = this._x + 480;
_root.Dragonfly4._xscale = 100;
} else {
_root.Dragonfly4._x = this._x - 480;
_root.Dragonfly4._xscale = -100;
}
_root.Dragonfly4._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly4.xvel = -30;
} else {
_root.Dragonfly4.xvel = 30;
}
_root.Dragonfly4._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance dfsp5 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly5', 205);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly5._x = this._x + 480;
_root.Dragonfly5._xscale = 100;
} else {
_root.Dragonfly5._x = this._x - 480;
_root.Dragonfly5._xscale = -100;
}
_root.Dragonfly5._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly5.xvel = -30;
} else {
_root.Dragonfly5.xvel = 30;
}
_root.Dragonfly5._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance trsp1 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalTurret, 'Turret1', 100);
_root.Turret1._visible = true;
_root.Turret1._x = this._x;
_root.Turret1._y = this._y;
_root.Turret1.TurMax = 15;
_root.Turret1.TurMin = 11;
done = true;
}
} else {
done = false;
}
}
}
instance dfsp6 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly6', 206);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly6._x = this._x + 480;
_root.Dragonfly6._xscale = 100;
} else {
_root.Dragonfly6._x = this._x - 480;
_root.Dragonfly6._xscale = -100;
}
_root.Dragonfly6._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly6.xvel = -30;
} else {
_root.Dragonfly6.xvel = 30;
}
_root.Dragonfly6._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance dfsp7 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly7', 207);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly7._x = this._x + 480;
_root.Dragonfly7._xscale = 100;
} else {
_root.Dragonfly7._x = this._x - 480;
_root.Dragonfly7._xscale = -100;
}
_root.Dragonfly7._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly7.xvel = -30;
} else {
_root.Dragonfly7.xvel = 30;
}
_root.Dragonfly7._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance dfsp8 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly8', 208);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly8._x = this._x + 480;
_root.Dragonfly8._xscale = 100;
} else {
_root.Dragonfly8._x = this._x - 480;
_root.Dragonfly8._xscale = -100;
}
_root.Dragonfly8._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly8.xvel = -30;
} else {
_root.Dragonfly8.xvel = 30;
}
_root.Dragonfly8._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance trsp2 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalTurret, 'Turret2', 102);
_root.Turret2._visible = true;
_root.Turret2._x = this._x;
_root.Turret2._y = this._y;
_root.Turret2._xscale = -100;
_root.Turret2.TurMax = 20;
_root.Turret2.TurMin = 16;
_root.Turret2.facing = 'right';
done = true;
}
} else {
done = false;
}
}
}
instance spsp5 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalSpinner, 'Spinner5', 305);
_root.Spinner5._x = this._x;
_root.Spinner5._y = this._y;
_root.Spinner5._visible = true;
_root.Spinner5.go = true;
done = true;
}
}
if (death) {
done = false;
}
}
}
instance spsp6 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalSpinner, 'Spinner6', 306);
_root.Spinner6._x = this._x;
_root.Spinner6._y = this._y;
_root.Spinner6._visible = true;
_root.Spinner6.go = true;
done = true;
}
}
if (death) {
done = false;
}
}
}
movieClip 446 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = clipBounds.yMin;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = Number.POSITIVE_INFINITY;
_global.enviro = 'normal';
}
}
}
}
movieClip 447 {
}
instance of movieClip 447 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
movieClip 448 {
}
instance of movieClip 448 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance trsp3 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalTurret, 'Turret3', 103);
_root.Turret3._visible = true;
_root.Turret3._x = this._x;
_root.Turret3._y = this._y;
_root.Turret3.TurMax = 20;
_root.Turret3.TurMin = 16;
done = true;
}
} else {
done = false;
}
}
}
instance trsp4 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalTurret, 'Turret4', 104);
_root.Turret4._visible = true;
_root.Turret4._x = this._x;
_root.Turret4._y = this._y;
_root.Turret4.TurMax = 20;
_root.Turret4.TurMin = 16;
done = true;
}
} else {
done = false;
}
}
}
instance sjsp1 of movieClip 445 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalSniperJoe, 'SniperJoe1', 401);
if (_root.Megaman._x > this._x) {
_root.SniperJoe1._xscale = -100;
} else {
_root.SniperJoe1._xscale = 100;
}
_root.SniperJoe1._x = this._x;
_root.SniperJoe1._y = this._y;
_root.SniperJoe1.ShotMax = 452;
_root.SniperJoe1.ShotMin = 450;
_root.SniperJoe1.grennumber = 453;
_root.SniperJoe1._visible = true;
done = true;
}
} else {
done = false;
}
}
}
movieClip 455 {
}
instance of movieClip 455 {
onClipEvent (enterFrame) {
if (!used) {
this;
if (hitTest(_root.Megaman)) {
_root.sfx.start(0, Math.min(2, 27 - _root.Megaman.health));
_root.Megaman.health = Math.min(28, _root.Megaman.health + 3);
this._visible = false;
used = true;
}
}
}
}
movieClip 466 {
frame 1 {
if (_root.Megaman._xscale > 0) {
futurexvel = 30;
_xscale = 100;
} else {
futurexvel = -30;
_xscale = -100;
}
if (_root.Megaman.clinging) {
futurexvel = -futurexvel;
_xscale = -_xscale;
}
}
frame 3 {
xvel = futurexvel;
}
frame 10 {
gotoAndPlay(3);
}
}
instance OriginalChargedBlastB of movieClip 466 {
onClipEvent (load) {
damage = 6;
}
onClipEvent (enterFrame) {
if (!(gamepause or freeze)) {
_x = _x + xvel;
}
this;
if (hitTest(_root.viewable)) {
} else {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (gamepause) {
stop();
} else {
play();
}
}
}
movieClip 544 {
frame 16 {
animated = false;
}
frame 16 {
stop();
}
frame 17 {
animated = true;
}
frame 36 {
gotoAndPlay(FRun);
}
frame 38 {
animated = true;
}
frame 46 {
animated = false;
}
frame 46 {
stop();
}
frame 48 {
gotoAndStop(FStand);
}
frame 49 {
animated = true;
}
frame 51 {
stop();
}
frame 54 {
gotoAndStop(FStand);
}
frame 55 {
animated = false;
}
frame 55 {
stop();
}
frame 56 {
false;
}
frame 56 {
stop();
}
frame 57 {
animated = true;
}
frame 76 {
gotoAndPlay(FRun);
}
frame 78 {
animated = true;
}
frame 86 {
animated = false;
}
frame 86 {
stop();
}
frame 88 {
gotoAndStop(FStand);
}
frame 89 {
animated = true;
}
frame 91 {
stop();
}
frame 94 {
gotoAndStop(FStand);
}
frame 95 {
animated = false;
}
frame 95 {
stop();
}
frame 96 {
animated = true;
}
frame 114 {
animated = true;
}
frame 117 {
stop();
}
frame 162 {
stop();
_root.Victorious();
}
}
instance Megaman of movieClip 544 {
onClipEvent (load) {
function CVTMode(initFrame, endFrame) {
shift = endFrame - initFrame;
if (_currentframe == FAir) {
FStand += shift;
FRun += shift;
FAir += shift;
FJump += shift;
FDash += shift;
FDashS += shift;
FFall += shift;
FCling += shift;
this.gotoAndStop(FAir);
} else {
if (_currentframe == FDash) {
FStand += shift;
FRun += shift;
FAir += shift;
FJump += shift;
FDash += shift;
FDashS += shift;
FFall += shift;
FCling += shift;
this.gotoAndStop(FDash);
} else {
if (_currentframe == FCling) {
FStand += shift;
FRun += shift;
FAir += shift;
FJump += shift;
FDash += shift;
FDashS += shift;
FFall += shift;
FCling += shift;
this.gotoAndStop(FCling);
if (_xscale > 0) {
_x = clingRight;
} else {
_x = clingleft;
}
} else {
if (_currentframe == FStand) {
FStand += shift;
FRun += shift;
FAir += shift;
FJump += shift;
FDash += shift;
FDashS += shift;
FFall += shift;
FCling += shift;
this.gotoAndStop(FStand);
} else {
this.gotoAndPlay(_currentframe + shift);
FStand += shift;
FRun += shift;
FAir += shift;
FJump += shift;
FDash += shift;
FDashS += shift;
FFall += shift;
FCling += shift;
}
}
}
}
}
Key.addListener();
health = 28;
chargepoints = 0;
chargedB = 19;
shotnumber = 1;
shotcheck = new Array(10);
shotsinplay = 0;
animated = true;
clinging = false;
terminal = 30;
gravity = 3.5;
invincible = false;
invincibletime = 0;
myColour = new Color(this);
BaseColour = new Object();
BaseColour.rb = 0;
BaseColour.gb = 0;
BaseColour.bb = 0;
CFlashColour = new Object();
CFlashColour.rb = 170;
CFlashColour.gb = 170;
CFlashColour2 = new Object();
CFlashColour2.rb = 170;
CFlashColour2.gb = 170;
CFlashColour2.bb = 170;
clingfactor = 0.33;
clingLeft = 0;
clingRight = 0;
groundIncr = 7.5;
airIncr = 10;
airDashIncr = 5;
initialJump = 30;
initialMove = 10;
airborne = false;
dashtime = 0;
maxdashtime = 10;
dashvelocity = 18;
dashdirect = 0;
dashpresstimer = 0;
dashvary = _root.delayvalue;
ddashenable = false;
FStand = 16;
FRun = 17;
FJump = 38;
FAir = 46;
FFall = 47;
FDashS = 49;
FDash = 51;
FCling = 55;
FInjured = 100;
FVictory = 118;
FTeleportUp = 147;
CVTBuster = 40;
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
_root.background._visible = false;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(50)) {
_root.background._visible = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.Keypausenum) and pausedelay < 1 and _currentframe >= 15 and !(booyashaka or freeze or gamepause)) {
stop();
pausedelay = 10;
_global.gamepause = true;
} else {
if (Key.isDown(_root.Keypausenum) and gamepause and pausedelay < 1) {
if (animated) {
play();
}
pausedelay = 10;
_global.gamepause = false;
} else {
if (pausedelay > 0) {
pausedelay -= 1;
}
}
}
if (!(death or freeze or gamepause) and _currentframe >= 15) {
if (Key.isDown(_root.Keyleftnum) and !(airborne or dashing or injured or clinging)) {
if (this._x - this._width / 2 > left) {
this._x -= groundIncr;
this._xscale = '-200';
play();
}
if (dashpresstime < 1 and _root.twopressdash and !(airborne or dashing or injured or clinging)) {
dashdirect = -1;
ddashenable = false;
dashpresstime = dashvary;
}
} else {
if (Key.isDown(_root.Keyleftnum) and airborne and !injured) {
clingLeft = Left;
if (_x - _width / 2 > left and !busterout or _x - _width / 2 > left + 15 and busterout) {
if (dashing) {
_x = _x - airDashIncr;
if (xvel > 0) {
xvel -= 1;
}
} else {
_x = _x - airIncr;
}
_xscale = '-200';
} else {
this;
if (airborne and !injured and hitTest(_root.viewable)) {
airborne = false;
dashing = false;
clinging = true;
yvel = 0;
xvel = 0;
_x = clingLeft;
clingRight = undefined;
_xscale = -200;
this.gotoAndStop(FCling);
}
}
} else {
if (Key.isDown(_root.Keyrightnum) and !(airborne or dashing or injured or clinging)) {
if (this._width / 2 + this._x < right) {
this._x += groundIncr;
this._xscale = '200';
play();
}
if (dashpresstime < 1 and _root.twopressdash and !(airborne or dashing or injured or clinging)) {
dashdirect = 1;
ddashenable = false;
dashpresstime = dashvary;
}
} else {
if (Key.isDown(_root.Keyrightnum) and airborne and !injured) {
if (this._width / 2 + this._x < right and !busterout or this._width / 2 + this._x < right - 15 and busterout) {
if (dashing) {
this._x += airDashIncr;
if (xvel < 0) {
xvel += 1;
}
} else {
this._x += airIncr;
}
this._xscale = '200';
} else {
this;
if (airborne and !injured and hitTest(_root.viewable)) {
airborne = false;
dashing = false;
clinging = true;
yvel = 0;
xvel = 0;
_x = right;
clingLeft = undefined;
clingRight = Right;
_xscale = 200;
this.gotoAndStop(FCling);
}
}
} else {
if (!(airborne or dashing or clinging) and this._currentframe != FStand and !injured) {
this.gotoAndStop(FStand);
}
}
}
}
}
if (Key.isDown(_root.Keyjumpnum) and !(airborne or injured)) {
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
if (clinging) {
airborne = true;
clinging = false;
dashing = true;
yvel = -initialJump;
this.gotoAndPlay(FJump);
if (_xscale > 0) {
rightwall = this._width / 4 + 10;
if (busterout) {
rightwall += 15;
}
_x = _x - (rightwall + 1);
xvel = -initialMove;
} else {
leftwall = -(this._width / 4) - 10;
if (busterout) {
leftwall -= 15;
}
_x = _x - (leftwall + 1);
xvel = initialMove;
}
_xscale = -_xscale;
} else {
airborne = true;
yvel = -initialJump;
this.gotoAndPlay(FJump);
play();
if (_currentframe < FJump) {
this.gotoAndPlay(FJump);
}
}
}
if ((Key.isDown(_root.Keydashnum) or (Key.isDown(_root.Keyrightnum) and dashdirect == 1 or Key.isDown(_root.Keyleftnum) and dashdirect == -1) and dashpresstime > 0 and ddashenable) and !(airborne or dashing or injured or clinging)) {
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
if (this._xscale < 0) {
dashtime = maxdashtime;
xvel = -dashvelocity;
dashing = true;
duplicateMovieClip(_root.OriginalDashEffect, 'DashEffect', 2001);
_root.DashEffect._y = _y;
_root.DashEffect._x = _x + _width / 2;
_root.DashEffect._xscale = -100;
} else {
dashtime = maxdashtime;
xvel = dashvelocity;
dashing = true;
duplicateMovieClip(_root.OriginalDashEffect, 'DashEffect', 2001);
_root.DashEffect._y = _y;
_root.DashEffect._x = _x - _width / 2;
}
_root.MMDashSound.gotoAndPlay(2);
this.gotoAndPlay(FDashS);
}
if (dashdirect != 0 and dashpresstime > 0 and !Key.isDown(_root.Keyrightnum) and !Key.isDown(_root.Keyleftnum) and !ddashenable) {
ddashenable = true;
dashpresstime = dashvary;
} else {
if (Key.isDown(_root.Keyleftnum) and dashdirect == 1) {
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
} else {
if (Key.isDown(_root.Keyrightnum) and dashdirect == -1) {
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
}
}
}
if (Key.isdown(_root.Keyshootnum) and shotsinplay < 3 and !(injured or busterout)) {
CVTMode(0, CVTBuster);
shotnumber += 1;
shotsinplay += 1;
_root.OriginalShot.duplicateMovieClip('Shot' + shotnumber, shotnumber);
point = new Object();
point.x = Weapon._x;
point.y = Weapon._y;
localToGlobal(point);
_root['Shot' + shotnumber]._visible = true;
_root['Shot' + shotnumber]._x = point.x - _root._x;
_root['Shot' + shotnumber]._y = point.y - _root._y;
if (shotnumber == 10) {
shotnumber = 1;
}
_root['Shot' + shotnumber].gotoAndPlay(2);
busterout = true;
} else {
if (Key.isdown(_root.Keyshootnum) and !(injured or busterout)) {
CVTMode(0, CVTBuster);
busterout = true;
}
}
if (busterout and !Key.isDown(_root.Keyshootnum) and !injured) {
if (chargepoints > chargedB - 1) {
shotnumber += 1;
shotsinplay += 1;
_root.OriginalChargedBlastB.duplicateMovieClip('Shot' + shotnumber, shotnumber);
point = new Object();
point.x = Weapon._x;
point.y = Weapon._y;
localToGlobal(point);
_root['Shot' + shotnumber]._visible = true;
_root['Shot' + shotnumber]._x = point.x - _root._x;
_root['Shot' + shotnumber]._y = point.y - _root._y;
if (shotnumber == 10) {
shotnumber = 1;
}
_root.sfx9.start(0, 0);
}
_root.sfx10.stop('mmstartcharging');
_root.sfx11.stop('mmcharging');
myColour.setTransform(BaseColour);
busterout = false;
chargepoints = 0;
CVTMode(CVTBuster, 0);
}
}
}
onClipEvent (enterFrame) {
if (airborne and !(freeze or gamepause)) {
_y = _y + yvel;
if (yvel < terminal) {
if (!Key.isDown(_root.Keyjumpnum) and yvel < 0) {
yvel = 0;
} else {
yvel += gravity;
if (yvel > terminal) {
yvel = terminal;
}
}
}
}
if (clinging and !(freeze or gamepause)) {
_y = _y + yvel;
if (yvel < terminal * clingfactor) {
yvel += gravity * clingfactor;
if (yvel > terminal * clingfactor) {
yvel = terminal * clingfactor;
}
}
}
if (dashing and !(freeze or gamepause)) {
if (!airborne and dashtime < maxdashtime - 2) {
this.gotoAndStop(FDash);
}
if (this._width / 2 + this._x < right and xvel > 0 or this._x - this._width / 2 > left and xvel < 0) {
this._x += xvel;
dashtime -= 1;
if (dashtime < 1 and !airborne) {
dashing = false;
xvel = 0;
this.gotoAndStop(FStand);
}
} else {
dashtime = 0;
dashing = false;
xvel = 0;
}
if (airborne) {
if (xvel > 8) {
xvel -= 1;
} else {
if (xvel < -8) {
xvel += 1;
}
}
}
}
if (dashpresstime > 0) {
dashpresstime -= 1;
} else {
if (dashdirect != 0) {
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
}
}
}
onClipEvent (enterFrame) {
if (!freeze) {
leftwall = this._x - this._width / 4 - 10;
if (busterout) {
leftwall -= 15;
}
if (leftwall < left and left - leftwall < 3 * _width / 4 and !clinging) {
this._x += left - leftwall;
if (dashing) {
dashing = false;
dashtime = 0;
xvel = 0;
if (airborne and !Injured) {
this.gotoAndStop(FAir);
} else {
if (!Injured) {
this.gotoAndStop(FStand);
}
}
}
}
if (clinging and _xscale < 0 and _x != clingLeft) {
airborne = true;
clinging = false;
this.gotoAndStop(FAir);
}
rightwall = this._width / 4 + this._x + 10;
if (busterout) {
rightwall += 15;
}
if (rightwall > right and rightwall - right < 3 * _width / 4 and !clinging) {
this._x -= rightwall - right;
if (dashing) {
dashing = false;
dashtime = 0;
xvel = 0;
if (airborne and !Injured) {
this.gotoAndStop(FAir);
} else {
if (!Injured) {
this.gotoAndStop(FStand);
}
}
}
}
if (clinging and _xscale > 0 and _x != clingRight) {
airborne = true;
clinging = false;
this.gotoAndStop(FAir);
}
if (airborne and this._y - this._height < ceiling and ceiling - (this._y - this._height) < this._height * 0.75) {
if (yvel < 0) {
this._y = ceiling + this._height;
yvel = 0;
}
}
if (_y > ground and yvel > 0 and (_y - ground < _height * 0.4 or _y - yvel - ground < _height * 0.4)) {
_y = ground;
if (airborne) {
this._y = ground;
if (Key.isDown(_root.Keyrightnum)) {
this._x += 15;
this._xscale = '200';
this.gotoAndPlay(FRun);
} else {
if (Key.isDown(_root.Keyleftnum)) {
this._x -= 15;
this._xscale = '-200';
this.gotoAndPlay(FRun);
}
}
dashing = false;
Injured = false;
Flailing = false;
airborne = false;
yvel = 0;
play();
}
if (clinging) {
clinging = false;
this.gotoAndStop(FStand);
}
}
}
}
onClipEvent (enterFrame) {
if (!death and _currentframe >= 15) {
if (busterout and Key.isDown(_root.Keyshootnum) and !gamepause or freeze and busterout) {
if (chargepoints < chargedB) {
if (chargepoints == 5) {
_root.sfx10.start(0, 0);
}
chargepoints += 1;
value = myColour.getTransform();
if (value.rb == 0 and chargepoints > 5 and !death) {
myColour.setTransform(CFlashColour);
} else {
myColour.setTransform(BaseColour);
}
} else {
if (chargepoints > 5) {
value = myColour.getTransform();
if (value.rb == 0 and !death) {
myColour.setTransform(CFlashColour2);
} else {
myColour.setTransform(BaseColour);
}
}
}
}
if (_y < ground and !airborne and !(landed or freeze or gamepause or clinging)) {
airborne = true;
this.gotoAndPlay(FAir);
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
}
if (!(freeze or gamepause)) {
if (Injured and !Flailing) {
ddashenable = false;
dashpresstime = 0;
dashdirect = 0;
Flailing = true;
yvel = -12;
_y = _y - 15;
airborne = true;
dashing = true;
clinging = false;
this.gotoAndPlay(FInjured);
animated = true;
invincible = true;
invincibletime = 40;
airrecover = 15;
}
if (Injured and Flailing) {
if (_currentframe < FInjured) {
this.gotoAndPlay(FInjured + 1);
}
if (airrecover < 1) {
Injured = false;
Flailing = false;
invincible = false;
this.gotoAndStop(FAir);
}
airrecover -= 1;
}
}
if (invincible and invincibletime > 0 and !(death or gamepause)) {
invincibletime -= 1;
} else {
if (invincible and !(death or gamepause)) {
invincible = false;
}
}
if (invincible and !(injured or death or gamepause)) {
if (_alpha == 100) {
eval(this)._alpha = 95;
} else {
if (_alpha > 10) {
eval(this)._alpha = 10;
} else {
eval(this)._alpha = 100;
}
}
} else {
if (_alpha != 100) {
eval(this)._alpha = 100;
}
}
if (health < 1) {
_root.dies();
}
if (freeze and !gamepause) {
if (!bossfight) {
this._x += xvel;
}
}
if (clinging and (_xscale > 0 and Right != clingRight or _xscale < 0 and Left != clingLeft)) {
clinging = false;
airborne = true;
this.gotoAndStop(FAir);
}
shotsinplay = 0;
shotchecknum = 0;
shotchecknum == 1;
while (shotchecknum < 11) {
if (_root['Shot' + shotchecknum]._y != undefined) {
shotsinplay += 1;
}
shotchecknum += 1;
}
}
}
onClipEvent (enterFrame) {
if (!(freeze or gamepause)) {
if (xfollow) {
_root._x = -_x + 250;
_root.Viewable._x = _x + 70;
_root.viewblock._x = _x + 70;
_root.background._x = _x * 0.2;
}
if (yfollow) {
_root._y = -_y + 240;
_root.Viewable._y = _y;
_root.viewblock._y = _y;
}
}
}
onClipEvent (enterFrame) {
if (airborne and _currentframe < FAir and !gamepause) {
play();
}
if (airborne and _currentframe < FJump and !gamepause) {
this.gotoAndPlay(FJump);
}
if (booyashaka) {
airborne = false;
dashing = false;
busterout = false;
invincible = false;
if (this._y < ground) {
this.gotoAndStop(FAir);
this._y += yvel;
if (yvel < 30) {
yvel += Math.abs(yvel) * 0.15 + 1;
}
} else {
if (_y >= ground and !victorystart) {
_root.sfx10.stop();
_root.sfx11.stop();
victorystart = true;
_y = ground;
this.gotoAndStop(FStand);
freeze = true;
victory = new Sound();
victory.attachSound('victoryjingle');
victory.onSoundComplete = function () {
if (_root.Megaman._currentframe < FVictory) {
_root.Megaman.gotoAndPlay(FVictory);
}
};
victory.start(0, 0);
} else {
if (_y == ground and _currentframe < FVictory) {
this.gotoAndStop(FStand);
}
}
}
if (this._currentframe == FAbsorb) {
this.gotoAndPlay(FTeleportUp);
freeze = false;
}
}
}
}
movieClip 549 {
}
movieClip 550 {
frame 30 {
removeMovieClip(this);
}
}
movieClip 553 {
}
instance of movieClip 553 {
onClipEvent (enterFrame) {
if (!used) {
this;
if (hitTest(_root.Megaman)) {
_root.sfx12.start(0, 0);
_root.lives += 1;
this._visible = false;
used = true;
}
}
}
}
movieClip 583 {
}
movieClip 584 {
}
movieClip 623 {
frame 1 {
animated = false;
}
frame 1 {
stop();
}
frame 2 {
animated = true;
}
frame 125 {
_root.bgm3.stop();
_root.bgm2.start(0, 999);
}
frame 130 {
gotoAndPlay(126);
}
frame 137 {
gotoAndPlay(132);
}
frame 145 {
gotoAndPlay(138);
}
frame 155 {
gotoAndPlay(126);
}
frame 216 {
stop();
_global.booyashaka = true;
animated = false;
}
}
instance Boss of movieClip 623 {
onClipEvent (load) {
basscolour = new Color(this);
basstransform = new Object();
basstransform.rb = 100;
basstransform2 = new Object();
basstransform2.rb = 0;
sfx = new Sound(this);
sfx2 = new Sound(this);
sfx3 = new Sound(this);
sfx.attachSound('nmehitsound');
sfx2.attachSound('bosshitsound');
sfx3.attachSound('ting');
FSmallBoost = 126;
FGunOut = 132;
FLargeBoost = 138;
FSlam = 146;
FDeath = 156;
PreF = 5;
health = 168;
busy = false;
transformed = false;
clipBounds = _root.bossroom.getBounds(_root);
bossceiling = clipBounds.yMin;
bossground = clipBounds.yMax;
bossvmiddle = (bossceiling + bossground) / 2;
bossleft = clipBounds.xMin;
bossright = clipBounds.xMax;
bosshmiddle = (bossleft + bossright) / 2;
xTarget = 0;
xvel = 0;
yTarget = 0;
yvel = 0;
action = '';
this._xscale = -100;
animated = false;
}
onClipEvent (enterFrame) {
if (!gamepause) {
if (stopped) {
if (animated) {
play();
}
stopped = false;
}
if (!bossdeath) {
eval(this)._alpha = 100;
if (_global.bossfight) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (this._currentframe >= FSmallBoost) {
if (_root.Megaman.freeze and !victory) {
_root.Megaman.freeze = false;
_root.Megaman.gotoAndPlay(FRun);
}
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
this.health -= _root['Shot' + count].damage;
removeMovieClip(_root['Shot' + count]);
if (this.health < 1) {
bossdeath = true;
sfx2.start(0, 0);
stop();
_root.Megaman.freeze = true;
} else {
if (health / 18 == int(health / 18)) {
sfx2.start(0, 0);
} else {
sfx.start(0, 0);
sfx.start(0, 0);
}
}
eval(this)._alpha = 0;
}
++count;
}
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 2;
_root.Megaman.injured = true;
_root.Megaman.xvel = (_root.Megaman._xscale / Math.abs(_root.Megaman._xscale)) * -8;
if (busy and (action == 'dash' or action == 'stomp')) {
_root.Megaman.xvel = Math.abs(_root.Megaman.xvel * 3) * (-this._xscale / Math.abs(this._xscale));
}
}
if (!busy and !transformed) {
actionconstant = Math.random() * 100;
if (actionconstant < 44) {
if (_root.Megaman._x > this._x) {
xTarget = bossleft;
yTarget = bossground - 90;
this._xscale = 90;
} else {
xTarget = bossright;
yTarget = bossground - 90;
this._xscale = -90;
}
xvel = 20;
yvel = 20;
busy = true;
action = 'triple';
finished = false;
arrivey = false;
arrivex = false;
timer = 0;
} else {
if (actionconstant < 71) {
if (_root.Megaman._x > this._x) {
xTarget = bossright;
yTarget = bossground + 10;
this._xscale = 90;
} else {
xTarget = bossleft;
yTarget = bossground + 10;
this._xscale = -90;
}
basscolour.setTransform(basstransform);
xvel = 25;
yvel = 40;
busy = true;
dashertime = 0;
action = 'dash';
_root.sfx3.start(0, 0);
this.gotoAndPlay(FLargeBoost);
} else {
yTarget = bossvmiddle;
xvel = 15;
yvel = 30;
busy = true;
action = 'stomp';
seeking = false;
striking = false;
slam = false;
this.gotoAndPlay(FLargeBoost);
}
}
}
if (busy) {
if (action == 'triple') {
if (!finished) {
if (xTarget == bossright and this._x < bossright) {
this._x += xvel;
} else {
if (xTarget == bossleft and this._x > bossleft) {
this._x -= xvel;
} else {
arrivex = true;
}
}
if (Math.abs(this._y - yTarget) < yvel) {
this._y = yTarget;
arrivey = true;
} else {
if (this._y < yTarget) {
this._y += yvel;
} else {
if (this._y > yTarget) {
this._y -= yvel;
}
}
}
if (arrivex and arrivey and timer == 0) {
this.gotoAndPlay(FGunOut);
point = new Object();
point.x = Weapon._x;
point.y = Weapon._y;
localToGlobal(point);
timer = 28;
duplicateMovieClip(_root.OriginalBassSmall, 'SmallShot1', 205);
_root.SmallShot1._x = point.x - _root._x;
_root.SmallShot1._y = point.y - _root._y;
if (this._xscale > 0) {
_root.SmallShot1.xvel = 25;
} else {
_root.SmallShot1.xvel = -25;
}
_root.sfx6.start(0, 0);
} else {
if (arrivey and arrivex) {
timer -= 1;
if (timer == 22) {
duplicateMovieClip(_root.OriginalBassSmall, 'SmallShot2', 206);
_root.SmallShot2._x = point.x - _root._x;
_root.SmallShot2._y = point.y - _root._y;
if (this._xscale > 0) {
_root.SmallShot2.xvel = 25;
} else {
_root.SmallShot2.xvel = -25;
}
_root.sfx6.start(0, 0);
} else {
if (timer == 16) {
duplicateMovieClip(_root.OriginalBassMedium, 'MedShot', 207);
_root.MedShot._x = point.x - _root._x;
_root.MedShot._y = point.y - _root._y;
if (this._xscale > 0) {
_root.MedShot.xvel = 25;
_root.MedShot._xscale = 100;
} else {
_root.MedShot.xvel = -25;
_root.MedShot._xscale = -100;
}
_root.sfx6.start(0, 0);
} else {
if (timer == 10) {
duplicateMovieClip(_root.OriginalBassTriple, 'TripleSpawn', 208);
_root.TripleSpawn._x = point.x - _root._x;
_root.TripleSpawn._y = point.y - _root._y;
_root.TripleSpawn.instance = true;
if (this._xscale < 0) {
_root.TripleSpawn._xscale = -100;
}
_root.sfx8.start(0, 0);
_root.sfx8.start(0, 0);
} else {
if (timer == 0) {
finished = true;
}
}
}
}
}
}
} else {
busy = false;
this.gotoAndPlay(FSmallBoost);
}
} else {
if (action == 'dash') {
if (dashertime == 10) {
_root.sfx4.start(0, 0);
if (xTarget == bossright and this._x < bossright) {
this._x += xvel;
if (this._y < bossground) {
this._y += yvel;
}
} else {
if (xTarget == bossleft and this._x > bossleft) {
this._x -= xvel;
if (this._y < bossground) {
this._y += yvel;
}
} else {
basscolour.setTransform(basstransform2);
busy = false;
_root.sfx4.stop('bdash');
this.gotoAndPlay(FSmallBoost);
}
}
} else {
dashertime += 1;
}
} else {
if (action == 'stomp') {
if (!seeking and !striking) {
_root.sfx7.start(0, 0);
if (this._y > yTarget) {
this._y -= yvel;
} else {
seeking = true;
}
} else {
if (seeking and !striking) {
xTarget = _root.Megaman._x;
if (Math.abs(this._x - xTarget) < xvel) {
this._x = _root.Megaman._x;
} else {
if (this._x < _root.Megaman._x) {
this._x += xvel;
this._xscale = 90;
} else {
this._x -= xvel;
this._xscale = -90;
}
}
if (this._x == _root.Megaman._x) {
striking = true;
}
} else {
if (this._y < bossground) {
this._y += yvel;
} else {
if (!slam) {
this._y = bossground;
timer = 10;
slam = true;
this.gotoAndPlay(FSlam);
_root.sfx7.stop('hover');
_root.sfx5.start(0, 0);
} else {
timer -= 1;
if (timer < 1) {
busy = false;
}
}
}
}
}
}
}
}
}
} else {
if (this._currentframe == 55) {
_root.sfx2.start(0, 0);
} else {
if (this._currentframe == 60) {
_root.Viewable.gotoAndStop(2);
}
}
}
}
} else {
eval(this)._alpha = 100;
_root.bgm2.stop();
if (!dying) {
if (this._y < bossground) {
this._y += 20;
} else {
if (this._y > bossground) {
this._y = bossground;
this.gotoAndPlay(FDeath);
dying = true;
} else {
this.gotoAndPlay(FDeath);
dying = true;
}
}
}
}
} else {
stopped = true;
stop();
}
}
}
movieClip 624 {
instance shield of movieClip 308 {
onClipEvent (load) {
sfx = new Sound();
sfx.attachSound('deflection');
}
onClipEvent (enterFrame) {
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
_parent.shield = true;
removeMovieClip(_root['Shot' + count]);
sfx.start(0, 0);
} else {
_parent.shield = false;
}
++count;
}
}
}
frame 28 {
gotoAndPlay(1);
}
frame 33 {
_parent.shield = false;
}
frame 38 {
animated = false;
}
frame 38 {
seed = Math.random() * 100;
if (seed > 66) {
action = 'shooting';
shotnumber = shotmax;
shottime = 0;
this.gotoAndPlay('shooting');
}
}
frame 39 {
animated = true;
}
frame 41 {
throwing = true;
}
frame 47 {
stop();
}
frame 51 {
gotoAndPlay(1);
}
instance shield of movieClip 308 {
onClipEvent (load) {
sfx = new Sound();
sfx.attachSound('deflection');
}
onClipEvent (enterFrame) {
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
_parent.shield = true;
removeMovieClip(_root['Shot' + count]);
sfx.start(0, 0);
} else {
_parent.shield = false;
}
++count;
}
}
}
frame 54 {
_parent.shield = false;
}
frame 54 {
shooting = true;
stop();
}
instance shield of movieClip 308 {
onClipEvent (load) {
sfx = new Sound();
sfx.attachSound('deflection');
}
onClipEvent (enterFrame) {
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count])) {
_parent.shield = true;
removeMovieClip(_root['Shot' + count]);
sfx.start(0, 0);
} else {
_parent.shield = false;
}
++count;
}
}
}
frame 56 {
gotoAndPlay(1);
}
}
instance OriginalSniperJoe of movieClip 624 {
onClipEvent (load) {
busy = false;
shield = false;
action = '';
standtimer = 30;
minthrowdist = 192;
maxthrowdist = 288;
rof = 5;
shottime = 0;
shotnumber = shotmin;
health = 12;
sfx = new Sound(this);
sfx2 = new Sound(this);
sfx.attachSound('nmehitsound');
sfx2.attachSound('nmedeathsound');
animated = true;
}
onClipEvent (enterFrame) {
if (!gamepause) {
if (stopped) {
if (animated) {
play();
}
stopped = false;
}
eval(this)._alpha = 100;
if (this.hitTest(_root.Viewable)) {
if (!busy and standtimer == 0) {
if (_root.Megaman._x > this._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (this._x > _root.Megaman._x) {
difference = this._x - _root.Megaman._x;
} else {
difference = _root.Megaman._x - this._x;
}
if (difference < maxthrowdist and difference > minthrowdist) {
action = 'throw';
this.gotoAndPlay('throw');
busy = true;
} else {
action = 'shoot';
this.gotoAndPlay('shootstart');
busy = true;
}
} else {
if (!busy) {
standtimer -= 1;
if (_root.Megaman._x > this._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
} else {
if (action == 'throw') {
if (throwing and !thrown) {
_root.OriginalGrenade.duplicateMovieClip('Grenade' + grennumber, grennumber);
point = new Object();
point.x = Weapon._x;
point.y = Weapon._y;
localToGlobal(point);
_root['Grenade' + grennumber]._visible = true;
_root['Grenade' + grennumber]._x = point.x - _root._x;
_root['Grenade' + grennumber]._y = point.y - _root._y;
_root['Grenade' + grennumber]._visible = true;
_root['Grenade' + grennumber].yvel = -30;
_root['Grenade' + grennumber].detonate = this._y;
_root['Grenade' + grennumber].master = this._name;
if (this._xscale == 100) {
_root['Grenade' + grennumber].xvel = -15;
} else {
_root['Grenade' + grennumber].xvel = 15;
}
thrown = true;
} else {
if (throwing) {
if (_root['Grenade' + grennumber].remove) {
removeMovieClip(_root['Grenade' + grennumber]);
throwing = false;
thrown = false;
play();
busy = false;
action = '';
standtimer = int(Math.random() * 50 + 30);
}
}
}
} else {
if (shooting) {
if (shottime == 0) {
_root.OriginalJoeShot.duplicateMovieClip('Shot' + shotnumber, shotnumber);
point = new Object();
point.x = Weapon._x;
point.y = Weapon._y;
localToGlobal(point);
_root['Shot' + shotnumber]._visible = true;
_root['Shot' + shotnumber]._x = point.x - _root._x;
_root['Shot' + shotnumber]._y = point.y - _root._y;
if (this._xscale == 100) {
_root['Shot' + shotnumber].xvel = -40;
} else {
_root['Shot' + shotnumber].xvel = 40;
}
_root['Shot' + shotnumber].gotoAndPlay(2);
if (shotnumber == shotmax) {
shotnumber = shotmin;
shooting = false;
play();
busy = false;
action = '';
standtimer = int(Math.random() * 50 + 30);
} else {
shotnumber += 1;
shottime = rof;
}
} else {
shottime -= 1;
}
}
}
}
}
} else {
this.removeMovieClip();
}
} else {
if (!stopped) {
stopped = true;
stop();
}
}
}
onClipEvent (enterFrame) {
if (!gamepause) {
count = 1;
while (count <= 10) {
this;
if (hitTest(_root['Shot' + count]) and !shield) {
this.health -= _root['Shot' + count].damage;
removeMovieClip(_root['Shot' + count]);
if (this.health < 1) {
_root.OriginalExplosion.duplicateMovieClip('JoeExplosion', 300);
_root.JoeExplosion._x = this._x;
_root.JoeExplosion._y = this._y - this._height / 2;
sfx2.start(0, 0);
sfx2.start(0, 0);
_root['Grenade' + grennumber].okay = true;
removeMovieClip(this);
} else {
sfx.start(0, 0);
sfx.start(0, 0);
}
eval(this)._alpha = 0;
}
++count;
}
this;
if (hitTest(_root.Megaman) and !_root.Megaman.injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 2;
_root.Megaman.injured = true;
_root.Megaman.xvel = (_root.Megaman._xscale / Math.abs(_root.Megaman._xscale)) * -8;
}
}
}
}
movieClip 642 {
}
movieClip 645 {
frame 16 {
gotoAndPlay(1);
}
instance of movieClip 642 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !_root.Megaman.Injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 4;
_root.Megaman.injured = true;
if (_root.Megaman._x > this._x) {
_root.Megaman.xvel = 8;
} else {
_root.Megaman.xvel = -8;
}
_root.Megaman.yvel = -18;
}
}
}
instance of movieClip 642 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !_root.Megaman.Injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 4;
_root.Megaman.injured = true;
if (_root.Megaman._x > this._x) {
_root.Megaman.xvel = 8;
} else {
_root.Megaman.xvel = -8;
}
_root.Megaman.yvel = -18;
}
}
}
instance of movieClip 642 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !_root.Megaman.Injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 4;
_root.Megaman.injured = true;
if (_root.Megaman._x > this._x) {
_root.Megaman.xvel = 8;
} else {
_root.Megaman.xvel = -8;
}
_root.Megaman.yvel = -18;
}
}
}
instance of movieClip 642 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman) and !_root.Megaman.Injured and !_root.Megaman.invincible) {
_root.Megaman.health -= 4;
_root.Megaman.injured = true;
if (_root.Megaman._x > this._x) {
_root.Megaman.xvel = 8;
} else {
_root.Megaman.xvel = -8;
}
_root.Megaman.yvel = -18;
}
}
}
frame 27 {
remove = true;
}
}
instance OriginalGrenade of movieClip 645 {
onClipEvent (load) {
exploded = false;
remove = false;
okay = false;
}
onClipEvent (enterFrame) {
if (!gamepause and detonate != undefined) {
play();
if (this._y < detonate) {
this._x += xvel;
this._y += yvel;
yvel += Math.abs(yvel) * 0.2 + 2.5;
} else {
if (!exploded) {
this._y = detonate;
this.gotoAndPlay('boom');
exploded = true;
}
}
} else {
stop();
}
if (remove and okay or remove and _root[master]._x == undefined or death) {
removeMovieClip(this);
}
}
}
instance of movieClip 455 {
onClipEvent (enterFrame) {
if (!used) {
this;
if (hitTest(_root.Megaman)) {
_root.sfx.start(0, Math.min(2, 27 - _root.Megaman.health));
_root.Megaman.health = Math.min(28, _root.Megaman.health + 3);
this._visible = false;
used = true;
}
}
}
}
instance of movieClip 455 {
onClipEvent (enterFrame) {
if (!used) {
this;
if (hitTest(_root.Megaman)) {
_root.sfx.start(0, Math.min(2, 27 - _root.Megaman.health));
_root.Megaman.health = Math.min(28, _root.Megaman.health + 3);
this._visible = false;
used = true;
}
}
}
}
movieClip 658 {
frame 6 {
removeMovieClip(this);
}
}
instance OriginalDashEffect of movieClip 658 {
onClipEvent (enterFrame) {
if (gamepause) {
stop();
} else {
play();
}
}
}
movieClip 659 {
instance of movieClip 308 {
onClipEvent (load) {
clipBounds = this.getBounds(_root);
xl = clipBounds.xMin;
yl = clipBounds.yMin;
xr = clipBounds.xMax;
yr = clipBounds.yMax;
m = (yl - yr) / (xl - xr);
}
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
_global.ceiling = Number.NEGATIVE_INFINITY;
_global.left = clipBounds.xMin;
_global.right = Number.POSITIVE_INFINITY;
cx = _root.Megaman._x - xr;
_global.ground = Math.min(m * cx + yr, yr);
if (Math.abs(_root.Megaman._y - ground) < 15) {
_root.Megaman._y = ground;
_root.Megaman.landed = true;
} else {
_root.Megaman.landed = false;
}
} else {
_root.Megaman.landed = false;
}
}
}
}
movieClip 660 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ground = clipBounds.yMax;
_global.ceiling = clipBounds.yMin;
_global.left = Number.NEGATIVE_INFINITY;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 661 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ceiling = clipBounds.yMin;
_global.right = clipBounds.xMax;
_global.enviro = 'normal';
}
}
}
}
movieClip 662 {
instance of movieClip 308 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
clipBounds = this.getBounds(_root);
_global.ceiling = clipBounds.yMin;
_global.enviro = 'normal';
}
}
}
}
movieClip 663 {
}
instance of movieClip 663 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance dfsp9 of movieClip 445 {
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Megaman)) {
if (!done) {
duplicateMovieClip(_root.OriginalDragonfly, 'Dragonfly9', 209);
if (_root.Megaman._xscale > 0) {
_root.Dragonfly9._x = this._x + 480;
_root.Dragonfly9._xscale = 100;
} else {
_root.Dragonfly9._x = this._x - 480;
_root.Dragonfly9._xscale = -100;
}
_root.Dragonfly9._y = this._y;
if (_root.Megaman._xscale > 0) {
_root.Dragonfly9.xvel = -30;
} else {
_root.Dragonfly9.xvel = 30;
}
_root.Dragonfly9._visible = true;
done = true;
}
} else {
this;
if (!hitTest(_root.Viewable)) {
done = false;
}
}
}
}
instance sjsp2 of movieClip 445 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
this;
if (hitTest(_root.Viewable)) {
if (!done) {
duplicateMovieClip(_root.OriginalSniperJoe, 'SniperJoe2', 402);
if (_root.Megaman._x > this._x) {
_root.SniperJoe2._xscale = -100;
} else {
_root.SniperJoe2._xscale = 100;
}
_root.SniperJoe2._x = this._x;
_root.SniperJoe2._y = this._y;
_root.SniperJoe2.ShotMax = 456;
_root.SniperJoe2.ShotMin = 454;
_root.SniperJoe2.grennumber = 457;
_root.SniperJoe2._visible = true;
done = true;
}
} else {
done = false;
}
}
}
movieClip 695 {
}
movieClip 699 {
frame 1 {
_root.sfx.start(0, 0);
}
frame 3 {
_root.sfx.start(0, 0);
}
frame 5 {
_root.sfx.start(0, 0);
}
frame 7 {
_root.sfx.start(0, 0);
}
frame 9 {
_root.sfx.start(0, 0);
}
frame 11 {
_root.sfx.start(0, 0);
}
frame 13 {
_root.sfx.start(0, 0);
}
frame 15 {
_root.sfx.start(0, 0);
}
frame 17 {
_root.sfx.start(0, 0);
}
frame 19 {
_root.sfx.start(0, 0);
}
frame 21 {
_root.sfx.start(0, 0);
}
frame 23 {
_root.sfx.start(0, 0);
}
frame 25 {
_root.sfx.start(0, 0);
}
frame 27 {
_root.sfx.start(0, 0);
}
frame 29 {
_root.sfx.start(0, 0);
}
frame 30 {
stop();
}
}
movieClip 702 {
frame 1 {
stop();
}
instance of movieClip 695 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.Megaman.health != this._currentframe + 27) {
gotoAndStop(29 - _root.Megaman.health);
}
}
}
frame 2 {
bossbar.gotoAndPlay(2);
stop();
}
instance of movieClip 699 {
onClipEvent (enterFrame) {
if (this._currentframe < 30) {
play();
}
if (_root.Boss.health / 6 != this._currentframe + 27 and this._currentframe > 29) {
gotoAndStop(Math.round(58 - _root.Boss.health / 6));
}
}
}
}
instance OriginalViewable of movieClip 702 {
onClipEvent (enterFrame) {
if (!genuine) {
stop();
}
}
}
movieClip 704 {
}
movieClip 720 {
frame 1 {
stop();
}
}
frame 9 {
_root._x = 0;
_root._y = 0;
_root.Viewable._x = 5000;
_root.Viewable._y = 5000;
_root.Viewblock._x = 5000;
_root.Viewblock._y = 5000;
}
button 730 {
on (release) {
gotoAndStop(3);
eval(_parent)._alpha = 0;
}
}
frame 28 {
stop();
}
frame 29 {
_root._x = 0;
_root._y = 0;
_root.Viewable._x = 5000;
_root.Viewable._y = 5000;
_root.Viewblock._x = 5000;
_root.Viewblock._y = 5000;
_quality = 'HIGH';
}
button 738 {
on (release) {
getURL('http://asylumavatars.f2o.org', '_blank');
}
}
button 740 {
on (release) {
getURL('http://www.megaman-universe.com', '_blank');
}
}
frame 88 {
stop();
}