Combined Code
frame 1 {
imp = 1;
feral = 0;
top_ripped = 0;
top_intact = 1;
shorts_ripped = 0;
shorts_intact = 1;
expose = 0;
conceal = 1;
flaccid = 1;
limp = 0;
erect = 0;
var movement = true;
var movementright = false;
var movementleft = false;
zoomin = false;
zoomout = true;
}
movieClip 2 {
}
movieClip 3 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 1.4) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
frame 2 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 1.4) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
if (_root.zoomout) {
gotoAndPlay('out');
_root.HUD._xscale = 125;
_root.HUD._yscale = 125;
_root.controlButton._xscale = 125;
_root.controlButton._yscale = 125;
_root.controlList._xscale *= 1.25;
_root.controlList._yscale *= 1.25;
} else {
gotoAndPlay('in');
}
}
frame 3 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 1.4) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
frame 4 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 1.4) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
if (_root.zoomin) {
gotoAndPlay('in');
_root.HUD._xscale = 100;
_root.HUD._yscale = 100;
_root.controlButton._xscale = 100;
_root.controlButton._yscale = 100;
_root.controlList._xscale *= 0.8;
_root.controlList._yscale *= 0.8;
} else {
gotoAndPlay('out');
}
}
}
instance camera of movieClip 3 {
onClipEvent (enterFrame) {
maxLeft = -5000 + _width / 2;
maxRight = 5000 - _width / 2;
maxTop = -1000 + _height / 2;
maxBottom = 2000 - _height / 2;
_y = _y + (_root.Vicka._y - _y) / 4;
_x = _x + (_root.Vicka._x - _x) / 3;
if (_x < maxLeft) {
_x = maxLeft;
} else {
if (_x > maxRight) {
_x = maxRight;
}
}
if (_y < maxTop) {
_y = maxTop;
} else {
if (_y > maxBottom) {
_y = maxBottom;
}
}
_root.HUD._x = _x - _width / 2;
_root.HUD._y = _y - _height * 2 / 3;
_root.controlButton._x = _x - _width / -2.33 + 5;
_root.controlButton._y = _y + _height / -1.9;
_root.controlList._x = _x - _width / 30;
_root.controlList._y = _y - _height / 4 - 3.5;
if (_root.zoomout) {
_root.controlList._x -= 1;
_root.controlList._y -= 2;
}
}
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
// unknown tag 88 length 62
// unknown tag 88 length 74
movieClip 28 {
}
instance HUD of movieClip 28 {
onClipEvent (enterFrame) {
if (_root.HUDshow == 'OFF') {
gotoAndPlay('hide');
} else {
gotoAndPlay('show');
}
}
}
button 31 {
on (release) {
_root.expose = 0;
_root.conceal = 1;
}
}
button 32 {
on (release) {
_root.expose = 1;
_root.conceal = 0;
}
}
button 33 {
on (release) {
_root.flaccid = 1;
_root.limp = 0;
_root.erect = 0;
}
}
button 34 {
on (release) {
_root.flaccid = 0;
_root.limp = 1;
_root.erect = 0;
}
}
button 35 {
on (release) {
_root.flaccid = 0;
_root.limp = 0;
_root.erect = 1;
}
}
button 36 {
on (release) {
_root.imp = 0;
_root.feral = 1;
}
}
button 37 {
on (release) {
_root.top_intact = 0;
_root.top_ripped = 1;
}
}
button 38 {
on (release) {
_root.top_intact = 1;
_root.top_ripped = 0;
}
}
button 39 {
on (release) {
_root.shorts_intact = 0;
_root.shorts_ripped = 1;
}
}
button 40 {
on (release) {
_root.shorts_intact = 1;
_root.shorts_ripped = 0;
}
}
// unknown tag 88 length 67
button 54 {
on (release) {
_root.imp = 1;
_root.feral = 0;
}
}
movieClip 56 {
}
movieClip 58 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 65 {
}
movieClip 68 {
}
movieClip 71 {
frame 1 {
if (!_root.shorts_intact) {
if (_root.shorts_ripped) {
gotoAndPlay('shorts_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.shorts_ripped) {
if (_root.shorts_intact) {
gotoAndPlay('shorts_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 72 {
}
movieClip 76 {
}
movieClip 79 {
}
movieClip 82 {
frame 1 {
if (!_root.shorts_intact) {
if (_root.shorts_ripped) {
gotoAndPlay('shorts_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.shorts_ripped) {
if (_root.shorts_intact) {
gotoAndPlay('shorts_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 85 {
frame 1 {
if (!_root.top_intact) {
if (_root.top_ripped) {
gotoAndPlay('top_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.top_ripped) {
if (_root.top_intact) {
gotoAndPlay('top_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 87 {
}
movieClip 88 {
}
movieClip 95 {
}
movieClip 99 {
}
movieClip 100 {
frame 1 {
if (!_root.idlelook) {
if (_root.frontlook) {
gotoAndPlay('frontlook');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.frontlook) {
if (_root.idlelook) {
gotoAndPlay('idlelook');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 103 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 105 {
}
movieClip 109 {
frame 1 {
if (!_root.top_intact) {
if (_root.top_ripped) {
gotoAndPlay('top_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.top_ripped) {
if (_root.top_intact) {
gotoAndPlay('top_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 110 {
}
movieClip 114 {
frame 1 {
if (!_root.flaccid) {
if (_root.limp) {
gotoAndPlay('limp');
} else {
if (_root.erect) {
gotoAndPlay('erect');
}
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.limp) {
if (_root.flaccid) {
gotoAndPlay('flaccid');
} else {
if (_root.erect) {
gotoAndPlay('erect');
}
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
frame 5 {
if (!_root.erect) {
if (_root.flaccid) {
gotoAndPlay('flaccid');
} else {
if (_root.limp) {
gotoAndPlay('limp');
}
}
}
}
frame 6 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 115 {
frame 1 {
if (!_root.conceal) {
if (_root.expose) {
gotoAndPlay('expose');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.expose) {
if (_root.conceal) {
gotoAndPlay('conceal');
} else {
if (_root.limp) {
gotoAndPlay('limp');
} else {
if (_root.erect) {
gotoAndPlay('erect');
}
}
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 119 {
frame 1 {
if (!_root.top_intact) {
if (_root.top_ripped) {
gotoAndPlay('top_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.top_ripped) {
if (_root.top_intact) {
gotoAndPlay('top_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 120 {
}
movieClip 123 {
frame 1 {
if (!_root.shorts_intact) {
if (_root.shorts_ripped) {
gotoAndPlay('shorts_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.shorts_ripped) {
if (_root.shorts_intact) {
gotoAndPlay('shorts_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 124 {
}
movieClip 128 {
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 136 {
}
movieClip 139 {
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 143 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 146 {
}
movieClip 147 {
}
movieClip 148 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 149 {
}
movieClip 153 {
frame 1 {
if (!_root.top_intact) {
if (_root.top_ripped) {
gotoAndPlay('top_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.top_ripped) {
if (_root.top_intact) {
gotoAndPlay('top_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 155 {
}
movieClip 157 {
frame 1 {
if (!_root.shorts_intact) {
if (_root.shorts_ripped) {
gotoAndPlay('shorts_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.shorts_ripped) {
if (_root.shorts_intact) {
gotoAndPlay('shorts_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 167 {
}
movieClip 168 {
frame 1 {
stop();
}
}
movieClip 170 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 173 {
frame 1 {
if (!_root.flaccid) {
if (_root.limp) {
gotoAndPlay('limp');
} else {
if (_root.erect) {
gotoAndPlay('erect');
}
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.limp) {
if (_root.flaccid) {
gotoAndPlay('flaccid');
} else {
if (_root.erect) {
gotoAndPlay('erect');
}
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
frame 5 {
if (!_root.erect) {
if (_root.flaccid) {
gotoAndPlay('flaccid');
} else {
if (_root.limp) {
gotoAndPlay('limp');
}
}
}
}
frame 6 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 174 {
frame 1 {
if (!_root.conceal) {
if (_root.expose) {
gotoAndPlay('expose');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.expose) {
if (_root.conceal) {
gotoAndPlay('conceal');
} else {
if (_root.limp) {
gotoAndPlay('limp');
} else {
if (_root.erect) {
gotoAndPlay('erect');
}
}
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 178 {
frame 1 {
if (!_root.top_intact) {
if (_root.top_ripped) {
gotoAndPlay('top_ripped');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.top_ripped) {
if (_root.top_intact) {
gotoAndPlay('top_intact');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 179 {
}
movieClip 183 {
}
movieClip 186 {
}
movieClip 187 {
}
movieClip 190 {
}
movieClip 191 {
}
movieClip 192 {
frame 1 {
if (!_root.human) {
if (_root.animal) {
gotoAndPlay('animal');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.animal) {
if (_root.human) {
gotoAndPlay('human');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 193 {
}
movieClip 194 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 195 {
}
movieClip 196 {
}
movieClip 197 {
}
movieClip 198 {
}
movieClip 199 {
}
movieClip 200 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 201 {
}
movieClip 202 {
}
movieClip 203 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 205 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 206 {
}
movieClip 207 {
}
movieClip 208 {
}
movieClip 209 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 212 {
frame 13 {
stop();
}
}
movieClip 213 {
}
movieClip 214 {
frame 1 {
if (!_root.imp) {
if (_root.feral) {
gotoAndPlay('feral');
}
}
}
frame 2 {
gotoAndPlay(this._currentframe - 1);
}
frame 3 {
if (!_root.feral) {
if (_root.imp) {
gotoAndPlay('imp');
}
}
}
frame 4 {
gotoAndPlay(this._currentframe - 1);
}
}
movieClip 215 {
frame 13 {
stop();
}
}
movieClip 217 {
frame 13 {
stop();
}
}
movieClip 220 {
frame 7 {
stop();
}
}
movieClip 221 {
frame 7 {
stop();
}
}
movieClip 222 {
frame 7 {
stop();
}
}
movieClip 223 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
}
movieClip 225 {
frame 1 {
stop();
}
instance vickachar of movieClip 223 {
onClipEvent (release) {
if (_root.zoomin) {
_root.zoomin = false;
_root.zoomout = true;
} else {
if (_root.zoomout) {
_root.zoomout = false;
_root.zoomin = true;
}
}
}
onClipEvent (keyPress 'q') {
if (_quality == 'HIGH') {
_quality = 'Medium';
} else {
_quality = 'High';
}
}
}
}
instance Vicka of movieClip 225 {
onClipEvent (load) {
var ground = _root.ground;
var ceiling = _root.ceiling;
var obstacle = _root.obstacle;
var grav = 0;
var gravity = 2;
var maxJump = -24;
var speed = 10;
var touchingGround = false;
var touchingObstacle = false;
char._x = _root.CheckpointX[_root.Checkpoint];
char._y = _root.CheckpointY[_root.Checkpoint];
}
onClipEvent (enterFrame) {
if (_root.movement) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true) | obstacle.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true) | obstacle.hitTest(_x, _y + 5, true)) {
touchingGround = true;
touchingObstacle = true;
} else {
touchingGround = false;
touchingObstacle = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
right = true;
if (Key.isDown(40) & (touchingGround | touchingObstacle)) {
speed = 3;
_root.Vicka.vickachar.gotoAndStop(8);
} else {
if (Key.isDown(16) & (touchingGround | touchingObstacle)) {
speed = 20;
_root.Vicka.vickachar.gotoAndStop(11);
if (Key.isDown(38)) {
speed = 15;
}
} else {
if (!touchingGround & !touchingObstacle) {
if (Key.isDown(65)) {
_root.Vicka.vickachar.gotoAndStop(15);
} else {
if (Key.isDown(83)) {
_root.Vicka.vickachar.gotoAndStop(21);
} else {
_root.Vicka.vickachar.gotoAndStop(5);
}
}
} else {
speed = 10;
_root.Vicka.vickachar.gotoAndStop(2);
}
}
}
} else {
if (right) {
if (Key.isDown(40) & (touchingGround | touchingObstacle)) {
if (Key.isDown(65)) {
_root.Vicka.vickachar.gotoAndStop(17);
} else {
if (Key.isDown(83)) {
_root.Vicka.vickachar.gotoAndStop(23);
} else {
_root.Vicka.vickachar.gotoAndStop(7);
}
}
} else {
if (Key.isDown(65)) {
if (!touchingGround | !touchingObstacle) {
_root.Vicka.vickachar.gotoAndStop(15);
} else {
_root.Vicka.vickachar.gotoAndStop(13);
}
} else {
if (Key.isDown(83)) {
if (!touchingGround & !touchingObstacle) {
_root.Vicka.vickachar.gotoAndStop(21);
} else {
_root.Vicka.vickachar.gotoAndStop(19);
}
} else {
if (!touchingGround | !touchingObstacle) {
_root.Vicka.vickachar.gotoAndStop(5);
} else {
_root.Vicka.vickachar.gotoAndStop(1);
}
}
}
}
}
}
if (Key.isDown(37)) {
_x = _x - speed;
right = false;
if (Key.isDown(40) & (touchingGround | touchingObstacle)) {
speed = 3;
_root.Vicka.vickachar.gotoAndStop(10);
} else {
if (Key.isDown(16) & (touchingGround | touchingObstacle)) {
speed = 20;
_root.Vicka.vickachar.gotoAndStop(12);
if (Key.isDown(38)) {
speed = 15;
}
} else {
if (!touchingGround & !touchingObstacle) {
if (Key.isDown(65)) {
_root.Vicka.vickachar.gotoAndStop(16);
} else {
if (Key.isDown(83)) {
_root.Vicka.vickachar.gotoAndStop(22);
} else {
_root.Vicka.vickachar.gotoAndStop(6);
}
}
} else {
speed = 10;
_root.Vicka.vickachar.gotoAndStop(4);
}
}
}
} else {
if (!right) {
if (Key.isDown(40) & (touchingGround | touchingObstacle)) {
if (Key.isDown(65)) {
_root.Vicka.vickachar.gotoAndStop(18);
} else {
if (Key.isDown(83)) {
_root.Vicka.vickachar.gotoAndStop(24);
} else {
_root.Vicka.vickachar.gotoAndStop(9);
}
}
} else {
if (Key.isDown(65)) {
if (!touchingGround | !touchingObstacle) {
_root.Vicka.vickachar.gotoAndStop(16);
} else {
_root.Vicka.vickachar.gotoAndStop(14);
}
} else {
if (Key.isDown(83)) {
if (!touchingGround | !touchingObstacle) {
_root.Vicka.vickachar.gotoAndStop(22);
} else {
_root.Vicka.vickachar.gotoAndStop(20);
}
} else {
if (!touchingGround & !touchingObstacle) {
_root.Vicka.vickachar.gotoAndStop(6);
} else {
_root.Vicka.vickachar.gotoAndStop(3);
}
}
}
}
}
}
if (Key.isDown(38) & (touchingGround | touchingObstacle)) {
grav = maxJump;
gotoAndPlay('jump');
}
if (ground.hitTest(_x + _width / 4, _y - _height / 4, true) | obstacle.hitTest(_x + _width / 4, _y - _height / 4, true) | ceiling.hitTest(_x + _width / 4, _y - _height / 4, true)) {
_x = _x - speed;
}
if (ground.hitTest(_x - _width / 4, _y - _height / 4, true) | obstacle.hitTest(_x - _width / 4, _y - _height / 4, true) | ceiling.hitTest(_x - _width / 4, _y - _height / 4, true)) {
_x = _x + speed;
_root.HUD._x = _x - 145;
}
if (obstacle.hitTest(_x, _y - _height, true) | ceiling.hitTest(_x, _y - _height, true)) {
grav = 15;
}
}
}
}