Combined Code
frame 1 {
play();
}
button 3 {
on (release) {
_quality = 'LOW';
}
}
button 4 {
on (release) {
_quality = 'MEDIUM';
}
}
button 5 {
on (release) {
_quality = 'HIGH';
}
}
// unknown tag 88 length 92
movieClip 13 {
}
button 17 {
on (release) {
if (_global.percent == 100) {
gotoAndStop('sandbox');
}
}
}
button 23 {
on (release) {
_root.gotoAndStop('start');
}
}
movieClip 24 {
frame 1 {
if (_global.percent == 100) {
gotoAndPlay('loaded');
}
play();
}
frame 6 {
if (_global.percent == 100) {
gotoAndStop('loaded');
}
}
frame 11 {
if (_global.percent == 100) {
gotoAndStop('loaded');
}
}
frame 16 {
if (_global.percent == 100) {
gotoAndStop('loaded');
}
}
frame 21 {
if (_global.percent == 100) {
gotoAndStop('loaded');
}
}
frame 25 {
gotoAndPlay('loading');
}
frame 26 {
stop();
}
}
frame 2 {
_global.percent = Math.floor((_root.getBytesLoaded() / getBytesTotal()) * 100);
_root.loadtext.text = _global.percent;
gotoAndPlay('load');
}
frame 3 {
stop();
}
movieClip 27 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 28 {
frame 212 {
gotoAndPlay(1);
}
}
instance back1 of movieClip 28 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 30 {
}
movieClip 31 {
frame 152 {
gotoAndPlay(1);
}
}
instance of movieClip 31 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 43 {
}
movieClip 45 {
frame 1 {
stop();
}
}
movieClip 47 {
frame 1 {
stop();
}
}
movieClip 49 {
}
movieClip 51 {
}
movieClip 52 {
}
movieClip 54 {
frame 1 {
stop();
}
}
movieClip 56 {
frame 1 {
stop();
}
}
movieClip 58 {
frame 1 {
stop();
}
}
movieClip 60 {
frame 1 {
stop();
}
}
movieClip 62 {
frame 1 {
stop();
}
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 72 {
frame 1 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 1 {
gotoAndPlay(_root.hair * 2);
}
frame 3 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 3 {
gotoAndPlay(_root.hair * 2);
}
frame 5 {
gotoAndPlay(_root.hair * 2);
}
frame 7 {
gotoAndPlay(_root.hair * 2);
}
frame 9 {
gotoAndPlay(_root.hair * 2);
}
frame 11 {
gotoAndPlay(_root.hair * 2);
}
frame 13 {
gotoAndPlay(_root.hair * 2);
}
frame 15 {
gotoAndPlay(_root.hair * 2);
}
frame 17 {
gotoAndPlay(_root.hair * 2);
}
frame 19 {
gotoAndPlay(_root.hair * 2);
}
frame 21 {
gotoAndPlay(_root.hair * 2);
}
frame 23 {
gotoAndPlay(_root.hair * 2);
}
frame 25 {
gotoAndPlay(_root.hair * 2);
}
frame 27 {
gotoAndPlay(_root.hair * 2);
}
frame 29 {
gotoAndPlay(_root.hair * 2);
}
frame 31 {
gotoAndPlay(_root.hair * 2);
}
frame 33 {
gotoAndPlay(_root.hair * 2);
}
frame 35 {
gotoAndPlay(_root.hair * 2);
}
frame 37 {
gotoAndPlay(_root.hair * 2);
}
frame 39 {
gotoAndPlay(_root.hair * 2);
}
frame 41 {
gotoAndPlay(_root.hair * 2);
}
frame 43 {
gotoAndPlay(_root.hair * 2);
}
frame 45 {
gotoAndPlay(_root.hair * 2);
}
frame 47 {
gotoAndPlay(_root.hair * 2);
}
}
movieClip 92 {
frame 1 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 1 {
gotoAndPlay(_root.hair * 2);
}
frame 3 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 3 {
gotoAndPlay(_root.hair * 2);
}
frame 5 {
gotoAndPlay(_root.hair * 2);
}
frame 7 {
gotoAndPlay(_root.hair * 2);
}
frame 9 {
gotoAndPlay(_root.hair * 2);
}
frame 11 {
gotoAndPlay(_root.hair * 2);
}
frame 13 {
gotoAndPlay(_root.hair * 2);
}
frame 15 {
gotoAndPlay(_root.hair * 2);
}
frame 17 {
gotoAndPlay(_root.hair * 2);
}
frame 19 {
gotoAndPlay(_root.hair * 2);
}
frame 21 {
gotoAndPlay(_root.hair * 2);
}
frame 23 {
gotoAndPlay(_root.hair * 2);
}
frame 25 {
gotoAndPlay(_root.hair * 2);
}
frame 27 {
gotoAndPlay(_root.hair * 2);
}
frame 29 {
gotoAndPlay(_root.hair * 2);
}
frame 31 {
gotoAndPlay(_root.hair * 2);
}
frame 33 {
gotoAndPlay(_root.hair * 2);
}
frame 35 {
gotoAndPlay(_root.hair * 2);
}
frame 37 {
gotoAndPlay(_root.hair * 2);
}
frame 39 {
gotoAndPlay(_root.hair * 2);
}
frame 41 {
gotoAndPlay(_root.hair * 2);
}
frame 43 {
gotoAndPlay(_root.hair * 2);
}
frame 45 {
gotoAndPlay(_root.hair * 2);
}
frame 47 {
gotoAndPlay(_root.hair * 2);
}
}
movieClip 93 {
}
movieClip 95 {
}
movieClip 97 {
}
movieClip 102 {
frame 1 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 1 {
gotoAndPlay(_root.hair * 2);
}
frame 3 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 3 {
gotoAndPlay(_root.hair * 2);
}
frame 5 {
gotoAndPlay(_root.hair * 2);
}
frame 7 {
gotoAndPlay(_root.hair * 2);
}
frame 9 {
gotoAndPlay(_root.hair * 2);
}
frame 11 {
gotoAndPlay(_root.hair * 2);
}
frame 13 {
gotoAndPlay(_root.hair * 2);
}
frame 15 {
gotoAndPlay(_root.hair * 2);
}
frame 17 {
gotoAndPlay(_root.hair * 2);
}
frame 19 {
gotoAndPlay(_root.hair * 2);
}
frame 21 {
gotoAndPlay(_root.hair * 2);
}
frame 23 {
gotoAndPlay(_root.hair * 2);
}
frame 25 {
gotoAndPlay(_root.hair * 2);
}
frame 27 {
gotoAndPlay(_root.hair * 2);
}
frame 29 {
gotoAndPlay(_root.hair * 2);
}
frame 31 {
gotoAndPlay(_root.hair * 2);
}
frame 33 {
gotoAndPlay(_root.hair * 2);
}
frame 35 {
gotoAndPlay(_root.hair * 2);
}
frame 37 {
gotoAndPlay(_root.hair * 2);
}
frame 39 {
gotoAndPlay(_root.hair * 2);
}
frame 41 {
gotoAndPlay(_root.hair * 2);
}
frame 43 {
gotoAndPlay(_root.hair * 2);
}
frame 45 {
gotoAndPlay(_root.hair * 2);
}
frame 47 {
gotoAndPlay(_root.hair * 2);
}
}
movieClip 107 {
frame 1 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 1 {
gotoAndPlay(_root.hair * 2);
}
frame 3 {
if (!_root.hair) {
gotoAndPlay(2);
}
}
frame 3 {
gotoAndPlay(_root.hair * 2);
}
frame 5 {
gotoAndPlay(_root.hair * 2);
}
frame 7 {
gotoAndPlay(_root.hair * 2);
}
frame 9 {
gotoAndPlay(_root.hair * 2);
}
frame 11 {
gotoAndPlay(_root.hair * 2);
}
frame 13 {
gotoAndPlay(_root.hair * 2);
}
frame 15 {
gotoAndPlay(_root.hair * 2);
}
frame 17 {
gotoAndPlay(_root.hair * 2);
}
frame 19 {
gotoAndPlay(_root.hair * 2);
}
frame 21 {
gotoAndPlay(_root.hair * 2);
}
frame 23 {
gotoAndPlay(_root.hair * 2);
}
frame 25 {
gotoAndPlay(_root.hair * 2);
}
frame 27 {
gotoAndPlay(_root.hair * 2);
}
frame 29 {
gotoAndPlay(_root.hair * 2);
}
frame 31 {
gotoAndPlay(_root.hair * 2);
}
frame 33 {
gotoAndPlay(_root.hair * 2);
}
frame 35 {
gotoAndPlay(_root.hair * 2);
}
frame 37 {
gotoAndPlay(_root.hair * 2);
}
frame 39 {
gotoAndPlay(_root.hair * 2);
}
frame 41 {
gotoAndPlay(_root.hair * 2);
}
frame 43 {
gotoAndPlay(_root.hair * 2);
}
frame 45 {
gotoAndPlay(_root.hair * 2);
}
frame 47 {
gotoAndPlay(_root.hair * 2);
}
}
movieClip 109 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 4 {
play();
}
frame 5 {
gotoAndPlay('shut');
}
frame 6 {
stop();
}
frame 8 {
stop();
}
frame 10 {
stop();
}
frame 12 {
stop();
}
frame 14 {
stop();
}
frame 16 {
stop();
}
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 114 {
frame 1 {
stop();
}
}
movieClip 116 {
frame 1 {
stop();
}
}
movieClip 118 {
frame 1 {
stop();
}
}
movieClip 120 {
frame 1 {
stop();
}
}
movieClip 122 {
frame 1 {
stop();
}
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 128 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 145 {
}
movieClip 146 {
frame 1 {
play();
}
frame 16 {
stop();
}
}
movieClip 155 {
frame 1 {
play();
}
frame 16 {
stop();
}
}
movieClip 157 {
}
movieClip 169 {
}
movieClip 170 {
frame 1 {
play();
}
frame 17 {
stop();
}
}
movieClip 171 {
frame 1 {
play();
}
frame 20 {
gotoAndPlay('run');
}
frame 21 {
play();
}
frame 40 {
stop();
}
frame 41 {
play();
}
frame 51 {
stop();
}
frame 52 {
play();
}
instance armub of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 47 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 54 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 56 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 58 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 60 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 114 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 116 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 118 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 120 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 122 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
frame 223 {
_global.phasein = true;
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
frame 225 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 227 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 229 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 231 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 233 {
_root.grass2._alpha = 100;
_root.bushes._alpha = 100;
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('normal');
}
}
frame 242 {
_global.engaged = false;
this._x -= 600;
}
}
instance of movieClip 171 {
onClipEvent (load) {
exploding = false;
grapple = false;
count = 15;
lcheck = 150;
cspeed = 7;
xpos = 1000;
}
onClipEvent (enterFrame) {
if (!_global.engaged) {
this._alpha = 100;
this._x -= cspeed;
if (count > 0 && this._x < _root.elf._x - 600) {
exploding = false;
grapple = false;
_global.ripping = false;
this._x = xpos;
this.gotoAndPlay('run');
}
if (!_global.escaping && !_global.ripping && !exploding && _root.elf._y == lcheck) {
if (_root.elf.weaptrig.hitTest(this)) {
count -= 1;
exploding = true;
gotoAndPlay('explode');
}
if (_root.elf.bodytrig.hitTest(this.trig)) {
if (_global.armor < 4) {
_global.escaping = true;
_global.ripping = true;
gotoAndPlay('ripping');
}
if (_global.armor == 4) {
_global.engaged = true;
grapple = true;
this.gotoAndPlay('engage');
}
}
}
}
if (_global.engaged && !grapple) {
this._alpha = 0;
}
}
}
movieClip 173 {
}
movieClip 175 {
}
movieClip 176 {
frame 98 {
gotoAndPlay(1);
}
}
instance of movieClip 176 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
} else {
if (!_global.engaged) {
this.play();
}
}
}
}
movieClip 178 {
}
movieClip 179 {
frame 90 {
gotoAndPlay(1);
}
}
instance bushes of movieClip 179 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
if (_root.elf._y == 150 && this._alpha > 20 && !_global.phasein) {
this._alpha -= 5;
}
this.stop();
}
if (!_global.engaged) {
_global.phasein = false;
if (this._alpha < 100) {
this._alpha += 5;
}
this.play();
}
}
}
movieClip 182 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 183 {
frame 61 {
gotoAndPlay(1);
}
}
instance grass2 of movieClip 183 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
if (_root.elf._y == 150 && this._alpha > 20 && !_global.phasein) {
this._alpha -= 5;
}
this.stop();
}
if (!_global.engaged) {
_global.phasein = false;
if (this._alpha < 100) {
this._alpha += 5;
}
this.play();
}
}
}
movieClip 188 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 192 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 195 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 199 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 203 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 206 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 208 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 211 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 212 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 215 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 219 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 223 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 225 {
}
movieClip 227 {
}
movieClip 228 {
}
movieClip 229 {
frame 1 {
play();
}
frame 17 {
gotoAndPlay('run');
}
frame 18 {
play();
}
frame 64 {
_global.falling = true;
if (_root.elf._y == 200) {
_root.elf._y = 150;
} else {
if (_root.elf._y == 150) {
_root.elf._y = 200;
}
}
_root.elf.head.head.eyes.gotoAndStop('normal');
_root.elf.swapDepths(_root.midSwap);
_root.elf._x = 150;
}
frame 80 {
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
_global.ripping = false;
gotoAndPlay('run');
}
}
instance elf of movieClip 229 {
onClipEvent (load) {
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
_global.engaged = false;
_global.phasein = false;
_global.armor = 1;
_global.posi = 1;
_global.ripping = false;
this._x = 150;
this.gotoAndPlay('run');
}
onClipEvent (enterFrame) {
if (Key.isDown(82)) {
_global.ripping = false;
_global.posi = 1;
_global.armor = 1;
_global.engaged = false;
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
this._x = 150;
this.gotoAndPlay('run');
_root.gotoAndStop('load');
}
if (!_global.engaged) {
this._alpha = 100;
if (_global.jumping and !_global.falling) {
this._x -= 10;
}
if (!_global.jumping) {
if (_global.escaping) {
_global.armor += 1;
_global.escaping = false;
_global.jumping = true;
_root.elf.head.head.eyes.gotoAndStop('shut');
this.gotoAndPlay('jump');
}
if (Key.isDown(83) && !_global.escaping && !_global.jumptimer) {
_global.jumptimer = true;
_root.overlay.jumpicon.gotoAndPlay('used');
_global.jumping = true;
this.gotoAndPlay('jump');
}
}
if (_global.armor == 1) {
this.armuf.gotoAndStop(1);
this.armub.gotoAndStop(1);
this.armlf.gotoAndStop(1);
this.armlb.gotoAndStop(1);
this.torso.gotoAndStop(1);
this.legf.gotoAndStop(1);
this.legb.gotoAndStop(1);
this.footf.gotoAndStop(1);
this.footb.gotoAndStop(1);
this.titf.gotoAndStop(1);
this.titb.gotoAndStop(1);
this.nipf.gotoAndStop(1);
this.nipb.gotoAndStop(1);
}
if (_global.armor == 2) {
this.armuf.gotoAndStop(2);
this.armub.gotoAndStop(2);
this.legf.gotoAndStop(2);
this.legb.gotoAndStop(2);
}
if (_global.armor == 3) {
this.armuf.gotoAndStop(2);
this.armub.gotoAndStop(2);
this.armlf.gotoAndStop(2);
this.armlb.gotoAndStop(2);
this.torso.gotoAndStop(2);
this.legf.gotoAndStop(3);
this.legb.gotoAndStop(3);
this.footf.gotoAndStop(2);
this.footb.gotoAndStop(2);
}
if (_global.armor == 4) {
this.armuf.gotoAndStop(2);
this.armub.gotoAndStop(2);
this.armlf.gotoAndStop(2);
this.armlb.gotoAndStop(2);
this.torso.gotoAndStop(3);
this.legf.gotoAndStop(3);
this.legb.gotoAndStop(3);
this.footf.gotoAndStop(2);
this.footb.gotoAndStop(2);
this.titf.gotoAndStop(2);
this.titb.gotoAndStop(2);
this.nipf.gotoAndStop(2);
this.nipb.gotoAndStop(2);
}
} else {
if (_global.engaged) {
this._alpha = 0;
}
}
}
}
movieClip 231 {
}
movieClip 233 {
}
movieClip 235 {
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 241 {
}
button 242 {
on (release) {
_global.count = 3;
this.button._alpha = 0;
this.button._x = -1000;
}
on (keyPress '<Space>') {
_global.count = 3;
this.button._alpha = 0;
this.button._x = -1000;
}
}
button 243 {
on (release) {
_global.count = 1;
this.button._alpha = 0;
this.button._x = -1000;
}
on (keyPress '<Space>') {
_global.count = 1;
this.button._alpha = 0;
this.button._x = -1000;
}
}
movieClip 246 {
frame 1 {
play();
}
frame 11 {
stop();
}
}
movieClip 254 {
}
movieClip 255 {
frame 18 {
stop();
}
}
movieClip 257 {
}
movieClip 266 {
}
movieClip 267 {
frame 19 {
stop();
}
}
button 268 {
on (release) {
_global.count = 5;
this.button._alpha = 0;
this.button._x = -1000;
}
on (keyPress '<Space>') {
_global.count = 5;
this.button._alpha = 0;
this.button._x = -1000;
}
}
movieClip 270 {
}
movieClip 271 {
frame 1 {
_global.count = 0;
play();
}
frame 30 {
gotoAndPlay('run');
}
frame 31 {
play();
}
frame 51 {
gotoAndPlay('run');
}
frame 52 {
play();
}
frame 65 {
stop();
}
frame 66 {
_global.count = 0;
}
instance armub of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 47 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 54 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 56 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 58 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 60 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 114 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 116 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 118 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 120 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 122 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 128 {
if (_global.count == 3) {
gotoAndPlay('trial3');
} else {
if (_global.count == 0) {
gotoAndPlay('trial4');
}
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
frame 158 {
if (_global.count == 1) {
gotoAndPlay('result1');
} else {
if (_global.count == 0) {
gotoAndPlay('trial2');
}
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 246 {
gotoAndPlay('break1');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('submissive');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('submissive');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 398 {
gotoAndPlay('break2');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('angry');
}
}
frame 464 {
if (_global.count == 5) {
gotoAndPlay('break4');
} else {
if (_global.count == 3) {
gotoAndPlay('result3');
}
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
frame 588 {
_global.engaged = false;
this._x = -800;
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 614 {
_global.engaged = false;
this._x = -800;
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
frame 645 {
_global.engaged = false;
this._x = -800;
}
frame 656 {
_global.engaged = false;
this._x = -800;
}
}
instance enemy1 of movieClip 271 {
onClipEvent (load) {
exploding = false;
grapple = false;
count = 15;
lcheck = 200;
cspeed = 20;
xpos = 1000;
}
onClipEvent (enterFrame) {
if (!_global.engaged) {
this._alpha = 100;
this._x -= cspeed;
if (count > 0 && this._x < _root.elf._x - 600) {
exploding = false;
grapple = false;
_global.ripping = false;
this._x = xpos;
this.gotoAndPlay('run');
}
if (!_global.escaping && !_global.ripping && !exploding && _root.elf._y == lcheck) {
if (_root.elf.weaptrig.hitTest(this)) {
count -= 1;
exploding = true;
gotoAndPlay('explode');
}
if (_root.elf.bodytrig.hitTest(this)) {
if (_global.armor < 4) {
_global.escaping = true;
_global.ripping = true;
gotoAndPlay('ripping');
}
if (_global.armor == 4) {
this._x -= 65;
_global.engaged = true;
grapple = true;
this.gotoAndPlay('engage');
}
}
}
}
if (_global.engaged && !grapple) {
this._alpha = 0;
}
}
}
movieClip 273 {
}
movieClip 274 {
frame 61 {
gotoAndPlay(1);
}
}
instance of movieClip 274 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 275 {
frame 33 {
gotoAndPlay(1);
}
}
instance grass1 of movieClip 275 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 277 {
}
movieClip 278 {
}
movieClip 279 {
frame 47 {
gotoAndPlay(1);
}
}
instance of movieClip 279 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 282 {
}
movieClip 284 {
frame 1 {
_global.jumptimer = false;
stop();
}
frame 2 {
_global.jumptimer = true;
play();
}
frame 120 {
_global.jumptimer = false;
gotoAndStop('ready');
}
}
button 285 {
on (release) {
if (!_global.escaping && !_global.jumptimer && !_global.engaged) {
_global.jumptimer = true;
_root.overlay.jumpicon.gotoAndPlay('used');
_global.jumping = true;
_root.elf.gotoAndPlay('jump');
}
}
}
movieClip 286 {
}
instance overlay of movieClip 286 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this._alpha = 0;
} else {
if (!_global.engaged) {
this._alpha = 100;
}
}
}
}
movieClip 288 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v3 = sX / this._width;
var v4 = sY / this._height;
_parent._x = cX - this._x * v3;
_parent._y = cY - this._y * v4;
_parent._xscale = 100 * v3;
_parent._yscale = 100 * v4;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
this.onUnload = resetStage;
}
}
frame 4 {
stop();
}
movieClip 290 {
frame 30 {
gotoAndPlay('act0');
}
instance armub of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 47 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 54 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 56 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 58 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 60 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance titf of movieClip 114 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 116 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 118 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 120 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 122 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
frame 51 {
gotoAndPlay('act1');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 75 {
gotoAndPlay('act2');
}
frame 121 {
gotoAndPlay('act3');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('submissive');
}
}
frame 138 {
gotoAndPlay('act4');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 155 {
gotoAndPlay('act5');
}
frame 203 {
gotoAndPlay('act6');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
frame 224 {
gotoAndPlay('act7');
}
frame 260 {
gotoAndPlay('act8');
}
instance armub of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 47 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 54 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 56 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 58 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 60 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 114 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 116 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 118 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 120 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 122 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 45 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
frame 281 {
gotoAndPlay('act9');
}
instance head of movieClip 112 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
frame 302 {
gotoAndPlay('act10');
}
frame 323 {
gotoAndPlay('act11');
}
}
instance sandbox of movieClip 290 {
onClipEvent (load) {
_global.act = 0;
}
}
button 292 {
on (release) {
if (_global.act >= _global.actmin && _global.act < _global.actmax && _root.sandbox._alpha == 100) {
_global.act += 1;
_root.sandbox.gotoAndPlay('act' + [_global.act]);
}
}
}
button 293 {
on (release) {
if (_global.act > _global.actmin && _global.act <= _global.actmax && _root.sandbox._alpha == 100) {
_global.act -= 1;
_root.sandbox.gotoAndPlay('act' + [_global.act]);
}
}
}
movieClip 297 {
}
instance of movieClip 297 {
onClipEvent (enterFrame) {
if (Key.isDown(82)) {
_global.ripping = false;
_global.posi = 1;
_global.armor = 1;
_global.engaged = false;
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
_root.gotoAndStop('load');
}
}
}
movieClip 298 {
}
button 299 {
on (release) {
_global.act = 0;
_global.actmin = 0;
_global.actmax = 8;
_root.sandbox.gotoAndPlay('act0');
_root.sandbox._alpha = 100;
}
}
button 300 {
on (release) {
_global.act = 9;
_global.actmin = 9;
_global.actmax = 11;
_root.sandbox.gotoAndPlay('act9');
_root.sandbox._alpha = 100;
}
}