Combined Code
frame 1 {
stop();
var _mochiads_game_id = '9496941179782c5b';
Stage.showMenu = false;
var character = 'regular';
var character2 = 'robot';
var characterdisplay;
loadgame = true;
if (loadgame) {
mochi.as2.MochiServices.connect('9496941179782c5b');
mochi.as2.MochiServices.connect();
}
var domain = _url;
var domainparts = domain.split('://');
var domain2 = _root.domainparts[1];
realdomain = domainparts[1].split('/');
var domain3 = realdomain[0];
var domainparts2 = domain3.split('.');
var domain4 = _root.domainparts2[1];
var domain5 = _root.domainparts2[0];
}
// unknown tag 88 length 68
movieClip 7 {
}
instance of movieClip 7 {
onClipEvent (press) {
getURL('http://www.funny-games.biz/plumet.html', '_blank');
}
}
movieClip 13 {
}
instance of movieClip 13 {
onClipEvent (enterFrame) {
if (_root.domain3 == 'funny-games.biz' or _root.domain3 == 'funny-base.com' or _root.domain3 == 'www.funny-games.biz' or _root.domain3 == 'www.funny-base.com' or _root.domain3 == 'content.funny-games.biz' or _root.domain3 == 'content.funny-base.com' or _root.domain4 == 'funny-base' or _root.domain4 == 'funny-games' or _root.domain5 == 'funny-base' or _root.domain5 == 'funny-games') {
_root.textbox = 'Yup its on newgrounds';
} else {
_root._alpha = 0;
}
}
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 28 {
frame 10 {
stop();
}
instance of movieClip 15 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
instance of movieClip 17 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
instance of movieClip 19 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
instance of movieClip 21 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
instance of movieClip 23 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
instance of movieClip 25 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
instance of movieClip 27 {
onClipEvent (load) {
originalx = _x;
originaly = _y;
timer = _root.timermax;
}
onClipEvent (enterFrame) {
--timer;
if (timer <= 0) {
timer = _root.timermax;
_x = _x + (_root.xDir - random(_root.xDir * 2));
_y = _y + (_root.xDir - random(_root.xDir * 2));
} else {
if (timer <= _root.timer2max) {
_x = originalx;
_y = originaly;
}
}
}
}
}
movieClip 31 {
}
movieClip 36 {
}
// unknown tag 88 length 73
button 48 {
on (release) {
getURL('http://www.funny-games.biz/main.html', '_blank');
}
}
button 55 {
on (release) {
_root.gotoAndStop('fglogo');
}
}
movieClip 56 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 1909 __Packages.mochi.as2.MochiEventDispatcher {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEventDispatcher) {
var v1 = function () {
this.eventTable = {};
};
mochi.as2.MochiEventDispatcher = v1;
var v2 = v1.prototype;
v2.buildDelegate = function (thisObject, thatObject) {
var v2 = {'thisObject': thisObject, 'thatObject': thatObject};
if (thatObject != undefined) {
var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject;
v2.delegate = function (args) {
funct.call(thisObject, args);
};
return v2;
}
v2.delegate = thisObject;
return v2;
};
v2.compareDelegate = function (d_A, d_B) {
if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) {
return false;
}
return true;
};
v2.addEventListener = function (event, thisObject, thatObject) {
this.removeEventListener(event, thisObject, thatObject);
this.eventTable[event].push(this.buildDelegate(thisObject, thatObject));
};
v2.removeEventListener = function (event, thisObject, thatObject) {
var v3 = this.buildDelegate(thisObject, thatObject);
if (this.eventTable[event] == undefined) {
this.eventTable[event] = [];
return undefined;
}
for (var v4 in this.eventTable[event]) {
if (!this.compareDelegate(this.eventTable[event][v4], v3)) {
continue;
}
this.eventTable[event].splice(Number(v4), 1);
}
};
v2.triggerEvent = function (event, args) {
if (this.eventTable[event] == undefined) {
return undefined;
}
for (var v4 in this.eventTable[event]) {
this.eventTable[event][v4].delegate(args);
}
};
ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 1910 __Packages.mochi.as2.MochiServices {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiServices) {
var v1 = function () {};
mochi.as2.MochiServices = v1;
var v2 = v1.prototype;
v1.__get__id = function () {
return mochi.as2.MochiServices._id;
};
v1.__get__clip = function () {
return mochi.as2.MochiServices._container;
};
v1.__get__childClip = function () {
return mochi.as2.MochiServices._clip;
};
v1.getVersion = function () {
return '3.9.2 as2';
};
v1.allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.__get__isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1.__set__comChannelName = function (val) {
if (val != undefined) {
if (val.length > 3) {
mochi.as2.MochiServices._sendChannelName = val + '_fromgame';
mochi.as2.MochiServices.initComChannels();
}
}
return mochi.as2.MochiServices.__get__comChannelName();
};
v1.__get__connected = function () {
return mochi.as2.MochiServices._connected;
};
v1.connect = function (id, clip, onError) {
mochi.as2.MochiServices.warnID(id, false);
if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) {
trace('MochiServices Connecting...');
mochi.as2.MochiServices._connecting = true;
mochi.as2.MochiServices.init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else {
if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
};
v1.disconnect = function () {
if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected;
mochi.as2.MochiServices.flush(true);
if (mochi.as2.MochiServices._clip != undefined) {
mochi.as2.MochiServices._clip.removeMovieClip();
delete mochi.as2.MochiServices._clip;
}
mochi.as2.MochiServices._listenChannel.close();
}
};
v1.init = function (id, clip) {
mochi.as2.MochiServices._id = id;
if (clip != undefined) {
mochi.as2.MochiServices._container = clip;
} else {
mochi.as2.MochiServices._container = _root;
}
mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container);
};
v1.loadCommunicator = function (id, clip) {
var v6 = '_mochiservices_com_' + id;
var v5 = new MovieClipLoader();
var v3 = {};
if (mochi.as2.MochiServices._clip != null) {
return mochi.as2.MochiServices._clip;
}
if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) {
return null;
}
if ((mochi.as2.MochiServices.urlOptions()).servURL) {
mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL;
}
var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services;
if ((mochi.as2.MochiServices.urlOptions()).servicesURL) {
v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL;
}
mochi.as2.MochiServices.allowDomains(v4);
mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false);
mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999);
mochi.as2.MochiServices.listen();
if (v3.waitInterval != null) {
clearInterval(v3.waitInterval);
}
v3.onLoadError = mochi.as2.MochiServices.loadError;
v3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
v3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
v3.startTime = getTimer();
v3.wait = function () {
if (getTimer() - this.startTime > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
}
clearInterval(this.waitInterval);
}
};
v3.waitInterval = setInterval(v3, 'wait', 1000);
v5.addListener(v3);
v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip);
mochi.as2.MochiServices._sendChannel = new LocalConnection();
mochi.as2.MochiServices._sendChannel._queue = [];
return mochi.as2.MochiServices._clip;
};
v1.loadError = function (target_mc, errorCode, httpStatus) {
trace('MochiServices could not load.');
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
v1.onStatus = function (infoObject) {
if (infoObject.level !== 'error') {
} else {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
}
};
v1.listen = function () {
mochi.as2.MochiServices._listenChannel = new LocalConnection();
mochi.as2.MochiServices._listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
mochi.as2.MochiServices._listenChannel.allowDomain = function (d) {
return true;
};
mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain;
mochi.as2.MochiServices._listenChannel._nextcallbackID = 0;
mochi.as2.MochiServices._listenChannel._callbacks = {};
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
trace('Waiting for MochiAds services to connect...');
};
v1.initComChannels = function () {
if (!mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'});
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()});
mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) {
var v5 = pkg.callbackID;
var v4 = this._callbacks[v5];
if (!v4) {
return undefined;
}
var v2 = v4.callbackMethod;
var v3 = v4.callbackObject;
if (v3 && typeof v2 == 'string') {
v2 = v3[v2];
}
if (v2 != undefined) {
v2.apply(v3, pkg.args);
}
delete this._callbacks[v5];
};
mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case 'services':
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case 'social':
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
mochi.as2.MochiServices._listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
};
trace('[SERVICES_API] connected!');
mochi.as2.MochiServices._connecting = false;
mochi.as2.MochiServices._connected = true;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift());
}
}
};
v1.flush = function (error) {
var v1;
var v2;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
v1 = mochi.as2.MochiServices._sendChannel._queue.shift();
false;
if (v1.callbackID != null) {
v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
}
delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
if (error) {
mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod);
}
}
};
v1.handleError = function (args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ['NotConnected']);
}
if (args.options != null && args.options.onError != null) {
args.options.onError.apply(null, ['NotConnected']);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = 'NotConnected';
if (callbackObject != null && typeof callbackMethod == 'string') {
callbackObject[callbackMethod](args);
} else {
if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
};
v1.send = function (methodName, args, callbackObject, callbackMethod) {
if (mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
} else {
if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) {
trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName);
mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod);
mochi.as2.MochiServices.flush(true);
return undefined;
} else {
mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
}
}
mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod};
++mochi.as2.MochiServices._listenChannel._nextcallbackID;
};
v1.urlOptions = function () {
var v5 = {};
var v6;
if (_root._url.indexOf('mochiad_options') != -1) {
var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1;
v6 = _root._url.substr(v2, _root._url.length);
} else {
if (_root.mochiad_options) {
v6 = _root.mochiad_options;
}
}
if (v6) {
var v4 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v4.length) {
var v3 = v4[v2].split('=');
v5[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
return v5;
};
v1.warnID = function (bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length');
return undefined;
} else {
if (bid == '1e113c7239048b3f') {
if (leaderboard) {
trace('WARNING: Using testing board ID');
} else {
trace('WARNING: Using testing board ID as game ID');
}
return undefined;
} else {
if (bid == '84993a1de4031cd8') {
if (leaderboard) {
trace('WARNING: Using testing game ID as board ID');
} else {
trace('WARNING: Using testing game ID');
}
return undefined;
}
}
}
var v1 = 0;
while (v1 < bid.length) {
switch (bid.charAt(v1)) {
if (bid.charAt(v1) !== 'f') {
} else {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'a':
break;
case 'b':
case 'c':
case 'd':
case 'e':
}
default:
trace('WARNING: Board ID contains illegal characters: ' + bid);
return undefined;
}
++v1;
}
};
v1.addLinkEvent = function (url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var v2 = new Object();
v2.mav = mochi.as2.MochiServices.getVersion();
v2.swfv = btn.getSWFVersion() || 6;
v2.swfurl = btn._url;
v2.fv = System.capabilities.version;
v2.os = System.capabilities.os;
v2.lang = System.capabilities.language;
v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY;
var s = '?';
var v3 = 0;
for (var v6 in v2) {
if (v3 != 0) {
s += '&';
}
++v3;
s = s + v6 + '=' + escape(v2[v6]);
}
if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) {
var ping = btn.createEmptyMovieClip('ping', 777);
var v7 = btn.createEmptyMovieClip('nettest', 778);
mochi.as2.MochiServices.netupAttempted = true;
ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer());
v7.onEnterFrame = function () {
if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) {
delete this.onEnterFrame;
} else {
if (getTimer() - t0 > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
}
};
}
var v4 = btn.createEmptyMovieClip('clk', 1001);
v4._alpha = 0;
v4.beginFill(1044735);
v4.moveTo(0, 0);
v4.lineTo(0, btn._height);
v4.lineTo(btn._width, btn._height);
v4.lineTo(btn._width, 0);
v4.lineTo(0, 0);
v4.endFill();
v4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL(url + s, '_blank');
} else {
getURL(burl, '_blank');
}
if (onClick != undefined) {
onClick();
}
};
};
v1.setContainer = function (clip) {};
v1.stayOnTop = function (clip) {};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.CONNECTED = 'onConnected';
v1._servURL = 'http://www.mochiads.com/static/lib/services/';
v1._services = 'services.swf';
v1._mochiLC = 'MochiLC.swf';
v1._listenChannelName = '__ms_';
v1._connecting = false;
v1._connected = false;
v1.netup = true;
v1.netupAttempted = false;
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
v1.addProperty('childClip', v1.__get__childClip, function () {});
v1.addProperty('clip', v1.__get__clip, function () {});
v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName);
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('id', v1.__get__id, function () {});
v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {});
ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1);
}
#endinitclip
}
movieClip 1911 __Packages.mochi.as2.MochiEvents {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEvents) {
var v1 = function () {};
mochi.as2.MochiEvents = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.startSession = function (achievementID) {
mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null);
};
v1.setNotifications = function (clip, style) {
var v2 = {};
for (var v3 in style) {
v2[v3] = style[v3];
}
v2.clip = clip;
mochi.as2.MochiServices.send('events_setNotifications', v2, null, null);
};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.startPlay = function (tag) {
if (tag == undefined) {
tag = 'gameplay';
}
mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null);
};
v1.endPlay = function () {
mochi.as2.MochiServices.send('events_clearRoundID', null, null, null);
};
v1.trackEvent = function (tag, value) {
mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null);
};
v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived';
v1.ALIGN_TOP_LEFT = 'ALIGN_TL';
v1.ALIGN_TOP = 'ALIGN_T';
v1.ALIGN_TOP_RIGHT = 'ALIGN_TR';
v1.ALIGN_LEFT = 'ALIGN_L';
v1.ALIGN_CENTER = 'ALIGN_C';
v1.ALIGN_RIGHT = 'ALIGN_R';
v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL';
v1.ALIGN_BOTTOM = 'ALIGN_B';
v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR';
v1.FORMAT_SHORT = 'ShortForm';
v1.FORMAT_LONG = 'LongForm';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1);
}
#endinitclip
}
movieClip 1912 __Packages.mochi.as2.MochiCoins {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiCoins) {
var v1 = function () {};
mochi.as2.MochiCoins = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showStore = function (options) {
mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null);
};
v1.showItem = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showItem call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null);
};
v1.showVideo = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showVideo call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null);
};
v1.getStoreItems = function () {
mochi.as2.MochiServices.send('coins_getStoreItems');
};
v1.requestFunding = function (properties) {
mochi.as2.MochiServices.send('social_requestFunding', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate);
};
v1.STORE_SHOW = 'StoreShow';
v1.STORE_HIDE = 'StoreHide';
v1.ITEM_OWNED = 'ItemOwned';
v1.ITEM_NEW = 'ItemNew';
v1.STORE_ITEMS = 'StoreItems';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1);
}
#endinitclip
}
movieClip 1913 __Packages.mochi.as2.MochiSocial {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSocial) {
var v1 = function () {};
mochi.as2.MochiSocial = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('social_hideLoginWidget');
};
v1.requestLogin = function (properties) {
mochi.as2.MochiServices.send('social_requestLogin', properties);
};
v1.getFriendsList = function (properties) {
mochi.as2.MochiServices.send('social_getFriendsList', properties);
};
v1.postToStream = function (properties) {
mochi.as2.MochiServices.send('social_postToStream', properties);
};
v1.inviteFriends = function (properties) {
mochi.as2.MochiServices.send('social_inviteFriends', properties);
};
v1.requestFan = function (properties) {
mochi.as2.MochiServices.send('social_requestFan', properties);
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('social_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.LOGIN_SHOWN = 'LoginShown';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.FRIEND_LIST = 'FriendsList';
v1.PROFILE_DATA = 'ProfileData';
v1.GAMEPLAY_DATA = 'GameplayData';
v1.ACTION_CANCELED = 'onCancel';
v1.ACTION_COMPLETE = 'onComplete';
v1.USER_INFO = 'UserInfo';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1.PROPERTIES_SIZE = 'PropertiesSize';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1);
}
#endinitclip
}
movieClip 1914 __Packages.mochi.as2.MochiScores {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiScores) {
var v1 = function () {};
mochi.as2.MochiScores = v1;
var v2 = v1.prototype;
v1.setBoardID = function (boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID});
};
v1.showLeaderboard = function (options) {
options.clip = mochi.as2.MochiServices.clip;
if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) {
mochi.as2.MochiServices.disconnect();
trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!');
trace('make sure MochiServices.connect is called as early in the application runtime as possible.');
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof options.name == 'object') {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else {
if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
}
var v1 = Number(options.score);
if (isNaN(v1)) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\'');
} else {
if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(v1) != v1) {
trace('WARNING: Submitted score \'' + options.score + '\' will be truncated');
}
options.score = v1;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
(mochi.as2.MochiServices.__get__clip()).stop();
}
if (options.onClose != null) {
mochi.as2.MochiScores.onClose = options.onClose;
} else {
mochi.as2.MochiScores.onClose = function () {
(mochi.as2.MochiServices.__get__clip()).play();
};
}
if (options.onError != null) {
mochi.as2.MochiScores.onError = options.onError;
} else {
mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose;
}
if (options.boardID == null) {
if (mochi.as2.MochiScores.boardID != null) {
options.boardID = mochi.as2.MochiScores.boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal');
mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose);
};
v1.closeLeaderboard = function () {
mochi.as2.MochiServices.send('scores_closeLeaderboard');
};
v1.getPlayerInfo = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod);
};
v1.submit = function (score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\'');
} else {
if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(score) != score) {
trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated');
}
score = Number(score);
}
}
mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod);
};
v1.requestList = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod);
};
v1.scoresArrayToObjects = function (scores) {
var v5 = {};
var v1;
var v4;
var v2;
var v6;
for (var v8 in scores) {
if (typeof scores[v8] == 'object') {
if (scores[v8].cols != null && scores[v8].rows != null) {
v5[v8] = [];
v2 = scores[v8];
v4 = 0;
while (v4 < v2.rows.length) {
v6 = {};
v1 = 0;
while (v1 < v2.cols.length) {
v6[v2.cols[v1]] = v2.rows[v4][v1];
++v1;
}
v5[v8].push(v6);
++v4;
}
} else {
v5[v8] = {};
for (var v7 in scores[v8]) {
v5[v8][v7] = scores[v8][v7];
}
}
} else {
v5[v8] = scores[v8];
}
}
return v5;
};
v1.doClose = function (args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = 'IOError';
}
mochi.as2.MochiScores.onError.apply(null, [args.errorCode]);
} else {
mochi.as2.MochiScores.onClose.apply();
}
};
ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1);
}
#endinitclip
}
movieClip 1915 __Packages.mochi.as2.MochiDigits {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiDigits) {
var v1 = function (digit, index) {
this.Encoder = 0;
this.setValue(digit, index);
};
mochi.as2.MochiDigits = v1;
var v2 = v1.prototype;
v2.__get__value = function () {
return Number(this.toString());
};
v2.__set__value = function (v) {
this.setValue(v);
return this.__get__value();
};
v2.addValue = function (v) {
this.value += v;
};
v2.setValue = function (digit, index) {
var v3 = digit.toString();
if (index == undefined || isNaN(index)) {
index = 0;
}
this.Fragment = v3.charCodeAt(index++) ^ this.Encoder;
if (index < v3.length) {
this.Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
this.Sibling = null;
}
this.reencode();
};
v2.reencode = function () {
var v2 = int(2147483647 * Math.random());
this.Fragment ^= v2 ^ this.Encoder;
this.Encoder = v2;
};
v2.toString = function () {
var v2 = String.fromCharCode(this.Fragment ^ this.Encoder);
return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2;
};
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1);
}
#endinitclip
}
frame 2 {
function savegame() {
myLSO = SharedObject.getLocal('plumet2savefile');
if (myLSO.data.myObj == undefined) {
} else {}
myObj = {};
myObj.objArray = new Array();
myObj.objArray[0] = _root.musicison;
myObj.objArray[1] = _root.q;
myObj.objArray[2] = _root.charactersunlocked;
myObj.objArray[3] = _root.racemodelocked;
myObj.objArray[4] = _root.character;
myObj.objArray[5] = _root.character2;
myLSO.data.myObj = myObj;
}
function loadgame() {
myLSO = SharedObject.getLocal('plumet2savefile');
if (myLSO.data.myObj == undefined) {
_root.charactersunlocked = 0;
_root.musicison = true;
_root.q = 1;
_root.racemodelocked = true;
_root.character = 'regular';
_root.character2 = 'robot';
} else {
_root.musicison = myLSO.data.myObj.objArray[0];
_root.q = myLSO.data.myObj.objArray[1];
_root.charactersunlocked = myLSO.data.myObj.objArray[2];
_root.racemodelocked = myLSO.data.myObj.objArray[3];
_root.character = myLSO.data.myObj.objArray[4];
_root.character2 = myLSO.data.myObj.objArray[5];
}
}
_root.loadgame();
stop();
}
button 61 {
on (press) {
getURL('http://person333.newgrounds.com', '_blank');
}
}
movieClip 65 {
frame 1 {
stop();
}
}
movieClip 67 {
frame 5 {
_root.mainmusic = new Sound();
_root.mainmusic.attachSound('plumetsong');
_root.racemusic = new Sound();
_root.racemusic.attachSound('racesong');
_root.menumusic = new Sound();
_root.menumusic.attachSound('menusong');
stop();
}
}
movieClip 69 {
}
movieClip 71 {
}
movieClip 72 {
}
movieClip 75 {
}
movieClip 90 {
frame 61 {
_root.gotoAndStop(3);
}
}
frame 3 {
if (_root.musicison) {
_root.racemusic.setVolume(100);
_root.mainmusic.setVolume(100);
_root.menumusic.setVolume(100);
_root.setVolume(100);
} else {
_root.racemusic.setVolume(0);
_root.mainmusic.setVolume(0);
_root.menumusic.setVolume(0);
_root.setVolume(0);
}
_root.buttonsover = 0;
_root._quality = 'high';
_root.unlockspec = ' ';
_root.xDir = 1;
_root.timermax = 4;
_root.timer2max = 2;
_root.wordbounds = 1;
var singleplayer;
var computerplayer = false;
var tempcharacter = ' ';
var computerstupidity = 10;
if (_root.singleplayer == false) {
_root.tempcharacter = _root.character;
_root.character = _root.character2;
_root.character2 = _root.tempcharacter;
_root.singleplayer = true;
}
_root.savegame();
stop();
}
movieClip 94 {
}
instance bgart of movieClip 94 {
onClipEvent (enterFrame) {
_x = 142;
}
}
movieClip 96 {
}
instance of movieClip 96 {
onClipEvent (load) {
_root.menumusic.start(_root.pausetimer3 / 1000, 1000);
}
}
button 101 {
on (press) {
_root.gotoAndStop('playmenu');
}
}
button 105 {
on (press) {
_root.gotoAndStop('options');
}
}
button 109 {
on (press) {
_root.gotoAndStop('instructions');
}
}
button 113 {
on (press) {
_root.gotoAndStop('customise');
}
}
button 117 {
on (press) {
_root.gotoAndStop('credits');
}
}
movieClip 125 {
}
movieClip 136 {
}
movieClip 145 {
}
movieClip 147 {
frame 1 {
gotoAndStop(_root.character);
stop();
}
}
movieClip 172 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 174 {
}
movieClip 175 {
}
movieClip 186 {
}
movieClip 199 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 17 {
gotoAndPlay(1);
}
frame 34 {
gotoAndPlay(1);
}
frame 51 {
gotoAndPlay(1);
}
frame 68 {
gotoAndPlay(1);
}
frame 85 {
gotoAndPlay(1);
}
frame 102 {
gotoAndPlay(1);
}
frame 119 {
gotoAndPlay(1);
}
frame 136 {
gotoAndPlay(1);
}
frame 153 {
gotoAndPlay(1);
}
frame 170 {
gotoAndPlay(1);
}
frame 187 {
gotoAndPlay(1);
}
frame 204 {
gotoAndPlay(1);
}
frame 221 {
gotoAndPlay(1);
}
frame 238 {
gotoAndPlay(1);
}
frame 255 {
gotoAndPlay(1);
}
frame 272 {
gotoAndPlay(1);
}
frame 273 {
gotoAndPlay(_root.character);
}
frame 289 {
gotoAndPlay(1);
}
frame 306 {
gotoAndPlay(1);
}
frame 323 {
gotoAndPlay(1);
}
frame 340 {
gotoAndPlay(1);
}
frame 357 {
gotoAndPlay(1);
}
}
button 203 {
on (press) {
getURL('http://person333.newgrounds.com', '_blank');
}
}
button 207 {
on (press) {
getURL('http://www.funny-games.biz/main.html', '_blank');
}
}
movieClip 209 {
}
movieClip 210 {
frame 16 {
stop();
}
}
instance fader of movieClip 210 {
onClipEvent (enterFrame) {
if (_root.musicison) {
_root.racemusic.setVolume(100);
_root.mainmusic.setVolume(100);
_root.menumusic.setVolume(100);
_root.setVolume(100);
} else {
_root.racemusic.setVolume(0);
_root.mainmusic.setVolume(0);
_root.menumusic.setVolume(0);
_root.setVolume(0);
}
}
}
button 215 {
on (press) {
_root.gotoAndStop('main');
}
}
button 219 {
on (press) {
_root.singleplayer = true;
_root.gotoAndPlay('gameplay');
}
on (rollOver) {
_root.buttonsover = 1;
_root.unlockspec = ' Fall as far as you can to get the best score. but the further you fall, the faster it gets.';
}
on (rollOut) {
_root.buttonsover = 0;
}
}
movieClip 222 {
}
button 224 {
on (rollOver) {
_root.buttonsover = 1;
_root.unlockspec = 'Fall 1000 metres to unlock the Race game mode';
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 228 {
on (press) {
_root.gotoAndStop('racemenu');
}
on (rollOver) {
_root.buttonsover = 1;
_root.unlockspec = 'compete against another player and try to beat them to the end, or be quick enough to splatter them.';
}
on (rollOut) {
_root.buttonsover = 0;
}
}
movieClip 229 {
frame 1 {
if (_root.charactersunlocked >= 10 and _root.racemodelocked == false) {
nextFrame();
}
stop();
}
}
// unknown tag 88 length 63
movieClip 233 {
}
instance of movieClip 233 {
onClipEvent (enterFrame) {
if (_root.buttonsover == 0) {
_root.unlockspec = ' ';
}
}
}
button 238 {
on (press) {
_root.singleplayer = false;
if (_root.singleplayer == false) {
_root.tempcharacter = _root.character;
_root.character = _root.character2;
_root.character2 = _root.tempcharacter;
}
_root.gotoAndPlay('gameplay');
}
}
button 242 {
on (press) {
_root.singleplayer = false;
if (_root.singleplayer == false) {
_root.tempcharacter = _root.character;
_root.character = _root.character2;
_root.character2 = _root.tempcharacter;
}
_root.computerstupidity = 25;
_root.computerplayer = true;
_root.gotoAndPlay('gameplay');
}
}
button 245 {
on (press) {
_root.singleplayer = false;
if (_root.singleplayer == false) {
_root.tempcharacter = _root.character;
_root.character = _root.character2;
_root.character2 = _root.tempcharacter;
}
_root.computerstupidity = 10;
_root.computerplayer = true;
_root.gotoAndPlay('gameplay');
}
}
button 248 {
on (press) {
_root.singleplayer = false;
if (_root.singleplayer == false) {
_root.tempcharacter = _root.character;
_root.character = _root.character2;
_root.character2 = _root.tempcharacter;
}
_root.computerstupidity = 1;
_root.computerplayer = true;
_root.gotoAndPlay('gameplay');
}
}
// unknown tag 88 length 66
button 260 {
on (press) {
nextFrame();
}
}
button 265 {
on (press) {
prevFrame();
}
}
movieClip 266 {
frame 1 {
if (_root.musicison) {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
frame 2 {
stop();
_root.musicison = true;
_root.savegame();
}
frame 3 {
_root.musicison = false;
_root.savegame();
}
}
movieClip 267 {
}
button 274 {
on (press) {
gotoAndStop(4);
}
}
button 278 {
on (press) {
gotoAndStop(3);
}
}
button 283 {
on (press) {
gotoAndStop(2);
}
}
movieClip 285 {
frame 1 {
if (_root.q == 1) {
gotoAndStop(2);
}
if (_root.q == 2) {
gotoAndStop(3);
}
if (_root.q == 3) {
gotoAndStop(4);
}
}
frame 2 {
stop();
_root.q = 1;
_root.savegame();
}
frame 3 {
_root.q = 2;
_root.savegame();
}
frame 4 {
_root.q = 3;
_root.savegame();
}
}
movieClip 286 {
}
button 295 {
on (press) {
getURL('http://person333.newgrounds.com', '_blank');
}
}
button 299 {
on (press) {
getURL('http://www.newgrounds.com/audio/listen/331534', '_blank');
}
}
button 303 {
on (press) {
getURL('http://www.newgrounds.com/audio/listen/386490', '_blank');
}
}
button 307 {
on (press) {
getURL('http://www.newgrounds.com/audio/listen/334445', '_blank');
}
}
movieClip 309 {
}
button 312 {
on (press) {
if (_root.character2 == 'regular') {
this.gotoAndPlay(2);
} else {
_root.character = 'regular';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Man';
}
}
button 315 {
on (press) {
if (_root.character2 == 'girl') {
this.gotoAndPlay(2);
} else {
_root.character = 'girl';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Woman';
}
}
button 317 {
on (rollOver) {
_root.unlockspec = 'Fall 100 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 320 {
on (press) {
if (_root.character2 == 'fancyman') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'fancyman';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Fancy man';
}
}
movieClip 321 {
frame 1 {
if (_root.charactersunlocked >= 1) {
nextFrame();
}
stop();
}
}
button 323 {
on (rollOver) {
_root.unlockspec = 'Fall 200 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 326 {
on (press) {
if (_root.character2 == 'pimpsuit') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'pimpsuit';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Purple suit';
}
}
movieClip 327 {
frame 1 {
if (_root.charactersunlocked >= 2) {
nextFrame();
}
stop();
}
}
button 329 {
on (rollOver) {
_root.unlockspec = 'Fall 300 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 331 {
on (press) {
if (_root.character2 == 'pirate') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'pirate';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Pirate';
}
}
movieClip 332 {
frame 1 {
if (_root.charactersunlocked >= 3) {
nextFrame();
}
stop();
}
}
button 334 {
on (rollOver) {
_root.unlockspec = 'Fall 400 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 337 {
on (press) {
if (_root.character2 == 'ninja') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'ninja';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Ninja';
}
}
movieClip 338 {
frame 1 {
if (_root.charactersunlocked >= 4) {
nextFrame();
}
stop();
}
}
button 340 {
on (rollOver) {
_root.unlockspec = 'Fall 500 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 343 {
on (press) {
if (_root.character2 == 'soldier') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'soldier';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Soldier';
}
}
movieClip 344 {
frame 1 {
if (_root.charactersunlocked >= 5) {
nextFrame();
}
stop();
}
}
button 346 {
on (rollOver) {
_root.unlockspec = 'Fall 600 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 348 {
on (press) {
if (_root.character2 == 'santa') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'santa';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Santa';
}
}
movieClip 349 {
frame 1 {
if (_root.charactersunlocked >= 6) {
nextFrame();
}
stop();
}
}
button 351 {
on (rollOver) {
_root.unlockspec = 'Fall 700 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 353 {
on (press) {
if (_root.character2 == 'naked') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'naked';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Streaker';
}
}
movieClip 354 {
frame 1 {
if (_root.charactersunlocked >= 7) {
nextFrame();
}
stop();
}
}
button 356 {
on (rollOver) {
_root.unlockspec = 'Fall 800 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 359 {
on (press) {
if (_root.character2 == 'pacman') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'pacman';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Yellow man';
}
}
movieClip 360 {
frame 1 {
if (_root.charactersunlocked >= 8) {
nextFrame();
}
stop();
}
}
button 362 {
on (rollOver) {
_root.unlockspec = 'Fall 900 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 365 {
on (press) {
if (_root.character2 == 'skeleton') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'skeleton';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Skeleton';
}
}
movieClip 366 {
frame 1 {
if (_root.charactersunlocked >= 9) {
nextFrame();
}
stop();
}
}
button 368 {
on (rollOver) {
_root.unlockspec = 'Fall 1000 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 370 {
on (press) {
if (_root.character2 == 'robot') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'robot';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Robot';
}
}
movieClip 371 {
frame 1 {
if (_root.charactersunlocked >= 10) {
nextFrame();
}
stop();
}
}
button 373 {
on (rollOver) {
_root.unlockspec = 'Fall 1050 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 376 {
on (press) {
if (_root.character2 == 'chicken') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'chicken';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Chicken';
}
}
movieClip 377 {
frame 1 {
if (_root.charactersunlocked >= 11) {
nextFrame();
}
stop();
}
}
button 379 {
on (rollOver) {
_root.unlockspec = 'Fall 1100 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 382 {
on (press) {
if (_root.character2 == 'hazmat') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'hazmat';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Hazmat suit';
}
}
movieClip 383 {
frame 1 {
if (_root.charactersunlocked >= 12) {
nextFrame();
}
stop();
}
}
button 385 {
on (rollOver) {
_root.unlockspec = 'Fall 1150 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 388 {
on (press) {
if (_root.character2 == 'bearsuit') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'bearsuit';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Bear';
}
}
movieClip 389 {
frame 1 {
if (_root.charactersunlocked >= 13) {
nextFrame();
}
stop();
}
}
button 391 {
on (rollOver) {
_root.unlockspec = 'Fall 1200 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 394 {
on (press) {
if (_root.character2 == 'cloak') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'cloak';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Cloak';
}
}
movieClip 395 {
frame 1 {
if (_root.charactersunlocked >= 14) {
nextFrame();
}
stop();
}
}
button 397 {
on (rollOver) {
_root.unlockspec = 'Fall 1250 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 400 {
on (press) {
if (_root.character2 == 'pumpkinman') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'pumpkinman';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Pumpkinman';
}
}
movieClip 401 {
frame 1 {
if (_root.charactersunlocked >= 15) {
nextFrame();
}
stop();
}
}
button 403 {
on (rollOver) {
_root.unlockspec = 'Fall 1400 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 406 {
on (press) {
if (_root.character2 == 'dinosaur') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'dinosaur';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Dinosaur';
}
}
movieClip 407 {
frame 1 {
if (_root.charactersunlocked >= 18) {
nextFrame();
}
stop();
}
}
button 409 {
on (rollOver) {
_root.unlockspec = 'Fall 1300 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 412 {
on (press) {
if (_root.character2 == 'bunny') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'bunny';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'bunny';
}
}
movieClip 413 {
frame 1 {
if (_root.charactersunlocked >= 16) {
nextFrame();
}
stop();
}
}
button 415 {
on (rollOver) {
_root.unlockspec = 'Fall 1350 metres to unlock';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 418 {
on (press) {
if (_root.character2 == 'knight') {
_parent.gotoAndPlay(2);
} else {
_root.character = 'knight';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Man';
}
}
movieClip 419 {
frame 1 {
if (_root.charactersunlocked >= 17) {
nextFrame();
}
stop();
}
}
movieClip 420 {
}
movieClip 422 {
}
movieClip 423 {
frame 1 {
stop();
}
}
movieClip 426 {
}
movieClip 428 {
}
movieClip 549 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 5 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 11 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 13 {
gotoAndPlay(1);
}
frame 18 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 24 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 26 {
gotoAndPlay(1);
}
frame 31 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 37 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 39 {
gotoAndPlay(1);
}
frame 44 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 50 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 52 {
gotoAndPlay(1);
}
frame 57 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 63 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 65 {
gotoAndPlay(1);
}
frame 70 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 76 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 78 {
gotoAndPlay(1);
}
frame 83 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 89 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 91 {
gotoAndPlay(1);
}
frame 96 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 102 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 104 {
gotoAndPlay(1);
}
frame 109 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 115 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 117 {
gotoAndPlay(1);
}
frame 122 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 128 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 130 {
gotoAndPlay(1);
}
frame 135 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 141 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 143 {
gotoAndPlay(1);
}
frame 148 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 154 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 156 {
gotoAndPlay(1);
}
frame 161 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 167 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 169 {
gotoAndPlay(1);
}
frame 174 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 180 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 182 {
gotoAndPlay(1);
}
frame 187 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 193 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 195 {
gotoAndPlay(1);
}
frame 200 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 206 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 208 {
gotoAndPlay(1);
}
frame 213 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 219 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 221 {
gotoAndPlay(1);
}
frame 226 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 232 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 234 {
gotoAndPlay(1);
}
frame 239 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 245 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 247 {
gotoAndPlay(1);
}
frame 252 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 258 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 260 {
gotoAndPlay(1);
}
}
movieClip 570 {
frame 1 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._x = _root.man._x - 10;
_root['newmovie' + _root.dupecount]._xscale = 100;
} else {
_root['newmovie' + _root.dupecount]._x = _root.man._x + 10;
_root['newmovie' + _root.dupecount]._xscale = -100;
}
gotoAndPlay(_root.character);
}
frame 3 {
gotoAndPlay(1);
}
frame 6 {
gotoAndPlay(1);
}
frame 9 {
gotoAndPlay(1);
}
frame 12 {
gotoAndPlay(1);
}
frame 15 {
gotoAndPlay(1);
}
frame 18 {
gotoAndPlay(1);
}
frame 21 {
gotoAndPlay(1);
}
frame 24 {
gotoAndPlay(1);
}
frame 27 {
gotoAndPlay(1);
}
frame 30 {
gotoAndPlay(1);
}
frame 33 {
gotoAndPlay(1);
}
frame 36 {
gotoAndPlay(1);
}
frame 39 {
gotoAndPlay(1);
}
frame 42 {
gotoAndPlay(1);
}
frame 45 {
gotoAndPlay(1);
}
frame 48 {
gotoAndPlay(1);
}
frame 51 {
gotoAndPlay(1);
}
frame 54 {
gotoAndPlay(1);
}
frame 57 {
gotoAndPlay(1);
}
frame 60 {
gotoAndPlay(1);
}
}
movieClip 571 {
}
movieClip 572 {
}
movieClip 574 {
}
movieClip 575 {
frame 10 {
stop();
}
}
button 578 {
on (rollOver) {
_root.unlockspec = 'Fall 1000 metres to unlock the Race game mode';
}
on (rollOver) {
_root.buttonsover = 1;
}
on (rollOut) {
_root.buttonsover = 0;
}
}
button 582 {
on (press) {
_root.gotoAndStop('customise2');
}
}
movieClip 583 {
frame 1 {
if (_root.charactersunlocked >= 10) {
nextFrame();
}
stop();
}
}
instance of movieClip 233 {
onClipEvent (enterFrame) {
if (_root.buttonsover == 0) {
_root.unlockspec = ' ';
}
}
}
button 584 {
on (press) {
if (_root.character == 'regular') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'regular';
}
}
on (rollOver) {
_root.characterdisplay = 'Man';
}
}
button 585 {
on (press) {
if (_root.character == 'fancyman') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'fancyman';
}
}
on (rollOver) {
_root.characterdisplay = 'Fancy man';
}
}
button 586 {
on (press) {
if (_root.character == 'santa') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'santa';
}
}
on (rollOver) {
_root.characterdisplay = 'Santa';
}
}
button 587 {
on (press) {
if (_root.character == 'ninja') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'ninja';
}
}
on (rollOver) {
_root.characterdisplay = 'Ninja';
}
}
button 588 {
on (press) {
if (_root.character == 'naked') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'naked';
}
}
on (rollOver) {
_root.characterdisplay = 'Streaker';
}
}
button 589 {
on (press) {
if (_root.character == 'robot') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'robot';
}
}
on (rollOver) {
_root.characterdisplay = 'Robot';
}
}
button 590 {
on (press) {
if (_root.character == 'pacman') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'pacman';
}
}
on (rollOver) {
_root.characterdisplay = 'Yellow man';
}
}
button 591 {
on (press) {
if (_root.character == 'pirate') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'pirate';
}
}
on (rollOver) {
_root.characterdisplay = 'Pirate';
}
}
button 592 {
on (press) {
if (_root.character == 'girl') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'girl';
}
}
on (rollOver) {
_root.characterdisplay = 'Woman';
}
}
button 593 {
on (press) {
if (_root.character == 'soldier') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'soldier';
}
}
on (rollOver) {
_root.characterdisplay = 'Soldier';
}
}
button 594 {
on (press) {
if (_root.character == 'skeleton') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'skeleton';
}
}
on (rollOver) {
_root.characterdisplay = 'Skeleton';
}
}
button 595 {
on (press) {
if (_root.character == 'pimpsuit') {
this.gotoAndPlay(2);
} else {
_root.character2 = 'pimpsuit';
}
}
on (rollOver) {
_root.characterdisplay = 'Purple suit';
}
}
button 597 {
on (press) {
if (_root.character == 'chicken') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'chicken';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Chicken';
}
}
movieClip 598 {
frame 1 {
if (_root.charactersunlocked >= 11) {
nextFrame();
}
stop();
}
}
button 600 {
on (press) {
if (_root.character == 'hazmat') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'hazmat';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Hazmat suit';
}
}
movieClip 601 {
frame 1 {
if (_root.charactersunlocked >= 12) {
nextFrame();
}
stop();
}
}
button 603 {
on (press) {
if (_root.character == 'bearsuit') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'bearsuit';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Bear';
}
}
movieClip 604 {
frame 1 {
if (_root.charactersunlocked >= 13) {
nextFrame();
}
stop();
}
}
button 606 {
on (press) {
if (_root.character == 'cloak') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'cloak';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Cloak';
}
}
movieClip 607 {
frame 1 {
if (_root.charactersunlocked >= 14) {
nextFrame();
}
stop();
}
}
button 609 {
on (press) {
if (_root.character == 'pumpkinman') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'pumpkinman';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Pumpkinman';
}
}
movieClip 610 {
frame 1 {
if (_root.charactersunlocked >= 15) {
nextFrame();
}
stop();
}
}
button 612 {
on (press) {
if (_root.character == 'dinosaur') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'dinosaur';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Dinosaur';
}
}
movieClip 613 {
frame 1 {
if (_root.charactersunlocked >= 18) {
nextFrame();
}
stop();
}
}
button 615 {
on (press) {
if (_root.character == 'bunny') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'bunny';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'bunny';
}
}
movieClip 616 {
frame 1 {
if (_root.charactersunlocked >= 16) {
nextFrame();
}
stop();
}
}
button 618 {
on (press) {
if (_root.character == 'knight') {
_parent.gotoAndPlay(2);
} else {
_root.character2 = 'knight';
}
}
on (rollOver) {
_root.unlockspec = ' ';
_root.characterdisplay = 'Man';
}
}
movieClip 619 {
frame 1 {
if (_root.charactersunlocked >= 17) {
nextFrame();
}
stop();
}
}
movieClip 620 {
frame 1 {
stop();
}
}
movieClip 630 {
frame 1 {
gotoAndStop(_root.character2);
stop();
}
}
movieClip 668 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 17 {
gotoAndPlay(1);
}
frame 34 {
gotoAndPlay(1);
}
frame 51 {
gotoAndPlay(1);
}
frame 68 {
gotoAndPlay(1);
}
frame 85 {
gotoAndPlay(1);
}
frame 102 {
gotoAndPlay(1);
}
frame 119 {
gotoAndPlay(1);
}
frame 136 {
gotoAndPlay(1);
}
frame 153 {
gotoAndPlay(1);
}
frame 170 {
gotoAndPlay(1);
}
frame 187 {
gotoAndPlay(1);
}
frame 204 {
gotoAndPlay(1);
}
frame 221 {
gotoAndPlay(1);
}
frame 238 {
gotoAndPlay(1);
}
frame 255 {
gotoAndPlay(1);
}
frame 272 {
gotoAndPlay(1);
}
frame 289 {
gotoAndPlay(1);
}
frame 306 {
gotoAndPlay(1);
}
frame 323 {
gotoAndPlay(1);
}
}
movieClip 757 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 5 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 11 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 13 {
gotoAndPlay(1);
}
frame 18 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 24 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 26 {
gotoAndPlay(1);
}
frame 31 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 37 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 39 {
gotoAndPlay(1);
}
frame 44 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 50 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 52 {
gotoAndPlay(1);
}
frame 57 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 63 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 65 {
gotoAndPlay(1);
}
frame 70 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 76 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 78 {
gotoAndPlay(1);
}
frame 83 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 89 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 91 {
gotoAndPlay(1);
}
frame 96 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 102 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 104 {
gotoAndPlay(1);
}
frame 109 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 115 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 117 {
gotoAndPlay(1);
}
frame 122 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 128 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 130 {
gotoAndPlay(1);
}
frame 135 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 141 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 143 {
gotoAndPlay(1);
}
frame 148 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 154 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 156 {
gotoAndPlay(1);
}
frame 161 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 167 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 169 {
gotoAndPlay(1);
}
frame 174 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 180 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 182 {
gotoAndPlay(1);
}
frame 187 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 193 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 195 {
gotoAndPlay(1);
}
frame 200 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 206 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 208 {
gotoAndPlay(1);
}
frame 213 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 219 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 221 {
gotoAndPlay(1);
}
frame 226 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 232 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
frame 234 {
gotoAndPlay(1);
}
}
movieClip 775 {
frame 1 {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir2 == 1) {
_root['newmovie' + _root.dupecount]._x = _root.dude._x - 10;
_root['newmovie' + _root.dupecount]._xscale = 100;
} else {
_root['newmovie' + _root.dupecount]._x = _root.dude._x + 10;
_root['newmovie' + _root.dupecount]._xscale = -100;
}
gotoAndPlay(_root.character2);
}
frame 3 {
gotoAndPlay(1);
}
frame 6 {
gotoAndPlay(1);
}
frame 9 {
gotoAndPlay(1);
}
frame 12 {
gotoAndPlay(1);
}
frame 15 {
gotoAndPlay(1);
}
frame 18 {
gotoAndPlay(1);
}
frame 21 {
gotoAndPlay(1);
}
frame 24 {
gotoAndPlay(1);
}
frame 27 {
gotoAndPlay(1);
}
frame 30 {
gotoAndPlay(1);
}
frame 33 {
gotoAndPlay(1);
}
frame 36 {
gotoAndPlay(1);
}
frame 39 {
gotoAndPlay(1);
}
frame 42 {
gotoAndPlay(1);
}
frame 45 {
gotoAndPlay(1);
}
frame 48 {
gotoAndPlay(1);
}
frame 51 {
gotoAndPlay(1);
}
frame 54 {
gotoAndPlay(1);
}
}
movieClip 776 {
}
movieClip 777 {
}
button 780 {
on (press) {
_root.gotoAndStop('customise');
}
}
movieClip 782 {
}
movieClip 783 {
frame 10 {
stop();
}
}
frame 11 {
var characterArray = new Array('regular', 'fancyman', 'santa', 'ninja', 'naked', 'robot', 'pacman', 'dinosaur', 'pirate', 'soldier', 'chicken', 'pumpkinman', 'bearsuit', 'cloak', 'hazmat');
}
frame 11 {
_root.menumusic.stop();
if (_root.q == 1) {
_root._quality = 'high';
}
if (_root.q == 2) {
_root._quality = 'medium';
}
if (_root.q == 3) {
_root._quality = 'low';
}
_root.pausetimer3 = _root.menumusic.position;
if (_root.singleplayer) {
_root.riseup = 'played ' + _root.character;
_root.mainmusic.start(0, 1000);
} else {
_root.riseup = 'played ' + _root.character2;
_root.racemusic.start(_root.pausetimer2 / 1000, 1000);
}
mochi.as2.MochiEvents.trackEvent(_root.riseup);
var nosound = false;
var raisedplatform = false;
_root.fader.gotoAndPlay(1);
var showsmoke = true;
var threshold1 = 0;
var threshold2 = 0;
var threshold3 = 410;
var threshold4 = 590;
var threshold5 = 750;
var windelay = 30;
var gamehasbeenwon = false;
var gameoverpoped = false;
var wintext = ' ';
var abletoscroll = true;
var platformspassed = 0;
var platformsmax = 20;
var playerleft = false;
var playerright = false;
var playerup = false;
var playerdown = false;
var gamestarted = false;
var nextplatform = 4;
var classicgame = false;
var platformspeed = 0;
var jumptype2 = 1;
var jumptype = 1;
var harder = 1;
var falling = true;
var rawdistance = 0;
var falldistance = 0;
var falltext = 'score';
var computerplayer2 = false;
var computergrounded = false;
var computerenergy = 0;
var computertimer = 0;
var dir2 = 0;
var computerroll = 100;
var computerlanded = false;
var computerleft = false;
var computerright = false;
var computerup = false;
var hitawall = 0;
var platframes = 6;
var dupecount = 50;
var dead = false;
var costume = 14;
stop();
n = 0;
offset = getTimer();
n += 1;
time = getTimer();
this.fpstext = 1 / ((time - offset) / 1000);
_root.tex = time / 1000;
offset = time;
}
frame 11 {
function submitscore() {
mochi.as2.MochiScores.showLeaderboard({'boardID': '6d3eaafbad3148ff', 'score': _root.falldistance, 'onClose': function () {}});
trace('scoresubmitted');
}
function viewscores() {
mochi.as2.MochiScores.showLeaderboard({'boardID': '6d3eaafbad3148ff', 'onClose': function () {}});
}
}
instance bgart of movieClip 94 {
onClipEvent (enterFrame) {
_x = 142;
if (this._y <= -4167) {
this._y = -3422;
}
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
_y = _y - _root.man.grav / 6;
} else {
_y = _y - _root.dude.grav / 6;
}
}
if (_root.abletoscroll) {
_y = _y - _root.platformspeed / 6;
}
}
}
}
movieClip 790 {
}
movieClip 795 {
}
instance of movieClip 795 {
onClipEvent (enterFrame) {
_x = 142;
_y = _root.bgart._y + 1132;
if (_y <= -350 and _y >= -360) {
_root.redglow.play();
}
}
}
movieClip 797 {
}
movieClip 798 {
frame 1 {
stop();
}
frame 510 {
stop();
}
}
movieClip 846 {
frame 1 {
meh = new Array(2, 27, 52, 77, 102, 124);
gotoAndPlay(meh[random(6)]);
if (_root.showsmoke == false) {
this.gotoAndPlay(26);
}
}
frame 26 {
this.removeMovieClip();
stop();
}
frame 51 {
this.removeMovieClip();
stop();
}
frame 76 {
this.removeMovieClip();
stop();
}
frame 101 {
this.removeMovieClip();
stop();
}
frame 123 {
this.removeMovieClip();
stop();
}
frame 148 {
this.removeMovieClip();
stop();
}
}
instance smoke of movieClip 846 {
onClipEvent (load) {
_y = _y - 5;
}
onClipEvent (enterFrame) {
if (_root.gamepaused) {
this.stop();
} else {
this.play();
_y = _y - (_root.platformspeed + 0.5);
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
}
if (_root.dead or _root.gamestarted == false) {
this.removeMovieClip();
}
}
}
movieClip 853 {
frame 1 {
if (_root.showsmoke == false) {
this.gotoAndPlay(101);
}
}
frame 19 {
this.removeMovieClip();
stop();
}
}
instance smoke2 of movieClip 853 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamestarted == false) {
this.removeMovieClip();
}
if (_root.gamepaused) {
this.stop();
} else {
this.play();
_y = _y - (_root.platformspeed + 0.5);
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
}
}
}
movieClip 855 {
}
movieClip 857 {
}
movieClip 859 {
}
movieClip 861 {
}
movieClip 863 {
}
movieClip 865 {
}
movieClip 867 {
}
movieClip 869 {
}
movieClip 871 {
}
movieClip 873 {
}
movieClip 875 {
}
movieClip 877 {
}
movieClip 879 {
}
movieClip 881 {
}
movieClip 883 {
}
movieClip 885 {
}
movieClip 887 {
}
movieClip 889 {
}
movieClip 891 {
}
movieClip 893 {
}
movieClip 895 {
}
movieClip 897 {
}
movieClip 899 {
}
movieClip 901 {
}
movieClip 903 {
}
movieClip 905 {
}
movieClip 907 {
}
movieClip 909 {
}
movieClip 911 {
}
movieClip 913 {
}
movieClip 915 {
}
movieClip 917 {
}
movieClip 919 {
}
movieClip 921 {
}
movieClip 923 {
}
movieClip 925 {
}
movieClip 927 {
}
movieClip 929 {
}
movieClip 931 {
}
movieClip 945 {
}
movieClip 947 {
}
movieClip 949 {
}
movieClip 951 {
}
movieClip 952 {
frame 1 {
stop();
}
frame 7 {
stop();
}
frame 13 {
stop();
}
frame 19 {
stop();
}
frame 25 {
stop();
}
frame 31 {
stop();
}
}
instance ground1 of movieClip 952 {
onClipEvent (load) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
_x = Math.random() * 400;
}
onClipEvent (enterFrame) {
function resetplace() {
++_root.platformspassed;
if (_root.classicgame == false) {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * _root.platframes));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * _root.platframes));
}
}
}
}
}
} else {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * 2));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * 2));
}
}
}
}
}
}
_x = Math.random() * 400;
}
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
if (_y <= -150) {
_y = _root.ground5._y + 150;
resetplace();
}
if (_root.abletoscroll) {
_root.plat = _y;
_y = _y - _root.platformspeed;
}
}
}
}
instance ground2 of movieClip 952 {
onClipEvent (load) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
_x = Math.random() * 400;
}
onClipEvent (enterFrame) {
function resetplace() {
++_root.platformspassed;
if (_root.classicgame == false) {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * _root.platframes));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * _root.platframes));
}
}
}
}
}
} else {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * 2));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * 2));
}
}
}
}
}
}
_x = Math.random() * 400;
}
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
if (_y <= -150) {
_y = _root.ground1._y + 150;
resetplace();
}
if (_root.abletoscroll) {
_root.plat = _y;
_y = _y - _root.platformspeed;
}
}
}
}
instance ground3 of movieClip 952 {
onClipEvent (load) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
_x = Math.random() * 400;
}
onClipEvent (enterFrame) {
function resetplace() {
++_root.platformspassed;
if (_root.classicgame == false) {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * _root.platframes));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * _root.platframes));
}
}
}
}
}
} else {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * 2));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * 2));
}
}
}
}
}
}
_x = Math.random() * 400;
}
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
if (_y <= -150) {
_y = _root.ground2._y + 150;
resetplace();
}
if (_root.abletoscroll) {
_root.plat = _y;
_y = _y - _root.platformspeed;
}
}
if (_root.singleplayer == false) {
if (_root.platformspassed >= _root.platformsmax) {
_x = 200;
this.gotoAndStop(40);
if (_y <= 480 and _y >= 100) {
_root.platformspeed = 0;
_root.abletoscroll = false;
}
if (_root.gamehasbeenwon == false) {
if (this.hitTest(_root.man._x, _root.man._y, true)) {
_root.bigsplat._alpha = 0;
_root.nosound = true;
_root.bigsplat.gotoAndStop(80);
_root.wintext = 'Player 2 wins!';
_root.gamehasbeenwon = true;
}
if (this.hitTest(_root.dude._x, _root.dude._y, true)) {
_root.bigsplat._alpha = 0;
_root.nosound = true;
_root.bigsplat.gotoAndStop(80);
_root.wintext = 'Player 1 wins!';
_root.gamehasbeenwon = true;
}
} else {
--_root.windelay;
if (_root.windelay <= 0) {
if (_root.gameoverpoped == false) {
_root.dead = true;
_root.gameoverer.gotoAndPlay(30);
_root.bigsplat.gotoAndStop(80);
_root.nosound = true;
_root.gameoverpoped = true;
}
}
}
}
}
}
}
instance ground4 of movieClip 952 {
onClipEvent (load) {
++_root.platformspassed;
this.gotoAndStop(22);
_x = 300;
}
onClipEvent (enterFrame) {
function resetplace() {
++_root.platformspassed;
if (_root.classicgame == false) {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * _root.platframes));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * _root.platframes));
}
}
}
}
}
} else {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * 2));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * 2));
}
}
}
}
}
}
_x = Math.random() * 400;
}
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
if (_y <= -150) {
_y = _root.ground3._y + 150;
resetplace();
}
if (_root.abletoscroll) {
_root.plat = _y;
_y = _y - _root.platformspeed;
}
}
}
}
instance ground5 of movieClip 952 {
onClipEvent (load) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
_x = Math.random() * 400;
}
onClipEvent (enterFrame) {
function resetplace() {
++_root.platformspassed;
if (_root.classicgame == false) {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * _root.platframes));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * _root.platframes));
}
}
}
}
}
} else {
if (_root.falldistance >= _root.threshold5) {
this.gotoAndStop(1 + Math.floor(Math.random() * _root.platframes));
} else {
if (_root.falldistance >= _root.threshold4) {
this.gotoAndStop(1 + _root.platframes + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold3) {
this.gotoAndStop(1 + _root.platframes * 2 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold2) {
this.gotoAndStop(1 + _root.platframes * 3 + Math.floor(Math.random() * 2));
} else {
if (_root.falldistance >= _root.threshold1) {
this.gotoAndStop(1 + _root.platframes * 4 + Math.floor(Math.random() * 2));
} else {
this.gotoAndStop(1 + _root.platframes * 5 + Math.floor(Math.random() * 2));
}
}
}
}
}
}
_x = Math.random() * 400;
}
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
if (_y <= -150) {
_y = _root.ground4._y + 150;
resetplace();
}
if (_root.abletoscroll) {
_root.plat = _y;
_y = _y - _root.platformspeed;
}
}
}
}
movieClip 954 {
}
movieClip 1090 {
}
movieClip 1173 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 16 {
this.gotoAndPlay(1);
}
frame 32 {
this.gotoAndPlay(1);
}
frame 48 {
this.gotoAndPlay(1);
}
frame 64 {
this.gotoAndPlay(1);
}
frame 80 {
this.gotoAndPlay(1);
}
frame 96 {
this.gotoAndPlay(1);
}
frame 112 {
this.gotoAndPlay(1);
}
frame 128 {
this.gotoAndPlay(1);
}
frame 144 {
this.gotoAndPlay(1);
}
frame 160 {
this.gotoAndPlay(1);
}
frame 176 {
this.gotoAndPlay(1);
}
frame 192 {
this.gotoAndPlay(1);
}
frame 208 {
this.gotoAndPlay(1);
}
frame 224 {
this.gotoAndPlay(1);
}
frame 240 {
this.gotoAndPlay(1);
}
frame 256 {
this.gotoAndPlay(1);
}
frame 272 {
this.gotoAndPlay(1);
}
frame 288 {
this.gotoAndPlay(1);
}
frame 304 {
this.gotoAndPlay(1);
}
frame 320 {
this.gotoAndPlay(1);
}
}
movieClip 1250 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 26 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 52 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 78 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 104 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 130 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 156 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 182 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 208 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 234 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 260 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 286 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 312 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 338 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 364 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 390 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 416 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 442 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 468 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 494 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 520 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 1338 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 30 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 60 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 90 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 120 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 150 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 180 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 210 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 240 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 270 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 300 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 330 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 360 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 390 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 420 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 450 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 480 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 510 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 540 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 570 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 600 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 1359 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 5 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 15 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 20 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 25 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 30 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 35 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 40 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 45 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 50 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 55 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 60 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 65 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 70 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 75 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 80 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 85 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 90 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 95 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 100 {
stop();
}
instance of movieClip 1173 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 1382 {
frame 1 {
gotoAndStop(_root.character);
stop();
}
}
movieClip 1478 {
frame 1 {
gotoAndPlay(_root.character);
}
frame 2 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 4 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 5 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 6 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 7 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 8 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 9 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 11 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 13 {
stop();
_root.man.rolling = false;
}
frame 13 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 15 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 17 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 18 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 19 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 20 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 21 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 22 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 24 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 26 {
stop();
_root.man.rolling = false;
}
frame 26 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 28 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 30 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 31 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 32 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 33 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 34 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 35 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 37 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 39 {
stop();
_root.man.rolling = false;
}
frame 39 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 41 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 43 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 44 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 45 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 46 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 47 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 48 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 50 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 52 {
stop();
_root.man.rolling = false;
}
frame 52 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 54 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 56 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 57 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 58 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 59 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 60 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 61 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 63 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 65 {
stop();
_root.man.rolling = false;
}
frame 65 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 67 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 69 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 70 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 71 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 72 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 73 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 74 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 76 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 78 {
stop();
_root.man.rolling = false;
}
frame 78 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 80 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 82 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 83 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 84 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 85 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 86 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 87 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 89 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 91 {
stop();
_root.man.rolling = false;
}
frame 91 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 93 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 95 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 96 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 97 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 98 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 99 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 100 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 102 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 104 {
stop();
_root.man.rolling = false;
}
frame 104 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 106 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 108 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 109 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 110 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 111 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 112 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 113 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 115 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 117 {
stop();
_root.man.rolling = false;
}
frame 117 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 119 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 121 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 122 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 123 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 124 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 125 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 126 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 128 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 130 {
stop();
_root.man.rolling = false;
}
frame 130 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 132 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 134 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 135 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 136 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 137 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 138 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 139 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 141 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 143 {
stop();
_root.man.rolling = false;
}
frame 143 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 145 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 147 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 148 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 149 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 150 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 151 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 152 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 154 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 156 {
stop();
_root.man.rolling = false;
}
frame 156 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 158 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 160 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 161 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 162 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 163 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 164 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 165 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 167 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 169 {
stop();
_root.man.rolling = false;
}
frame 169 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 171 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 173 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 174 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 175 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 176 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 177 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 178 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 180 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 182 {
stop();
_root.man.rolling = false;
}
frame 182 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 184 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 186 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 187 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 188 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 189 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 190 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 191 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 193 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 195 {
stop();
_root.man.rolling = false;
}
frame 195 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 197 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 199 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 200 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 201 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 202 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 203 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 204 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 206 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 208 {
stop();
_root.man.rolling = false;
}
frame 208 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 210 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 212 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 213 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 214 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 215 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 216 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 217 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 219 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 221 {
stop();
_root.man.rolling = false;
}
frame 221 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 223 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 225 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 226 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 227 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 228 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 229 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 230 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 232 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 234 {
stop();
_root.man.rolling = false;
}
frame 234 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 236 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 238 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 239 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 240 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 241 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 242 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 243 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 245 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 247 {
stop();
_root.man.rolling = false;
}
frame 247 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 249 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 251 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 252 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 253 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 254 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 255 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 256 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 258 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 260 {
stop();
_root.man.rolling = false;
}
frame 260 {
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.man._x;
_root['newmovie' + _root.dupecount]._y = _root.man._y + 10;
if (_root.man.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
}
movieClip 1486 {
frame 1 {
if (_root.nosound == false) {
meh = new Array(2, 3, 4, 5, 6);
gotoAndStop(meh[random(5)]);
}
}
}
movieClip 1493 {
frame 15 {
stop();
}
}
movieClip 1494 {
instance of movieClip 199 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 570 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 549 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1250 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
}
}
}
instance of movieClip 1338 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
}
}
}
instance of movieClip 1359 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
}
}
}
instance of movieClip 1478 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
if (_root.man.dir == 1) {
if (_root.man.speed <= -1.3) {
_root.man.speed += 1.2;
}
} else {
if (_root.man.speed >= 1.3) {
_root.man.speed -= 1.2;
}
}
this.play();
}
}
}
}
instance man of movieClip 1494 {
onClipEvent (load) {
var inair = true;
var airtime = 0;
var rolling = false;
var scale = _xscale;
var jumpHeight;
var rolltimer = 100;
var grav = 0;
var dir = 0;
var gpow = 1.5;
var speed = 0;
var fric = 1;
var acc = 1.5;
var max = 8;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == false) {
if (_root.falling and _y <= 400) {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
if (_root.abletoscroll and _y >= 400 and _root.ground1.hit.hitTest(_x, _y - 10, true) == false and _root.ground2.hit.hitTest(_x, _y - 10, true) == false and _root.ground3.hit.hitTest(_x, _y - 10, true) == false and _root.ground4.hit.hitTest(_x, _y - 10, true) == false and _root.ground5.hit.hitTest(_x, _y - 10, true) == false) {
_root.falling = true;
_y = _y - grav;
} else {
if (_root.singleplayer) {
_root.falling = false;
} else {
if (_root.dude._y <= 400) {
_root.falling = false;
}
}
}
if (_root.dead == false) {
++rolltimer;
_x = _x + speed;
if (grav >= 10) {
grav = 10;
}
if (rolling == false) {
rollallowance = 6;
if (speed <= -max) {
speed = -max;
}
if (speed >= max) {
speed = max;
}
}
if (rolling) {
rollallowance = 8;
this.gotoAndStop(7);
}
if (rolling == false) {
if (_root.playerright and _root.computerplayer == false or _root.computerright and _root.computerplayer) {
dir = 0;
_root.dir = 0;
_xscale = scale;
speed += acc;
if (inair == false) {
this.gotoAndStop(3);
}
} else {
if (_root.playerleft and _root.computerplayer == false or _root.computerleft and _root.computerplayer) {
dir = 1;
_root.dir = 1;
_xscale = -scale;
speed -= acc;
if (inair == false) {
this.gotoAndStop(3);
}
} else {
if (inair == false) {
if (speed == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
if (inair == false) {
if (_root.playerdown and _root.computerplayer == false or _root.computerdown and _root.computerplayer) {
if (rolltimer >= 30) {
rolltimer = 0;
rolling = true;
if (dir == 1) {
speed = -20;
} else {
speed = 20;
}
}
}
if (_root.computerplayer == false) {
if (_root.playerright == false and _root.playerleft == false or _root.playerright and _root.playerleft) {
if (speed >= -1 && speed <= 1) {
speed = 0;
}
if (speed >= 1) {
speed -= fric;
}
if (speed <= -1) {
speed += fric;
}
}
} else {
if (_root.computerright == false and _root.computerleft == false or _root.computerright and _root.computerleft) {
if (speed >= -1 && speed <= 1) {
speed = 0;
}
if (speed >= 1) {
speed -= fric;
}
if (speed <= -1) {
speed += fric;
}
}
}
}
}
jumpHeight = 10 + _root.platformspeed;
if (_root.playerup and _root.computerplayer == false or _root.computerup and _root.computerplayer) {
if (inair == false) {
_y = _y - 15;
grav = -jumpHeight;
if (speed >= -3 && speed <= 3) {
_root.jumptype = 2;
grav = -jumpHeight - 1;
} else {
_root.jumptype = 3;
grav = -jumpHeight;
}
}
}
if (_root.ground1.hit.hitTest(_x, _y + 6, true) == false and _root.ground2.hit.hitTest(_x, _y + 6, true) == false and _root.ground3.hit.hitTest(_x, _y + 6, true) == false and _root.ground4.hit.hitTest(_x, _y + 6, true) == false and _root.ground5.hit.hitTest(_x, _y + 6, true) == false) {
if (rolling == false) {
if (_root.jumptype == 1) {
this.gotoAndStop(4);
} else {
if (_root.jumptype == 2) {
this.gotoAndStop(5);
} else {
if (_root.jumptype == 3) {
this.gotoAndStop(6);
}
}
}
}
inair = true;
} else {
if (airtime >= 5) {
rolltimer = 100;
++_root.dupecount;
duplicateMovieClip(_root.smoke2, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._y = _root.man._y + 2;
_root['newmovie' + _root.dupecount]._x = _root.man._x;
}
airtime = 0;
inair = false;
}
grav += gpow;
_y = _y + grav;
while (_root.ground1.hit.hitTest(_x, _y, true) or _root.ground2.hit.hitTest(_x, _y, true) or _root.ground3.hit.hitTest(_x, _y, true) or _root.ground4.hit.hitTest(_x, _y, true) or _root.ground5.hit.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
_root.jumptype = 1;
}
if (_root.ground1.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground1.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground1.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground1.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground1.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground2.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground2.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground2.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground2.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground2.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground3.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground3.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground3.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground3.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground3.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground4.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground4.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground4.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground4.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground4.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground5.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground5.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground5.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground5.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground5.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (inair == false) {
_y = _y - _root.platformspeed;
} else {
++airtime;
}
}
if (_root.gamestarted) {
while (_x <= 10) {
speed = 0;
_x = _x + 1;
}
while (_x >= 390) {
speed = 0;
_x = _x - 1;
}
}
if (_y <= 0) {
_root.dead = true;
_root.platformspeed = 0;
this.gotoAndStop(8);
}
}
}
}
movieClip 1496 {
frame 3 {
_root.ground1.resetplace();
_root.ground2.resetplace();
_root.ground3.resetplace();
_root.ground5.resetplace();
stop();
}
}
instance of movieClip 1496 {
onClipEvent (enterFrame) {
if (_root.singleplayer) {
if (Key.isDown(39)) {
_root.playerright = true;
} else {
_root.playerright = false;
}
if (Key.isDown(37)) {
_root.playerleft = true;
} else {
_root.playerleft = false;
}
if (Key.isDown(38)) {
_root.playerup = true;
} else {
_root.playerup = false;
}
if (Key.isDown(40)) {
_root.playerdown = true;
} else {
_root.playerdown = false;
}
} else {
if (Key.isDown(68)) {
_root.playerright = true;
} else {
_root.playerright = false;
}
if (Key.isDown(65)) {
_root.playerleft = true;
} else {
_root.playerleft = false;
}
if (Key.isDown(87)) {
_root.playerup = true;
} else {
_root.playerup = false;
}
if (Key.isDown(83)) {
_root.playerdown = true;
} else {
_root.playerdown = false;
}
}
}
onClipEvent (load) {
_root.computerbutton._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse >= 50) {
_root.computerbutton._visible = false;
} else {
if (_root.gamepaused == false and _root.dead == false) {
_root.computerbutton._visible = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.ground1.raised.hitTest(_root.man._x, _root.man._y, true) or _root.ground2.raised.hitTest(_root.man._x, _root.man._y, true) or _root.ground3.raised.hitTest(_root.man._x, _root.man._y, true) or _root.ground4.raised.hitTest(_root.man._x, _root.man._y, true) or _root.ground5.raised.hitTest(_root.man._x, _root.man._y, true)) {
_root.raisedplatform = true;
} else {
_root.raisedplatform = false;
}
++_root.hitawall;
if (_root.dead) {
_root.but1._x = 48;
_root.but1._y = 330;
_root.but2._x = 176;
_root.but2._y = _root.but1._y;
} else {
_root.but1._x = -200;
_root.but1._y = -200;
_root.but2._x = -200;
_root.but2._y = -200;
}
if (_root.gamestarted) {
if (_root.singleplayer) {
while (_root.man._y >= _root.ruler._y) {
_root.ruler._y += 10;
_root.rawdistance += 0.431111111;
_root.harder += 0.431111111;
}
} else {
while (_root.man._y >= _root.ruler._y or _root.dude._y >= _root.ruler._y) {
_root.ruler._y += 10;
_root.rawdistance += 0.431111111;
_root.harder += 0.431111111;
}
}
} else {
_root.ruler._y = _root.man._y;
}
if (_root.harder >= 100) {
if (_root.singleplayer) {
_root.harder = 0;
_root.levelup.gotoAndPlay(2);
_root.platformspeed += 0.4;
}
}
_root.falldistance = Math.round(_root.rawdistance);
if (_root.falldistance == 1) {
_root.falltext = _root.falldistance + ' Metre';
} else {
_root.falltext = _root.falldistance + ' Metres';
}
}
}
movieClip 1498 {
}
instance of movieClip 1498 {
onClipEvent (load) {
groundx = _root.ground4._x;
}
onClipEvent (enterFrame) {
if (_root.gamehasbeenwon == false) {
if (_root.hitawall <= 10) {
_root.computerup = true;
_root.computerenergy = 0;
_root.computertimer = 0;
_root.hitawall = 100;
} else {
_root.computerup = false;
}
if (_root.computertimer <= 2) {
if (_root.hitawall >= 10) {
--_root.computerenergy;
if (_root.computerenergy <= 0) {
_root.computerroll = random(_root.computerstupidity);
_root.computertimer = _root.computerstupidity / 6;
_root.computerenergy = (100 - _root.computerstupidity + 50) / 5;
}
}
if (_root.man._x <= groundx - _root.computerstupidity / 3) {
_root.computerright = true;
_root.computerleft = false;
} else {
if (_root.man._x >= groundx + _root.computerstupidity / 3) {
_root.computerright = false;
_root.computerleft = true;
} else {
_root.computerright = false;
_root.computerleft = false;
}
}
} else {
_root.computerright = false;
_root.computerleft = false;
}
if (_root.hitawall >= 10 and _root.computergrounded) {
if (_root.computerroll <= 10 and _root.proximity >= 100 and _root.raisedplatform == false) {
_root.computerdown = true;
} else {
_root.computerdown = false;
}
}
_root.proximity = Math.sqrt((_root.man._x - groundx) * (_root.man._x - groundx));
--_root.computertimer;
if (_root.nextplatform == 1) {
if (_root.man._y <= _root.ground1._y + 50 and _root.man._y >= _root.ground1._y + 20) {
_root.nextplatform = 2;
groundx = _root.ground2._x;
}
}
if (_root.nextplatform == 2) {
if (_root.man._y <= _root.ground2._y + 50 and _root.man._y >= _root.ground2._y + 20) {
_root.nextplatform = 3;
groundx = _root.ground3._x;
}
}
if (_root.nextplatform == 3) {
if (_root.man._y <= _root.ground3._y + 50 and _root.man._y >= _root.ground3._y + 20) {
_root.nextplatform = 4;
groundx = _root.ground4._x;
}
}
if (_root.nextplatform == 4) {
if (_root.man._y <= _root.ground4._y + 50 and _root.man._y >= _root.ground4._y + 20) {
_root.nextplatform = 5;
groundx = _root.ground5._x;
}
}
if (_root.nextplatform == 5) {
if (_root.man._y <= _root.ground5._y + 50 and _root.man._y >= _root.ground5._y + 20) {
_root.nextplatform = 1;
groundx = _root.ground1._x;
}
}
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true) or _root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
_root.computergrounded = true;
if (_root.computerlanded == false) {
_root.computerroll = random(_root.computerstupidity);
_root.computerlanded = true;
}
} else {
_root.computergrounded = false;
}
if (_root.ground1.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
_root.dsply = 'HIT PLATFORM 1';
} else {
if (_root.ground2.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
_root.dsply = 'HIT PLATFORM 2';
} else {
if (_root.ground3.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
_root.dsply = 'HIT PLATFORM 3';
} else {
if (_root.ground4.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
_root.dsply = 'HIT PLATFORM 4';
} else {
if (_root.ground5.hit.hitTest(_root.man._x, _root.man._y + 20, true)) {
_root.dsply = 'HIT PLATFORM 5';
} else {
_root.computertimer = _root.computerstupidity / 4;
_root.computerenergy = (100 - _root.computerstupidity + 50) / 5;
_root.computerlanded = false;
_root.dsply = 'NO PLATFORMS HIT';
}
}
}
}
}
} else {
_root.computerup = false;
_root.computerdown = false;
_root.computerleft = false;
_root.computerright = false;
}
}
}
movieClip 1602 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 16 {
this.gotoAndPlay(1);
}
frame 32 {
this.gotoAndPlay(1);
}
frame 48 {
this.gotoAndPlay(1);
}
frame 64 {
this.gotoAndPlay(1);
}
frame 80 {
this.gotoAndPlay(1);
}
frame 96 {
this.gotoAndPlay(1);
}
frame 112 {
this.gotoAndPlay(1);
}
frame 128 {
this.gotoAndPlay(1);
}
frame 144 {
this.gotoAndPlay(1);
}
frame 160 {
this.gotoAndPlay(1);
}
frame 176 {
this.gotoAndPlay(1);
}
frame 192 {
this.gotoAndPlay(1);
}
frame 208 {
this.gotoAndPlay(1);
}
frame 224 {
this.gotoAndPlay(1);
}
frame 240 {
this.gotoAndPlay(1);
}
frame 256 {
this.gotoAndPlay(1);
}
frame 272 {
this.gotoAndPlay(1);
}
frame 288 {
this.gotoAndPlay(1);
}
}
movieClip 1642 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 26 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 52 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 78 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 104 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 130 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 156 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 182 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 208 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 234 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 260 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 286 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 312 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 338 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 364 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 390 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 416 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 442 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 468 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 1691 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 30 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 60 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 90 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 120 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 150 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 180 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 210 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 240 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 270 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 300 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 330 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 360 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 390 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 420 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 450 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 480 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 510 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 540 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 1698 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 5 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 10 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 15 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 20 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 25 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 30 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 35 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 40 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 45 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 50 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 55 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 60 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 65 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 70 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 75 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 80 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 85 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
frame 90 {
stop();
}
instance of movieClip 1602 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 1717 {
frame 1 {
gotoAndStop(_root.character2);
stop();
}
}
movieClip 1742 {
frame 1 {
gotoAndPlay(_root.character2);
}
frame 2 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 4 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 5 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 6 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 7 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 8 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 9 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 11 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 13 {
stop();
_root.dude.rolling = false;
}
frame 13 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 15 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 17 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 18 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 19 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 20 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 21 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 22 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 24 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 26 {
stop();
_root.dude.rolling = false;
}
frame 26 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 28 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 30 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 31 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 32 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 33 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 34 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 35 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 37 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 39 {
stop();
_root.dude.rolling = false;
}
frame 39 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 41 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 43 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 44 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 45 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 46 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 47 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 48 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 50 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 52 {
stop();
_root.dude.rolling = false;
}
frame 52 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 54 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 56 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 57 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 58 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 59 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 60 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 61 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 63 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 65 {
stop();
_root.dude.rolling = false;
}
frame 65 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 67 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 69 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 70 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 71 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 72 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 73 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 74 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 76 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 78 {
stop();
_root.dude.rolling = false;
}
frame 78 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 80 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 82 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 83 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 84 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 85 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 86 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 87 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 89 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 91 {
stop();
_root.dude.rolling = false;
}
frame 91 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 93 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 95 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 96 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 97 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 98 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 99 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 100 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 102 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 104 {
stop();
_root.dude.rolling = false;
}
frame 104 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 106 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 108 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 109 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 110 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 111 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 112 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 113 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 115 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 117 {
stop();
_root.dude.rolling = false;
}
frame 117 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 119 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 121 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 122 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 123 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 124 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 125 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 126 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 128 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 130 {
stop();
_root.dude.rolling = false;
}
frame 130 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 132 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 134 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 135 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 136 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 137 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 138 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 139 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 141 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 143 {
stop();
_root.dude.rolling = false;
}
frame 143 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 145 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 147 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 148 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 149 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 150 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 151 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 152 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 154 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 156 {
stop();
_root.dude.rolling = false;
}
frame 156 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 158 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 160 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 161 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 162 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 163 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 164 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 165 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 167 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 169 {
stop();
_root.dude.rolling = false;
}
frame 169 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 171 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 173 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 174 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 175 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 176 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 177 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 178 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 180 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 182 {
stop();
_root.dude.rolling = false;
}
frame 182 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 184 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 186 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 187 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 188 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 189 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 190 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 191 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 193 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 195 {
stop();
_root.dude.rolling = false;
}
frame 195 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 197 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 199 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 200 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 201 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 202 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 203 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 204 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 206 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 208 {
stop();
_root.dude.rolling = false;
}
frame 208 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 210 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 212 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 213 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 214 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 215 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 216 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 217 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 219 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 221 {
stop();
_root.dude.rolling = false;
}
frame 221 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 223 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 225 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 226 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 227 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 228 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 229 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 230 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 232 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
frame 234 {
stop();
_root.dude.rolling = false;
}
frame 234 {
if (_root.ground1.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground2.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground3.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground4.hit.hitTest(_root.dude._x, _root.dude._y + 20, true) or _root.ground5.hit.hitTest(_root.dude._x, _root.dude._y + 20, true)) {
++_root.dupecount;
duplicateMovieClip(_root.smoke, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 10;
if (_root.dude.dir == 1) {
_root['newmovie' + _root.dupecount]._xscale = -100;
} else {
_root['newmovie' + _root.dupecount]._xscale = 100;
}
}
}
}
movieClip 1743 {
instance of movieClip 668 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 775 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 757 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1642 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
}
}
}
instance of movieClip 1691 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
}
}
}
instance of movieClip 1698 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
}
}
}
instance of movieClip 1742 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused) {
this.stop();
} else {
if (_root.dude.dir2 == 1) {
if (_root.dude.speed <= -1.3) {
_root.dude.speed += 1.2;
}
} else {
if (_root.dude.speed >= 1.3) {
_root.dude.speed -= 1.2;
}
}
this.play();
}
}
}
}
instance dude of movieClip 1743 {
onClipEvent (load) {
var inair = true;
var airtime = 0;
var rolling = false;
var scale = _xscale;
var jumpHeight;
var rolltimer = 100;
var grav = 0;
var dir2 = 0;
var gpow = 1.5;
var speed = 0;
var fric = 1;
var acc = 1.5;
var max = 8;
}
onClipEvent (enterFrame) {
if (_root.singleplayer) {
this.gotoAndStop(1);
_visible = false;
_x = 200;
_y = 300;
} else {
if (_root.gamepaused == false) {
if (_root.falling and _y <= 400) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
}
if (_root.abletoscroll and _y >= 400 and _root.ground1.hit.hitTest(_x, _y - 10, true) == false and _root.ground2.hit.hitTest(_x, _y - 10, true) == false and _root.ground3.hit.hitTest(_x, _y - 10, true) == false and _root.ground4.hit.hitTest(_x, _y - 10, true) == false and _root.ground5.hit.hitTest(_x, _y - 10, true) == false) {
_root.falling = true;
_y = _y - grav;
} else {
if (_root.singleplayer) {
_root.falling = false;
} else {
if (_root.man._y <= 400) {
_root.falling = false;
}
}
}
if (_root.dead == false) {
++rolltimer;
_x = _x + speed;
if (grav >= 10) {
grav = 10;
}
if (rolling == false) {
rollallowance = 6;
if (speed <= -max) {
speed = -max;
}
if (speed >= max) {
speed = max;
}
}
if (rolling) {
rollallowance = 8;
this.gotoAndStop(7);
}
if (rolling == false) {
if (Key.isDown(39) and _root.computerplayer2 == false or _root.computerright and _root.computerplayer2) {
dir2 = 0;
_root.dir2 = 0;
_xscale = scale;
speed += acc;
if (inair == false) {
this.gotoAndStop(3);
}
} else {
if (Key.isDown(37) and _root.computerplayer2 == false or _root.computerleft and _root.computerplayer2) {
dir2 = 1;
_root.dir2 = 1;
_xscale = -scale;
speed -= acc;
if (inair == false) {
this.gotoAndStop(3);
}
} else {
if (inair == false) {
if (speed == 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
if (inair == false) {
if (Key.isDown(40) and _root.computerplayer2 == false or _root.computerdown and _root.computerplayer2) {
if (rolltimer >= 30) {
rolltimer = 0;
rolling = true;
if (dir2 == 1) {
speed = -20;
} else {
speed = 20;
}
}
}
if (_root.computerplayer2 == false) {
if (Key.isDown(39) == false and Key.isDown(37) == false or Key.isDown(39) and Key.isDown(37)) {
if (speed >= -1 && speed <= 1) {
speed = 0;
}
if (speed >= 1) {
speed -= fric;
}
if (speed <= -1) {
speed += fric;
}
}
} else {
if (_root.computerright == false and _root.computerleft == false or _root.computerright and _root.computerleft) {
if (speed >= -1 && speed <= 1) {
speed = 0;
}
if (speed >= 1) {
speed -= fric;
}
if (speed <= -1) {
speed += fric;
}
}
}
}
jumpHeight = 10 + _root.platformspeed;
if (Key.isDown(38) and inair == false) {
_y = _y - 15;
grav = -jumpHeight;
if (speed >= -3 && speed <= 3) {
_root.jumptype2 = 2;
grav = -jumpHeight - 1;
} else {
_root.jumptype2 = 3;
grav = -jumpHeight;
}
}
}
if (_root.ground1.hit.hitTest(_x, _y + 3, true) == false and _root.ground2.hit.hitTest(_x, _y + 3, true) == false and _root.ground3.hit.hitTest(_x, _y + 3, true) == false and _root.ground4.hit.hitTest(_x, _y + 3, true) == false and _root.ground5.hit.hitTest(_x, _y + 3, true) == false) {
if (rolling == false) {
if (_root.jumptype2 == 1) {
this.gotoAndStop(4);
} else {
if (_root.jumptype2 == 2) {
this.gotoAndStop(5);
} else {
if (_root.jumptype2 == 3) {
this.gotoAndStop(6);
}
}
}
}
inair = true;
} else {
if (airtime >= 5) {
if (_root.singleplayer == false) {
rolltimer = 100;
++_root.dupecount;
duplicateMovieClip(_root.smoke2, 'newmovie' + _root.dupecount, _root.dupecount);
_root['newmovie' + _root.dupecount]._y = _root.dude._y + 2;
_root['newmovie' + _root.dupecount]._x = _root.dude._x;
}
}
airtime = 0;
inair = false;
}
grav += gpow;
_y = _y + grav;
while (_root.ground1.hit.hitTest(_x, _y, true) or _root.ground2.hit.hitTest(_x, _y, true) or _root.ground3.hit.hitTest(_x, _y, true) or _root.ground4.hit.hitTest(_x, _y, true) or _root.ground5.hit.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
_root.jumptype2 = 1;
}
if (_root.ground1.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground1.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground1.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground1.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground1.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground2.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground2.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground2.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground2.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground2.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground3.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground3.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground3.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground3.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground3.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground4.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground4.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground4.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground4.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground4.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (_root.ground5.hit.hitTest(_x, _y - 2 - _height + 10, true)) {
_y = _y + 5;
grav = 1;
} else {
for (;;) {
if (!(_root.ground5.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - _height / 2, true) || _root.ground5.hit.hitTest(_x + rollallowance + _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x - 1;
speed = 0;
}
for (;;) {
if (!(_root.ground5.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - _height / 2, true) || _root.ground5.hit.hitTest(_x - rollallowance - _width / 2, _y - 2 - (_height / 6) * 4, true))) break;
_root.hitawall = 0;
_x = _x + 1;
speed = 0;
}
}
if (inair == false) {
_y = _y - _root.platformspeed;
} else {
++airtime;
}
}
if (_root.gamestarted) {
while (_x <= 10) {
speed = 0;
_x = _x + 1;
}
while (_x >= 390) {
speed = 0;
_x = _x - 1;
}
}
if (_y <= 0) {
_root.dead = true;
_root.platformspeed = 0;
this.gotoAndStop(8);
}
}
}
}
}
movieClip 1745 {
}
movieClip 1747 {
}
movieClip 1749 {
}
movieClip 1750 {
}
movieClip 1761 {
frame 32 {
stop();
}
}
movieClip 1762 {
frame 1 {
_root.man._x = -50;
_root.dude._x = -50;
}
frame 3 {
_root.man._x = -50;
_root.dude._x = -50;
}
frame 5 {
_root.man._x = -50;
_root.dude._x = -50;
}
frame 7 {
_root.man._x = -50;
_root.dude._x = -50;
}
instance of movieClip 1761 {
onClipEvent (enterFrame) {
if (_root.character == 'ninja' or _root.character2 == 'ninja') {
_y = _y - 1.3;
_visible = true;
} else {
_visible = false;
}
}
}
frame 9 {
_root.man._x = -50;
_root.dude._x = -50;
}
frame 11 {
_root.man._x = -50;
_root.dude._x = -50;
}
frame 13 {
_root.man._x = -50;
_root.dude._x = -50;
}
frame 15 {
if (_root.character == 'ninja') {
_root.man.speed = 0;
_root.man._x = 100;
_root.man._y = 350;
_root.man.grav = 0;
_root.jumptype = 3;
} else {
_root.man.speed = 8;
_root.man._x = -10;
_root.man._y -= 15;
_root.man.grav = -15;
_root.jumptype = 3;
}
}
frame 18 {
if (_root.character2 == 'ninja') {
_root.dude.speed = 0;
_root.dude._x = 100;
_root.dude._y = 350;
_root.dude.grav = 0;
_root.jumptype2 = 3;
} else {
_root.dude.speed = 8;
_root.dude._x = -10;
_root.dude._y -= 15;
_root.dude.grav = -15;
_root.jumptype2 = 3;
}
}
frame 23 {
_root.platformspeed = 0.25;
}
frame 30 {
_root.platformspeed = 0.5;
}
frame 35 {
_root.gamestarted = true;
}
frame 37 {
_root.platformspeed = 0.75;
}
frame 44 {
_root.platformspeed = 1;
}
frame 51 {
_root.platformspeed = 1.25;
}
frame 58 {
_root.platformspeed = 1.5;
}
frame 65 {
_root.platformspeed = 1.75;
}
frame 72 {
_root.platformspeed = 2;
}
frame 79 {
_root.platformspeed = 2.25;
}
frame 86 {
_root.platformspeed = 2.5;
}
frame 93 {
_root.platformspeed = 2.75;
}
frame 100 {
_root.platformspeed = 3;
}
frame 101 {
stop();
}
}
movieClip 1767 {
}
movieClip 1768 {
frame 21 {
gotoAndPlay(1);
}
frame 22 {
stop();
}
}
instance of movieClip 1768 {
onClipEvent (enterFrame) {
if (_root.dead or _root.gamepaused or dead) {
this.stop();
this.burd.stop();
} else {
this.play();
this.burd.play();
}
}
onClipEvent (load) {
spd = 10;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
if (_root.ground1.hit.hitTest(_x, _y + 15, true) or _root.ground2.hit.hitTest(_x, _y + 15, true) or _root.ground3.hit.hitTest(_x, _y + 15, true) or _root.ground4.hit.hitTest(_x + 15, _y, true) or _root.ground5.hit.hitTest(_x, _y + 15, true)) {
if (_root.falling) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
}
_y = _y - _root.platformspeed;
grounded = true;
} else {
grounded = false;
}
if (dead == false and _root.dead == false) {
if (_root.man.dir == 1) {
lol = 20;
} else {
lol = -20;
}
if (_root.character == 'pirate') {
if (_y <= 15) {
dead = true;
_xscale = 100;
this.gotoAndStop('dead');
}
if (_root.man._x >= _x) {
_xscale = 100;
} else {
_xscale = -100;
}
_root.yChange = Math.round(_root.man._y - 50 - this._y);
_root.xChange = Math.round(_root.man._x + lol - this._x);
_root.yMove = Math.round(_root.yChange / spd);
_root.xMove = Math.round(_root.xChange / spd);
if (_root.xMove >= 10) {
_root.xMove = 10;
}
if (_root.yMove >= 15) {
_root.yMove = 15;
}
if (grounded == false) {
this._y += _root.yMove;
}
this._x += _root.xMove;
} else {
if (_root.character2 == 'pirate') {
if (_y <= 15) {
dead = true;
_xscale = 100;
this.gotoAndStop('dead');
}
if (_root.dude._x >= _x) {
_xscale = 100;
} else {
_xscale = -100;
}
_root.yChange = Math.round(_root.dude._y - 50 - this._y);
_root.xChange = Math.round(_root.dude._x + lol - this._x);
_root.yMove = Math.round(_root.yChange / spd);
_root.xMove = Math.round(_root.xChange / spd);
if (_root.xMove >= 10) {
_root.xMove = 10;
}
if (_root.yMove >= 15) {
_root.yMove = 15;
}
if (grounded == false) {
this._y += _root.yMove;
}
this._x += _root.xMove;
} else {
this.gotoAndStop(1);
this.burd.gotoAndStop(1);
_x = -100;
_y = -1000;
}
}
}
}
}
}
movieClip 1769 {
}
movieClip 1771 {
}
instance of movieClip 1771 {
onClipEvent (enterFrame) {
if (_root.wintext == ' ') {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 1789 {
}
instance of movieClip 1789 {
onClipEvent (enterFrame) {
_visible = true;
}
}
movieClip 1791 {
}
instance ruler of movieClip 1791 {
onClipEvent (enterFrame) {
_visible = false;
if (_root.gamepaused == false) {
if (_root.falling) {
if (_root.man.grav >= _root.dude.grav) {
if (_root.man.grav >= 0) {
_y = _y - _root.man.grav;
}
} else {
if (_root.dude.grav >= 0) {
_y = _y - _root.dude.grav;
}
}
}
_y = _y - _root.platformspeed;
}
}
}
movieClip 1793 {
}
movieClip 1805 {
frame 16 {
stop();
}
}
movieClip 1807 {
}
movieClip 1813 {
frame 16 {
stop();
}
}
movieClip 1814 {
frame 1 {
stop();
}
instance of movieClip 1793 {
onClipEvent (enterFrame) {
if (_root.dead) {
_parent.play();
}
}
}
frame 2 {
if (this._alpha <= 50) {
this.gotoAndStop(1);
}
}
frame 80 {
stop();
}
}
instance bigsplat of movieClip 1814 {
onClipEvent (enterFrame) {
if (_root.dead == false) {
if (_root.man._y >= _root.dude._y) {
_x = _root.dude._x;
} else {
_x = _root.man._x;
}
} else {
if (_root.singleplayer == false) {
if (_root.man._y < _root.dude._y) {
if (_root.gamehasbeenwon == false) {
_root.wintext = 'Player 1 wins!';
_root.gamehasbeenwon = true;
}
} else {
if (_root.gamehasbeenwon == false) {
_root.wintext = 'Player 2 wins!';
_root.gamehasbeenwon = true;
}
}
}
}
}
}
movieClip 1817 {
}
movieClip 1818 {
frame 1 {
stop();
}
frame 35 {
stop();
}
}
instance levelup of movieClip 1818 {
onClipEvent (enterFrame) {
this.swapDepths(_root.dupecount + 100);
}
}
movieClip 1821 {
}
instance blackbars of movieClip 1821 {
onClipEvent (enterFrame) {
this.swapDepths(_root.dupecount + 150);
}
}
movieClip 1824 {
}
movieClip 1826 {
}
button 1831 {
on (press) {
_root.gotoAndPlay('restart');
}
}
button 1835 {
on (press) {
_root.gotoAndPlay('gomenu');
}
}
button 1839 {
on (press) {
_root.viewscores();
}
}
button 1843 {
on (press) {
_root.submitscore();
nextFrame();
}
}
movieClip 1844 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1845 {
}
movieClip 1846 {
frame 1 {
if (_root.singleplayer) {
textboxdisplay = 'you fell ' + _root.falltext;
} else {
textboxdisplay = _root.wintext;
_root.wintext = ' ';
}
}
instance of movieClip 1845 {
onClipEvent (enterFrame) {
if (_root.singleplayer) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
}
movieClip 1847 {
frame 1 {
stop();
}
instance of movieClip 1824 {
onClipEvent (enterFrame) {
if (_root.dead) {
_parent.play();
}
}
}
frame 2 {
_root.mainmusic.stop();
_root.pausetimer = _root.mainmusic.position;
_root.racemusic.stop();
_root.pausetimer2 = _root.racemusic.position;
}
frame 32 {
_root.mainmusic.stop();
_root.pausetimer = _root.mainmusic.position;
_root.racemusic.stop();
_root.pausetimer2 = _root.racemusic.position;
_root._quality = 'high';
}
frame 37 {
stop();
}
}
instance gameoverer of movieClip 1847 {
onClipEvent (enterFrame) {
this.swapDepths(_root.dupecount + 250);
}
}
button 1852 {
on (keyPress '<Space>') {
if (_root.dead == false) {
if (_root.gamehasbeenwon == false) {
this.play();
}
}
}
}
button 1855 {
on (press) {
if (_root.dead == false) {
_parent.play();
}
}
}
movieClip 1857 {
}
button 1860 {
on (keyPress '<Space>') {
if (_root.dead == false) {
this.play();
}
}
}
movieClip 1861 {
frame 1 {
_root.gamepaused = false;
}
frame 31 {
stop();
}
frame 32 {
_root.gamepaused = true;
_root.mainmusic.stop();
_root.pausetimer = _root.mainmusic.position;
_root.racemusic.stop();
_root.pausetimer2 = _root.racemusic.position;
_root._quality = 'high';
}
frame 37 {
stop();
}
frame 38 {
if (_root.singleplayer) {
_root.mainmusic.start(_root.pausetimer / 1000, 1000);
} else {
_root.racemusic.start(_root.pausetimer2 / 1000, 1000);
}
if (_root.q == 1) {
_root._quality = 'high';
}
if (_root.q == 2) {
_root._quality = 'medium';
}
if (_root.q == 3) {
_root._quality = 'low';
}
}
}
instance pauser of movieClip 1861 {
onClipEvent (enterFrame) {
this.swapDepths(_root.dupecount + 200);
}
}
button 1866 {
on (press) {
if (_root.computerplayer) {
_root.computerplayer = false;
} else {
_root.computerplayer = true;
}
}
}
movieClip 1869 {
}
movieClip 1870 {
frame 1 {
stop();
}
frame 2 {
_root.savegame();
}
}
instance of movieClip 1870 {
onClipEvent (enterFrame) {
this.swapDepths(_root.dupecount + 120);
if (_root.charactersunlocked == 0) {
if (_root.falldistance >= 100) {
_root.charactersunlocked = 1;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 1) {
if (_root.falldistance >= 200) {
_root.charactersunlocked = 2;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 2) {
if (_root.falldistance >= 300) {
_root.charactersunlocked = 3;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 3) {
if (_root.falldistance >= 400) {
_root.charactersunlocked = 4;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 4) {
if (_root.falldistance >= 500) {
_root.charactersunlocked = 5;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 5) {
if (_root.falldistance >= 600) {
_root.charactersunlocked = 6;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 6) {
if (_root.falldistance >= 700) {
_root.charactersunlocked = 7;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 7) {
if (_root.falldistance >= 800) {
_root.charactersunlocked = 8;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 8) {
if (_root.falldistance >= 900) {
_root.charactersunlocked = 9;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 9) {
if (_root.falldistance >= 1000) {
_root.charactersunlocked = 10;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 10) {
if (_root.falldistance >= 1050) {
_root.charactersunlocked = 11;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 11) {
if (_root.falldistance >= 1100) {
_root.charactersunlocked = 12;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 12) {
if (_root.falldistance >= 1150) {
_root.charactersunlocked = 13;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 13) {
if (_root.falldistance >= 1200) {
_root.charactersunlocked = 14;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 14) {
if (_root.falldistance >= 1250) {
_root.charactersunlocked = 15;
this.gotoAndPlay(2);
}
} else {
if (_root.charactersunlocked == 15) {
if (_root.falldistance >= 1300) {
_root.charactersunlocked = 16;
this.gotoAndPlay(2);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 1873 {
}
movieClip 1874 {
frame 1 {
stop();
}
frame 2 {
_root.savegame();
}
}
instance of movieClip 1874 {
onClipEvent (enterFrame) {
this.swapDepths(_root.dupecount + 130);
if (_root.racemodelocked) {
if (_root.falldistance >= 1000) {
_root.racemodelocked = false;
this.gotoAndPlay(2);
}
}
}
}
frame 12 {
_root.pauser.removeMovieClip();
_root.gameoverer.removeMovieClip();
_root.blackbars.removeMovieClip();
_root.man.removeMovieClip();
_root.gamestarted = false;
_root.prevFrame();
}
frame 13 {
_root.pauser.removeMovieClip();
_root.gameoverer.removeMovieClip();
_root.blackbars.removeMovieClip();
_root.man.removeMovieClip();
_root.gamestarted = false;
_root.gotoAndPlay('main');
}
movieClip 1877 {
}
movieClip 1879 {
}
movieClip 1881 {
}
movieClip 1883 {
}
movieClip 1885 {
}
movieClip 1887 {
}
movieClip 1889 {
}
movieClip 1891 {
}
movieClip 1893 {
}
movieClip 1895 {
}
movieClip 1897 {
}
movieClip 1898 {
}
movieClip 1900 {
}
movieClip 1902 {
}
movieClip 1904 {
}
movieClip 1907 {
}
movieClip 1908 {
frame 1 {
more_btn.onRelease = function () {
getURL('http://www.funny-games.biz/main.html', '_blank');
};
}
frame 200 {
_root.gotoAndStop('logo');
}
}