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 21 {
on (release) {
_root.gotoAndStop('level');
}
}
movieClip 22 {
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 26 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 27 {
frame 305 {
gotoAndPlay(1);
}
}
instance back2 of movieClip 27 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 29 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 30 {
frame 152 {
gotoAndPlay(1);
}
}
instance back1 of movieClip 30 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 32 {
}
movieClip 34 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 35 {
frame 98 {
gotoAndPlay(1);
}
}
instance env3 of movieClip 35 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
} else {
if (!_global.engaged) {
this.play();
}
}
}
}
movieClip 38 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 39 {
frame 90 {
gotoAndPlay(1);
}
}
instance bushes of movieClip 39 {
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 42 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 43 {
frame 61 {
gotoAndPlay(1);
}
}
instance grass2 of movieClip 43 {
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 49 {
}
movieClip 50 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
stop();
}
}
movieClip 55 {
}
movieClip 56 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
stop();
}
}
movieClip 59 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 61 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 65 {
}
movieClip 67 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 72 {
}
movieClip 74 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 80 {
}
movieClip 81 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 86 {
}
movieClip 87 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 90 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 95 {
}
movieClip 96 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 99 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 102 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 107 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 112 {
}
movieClip 113 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 5 {
stop();
}
}
movieClip 116 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 118 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 121 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 126 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 129 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 130 {
}
movieClip 133 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 136 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 141 {
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 146 {
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 148 {
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 151 {
}
movieClip 153 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 158 {
}
movieClip 160 {
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 161 {
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 163 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 164 {
frame 1 {
stop();
}
instance head of movieClip 163 {
onClipEvent (enterFrame) {
this.gotoAndStop([_global.armor]);
}
}
}
movieClip 166 {
}
movieClip 167 {
frame 1 {
play();
}
frame 17 {
gotoAndPlay('run');
}
}
movieClip 169 {
}
movieClip 171 {
}
movieClip 172 {
}
movieClip 173 {
frame 1 {
play();
}
frame 47 {
_global.falling = true;
if (_root.char._y == 450) {
_root.char._y = 400;
} else {
if (_root.char._y == 400) {
_root.char._y = 450;
}
}
_root.char.char.head.head.eyes.gotoAndStop('normal');
_root.char.swapDepths(_root.midSwap);
_root.char._x = 150;
}
frame 63 {
_global.jumping = false;
_global.falling = false;
_global.escaping = false;
_global.ripping = false;
_root.char.gotoAndStop('run');
}
}
movieClip 174 {
frame 1 {
play();
}
frame 13 {
_global.attacking = false;
_root.char.gotoAndStop('run');
}
}
movieClip 176 {
}
movieClip 177 {
frame 1 {
if (_global.picact < 2) {
_global.pvar -= 20;
}
play();
}
frame 9 {
_global.attacking = false;
_root.char.gotoAndStop('run');
}
}
movieClip 178 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance char of movieClip 178 {
onClipEvent (load) {
_global.env = 1;
_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.gotoAndStop('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.gotoAndStop('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.gotoAndStop('jump');
}
if (!_global.escaping && !_global.jumping && !_global.attacking && !_global.falling) {
if (Key.isDown(83) && !_global.jumptimer) {
_global.jumptimer = true;
_root.overlay.jumpicon.gotoAndPlay('used');
_global.jumping = true;
this.gotoAndStop('jump');
}
if (Key.isDown(65)) {
_global.attacking = true;
this.gotoAndStop('kick');
}
if (Key.isDown(68) && _global.picact == 2) {
_global.attacking = true;
this.gotoAndPlay('spikes');
}
if (Key.isDown(68) && _global.armor == 5) {
_global.attacking = true;
this.gotoAndStop('spikes');
}
}
}
this.char.armuf.gotoAndStop([_global.armor]);
this.char.armub.gotoAndStop([_global.armor]);
this.char.armlf.gotoAndStop([_global.armor]);
this.char.armlb.gotoAndStop([_global.armor]);
this.char.torso.gotoAndStop([_global.armor]);
this.char.legf.gotoAndStop([_global.armor]);
this.char.legb.gotoAndStop([_global.armor]);
this.char.footf.gotoAndStop([_global.armor]);
this.char.footb.gotoAndStop([_global.armor]);
this.char.titf.gotoAndStop([_global.armor]);
this.char.titb.gotoAndStop([_global.armor]);
this.char.nipf.gotoAndStop([_global.armor]);
this.char.nipb.gotoAndStop([_global.armor]);
this.char.handfistf.gotoAndStop([_global.armor]);
this.char.handfistb.gotoAndStop([_global.armor]);
this.char.headptail.gotoAndStop([_global.armor]);
this.char.headbangf.gotoAndStop([_global.armor]);
this.char.headbangb.gotoAndStop([_global.armor]);
this.char.head.head.gotoAndStop([_global.armor]);
this.char.headmouth.gotoAndStop([_global.armor]);
this.char.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
_root.env2.env2.gotoAndStop([_global.env]);
_root.env3.env3.gotoAndStop([_global.env]);
_root.back1.back11.gotoAndStop([_global.env]);
_root.back1.back12.gotoAndStop([_global.env]);
_root.back2.back21.gotoAndStop([_global.env]);
_root.back2.back22.gotoAndStop([_global.env]);
_root.back2.back23.gotoAndStop([_global.env]);
_root.roof1.roof11.gotoAndStop([_global.env]);
_root.roof1.roof12.gotoAndStop([_global.env]);
_root.grass1.grass12.gotoAndStop([_global.env]);
_root.grass1.grass11.gotoAndStop([_global.env]);
_root.grass2.grass21.gotoAndStop([_global.env]);
_root.grass2.grass22.gotoAndStop([_global.env]);
_root.bushes.bush1.gotoAndStop([_global.env]);
_root.bushes.bush2.gotoAndStop([_global.env]);
} else {
if (_global.engaged) {
this._alpha = 0;
}
}
}
}
movieClip 180 {
}
movieClip 182 {
}
movieClip 184 {
}
movieClip 186 {
}
movieClip 188 {
}
movieClip 190 {
}
movieClip 195 {
}
movieClip 196 {
}
movieClip 197 {
}
movieClip 199 {
}
movieClip 201 {
}
movieClip 203 {
}
movieClip 204 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 22 {
gotoAndPlay('filled pulse');
}
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 211 {
frame 1 {
play();
}
frame 10 {
stop();
}
}
movieClip 223 {
}
movieClip 224 {
frame 1 {
play();
}
frame 17 {
stop();
}
}
button 226 {
on (keyPress '<Space>') {
_global.count = 10;
}
}
movieClip 228 {
}
movieClip 229 {
frame 1 {
play();
}
frame 7 {
_global.paction = false;
gotoAndPlay('run');
}
frame 8 {
play();
}
frame 14 {
_root.spike1._x = 1500;
gotoAndPlay('run');
}
frame 15 {
play();
}
frame 21 {
gotoAndPlay('run');
}
frame 22 {
_global.engaged = true;
_global.count = 0;
}
frame 59 {
this.gui.egbar._xscale = 1;
}
frame 64 {
_global.count += 1;
this.gui.egbar._xscale += 1;
}
frame 65 {
this.gui.egbar._xscale += 1;
}
frame 66 {
this.gui.egbar._xscale += 1;
}
frame 67 {
this.gui.egbar._xscale += 1;
}
frame 68 {
this.gui.egbar._xscale += 1;
}
frame 69 {
this.gui.egbar._xscale += 1;
}
frame 70 {
this.gui.egbar._xscale += 2;
}
frame 71 {
this.gui.egbar._xscale += 1;
}
frame 72 {
this.gui.egbar._xscale += 1;
}
frame 73 {
this.gui.egbar._xscale += 1;
}
frame 74 {
this.gui.egbar._xscale += 1;
}
frame 75 {
this.gui.egbar._xscale += 1;
}
frame 76 {
if (this.gui.egbar._xscale < 100) {
gotoAndPlay('f1l');
this.gui.egbar._xscale += 2;
} else {
if (this.gui.egbar._xscale > 99) {
gotoAndPlay('f1end');
}
}
}
frame 82 {
this.gui.gotoAndPlay('filled');
}
frame 97 {
if (_global.count < 10) {
gotoAndPlay('f1el');
} else {
_global.count = 10;
if (10) {
gotoAndPlay('f1b');
}
}
}
frame 107 {
_global.armor = 5;
}
instance headbangf of movieClip 118 {
onClipEvent (enterFrame) {
this._parent._y = 315;
}
}
frame 117 {
_root.spike1._x = 1500;
_global.engaged = false;
}
instance of movieClip 228 {
onClipEvent (enterFrame) {
this._parent.explode = false;
this._parent.rip = false;
this._parent.hit = false;
}
}
}
movieClip 230 {
frame 1 {
play();
}
frame 7 {
_global.armor += 1;
}
frame 19 {
_root.spike.gotoAndStop('run');
}
}
movieClip 231 {
frame 1 {
play();
}
frame 22 {
_global.plives -= 1;
_root.spike._x = 1500;
_root.spike.gotoAndStop('run');
}
}
movieClip 237 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 238 {
frame 1 {
stop();
}
instance k4 of movieClip 237 {
onClipEvent (load) {
_global.key4a = true;
}
onClipEvent (enterFrame) {
if (_global.key4a) {
_global.key4 = random(3) + 1;
if (_global.key4 == 1) {
_global.key4v = 65;
_global.key4m1 = 83;
_global.key4m2 = 68;
}
if (_global.key4 == 2) {
_global.key4v = 83;
_global.key4m1 = 65;
_global.key4m2 = 68;
}
if (_global.key4 == 3) {
_global.key4v = 68;
_global.key4m1 = 83;
_global.key4m2 = 65;
}
this.gotoAndStop(_global.key4);
_global.key4a = false;
}
}
}
frame 6 {
stop();
}
frame 13 {
_global.k1a = true;
gotoAndStop(1);
}
}
movieClip 239 {
frame 1 {
stop();
}
instance k3 of movieClip 237 {
onClipEvent (load) {
_global.key3a = true;
}
onClipEvent (enterFrame) {
if (_global.key3a) {
_global.key3 = random(3) + 1;
if (_global.key3 == 1) {
_global.key3v = 65;
_global.key3m1 = 83;
_global.key3m2 = 68;
}
if (_global.key3 == 2) {
_global.key3v = 83;
_global.key3m1 = 65;
_global.key3m2 = 68;
}
if (_global.key3 == 3) {
_global.key3v = 68;
_global.key3m1 = 83;
_global.key3m2 = 65;
}
this.gotoAndStop(_global.key3);
_global.key3a = false;
}
}
}
frame 6 {
stop();
}
frame 13 {
gotoAndStop(1);
}
}
movieClip 240 {
frame 1 {
stop();
}
instance k2 of movieClip 237 {
onClipEvent (load) {
_global.key2a = true;
}
onClipEvent (enterFrame) {
if (_global.key2a) {
_global.key2 = random(3) + 1;
if (_global.key2 == 1) {
_global.key2v = 65;
_global.key2m1 = 83;
_global.key2m2 = 68;
}
if (_global.key2 == 2) {
_global.key2v = 83;
_global.key2m1 = 65;
_global.key2m2 = 68;
}
if (_global.key2 == 3) {
_global.key2v = 68;
_global.key2m1 = 83;
_global.key2m2 = 65;
}
this.gotoAndStop(_global.key2);
_global.key2a = false;
}
}
}
frame 6 {
stop();
}
frame 13 {
gotoAndStop(1);
}
}
movieClip 241 {
frame 1 {
stop();
}
instance k1 of movieClip 237 {
onClipEvent (load) {
_global.key1a = true;
}
onClipEvent (enterFrame) {
if (_global.key1a) {
_global.key1 = random(3) + 1;
if (_global.key1 == 1) {
_global.key1v = 65;
_global.key1m1 = 83;
_global.key1m2 = 68;
}
if (_global.key1 == 2) {
_global.key1v = 83;
_global.key1m1 = 65;
_global.key1m2 = 68;
}
if (_global.key1 == 3) {
_global.key1v = 68;
_global.key1m1 = 83;
_global.key1m2 = 65;
}
this.gotoAndStop(_global.key1);
_global.key1a = false;
}
}
}
frame 2 {
play();
}
frame 6 {
stop();
}
frame 7 {
play();
}
frame 13 {
gotoAndStop(1);
}
}
movieClip 242 {
frame 1 {
stop();
}
}
movieClip 243 {
frame 1 {
_global.engaged = true;
_global.count = 0;
}
instance of movieClip 242 {
onClipEvent (load) {
_global.pkill = false;
_global.key1t = false;
_global.key2t = false;
_global.key3t = false;
_global.key4t = false;
_global.k1a = true;
_global.k2a = false;
_global.k3a = false;
_global.k4a = false;
_global.missfire = false;
}
onClipEvent (enterFrame) {
if (_global.k1a) {
if (Key.isDown(_global.key1v) && !_global.key1t) {
_global.key1t = true;
}
if (!Key.isDown(_global.key1v) && _global.key1t) {
this.k1.gotoAndPlay(2);
_global.k2a = true;
_global.k1a = false;
_global.key1t = false;
}
if (Key.isDown(_global.key1m1) or Key.isDown(_global.key1m2)) {
_global.missfire = true;
}
}
if (_global.k2a) {
if (Key.isDown(_global.key2v) && !_global.key2t) {
_global.key2t = true;
}
if (!Key.isDown(_global.key2v) && _global.key2t) {
this.k2.gotoAndPlay(2);
_global.k3a = true;
_global.k2a = false;
_global.key2t = false;
}
if (Key.isDown(_global.key2m1) or Key.isDown(_global.key2m2)) {
_global.missfire = true;
}
}
if (_global.k3a) {
if (Key.isDown(_global.key3v) && !_global.key3t) {
_global.key3t = true;
}
if (!Key.isDown(_global.key3v) && _global.key3t) {
this.k3.gotoAndPlay(2);
_global.k4a = true;
_global.k3a = false;
_global.key3t = false;
}
if (Key.isDown(_global.key3m1) or Key.isDown(_global.key3m2)) {
_global.missfire = true;
}
}
if (_global.k4a) {
if (Key.isDown(_global.key4v) && !_global.key4t) {
_global.key4t = true;
}
if (!Key.isDown(_global.key4v) && _global.key4t) {
this.k4.gotoAndPlay(2);
_global.k4a = false;
_global.pkill = true;
_global.key4t = false;
}
if (Key.isDown(_global.key4m1) or Key.isDown(_global.key4m2)) {
_global.missfire = true;
}
}
if (_global.missfire) {
this.k1.gotoAndPlay(7);
this.k2.gotoAndPlay(7);
this.k3.gotoAndPlay(7);
this.k4.gotoAndPlay(7);
_global.k2a = false;
_global.k3a = false;
_global.k4a = false;
_global.missfire = false;
}
}
}
frame 77 {
if (_global.pkill) {
gotoAndPlay('kill');
}
}
frame 78 {
this.gui.egbar._xscale = _global.pvar;
}
frame 83 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 84 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 85 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 86 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 87 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 88 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 89 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 90 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 91 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 92 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 93 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 94 {
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
}
frame 95 {
if (_global.pvar < 100) {
gotoAndPlay('f1l');
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pvar = 100;
gotoAndPlay('f1end');
}
}
}
frame 101 {
this.gui.gotoAndPlay('filled');
}
frame 116 {
if (_global.count < 10) {
gotoAndPlay('f1el');
} else {
_global.count = 10;
if (10) {
gotoAndPlay('f1b');
}
}
}
frame 126 {
_global.armor = 5;
}
frame 136 {
if (_global.pct < 4) {
_global.pct += 1;
}
if (_global.picact == 0) {
_global.picact = 1;
}
_root.spike._x = 1500;
_global.engaged = false;
_root.spike.gotoAndStop('run');
}
frame 161 {
_root.spike._x = 1500;
_global.pkill = false;
_global.engaged = false;
_root.spike.gotoAndStop('run');
}
}
movieClip 245 {
}
movieClip 247 {
}
movieClip 250 {
frame 1 {
play();
}
frame 17 {
stop();
}
}
movieClip 252 {
}
movieClip 253 {
frame 1 {
_global.pr = 0;
_global.engaged = true;
_global.count = 0;
}
frame 42 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 43 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 44 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 45 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 47 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 48 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 50 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 51 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 52 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 53 {
if (_global.pvar < 100) {
_global.pr += 1;
_global.pvar += 1;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pr = 20;
}
}
}
frame 54 {
if (_global.pr < 20) {
gotoAndPlay('rloop');
}
if (_global.pr > 19) {
_global.pr = 0;
gotoAndPlay('rend');
}
}
frame 55 {
this.gui.gotoAndPlay('filled pulse');
}
frame 70 {
if (_global.count > 9) {
gotoAndPlay('rendu');
} else {
if (_global.count < 10) {
gotoAndPlay('rendl');
}
}
}
frame 95 {
_root.spike._x = 1500;
_global.engaged = false;
_root.spike.gotoAndStop('run');
}
}
movieClip 254 {
frame 1 {
_global.engaged = true;
_global.count = 0;
}
instance of movieClip 242 {
onClipEvent (load) {
_global.pkill = false;
_global.key1t = false;
_global.key2t = false;
_global.key3t = false;
_global.key4t = false;
_global.k1a = true;
_global.k2a = false;
_global.k3a = false;
_global.k4a = false;
_global.missfire = false;
}
onClipEvent (enterFrame) {
if (_global.k1a) {
if (Key.isDown(_global.key1v) && !_global.key1t) {
_global.key1t = true;
}
if (!Key.isDown(_global.key1v) && _global.key1t) {
this.k1.gotoAndPlay(2);
_global.k2a = true;
_global.k1a = false;
_global.key1t = false;
}
if (Key.isDown(_global.key1m1) or Key.isDown(_global.key1m2)) {
_global.missfire = true;
}
}
if (_global.k2a) {
if (Key.isDown(_global.key2v) && !_global.key2t) {
_global.key2t = true;
}
if (!Key.isDown(_global.key2v) && _global.key2t) {
this.k2.gotoAndPlay(2);
_global.k3a = true;
_global.k2a = false;
_global.key2t = false;
}
if (Key.isDown(_global.key2m1) or Key.isDown(_global.key2m2)) {
_global.missfire = true;
}
}
if (_global.k3a) {
if (Key.isDown(_global.key3v) && !_global.key3t) {
_global.key3t = true;
}
if (!Key.isDown(_global.key3v) && _global.key3t) {
this.k3.gotoAndPlay(2);
_global.k4a = true;
_global.k3a = false;
_global.key3t = false;
}
if (Key.isDown(_global.key3m1) or Key.isDown(_global.key3m2)) {
_global.missfire = true;
}
}
if (_global.k4a) {
if (Key.isDown(_global.key4v) && !_global.key4t) {
_global.key4t = true;
}
if (!Key.isDown(_global.key4v) && _global.key4t) {
this.k4.gotoAndPlay(2);
_global.k4a = false;
_global.pkill = true;
_global.key4t = false;
}
if (Key.isDown(_global.key4m1) or Key.isDown(_global.key4m2)) {
_global.missfire = true;
}
}
if (_global.missfire) {
this.k1.gotoAndPlay(7);
this.k2.gotoAndPlay(7);
this.k3.gotoAndPlay(7);
this.k4.gotoAndPlay(7);
_global.k2a = false;
_global.k3a = false;
_global.k4a = false;
_global.missfire = false;
}
}
}
frame 60 {
if (_global.pkill) {
_global.pkill = false;
_root.spike._x = 1500;
_global.engaged = false;
_root.spike.gotoAndStop('run');
}
}
frame 61 {
this.gui.egbar._xscale = _global.pvar;
}
frame 67 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 68 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 69 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 70 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 71 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 72 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 73 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 74 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 75 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 76 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 77 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 78 {
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
}
frame 85 {
if (_global.pvar < 100) {
gotoAndPlay('t1');
_global.pvar += 2;
this.gui.egbar._xscale = _global.pvar;
} else {
if (_global.pvar > 99) {
_global.pvar = 0;
_root.spike._x = 1500;
_global.engaged = false;
_root.spike.gotoAndStop('run');
}
}
}
}
movieClip 255 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
instance spike of movieClip 255 {
onClipEvent (load) {
_global.plives = 10;
_global.pspeed = 30;
_global.plev = 450;
}
onClipEvent (enterFrame) {
if (!_global.engaged) {
this._x -= _global.pspeed;
if (this._x < -300) {
this._x = 1500;
}
if (_root.char._y == _global.plev) {
if (this.spike.hitter.hitTest(_root.char.char.bodytrig)) {
if (_global.armor < 4) {
this.gotoAndStop('rip');
}
if (_global.armor > 3) {
if (_global.armor == 5) {
_global.engaged = true;
this.gotoAndStop('regen');
} else {
if (_global.armor != 5) {
if (_global.pct == 1) {
_global.engaged = true;
this.gotoAndStop('engage2');
} else {
if (_global.pct != 1) {
_global.engaged = true;
this.gotoAndStop('engage1');
}
}
}
}
}
}
if (this.spike.hitter.hitTest(_root.char.char.weaptrig)) {
this.gotoAndStop('die');
}
}
}
this.spike.armuf.gotoAndStop([_global.armor]);
this.spike.armub.gotoAndStop([_global.armor]);
this.spike.armlf.gotoAndStop([_global.armor]);
this.spike.armlb.gotoAndStop([_global.armor]);
this.spike.torso.gotoAndStop([_global.armor]);
this.spike.legf.gotoAndStop([_global.armor]);
this.spike.legb.gotoAndStop([_global.armor]);
this.spike.footf.gotoAndStop([_global.armor]);
this.spike.footb.gotoAndStop([_global.armor]);
this.spike.titf.gotoAndStop([_global.armor]);
this.spike.titb.gotoAndStop([_global.armor]);
this.spike.nipf.gotoAndStop([_global.armor]);
this.spike.nipb.gotoAndStop([_global.armor]);
this.spike.handfistf.gotoAndStop([_global.armor]);
this.spike.handfistb.gotoAndStop([_global.armor]);
this.spike.headptail.gotoAndStop([_global.armor]);
this.spike.headbangf.gotoAndStop([_global.armor]);
this.spike.headbangb.gotoAndStop([_global.armor]);
this.spike.head.head.gotoAndStop([_global.armor]);
this.spike.headmouth.gotoAndStop([_global.armor]);
this.spike.head.head.eyes.iris.iris.gotoAndStop([_global.armor]);
}
}
movieClip 257 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 258 {
frame 61 {
gotoAndPlay(1);
}
}
instance env2 of movieClip 258 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 259 {
frame 33 {
gotoAndPlay(1);
}
}
instance grass1 of movieClip 259 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
movieClip 261 {
}
movieClip 263 {
}
movieClip 264 {
frame 12 {
gotoAndPlay(1);
}
}
movieClip 265 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 266 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 268 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 269 {
frame 47 {
gotoAndPlay(1);
}
}
instance roof1 of movieClip 269 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_global.engaged) {
this.stop();
}
if (!_global.engaged) {
this.play();
}
}
}
button 270 {
on (release) {
_global.env = 2;
}
}
button 271 {
on (release) {
_global.env = 1;
}
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 276 {
frame 1 {
_global.jumptimer = false;
stop();
}
frame 2 {
_global.jumptimer = true;
play();
}
frame 120 {
_global.jumptimer = false;
gotoAndStop('ready');
}
}
movieClip 278 {
}
movieClip 281 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 283 {
}
movieClip 285 {
frame 1 {
if (_global.armor == 5) {
gotoAndStop('ready');
}
stop();
}
}
button 286 {
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 287 {
instance pbar of movieClip 204 {
onClipEvent (load) {
this._alpha = 0;
_global.pbartime = 0;
_global.pvar = 1;
}
onClipEvent (enterFrame) {
if (_global.pvar < 1) {
_global.pvar = 1;
}
if (_global.picact < 2) {
if (!_global.engaged) {
if (_global.armor == 5) {
this._alpha = 100;
_global.pbartime += 1;
if (_global.pbartime > 2) {
_global.pvar -= 1;
this.egbar._xscale = _global.pvar;
_global.pbartime = 0;
}
if (_global.pvar < 2) {
_global.pvar = 1;
this.egbar._xcale = _global.pvar;
this._alpha = 0;
if (_global.pct < 4) {
_global.armor = 4;
}
}
}
}
}
if (_global.picact > 1) {
this._alpha = 0;
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
this._alpha = 0;
_global.pct = 0;
_global.picact = 0;
}
onClipEvent (enterFrame) {
if (_global.armor == 5) {
this._alpha = 100;
this.gotoAndStop('Full');
}
if (_global.picact == 1 && _global.armor != 5) {
if (_global.pct == 1) {
this.gotoAndStop('low');
}
if (_global.pct == 2) {
this.gotoAndStop('mid');
}
if (_global.pct == 3) {
this.gotoAndStop('high');
}
if (_global.pct == 4) {
_global.picact = 2;
}
}
if (_global.picact == 2) {
this.gotoAndStop('Full');
}
}
}
}
instance overlay of movieClip 287 {
onClipEvent (enterFrame) {
if (_global.engaged) {
this._alpha = 0;
} else {
if (!_global.engaged) {
this._alpha = 100;
}
}
}
}