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 47 {
}
movieClip 48 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 51 {
}
movieClip 52 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 54 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 57 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 60 {
}
movieClip 62 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 65 {
}
movieClip 67 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 71 {
}
movieClip 72 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 76 {
}
movieClip 77 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 80 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 82 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 85 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 90 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 93 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 94 {
}
movieClip 97 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 100 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 105 {
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 110 {
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 112 {
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 115 {
}
movieClip 117 {
}
movieClip 118 {
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 124 {
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 125 {
frame 1 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 3 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 5 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 7 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 9 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 11 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 13 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 15 {
if (_root.expr == 0) {
this.gotoAndPlay('normal');
} else {
if (_root.expr == 1) {
this.gotoAndPlay('shut');
} else {
if (_root.expr == 2) {
this.gotoAndPlay('1/2');
} else {
if (_root.expr == 3) {
this.gotoAndPlay('3/4');
} else {
if (_root.expr == 4) {
this.gotoAndPlay('shocked');
} else {
if (_root.expr == 5) {
this.gotoAndPlay('submissive');
} else {
if (_root.expr == 6) {
this.gotoAndPlay('angry');
} else {
this.gotoAndPlay('normal');
}
}
}
}
}
}
}
}
frame 16 {
stop();
}
}
movieClip 127 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 128 {
frame 1 {
stop();
}
instance head of movieClip 127 {
onClipEvent (enterFrame) {
this.gotoAndStop([_global.armor]);
}
}
}
movieClip 132 {
}
movieClip 133 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 136 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 138 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 141 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 144 {
}
movieClip 145 {
frame 1 {
gotoAndStop([_global.armor]);
}
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 148 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 150 {
}
movieClip 152 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 158 {
}
movieClip 160 {
}
button 161 {
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;
}
}
movieClip 172 {
}
movieClip 173 {
frame 1 {
play();
}
frame 16 {
stop();
}
}
movieClip 182 {
frame 1 {
play();
}
frame 16 {
stop();
}
}
movieClip 184 {
}
movieClip 196 {
}
movieClip 197 {
frame 1 {
play();
}
frame 17 {
stop();
}
}
movieClip 198 {
frame 1 {
play();
}
frame 1 {
play();
}
frame 20 {
gotoAndPlay('run');
}
frame 20 {
gotoAndPlay('run');
}
frame 21 {
play();
}
frame 21 {
play();
}
frame 40 {
stop();
}
frame 40 {
stop();
}
frame 41 {
play();
}
frame 41 {
play();
}
frame 51 {
stop();
}
frame 51 {
stop();
}
frame 52 {
play();
}
frame 52 {
play();
}
instance armub of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 52 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 67 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 72 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 77 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 80 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 133 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 136 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 138 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 141 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 145 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armub of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 52 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 67 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 72 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 77 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 80 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 133 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 136 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 138 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 141 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 145 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
frame 123 {
if (_global.count == 3) {
gotoAndPlay('engage2');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
frame 223 {
_global.phasein = true;
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 223 {
_global.phasein = true;
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
frame 225 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 225 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 227 {
_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 229 {
_root.grass2._alpha += 10;
_root.bushes._alpha += 10;
}
frame 231 {
_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;
}
frame 233 {
_root.grass2._alpha = 100;
_root.bushes._alpha = 100;
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('normal');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('normal');
}
}
frame 242 {
_global.engaged = false;
this._x -= 600;
}
frame 242 {
_global.engaged = false;
this._x -= 600;
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
frame 323 {
_global.armor = 6;
}
frame 333 {
_global.engaged = false;
this._x -= 600;
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('normal');
}
}
}
instance of movieClip 198 {
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');
}
}
}
}
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
if (_global.engaged && !grapple) {
this._alpha = 0;
}
}
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 203 {
frame 98 {
gotoAndPlay(1);
}
}
instance of movieClip 203 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
} else {
if (!_global.engaged) {
this.play();
}
}
}
}
movieClip 205 {
}
movieClip 206 {
frame 90 {
gotoAndPlay(1);
}
}
instance bushes of movieClip 206 {
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 209 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 210 {
frame 61 {
gotoAndPlay(1);
}
}
instance grass2 of movieClip 210 {
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 214 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
stop();
}
}
movieClip 218 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
stop();
}
}
movieClip 221 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 226 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 230 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 233 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 236 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 239 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 240 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 243 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 248 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 252 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
stop();
}
}
movieClip 254 {
}
movieClip 256 {
}
movieClip 257 {
}
movieClip 259 {
}
movieClip 260 {
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');
}
frame 81 {
play();
}
frame 97 {
_global.attacking = false;
gotoAndPlay('run');
}
}
instance elf of movieClip 260 {
onClipEvent (load) {
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
_global.engaged = false;
_global.phasein = false;
_global.armor = 4;
_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.attacking = false;
_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 && !_global.attacking) {
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 (Key.isDown(68) && !_global.escaping && _global.armor == 5) {
_global.attacking = true;
_root.overlay.vineicon.gotoAndPlay('used');
this.gotoAndPlay('vine');
}
}
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
} else {
if (_global.engaged) {
this._alpha = 0;
}
}
}
}
movieClip 262 {
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 268 {
}
button 269 {
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 272 {
frame 1 {
play();
}
frame 11 {
stop();
}
}
movieClip 280 {
}
movieClip 281 {
frame 18 {
stop();
}
}
movieClip 283 {
}
movieClip 292 {
}
movieClip 293 {
frame 19 {
stop();
}
}
button 294 {
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 296 {
}
movieClip 297 {
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 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 52 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 67 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 72 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 77 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 80 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 133 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 136 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 138 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 141 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 145 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 128 {
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 128 {
onClipEvent (enterFrame) {
}
}
instance head of movieClip 128 {
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 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 246 {
gotoAndPlay('break1');
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('submissive');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('submissive');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 398 {
gotoAndPlay('break2');
}
instance head of movieClip 128 {
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 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
frame 588 {
_global.engaged = false;
this._x = -800;
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 604 {
_root.overlay.vineicon.gotoAndStop('ready');
_global.armor = 5;
}
frame 614 {
_global.engaged = false;
this._x = -800;
}
instance head of movieClip 128 {
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 297 {
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) {
if (_global.armor != 5) {
this._x -= 65;
_global.engaged = true;
grapple = true;
this.gotoAndPlay('engage');
} else {
if (_global.armor == 5) {
count -= 1;
exploding = true;
gotoAndPlay('explode');
}
}
}
}
}
}
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
if (_global.engaged && !grapple) {
this._alpha = 0;
}
}
}
movieClip 299 {
}
movieClip 300 {
frame 61 {
gotoAndPlay(1);
}
}
instance of movieClip 300 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 301 {
frame 33 {
gotoAndPlay(1);
}
}
instance grass1 of movieClip 301 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 303 {
}
movieClip 304 {
}
movieClip 305 {
frame 47 {
gotoAndPlay(1);
}
}
instance of movieClip 305 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 308 {
}
movieClip 310 {
frame 1 {
_global.jumptimer = false;
stop();
}
frame 2 {
_global.jumptimer = true;
play();
}
frame 120 {
_global.jumptimer = false;
gotoAndStop('ready');
}
}
movieClip 312 {
}
movieClip 314 {
frame 1 {
if (_global.armor == 5) {
gotoAndStop('ready');
}
stop();
}
frame 2 {
stop();
}
frame 3 {
play();
}
frame 21 {
gotoAndStop('ready');
}
}
button 315 {
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 316 {
}
instance overlay of movieClip 316 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this._alpha = 0;
} else {
if (!_global.engaged) {
this._alpha = 100;
}
}
}
}
movieClip 318 {
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 320 {
frame 30 {
gotoAndPlay('act0');
}
instance armub of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 52 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 67 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 72 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 77 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 80 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance titf of movieClip 133 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 136 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 138 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 141 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 145 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shocked');
}
}
frame 51 {
gotoAndPlay('act1');
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 75 {
gotoAndPlay('act2');
}
frame 121 {
gotoAndPlay('act3');
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('submissive');
}
}
frame 138 {
gotoAndPlay('act4');
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('Shocked');
}
}
frame 155 {
gotoAndPlay('act5');
}
frame 203 {
gotoAndPlay('act6');
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('shut');
}
}
frame 224 {
gotoAndPlay('act7');
}
frame 260 {
gotoAndPlay('act8');
}
instance armub of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armlb of movieClip 52 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footb of movieClip 62 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legb of movieClip 67 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance torso of movieClip 72 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance titb of movieClip 77 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipb of movieClip 80 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance titf of movieClip 133 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance nipf of movieClip 136 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance footf of movieClip 138 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance legf of movieClip 141 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance armlf of movieClip 145 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance armuf of movieClip 48 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
frame 281 {
gotoAndPlay('act9');
}
instance head of movieClip 128 {
onClipEvent (enterFrame) {
this.head.eyes.gotoAndStop('mez');
}
}
frame 302 {
gotoAndPlay('act10');
}
frame 323 {
gotoAndPlay('act11');
}
}
instance sandbox of movieClip 320 {
onClipEvent (load) {
_global.armor = 1;
_global.act = 0;
}
onClipEvent (enterFrame) {
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
}
}
button 322 {
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 323 {
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 324 {
on (release) {
_global.armor = 5;
}
}
button 325 {
on (release) {
_global.armor = 4;
}
}
movieClip 329 {
}
instance of movieClip 329 {
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 330 {
}
button 331 {
on (release) {
_global.act = 0;
_global.actmin = 0;
_global.actmax = 8;
_root.sandbox.gotoAndPlay('act0');
_root.sandbox._alpha = 100;
}
}
button 332 {
on (release) {
_global.act = 9;
_global.actmin = 9;
_global.actmax = 11;
_root.sandbox.gotoAndPlay('act9');
_root.sandbox._alpha = 100;
}
}
frame 5 {
play();
}
button 340 {
on (release) {
if (_global.percent == 100) {
gotoAndStop('sandbox');
}
}
}
frame 6 {
_global.percent = Math.floor((_root.getBytesLoaded() / getBytesTotal()) * 100);
_root.loadtext.text = _global.percent;
gotoAndPlay('load');
}
frame 7 {
stop();
}
instance back1 of movieClip 28 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
instance of movieClip 31 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
instance of movieClip 198 {
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');
}
}
}
}
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
if (_global.engaged && !grapple) {
this._alpha = 0;
}
}
}
instance of movieClip 203 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
} else {
if (!_global.engaged) {
this.play();
}
}
}
}
instance bushes of movieClip 206 {
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();
}
}
}
instance grass2 of movieClip 210 {
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();
}
}
}
instance elf of movieClip 260 {
onClipEvent (load) {
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
_global.engaged = false;
_global.phasein = false;
_global.armor = 4;
_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.attacking = false;
_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 && !_global.attacking) {
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 (Key.isDown(68) && !_global.escaping && _global.armor == 5) {
_global.attacking = true;
_root.overlay.vineicon.gotoAndPlay('used');
this.gotoAndPlay('vine');
}
}
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
} else {
if (_global.engaged) {
this._alpha = 0;
}
}
}
}
instance enemy1 of movieClip 297 {
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) {
if (_global.armor != 5) {
this._x -= 65;
_global.engaged = true;
grapple = true;
this.gotoAndPlay('engage');
} else {
if (_global.armor == 5) {
count -= 1;
exploding = true;
gotoAndPlay('explode');
}
}
}
}
}
}
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
if (_global.engaged && !grapple) {
this._alpha = 0;
}
}
}
instance of movieClip 300 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
instance grass1 of movieClip 301 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
instance of movieClip 305 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
instance overlay of movieClip 316 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this._alpha = 0;
} else {
if (!_global.engaged) {
this._alpha = 100;
}
}
}
}
frame 8 {
stop();
}
instance sandbox of movieClip 320 {
onClipEvent (load) {
_global.armor = 4;
_global.act = 0;
}
onClipEvent (enterFrame) {
this.armuf.gotoAndStop([_global.armor]);
this.armub.gotoAndStop([_global.armor]);
this.armlf.gotoAndStop([_global.armor]);
this.armlb.gotoAndStop([_global.armor]);
this.torso.gotoAndStop([_global.armor]);
this.legf.gotoAndStop([_global.armor]);
this.legb.gotoAndStop([_global.armor]);
this.footf.gotoAndStop([_global.armor]);
this.footb.gotoAndStop([_global.armor]);
this.titf.gotoAndStop([_global.armor]);
this.titb.gotoAndStop([_global.armor]);
this.nipf.gotoAndStop([_global.armor]);
this.nipb.gotoAndStop([_global.armor]);
this.handfistf.gotoAndStop([_global.armor]);
this.handfistb.gotoAndStop([_global.armor]);
this.headptail.gotoAndStop([_global.armor]);
this.headbangf.gotoAndStop([_global.armor]);
this.headbangb.gotoAndStop([_global.armor]);
this.head.head.gotoAndStop([_global.armor]);
this.headmouth.gotoAndStop([_global.armor]);
this.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
}
}
button 341 {
on (release) {
if (_global.armor < 6) {
_global.armor += 1;
}
}
}
button 342 {
on (release) {
if (_global.armor > 4) {
_global.armor -= 1;
}
}
}
instance of movieClip 329 {
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');
}
}
}