Frame 1
suaraaktif = 1;
stop();
bisamasuk = 0;
warna = [16711680, 52224, 16776960, 16711935, 13311, 16777215, 3355443];
fscommand ("allowscale", false);
fscommand ("Fullscreen", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
var MochiAd = {getVersion:function () {
return("1.5");
}, showPreloaderAd:function (options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = MochiAd._parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = MochiAd._getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}, showTimedAd:function (options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = MochiAd._parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = MochiAd._getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}, _allowDomains:function (server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}, _loadCommunicator:function (options) {
var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, _local25);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!MochiAd._isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
MochiAd._allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local24 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local24);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb) {
cb = parseInt(cb);
var _local4 = this._callbacks[cb];
if (!_local4) {
return(undefined);
}
delete this._callbacks[cb];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}, fetchHighScores:function (options, callbackObj, callbackMethod) {
var _local1 = MochiAd._loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}, sendHighScore:function (options, callbackObj, callbackMethod) {
var _local1 = MochiAd._loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}, load:function (options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var _local7 = options.clip;
if (!MochiAd._isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = MochiAd._getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = MochiAd._allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}, unload:function (clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}, _isNetworkAvailable:function () {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}, _getRes:function (options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}, _parseOptions:function (options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}, _:null};
MochiAd.showPreloaderAd({id:"fd6eb612da31e10e", res:"550x400"});
Frame 4
gotoAndPlay ("cover");
Instance of Symbol 53 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (10);
}
Frame 6
stop();
Instance of Symbol 52 MovieClip in Frame 6
onClipEvent (load) {
gotoAndStop (10);
}
Instance of Symbol 79 MovieClip in Frame 6
onClipEvent (load) {
warnahelm = _root.warna[3];
warnabaju = _root.warna[3];
warnacelana = _root.warna[1];
stop();
}
Instance of Symbol 52 MovieClip in Frame 6
onClipEvent (load) {
stop();
}
Instance of Symbol 79 MovieClip in Frame 6
onClipEvent (load) {
warnahelm = _root.warna[0];
warnabaju = _root.warna[0];
warnacelana = _root.warna[4];
stop();
}
Frame 10
stop();
jeniskuda = 0;
nama = "";
umur = 0;
power = 0;
kecepatan = 0;
stamina = 0;
tanggal = 1;
bulan = 1;
tahun = 0;
makanan = 10;
uang = 4900;
hargabeli = 0;
wh = 0;
wb = 0;
wc = 4;
ikut = 0;
menang = 0;
racerating = 7;
hargakuda = [4000, 7000, 10000, 15000, 25000, 30000, 40000, 50000, 65000, 75000, 87500, 100000];
belijenis = [1, 3, 4, 5, 6, 7, 8, 9, 10, 4, 6, 2];
belikecepatan = [7, 7, 8, 8, 9, 9, 8, 10, 10, 12, 12, 13];
belistamina = [0.2, 0.2, 0.25, 0.25, 0.3, 0.5, 0.2, 0.15, 0.12, 0.2, 0.25, 0.3];
belipower = [50, 60, 70, 60, 65, 80, 70, 70, 75, 75, 70, 75];
warnahelm = warna[wh];
warnabaju = warna[wb];
warnacelana = warna[wc];
hadiah1 = 1000;
hadiah2 = 1000;
hadiah3 = 1000;
sg = SharedObject.getLocal("horseranch");
nama = sg.data.nama;
if (nama == undefined) {
nama = "";
loadbut.enabled = false;
loadbut._alpha = 50;
}
stopAllSounds();
if (suaraaktif == 1) {
bgsound = new Sound();
bgsound.attachSound("bgsound");
bgsound.start(0, 9999);
}
Frame 15
stop();
Frame 20
stop();
sg = SharedObject.getLocal("horseranch");
nama = sg.data.nama;
jeniskuda = sg.data.jeniskuda;
umur = sg.data.umur;
power = sg.data.power;
kecepatan = sg.data.kecepatan;
stamina = sg.data.stamina;
tanggal = sg.data.tanggal;
bulan = sg.data.bulan;
tahun = sg.data.tahun;
makanan = sg.data.makanan;
uang = sg.data.uang;
hargabeli = sg.data.hargabeli;
wh = sg.data.wh;
wb = sg.data.wb;
wc = sg.data.wc;
ikut = sg.data.ikut;
menang = sg.data.menang;
Instance of Symbol 136 MovieClip in Frame 20
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
Instance of Symbol 145 MovieClip in Frame 20
onClipEvent (load) {
if (_root.power == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.power / 20));
}
}
onClipEvent (enterFrame) {
if (_root.power == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.power / 20));
}
}
Instance of Symbol 145 MovieClip in Frame 20
onClipEvent (load) {
if (_root.kecepatan == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.kecepatan / 3));
}
}
onClipEvent (enterFrame) {
if (_root.kecepatan == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.kecepatan / 3));
}
}
Instance of Symbol 145 MovieClip in Frame 20
onClipEvent (load) {
if (_root.stamina == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.stamina * 10));
}
}
onClipEvent (enterFrame) {
if (_root.stamina == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.stamina * 10));
}
}
Frame 25
stop();
poin = Math.round(((menang / ikut) * 200) + (uang / 1000));
Frame 31
stop();
aktif = 1;
Instance of Symbol 202 MovieClip in Frame 31
onClipEvent (load) {
langkah = 0;
if (_root.jeniskuda == 0) {
_visible = 0;
} else {
_visible = 1;
}
}
onClipEvent (enterFrame) {
if (_root.jeniskuda == 0) {
_visible = 0;
} else {
_visible = 1;
}
if ((random(200) == 34) and (_currentframe != 4)) {
gotoAndStop (2);
}
if ((random(200) == 56) and (_currentframe != 4)) {
gotoAndStop (1);
}
if ((random(200) == 70) and (_currentframe != 4)) {
gotoAndStop (3);
}
if ((random(200) == 60) and (_currentframe != 4)) {
gotoAndStop (4);
}
if ((random(200) == 40) and (_currentframe == 4)) {
gotoAndStop (5);
}
if (_currentframe == 3) {
langkah++;
if (langkah > 3) {
langkah = 0;
if (_xscale > 0) {
_x = (_x - 10);
if (_x < 100) {
_xscale = (-_xscale);
}
} else {
_x = (_x + 10);
if (_x > 450) {
_xscale = (-_xscale);
}
}
}
}
}
Instance of Symbol 145 MovieClip in Frame 31
onClipEvent (load) {
if (_root.power == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.power / 20));
}
}
onClipEvent (enterFrame) {
if (_root.power == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.power / 20));
}
}
Instance of Symbol 145 MovieClip in Frame 31
onClipEvent (load) {
if (_root.kecepatan == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.kecepatan / 3));
}
}
onClipEvent (enterFrame) {
if (_root.kecepatan == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.kecepatan / 3));
}
}
Instance of Symbol 145 MovieClip in Frame 31
onClipEvent (load) {
if (_root.stamina == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.stamina * 10));
}
}
onClipEvent (enterFrame) {
if (_root.stamina == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.stamina * 10));
}
}
Instance of Symbol 99 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.bisamasuk == 0) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 346 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
play();
if (_currentframe == 59) {
if (_root.jeniskuda > 0) {
_root.makanan = _root.makanan - 1;
if (_root.makanan < 0) {
_root.makanan = 0;
_root.makananhabis.play();
_root.power = _root.power - (random(3) + 1);
if (_root.power <= 0) {
_root.power = 0;
_root.kudamati.play();
}
}
}
_root.tanggal++;
if ((_root.tanggal == 7) and (_root.jeniskuda > 0)) {
_root.horserace.gotoAndStop(2);
}
if ((_root.tanggal == 15) and (_root.jeniskuda > 0)) {
_root.horserace.gotoAndStop(5);
}
if ((_root.tanggal == 25) and (_root.jeniskuda > 0)) {
_root.horserace.gotoAndStop(10);
}
if (_root.tanggal > 30) {
_root.tanggal = 1;
_root.bulan++;
if (_root.bulan > 12) {
_root.bulan = 1;
_root.umur++;
_root.tahun++;
if (((_root.tanggal == 1) and (_root.bulan == 1)) and (_root.tahun > 0)) {
_root.gotoAndStop("selesai");
}
if (_root.power < 95) {
_root.power = _root.power + random(5);
}
if (_root.kecepatan < 15) {
_root.kecepatan = _root.kecepatan + 1;
}
if (_root.stamina < 0.5) {
_root.power = _root.power + 0.05;
}
}
}
}
} else {
stop();
}
}
Instance of Symbol 352 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (((_root.suaraaktif == 1) and (random(100) == 14)) and (_root.jeniskuda > 0)) {
play();
}
}
Frame 41
stop();
jaraklintasan = 5000;
nopemain = 1 + random(4);
warnahelm = warna[0];
warnabaju = warna[0];
warnacelana = warna[4];
kuda = jeniskuda;
gamemulai = 0;
eenergi = power;
detik = 0;
milidetik = 0;
endrace = 0;
dist = 100;
posisi = 1;
posisifinal = 0;
Instance of Symbol 66 MovieClip "garisfinish" in Frame 41
onClipEvent (load) {
_x = (_root.kuda1._x - _root.jaraklintasan);
}
Instance of Symbol 367 MovieClip "kuda1" in Frame 41
onClipEvent (load) {
helm = _root.warnahelm;
baju = _root.warnabaju;
celana = _root.warnacelana;
jeniskuda = _root.kuda;
energi = _root.power;
energimax = energi;
kec = _root.kecepatan;
kecmax = kec;
recharge = _root.stamina;
kursor._visible = 1;
jarak = 0;
finish = 0;
stop();
}
onClipEvent (enterFrame) {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_root.tanah._x = _root.tanah._x + kec;
if (_root.tanah._x > (1100 - kec)) {
_root.tanah._x = 550;
}
if (_root.iklan.keluar == 1) {
_root.iklan._x = _root.iklan._x + kec;
}
_root.bg._x = _root.bg._x + kec;
if (_root.bg._x > (1100 - kec)) {
_root.bg._x = 550;
}
_root.fg._x = _root.fg._x + kec;
if (_root.fg._x > (1100 - kec)) {
_root.fg._x = 550;
}
if (_root.batasstart._x < 650) {
_root.batasstart._x = _root.batasstart._x + kec;
}
_root.garisfinish._x = _root.garisfinish._x + kec;
jarak = jarak + kec;
_root.dist = (((_root.jaraklintasan - jarak) + 1) / _root.jaraklintasan) * 100;
if (Key.isDown(32) and (slash._currentframe == 1)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (3 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisifinal = _root.posisi;
trace("p1finish posisi " + _root.posisifinal);
_root.endrace = 1;
_root.finish.play();
}
_root.eenergi = energi;
}
}
Instance of Symbol 403 MovieClip in Frame 41
onClipEvent (enterFrame) {
if ((_root.gamemulai == 1) and (_root.endrace == 0)) {
_root.milidetik = _root.milidetik + 5;
if (_root.milidetik > 95) {
_root.milidetik = 0;
_root.detik++;
}
}
}
Frame 46
stop();
Instance of Symbol 425 MovieClip in Frame 46
onClipEvent (load) {
gotoAndStop(_root.posisifinal);
}
Frame 51
stop();
Instance of Symbol 53 MovieClip "kuda" in Frame 51
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
Instance of Symbol 79 MovieClip "joki" in Frame 51
onClipEvent (load) {
warnahelm = _root.warnahelm;
warnabaju = _root.warnabaju;
warnacelana = _root.warnacelana;
stop();
}
onClipEvent (enterFrame) {
warnahelm = _root.warnahelm;
warnabaju = _root.warnabaju;
warnacelana = _root.warnacelana;
}
Frame 61
stop();
nopemain = 1 + random(4);
kuda = jeniskuda;
warnahelmmusuh = [warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)]];
warnabajumusuh = [warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)]];
warnacelanamusuh = [warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)], warna[random(7)]];
kudamusuh = [random(10), random(10), random(10), random(10), random(10), random(10)];
trace(kudamusuh);
powermusuh = [(racerating * 6) + random(10), (racerating * 6) + random(10), (racerating * 6) + random(10), (racerating * 6) + random(10), (racerating * 6) + random(10), (racerating * 6) + random(10)];
kecepatanmusuh = [(racerating + random(2)) - random(3), (racerating + random(2)) - random(3), (racerating + random(2)) - random(3), (racerating + random(2)) - random(3), (racerating + random(2)) - random(3), (racerating + random(2)) - random(3)];
staminamusuh = [racerating / 30, racerating / 30, racerating / 30, racerating / 30, racerating / 30, racerating / 30];
trace(kecepatanmusuh);
gamemulai = 0;
eenergi = power;
detik = 0;
milidetik = 0;
endrace = 0;
dist = 100;
posisi = 1;
posisifinal = 0;
Instance of Symbol 66 MovieClip "garisfinish" in Frame 61
onClipEvent (load) {
_x = (_root.kuda1._x - _root.jaraklintasan);
}
Instance of Symbol 367 MovieClip "kuda1" in Frame 61
onClipEvent (load) {
nokuda = 1;
if (nokuda == _root.nopemain) {
dalamkendali = true;
helm = _root.warnahelm;
baju = _root.warnabaju;
celana = _root.warnacelana;
jeniskuda = _root.kuda;
energi = _root.power;
energimax = energi;
kec = _root.kecepatan;
kecmax = kec;
recharge = _root.stamina;
kursor._visible = 1;
} else {
kursor._visible = 0;
dalamkendali = false;
helm = _root.warnahelmmusuh[nokuda];
baju = _root.warnabajumusuh[nokuda];
celana = _root.warnacelanamusuh[nokuda];
jeniskuda = _root.kudamusuh[nokuda];
energi = _root.powermusuh[nokuda];
energimax = energi;
kec = _root.kecepatanmusuh[nokuda];
kecmax = kec;
trace("computer " + String(nokuda));
recharge = _root.staminamusuh[nokuda];
}
jarak = 0;
finish = 0;
stop();
}
onClipEvent (enterFrame) {
if (dalamkendali) {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_root.tanah._x = _root.tanah._x + kec;
if (_root.tanah._x > (1100 - kec)) {
_root.tanah._x = 550;
}
if (_root.iklan.keluar == 1) {
_root.iklan._x = _root.iklan._x + kec;
}
_root.bg._x = _root.bg._x + kec;
if (_root.bg._x > (1100 - kec)) {
_root.bg._x = 550;
}
_root.fg._x = _root.fg._x + kec;
if (_root.fg._x > (1100 - kec)) {
_root.fg._x = 550;
}
if (_root.batasstart._x < 650) {
_root.batasstart._x = _root.batasstart._x + kec;
}
_root.garisfinish._x = _root.garisfinish._x + kec;
if (nokuda != 1) {
_root.kuda1._x = _root.kuda1._x + kec;
}
if (nokuda != 2) {
_root.kuda2._x = _root.kuda2._x + kec;
}
if (nokuda != 3) {
_root.kuda3._x = _root.kuda3._x + kec;
}
if (nokuda != 4) {
_root.kuda4._x = _root.kuda4._x + kec;
}
if (nokuda != 5) {
_root.kuda5._x = _root.kuda5._x + kec;
}
jarak = jarak + kec;
_root.dist = (((_root.jaraklintasan - jarak) + 1) / _root.jaraklintasan) * 100;
if (Key.isDown(32) and (slash._currentframe == 1)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (3 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisifinal = _root.posisi;
trace("p1finish posisi " + _root.posisifinal);
_root.endrace = 1;
_root.finish.play();
}
_root.eenergi = energi;
}
} else {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_x = (_x - kec);
jarak = jarak + kec;
if ((random(20) == 10) and (kec <= kecmax)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (7 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisi++;
trace(("musuh" + String(nokuda)) + " finish");
}
}
}
}
Instance of Symbol 367 MovieClip "kuda2" in Frame 61
onClipEvent (load) {
nokuda = 2;
if (nokuda == _root.nopemain) {
dalamkendali = true;
helm = _root.warnahelm;
baju = _root.warnabaju;
celana = _root.warnacelana;
jeniskuda = _root.kuda;
energi = _root.power;
energimax = energi;
kec = _root.kecepatan;
kecmax = kec;
recharge = _root.stamina;
kursor._visible = 1;
} else {
kursor._visible = 0;
dalamkendali = false;
helm = _root.warnahelmmusuh[nokuda];
baju = _root.warnabajumusuh[nokuda];
celana = _root.warnacelanamusuh[nokuda];
jeniskuda = _root.kudamusuh[nokuda];
energi = _root.powermusuh[nokuda];
energimax = energi;
kec = _root.kecepatanmusuh[nokuda];
kecmax = kec;
recharge = _root.staminamusuh[nokuda];
trace("computer " + String(nokuda));
}
jarak = 0;
finish = 0;
stop();
}
onClipEvent (enterFrame) {
if (dalamkendali) {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_root.tanah._x = _root.tanah._x + kec;
if (_root.tanah._x > (1100 - kec)) {
_root.tanah._x = 550;
}
if (_root.iklan.keluar == 1) {
_root.iklan._x = _root.iklan._x + kec;
}
_root.bg._x = _root.bg._x + kec;
if (_root.bg._x > (1100 - kec)) {
_root.bg._x = 550;
}
_root.fg._x = _root.fg._x + kec;
if (_root.fg._x > (1100 - kec)) {
_root.fg._x = 550;
}
if (_root.batasstart._x < 650) {
_root.batasstart._x = _root.batasstart._x + kec;
}
_root.garisfinish._x = _root.garisfinish._x + kec;
if (nokuda != 1) {
_root.kuda1._x = _root.kuda1._x + kec;
}
if (nokuda != 2) {
_root.kuda2._x = _root.kuda2._x + kec;
}
if (nokuda != 3) {
_root.kuda3._x = _root.kuda3._x + kec;
}
if (nokuda != 4) {
_root.kuda4._x = _root.kuda4._x + kec;
}
if (nokuda != 5) {
_root.kuda5._x = _root.kuda5._x + kec;
}
jarak = jarak + kec;
_root.dist = (((_root.jaraklintasan - jarak) + 1) / _root.jaraklintasan) * 100;
if (Key.isDown(32) and (slash._currentframe == 1)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (3 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisifinal = _root.posisi;
trace("p1finish posisi " + _root.posisifinal);
_root.endrace = 1;
_root.finish.play();
}
_root.eenergi = energi;
}
} else {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_x = (_x - kec);
jarak = jarak + kec;
if ((random(20) == 10) and (kec <= kecmax)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (7 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisi++;
trace(("musuh" + String(nokuda)) + " finish");
}
}
}
}
Instance of Symbol 367 MovieClip "kuda3" in Frame 61
onClipEvent (load) {
nokuda = 3;
if (nokuda == _root.nopemain) {
dalamkendali = true;
helm = _root.warnahelm;
baju = _root.warnabaju;
celana = _root.warnacelana;
jeniskuda = _root.kuda;
energi = _root.power;
energimax = energi;
kec = _root.kecepatan;
kecmax = kec;
recharge = _root.stamina;
kursor._visible = 1;
} else {
kursor._visible = 0;
dalamkendali = false;
helm = _root.warnahelmmusuh[nokuda];
baju = _root.warnabajumusuh[nokuda];
celana = _root.warnacelanamusuh[nokuda];
jeniskuda = _root.kudamusuh[nokuda];
energi = _root.powermusuh[nokuda];
energimax = energi;
kec = _root.kecepatanmusuh[nokuda];
kecmax = kec;
trace("computer " + String(nokuda));
recharge = _root.staminamusuh[nokuda];
}
jarak = 0;
finish = 0;
stop();
}
onClipEvent (enterFrame) {
if (dalamkendali) {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_root.tanah._x = _root.tanah._x + kec;
if (_root.tanah._x > (1100 - kec)) {
_root.tanah._x = 550;
}
if (_root.iklan.keluar == 1) {
_root.iklan._x = _root.iklan._x + kec;
}
_root.bg._x = _root.bg._x + kec;
if (_root.bg._x > (1100 - kec)) {
_root.bg._x = 550;
}
_root.fg._x = _root.fg._x + kec;
if (_root.fg._x > (1100 - kec)) {
_root.fg._x = 550;
}
if (_root.batasstart._x < 650) {
_root.batasstart._x = _root.batasstart._x + kec;
}
_root.garisfinish._x = _root.garisfinish._x + kec;
if (nokuda != 1) {
_root.kuda1._x = _root.kuda1._x + kec;
}
if (nokuda != 2) {
_root.kuda2._x = _root.kuda2._x + kec;
}
if (nokuda != 3) {
_root.kuda3._x = _root.kuda3._x + kec;
}
if (nokuda != 4) {
_root.kuda4._x = _root.kuda4._x + kec;
}
if (nokuda != 5) {
_root.kuda5._x = _root.kuda5._x + kec;
}
jarak = jarak + kec;
_root.dist = (((_root.jaraklintasan - jarak) + 1) / _root.jaraklintasan) * 100;
if (Key.isDown(32) and (slash._currentframe == 1)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (3 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisifinal = _root.posisi;
trace("p1finish posisi " + _root.posisifinal);
_root.endrace = 1;
_root.finish.play();
}
_root.eenergi = energi;
}
} else {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_x = (_x - kec);
jarak = jarak + kec;
if ((random(20) == 10) and (kec <= kecmax)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (7 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisi++;
trace(("musuh" + String(nokuda)) + " finish");
}
}
}
}
Instance of Symbol 367 MovieClip "kuda4" in Frame 61
onClipEvent (load) {
nokuda = 4;
if (nokuda == _root.nopemain) {
dalamkendali = true;
helm = _root.warnahelm;
baju = _root.warnabaju;
celana = _root.warnacelana;
jeniskuda = _root.kuda;
energi = _root.power;
energimax = energi;
kec = _root.kecepatan;
kecmax = kec;
recharge = _root.stamina;
kursor._visible = 1;
} else {
kursor._visible = 0;
dalamkendali = false;
trace("computer " + String(nokuda));
helm = _root.warnahelmmusuh[nokuda];
baju = _root.warnabajumusuh[nokuda];
celana = _root.warnacelanamusuh[nokuda];
jeniskuda = _root.kudamusuh[nokuda];
energi = _root.powermusuh[nokuda];
energimax = energi;
kec = _root.kecepatanmusuh[nokuda];
kecmax = kec;
recharge = _root.staminamusuh[nokuda];
}
jarak = 0;
finish = 0;
stop();
}
onClipEvent (enterFrame) {
if (dalamkendali) {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_root.tanah._x = _root.tanah._x + kec;
if (_root.tanah._x > (1100 - kec)) {
_root.tanah._x = 550;
}
if (_root.iklan.keluar == 1) {
_root.iklan._x = _root.iklan._x + kec;
}
_root.bg._x = _root.bg._x + kec;
if (_root.bg._x > (1100 - kec)) {
_root.bg._x = 550;
}
_root.fg._x = _root.fg._x + kec;
if (_root.fg._x > (1100 - kec)) {
_root.fg._x = 550;
}
if (_root.batasstart._x < 650) {
_root.batasstart._x = _root.batasstart._x + kec;
}
_root.garisfinish._x = _root.garisfinish._x + kec;
if (nokuda != 1) {
_root.kuda1._x = _root.kuda1._x + kec;
}
if (nokuda != 2) {
_root.kuda2._x = _root.kuda2._x + kec;
}
if (nokuda != 3) {
_root.kuda3._x = _root.kuda3._x + kec;
}
if (nokuda != 4) {
_root.kuda4._x = _root.kuda4._x + kec;
}
if (nokuda != 5) {
_root.kuda5._x = _root.kuda5._x + kec;
}
jarak = jarak + kec;
_root.dist = (((_root.jaraklintasan - jarak) + 1) / _root.jaraklintasan) * 100;
if (Key.isDown(32) and (slash._currentframe == 1)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (3 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisifinal = _root.posisi;
trace("p1finish posisi " + _root.posisifinal);
_root.endrace = 1;
_root.finish.play();
}
_root.eenergi = energi;
}
} else {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_x = (_x - kec);
jarak = jarak + kec;
if ((random(20) == 10) and (kec <= kecmax)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (7 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisi++;
trace(("musuh" + String(nokuda)) + " finish");
}
}
}
}
Instance of Symbol 367 MovieClip "kuda5" in Frame 61
onClipEvent (load) {
nokuda = 5;
if (nokuda == _root.nopemain) {
dalamkendali = true;
helm = _root.warnahelm;
baju = _root.warnabaju;
celana = _root.warnacelana;
jeniskuda = _root.kuda;
energi = _root.power;
energimax = energi;
kec = _root.kecepatan;
kecmax = kec;
recharge = _root.stamina;
kursor._visible = 1;
} else {
kursor._visible = 0;
dalamkendali = false;
helm = _root.warnahelmmusuh[nokuda];
baju = _root.warnabajumusuh[nokuda];
celana = _root.warnacelanamusuh[nokuda];
jeniskuda = _root.kudamusuh[nokuda];
energi = _root.powermusuh[nokuda];
energimax = energi;
trace("computer " + String(nokuda));
kec = _root.kecepatanmusuh[nokuda];
kecmax = kec;
recharge = _root.staminamusuh[nokuda];
}
jarak = 0;
finish = 0;
stop();
}
onClipEvent (enterFrame) {
if (dalamkendali) {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_root.tanah._x = _root.tanah._x + kec;
if (_root.tanah._x > (1100 - kec)) {
_root.tanah._x = 550;
}
if (_root.iklan.keluar == 1) {
_root.iklan._x = _root.iklan._x + kec;
}
_root.bg._x = _root.bg._x + kec;
if (_root.bg._x > (1100 - kec)) {
_root.bg._x = 550;
}
_root.fg._x = _root.fg._x + kec;
if (_root.fg._x > (1100 - kec)) {
_root.fg._x = 550;
}
if (_root.batasstart._x < 650) {
_root.batasstart._x = _root.batasstart._x + kec;
}
_root.garisfinish._x = _root.garisfinish._x + kec;
if (nokuda != 1) {
_root.kuda1._x = _root.kuda1._x + kec;
}
if (nokuda != 2) {
_root.kuda2._x = _root.kuda2._x + kec;
}
if (nokuda != 3) {
_root.kuda3._x = _root.kuda3._x + kec;
}
if (nokuda != 4) {
_root.kuda4._x = _root.kuda4._x + kec;
}
if (nokuda != 5) {
_root.kuda5._x = _root.kuda5._x + kec;
}
jarak = jarak + kec;
_root.dist = (((_root.jaraklintasan - jarak) + 1) / _root.jaraklintasan) * 100;
if (Key.isDown(32) and (slash._currentframe == 1)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (3 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisifinal = _root.posisi;
_root.endrace = 1;
trace("p1finish posisi " + _root.posisifinal);
_root.finish.play();
}
_root.eenergi = energi;
}
} else {
if ((_root.gamemulai == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_currentframe == 2) {
_x = (_x - kec);
jarak = jarak + kec;
if ((random(20) == 10) and (kec <= kecmax)) {
if (energi <= 10) {
energi = 10;
kec = kecmax / 2;
slash.play();
} else {
energi = energi - (7 + random(3));
slash.play();
kec = (kec + random(10)) + 5;
if (kec > (1.5 * kecmax)) {
kec = 1.5 * kecmax;
}
}
}
if (energi < energimax) {
energi = energi + recharge;
}
if ((kec > kecmax) and (random(10) == 7)) {
kec--;
}
if ((jarak >= _root.jaraklintasan) and (finish == 0)) {
finish = 1;
_root.posisi++;
trace(("musuh" + String(nokuda)) + " finish");
}
}
}
}
Instance of Symbol 403 MovieClip in Frame 61
onClipEvent (enterFrame) {
if ((_root.gamemulai == 1) and (_root.endrace == 0)) {
_root.milidetik = _root.milidetik + 5;
if (_root.milidetik > 95) {
_root.milidetik = 0;
_root.detik++;
}
}
}
Frame 66
stop();
Instance of Symbol 470 MovieClip in Frame 66
onClipEvent (load) {
gotoAndStop(_root.posisifinal);
}
Symbol 20 MovieClip Frame 20
stop();
Symbol 29 Button
on (release) {
getURL ("http://jarkey.net", "_blank");
}
Symbol 30 Button
on (release) {
getURL ("http://jarkey.net/playgames/enigmatica_game.htm", "_blank");
}
Symbol 31 Button
on (release) {
getURL ("http://jarkey.net/playgames/bloons-player-pack-1_game.htm", "_blank");
}
Symbol 32 Button
on (release) {
getURL ("http://jarkey.net/playgames/hover-tanks-2_game.htm", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://jarkey.net/playgames/super-doggy_game.htm", "_blank");
}
Symbol 34 Button
on (release) {
getURL ("http://jarkey.net/playgames/death-point_game.htm", "_blank");
}
Symbol 35 Button
on (release) {
getURL ("http://jarkey.net/playgames/goal-shoot_game.htm", "_blank");
}
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay(random(15));
}
Instance of Symbol 71 MovieClip in Symbol 78 MovieClip Frame 1
onClipEvent (load) {
warna = new Color(helm);
warna.setRGB(7566578);
}
Instance of Symbol 78 MovieClip "joki" in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
wh = new Color(helm);
wh.setRGB(_parent.warnahelm);
wb = new Color(baju);
wb.setRGB(_parent.warnabaju);
wc = new Color(celana);
wc.setRGB(_parent.warnacelana);
}
onClipEvent (enterFrame) {
wh = new Color(helm);
wh.setRGB(_parent.warnahelm);
wb = new Color(baju);
wb.setRGB(_parent.warnabaju);
wc = new Color(celana);
wc.setRGB(_parent.warnacelana);
}
Instance of Symbol 78 MovieClip "joki" in Symbol 79 MovieClip Frame 3
onClipEvent (load) {
wh = new Color(helm);
wh.setRGB(_parent.warnahelm);
wb = new Color(baju);
wb.setRGB(_parent.warnabaju);
wc = new Color(celana);
wc.setRGB(_parent.warnacelana);
}
Symbol 91 Button
on (release) {
gotoAndStop (6);
}
Symbol 94 Button
on (release) {
gotoAndStop (8);
}
Symbol 102 Button
on (release) {
getURL ("http://jarkey.net", "_blank");
}
Symbol 103 Button
on (release) {
gotoAndStop ("cover");
}
Symbol 108 Button
on (release) {
nama = "";
gotoAndStop ("newgame");
}
Symbol 111 Button
on (release) {
gotoAndStop ("loadgame");
}
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
_root.bisamasuk = 1;
}
Symbol 120 Button
on (press) {
_root.gotoAndStop("ins");
}
Symbol 126 MovieClip Frame 12
stop();
Symbol 127 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 129 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 131 Button
on (release) {
gotoAndStop ("cover");
}
Symbol 132 Button
on (release) {
gotoAndStop ("intro");
}
Symbol 133 Button
on (release) {
gotoAndStop ("kandang");
}
Symbol 136 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15));
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 150 Button
on (release) {
gotoAndStop ("cover");
}
Symbol 151 Button
on (release) {
gotoAndStop ("kandang");
}
Symbol 190 MovieClip Frame 1
stop();
Instance of Symbol 190 MovieClip in Symbol 191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(100) == 34) {
play();
}
}
Symbol 192 MovieClip Frame 1
stop();
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15));
}
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15));
}
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15));
}
Symbol 197 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 16
stop();
Instance of Symbol 197 MovieClip in Symbol 198 MovieClip Frame 16
onClipEvent (enterFrame) {
if (random(100) == 34) {
play();
}
}
Symbol 199 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 199 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15));
}
Symbol 200 MovieClip Frame 15
stop();
Symbol 201 MovieClip Frame 1
stop();
Instance of Symbol 200 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(15));
}
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip "kuda" in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.jeniskuda);
}
Instance of Symbol 194 MovieClip "kuda" in Symbol 202 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.jeniskuda);
}
Instance of Symbol 196 MovieClip "kuda" in Symbol 202 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.jeniskuda);
}
Instance of Symbol 199 MovieClip "kuda" in Symbol 202 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.jeniskuda);
}
Instance of Symbol 201 MovieClip "kuda" in Symbol 202 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.jeniskuda);
}
Symbol 216 MovieClip Frame 1
stop();
Symbol 220 Button
on (release) {
horseshop.play();
}
Symbol 223 Button
on (release) {
if (jeniskuda > 0) {
gotoAndStop ("latihan");
}
}
Symbol 226 Button
on (release) {
gamemenu.play();
}
Symbol 232 Button
on (release) {
_root.aktif = 1;
gotoAndStop (1);
}
Symbol 235 Button
on (release) {
gotoAndStop ("belimakanan");
}
Symbol 238 Button
on (release) {
if (_root.jeniskuda > 0) {
gotoAndStop ("punyakuda");
} else {
gotoAndStop ("belikuda");
}
}
Symbol 241 Button
on (release) {
if (_root.jeniskuda == 0) {
gotoAndStop ("gakpunyakuda");
} else {
gotoAndStop ("jualkuda");
}
}
Symbol 242 Button
on (release) {
gotoAndStop (2);
}
Symbol 243 Button
on (release) {
if (_root.uang >= total) {
_root.uang = _root.uang - total;
_root.makanan = _root.makanan + jumlah;
if (_root.makanan > 999) {
_root.makanan = 999;
}
} else {
gakpunyauang.play();
}
}
Symbol 252 Button
on (press) {
if (jumlah > 0) {
jumlah--;
}
}
Symbol 253 Button
on (press) {
if (jumlah < (100 - _root.makanan)) {
jumlah++;
}
}
Symbol 256 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.total = 20 * _parent.jumlah;
}
Instance of Symbol 205 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.total = 20 * _parent.jumlah;
}
Instance of Symbol 205 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.total = 20 * _parent.jumlah;
}
Symbol 258 Button
on (release) {
if (_root.uang >= harga) {
_root.uang = _root.uang - harga;
_root.hargabeli = harga;
_root.jeniskuda = _root.belijenis[jenis];
_root.kecepatan = _root.belikecepatan[jenis];
_root.power = _root.belipower[jenis];
_root.stamina = _root.belistamina[jenis];
_root.umur = 1;
gotoAndStop ("kasihnama");
} else {
gakpunyauang.play();
}
}
Symbol 262 Button
on (press) {
jenis--;
if (jenis < 0) {
jenis = 11;
}
}
Symbol 263 Button
on (press) {
jenis++;
if (jenis > 11) {
jenis = 0;
}
}
Symbol 266 Button
on (release) {
_root.uang = _root.uang + harga;
_root.nama = "";
_root.hargabeli = 0;
_root.jeniskuda = 0;
_root.kecepatan = 0;
_root.power = 0;
_root.stamina = 0;
gotoAndStop (1);
}
Symbol 272 Button
on (release) {
if (namanya != "") {
_root.nama = namanya;
gotoAndStop (2);
}
}
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
stop();
_root.aktif = 0;
Symbol 274 MovieClip Frame 5
jumlah = 1;
total = 0;
Instance of Symbol 257 MovieClip in Symbol 274 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.total = 20 * _parent.jumlah;
}
Symbol 274 MovieClip Frame 10
jenis = 0;
harga = _root.hargakuda[jenis];
Instance of Symbol 145 MovieClip in Symbol 274 MovieClip Frame 10
onClipEvent (load) {
gotoAndStop(Math.round(_root.belipower[_parent.jenis] / 20));
}
onClipEvent (enterFrame) {
gotoAndStop(Math.round(_root.belipower[_parent.jenis] / 20));
}
Instance of Symbol 145 MovieClip in Symbol 274 MovieClip Frame 10
onClipEvent (load) {
gotoAndStop(Math.round(_root.belikecepatan[_parent.jenis] / 3));
}
onClipEvent (enterFrame) {
gotoAndStop(Math.round(_root.belikecepatan[_parent.jenis] / 3));
}
Instance of Symbol 145 MovieClip in Symbol 274 MovieClip Frame 10
onClipEvent (load) {
gotoAndStop(Math.round(_root.belistamina[_parent.jenis] * 10));
}
onClipEvent (enterFrame) {
gotoAndStop(Math.round(_root.belistamina[_parent.jenis] * 10));
}
Instance of Symbol 136 MovieClip in Symbol 274 MovieClip Frame 10
onClipEvent (enterFrame) {
gotoAndStop(_root.belijenis[_parent.jenis]);
_parent.harga = _root.hargakuda[_parent.jenis];
}
Symbol 274 MovieClip Frame 15
harga = 0;
Instance of Symbol 136 MovieClip in Symbol 274 MovieClip Frame 15
onClipEvent (load) {
gotoAndStop(_root.jeniskuda);
_parent.harga = Math.round(_root.hargabeli * 0.75);
}
Instance of Symbol 145 MovieClip in Symbol 274 MovieClip Frame 15
onClipEvent (load) {
if (_root.power == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.power / 20));
}
}
onClipEvent (enterFrame) {
if (_root.power == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.power / 20));
}
}
Instance of Symbol 145 MovieClip in Symbol 274 MovieClip Frame 15
onClipEvent (load) {
if (_root.kecepatan == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.kecepatan / 3));
}
}
onClipEvent (enterFrame) {
if (_root.kecepatan == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.kecepatan / 3));
}
}
Instance of Symbol 145 MovieClip in Symbol 274 MovieClip Frame 15
onClipEvent (load) {
if (_root.stamina == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.stamina * 10));
}
}
onClipEvent (enterFrame) {
if (_root.stamina == 0) {
_visible = 0;
} else {
_visible = 1;
gotoAndStop(Math.round(_root.stamina * 10));
}
}
Symbol 274 MovieClip Frame 20
stop();
Symbol 274 MovieClip Frame 25
stop();
Symbol 274 MovieClip Frame 30
namanya = "";
Selection.setFocus(namakuda);
Symbol 276 Button
on (release) {
_root.aktif = 1;
gotoAndStop (1);
}
Symbol 285 Button
on (release) {
if (_root.uang >= 0) {
_root.jaraklintasan = 5000;
_root.racerating = 7;
_root.hadiah1 = 2500;
_root.hadiah2 = 1500;
_root.hadiah3 = 1000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 289 Button
on (release) {
if (_root.uang >= 100) {
_root.jaraklintasan = 6000;
_root.uang = _root.uang - 100;
_root.racerating = 7;
_root.hadiah1 = 3000;
_root.hadiah2 = 2000;
_root.hadiah3 = 1000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 293 Button
on (release) {
if (_root.uang >= 200) {
_root.jaraklintasan = 6000;
_root.racerating = 8;
_root.uang = _root.uang - 200;
_root.hadiah1 = 4000;
_root.hadiah2 = 3000;
_root.hadiah3 = 2000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 298 Button
on (release) {
if (_root.uang >= 500) {
_root.jaraklintasan = 4000;
_root.uang = _root.uang - 500;
_root.racerating = 9;
_root.hadiah1 = 5000;
_root.hadiah2 = 3500;
_root.hadiah3 = 1000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 301 Button
on (release) {
if (_root.uang >= 600) {
_root.jaraklintasan = 6000;
_root.uang = _root.uang - 600;
_root.racerating = 9;
_root.hadiah1 = 5000;
_root.hadiah2 = 3000;
_root.hadiah3 = 2000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 305 Button
on (release) {
if (_root.uang >= 750) {
_root.jaraklintasan = 7000;
_root.uang = _root.uang - 750;
_root.racerating = 10;
_root.hadiah1 = 7000;
_root.hadiah2 = 5000;
_root.hadiah3 = 3000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 310 Button
on (release) {
if (_root.uang >= 1000) {
_root.jaraklintasan = 7500;
_root.uang = _root.uang - 1000;
_root.racerating = 12;
_root.hadiah1 = 10000;
_root.hadiah2 = 7500;
_root.hadiah3 = 5000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 314 Button
on (release) {
if (_root.uang >= 1200) {
_root.jaraklintasan = 6000;
_root.uang = _root.uang - 1200;
_root.racerating = 11;
_root.hadiah1 = 12000;
_root.hadiah2 = 10000;
_root.hadiah3 = 8000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 318 Button
on (release) {
if (_root.uang >= 1500) {
_root.jaraklintasan = 7500;
_root.uang = _root.uang - 1500;
_root.racerating = 13;
_root.hadiah1 = 15000;
_root.hadiah2 = 10000;
_root.hadiah3 = 5000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 322 Button
on (release) {
if (_root.uang >= 2000) {
_root.jaraklintasan = 8000;
_root.uang = _root.uang - 2000;
_root.racerating = 14;
_root.hadiah1 = 25000;
_root.hadiah2 = 15000;
_root.hadiah3 = 7500;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 325 Button
on (release) {
if (_root.uang >= 1000) {
_root.jaraklintasan = 10000;
_root.uang = _root.uang - 1000;
_root.racerating = 15;
_root.hadiah1 = 30000;
_root.hadiah2 = 25000;
_root.hadiah3 = 15000;
_root.gotoAndStop("pilihbaju");
} else {
gakpunyauang.play();
}
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
_root.aktif = 0;
Instance of Symbol 53 MovieClip "kuda" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_parent.jeniskuda);
}
Instance of Symbol 79 MovieClip "joki" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
warnahelm = _parent.helm;
warnabaju = _parent.baju;
warnacelana = _parent.celana;
stop();
}
Instance of Symbol 294 MovieClip in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(9) + 1);
}
Symbol 327 MovieClip Frame 5
stop();
_root.aktif = 0;
Instance of Symbol 306 MovieClip in Symbol 327 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 327 MovieClip Frame 10
stop();
_root.aktif = 0;
Instance of Symbol 326 MovieClip in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Symbol 329 Button
on (release) {
_root.aktif = 1;
gotoAndStop (1);
}
Symbol 332 Button
on (release) {
gotoAndStop ("savegame");
}
Symbol 333 Button
on (release) {
_root.gotoAndStop("cover");
}
Symbol 336 Button
on (release) {
if (_root.suaraaktif == 1) {
_root.suaraaktif = 0;
stopAllSounds();
} else {
_root.suaraaktif = 1;
_root.bgsound.start(0, 99999);
}
}
Symbol 339 MovieClip Frame 1
stop();
Symbol 340 Button
on (release) {
gotoAndStop (2);
}
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
stop();
_root.aktif = 0;
Instance of Symbol 339 MovieClip in Symbol 342 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.suaraaktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.suaraaktif + 1);
}
on (release) {
if (_root.suaraaktif == 1) {
_root.suaraaktif = 0;
stopAllSounds();
} else {
_root.suaraaktif = 1;
_root.bgsound.start(0, 9999);
}
}
Symbol 342 MovieClip Frame 10
stop();
sg = SharedObject.getLocal("horseranch");
sg.data.nama = _root.nama;
sg.data.jeniskuda = _root.jeniskuda;
sg.data.umur = _root.umur;
sg.data.power = _root.power;
sg.data.kecepatan = _root.kecepatan;
sg.data.stamina = _root.stamina;
sg.data.tanggal = _root.tanggal;
sg.data.bulan = _root.bulan;
sg.data.tahun = _root.tahun;
sg.data.makanan = _root.makanan;
sg.data.uang = _root.uang;
sg.data.hargabeli = _root.hargabeli;
sg.data.wh = _root.wh;
sg.data.wb = _root.wb;
sg.data.wc = _root.wc;
sg.data.ikut = _root.ikut;
sg.data.menang = _root.menang;
sg.flush();
Symbol 348 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 50
_root.hargabeli = 0;
_root.jeniskuda = 0;
_root.kecepatan = 0;
_root.power = 0;
_root.stamina = 0;
Symbol 352 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip "iklan" in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
xa = _x;
keluar = 0;
}
onClipEvent (enterFrame) {
if ((random(100) == 34) and (keluar == 0)) {
keluar = 1;
}
if (keluar == 1) {
if (_x > 600) {
keluar = 0;
_x = xa;
}
}
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
stop();
Instance of Symbol 136 MovieClip "kuda" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent.jeniskuda);
}
Instance of Symbol 79 MovieClip "joki" in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
warnahelm = _parent.helm;
warnabaju = _parent.baju;
warnacelana = _parent.celana;
stop();
}
Instance of Symbol 53 MovieClip "kuda" in Symbol 367 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_parent.jeniskuda);
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 85
stop();
Instance of Symbol 374 MovieClip in Symbol 384 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.suaraaktif == 1) and (_currentframe == 1)) {
gotoAndPlay (2);
}
}
Symbol 384 MovieClip Frame 85
_root.batasstart.gotoAndStop(2);
Symbol 384 MovieClip Frame 91
stop();
_root.gamemulai = 1;
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 50
_root.gotoAndStop("hasillatihan");
Instance of Symbol 393 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
_xscale = _root.eenergi;
}
onClipEvent (enterFrame) {
_xscale = _root.eenergi;
}
Instance of Symbol 407 MovieClip in Symbol 409 MovieClip Frame 1
onClipEvent (load) {
_xscale = _root.dist;
}
onClipEvent (enterFrame) {
_xscale = _root.dist;
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 1
stop();
Instance of Symbol 424 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
if (random(30) == 14) {
if (_root.power < 100) {
_root.power++;
}
gotoAndStop (2);
}
if (random(30) == 12) {
if (_root.speed < 15) {
_root.speed = _root.speed + 0.25;
}
gotoAndStop (3);
}
if (random(30) == 22) {
if (_root.stamina < 0.5) {
_root.stamina = _root.stamina + 0.01;
}
gotoAndStop (4);
}
}
Symbol 426 Button
on (release) {
tanggal++;
if (tanggal > 30) {
tanggal = 1;
bulan++;
if (bulan > 12) {
bulan = 1;
tahun++;
}
}
gotoAndStop ("kandang");
}
Symbol 432 Button
on (release) {
wh++;
if (wh > 6) {
wh = 0;
}
warnahelm = warna[wh];
}
Symbol 435 Button
on (release) {
wb++;
if (wb > 6) {
wb = 0;
}
warnabaju = warna[wb];
}
Symbol 438 Button
on (release) {
wc++;
if (wc > 6) {
wc = 0;
}
warnacelana = warna[wc];
}
Symbol 442 Button
on (release) {
ikut++;
gotoAndStop ("balapan");
}
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 50
_root.gotoAndStop("hasil");
Symbol 456 Button
on (release) {
_root.menang++;
_root.uang = _root.uang + _root.hadiah1;
_root.hargabeli = _root.hargabeli + ((random(10) + 2) * 125);
_root.tanggal++;
_root.gotoAndStop("kandang");
}
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 54
stop();
Symbol 462 Button
on (release) {
_root.uang = _root.uang + _root.hadiah2;
_root.hargabeli = _root.hargabeli + ((random(10) + 2) * 100);
_root.tanggal++;
_root.gotoAndStop("kandang");
}
Symbol 466 Button
on (release) {
_root.uang = _root.uang + _root.hadiah3;
_root.hargabeli = _root.hargabeli + ((random(10) + 2) * 80);
_root.tanggal++;
_root.gotoAndStop("kandang");
}
Symbol 468 Button
on (release) {
_root.tanggal++;
_root.gotoAndStop("kandang");
}
Symbol 470 MovieClip Frame 1
stop();
Instance of Symbol 458 MovieClip in Symbol 470 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.suaraaktif == 1) and (_currentframe == 1)) {
play();
}
}