Frame 1
stop();
Stage.showMenu = false;
_global.stage_w = 800;
_global.stage_h = 600;
_global.playNext = function () {
_root.play();
};
this.promoKeyListener = new Object();
promoKeyListener.onKeyDown = function () {
if (_root.promo_mc.allowSkip) {
_global.playNext();
}
};
Key.addListener(promoKeyListener);
_global.youdagames = "http://www.youdagames.com";
_global.moregamelink = "http://www.youdagames.com";
Stage.scaleMode = "showAll";
_global.gameName = "GOP";
_global.aName = "YoudaGames";
_global.g_id = "18";
_global.highscoreType = "default";
_global.h_id = "2818";
_global.highscorelink = "http://highscore.youdagames.com/001/flash/index.php";
_global.buygamelink = "https://www.regnow.com/softsell/cart.cgi?vendor=16153&items=16153-18&action=add_to_cart&linkid=game";
var indexSwfCheck = _url.lastIndexOf(".swf");
if (!(indexSwfCheck === -1)) {
_global.appExtention = "swf";
} else {
_global.appExtention = "exe";
}
_global.brandTimeStamp = "Monday 7-7-2008 9:46:33";
var temp;
temp = new as.external.ExternalModel({root:this});
temp = new as.FocusControl();
Frame 2
stop();
Frame 3
delete this.promoKeyListener;
_root.stopAllSounds();
Frame 11
_global.spaceAdd = "";
_global.traceObj = function (pObjContainer, objName) {
_global.devTrace(("--------traceObj START objName=" + objName) + "---------", "D", 5);
_global.$traceObj(pObjContainer, objName);
_global.devTrace(("--------traceObj END objName=" + objName) + "---------", "D", 5);
};
_global.$traceObj = function (pObjContainer, objName) {
if (!pObjContainer) {
return(undefined);
}
pObjContainer = pObjContainer || _root;
for (var _local5 in pObjContainer) {
if (typeof(pObjContainer[_local5]) == "object") {
_global.devTrace(((_global.spaceAdd + " name=") + _local5) + " = an Object, so tracing sub:", "D", 5);
_global.spaceAdd = _global.spaceAdd + " ";
arguments.callee(pObjContainer[_local5], _local5);
_global.spaceAdd = _global.spaceAdd.substr(0, _global.spaceAdd.length - 6);
} else {
_global.devTrace((((_global.spaceAdd + " name=") + _local5) + " = ") + pObjContainer[_local5], "D", 5);
}
}
};
Array.prototype.inArray = function (__value) {
var _local2 = 0;
while (_local2 < this.length) {
if (this[_local2] == __value) {
return(_local2);
}
_local2++;
}
return(false);
};
MovieClip.prototype.hideMe = function () {
this._visible = false;
};
MovieClip.prototype.showMe = function () {
this._visible = true;
};
this.main = new as.Main({root:this});
_root.onEnterFrame = function () {
var _local3 = 0;
while (_local3 < _global.model.speed) {
this.main.update();
_local3++;
}
};
_global.returnDistance = function ($pos1, $pos2) {
var _local1 = $pos1 - $pos2;
return(((_local1 < 0) ? (-_local1) : (_local1)));
};
stop();
Symbol 59 MovieClip [SL_highscoreminiclip] Frame 1
#initclip 169
Object.registerClass("SL_highscoreminiclip", asHighscore.MainMiniclip);
#endinitclip
Symbol 61 MovieClip Frame 1
this.onPress = function () {
};
this.useHandCursor = false;
Symbol 71 MovieClip [closeTextBtn] Frame 1
#initclip 166
Object.registerClass("closeTextBtn", asHighscore.Button);
#endinitclip
Symbol 74 MovieClip Frame 1
var ct = this.attachMovie("highscoreBanner", "highscoreBanner", 1);
Symbol 82 MovieClip Frame 1
stop();
Symbol 90 MovieClip [loadingHighscoreScreen] Frame 1
#initclip 167
Object.registerClass("loadingHighscoreScreen", asHighscore.Loader);
#endinitclip
stop();
Symbol 90 MovieClip [loadingHighscoreScreen] Frame 8
this.executeFunction();
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 106 MovieClip [SL_highscoredefault] Frame 1
#initclip 168
Object.registerClass("SL_highscoredefault", asHighscore.Main);
#endinitclip
stop();
Symbol 142 MovieClip [YoudaGames] Frame 1
this.allowSkip = true;
Instance of Symbol 117 MovieClip in Symbol 142 MovieClip [YoudaGames] Frame 1
onClipEvent (load) {
if ((_global.youdagames != "") && (_global.youdagames != undefined)) {
this.onRelease = function () {
getURL (_global.youdagames, "_blank");
};
}
this._width = _global.stage_w;
this._height = _global.stage_h;
var point = {x:0, y:0};
this._parent.globalToLocal(point);
this._x = point.x;
this._y = point.y;
}
Symbol 142 MovieClip [YoudaGames] Frame 99
_global.playNext();
stop();
Symbol 3532 MovieClip [__Packages.as.external.ExternalModel] Frame 0
class as.external.ExternalModel
{
var root, fullScreen, gameName, wrapper, keyListener, sendConn;
function ExternalModel (__iObj) {
root = __iObj.root;
fullScreen = false;
_global.externalModel = this;
gameName = "GovernorOfPoker";
init();
}
function getSettings() {
var _local1 = SharedObject.getLocal("fullScreenSettings", "/");
return(_local1);
}
function loadSettings() {
var _local2;
var _local3;
_local2 = getSettings();
_local3 = _local2.data[gameName];
return(_local3);
}
function saveSettings(__settingValue) {
var _local2;
_local2 = getSettings();
_local2.data[gameName] = __settingValue;
_local2.flush();
}
function init() {
delete wrapper;
var _local4 = loadSettings();
var _local3 = true;
if ((_local4 === false) || (_local4 == "false")) {
_local3 = false;
}
if (_global.mdm) {
wrapper = new as.external.ZincModel({root:this}, _local3);
} else if (_global.ssCore) {
wrapper = new as.external.SwfStudioModel({root:this}, _local3);
} else {
wrapper = false;
fscommand ("fullscreen", _local3);
}
initVersionKeyCheck();
}
function setFullScreenStatus(__boolean) {
fullScreen = __boolean;
}
function toggleFullScreen(__boolean) {
if (__boolean == undefined) {
if (fullScreen) {
wrapper.toggleFullScreen(false);
} else {
wrapper.toggleFullScreen(true);
}
} else {
wrapper.toggleFullScreen(__boolean);
}
}
function showExitMenu() {
if (_global.attachExitMenu) {
_global.attachExitMenu();
} else {
_global.exitMenu_mc._visible = true;
}
}
function processFocus(__boolean) {
if (_global.processWindowFocus) {
_global.processWindowFocus(__boolean);
}
}
function requestKill() {
if (!wrapper) {
killApplication();
} else {
wrapper.requestKill();
}
}
function killApplication() {
fscommand ("quit");
}
function initVersionKeyCheck() {
keyListener = new Object();
keyListener.obj = this;
keyListener.onKeyDown = function () {
if ((Key.isDown(86) && (Key.isDown(69))) && (Key.isDown(82))) {
this.obj.sendVersion();
}
};
Key.addListener(keyListener);
}
function sendVersion() {
var _local3 = {brandTimeStamp:_global.brandTimeStamp, gameName:_global.gameName, aName:_global.aName, g_id:_global.g_id, affiliateId:_global.affiliateId, languageCode:_global.languageCode, blockViewAllHighScore:_global.blockViewAllHighScore, appExtention:_global.appExtention};
sendConn = new LocalConnection();
sendConn.send("_youdaVersion", "showVersion", _local3);
}
}
Symbol 3533 MovieClip [__Packages.as.external.ZincModel] Frame 0
class as.external.ZincModel
{
var root, mdm, fullScreenMethod, localCheckPath, mac, windowHeight, windowWidth, res_width, res_height, res_colorDepth, formStyle, lastFocus, fullscreen, beforeMinimized, killingApp, fullScreen_intrv, addept_intrv, resize_intrv;
function ZincModel (__iObj, __fullScreenSetting) {
root = __iObj.root;
mdm = _global.mdm;
fullScreenMethod = "dirextX";
localCheckPath = new as.external.LocalCheck(this, _global.externalModel.gameName);
reset(__fullScreenSetting);
}
function reset(__fullScreenSetting) {
var _local4 = mdm.System.macVerString;
if (typeof(_local4) == "string") {
mac = true;
fullScreenMethod = "setResolution";
Stage.scaleMode = "noScale";
}
windowHeight = mdm.Forms.MainForm.height;
windowWidth = mdm.Forms.MainForm.width;
var _local3 = mdm.System.getResolution();
res_width = _local3[0];
res_height = _local3[1];
res_colorDepth = _local3[2];
if (__fullScreenSetting) {
addeptForm(true);
}
mdm.Application.onAppExit = function () {
_global.externalModel.showExitMenu();
};
mdm.Application.enableExitHandler();
mdm.Application.obj = this;
mdm.Application.onAppChangeFocus = function (myObject) {
if ((myObject.status == true) || (myObject.status == "true")) {
_global.externalModel.processFocus(true);
} else {
_global.externalModel.processFocus(false);
}
};
mdm.Application.onAppMinimize = function () {
this.obj.isMinimized = true;
_global.externalModel.processFocus(false);
};
mdm.Application.onFormMaximize = function (myObject) {
this.obj.isMinimized = false;
_global.externalModel.processFocus(true);
};
if (__fullScreenSetting) {
doFocusAction(true);
}
if (mac) {
if (windowHeight && (windowWidth)) {
mdm.Application.onFormResize = function (myObject) {
var _local2 = _global.externalModel.wrapper;
if (!(_local2.windowWidth === myObject.width)) {
_global.mdm.Forms.MainForm.width = _local2.windowWidth;
}
if (!(_local2.windowHeight === myObject.height)) {
_global.mdm.Forms.MainForm.height = _local2.windowHeight;
}
};
}
}
return(true);
}
function doSecondWindowActions() {
prompt("There is already an instance of this game running. \n This application will now close.");
mdm.Application.exit();
}
function doPendingEvents() {
if (mac) {
return(undefined);
}
mdm.Application.doEvents();
}
function restore() {
if (!mac) {
mdm.Application.restore();
}
}
function bringToFront() {
}
function maximize() {
if (!mac) {
mdm.Application.maximize();
}
}
function minimize() {
mdm.Application.minimize();
}
function setResolution(__width, __height, __colorDepth) {
mdm.System.setResolution(__width, __height, __colorDepth);
}
function addeptForm(__boolean, __mac) {
if (mac && (!__mac)) {
return(undefined);
}
if ((formStyle == __boolean) && (!mac)) {
return(undefined);
}
formStyle = __boolean;
mdm.Forms.thisForm.showFullScreen(__boolean);
if (!mac) {
mdm.Forms.thisForm.hideCaption(__boolean);
}
}
function delay(__amount) {
if (!__amount) {
return(undefined);
}
if (mac) {
return(undefined);
}
mdm.Application.delay(__amount);
}
function prompt(__text) {
if (!__text) {
return(undefined);
}
mdm.Dialogs.prompt(__text);
}
function doFocusAction(__boolean, __force) {
if (!__force) {
if (lastFocus == __boolean) {
return(undefined);
}
lastFocus = __boolean;
}
if (mac) {
doMacFocusAction(__boolean, __force);
return(undefined);
}
if (__boolean) {
bringToFront();
if (!__force) {
maximize();
}
doPendingEvents();
restore();
doPendingEvents();
setFullScreen(true);
doPendingEvents();
bringToFront();
doPendingEvents();
} else {
var _local4 = fullscreen;
beforeMinimized = _local4;
setFullScreen(false);
if (!__force) {
minimize();
}
doPendingEvents();
}
}
function toggleFullScreen(__boolean) {
if (fullscreen == __boolean) {
return(undefined);
}
_global.externalModel.saveSettings(__boolean);
addeptForm(__boolean);
restore();
doPendingEvents();
doFocusAction(__boolean, true);
}
function setFullScreen(__boolean, __exit) {
_global.externalModel.setFullScreenStatus(__boolean);
if (__boolean) {
if (!fullscreen) {
fullscreen = true;
if (fullScreenMethod == "dirextX") {
mdm.System.DirectX.enable(800, 600, 32);
} else {
setResolution(800, 600, 32);
}
maximize();
}
} else if (fullscreen) {
fullscreen = false;
if (fullScreenMethod == "dirextX") {
mdm.System.DirectX.disable();
} else {
setResolution(res_width, res_height, res_colorDepth);
}
if (windowWidth) {
mdm.Forms.thisForm.width = windowWidth;
}
if (windowHeight) {
mdm.Forms.thisForm.height = windowHeight;
}
if (mac) {
createResizeInterv();
}
}
if (__exit) {
killApplication();
}
}
function requestKill() {
killApplication();
}
function killApplication() {
if (killingApp) {
return(undefined);
}
_root.stopAllSounds();
killingApp = true;
setFullScreen();
doPendingEvents();
mdm.Application.exit();
delay(1000);
}
function doMacFocusAction(__boolean, __force) {
if (__boolean) {
restore();
setFullScreen(true);
createAddeptInterv(100, true, true);
} else {
var _local2 = fullscreen;
beforeMinimized = _local2;
addeptForm(false, true);
createFullScreenInterv(10, false);
}
}
function createFullScreenInterv(__delay, __boolean, __reCall) {
if (!__delay) {
__delay = 1;
}
if (fullScreen_intrv) {
clearInterval(fullScreen_intrv);
}
fullScreen_intrv = setInterval(this, "doDelayedFullscreen", __delay, __boolean, true);
}
function doDelayedFullscreen(__boolean, __reCall) {
clearInterval(fullScreen_intrv);
if (!__reCall) {
_global.externalModel.wrapper.createFullScreenInterv(1, __boolean, true);
return(undefined);
}
_global.externalModel.wrapper.setFullScreen(__boolean);
}
function createAddeptInterv(__delay, __boolean, __force, __reCall) {
if (!__delay) {
__delay = 1;
}
if (addept_intrv) {
clearInterval(addept_intrv);
}
addept_intrv = setInterval(this, "doDelayedAddept", __delay, __boolean, __force, __reCall);
}
function doDelayedAddept(__boolean, __force, __reCall) {
clearInterval(addept_intrv);
var _local3 = mdm.System.getResolution();
if (((!_local3) || (!(_local3[1] === 600))) || (!(_local3[0] === 800))) {
_global.externalModel.wrapper.createAddeptInterv(1, __boolean, __force);
return(undefined);
}
if (!__reCall) {
_global.externalModel.wrapper.createAddeptInterv(1, __boolean, __force, true);
return(undefined);
}
_global.externalModel.wrapper.addeptForm(__boolean, __force);
}
function createResizeInterv() {
if (resize_intrv) {
clearInterval(resize_intrv);
}
resize_intrv = setInterval(this, "doDelayedResize", 50);
}
function doDelayedResize() {
clearInterval(resize_intrv);
_global.externalModel.wrapper.doResize();
}
function doResize() {
if (windowWidth) {
mdm.Forms.thisForm.width = windowWidth;
}
if (windowHeight) {
mdm.Forms.thisForm.height = windowHeight;
}
}
}
Symbol 3534 MovieClip [__Packages.as.external.LocalCheck] Frame 0
class as.external.LocalCheck
{
var root, gameName, sendConn, listenReply, channel, replyChannel, receiveConnReply, receiveConn;
function LocalCheck (__root, __gameName) {
root = __root;
gameName = __gameName;
if (!gameName) {
gameName = "YoudaGame";
}
init();
}
function init() {
initChannel();
}
function secondWindowOpen() {
deleteCallingChannel();
root.doSecondWindowActions();
}
function deleteCallingChannel() {
sendConn.close();
listenReply.close();
delete sendConn;
delete listenReply;
}
function initChannel() {
channel = "_chan_" + gameName;
replyChannel = Math.ceil(Math.random() * 9999999) * 3;
sendConn = new LocalConnection();
listenReply = new LocalConnection();
listenReply.obj = this;
listenReply.connect((channel + "reply") + replyChannel);
listenReply.receiveReply = function () {
this.obj.secondWindowOpen();
};
sendCheck();
}
function sendCheck() {
sendConn.send(channel, "giveReply", replyChannel);
sendConn.obj = this;
sendConn.onStatus = function (infoObject) {
if (infoObject.level == "status") {
} else if (infoObject.level == "error") {
this.obj.initReceiveConn();
}
};
}
function initReceiveConn() {
deleteCallingChannel();
receiveConnReply = new LocalConnection();
receiveConn = new LocalConnection();
receiveConn.obj = this;
receiveConn.giveReply = function (givenReplyChannel) {
if ((givenReplyChannel == this.obj.replyChannel) && (this.obj.replyChannel)) {
return(undefined);
}
this.obj.receiveConnReply.send((this.obj.channel + "reply") + givenReplyChannel, "receiveReply");
return(true);
};
receiveConn.connect(channel);
}
}
Symbol 3535 MovieClip [__Packages.as.external.SwfStudioModel] Frame 0
class as.external.SwfStudioModel
{
var root, ssCore, ssEvents, ssGlobals, res_width, res_height, res_colorDepth, formStyle, noFullScreen, lastFocus, fullscreen, beforeMinimized, killingApp;
function SwfStudioModel (__iObj) {
root = __iObj.root;
ssCore = _global.ssCore;
ssEvents = _global.ssEvents;
ssGlobals = _global.ssGlobals;
reset();
}
function reset() {
res_width = Number(ssGlobals.ssDesktopWidth);
res_height = Number(ssGlobals.ssDesktopHeight);
res_colorDepth = Number(ssGlobals.ssDesktopColorDepth);
var _local4 = new Object();
_local4.onAppExit = function (__event_obj) {
_global.externalModel.showExitMenu();
};
ssEvents.addEventListener({listener:_local4, event:"App.onQuit", callback:"onAppExit"});
var _local3 = new Object();
_local3.obj = this;
_local3.onAppChangeFocus = function (__event_obj) {
if (__event_obj.result == "LOSTFOCUS") {
_global.externalModel.processFocus(false);
this.obj.doFocusAction(false);
} else if (__event_obj.result == "GOTFOCUS") {
_global.externalModel.processFocus(true);
this.obj.doFocusAction(true);
}
};
ssCore.Win.setNotify({event:"onFocusChange"}, {callback:"onAppChangeFocus", scope:_local3});
addeptForm(true);
doFocusAction(true);
return(true);
}
function restore() {
ssCore.Win.restore();
}
function bringToFront() {
}
function maximize() {
ssCore.Win.maximize();
}
function minimize() {
ssCore.Win.minimize();
ssCore.Win.flash();
}
function setResolution(__width, __height, __colorDepth, __userDirectDraw) {
ssCore.Desktop.changeResolution({width:__width, height:__height, colorDepth:__colorDepth, useDirectDraw:__userDirectDraw});
}
function addeptForm(__boolean) {
if (formStyle == __boolean) {
return(undefined);
}
formStyle = __boolean;
if (__boolean) {
ssCore.Win.showCaption({flag:false});
ssCore.Desktop.autoRestoreTaskbar({flag:true});
ssCore.Desktop.autoHideTaskbar({flag:true});
ssCore.Win.showBorder({flag:false});
} else {
ssCore.Win.showCaption({flag:true});
ssCore.Desktop.showTaskbar({flag:true});
ssCore.Win.showBorder({flag:true});
}
}
function doFocusAction(__boolean, __force) {
if (noFullScreen && (!__force)) {
return(undefined);
}
if (!__force) {
if (lastFocus == __boolean) {
return(undefined);
}
lastFocus = __boolean;
}
if (__boolean) {
restore();
setFullScreen(true, false, __force);
} else {
var _local3 = fullscreen;
beforeMinimized = _local3;
setFullScreen(false, false, __force);
}
}
function toggleFullScreen(__boolean) {
if (fullscreen == __boolean) {
return(undefined);
}
if (__boolean) {
noFullScreen = false;
restore();
addeptForm(true);
doFocusAction(true, true);
} else {
noFullScreen = true;
addeptForm(__boolean);
doFocusAction(__boolean, true);
}
}
function setFullScreen(__boolean, __exit, __force) {
_global.externalModel.setFullScreenStatus(__boolean);
if (__boolean) {
if (!fullscreen) {
fullscreen = true;
setResolution(800, 600, 16, false);
maximize();
}
} else if (fullscreen) {
fullscreen = false;
setResolution(res_width, res_height, res_colorDepth);
if (!__force) {
minimize();
} else {
restore();
}
}
if (__exit) {
killApplication();
}
}
function requestKill() {
killApplication();
}
function killApplication() {
if (killingApp) {
return(undefined);
}
killingApp = true;
ssCore.App.forceQuit();
}
}
Symbol 3536 MovieClip [__Packages.as.FocusControl] Frame 0
class as.FocusControl
{
var isTextfieldFocusKilled, focus_mc, continue_btn, interval;
function FocusControl () {
_global.focusControl = this;
init();
}
function init() {
showPopup(false);
isTextfieldFocusKilled = false;
focus_mc = _root.createEmptyMovieClip("fmc", _root.getNextHighestDepth());
focus_mc.onRelease = function () {
};
focus_mc.onSetFocus = function (oldFocus, newFocus) {
if ((!(oldFocus.wordWrap === undefined)) && (newFocus.wordWrap == undefined)) {
_global.focusControl.isTextfieldFocusKilled = true;
}
};
Selection.addListener(focus_mc);
Selection.setFocus(focus_mc);
continue_btn.onPress = continueGame;
_global.processWindowFocus = processWrapperFocus;
_global.globalsound = new Sound();
interval = setInterval(this, "update", 250);
}
function showPopup(__show) {
_global.model.showOutOfFocus(__show);
}
function update() {
if (isTextfieldFocusKilled) {
isTextfieldFocusKilled = false;
Selection.setFocus(focus_mc);
}
if (Selection.getFocus() == null) {
pauseGame();
}
}
function processWrapperFocus(__boolean) {
if (__boolean) {
continueGame();
} else {
Selection.setFocus(null);
pauseGame();
}
}
function pauseGame() {
if (_global.careerModel.userProgress.setting.autoPauseBlock) {
return(undefined);
}
_global.globalsound.setVolume(0);
doGameActions(true);
showPopup(true);
}
function continueGame() {
Selection.setFocus(focus_mc);
showPopup(false);
if (!_global.soundTurnedOff) {
_global.globalsound.setVolume(100);
}
doGameActions();
}
function doGameActions(__pause) {
if (__pause) {
if (!_global.setted) {
_global.main.setPause();
}
} else {
_global.setted = false;
_global.main.removePause();
}
}
}
Symbol 3537 MovieClip [__Packages.asHighscore.Button] Frame 0
class asHighscore.Button extends MovieClip
{
var underline, fontSize, gotoAndStop, sel, title, btnText, useHandCursor, class;
function Button () {
super();
if (underline == undefined) {
underline = true;
}
if (fontSize == undefined) {
fontSize = 11;
}
}
function onLoad() {
gotoAndStop(1);
setText();
if (sel == true) {
selected = (true);
}
}
function set selected(b) {
sel = b;
if (sel == true) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
setText();
//return(selected);
}
function get selected() {
return(sel);
}
function setText() {
btnText.text = title;
btnText.autoSize = true;
var _local2 = new TextFormat();
if (sel != true) {
_local2.underline = underline;
}
_local2.size = fontSize;
btnText.setTextFormat(_local2);
useHandCursor = ((sel == true) ? false : true);
}
function onRollOver() {
if (sel == true) {
return(null);
}
gotoAndStop(2);
setText();
}
function onRollOut() {
if (sel == true) {
return(null);
}
gotoAndStop(1);
setText();
}
function onPress() {
if (sel == true) {
return(null);
}
gotoAndStop(3);
setText();
class.select(title);
}
}
Symbol 3538 MovieClip [__Packages.asHighscore.Loader] Frame 0
class asHighscore.Loader extends MovieClip
{
var gotoAndStop, size, fObj, gotoAndPlay;
function Loader () {
super();
}
function onLoad() {
gotoAndStop(((size == "small") ? 1 : 9));
}
function setSize(__size) {
trace("__size : " + __size);
}
function callFunction(__target, __function, __size, __arg1, __arg2, __arg3) {
fObj = {size:__size, target:__target, func:__function, arg1:__arg1, arg2:__arg2, arg3:__arg3};
if (__size == size) {
executeFunction();
} else if (__size == "big") {
gotoAndPlay(2);
}
}
function executeFunction() {
if (fObj.func) {
size = fObj.size;
fObj.target[fObj.func](fObj.arg1, fObj.arg2, fObj.arg3);
delete fObj;
}
}
}
Symbol 3539 MovieClip [__Packages.asHighscore.Main] Frame 0
class asHighscore.Main extends MovieClip
{
var submit_url, visibilityViewAll, encryption, _x, gotoAndStop, mc, selectedListType, name, getURL, scBfr, removeMovieClip;
function Main () {
super();
submit_url = _global.highscorelink;
visibilityViewAll = false;
encryption = new asHighscore.Encryption();
_x = 200;
}
function showListView(__list, __extra) {
gotoAndStop(3);
if (__extra.message) {
mc.gotoAndStop(2);
mc.message.htmlText = __extra.message;
} else {
mc.top.title = "HIGHSCORES TOP 20";
mc.loader.removeMovieClip();
mc.createEmptyMovieClip("loader", mc.getNextHighestDepth());
var _local2 = 0;
while (_local2 < __list.length) {
var _local5 = mc["place" + (_local2 + 1)];
if (!_local5) {
_local5 = mc.loader.attachMovie("normalRow", "normalRow" + _local2, mc.loader.getNextHighestDepth(), {_y:195 + (_local2 * 15.6), _x:-1});
_local5.gotoAndStop(1 + ((_local2 + 1) % 2));
_local5.placeNumber.text = _local2 + 1;
if (_local5.placeNumber.text.length < 2) {
_local5.placeNumber.text = "0" + _local5.placeNumber.text;
}
} else {
_local5.placeNumber.text = _local2 + 1;
_local5._alpha = 100;
}
if (__extra.highlight == _local2) {
_local5.gotoAndStop(3);
}
_local5.name.name.text = __list[_local2].name;
_local5.name.name.autoSize = "left";
if (_local5.name._width > 184) {
_local5.name._width = 184;
}
_local5.score.text = __list[_local2].score;
_local2++;
}
if (__extra.extraplayer) {
var _local5 = mc.loader.attachMovie("normalRow", "normalRowEPRdots", mc.loader.getNextHighestDepth(), {_y:507, _x:-1});
_local5.gotoAndStop(2);
_local5.placeNumber.text = "..";
_local5.name.text = "..";
_local5.score.text = "..";
var _local7 = __extra.extraplayer.split("|");
_local5 = mc.loader.attachMovie("normalRow", "normalRowEPR", mc.loader.getNextHighestDepth(), {_y:522.6, _x:-1});
_local5.gotoAndStop(3);
_local5.placeNumber.text = _local7[0];
_local5.name.text = _local7[1];
_local5.score.text = _local7[2];
}
}
mc.viewAllText._visible = visibilityViewAll;
mc.viewAllText.title = "view all highscores";
mc.viewAllText.class = this;
var _local3 = [{btnName:"overallText", btnTitle:"Overall"}, {btnName:"todayText", btnTitle:"Today"}, {btnName:"weekText", btnTitle:"This week"}];
var _local2 = 0;
while (_local2 < _local3.length) {
mc[_local3[_local2].btnName].sel = false;
mc[_local3[_local2].btnName].title = _local3[_local2].btnTitle;
mc[_local3[_local2].btnName].gotoAndStop(1);
if (mc[_local3[_local2].btnName].title == selectedListType) {
mc[_local3[_local2].btnName].gotoAndStop(3);
mc[_local3[_local2].btnName].sel = true;
}
mc[_local3[_local2].btnName].class = this;
mc[_local3[_local2].btnName].setText();
_local2++;
}
mc.closeText.title = "close";
mc.closeText.underline = false;
mc.closeText.class = this;
mc.top.closeBtn.onPress = function () {
this._parent._parent._parent.close();
};
}
function triggerHackAttempt(__id, __message) {
}
function submitValuesView() {
if (mc.score.text != score) {
triggerHackAttempt(1000, (("Userattempt to adjust score " + score) + " to ") + mc.score.text);
}
submitValuesModel();
mc.closeBtn.onPress = function () {
this._parent._parent._parent.close();
};
}
function submitListRequestModel(__list) {
gotoAndStop(2);
mc.size = "big";
var _local3 = new LoadVars();
var set_result = new LoadVars();
set_result.main = this;
_local3.demo = (((_global.buygamelink == "") || (!_global.buygamelink)) ? false : true);
_local3.mode = "list";
_local3.list = __list;
_local3.p_name = name;
_local3.h_id = _global.h_id;
_local3.a_id = _global.affiliateId;
var _local5 = this;
set_result.onLoad = function (succes) {
if (succes) {
this.main.processPhp(set_result);
} else {
trace("fail");
}
};
var _local4 = getTimer().toString();
_local3.sendAndLoad((submit_url + "?key=") + _local4, set_result, "POST");
mc.top.closeBtn.onPress = function () {
this._parent._parent._parent.close();
};
}
function submitValuesModel() {
name = mc.username.text;
gotoAndStop(2);
mc.top.closeBtn.onPress = function () {
this._parent._parent._parent.close();
};
mc.size = "small";
var _local3 = new LoadVars();
var set_result = new LoadVars();
set_result.main = this;
_local3.mode = "submit";
_local3.g_score = score;
_local3.demo = (((_global.buygamelink == "") || (!_global.buygamelink)) ? false : true);
_local3.p_name = name;
_local3.g_id = _global.h_id;
_local3.h_id = _global.h_id;
_local3.key = encryption.getRandomString();
_local3.key2 = encryption.getRandomString();
_local3.key3 = encryption.encrypt((_local3.key + "_") + _local3.h_id.toString(), (_local3.key2 + "_") + score, 0);
_local3.key4 = encryption.getRandomString();
_local3.a_id = _global.affiliateId;
var _local5 = this;
set_result.onLoad = function (succes) {
if (succes) {
this.main.processPhp(set_result);
} else {
trace("fail");
}
};
var _local4 = getTimer().toString();
_local3.sendAndLoad((submit_url + "?key=") + _local4, set_result, "POST");
mc.top.closeBtn.onPress = function () {
this._parent._parent._parent.close();
};
}
function processPhp(__iObj) {
if ((__iObj.viewall == "true") && (!_global.blockViewAllHighScore)) {
visibilityViewAll = true;
}
switch (__iObj.view) {
case "listOverall" :
case "listToday" :
case "listThis week" :
selectedListType = __iObj.view.substr(4, __iObj.view.length - 4);
if (selectedListType == undefined) {
selectedListType = "Overall";
}
mc.callFunction(this, "showListModel", "big", generateList(__iObj.list), {extraplayer:__iObj.extraplayer, message:__iObj.message, highlight:__iObj.highlight});
break;
case "submit" :
mc.callFunction(this, "showSendView", "small", score, name, {message:__iObj.message});
}
}
function showList() {
submitListRequestModel("Today");
}
function select(__btnTitle) {
switch (__btnTitle) {
case "Overall" :
case "Today" :
case "This week" :
submitListRequestModel(__btnTitle);
break;
case "close" :
close();
break;
case "submit highscore" :
submitValuesView();
break;
case "view all highscores" :
getURL(((((submit_url + ((submit_url.split("?").length > 1) ? "&" : "?")) + "h_id=") + _global.h_id) + "&a_id=") + _global.affiliateId, "_blank");
break;
default :
trace("button not configured : " + __btnTitle);
}
}
function set score(t) {
scBfr = t * 3;
//return(score);
}
function get score() {
return(Math.floor(scBfr / 3));
}
function showSendView(__score, __name, __extra) {
gotoAndStop(1);
if (__extra.message) {
mc.gotoAndStop(2);
mc.message.htmlText = __extra.message;
}
mc.top.title = "SUBMIT HIGHSCORE";
score = (__score);
name = __name;
mc.sendText.title = "submit highscore";
mc.sendText.class = this;
mc.score.text = score;
mc.username.text = __name;
mc.closeText.title = "close";
mc.closeText.class = this;
mc.top.closeBtn.onPress = function () {
this._parent._parent._parent.close();
};
}
function showSend(__score, __name) {
showSendView(__score, __name);
}
function showListModel(__list, __extra) {
showListView(__list, __extra);
}
function generateList(__rawList) {
var _local3 = __rawList.split("||");
var _local6 = [];
var _local1 = 0;
while (_local1 < _local3.length) {
var _local2 = _local3[_local1].split("|");
_local6.push({name:_local2[0], score:_local2[1]});
_local1++;
}
return(_local6);
}
function close() {
removeMovieClip();
}
}
Symbol 3540 MovieClip [__Packages.asHighscore.Encryption] Frame 0
class asHighscore.Encryption
{
var errors, scramble1, scramble2, adj, mod, $fudgefactor;
function Encryption () {
errors = new Array();
scramble1 = "! #$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~";
scramble2 = "f^jAE]okIOzU[2&q1{3`h5w_794p@6s8?BgP>dFV=m D<TcS%Ze|r:lGK/uCy.Jx)HiQ!#$~(;Lt-R}Ma,NvW+Ynb*0X";
if (scramble1.length != scramble2.length) {
trigger_error("** SCRAMBLE1 is not same length as SCRAMBLE2 **", "E_USER_ERROR");
}
adj = 1.75;
mod = 3;
}
function getRandomString() {
var _local4 = "";
var _local3;
var _local2 = 0;
while (_local2 < 8) {
_local3 = Math.floor(Math.random() * scramble1.length);
_local4 = _local4 + scramble1.substr(_local3 - 1, 1);
_local2++;
}
return(_local4);
}
function trigger_error($mess) {
trace($mess);
}
function encrypt($key, $source, $sourcelen) {
if (!$sourcelen) {
$sourcelen = 0;
}
errors = new Array();
$fudgefactor = _convertKey($key);
if (errors.length > 0) {
return(undefined);
}
if (!$source) {
trace("No value has been supplied for encryption");
return(undefined);
}
while ($source.length < $sourcelen) {
$source = $source + " ";
}
var _local11 = "";
var _local10 = 0;
var _local3 = 0;
while (_local3 < $source.length) {
var _local9 = $source.substr(_local3, 1);
var _local5 = scramble1.indexOf(_local9);
if (_local5 === false) {
return(undefined);
}
var _local7 = _applyFudgeFactor($fudgefactor);
var _local6 = _local10 + _local7;
var _local2 = Math.round(_local6) + _local5;
_local2 = _checkRange(_local2);
_local10 = _local6 + _local2;
var _local8 = scramble2.substr(_local2, 1);
_local11 = _local11 + _local8;
_local3++;
}
return(_local11);
}
function _applyFudgeFactor() {
var _local2 = $fudgefactor.shift();
_local2 = _local2 + adj;
$fudgefactor.push(_local2);
if (mod) {
if (Math.floor(_local2 % mod) == 0) {
_local2 = _local2 * -1;
}
}
return(_local2);
}
function _checkRange($num) {
$num = Math.round($num);
var _local3 = scramble1.length;
while ($num >= _local3) {
$num = $num - _local3;
}
while ($num < 0) {
$num = $num + _local3;
}
return($num);
}
function _convertKey($key) {
if (!$key) {
trace("No value has been supplied for the encryption key");
return(undefined);
}
var _local7 = new Array();
_local7.push($key.length);
var _local5 = 0;
var _local2 = 0;
while (_local2 < $key.length) {
var _local4 = $key.substr(_local2, 1);
var _local3 = scramble1.indexOf(_local4);
if (_local3 === false) {
trace("Key contains an invalid character ($char)");
return(undefined);
}
_local7.push(_local3);
_local5 = _local5 + _local3;
_local2++;
}
_local7.push(_local5);
return(_local7);
}
}
Symbol 3541 MovieClip [__Packages.asHighscore.MainMiniclip] Frame 0
class asHighscore.MainMiniclip extends MovieClip
{
var showScoreBo;
function MainMiniclip () {
super();
}
function showSend(__score) {
showScoreBo = true;
_root.mchscre = __score;
render(_root.mchscre);
}
function showList() {
showScoreBo = false;
_root.mchscre = 0;
render();
}
function setStatusMCHS(__boo) {
_global.activeMiniClipHS = __boo;
}
function render(__score) {
var _local3 = com.miniclip.highscores.HighscoresLoader.start(__score);
setStatusMCHS(true);
_global.delayer.callFunction(this, "setStatusMCHS", 100, 1, false);
_local3.onClose = function () {
_global.activeMiniClipHS = false;
};
}
}
Symbol 3542 MovieClip [__Packages.com.miniclip.highscores.HighscoresLoader] Frame 0
class com.miniclip.highscores.HighscoresLoader
{
static var URL_PREFIX, score, target, game_quality, localConnectionID, ldr, singleInstance, objLocalConnection;
function HighscoresLoader () {
}
static function start(score) {
URL_PREFIX = ((_root._url.substring(0, 8) == "file:///") ? "http://www.miniclip.com/swfcontent/components/" : "/swfcontent/components/");
com.miniclip.highscores.HighscoresLoader.score = (isNaN(score) ? undefined : (Number(score)));
if (target == null) {
game_quality = _root._quality;
_root._quality = "HIGH";
target = _root.createEmptyMovieClip("miniclipHighScoresContainer", _root.getNextHighestDepth());
target.onUnload = function () {
com.miniclip.highscores.HighscoresLoader.target = undefined;
};
localConnectionID = "LC" + String(Math.floor(Math.random() * 1000000));
ldr = target.createEmptyMovieClip("ldr", 1);
initialize();
} else {
target.swapDepths(_root.getNextHighestDepth());
sendScore();
}
if (singleInstance == undefined) {
singleInstance = new com.miniclip.highscores.HighscoresLoader();
}
return(singleInstance);
}
static function initialize() {
objLocalConnection = new LocalConnection();
objLocalConnection.allowDomain = function (sendingDomain) {
return((sendingDomain == "www.miniclip.com") || (sendingDomain == "cms.miniclip.com"));
};
objLocalConnection.hsbready = function () {
com.miniclip.highscores.HighscoresLoader.sendScore();
};
objLocalConnection.hsbhidden = function () {
_root._quality = com.miniclip.highscores.HighscoresLoader.game_quality;
com.miniclip.highscores.HighscoresLoader.singleInstance.onClose();
};
objLocalConnection.connect(localConnectionID + "back");
var _local2 = new MovieClipLoader();
var _local3 = {};
_local2.addListener(_local3);
if (validateDomain()) {
var _local4 = buildQueryString();
_local2.loadClip((URL_PREFIX + HIGHSCORESBOX_SWF) + _local4, ldr);
} else {
_local2.loadClip(URL_PREFIX + OFFSITE_SWF, ldr);
}
}
static function sendScore() {
var _local1 = new LocalConnection();
_local1.send(localConnectionID, "setScore", score);
}
static function validateDomain() {
var _local3 = false;
var _local4 = _root._url;
var _local2 = 0;
while (_local2 < ALLOWED_DOMAINS.length) {
if (_url.indexOf(ALLOWED_DOMAINS[_local2]) >= 0) {
_local3 = true;
}
_local2++;
}
return(true);
}
static function buildQueryString() {
var _local3 = "?";
var _local2 = "";
for (var _local4 in _root) {
if (_local4.substring(0, 3) == "mc_") {
_local3 = _local3 + (((_local2 + _local4) + "=") + escape(_root[_local4]));
_local2 = "&";
}
}
_local3 = _local3 + ("&mc_lcid=" + localConnectionID);
return(_local3);
}
static function traceHelp() {
trace("You may contact Miniclip if the problem persists.");
}
static var HIGHSCORESBOX_SWF = "highscoresbox_v3.swf";
static var OFFSITE_SWF = "highscores_offsite.swf";
static var ALLOWED_DOMAINS = ["http://miniclip.com", "http://www.miniclip.com", "http://cms.miniclip.com", "miniclips.com"];
}
Symbol 3543 MovieClip [__Packages.as.view.menu.Indicator] Frame 0
class as.view.menu.Indicator
{
var totalTxt;
function Indicator () {
}
function set total(t) {
totalTxt.text = t.toString();
//return(total);
}
function get total() {
return(Number(totalTxt.text));
}
}
Symbol 3544 MovieClip [__Packages.as.view.menu.Button] Frame 0
class as.view.menu.Button extends MovieClip
{
var type, selected, nameString, title_mc, __get__nameS, totalFrame, speedIn, speedOut, menu, gotoAndStop, _currentframe, highlightBoo;
function Button () {
super();
type = "";
}
function onLoad() {
animation = (1);
if (selected) {
animation = (31);
}
}
function set nameS(s) {
nameString = s;
var _local3 = "";
if (nameString == "currentCity") {
_local3 = _global.careerModel.conf.city[_global.careerModel.userProgress.currentPosition.townId].title;
} else {
_local3 = _global.textDb[nameString.toLowerCase().split(" ").join("").split("&").join("").split("-").join("")];
}
var _local4 = new TextFormat();
_local4.size = 12;
if (_local3.length >= 17) {
_local4.size = 9;
} else if (_local3.length >= 14) {
_local4.size = 10;
} else if (_local3.length > 11) {
_local4.size = 11;
}
title_mc.title_txt.setNewTextFormat(_local4);
title_mc.title_txt.text = _local3;
title_mc.title_txt._y = title_mc.title_txt._y + (12 - _local4.size);
//return(__get__nameS());
}
function onRollOver() {
if (selected) {
return(false);
}
_global.motion.slide(this, "animation", _global.motion.none.Out, totalFrame, speedIn);
}
function onRollOut() {
if (selected) {
return(false);
}
_global.motion.slide(this, "animation", _global.motion.none.Out, 1, speedOut);
}
function onReleaseOutside() {
onRollOut();
}
function onPress() {
if (selected) {
return(false);
}
_global.engine.playSfx("Round Button bleep.wav", 0, _global.careerModel.userProgress.setting.soundFx);
menu["select" + type](nameString, this);
}
function set animation(t) {
if (!selected) {
gotoAndStop(Math.floor(t));
}
//return(animation);
}
function get animation() {
return(_currentframe);
}
function showActivation() {
gotoAndStop(30);
_global.motion.slide(title_mc, "_xscale", _global.motion.none.Out, 110, 1);
_global.motion.slide(title_mc, "_yscale", _global.motion.none.Out, 110, 1);
}
function showHighlight() {
if (highlightBoo) {
_global.motion.slide(title_mc, "_alpha", _global.motion.none.Out, 60, 3);
_global.delayer.callFunction(_global.motion, "slide", 4, 1, title_mc, "_alpha", _global.motion.none.Out, 100, 3);
_global.delayer.callFunction(this, "showHighlight", 22, 1);
}
}
function highlight() {
highlightBoo = true;
showHighlight();
}
}
Symbol 3545 MovieClip [__Packages.as.view.menu.DefaultListOption] Frame 0
class as.view.menu.DefaultListOption extends as.view.menu.Button
{
var type, speedIn, speedOut, totalFrame;
function DefaultListOption () {
super();
type = "ListOption";
speedIn = 3;
speedOut = 5;
totalFrame = 30;
}
}
Symbol 3546 MovieClip [__Packages.as.view.menu.PlayerInfo] Frame 0
class as.view.menu.PlayerInfo extends MovieClip
{
var ferryDuster, textLayer, reputationMask, moneyBfr, reputationBfr;
function PlayerInfo () {
super();
}
function onLoad() {
ferryDuster = new as.view.comsmetic.FerryDust(this);
update("init");
}
function update(mode) {
if (_global.textDb.Day.length > 4) {
var _local3 = new TextFormat();
_local3.size = 16;
if (_global.textDb.Day.length > 6) {
_local3.size = 14;
}
textLayer.dayTitle_txt.setNewTextFormat(_local3);
}
textLayer.dayTitle_txt.autoSize = "left";
textLayer.dayTitle_txt.text = _global.textDb.Day;
textLayer.day_txt._x = (5 + textLayer.dayTitle_txt._x) + textLayer.dayTitle_txt._width;
textLayer.cashTitle_txt.autoSize = "left";
textLayer.cashTitle_txt._x = textLayer.day_txt._x + textLayer.day_txt._width;
if (_global.textDb.Cash.length > 4) {
var _local3 = new TextFormat();
_local3.size = 16;
if (_global.textDb.Cash.length > 6) {
_local3.size = 14;
}
textLayer.cashTitle_txt.setNewTextFormat(_local3);
textLayer.cashTitle_txt._y = 8 + ((18 - _local3.size) / 2);
}
textLayer.cashTitle_txt.text = _global.textDb.Cash;
textLayer.cash_txt._x = (5 + textLayer.cashTitle_txt._x) + textLayer.cashTitle_txt._width;
textLayer.reputationTitle_txt.text = _global.textDb.Reputation;
if (mode == "init") {
textLayer.day_txt.text = _global.careerModel.userProgress.surrounding.day;
money = (_global.careerModel.userProgress.possession.money);
reputationMask._xscale = _global.careerModel.userProgress.surrounding.reputation[_global.careerModel.userProgress.currentPosition.townId];
reputation = (_global.careerModel.userProgress.surrounding.reputation[_global.careerModel.userProgress.currentPosition.townId]);
} else {
if (moneyBfr != _global.careerModel.userProgress.possession.money) {
_global.motion.slide(this, "money", _global.motion.regular.InOut, _global.careerModel.userProgress.possession.money, 20);
}
if (reputation != _global.careerModel.userProgress.surrounding.reputation[_global.careerModel.userProgress.currentPosition.townId]) {
var _local4 = _global.careerModel.userProgress.surrounding.reputation[_global.careerModel.userProgress.currentPosition.townId];
_global.motion.slide(this, "reputation", _global.motion.none.In, _global.careerModel.userProgress.surrounding.reputation[_global.careerModel.userProgress.currentPosition.townId], 7 * returnDistance(_local4, reputation));
}
}
}
function set money(t) {
moneyBfr = t;
textLayer.cash_txt.text = "$ " + Math.floor(moneyBfr);
//return(money);
}
function get money() {
return(moneyBfr);
}
function set reputation(t) {
if (t > reputationBfr) {
ferryDuster.insertParticle((2 + reputationMask._x) + reputationMask._width, reputationMask._y + 2);
}
reputationBfr = t;
reputationMask._xscale = t;
//return(reputation);
}
function get reputation() {
return(reputationBfr);
}
function returnDistance($pos1, $pos2) {
var _local1 = $pos1 - $pos2;
return(((_local1 < 0) ? (-_local1) : (_local1)));
}
}
Symbol 3547 MovieClip [__Packages.as.view.comsmetic.FerryDust] Frame 0
class as.view.comsmetic.FerryDust
{
var loader, lId, n, lifetime, eratic, scaleDim;
function FerryDust (__loader) {
if (__loader) {
loader = __loader;
}
if (!lId) {
lId = "particle";
}
n = 1;
lifetime = 25;
eratic = 100;
scaleDim = 1;
}
function insertParticle(x, y, __extra) {
var _local2 = loader.attachMovie(lId, "particle" + n, n, {_x:x, _y:y});
_local2._visible = true;
_local2.vx = random(3) - 1;
_local2.vy = random(3) - 1;
_local2.life = lifetime + ((Math.floor(Math.random() * 30) == 0) ? 37 : 0);
_local2.alphaDemin = 0;
if (Math.floor(Math.random() * 4) == 0) {
_local2.alphaDemin = 50;
}
_local2.initLife = _local2.life;
_local2.baseClass = this;
_local2.scaleDim = scaleDim;
_local2.ap = (_local2.life / _local2.initLife) * 100;
_local2._xscale = _local2.ap / _local2.scaleDim;
_local2._yscale = _local2.ap / _local2.scaleDim;
_local2.onEnterFrame = function () {
this.curx = this._x;
this.cury = this._y;
this._x = this._x + this.vx;
this._y = this._y + this.vy;
this.ap = ((this.life / this.initLife) * 100) - this.alphaDemin;
this._alpha = this.ap;
this._xscale = this.ap / this.scaleDim;
this._yscale = this.ap / this.scaleDim;
this.vx = this.vx + ((random(this.baseClass.eratic) - (this.baseClass.eratic / 2)) / this.ap);
this.vy = this.vy + ((random(this.baseClass.eratic) - (this.baseClass.eratic / 2)) / this.ap);
this.life--;
if (this.life < 0) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
n++;
return(_local2);
}
}
Symbol 3548 MovieClip [__Packages.as.career.view.city.CityPopupView] Frame 0
class as.career.view.city.CityPopupView extends MovieClip
{
var getPopupType, popup, checkOnPress, hit, _xmouse, _ymouse, index;
function CityPopupView () {
super();
}
function onRollOver() {
if (_global.activeScreen.animationLock) {
return(null);
}
getPopupType();
_global.motion.slide(this, "animation", _global.motion.none.Out, 9, 4);
}
function onRollOut() {
_global.motion.slide(this, "animation", _global.motion.none.Out, 1, animation);
}
function onPress() {
if (((popup._xmouse > popup.hit._x) && (popup._xmouse < (popup.hit._x + popup.hit._width))) && ((popup._ymouse > popup.hit._y) && (popup._ymouse < (popup.hit._y + popup.hit._height)))) {
checkOnPress();
} else if (((_xmouse > hit._x) && (_xmouse < (hit._x + hit._width))) && ((_ymouse > hit._y) && (_ymouse < (hit._y + hit._height)))) {
_global.activeScreen.selectProperty(index);
onRollOut();
}
}
function set animation(t) {
popup.gotoAndStop(Math.floor(t));
//return(animation);
}
function get animation() {
return(popup._currentframe);
}
}
Symbol 3549 MovieClip [__Packages.as.career.view.city.CityPropertyPopupView] Frame 0
class as.career.view.city.CityPropertyPopupView extends as.career.view.city.CityPopupView
{
var prop, type, dialogId, index, dialogMenu, popup, dialogArray, onRollOut;
function CityPropertyPopupView () {
super();
if (!prop) {
prop = new Object();
}
type = "property";
if (dialogId != undefined) {
init();
}
}
function getPopupType() {
var _local3 = _global.careerModel.getPropertyMarketType(index);
if (_local3 == "buy") {
dialogMenu = _global.activeScreen;
dialogId = 0;
init();
} else if (_local3 == "sell") {
dialogMenu = _global.activeScreen;
dialogId = 1;
init();
}
}
function init() {
attachPopup();
initDialog();
}
function attachPopup() {
popup.removeMovieClip();
var _local3 = "Brown";
var _local5 = "Right";
var _local6 = "";
var _local4 = {x:this[("popup" + _local3) + "Loader"]._x, y:this[("popup" + _local3) + "Loader"]._y};
this[("popup" + _local3) + "Loader"]._parent.localToGlobal(_local4);
if (_local4.x > 700) {
_local5 = "Left";
}
if (_local4.y < 20) {
_local6 = "Under";
}
popup = this[("popup" + _local3) + "Loader"].attachMovie((("cityPropertyPopup" + dialogId) + _local5) + _local6, "popup", 1);
popup.message.gotoAndStop(1 + dialogId);
popup.message.actionBuyTxt.text = _global.textDb.buyProp;
popup.message.actionSellTxt.text = _global.textDb.sellProp;
popup.message.OwnerTxt.text = _global.textDb.owner;
popup.message.ValueTxt.text = _global.textDb.value;
popup.message.IcomeTxt.text = _global.textDb.income;
if ((dialogId == 0) && (_global.careerModel.userProgress.possession.money < Number(prop.price.split("$").join("")))) {
popup.message.hit0._visible = false;
popup.message.hit1._visible = false;
popup.message.actionBuyTxt.htmlText = _global.textDb.notEnoughMon;
return(null);
}
}
function initDialog() {
switch (dialogId) {
case 0 :
case 1 :
dialogArray = [_global.textDb.yes, _global.textDb.no];
popup.message.nameTxt.text = prop.owner;
popup.message.incomeTxt.text = prop.income.split("[weekly]").join(_global.textDb.weekly.toLowerCase());
popup.message.valueTxt.text = prop.price;
}
var _local3 = 0;
while (_local3 < dialogArray.length) {
popup.message["hit" + _local3].title = dialogArray[_local3];
popup.message["hit" + _local3].menu = this;
_local3++;
}
}
function checkOnPress() {
var _local4 = "";
var _local3 = 0;
while (_local3 < dialogArray.length) {
if (((popup.message._xmouse > popup.message["hit" + _local3]._x) && (popup.message._xmouse < (popup.message["hit" + _local3]._x + popup.message["hit" + _local3]._width))) && ((popup.message._ymouse > popup.message["hit" + _local3]._y) && (popup.message._ymouse < (popup.message["hit" + _local3]._y + popup.message["hit" + _local3]._height)))) {
_local4 = dialogArray[_local3];
}
_local3++;
}
if (_local4 != "") {
switch (_local4) {
case _global.textDb.yes :
dialogMenu.processDialogMenu(this, _local4);
onRollOut();
break;
case _global.textDb.no :
onRollOut();
}
return(false);
}
return(true);
}
}
Symbol 3550 MovieClip [__Packages.as.career.view.city.CityPopupButtonView] Frame 0
class as.career.view.city.CityPopupButtonView
{
var title, title_txt, message;
function CityPopupButtonView () {
title_txt.text = title;
}
function onLoad() {
message.title_txt.text = title;
}
}
Symbol 3551 MovieClip [__Packages.as.career.view.MapTexasCityView] Frame 0
class as.career.view.MapTexasCityView extends MovieClip
{
var round_mc, ring, cityId, _y, _x, title, menu, popup, propertyAmount, transport, transportAble, rollOverMc;
function MapTexasCityView () {
super();
round_mc.gotoAndStop(1 + ring);
if (!(_global.careerModel.userProgress.possession.city.inArray(cityId) === false)) {
if (!(_global.careerModel.userProgress.possession.cityHighlighted.inArray(cityId) === false)) {
round_mc.gotoAndStop(6);
} else {
_global.ferryDust = new as.view.comsmetic.FerryDustAtPoint(_global.view.loader.createEmptyMovieClip("ferryDust", _global.view.loader.getNextHighestDepth()), {x:_x + 7, y:_y + 7});
_global.ferryDust.lId = "particleBlue";
_global.delayer.callFunction(round_mc, "gotoAndStop", 82, 1, 6);
_global.careerModel.userProgress.possession.cityHighlighted.push(cityId);
_global.delayer.callFunction(_global.engine, "playSfx", 15, 1, "New Transport circle.wav", 0, _global.careerModel.userProgress.setting.soundFx);
}
} else if (!(_global.careerModel.userProgress.possession.cityHighlighted.inArray(cityId) === false)) {
var _local5 = 24;
var _local7 = 5;
var _local4 = 0;
while (_local4 < _local5) {
_global.delayer.callFunction(round_mc, "gotoAndStop", 1 + Math.floor((_local4 * _local4) / 10), 1, (((_local4 % 2) == 0) ? 6 : (1 + ring)));
_local4++;
}
_global.delayer.callFunction(_global.careerModel, "activateCity", 75, 1, title);
var _local6 = _global.careerModel.userProgress.possession.cityHighlighted.inArray(cityId);
_global.careerModel.userProgress.possession.cityHighlighted.splice(_local6, 1);
}
menu = _global.activeScreen;
round_mc.pClass = this;
round_mc.onRollOver = function () {
this.pClass.onRollOver2();
};
round_mc.onPress = function () {
this.pClass.onPress2();
};
round_mc.onRollOut = function () {
this.pClass.onRollOut2();
};
}
function setProps() {
popup.animation.cityProp.city = title;
popup.animation.cityProp.propertyAmount = propertyAmount;
popup.animation.cityProp.transport = transport;
popup.animation.cityProp.cityTxt.text = _global.textDb.Cities;
popup.animation.cityProp.propertyTxt.text = _global.textDb.Properties + ":";
popup.animation.cityProp.TransportTxt.text = _global.textDb.Transport + ":";
}
function onRollOver2() {
if (_global.activeScreen.animationLock) {
return(null);
}
if (transportAble) {
if (round_mc.marker._currentframe != 2) {
round_mc.marker.gotoAndStop(3);
}
}
_global.motion.slide(this, "animation", _global.motion.none.Out, 8, 3);
rollOverMc._visible = true;
}
function onRollOut2() {
if (round_mc.marker._currentframe != 2) {
round_mc.marker.gotoAndStop(1);
}
_global.motion.slide(this, "animation", _global.motion.none.Out, 1, animation);
rollOverMc._visible = false;
}
function onPress2() {
if (!(_global.view.pressAllow === true)) {
return(null);
}
if (_global.activeScreen.animationLock) {
return(null);
}
if (transportAble) {
menu.select(title, this);
} else {
onRollOut2();
var _local4 = "";
var _local3 = 0;
while (_local3 < _global.careerModel.conf.city.length) {
if (_global.careerModel.conf.city[_local3].ring == (ring - 1)) {
_local4 = _local4 + (((_local4 == "") ? "" : ", ") + _global.careerModel.conf.city[_local3].title);
}
_local3++;
}
_global.help.request({id:3, x:_x + 8, y:_y - 18, ring:ring, replaceContent:{currentTown:("<b>" + _global.careerModel.conf.city[_global.careerModel.userProgress.currentPosition.townId].title) + "</b>", destinationTown:("<b>" + title) + "</b>", transportNeeded:("<b>" + transport) + "</b>", ring:ring, cityNames:("<b>" + _local4) + "</b>"}});
}
}
function set animation(t) {
popup.animation.gotoAndStop(Math.floor(t));
//return(animation);
}
function get animation() {
return(popup.animation._currentframe);
}
}
Symbol 3552 MovieClip [__Packages.as.view.comsmetic.FerryDustAtPoint] Frame 0
class as.view.comsmetic.FerryDustAtPoint extends as.view.comsmetic.FerryDust
{
var loader, curX, curY, curAmount, insertParticle;
function FerryDustAtPoint (__loader, __appearance) {
super();
loader = __loader;
curX = __appearance.x;
curY = __appearance.y;
curAmount = 0;
_global.delayer.callFunction(_global.motion, "slide", 10, 1, this, "curAmount", _global.motion.strong.In, 4, 70);
_global.delayer.callFunction(_global.motion, "slide", 80, 1, this, "curAmount", _global.motion.regular.Out, 0, 47);
}
function update() {
var _local2 = 0;
while (_local2 < curAmount) {
insertParticle((curX + (Math.random() * 4)) - 2, (curY + (Math.random() * 6)) - 3);
_local2++;
}
}
}
Symbol 3553 MovieClip [__Packages.as.view.menu.ArrowButton] Frame 0
class as.view.menu.ArrowButton extends as.view.menu.Button
{
var speedIn, speedOut, totalFrame, menu, __set__nameS, _currentframe, active, gotoAndPlay;
function ArrowButton () {
super();
speedIn = 15;
speedOut = 15;
totalFrame = 15;
menu = _global.cityView;
__set__nameS("texasMap");
}
function onRollOver() {
var _local2 = _currentframe + 1;
if (_local2 > totalFrame) {
_local2 = 1;
}
active = true;
gotoAndPlay(_local2);
}
function onRollOut() {
active = false;
}
}
Symbol 3554 MovieClip [__Packages.as.view.menu.OptionButton] Frame 0
class as.view.menu.OptionButton extends as.view.menu.Button
{
var totalFrame, speedIn, speedOut;
function OptionButton () {
super();
totalFrame = 30;
speedIn = 1;
speedOut = 5;
}
}
Symbol 3555 MovieClip [__Packages.as.view.menu.InputText] Frame 0
class as.view.menu.InputText extends MovieClip
{
var defaultText, value_txt;
function InputText () {
super();
}
function onLoad() {
value_txt.defaultText = defaultText;
value_txt.onSetFocus = function (oldFocus) {
};
value_txt.onChanged = function () {
this._parent.blinkingCursor._visible = false;
};
Selection.setFocus(value_txt);
}
function get title() {
return(value_txt.text);
}
}
Symbol 3556 MovieClip [__Packages.as.view.menu.DefaultButton] Frame 0
class as.view.menu.DefaultButton extends as.view.menu.Button
{
var speedIn, speedOut, totalFrame;
function DefaultButton () {
super();
speedIn = 3;
speedOut = 5;
totalFrame = 30;
}
}
Symbol 3557 MovieClip [__Packages.as.poker.view.CardView] Frame 0
class as.poker.view.CardView extends MovieClip
{
var typeId, gotoAndStop, _visible, graphcardshade;
function CardView (__iObj) {
super();
}
function onLoad() {
if (typeId === undefined) {
typeId = "back";
}
gotoAndStop(typeId);
}
function hide() {
_visible = false;
}
function show() {
_visible = true;
}
function removeShadow() {
graphcardshade._visible = false;
}
}
Symbol 3558 MovieClip [__Packages.as.view.menu.Menu] Frame 0
class as.view.menu.Menu
{
var menuName, menuLoad, seq, thir, layerBg, layerButton, conf, radioOptions, btnsSet, updateRadioOption;
function Menu () {
}
function showMenu(__name) {
menuName = __name;
menuLoad = _global.view.menuLoader;
if (seq) {
menuLoad = _global.view.menuLoader2;
}
if (thir) {
menuLoad = _global.view.menuLoader3;
}
layerBg = menuLoad.createEmptyMovieClip("bg" + menuLoad.getNextHighestDepth(), menuLoad.getNextHighestDepth());
layerButton = menuLoad.createEmptyMovieClip("btn" + menuLoad.getNextHighestDepth(), menuLoad.getNextHighestDepth());
layerBg.attachMovie(conf.bgString, "menuMainBg", 1);
if (!_global.textDb["menu" + __name]) {
trace("menu name not translated menu" + __name);
}
layerBg.menuMainBg.titleStr.text = _global.textDb["menu" + __name];
menuLoad._x = conf.position.x;
menuLoad._y = conf.position.y;
if (!(conf.position.intro.type === "fade")) {
} else {
menuLoad._alpha = 0;
_global.motion.slide(menuLoad, "_alpha", _global.motion.none.Out, 100, conf.position.intro.frames);
}
var _local5 = 0;
while (_local5 < conf.options.length) {
var _local7 = layerButton.attachMovie("defaultButton", "button" + conf.options[_local5], _local5, {_x:conf.button.startX + ((_local5 % conf.button.colAmount) * conf.button.xoffset), _y:conf.button.startY + (Math.floor(_local5 / conf.button.colAmount) * conf.button.yoffset)});
_local7.nameS = conf.options[_local5];
_local7.menu = this;
_local5++;
}
_local5 = 0;
while (_local5 < conf.alternativeButton.length) {
var _local7 = layerButton.attachMovie(conf.alternativeButton[_local5].linkage, "button" + conf.alternativeButton[_local5].name, layerButton.getNextHighestDepth(), {_x:conf.alternativeButton[_local5].x, _y:conf.alternativeButton[_local5].y});
_local7.nameS = conf.alternativeButton[_local5].name;
_local7.menu = this;
switch (conf.alternativeButton[_local5].type) {
case "inputText" :
_local7.defaultText = conf.alternativeButton[_local5].defaultText;
break;
case "invisibleHit" :
_local7._width = conf.alternativeButton[_local5].width;
_local7._height = conf.alternativeButton[_local5].height;
}
_local5++;
}
radioOptions = new Array();
_local5 = 0;
while (_local5 < conf.radioOptions.length) {
var _local6 = conf.radioSelected[_local5];
if (_local6 === undefined) {
_local6 = 0;
}
var _local3 = 0;
while (_local3 < conf.radioOptions[_local5].length) {
var _local4 = conf.radioOptions[_local5][_local3];
var _local7 = menuLoad.attachMovie("menuSelectingDot", "menuSelectingDot" + _local4.title, menuLoad.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y});
if (_local3 != _local6) {
_local7._alpha = 0;
} else {
radioOptions[_local5] = _local3;
}
_local3++;
}
_local5++;
}
_local5 = 0;
while (_local5 < conf.autoSelect.length) {
select(conf.autoSelect[_local5], layerButton["button" + conf.autoSelect[_local5]]);
_local5++;
}
btnsSet();
}
function select(__name, __button) {
if (this["process" + __name.split(" ").join("")]()) {
__button.showActivation();
}
}
function selectRadioOption(radio, option) {
menuLoad["menuSelectingDot" + conf.radioOptions[radio][radioOptions[radio]].title]._alpha = 0;
radioOptions[radio] = option;
menuLoad["menuSelectingDot" + conf.radioOptions[radio][radioOptions[radio]].title]._alpha = 100;
updateRadioOption(radio, option);
}
}
Symbol 3559 MovieClip [__Packages.as.view.menu.RedInfoBox] Frame 0
class as.view.menu.RedInfoBox extends as.view.menu.Menu
{
var extens, vsbfr, dec, valueTxt;
function RedInfoBox () {
super();
extens = "";
}
function set valueSet(__t) {
vsbfr = __t;
if (dec) {
var _local3 = Math.ceil(vsbfr * dec) / dec;
var _local2 = _local3.toString().split(".");
while (_local2[1].length < 2) {
_local2[1] = _local2[1] + "0";
}
valueTxt.text = _local2.join(",") + extens;
} else {
valueTxt.text = Math.ceil(vsbfr) + extens;
}
//return(valueSet);
}
function get valueSet() {
return(vsbfr);
}
}
Symbol 3560 MovieClip [__Packages.as.view.menu.Fader] Frame 0
class as.view.menu.Fader extends MovieClip
{
var vol, leds, loader, createEmptyMovieClip, getNextHighestDepth;
function Fader () {
super();
}
function onLoad() {
init();
}
function setSelectedLeds(_amount, update) {
vol = (_amount - 1) * 20;
var _local3 = 0;
while (_local3 < leds.length) {
if (_amount <= _local3) {
leds[_local3].gotoAndStop(1);
} else {
leds[_local3].gotoAndStop(2);
}
_local3++;
}
if (update != "no") {
_global.activeMenu.updateFader();
}
}
function init() {
loader.removeMovieClip();
createEmptyMovieClip("loader", getNextHighestDepth());
leds = new Array();
var _local3 = 0;
while (_local3 < 6) {
var _local2 = loader.attachMovie("FaderButton", "FaderButton" + _local3, loader.getNextHighestDepth());
_local2.gotoAndStop(1);
_local2._x = (_local3 * _local2._width) + 10;
_local2.id = _local3 + 1;
_local2.faderClass = this;
_local2.onPress = function () {
this.faderClass.setSelectedLeds(this.id);
};
leds.push(_local2);
_local3++;
}
leds[0].gotoAndStop(2);
setSelectedLeds(1 + Math.floor(vol / 20), "no");
}
}
Symbol 3561 MovieClip [__Packages.as.career.view.city.CityCrowdPopupView] Frame 0
class as.career.view.city.CityCrowdPopupView extends as.career.view.city.CityPopupView
{
var popup, message, totalFrame, __get__animation, dialogId, dialogArray, crowdId, eventId;
function CityCrowdPopupView () {
super();
popup.textBalloon.textMc.mess_txt.autoSize = true;
popup.textBalloon.textMc.mess_txt.wordWrap = true;
popup.textBalloon.textMc.mess_txt.htmlText = message;
var _local5 = initDialog();
totalFrame = 0;
var _local4 = (_local5 + popup.textBalloon.textMc._height) - 50;
if (_local4 < 0) {
_local4 = 0;
}
totalFrame = 16 + Math.floor(_local4 / 7);
if (totalFrame > 30) {
totalFrame = 30;
}
onRollOver2();
if (_global.selectPerson != undefined) {
delete _global.selectPerson;
_global.delayer.callFunction(this, "activate", 40, 1);
}
}
function onRollOver2() {
_global.motion.slide(this, "animation", _global.motion.regular.Out, totalFrame, Math.floor(totalFrame / 3));
_global.engine.playSfx("Hint pop up.wav", 0, _global.careerModel.userProgress.setting.soundFx);
}
function onRollOut() {
}
function onRollOver() {
}
function onRemove() {
_global.motion.slide(this, "animation", _global.motion.none.Out, 1, Math.floor(__get__animation() / 1.6));
_global.delayer.callFunction(this, "removeMovieClip", Math.floor(__get__animation() / 1.6) + 1, 1);
}
function initDialog() {
var _local4 = 0;
switch (dialogId) {
case 0 :
dialogArray = [_global.textDb.yes, _global.textDb.no];
var _local5 = popup.textBalloon.attachMovie("crowdTextPopupButton", "hit0", popup.textBalloon.getNextHighestDepth(), {_y:popup.textBalloon.textMc._height + 5, _x:30});
_local5 = popup.textBalloon.attachMovie("crowdTextPopupButton", "hit1", popup.textBalloon.getNextHighestDepth(), {_y:popup.textBalloon.textMc._height + 5, _x:100});
_local4 = 20;
break;
case 1 :
delete dialogArray;
}
var _local3 = 0;
while (_local3 < dialogArray.length) {
popup.textBalloon["hit" + _local3].title = dialogArray[_local3];
popup.textBalloon["hit" + _local3].menu = this;
_local3++;
}
return(_local4);
}
function checkOnPress() {
var _local4 = "";
var _local3 = 0;
while (_local3 < dialogArray.length) {
if (((popup.textBalloon._xmouse > popup.textBalloon["hit" + _local3]._x) && (popup.textBalloon._xmouse < (popup.textBalloon["hit" + _local3]._x + popup.textBalloon["hit" + _local3]._width))) && ((popup.textBalloon._ymouse > popup.textBalloon["hit" + _local3]._y) && (popup.textBalloon._ymouse < (popup.textBalloon["hit" + _local3]._y + popup.textBalloon["hit" + _local3]._height)))) {
_local4 = dialogArray[_local3];
}
_local3++;
}
if (_local4 != "") {
if (!(dialogId === 0)) {
} else {
switch (_local4) {
case _global.textDb.yes :
activate();
break;
case _global.textDb.no :
_global.cityView.closePopups();
}
}
return(false);
}
return(true);
}
function activate() {
_global.cityView.activateCrowdRequest(crowdId, eventId);
}
}
Symbol 3562 MovieClip [__Packages.as.SoundEngine] Frame 0
class as.SoundEngine extends MovieClip
{
var soundTracks, events, loopvar, dealerBuffer, dealerPhrase, createEmptyMovieClip, getNextHighestDepth, attachMovie;
function SoundEngine () {
super();
soundTracks = new Array();
events = new Array();
}
function stopAll(_fade) {
if (_fade < 0) {
var _local3 = 0;
while (_local3 < soundTracks.length) {
var _local2 = 0;
while (_local2 < soundTracks[_local3].length) {
soundTracks[_local3][_local2].resetTrack();
_local2++;
}
_local3++;
}
}
}
function getVol(__type, __toAdd) {
var _local4;
var _local2;
var _local3;
_local4 = false;
if (__toAdd < 1) {
_local4 = true;
__toAdd = __toAdd * -1;
}
_local2 = _global.careerModel.userProgress.setting[__type];
if ((!_local2) || (_local2 < 0)) {
return(0);
}
_local3 = Math.round((__toAdd * _local2) / 100);
_local2 = (_local4 ? (_local2 - _local3) : (_local2 + _local3));
if ((!_local2) || (_local2 < 0)) {
_local2 = 0;
}
return(_local2);
}
function doWalk() {
if ((_global.careerModel.userProgress.setting.soundFx - 20) < 1) {
return(null);
}
var _local3 = (Math.ceil(Math.random() * 5) * 2) - loopvar;
soundTracks[2][loopvar].attachSound(("GRAVEL " + _local3) + ".wav");
soundTracks[2][loopvar].volume(getVol("soundFx", -20));
soundTracks[2][loopvar].start(0, 1);
if (loopvar > 0) {
loopvar = 0;
} else {
loopvar = 1;
}
}
function pauseAll(_fade) {
}
function resumeAll(_fade) {
}
function update() {
var _local3 = new Array();
_local3 = events[0];
var _local2 = 0;
while (_local2 < _local3.length) {
var _local4 = _local3[_local2].action;
this[_local3[_local2].action](_local3[_local2].args);
_local2++;
}
events.shift();
}
function startMusic(_musicString, _fade) {
if (_global.model.speed != 1) {
return(null);
}
soundTracks[0][0].startSound(new Object({wave:_musicString, loop:false, volume:getVol("soundMusic", -20), panning:0}));
}
function stopMusic(_fade) {
if (_fade > 0) {
var _local2 = 0;
while (_local2 < _fade) {
if (events[_local2] == undefined) {
events[_local2] = new Array();
}
events[_local2].push(new Object({action:"modifyTrack", args:new Object({track:0, type:0, volume:getVol("soundMusic", -(20 + ((_local2 + 1) * Math.round(80 / _fade)))), panning:0})}));
_local2++;
}
if (events[_fade] == undefined) {
events[_fade] = new Array();
}
events[_fade].push(new Object({action:"stopMusic", args:0}));
} else {
soundTracks[0][0].resetTrack();
}
}
function startAmbience(_ambience) {
var ambclass = eval (("as.Sounds." + _ambience) + "Scape");
if (!soundTracks[1][0].isPlaying) {
soundTracks[1][0].startSound(new Object({wave:ambclass.mainScape(), loop:true, volume:getVol("soundFx", -70), panning:0}));
}
var nextambvar = Math.round(100 + random(200));
if (events[nextambvar] == undefined) {
events[nextambvar] = new Array();
}
events[nextambvar].push(new Object({action:"startAmbience", args:_ambience}));
if (ambclass.variation()) {
events[nextambvar].push(new Object({action:"playAmbSfx", args:new Object({wave:ambclass.variation(), volume:getVol("soundFx", -75 + Math.round(Math.random() * 30)), panning:Math.round(random(200) - 100), _fade:false})}));
}
}
function stopAmbience(_fade) {
if (_fade > 0) {
var _local3 = 0;
while (_local3 < _fade) {
if (events[_local3] == undefined) {
events[_local3] = new Array();
}
events[_local3].push(new Object({action:"modifyTrack", args:new Object({track:0, type:1, volume:getVol("soundFx", -(70 + ((_local3 + 1) * Math.round(30 / _fade)))), panning:0})}));
_local3++;
}
if (events[_fade] == undefined) {
events[_fade] = new Array();
}
events[_fade].push(new Object({action:"stopAmbience", args:0}));
} else {
soundTracks[1][0].resetTrack();
var _local3 = 0;
while (_local3 < events.length) {
var _local2 = 0;
while (_local2 < events[_local3].length) {
if ((events[_local3][_local2].action == "startAmbience") || (events[_local3][_local2].action == "playAmbSfx")) {
events[_local3][_local2] = undefined;
}
_local2++;
}
_local3++;
}
}
}
function updateVolume() {
if (events[0] == undefined) {
events[0] = new Array();
}
events[0].push(new Object({action:"modifyTrack", args:new Object({track:0, type:1, volume:getVol("soundFx", -40), panning:0})}));
}
function pauseAmbience(_fade) {
}
function dealerVoice(_amount, _phrase, _gender) {
if (_global.model.speed > 2) {
return(null);
}
soundTracks[2][0].resetTrack();
soundTracks[2][1].resetTrack();
dealerBuffer.stop();
delete dealerBuffer.onSoundComplete;
dealerPhrase = new Array();
var _local3 = as.Sounds.VoiceDealer[_phrase.toUpperCase()];
var _local4 = 0;
while (_local4 < _local3.order.length) {
if (_local3.order[_local4] == "CASH") {
generateCash(_amount);
} else if (_local3[_local3.order[_local4]].gender) {
var _local5 = _local3[_gender.toUpperCase()];
if (_local5.vari) {
var _local6 = _local5.wave[Math.floor(Math.random() * _local5.wave.length)];
dealerPhrase.push(_local6);
} else {
var _local6 = _local5.wave;
dealerPhrase.push(_local6);
}
} else if (_local3[_local3.order[_local4]].vari) {
dealerPhrase.push(_local3[_local3.order[_local4]].wave[Math.floor(Math.random() * _local3[_local3.order[_local4]].wave.length)]);
} else {
dealerPhrase.push(_local3[_local3.order[_local4]].wave);
}
_local4++;
}
playDealer();
}
function playerVoice(_type, _phrase, _panPos, _id, _gender) {
if (_global.model.speed > 2) {
return(null);
}
var voiceclass = eval ("as.Sounds.Voice" + _type.toString());
var snd = voiceclass[_phrase.toString()]();
var pan = (-35 + Math.round((_panPos / 800) * 130));
var newId = -1;
if (snd != undefined) {
newId = getUniqueId();
if (!soundTracks[3][0].isPlaying) {
soundTracks[3][0].startSound(new Object({wave:snd, loop:false, volume:getVol("soundFx", 0), panning:pan, id:newId}));
} else {
soundTracks[3][1].startSound(new Object({wave:snd, loop:false, volume:getVol("soundFx", 0), panning:pan, id:newId}));
}
} else if ((_phrase != "Think") && (_phrase != "Win")) {
if (Math.round(Math.random() * 10) > 4) {
dealerVoice(_global.dealerSpeechNumber, _phrase, _gender);
}
}
return(newId);
}
function stopVoices(_fade) {
}
function pauseVoices(_fade) {
}
function resumeVoices(_fade) {
}
function playSfx(_sfx, _pan, _vol) {
if (_vol < 1) {
return(null);
}
if (_global.model.speed > 2) {
return(null);
}
var _local3 = -1;
var _local11 = as.Sounds.sfx[_sfx]();
if (_local11 == undefined) {
_local11 = _sfx;
}
var _local4 = -35 + Math.round((_pan / 800) * 130);
if (_local11 != undefined) {
_local3 = getUniqueId();
if (!soundTracks[4][0].isPlaying) {
soundTracks[4][0].startSound(new Object({wave:_local11, loop:false, volume:_vol, panning:_local4, id:_local3}));
} else if (!soundTracks[4][1].isPlaying) {
soundTracks[4][1].startSound(new Object({wave:_local11, loop:false, volume:_vol, panning:_local4, id:_local3}));
} else if (!soundTracks[4][2].isPlaying) {
soundTracks[4][2].startSound(new Object({wave:_local11, loop:false, volume:_vol, panning:_local4, id:_local3}));
} else if (!soundTracks[4][3].isPlaying) {
soundTracks[4][3].startSound(new Object({wave:_local11, loop:false, volume:_vol, panning:_local4, id:_local3}));
} else if (!soundTracks[4][4].isPlaying) {
soundTracks[4][4].startSound(new Object({wave:_local11, loop:false, volume:_vol, panning:_local4, id:_local3}));
}
}
if (_local3 >= 0) {
return(true);
}
return(false);
}
function stopSfx(_fade) {
}
function pauseSfx(_fade) {
}
function resumeSfx(_fade) {
}
function onLoad() {
init();
}
function playDealer() {
if (_global.careerModel.userProgress.setting.soundFx < 1) {
return(null);
}
if (dealerPhrase.length > 0) {
soundTracks[2][0].attachSound(dealerPhrase[dealerPhrase.length - 1]);
var _local3 = getVol("soundFx", 0);
if (_local3 > 30) {
_local3 = _local3 - 20;
}
soundTracks[2][0].setVolume(_local3);
dealerBuffer.attachSound(dealerPhrase[dealerPhrase.length - 1]);
dealerBuffer.setVolume(0);
dealerBuffer.start(0.0333333333333333, 1);
soundTracks[2][0].start(0, 1);
dealerBuffer.mainClass = this;
dealerBuffer.onSoundComplete = function () {
this.mainClass.playDealer();
};
dealerPhrase.pop();
}
}
function generateCash(num) {
if (num > 0) {
if (num > 1) {
dealerPhrase.push("dollars.wav");
} else {
dealerPhrase.push("dollar.wav");
}
var _local2;
var _local7 = num - (Math.floor(num / 1000) * 1000);
if (_local7 != 0) {
_local2 = traceNumber(num - (Math.floor(num / 1000) * 1000));
var _local3 = 0;
while (_local3 < _local2.length) {
dealerPhrase.push(_local2[_local3]);
_local3++;
}
}
if (num >= 1000) {
var _local5 = Math.floor(num / 1000);
var _local6 = _local5 - (Math.floor(_local5 / 1000) * 1000);
if (_local6 != 0) {
_local2 = traceNumber(_local6);
dealerPhrase.push("Number-1000.wav");
var _local3 = 0;
while (_local3 < _local2.length) {
dealerPhrase.push(_local2[_local3]);
_local3++;
}
}
}
if (num >= 1000000) {
_local2 = traceNumber(Math.floor(num / 1000000));
dealerPhrase.push("Number-1000000.wav");
var _local3 = 0;
while (_local3 < _local2.length) {
dealerPhrase.push(_local2[_local3]);
_local3++;
}
}
}
}
function traceNumber(num) {
var _local3 = new Array();
var _local2 = num - (Math.floor(num / 100) * 100);
if (_local2 > 0) {
if (_local2 < 20) {
if (_local2 < 10) {
_local3.push(("Number-0" + _local2) + ".wav");
} else {
_local3.push(("Number-" + _local2) + ".wav");
}
} else {
var _local4 = _local2 - (Math.floor(_local2 / 10) * 10);
if (_local4 > 0) {
_local3.push(("Number-0" + _local4) + ".wav");
}
var _local6 = Math.floor(_local2 / 10) * 10;
_local3.push(("Number-" + _local6) + ".wav");
}
}
if ((num > 100) && ((num - (Math.floor(num / 100) * 100)) > 0)) {
var _local5 = Math.floor((num - (Math.floor(num / 1000) * 1000)) / 100);
_local3.push(("Number-" + _local5) + "00.wav");
} else if ((num - (Math.floor(num / 100) * 100)) == 0) {
var _local5 = Math.floor((num - (Math.floor(num / 1000) * 1000)) / 100);
_local3.push(("Number-" + _local5) + "00.wav");
}
return(_local3);
}
function getUniqueId() {
var _local2 = 0;
while (_local2 < 999) {
if (this["ID" + _local2.toString()] == undefined) {
this["ID" + _local2.toString()] = _local2;
return(_local2);
}
_local2++;
}
return(-1);
}
function modifyTrack(args) {
soundTracks[args.type][args.track].modifyTrack(args.volume, args.panning);
}
function trackComplete(eventObj) {
delete this["ID" + eventObj.id.toString()];
}
function playAmbSfx(eventObj) {
if (eventObj.wave == undefined) {
return(null);
}
if (eventObj.volume < 1) {
return(null);
}
if (!soundTracks[1][1].isPlaying) {
soundTracks[1][1].startSound(eventObj);
} else {
soundTracks[1][2].startSound(eventObj);
}
}
function init() {
dealerBuffer = new Sound(createEmptyMovieClip("DEALERBUF", getNextHighestDepth()));
soundTracks.push(new Array());
var _local2 = 0;
while (_local2 < 3) {
soundTracks[0].push(attachMovie("track_mc", "MUSIC" + getNextHighestDepth(), getNextHighestDepth(), {track:_local2, type:"music"}));
soundTracks[0][_local2].addEventListener("complete", as.core.Delegate.create(this, trackComplete));
_local2++;
}
soundTracks.push(new Array());
_local2 = 0;
while (_local2 < 3) {
soundTracks[1].push(attachMovie("track_mc", "AMBIENCE" + getNextHighestDepth(), getNextHighestDepth(), {track:_local2, type:"ambience"}));
soundTracks[1][_local2].addEventListener("complete", as.core.Delegate.create(this, trackComplete));
_local2++;
}
soundTracks.push(new Array());
_local2 = 0;
while (_local2 < 2) {
soundTracks[2].push(new Sound(createEmptyMovieClip("DEALER" + _local2, getNextHighestDepth())));
_local2++;
}
soundTracks.push(new Array());
_local2 = 0;
while (_local2 < 2) {
soundTracks[3].push(attachMovie("track_mc", "VOICE" + getNextHighestDepth(), getNextHighestDepth(), {track:_local2, type:"voice"}));
soundTracks[3][_local2].addEventListener("complete", as.core.Delegate.create(this, trackComplete));
_local2++;
}
soundTracks.push(new Array());
_local2 = 0;
while (_local2 < 5) {
soundTracks[4].push(attachMovie("track_mc", "SFX" + getNextHighestDepth(), getNextHighestDepth(), {track:_local2, type:"sfx"}));
soundTracks[4][_local2].addEventListener("complete", as.core.Delegate.create(this, trackComplete));
_local2++;
}
}
function checkClasses() {
var _local1;
_local1 = as.Sounds.BackroomScape.mainScape;
_local1 = as.Sounds.BarScape.mainScape;
_local1 = as.Sounds.BarScape.mainScape;
_local1 = as.Sounds.DayScape.mainScape;
_local1 = as.Sounds.NightScape.mainScape;
_local1 = as.Sounds.OutsideScape.mainScape;
_local1 = as.Sounds.SaloonScape.mainScape;
_local1 = as.Sounds.VoiceGangster.Bet();
_local1 = as.Sounds.VoiceIndonesian.Bet;
_local1 = as.Sounds.VoiceItalian.Bet;
_local1 = as.Sounds.VoiceMale1.Bet;
_local1 = as.Sounds.VoiceMale2.Bet;
_local1 = as.Sounds.VoiceMale3.Bet;
_local1 = as.Sounds.VoiceMale4.Bet;
_local1 = as.Sounds.VoiceMale5.Bet;
_local1 = as.Sounds.VoiceMale6.Bet;
_local1 = as.Sounds.VoiceGovernor.Bet;
_local1 = as.Sounds.VoiceTurkish.Bet;
_local1 = as.Sounds.VoiceFemale1.Bet;
_local1 = as.Sounds.VoiceFemale2.Bet;
_local1 = as.Sounds.VoiceFemale3.Bet;
_local1 = as.Sounds.VoiceFemale4.Bet;
}
}
Symbol 3563 MovieClip [__Packages.as.Sounds.VoiceDealer] Frame 0
class as.Sounds.VoiceDealer
{
function VoiceDealer () {
}
static var CHEAT = Object({order:["PART", "POST"]});
static var BIGBLIND = Object({order:["CASH", "PART"], PART:Object({vari:false, wave:"BigBlind.wav"})});
static var SMALLBLIND = Object({order:["CASH", "PART"], PART:Object({vari:false, wave:"SmallBlind.wav"})});
static var BIGRAISED = Object({order:["CASH", "PART"], PART:Object({vari:true, wave:"BigRaisedTo.wav"})});
static var ALLIN = Object({order:["CASH", "PART"], PART:Object({vari:false, wave:"AllInWith.wav"})});
static var CALL = Object({order:["PART"], PART:Object({vari:false, gender:true}), MALE:Object({vari:false, wave:"CallMale.wav"}), FEMALE:Object({vari:true, wave:["CallFemale-01.wav", "CallFemale-02.wav"]})});
static var FLOP = Object({order:["PART"], PART:Object({vari:false, wave:"Flop.wav"})});
static var TURN = Object({order:["PART"], PART:Object({vari:false, wave:"Turn.wav"})});
static var RIVER = Object({order:["PART"], PART:Object({vari:false, wave:"River.wav"})});
static var SPLIT = Object({order:["PART"], PART:Object({vari:false, wave:"SplitPot.wav"})});
static var CHECK = Object({order:["PART"], PART:Object({vari:false, wave:"PlayerCheck.wav"})});
static var POT = Object({order:["CASH", "PART"], PART:Object({vari:false, wave:"TotalPot.wav"})});
static var WINNER = Object({order:["CASH", "PART"], PART:Object({vari:true, wave:["WinnerWith.wav", "WinnerTakes.wav"]})});
static var LEFT = Object({order:["PART"], PART:Object({vari:false, wave:"PlayerLeft.wav"})});
static var OUTOFMONEY = Object({order:["PART"], PART:Object({vari:false, wave:"PlayerOutOfMoney.wav"})});
static var JOIN = Object({order:["PART"], PART:Object({vari:false, wave:"PlayerNew.wav"})});
}
Symbol 3564 MovieClip [__Packages.as.Sounds.sfx] Frame 0
class as.Sounds.sfx
{
function sfx () {
}
static function ChipsThrow() {
var _local1 = new Array("ChipsThrow1.wav", "ChipsThrow2.wav", "ChipsThrow3.wav", "ChipsThrow4.wav", "ChipsThrow5.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Chip() {
var _local1 = new Array("Chip1.wav", "Chip2.wav", "Chip3.wav", "Chip4.wav", "Chip5.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Card() {
var _local1 = new Array("Card1.wav", "Card2.wav", "Card3.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Stack() {
return("CardStack.wav");
}
static function Wind() {
return("wind.wav");
}
static function governorPlayerWin() {
return("GovernorPlayerWin.wav");
}
static function governorPlayerLose() {
return("GovernorPlayerLose.wav");
}
static function Throw() {
return("CardThrow.wav");
}
static function Whipe() {
var _local1 = new Array("Whipe1.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Knock() {
var _local1 = new Array("Knock1.wav", "Knock2.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
}
Symbol 3565 MovieClip [__Packages.as.core.Delegate] Frame 0
class as.core.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, __func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = __func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = __func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 3566 MovieClip [__Packages.as.Sounds.BackroomScape] Frame 0
class as.Sounds.BackroomScape
{
function BackroomScape () {
}
static function mainScape() {
return("BackroomBase.wav");
}
static function variation() {
var _local1 = new Array(0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11);
var _local2 = new Array("ambfx", "BackroomApplause.wav", "BackroomBoots.wav", "BackroomFight.wav", "BackroomGlass.wav", "BackroomGlass2.wav", "BackroomGroar.wav", "BackroomLaugh.wav", "BackroomLaugh2.wav", "BackroomPiano.wav", "BackroomSqueak-01.wav", "BackroomSqueak-02.wav");
return(_local2[_local1[Math.floor(random(_local1.length))]]);
}
static function door(_stage) {
if (_stage == 0) {
return({type:"oneshot", args:{action:"playAmbSfx", args:{wave:"DoorOpen-01.wav", volume:40, panning:-41, _fade:false}}});
}
if (_stage == 1) {
return({type:"manipulate", args:{track:0, action:"setTrans", varType:"Number", vars:["ll", "lr"], begin:[0, 100], end:[100, 0], steps:50}});
}
if (_stage == 2) {
return({type:"oneshot", args:{action:"playAmbSfx", args:{wave:"SaloonBoots.wav", volume:40, panning:-41, _fade:false}}});
}
if (_stage == 3) {
return({type:"manipulate", args:{track:0, action:"setTrans", varType:"Number", vars:["ll", "lr"], begin:[100, 0], end:[0, 100], steps:50}});
}
if (_stage == 0) {
trace("STAGE " + _stage);
return({type:"oneshot", args:{action:"playAmbSfx", args:{wave:"DoorClose-01.wav", volume:40, panning:-41, _fade:false}}});
}
}
}
Symbol 3567 MovieClip [__Packages.as.Sounds.BarScape] Frame 0
class as.Sounds.BarScape
{
function BarScape () {
}
static function mainScape() {
return("BarBase.wav");
}
static function variation() {
var _local1 = new Array(0, 0, 1, 1, 2, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 7);
var _local2 = new Array("BarPiano.wav", "BarPiano2.wav", "BarViolin.wav", "BarBanjo.wav", "BarYell.wav", "BarFight.wav", "BarPistols.wav");
return(_local2[_local1[Math.floor(random(_local1.length))]]);
}
}
Symbol 3568 MovieClip [__Packages.as.Sounds.DayScape] Frame 0
class as.Sounds.DayScape
{
function DayScape () {
}
static function mainScape() {
return(["DayMain.wav"]);
}
static function variation() {
var _local1 = new Array(0, 1, 2, 3);
var _local2 = new Array("Crow1.wav", "Crow2.wav", "Crow3.wav", "Horse1.wav");
return(_local2[_local1[Math.floor(random(_local1.length))]]);
}
}
Symbol 3569 MovieClip [__Packages.as.Sounds.NightScape] Frame 0
class as.Sounds.NightScape
{
function NightScape () {
}
static function mainScape() {
return(["NightMain.wav"]);
}
static function variation() {
var _local1 = new Array(0, 0, 1, 2);
var _local2 = new Array("Owl.wav", "Wolve.wav", "Wolves.wav");
return(_local2[_local1[Math.floor(random(_local1.length))]]);
}
}
Symbol 3570 MovieClip [__Packages.as.Sounds.OutsideScape] Frame 0
class as.Sounds.OutsideScape
{
function OutsideScape () {
}
static function mainScape() {
return("OutsideBase.wav");
}
static function variation() {
var _local1 = new Array(0, 0, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 4);
var _local2 = new Array("OutsideCrickets.wav", "OutsideRattlesnake.wav", "OutsideHorses.wav", "OutsidePistols.wav", "OutsideAccordion.wav");
return(_local2[_local1[Math.floor(random(_local1.length))]]);
}
}
Symbol 3571 MovieClip [__Packages.as.Sounds.SaloonScape] Frame 0
class as.Sounds.SaloonScape
{
function SaloonScape () {
}
static function mainScape() {
return("SaloonBase.wav");
}
static function variation() {
var _local1 = new Array(0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8);
var _local2 = new Array("SaloonLaugh.wav", "SaloonPiano.wav", "SaloonBoots.wav", "SaloonGlass.wav", "SaloonGlass2.wav", "SaloonGroar.wav", "SaloonFight.wav", "SaloonApplause.wav");
return(_local2[_local1[Math.floor(random(_local1.length))]]);
}
static function checkClass() {
}
}
Symbol 3572 MovieClip [__Packages.as.Sounds.VoiceGangster] Frame 0
class as.Sounds.VoiceGangster
{
function VoiceGangster () {
}
static function AllIn() {
var _local1 = new Array("GangsterAllIn-01.wav", "GangsterAllIn-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Bet() {
return("GangsterBet-01.wav");
}
static function Call() {
return("GangsterCall-01.wav");
}
static function Check() {
return("GangsterCheck-01.wav");
}
static function Fold() {
return("GangsterFold-01.wav");
}
static function Intimidate() {
var _local1 = new Array("GangsterIntimidate-01.wav", "GangsterIntimidate-02.wav", "GangsterIntimidate-03.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("GangsterThreatened-01.wav", "GangsterThreatened-02.wav", "GangsterThreatened-03.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
return("GangsterRaise-01.wav");
}
static function Win() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3573 MovieClip [__Packages.as.Sounds.VoiceIndonesian] Frame 0
class as.Sounds.VoiceIndonesian
{
function VoiceIndonesian () {
}
static function AllIn() {
return("IndonesianAllIn-01.wav");
}
static function Bet() {
return("IndonesianBet-01.wav");
}
static function Call() {
return("IndonesianCall-01.wav");
}
static function Check() {
return("IndonesianCheck-01.wav");
}
static function Fold() {
return("IndonesianFold-01.wav");
}
static function Intimidate() {
var _local1 = new Array("IndonesianIntimidate-01.wav", "IndonesianIntimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("IndonesianThreatened-01.wav", "IndonesianThreatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
return("IndonesianRaise-01.wav");
}
static function Win() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3574 MovieClip [__Packages.as.Sounds.VoiceItalian] Frame 0
class as.Sounds.VoiceItalian
{
function VoiceItalian () {
}
static function AllIn() {
return("ItalianAllIn-01.wav");
}
static function Bet() {
return("ItalianBet-01.wav");
}
static function Call() {
var _local1 = new Array("ItalianCall-01.wav", "ItalianCall-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Check() {
var _local1 = new Array("ItalianCheck-01.wav", "ItalianCheck-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Fold() {
var _local1 = new Array("ItalianFold-01.wav", "ItalianFold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("ItalianIntimidate-01.wav", "ItalianIntimidate-02.wav", "ItalianIntimidate-03.wav", "ItalianIntimidate-04.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
return("ItalianThreatened-01.wav");
}
static function Raise() {
var _local1 = new Array("ItalianRaise-01.wav", "ItalianRaise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3575 MovieClip [__Packages.as.Sounds.VoiceMale1] Frame 0
class as.Sounds.VoiceMale1
{
function VoiceMale1 () {
}
static function AllIn() {
return("Male1AllIn-01.wav");
}
static function Bet() {
return("Male1Bet-01.wav");
}
static function Call() {
var _local1 = new Array("Male1Call-01.wav", "Male1Call-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Check() {
var _local1 = new Array("Male1Check-01.wav", "Male1Check-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Fold() {
var _local1 = new Array("Male1Fold-01.wav", "Male1Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
return("Male1Intimidate-01.wav");
}
static function Threatened() {
return("Male1Threatened-01.wav");
}
static function Raise() {
var _local1 = new Array("Male1Raise-01.wav", "Male1Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3576 MovieClip [__Packages.as.Sounds.VoiceMale2] Frame 0
class as.Sounds.VoiceMale2
{
function VoiceMale2 () {
}
static function AllIn() {
return(undefined);
}
static function Bet() {
return("Male2Bet-01.wav");
}
static function Call() {
return("Male2Call-01.wav");
}
static function Check() {
return("Male2Check-01.wav");
}
static function Fold() {
return("Male2Fold-01.wav");
}
static function Intimidate() {
var _local1 = new Array("Male2Intimidate-01.wav", "Male2Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
return("Male2Threatened-01.wav");
}
static function Raise() {
return("Male2Raise-01.wav");
}
static function Win() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3577 MovieClip [__Packages.as.Sounds.VoiceMale3] Frame 0
class as.Sounds.VoiceMale3
{
function VoiceMale3 () {
}
static function AllIn() {
var _local1 = new Array("Male3AllIn-01.wav", "Male3AllIn-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Bet() {
return("Male3Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Male3Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Male3Fold-01.wav", "Male3Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Male3Intimidate-01.wav", "Male3Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("Male3Threatened-01.wav", "Male3Threatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Male3Raise-01.wav", "Male3Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Male3Win-01.wav", "Male3Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
var _local1 = new Array("Male3Think-01.wav", "Male3Think-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
}
Symbol 3578 MovieClip [__Packages.as.Sounds.VoiceMale4] Frame 0
class as.Sounds.VoiceMale4
{
function VoiceMale4 () {
}
static function AllIn() {
var _local1 = new Array("Male4AllIn-01.wav", "Male4AllIn-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Bet() {
return("Male4Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Male4Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Male4Fold-01.wav", "Male4Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Male4Intimidate-01.wav", "Male4Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
return(undefined);
}
static function Raise() {
var _local1 = new Array("Male4Raise-01.wav", "Male4Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Male4Win-01.wav", "Male4Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
return("Male4Think-01.wav");
}
}
Symbol 3579 MovieClip [__Packages.as.Sounds.VoiceMale5] Frame 0
class as.Sounds.VoiceMale5
{
function VoiceMale5 () {
}
static function AllIn() {
var _local1 = new Array("Male5AllIn-01.wav", "Male5AllIn-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Bet() {
return("Male5Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Male5Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Male5Fold-01.wav", "Male5Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Male5Intimidate-01.wav", "Male5Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("Male5Threatened-01.wav", "Male5Threatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Male5Raise-01.wav", "Male5Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Male5Win-01.wav", "Male5Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
var _local1 = new Array("Male5Think-01.wav", "Male5Think-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
}
Symbol 3580 MovieClip [__Packages.as.Sounds.VoiceMale6] Frame 0
class as.Sounds.VoiceMale6
{
function VoiceMale6 () {
}
static function AllIn() {
var _local1 = new Array("Male6AllIn-01.wav", "Male6AllIn-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Bet() {
return("Male6Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Male6Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Male6Fold-01.wav", "Male6Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Male6Intimidate-01.wav", "Male6Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("Male6Threatened-01.wav", "Male6Threatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Male6Raise-01.wav", "Male6Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Male6Win-01.wav", "Male6Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
var _local1 = new Array("Male6Think-01.wav", "Male6Think-02.wav", "Male6Think-03.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
}
Symbol 3581 MovieClip [__Packages.as.Sounds.VoiceGovernor] Frame 0
class as.Sounds.VoiceGovernor
{
function VoiceGovernor () {
}
static function AllIn() {
return("GovernorAllIn-04.wav");
}
static function Bet() {
var _local1 = new Array("GovernorBet-02.wav", "GovernorBet-04.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Call() {
var _local1 = new Array("GovernorCall-03.wav", "GovernorCall-07.wav", "GovernorCall-01.wav", "GovernorCall-05.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Check() {
return(undefined);
}
static function Fold() {
var _local1 = new Array("GovernorFold-04.wav", "GovernorFold-06.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("GovernorIntimidate-03.wav", "GovernorIntimidate-04.wav", "GovernorIntimidate-11.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("GovernorRaise-05.wav", "GovernorRaise-07.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
return(undefined);
}
static function Lose() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3582 MovieClip [__Packages.as.Sounds.VoiceTurkish] Frame 0
class as.Sounds.VoiceTurkish
{
function VoiceTurkish () {
}
static function AllIn() {
return("TurkishAllIn-01.wav");
}
static function Bet() {
var _local1 = new Array("TurkishBet-01.wav", "TurkishBet-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Call() {
var _local1 = new Array("TurkishCall-01.wav", "TurkishCall-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Check() {
return("TurkishCheck-01.wav");
}
static function Fold() {
return("TurkishFold-01.wav");
}
static function Intimidate() {
var _local1 = new Array("TurkishIntimidate-01.wav", "TurkishIntimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("TurkishThreatened-01.wav", "TurkishThreatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("TurkishRaise-01.wav", "TurkishRaise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
return(undefined);
}
static function Think() {
return(undefined);
}
}
Symbol 3583 MovieClip [__Packages.as.Sounds.VoiceFemale1] Frame 0
class as.Sounds.VoiceFemale1
{
function VoiceFemale1 () {
}
static function AllIn() {
var _local1 = new Array("Female1AllIn-01.wav", "Female1AllIn-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Bet() {
return("Female1Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Female1Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Female1Fold-01.wav", "Female1Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Female1Intimidate-01.wav", "Female1Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Female1Raise-01.wav", "Female1Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Female1Win-01.wav", "Female1Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
return("Female1Think-01.wav");
}
}
Symbol 3584 MovieClip [__Packages.as.Sounds.VoiceFemale2] Frame 0
class as.Sounds.VoiceFemale2
{
function VoiceFemale2 () {
}
static function AllIn() {
return("Female2AllIn-01.wav");
}
static function Bet() {
return("Female2Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Female2Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Female2Fold-01.wav", "Female2Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Female2Intimidate-01.wav", "Female2Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("Female2Threatened-01.wav", "Female2Threatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Female2Raise-01.wav", "Female2Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Female2Win-01.wav", "Female2Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
var _local1 = new Array("Female2Think-01.wav", "Female2Think-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
}
Symbol 3585 MovieClip [__Packages.as.Sounds.VoiceFemale3] Frame 0
class as.Sounds.VoiceFemale3
{
function VoiceFemale3 () {
}
static function AllIn() {
return("Female3AllIn-01.wav");
}
static function Bet() {
return("Female3Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Female3Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Female3Fold-01.wav", "Female3Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Female3Intimidate-01.wav", "Female3Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("Female3Threatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Female3Raise-01.wav", "Female3Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Female3Win-01.wav", "Female3Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
var _local1 = new Array("Female3Think-01.wav", "Female3Think-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
}
Symbol 3586 MovieClip [__Packages.as.Sounds.VoiceFemale4] Frame 0
class as.Sounds.VoiceFemale4
{
function VoiceFemale4 () {
}
static function AllIn() {
return("Female4AllIn-01.wav");
}
static function Bet() {
return("Female4Bet-01.wav");
}
static function Call() {
return(undefined);
}
static function Check() {
return("Female4Check-01.wav");
}
static function Fold() {
var _local1 = new Array("Female4Fold-01.wav", "Female4Fold-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Intimidate() {
var _local1 = new Array("Female4Intimidate-01.wav", "Female4Intimidate-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Threatened() {
var _local1 = new Array("Female4Threatened-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Raise() {
var _local1 = new Array("Female4Raise-01.wav", "Female4Raise-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Win() {
var _local1 = new Array("Female4Win-01.wav", "Female4Win-02.wav");
return(_local1[Math.floor(random(_local1.length))]);
}
static function Think() {
return("Female4Think-01.wav");
}
}
Symbol 3587 MovieClip [__Packages.as.SoundTrack] Frame 0
class as.SoundTrack extends MovieClip
{
var _report, track, type, id, pos, sound, wave, loop, isPlaying;
function SoundTrack (_vars) {
super();
mx.events.EventDispatcher.initialize(this);
_report = "";
track = _vars.track;
type = _vars.type;
}
function clear() {
resetTrack();
delete track;
delete id;
delete pos;
delete sound;
delete type;
delete wave;
delete loop;
delete isPlaying;
}
function startSound(vars) {
id = vars.id;
wave = vars.wave;
loop = vars.loop;
sound.stop();
sound.attachSound(vars.wave);
sound.setVolume(vars.volume);
sound.setPan(vars.panning);
if (loop) {
sound.start(0, 999);
} else {
sound.start(0, 1);
}
isPlaying = true;
sound.onSoundComplete = function () {
this.trackClass.dispatchEvent({type:"complete", wave:this.trackClass.wave, id:this.trackClass.id});
this.trackClass.resetTrack();
};
return(_report);
}
function pauseTrack() {
if ((pos < 0) && (isPlaying)) {
pos = sound.position;
sound.stop();
}
}
function resumeTrack() {
if (loop) {
sound.start(0, 999);
} else {
sound.start(0, 1);
}
sound.position = pos;
pos = -1;
}
function modifyTrack(_volume, _panning) {
setPan(_panning);
setVolume(_volume);
}
function setPan(_panning) {
sound.setPan(_panning);
}
function setVolume(_volume) {
sound.setVolume(_volume);
}
function getVolume() {
return(sound.getVolume());
}
function getPanning() {
return(sound.getPan());
}
function resetTrack() {
sound.stop();
isPlaying = false;
id = -1;
wave = "";
loop = false;
pos = -1;
}
function onLoad() {
init();
}
function init() {
sound = new Sound(this);
sound.trackClass = this;
resetTrack();
}
}
Symbol 3588 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 3589 MovieClip [__Packages.as.view.menu.DynamicTopMenu] Frame 0
class as.view.menu.DynamicTopMenu extends MovieClip
{
var useHandCursor, spacing, startingX, currentOptions, menu, preSelect, lockedDown, onEnterFrame, parentClass, selectedBtn, _ymouse, currentBtn, _xmouse, active;
function DynamicTopMenu () {
super();
useHandCursor = false;
spacing = 115;
startingX = 413 - ((currentOptions.length * spacing) / 2);
var _local3 = 0;
while (_local3 < currentOptions.length) {
var _local4 = startingX + (_local3 * spacing);
var _local5 = menu.attachMovie("topMenuButton", "topMenuButton" + _local3, menu.getNextHighestDepth(), {_x:_local4, _y:6, title:currentOptions[_local3]});
_local5.nameS = currentOptions[_local3];
_local3++;
}
if (!(preSelect === undefined)) {
activateBtn(preSelect);
}
if (lockedDown) {
lockDown();
}
}
function removeLockDown() {
lockedDown = false;
}
function lockDown() {
_global.motion.stop(this, "animation");
animation = (-2);
onEnterFrame = function () {
this.update();
};
}
function initMenu() {
if (lockedDown) {
animation = (-2);
}
}
function activateBtn(__index) {
_global.engine.playSfx("Round Button bleep.wav", 0, _global.careerModel.userProgress.setting.soundFx);
parentClass.processTopMenu(currentOptions[__index]);
if (lockedDown) {
if (!(selectedBtn === undefined)) {
_global.delayer.callFunction(menu["topMenuButton" + selectedBtn], "onRollOut", 1, 1);
menu["topMenuButton" + selectedBtn].selected = false;
}
selectedBtn = __index;
menu["topMenuButton" + selectedBtn].animation = menu["topMenuButton" + selectedBtn].totalFrame;
menu["topMenuButton" + selectedBtn].selected = true;
}
}
function activateBtnRoll(__index, __type) {
parentClass.processTopMenuRoll(currentOptions[__index], __type);
}
function update() {
if (_ymouse > 55) {
onRollOut();
menu["topMenuButton" + currentBtn].onRollOut();
} else {
var _local4;
var _local2 = 0;
while (_local2 < currentOptions.length) {
var _local3 = menu["topMenuButton" + _local2];
if ((_xmouse > _local3._x) && (_xmouse < (_local3._x + _local3._width))) {
_local4 = _local2;
break;
}
_local2++;
}
if (!(_local4 === undefined)) {
selectBtn(_local4);
} else if (!(currentBtn === undefined)) {
menu["topMenuButton" + currentBtn].onRollOut();
activateBtnRoll(currentBtn, "out");
delete currentBtn;
useHandCursor = false;
}
}
}
function selectBtn(__id) {
if (currentBtn != __id) {
activateBtnRoll(__id, "over");
if (!(currentBtn === undefined)) {
menu["topMenuButton" + currentBtn].onRollOut();
activateBtnRoll(currentBtn, "out");
}
var _local3 = menu["topMenuButton" + __id];
_local3.onRollOver();
useHandCursor = true;
currentBtn = __id;
}
}
function onPress() {
if (!(currentBtn === undefined)) {
activateBtn(currentBtn);
}
}
function onRollOver() {
if (lockedDown) {
return(null);
}
if (!active) {
onEnterFrame = function () {
this.update();
};
}
_global.motion.slide(this, "animation", _global.motion.none.Out, -2, 3);
}
function onRollOut() {
if (lockedDown || (_root._ymouse < 10)) {
return(null);
}
delete onEnterFrame;
_global.motion.slide(this, "animation", _global.motion.none.Out, -41, 1 + Math.floor((animation - -41) / 6));
menu["topMenuButton" + currentBtn].onRollOut();
delete currentBtn;
parentClass.processTopMenuRoll("all", "out");
}
function set animation(t) {
menu._y = t;
//return(animation);
}
function get animation() {
return(menu._y);
}
}
Symbol 3590 MovieClip [__Packages.as.poker.view.ChoiceNavigationView] Frame 0
class as.poker.view.ChoiceNavigationView extends MovieClip
{
var buttonArray, buttonTitleArray, initialX, _x, initialY, _y, pointerNothingX, pointerTotalX, houseBet, curValue, placedMc, pointHit, player, houseBetArray, pointer, startingPosAdd, chipsRequired, totalCash, minimalBet, betValue_txt, bet_mc, pointerXBuffer, enabled, showMe, check_mc, attachMovie, getNextHighestDepth;
function ChoiceNavigationView () {
super();
_global.pokerChoiceNavigationView = this;
buttonArray = new Array("check_mc", "bet_mc", "fold_mc", "foldandskip_mc");
buttonTitleArray = new Array("CHECK", "BET", "FOLD", "FOLD & SKIP");
initialX = _x;
initialY = _y;
pointerNothingX = 9;
pointerTotalX = 332;
houseBet = 0;
curValue = 0;
placedMc = new Object();
pointHit.onPress = function () {
this.initialX = {mouse:_root._xmouse, pointer:this._x};
this.onEnterFrame = function () {
this._x = (_root._xmouse - this.initialX.mouse) + this.initialX.pointer;
this._parent.pointer._x = this._x;
if (this._parent.pointer._x < this._parent.pointerNothingX) {
this._parent.pointer._x = this._parent.pointerNothingX;
} else if (this._parent.pointer._x > this._parent.pointerTotalX) {
this._parent.pointer._x = this._parent.pointerTotalX;
}
this._parent.setValueFromSlidePosition("user");
};
};
pointHit.onRelease = function () {
delete _global.pokerChoiceNavigationView.pointHit.onEnterFrame;
if (this._x < this._parent.pointerNothingX) {
this._x = this._parent.pointerNothingX;
} else if (this._x > this._parent.pointerTotalX) {
this._x = this._parent.pointerTotalX;
}
this._parent.setValueFromSlidePosition("user");
};
pointHit.onReleaseOutside = function () {
this.onRelease();
};
}
function adjustHouseBet(__mode, __houseId) {
switch (__mode) {
case "add" :
houseBet = houseBet + player.house[__houseId].value;
break;
default :
houseBet = houseBet - player.house[__houseId].value;
}
houseBetArray = new Array();
var _local2 = 0;
while (_local2 < player.house.length) {
if (this["pokerHouseBet" + _local2].pressed) {
houseBetArray.push(_local2);
}
_local2++;
}
setValueFromSlidePosition();
setButtonOptions();
}
function setValueFromSlidePosition(__source) {
var _local3 = Math.ceil(pointer._x - pointerNothingX);
var _local5 = ((houseBet > 0) ? (("<font color=\"#40D95E\"> + " + houseBet) + "</font>") : "");
startingPosAdd = 0;
var _local7 = 0;
if ((houseBet < chipsRequired) && (chipsRequired <= totalCash)) {
_local7 = _local7 + chipsRequired;
startingPosAdd = startingPosAdd + 10;
}
if ((houseBet < (chipsRequired + minimalBet)) && ((chipsRequired + minimalBet) <= totalCash)) {
_local7 = _local7 + minimalBet;
startingPosAdd = startingPosAdd + 10;
}
if (_local3 == 0) {
betValue_txt.htmlText = 0 + _local5;
curValue = 0;
} else if ((_local3 < 10) && (startingPosAdd >= 10)) {
betValue_txt.htmlText = (chipsRequired - houseBet) + _local5;
curValue = chipsRequired - houseBet;
} else if (((_local3 > 0) && (_local3 < 20)) && (startingPosAdd == 20)) {
betValue_txt.htmlText = ((chipsRequired + minimalBet) - houseBet) + _local5;
curValue = (chipsRequired + minimalBet) - houseBet;
} else {
_local3 = Math.ceil(pointer._x - (pointerNothingX + startingPosAdd));
var _local4 = pointerTotalX - (pointerNothingX + startingPosAdd);
var _local6 = as.transitions.easing.Regular.easeIn(_local3, 0, _local4, _local4);
var _local2 = _local7 + Math.ceil(((totalCash - _local7) / _local4) * _local6);
if (_local2 > totalCash) {
_local2 = totalCash;
}
if ((_local2 > 10000) && (_local6 != _local4)) {
_local2 = Math.round(_local2 / 100) * 100;
if (_local2 < ((chipsRequired + minimalBet) - houseBet)) {
_local2 = (chipsRequired + minimalBet) - houseBet;
}
} else if ((_local2 > 100) && (_local6 != _local4)) {
_local2 = Math.round(_local2 / 10) * 10;
if (_local2 < ((chipsRequired + minimalBet) - houseBet)) {
_local2 = (chipsRequired + minimalBet) - houseBet;
}
}
if ((chipsRequired > (_local2 + houseBet)) && (totalCash != _local2)) {
_local2 = 0;
}
curValue = _local2;
betValue_txt.htmlText = curValue + _local5;
if (_local6 == _local4) {
bet_mc.text_mc.action_txt = "ALLIN";
} else {
bet_mc.text_mc.action_txt = bet_mc.text_mc.action_txtBfr;
}
}
if (__source == "user") {
pointerXBuffer = pointer._x;
}
}
function processPress(__title) {
if (!enabled) {
return(undefined);
}
switch (__title) {
case "foldandskip_mc" :
if (houseBet > 0) {
return(null);
}
_global.model.adjustSpeed(1000);
_global.pokerModel.skipping = true;
case "fold_mc" :
if (houseBet > 0) {
return(null);
}
_global.pokerModel.processPlayerAction(player.playerNumber, "fold", 0, {value:0, house:[]});
break;
case "check_mc" :
_global.pokerModel.processPlayerAction(player.playerNumber, this[__title].buttonMode, chipsRequired - houseBet, {value:houseBet, house:houseBetArray});
break;
case "bet_mc" :
var _local3 = this[__title].buttonMode;
if (bet_mc.buttonMode == "bet") {
_local3 = "raise";
}
_global.pokerModel.processPlayerAction(player.playerNumber, _local3, curValue, {value:houseBet, house:houseBetArray});
}
popDown();
}
function processRoll(__title, __mode) {
switch (__mode) {
case "over" :
this[__title].useHandCursor = true;
switch (__title) {
case "foldandskip_mc" :
case "fold_mc" :
if (houseBet > 0) {
this[__title].useHandCursor = false;
return(null);
}
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerNothingX, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerNothingX, 2);
_global.delayer.callFunction(this, "setValueFromSlidePosition", 1, 2);
break;
case "check_mc" :
if (houseBet == chipsRequired) {
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerNothingX, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerNothingX, 2);
} else if (startingPosAdd < 10) {
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerTotalX, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerTotalX, 2);
} else {
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerNothingX + 5, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerNothingX + 5, 2);
}
_global.delayer.callFunction(this, "setValueFromSlidePosition", 1, 2);
break;
case "bet_mc" :
if (!(((curValue + houseBet) < (chipsRequired + minimalBet)) && (pointerXBuffer < (pointerNothingX + 15)))) {
break;
}
if (((chipsRequired != 0) && (startingPosAdd < 20)) || (startingPosAdd < 10)) {
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerTotalX, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerTotalX, 2);
} else {
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerNothingX + 10, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerNothingX + 10, 2);
}
_global.delayer.callFunction(this, "setValueFromSlidePosition", 1, 2);
}
_global.motion.slide(this[__title].text_mc, "_xscale", _global.motion.regular.Out, 110, 2);
_global.motion.slide(this[__title].text_mc, "_yscale", _global.motion.regular.Out, 110, 2);
break;
case "out" :
_global.motion.slide(pointer, "_x", _global.motion.regular.InOut, pointerXBuffer, 2);
_global.motion.slide(pointHit, "_x", _global.motion.regular.InOut, pointerXBuffer, 2);
_global.delayer.callFunction(this, "setValueFromSlidePosition", 1, 3);
_global.motion.slide(this[__title].text_mc, "_xscale", _global.motion.regular.Out, 100, 2);
_global.motion.slide(this[__title].text_mc, "_yscale", _global.motion.regular.Out, 100, 2);
}
}
function popup(__pObj) {
enabled = false;
switch (__pObj.mode) {
case "showCards" :
break;
default :
houseBet = 0;
houseBetArray = new Array();
curValue = 0;
pointerXBuffer = pointerNothingX;
pointer._x = pointerNothingX;
pointHit._x = pointer._x;
totalCash = __pObj.currentCash;
chipsRequired = __pObj.chipsRequired;
minimalBet = __pObj.minimalBet;
showMe();
_global.motion.slide(this, "_y", _global.motion.regular.Out, initialY - 100, 7);
var _local3 = 0;
while (_local3 < buttonArray.length) {
this[buttonArray[_local3]].title = buttonArray[_local3];
this[buttonArray[_local3]].onRelease = function () {
this._parent.processPress(this.title);
};
this[buttonArray[_local3]].onRollOver = function () {
this._parent.processRoll(this.title, "over");
};
this[buttonArray[_local3]].onReleaseOutside = function () {
this._parent.processRoll(this.title, "out");
};
this[buttonArray[_local3]].onRollOut = function () {
this._parent.processRoll(this.title, "out");
};
this[buttonArray[_local3]]._y = 50;
this[buttonArray[_local3]].text_mc.action_txt = buttonTitleArray[_local3];
this[buttonArray[_local3]].bg.gotoAndStop(_local3 + 1);
_global.delayer.callFunction(_global.motion, "slide", 0 + (Math.floor(Math.random() * 4) * 2), 1, this[buttonArray[_local3]], "_y", _global.motion.regular.Out, 22, 7);
_local3++;
}
check_mc.buttonMode = "check";
if (chipsRequired > 0) {
check_mc.buttonMode = "call";
check_mc.text_mc.action_txt = "CALL";
}
bet_mc.buttonMode = "bet";
if ((chipsRequired > 0) || (_global.pokerModel.pokerSave.roundObj.turnObj.actions_array[_global.userPlayer].bet > 0)) {
bet_mc.buttonMode = "raise";
bet_mc.text_mc.action_txt = "RAISE";
}
bet_mc.text_mc.action_txtBfr = bet_mc.text_mc.action_txt;
bet_mc._visible = true;
setButtonOptions();
_local3 = 0;
while (_local3 < placedMc.houseArray.length) {
placedMc.houseArray[_local3].removeMovieClip();
_local3++;
}
placedMc.houseArray = new Array();
if (player.house.length > 0) {
_global.help.request({id:12, x:_x + 556, y:_y - 118});
}
_local3 = 0;
while (_local3 < player.house.length) {
var _local5 = -100 * Math.floor(_local3 / 4);
var _local6 = Math.floor(_local3 / 4) * 25;
var _local4 = attachMovie("pokerHouseBet", "pokerHouseBet" + _local3, getNextHighestDepth());
_local4._x = (556 + (_local3 * 25)) + _local5;
_local4._y = 13 + _local6;
_local4.id = _local3;
if (player.house[_local3].status != "possession") {
_local4._alpha = 50;
_local4.block = true;
}
placedMc.houseArray.push(_local4);
_local3++;
}
setValueFromSlidePosition();
_global.delayer.callFunction(this, "setEnabed", 7, 1, true);
}
}
function setEnabed(__en) {
enabled = __en;
}
function setButtonOptions() {
check_mc.buttonMode = "check";
check_mc.text_mc.action_txt = "CHECK";
check_mc._visible = true;
if (chipsRequired > 0) {
check_mc.buttonMode = "call";
check_mc.text_mc.action_txt = "CALL";
}
bet_mc._visible = true;
if (chipsRequired >= (totalCash + houseBet)) {
check_mc.buttonMode = "call";
check_mc.text_mc.action_txt = "ALLIN";
bet_mc._visible = false;
} else if (chipsRequired < houseBet) {
bet_mc.buttonMode = "raise";
bet_mc.text_mc.action_txt = "RAISE";
check_mc._visible = false;
} else if ((minimalBet + chipsRequired) >= totalCash) {
bet_mc.text_mc.action_txt = "ALLIN";
check_mc._visible = true;
}
setValueFromSlidePosition();
}
function popDown() {
enabled = false;
_global.motion.slide(this, "_y", _global.motion.regular.Out, initialY, 7);
var _local3 = 0;
while (_local3 < buttonArray.length) {
_global.motion.slide(this[buttonArray[_local3]], "_y", _global.motion.regular.Out, 30, 7 + (_local3 * 3));
_local3++;
}
}
}
Symbol 3591 MovieClip [__Packages.as.transitions.easing.Regular] Frame 0
class as.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
}
Symbol 3592 MovieClip [__Packages.as.poker.view.TablePersonView] Frame 0
class as.poker.view.TablePersonView extends MovieClip
{
var active, memory, randomizeHeadPositionEnabled, cards, armSide, frameLib, initialRotation, _rotation, initialX, _x, initialY, _y, hat, createEmptyMovieClip, arms_mc, gender, handAnimation, armAnimation, handAssets, hat_mc, followActivity, rightArmFrmBfr, leftArmFrmBfr;
function TablePersonView () {
super();
mx.events.EventDispatcher.initialize(this);
active = true;
memory = new Object();
randomizeHeadPositionEnabled = true;
cards = new Array();
armSide = new Array("left", "right", "both");
frameLib = new Object();
frameLib.frameLib = {initDeal:{startFrame:3, endFrame:23}, dealStartPos:{startFrame:24, endFrame:37}, lastDealStartPos:{startFrame:38, endFrame:64}, startPos:{startFrame:1, endFrame:1}, lookAtCards:{startFrame:65, endFrame:83}, lookAtCardsCompleted:{startFrame:84, endFrame:94}, check:{startFrame:96, endFrame:125}, raise:{startFrame:127, endFrame:148}, raiseCompleted1:{startFrame:149, endFrame:156}, raiseCompleted2:{startFrame:148, endFrame:127}, fold:{startFrame:158, endFrame:197}, pile:{startFrame:65, endFrame:75}, pileCompleted:{startFrame:75, endFrame:65}, winAnimationStart:{startFrame:200, endFrame:208}, winAnimationBase:{startFrame:209, endFrame:223}, winAnimationEnd:{startFrame:224, endFrame:232}, passiveHandFistStart:{startFrame:96, endFrame:103}, passiveHandFistEnd:{startFrame:103, endFrame:96}, dealerGrabCards:{startFrame:3, endFrame:7}, dealerGrabCardsCompleted:{startFrame:7, endFrame:3}, tabFingersStart:{startFrame:234, endFrame:241}, tabFingersBase:{startFrame:242, endFrame:256}, tabFingersEnd:{startFrame:257, endFrame:265}, special1_1:{startFrame:158, endFrame:172}, special1_2:{startFrame:172, endFrame:173}, special1_3:{startFrame:173, endFrame:172}, special1End1:{startFrame:172, endFrame:168}, special1End2:{startFrame:168, endFrame:158}};
initialRotation = _rotation;
initialX = _x;
initialY = _y;
var _local3 = flash.display.BitmapData.loadBitmap(("hat" + hat) + "Bmp");
createEmptyMovieClip("arms_mc", 1);
arms_mc.createEmptyMovieClip("hands_mc", arms_mc.getNextHighestDepth());
arms_mc.hands_mc.attachMovie(gender + "HandsColor", "hands", arms_mc.hands_mc.getNextHighestDepth());
arms_mc.hands_mc.hands.gotoAndStop("hat" + hat);
arms_mc.attachMovie(gender + "ArmsColor", "arms", arms_mc.getNextHighestDepth());
arms_mc.arms.gotoAndStop("hat" + hat);
handAnimation = arms_mc.hands_mc.hands.handAnimation;
armAnimation = arms_mc.arms.armAnimation;
handAssets = arms_mc.hands_mc.hands.assets;
handAnimation.left.gotoAndStop(1);
handAnimation.right.gotoAndStop(1);
armAnimation.left.gotoAndStop(1);
armAnimation.right.gotoAndStop(1);
createEmptyMovieClip("hat_mc", 3);
hat_mc.createEmptyMovieClip("holder", 100, {_x:-68, _y:-68});
hat_mc.holder._x = -(_local3.width / 2);
hat_mc.holder._y = -(_local3.height / 2);
hat_mc.holder.attachBitmap(_local3, hat_mc.holder.getNextHighestDepth(), "auto", true);
}
function setRandomizeHeadPositionEnabled(__mode) {
randomizeHeadPositionEnabled = __mode;
}
function randomizeHeadPosition() {
var _local4 = 10 + Math.floor(Math.random() * 100);
if (randomizeHeadPositionEnabled && (active)) {
var _local3 = 0 + Math.floor(Math.random() * _local4);
if (_local3 < 10) {
_local3 = 10;
}
if (followActivity == false) {
_global.motion.slide(hat_mc, "_rotation", _global.motion.regular.Out, -20 + Math.floor(Math.random() * 40), _local4);
}
_global.motion.slide(this, "_x", _global.motion.regular.InOut, (initialX + -5) + Math.floor(Math.random() * 10), _local3);
_global.motion.slide(this, "_y", _global.motion.regular.InOut, (initialY + -5) + Math.floor(Math.random() * 10), _local3);
}
_global.delayer.callFunction(this, "randomizeHeadPosition", _local4 + Math.floor(Math.random() * 500), 1);
}
function playArms(__frame, __side) {
if (__side != "left") {
rightArmFrm = (frameLib.frameLib[__frame].startFrame);
_global.motion.slide(this, "rightArmFrm", _global.motion.none.Out, frameLib.frameLib[__frame].endFrame, _global.returnDistance(frameLib.frameLib[__frame].endFrame, frameLib.frameLib[__frame].startFrame));
}
if (__side != "right") {
leftArmFrm = (frameLib.frameLib[__frame].startFrame);
_global.motion.slide(this, "leftArmFrm", _global.motion.none.Out, frameLib.frameLib[__frame].endFrame, _global.returnDistance(frameLib.frameLib[__frame].endFrame, frameLib.frameLib[__frame].startFrame));
}
}
function stopArms(__frame, __side) {
if (__side != "left") {
rightArmFrmBfr = __frame;
rightArmFrm = (frameLib.frameLib[__frame].startFrame);
}
if (__side != "right") {
leftArmFrmBfr = __frame;
leftArmFrm = (frameLib.frameLib[__frame].startFrame);
}
}
function set leftArmFrm(__t) {
leftArmFrmBfr = Math.floor(__t);
handAnimation.left.gotoAndStop(Math.floor(__t));
armAnimation.left.gotoAndStop(Math.floor(__t));
handAssets.left.gotoAndStop(Math.floor(__t));
//return(leftArmFrm);
}
function set rightArmFrm(__t) {
rightArmFrmBfr = Math.floor(__t);
handAnimation.right.gotoAndStop(Math.floor(__t));
armAnimation.right.gotoAndStop(Math.floor(__t));
handAssets.right.gotoAndStop(Math.floor(__t));
//return(rightArmFrm);
}
function get rightArmFrm() {
return(rightArmFrmBfr);
}
function get leftArmFrm() {
return(leftArmFrmBfr);
}
function rotateToPosition(__x, __y, __speed) {
var _local3 = -90 + ((Math.atan2(__y - _y, __x - _x) * 180) / 3.141593);
if (_global.returnDistance(_local3, _rotation) > 180) {
if (_local3 < _rotation) {
_local3 = _local3 + 360;
} else {
_local3 = _local3 - 360;
}
}
_global.motion.slide(this, "_rotation", _global.motion.none.Out, _local3, __speed);
}
function lookToPlayer(__player) {
_global.delayer.callFunction(this, "rotateToPosition", 0, 1, __player._x, __player._y, 7);
}
function lookForward(__speed) {
_global.motion.slide(hat_mc, "_rotation", _global.motion.none.Out, 0, ((__speed == undefined) ? (5 * _global.careerModel.userProgress.setting.pokerSpeed) : (__speed)));
}
function rotateHeadToPosition(__x, __y, __speed) {
var _local3 = (-90 - _rotation) + ((Math.atan2(__y - _y, __x - _x) * 180) / 3.141593);
if (_global.returnDistance(_local3, hat_mc._rotation) > 180) {
if (_local3 < hat_mc._rotation) {
_local3 = _local3 + 360;
} else {
_local3 = _local3 - 360;
}
}
_local3 = _local3 / 2.5;
__speed = __speed + Math.floor(_global.returnDistance(_local3, hat_mc._rotation) / 10);
_global.motion.slide(hat_mc, "_rotation", _global.motion.none.Out, _local3, __speed);
}
function rotateToInitialPosition(__speed) {
var _local3 = initialRotation;
if (_global.returnDistance(_local3, _rotation) > 180) {
if (_local3 < _rotation) {
_local3 = _local3 + 360;
} else {
_local3 = _local3 - 360;
}
}
_global.motion.slide(this, "_rotation", _global.motion.regular.InOut, _local3, __speed);
}
}
Symbol 3593 MovieClip [__Packages.as.poker.view.DealerView] Frame 0
class as.poker.view.DealerView extends as.poker.view.TablePersonView
{
var lookForward, playArms, initialY, armSide, hat_mc, _rotation, initialRotation, initialX, arms_mc;
function DealerView () {
super();
}
function dealPlayers(__mode, __player_array) {
lookForward();
var _local16;
var _local10;
var _local18;
var _local7;
var _local3;
var _local11;
var _local17;
var _local6;
var _local8;
_global.pokerView.removeStatesFromArray(["All"]);
_global.pokerModel.setFilledSeats();
_local16 = _global.pokerModel.pokerSave.filledSeats;
_local10 = _local16.length;
_local18 = _global.pokerModel.pokerSave.roundObj;
playArms("initDeal");
if (_local18.newBlinds) {
_global.engine.dealerVoice(_local18.bigBlindBet, "BigBlind");
if ((_global.careerModel.userProgress.setting.pokerSpeed == 0) || (_local10 > 4)) {
_global.delayer.callFunction(_global.engine, "dealerVoice", 52 * (_global.careerModel.userProgress.setting.pokerSpeed + 1), 1, _local18.smallBlindBet, "SmallBlind");
}
}
_local3 = 21;
_global.motion.slide(this, "_y", _global.motion.regular.Out, initialY - 30, 3);
_local11 = 0;
_local17 = _local16.length;
var _local5 = 0;
while (_local5 < _local17) {
_local6 = _local16[_local5];
_local8 = _global.pokerModel.players[_local6].view;
if (Math.floor(Math.random() * 1.2)) {
_local8.memory.lookAtCards = "close";
} else if (Math.floor(Math.random() * 2)) {
_local8.memory.lookAtCards = "afterDeal";
} else {
_local8.memory.lookAtCards = "beforeDecision";
}
if (_global.showCards) {
_local8.memory.lookAtCards = "openCards";
}
if (_local8.memory.lookAtCards == "close") {
_local8.memory.lookAtCards = "afterDeal";
}
if (_global.userPlayer == _local6) {
delete _local8.memory.lookAtCards;
}
_local5++;
}
__player_array[_local18.startingPlayer].view.memory.lookAtCards = "beforeDecision";
var _local14 = _global.pokerModel.pokerSave.playerDealing + 1;
var _local13 = 0;
while (_local11 < 2) {
var _local9 = false;
var _local12 = false;
_local5 = _local14;
while (!_local12) {
if (_local5 >= 8) {
if (!_local9) {
_local5 = 0;
_local9 = true;
}
}
if (_local9 && (_local5 == _local14)) {
_local12 = true;
break;
}
_local6 = _local5;
if (!_global.pokerModel.players[_local6]) {
} else {
var _local4 = _global.pokerModel.players[_local6].view;
_local7 = _local4.memory.lookAtCards;
if (_local11 == 0) {
if (_local7 == "close") {
_global.delayer.callFunction(_local4, "performDecorationAction", _local3 + 10, 1, "lookAtCards", 0, {hand:armSide[Math.floor(Math.random() * 2)]});
}
} else {
if (_local7 == "openCards") {
_global.delayer.callFunction(_local4, "performDecorationAction", (_local3 + 10) + Math.floor(Math.random() * 5), 1, "turnCards", 0);
}
if ((_local7 == "close") || (_local7 == "afterDeal")) {
_global.delayer.callFunction(_local4, "performDecorationAction", (_local3 + 10) + Math.floor(Math.random() * 14), 1, "lookAtCards");
}
}
_global.delayer.callFunction(_global.engine, "playSfx", _local3 - 2, 1, "Throw", (-((_local10 / 2) * Math.round(60 / _local10))) + (_local5 * Math.round(60 / _local10)), (_global.careerModel.userProgress.setting.soundFx - 80) + (Math.random() * 20));
_global.delayer.callFunction(this, "rotateToPosition", _local3 - 6, 1, _local4.cardPostionX, _local4.cardPostionY, 7);
_global.delayer.callFunction(this, "playArms", _local3, 1, "dealStartPos");
_global.delayer.callFunction(_global.activeScreen, "destinatePlayerCard", _local3 + 3, 1, _local6, _local11);
_local3 = _local3 + 7;
_local13 = 15;
if ((!_global.pokerModel.players[_local6 + 1]) && (!_global.pokerModel.players[_local6 + 2])) {
_local3 = _local3 + 8;
_local13 = _local13 + 8;
}
}
_local5++;
}
_local11++;
}
_local3 = _local3 - _local13;
_global.delayer.callFunction(this, "playArms", _local3, 1, "lastDealStartPos");
_local3 = _local3 + 19;
_global.delayer.callFunction(this, "stopArms", _local3 + 15, 1, "startPos");
_local3 = _local3 + 4;
_global.delayer.callFunction(this, "rotateToInitialPosition", _local3 - 5, 1, 8);
_global.delayer.callFunction(_global.motion, "slide", _local3 - 5, 1, this, "_y", _global.motion.regular.Out, initialY, 3);
_global.delayer.callFunction(this, "reportDealingFinish", _local3 + 30, 1, __mode);
}
function sortTableCards() {
lookForward();
var _local3 = 0;
_global.delayer.callFunction(this, "playArms", 0, 1, "pile", "left");
_global.delayer.callFunction(_global.motion, "slide", 1, 1, hat_mc, "_y", _global.motion.regular.Out, 10, 6);
_rotation = -180;
_global.delayer.callFunction(_global.motion, "slide", 0, 1, this, "_y", _global.motion.regular.InOut, initialY - 70, 7);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _global.pokerView.layerPlayers.dealerShirt, "_yscale", _global.motion.regular.InOut, 100, 7);
_rotation = initialRotation;
var _local6 = 0;
var _local7 = 0;
switch (_global.activeScreen.tableCards.length) {
case 5 :
_local6 = 25;
_local7 = initialX + 30;
break;
case 4 :
_local6 = 15;
_local7 = initialX + 20;
break;
case 3 :
_local6 = 5;
_local7 = initialX + 10;
}
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _global.pokerView.layerPlayers.dealerShirt, "_rotation", _global.motion.regular.InOut, _local6, 7);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, this, "_x", _global.motion.regular.InOut, _local7, 7);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, this, "_rotation", _global.motion.regular.InOut, initialRotation + _local6, 7);
_local3 = _local3 + 8;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, this, "_rotation", _global.motion.regular.InOut, (initialRotation - 25) - 360, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, _global.pokerView.layerPlayers.dealerShirt, "_rotation", _global.motion.regular.InOut, -25, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, this, "_x", _global.motion.regular.InOut, initialX - 20, 7);
_local3 = _local3 + 7;
_global.delayer.callFunction(_global.motion, "slide", _local3 + 5, 1, this, "_x", _global.motion.regular.InOut, initialX, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, this, "_y", _global.motion.regular.InOut, initialY, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, _global.pokerView.layerPlayers.dealerShirt, "_yscale", _global.motion.regular.InOut, 30, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, this, "_rotation", _global.motion.regular.InOut, initialRotation, 7);
_global.delayer.callFunction(this, "playArms", _local3, 1, "pileCompleted", "left");
var _local4 = 0;
while (_local4 < _global.activeScreen.tableCards.length) {
_global.delayer.callFunction(_global.motion, "slide", 8 + Math.floor((_global.activeScreen.tableCards.length - (_local4 + 1)) / 2), 1, _global.activeScreen.tableCards[_local4], "_x", _global.motion.regular.InOut, _global.activeScreen.conf.tabelCardPosition[0].x, 6);
_global.delayer.callFunction(_global.activeScreen.tableCards[_local4], "gotoAndStop", 13, 1, "back");
_global.delayer.callFunction(_global.activeScreen.tableCards[_local4], "removeShadow", 13, 1);
_global.delayer.callFunction(_global.motion, "slide", 16, 1, _global.activeScreen.tableCards[_local4], "_x", _global.motion.regular.InOut, _global.activeScreen.conf.foldedCardPosition.x - 58, 6);
_global.delayer.callFunction(_global.motion, "slide", 16, 1, _global.activeScreen.tableCards[_local4], "_y", _global.motion.regular.InOut, _global.activeScreen.conf.foldedCardPosition.y, 6);
_local4++;
}
_global.delayer.callFunction(this, "playArms", _local3 + 8, 1, "dealerGrabCards", "left");
_global.delayer.callFunction(this, "playArms", _local3 + 16, 1, "dealerGrabCardsCompleted", "left");
_global.delayer.callFunction(_global.motion, "slide", _local3 + 16, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 6);
_local4 = 0;
while (_local4 < _global.activeScreen.roundObj.foldedCards.length) {
var _local5 = _global.activeScreen.roundObj.foldedCards[_local4];
_global.delayer.callFunction(_local5, "removeMovieClip", _local3 + 11, 1);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 5, 1, _local5, "_x", _global.motion.none.InOut, initialX - 30, 6);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 5, 1, _local5, "_y", _global.motion.none.InOut, initialX, 6);
_local4++;
}
_local4 = 0;
while (_local4 < _global.activeScreen.tableCards.length) {
var _local5 = _global.activeScreen.tableCards[_local4];
_global.delayer.callFunction(_local5, "removeMovieClip", _local3 + 11, 1);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 5, 1, _local5, "_x", _global.motion.none.InOut, initialX - 30, 6);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 5, 1, _local5, "_y", _global.motion.none.InOut, initialX, 6);
_local4++;
}
}
function sortFoldedCards() {
lookForward();
var _local4 = 0;
_global.delayer.callFunction(this, "playArms", 0, 1, "pile", "left");
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, hat_mc, "_y", _global.motion.regular.Out, 10, 6);
var _local3 = _global.activeScreen.roundObj.foldedCardsCollected;
while (_local3 < _global.activeScreen.roundObj.foldedCards.length) {
_global.delayer.callFunction(_global.motion, "slide", 10, 1, _global.activeScreen.roundObj.foldedCards[_local3], "_rotation", _global.motion.regular.Out, -1.5 + (Math.random() * 3), 6);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, _global.activeScreen.roundObj.foldedCards[_local3], "_y", _global.motion.regular.Out, _global.activeScreen.conf.foldedCardPosition.y + (-0.3 * _local3), 6);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, _global.activeScreen.roundObj.foldedCards[_local3], "_x", _global.motion.regular.InOut, _global.activeScreen.conf.foldedCardPosition.x - 58, 7);
if (_local3 != 0) {
_global.delayer.callFunction(_global.activeScreen.roundObj.foldedCards[_local3], "removeShadow", 10, 1);
}
_global.activeScreen.roundObj.foldedCardsCollected++;
_local3++;
}
_rotation = -180;
_global.delayer.callFunction(_global.motion, "slide", 10, 1, arms_mc, "_y", _global.motion.regular.InOut, 5, 7);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, this, "_x", _global.motion.regular.InOut, initialX - 16, 7);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, this, "_rotation", _global.motion.regular.InOut, -200, 7);
_global.delayer.callFunction(_global.motion, "slide", 30, 1, arms_mc, "_y", _global.motion.regular.InOut, 0, 8);
_local4 = 17;
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, this, "_rotation", _global.motion.regular.InOut, 180, 7);
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, this, "_x", _global.motion.regular.InOut, initialX, 7);
_global.delayer.callFunction(this, "playArms", _local4, 1, "pileCompleted", "left");
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 6);
}
function dealTable(__mode, __type_array) {
lookForward();
playArms("initDeal");
var _local6 = _global.activeScreen.conf.tabelCardPosition;
var _local5 = 21;
var _local4 = [];
var _local7 = Math.round(Math.random() * 10);
switch (__mode) {
case "flop" :
if (_local7 > 4) {
_global.engine.dealerVoice(_global.pokerModel.pokerSave.roundObj.bigBlindBet, "Flop");
}
_local4 = [{position:_local6[0], type:__type_array[0]}, {position:_local6[1], type:__type_array[1]}, {position:_local6[2], type:__type_array[2]}];
break;
case "turn" :
if (_local7 > 4) {
_global.engine.dealerVoice(_global.pokerModel.pokerSave.roundObj.bigBlindBet, "Turn");
}
_local4 = [{position:_local6[3], type:__type_array[0]}];
break;
case "river" :
if (_local7 > 4) {
_global.engine.dealerVoice(_global.pokerModel.pokerSave.roundObj.bigBlindBet, "River");
}
_local4 = [{position:_local6[4], type:__type_array[0]}];
}
var _local3 = 0;
while (_local3 < _local4.length) {
_global.delayer.callFunction(this, "rotateToPosition", _local5 - 6, 1, _local4[_local3].position.x, _local4[_local3].position.y, 7);
_global.delayer.callFunction(this, "playArms", _local5, 1, "dealStartPos");
_global.delayer.callFunction(_global.activeScreen, "destinateTableCard", _local5 + 3, 1, _local4[_local3].type, _local4[_local3].position.x, _local4[_local3].position.y);
_local5 = _local5 + 7;
_local3++;
}
_global.delayer.callFunction(_global.pokerView, "removeStatesFromArray", _local5, 1, ["Checked", "Betted", "Raised", "Called"]);
_local5 = _local5 - 7;
_global.delayer.callFunction(this, "playArms", _local5, 1, "lastDealStartPos");
_local5 = _local5 + 19;
_global.delayer.callFunction(this, "stopArms", _local5 + 15, 1, "startPos");
_global.delayer.callFunction(this, "rotateToInitialPosition", _local5 - 5, 1, 8);
_global.delayer.callFunction(this, "reportDealingFinish", _local5 + 10, 1, __mode);
}
function reportDealingFinish(__mode) {
_global.pokerView.reportViewFinish(__mode, "dealer");
}
}
Symbol 3594 MovieClip [__Packages.as.poker.view.PlayerView] Frame 0
class as.poker.view.PlayerView extends as.poker.view.TablePersonView
{
var steamyDescription, steamAdded, previousSteamValue, stateToFrame, errorArray, useHandCursor, followActivity, initialX, _y, _x, playerNumber, steamyRound, hat_mc, playerStateHint, name, popupPostionY, popupPostionX, entranceType, lookForward, leaveParameters, _rotation, arms_mc, initialY, initialRotation, statusPopup, ranking, statusBfr, tapping, armSide, frameLib, dispatchEvent, voice, cards, cardXDistance, cardPostionX, cardYDistance, cardPostionY, cardPostionRotation, gender, betPostionRotation, rotateToKey, gameObj, handAssets, chips, swapDepths, _parent, active, setRandomizeHeadPositionEnabled, removeMovieClip, handAnimation, betPostionX, betPostionY, pildeValueDisplay, blindIsSufficient;
function PlayerView () {
super();
steamyDescription = "Relaxed";
steamAdded = 0;
previousSteamValue = 0;
stateToFrame = {Checked:1, Bigblind:1, Folded:3, Called:1, Smallblind:2, Raised:1, Betted:1, Allin:4, Won:1};
errorArray = new Array();
useHandCursor = false;
}
function setFollowActivity(__act) {
followActivity = __act;
}
function showSteamy(__round, __showMessage) {
var _local5 = 0;
if (__showMessage) {
steamAdded = 0;
var _local4 = new Array({delay:3 * _global.careerModel.userProgress.setting.pokerSpeed, repeat:1, int:2}, {delay:12 * _global.careerModel.userProgress.setting.pokerSpeed, repeat:1, int:2}, {delay:20 * _global.careerModel.userProgress.setting.pokerSpeed, repeat:13, int:2 * _global.careerModel.userProgress.setting.pokerSpeed});
var _local3 = 0;
while (_local3 < _local4.length) {
_global.delayer.callFunction(this, "showSteamShell", _local4[_local3].delay, 1, _local4[_local3].repeat, _local4[_local3].int);
_local3++;
}
showIngamePlayerStateHint("Steamy");
_global.engine.playSfx("Steaming.wav", initialX, _global.careerModel.userProgress.setting.soundFx);
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", 100 * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Steamy");
_global.delayer.callFunction(_global.help, "request", 50 * _global.careerModel.userProgress.setting.pokerSpeed, 1, {id:1, x:_x, y:_y});
_local5 = _local5 + 40;
}
_global.delayer.callFunction(this, "showSteamAtInt", _local5 * _global.careerModel.userProgress.setting.pokerSpeed, 1, 30 * _global.careerModel.userProgress.setting.pokerSpeed, __round);
}
function showHighStack(__delay) {
_global.delayer.callFunction(this, "showIngamePlayerStateHint", __delay * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Bigstack bully");
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", (__delay + 100) * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Bigstack bully");
return(__delay);
}
function showLowStack(__delay) {
_global.delayer.callFunction(this, "showIngamePlayerStateHint", __delay * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Needs chips");
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", (__delay + 100) * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Needs chips");
return(__delay);
}
function showButtonRaise(__delay) {
_global.delayer.callFunction(_global.help, "request", (__delay + 5) * _global.careerModel.userProgress.setting.pokerSpeed, 1, {id:13, x:_x, y:_y});
_global.delayer.callFunction(this, "showIngamePlayerStateHint", __delay * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Button raise");
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", (__delay + 100) * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Button raise");
return(__delay);
}
function showBadBeat(__delay) {
_global.delayer.callFunction(this, "showIngamePlayerStateHint", __delay * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Bad beat");
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", (__delay + 100) * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Bad beat");
return(__delay);
}
function showLucky(__delay) {
_global.delayer.callFunction(this, "showIngamePlayerStateHint", __delay * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Lucky");
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", (__delay + 100) * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Lucky");
return(__delay);
}
function updateSteam() {
var _local3 = _global.pokerModel.pokerSave.playerBehavior[playerNumber].irritation;
var _local4 = _global.pokerModel.players[playerNumber].model;
steamyRound = _global.pokerModel.pokerSave.roundsStarted;
if (_local4.conf.steamyObj.tiltLevel <= _local3) {
showTilt(steamyRound, steamyDescription != "Tilt");
steamyDescription = "Tilt";
} else if (_local4.conf.steamyObj.steamyLevel <= _local3) {
showSteamy(steamyRound, steamyDescription != "Steamy");
steamyDescription = "Steamy";
} else if ((_local3 - previousSteamValue) >= 20) {
_global.delayer.callFunction(this, "showSteamShell", 10, 1, 2, 2 * _global.careerModel.userProgress.setting.pokerSpeed);
_global.delayer.callFunction(this, "showSteamShell", 30 * _global.careerModel.userProgress.setting.pokerSpeed, 1, 2, 8 * _global.careerModel.userProgress.setting.pokerSpeed);
steamyDescription = "Relaxed";
} else if ((_local3 - previousSteamValue) >= 10) {
_global.delayer.callFunction(this, "showSteamShell", 10, 1, 2, 2 * _global.careerModel.userProgress.setting.pokerSpeed);
steamyDescription = "Relaxed";
} else {
steamyDescription = "Relaxed";
}
previousSteamValue = _local3;
}
function showTilt(__round, __showMessage) {
var _local5 = 0;
if (__showMessage) {
steamAdded = 0;
var _local4 = new Array({delay:23 * _global.careerModel.userProgress.setting.pokerSpeed, repeat:2, int:1}, {delay:32 * _global.careerModel.userProgress.setting.pokerSpeed, repeat:6, int:1}, {delay:20 * _global.careerModel.userProgress.setting.pokerSpeed, repeat:13, int:2 * _global.careerModel.userProgress.setting.pokerSpeed});
var _local3 = 0;
while (_local3 < 2) {
_global.delayer.callFunction(this, "showSteamShell", _local4[_local3].delay, 1, _local4[_local3].repeat, _local4[_local3].int);
_local3++;
}
_global.delayer.callFunction(this, "showIngamePlayerStateHint", 14 * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Tilt");
_global.delayer.callFunction(this, "showIngamePlayerStateHintAnimation", 15 * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Tilt");
_global.engine.playSfx("Tilt.wav", initialX, _global.careerModel.userProgress.setting.soundFx);
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", 130 * _global.careerModel.userProgress.setting.pokerSpeed, 1, "Tilt");
_global.delayer.callFunction(this, "showIngamePlayerStateHintAnimation", 38 * _global.careerModel.userProgress.setting.pokerSpeed, 1, "smallMagnify");
_local5 = _local5 + 50;
}
_global.delayer.callFunction(this, "showSteamAtInt", _local5 * _global.careerModel.userProgress.setting.pokerSpeed, 1, 7 * _global.careerModel.userProgress.setting.pokerSpeed, __round);
}
function showSteamAtInt(__int, __round) {
if (__round != steamyRound) {
return(null);
}
showSteamShell(1, 1);
_global.delayer.callFunction(this, "showSteamAtInt", __int, 1, __int, __round);
}
function showSteamShell(__repeat, __int) {
_global.delayer.callFunction(this, "showSteam", __int, __repeat, {source:{x:-40, y:10, size:30}, move:{time:Math.floor(10 * _global.careerModel.userProgress.setting.pokerSpeed)}, destination:{x:-90, y:10, size:100}});
_global.delayer.callFunction(this, "showSteam", __int, __repeat, {source:{x:40, y:10, size:30}, move:{time:Math.floor(10 * _global.careerModel.userProgress.setting.pokerSpeed)}, destination:{x:90, y:10, size:100}});
}
function showSteam(__Obj) {
var _local4 = hat_mc.attachMovie("smoke", "smoke" + ((steamAdded + 1) % 90), (steamAdded + 1) % 90, {_x:__Obj.source.x, _y:__Obj.source.y, _xscale:__Obj.source.size, _yscale:__Obj.source.size});
_local4.gotoAndStop(1 + (Math.random() * 6));
_global.motion.slide(_local4, "_y", _global.motion.none.In, __Obj.destination.y, __Obj.move.time);
_global.motion.slide(_local4, "_x", _global.motion.none.In, __Obj.destination.x + (-20 + (Math.random() * 40)), __Obj.move.time);
_global.motion.slide(_local4, "_xscale", _global.motion.regular.In, __Obj.destination.size, __Obj.move.time);
_global.motion.slide(_local4, "_yscale", _global.motion.regular.In, __Obj.destination.size, __Obj.move.time);
_global.delayer.callFunction(_global.motion, "slide", Math.floor(__Obj.move.time / 3), 1, _local4, "_alpha", _global.motion.regular.In, 0, __Obj.move.time - Math.floor(__Obj.move.time / 3));
_global.motion.slide(_local4, "_rotation", _global.motion.none.In, -45 + (Math.random() * 90), __Obj.move.time);
_global.delayer.callFunction(_local4, "removeMovieClip", __Obj.move.time + 1, 1);
steamAdded++;
}
function hideIngamePlayerStateHint(__hint) {
if (__hint == playerStateHint.hint) {
_global.delayer.callFunction(_global.motion, "slide", 2, 1, playerStateHint, "_alpha", _global.motion.none.Out, 100, 3);
_global.motion.slide(playerStateHint, "_xscale", _global.motion.strong.In, 0, 5);
_global.motion.slide(playerStateHint, "_yscale", _global.motion.strong.In, 0, 5);
_global.delayer.callFunction(playerStateHint, "removeMovieClip", 5, 1);
}
}
function showIngamePlayerStateHintAnimation(__animation) {
playerStateHint.gotoAndPlay(__animation);
}
function showIngamePlayerStateHint(__hint) {
if ((__hint == "Busted") && (name == "Governor")) {
steamyRound = _global.pokerModel.pokerSave.roundsStarted;
showTilt(_global.pokerModel.pokerSave.roundsStarted);
}
playerStateHint.removeMovieClip();
playerStateHint = _global.activeScreen.popupWindow.attachMovie("ingamePlayerStateHint", "ingamePlayerStateHint" + playerNumber, _global.activeScreen.popupWindow.getNextHighestDepth(), {_x:popupPostionX, _y:popupPostionY});
playerStateHint.hint = __hint;
playerStateHint.textHolder.gotoAndStop(1 + _global.activeScreen.conf.ingamePlayerStateHint.inArray(__hint));
playerStateHint._xscale = 40;
playerStateHint._yscale = 40;
playerStateHint._alpha = 40;
_global.motion.slide(playerStateHint, "_alpha", _global.motion.none.Out, 100, 5);
_global.motion.slide(playerStateHint, "_xscale", _global.motion.elastic.Out, 100, 24);
_global.motion.slide(playerStateHint, "_yscale", _global.motion.elastic.Out, 100, 24);
}
function onLoad() {
switch (entranceType) {
case "walk" :
lookForward();
_x = leaveParameters.leaveDestinationX;
_y = leaveParameters.leaveDestinationY;
if (leaveParameters.leaveRotation > 0) {
_rotation = leaveParameters.leaveRotation - 180;
} else {
_rotation = leaveParameters.leaveRotation + 180;
}
_global.delayer.callFunction(_global.motion, "slide", 1, 1, this, "_x", _global.motion.regular.InOut, leaveParameters.leaveX, 42);
_global.delayer.callFunction(_global.motion, "slide", 1, 1, this, "_y", _global.motion.regular.InOut, leaveParameters.leaveY, 42);
arms_mc._yscale = 70;
var _local3 = 0;
while (_local3 < 4) {
if (_local3 != 3) {
_global.delayer.callFunction(_global.motion, "slide", 1 + (_local3 * 12), 1, arms_mc, "_rotation", _global.motion.regular.InOut, (-1 + ((_local3 % 2) * 2)) * 8, 12);
}
_global.delayer.callFunction(_global.motion, "slide", 0 + (_local3 * 12), 1, hat_mc, "_y", _global.motion.none.InOut, 5, 3);
_global.delayer.callFunction(_global.motion, "slide", 6 + (_local3 * 12), 1, hat_mc, "_y", _global.motion.none.InOut, -5, 3);
_local3++;
}
_global.delayer.callFunction(_global.motion, "slide", 40, 1, arms_mc, "_rotation", _global.motion.regular.InOut, 0, 3);
_global.delayer.callFunction(_global.motion, "slide", 40, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 3);
_global.delayer.callFunction(_global.motion, "slide", 43, 1, this, "_x", _global.motion.regular.InOut, initialX, 10);
_global.delayer.callFunction(_global.motion, "slide", 43, 1, this, "_y", _global.motion.regular.InOut, initialY, 10);
_global.delayer.callFunction(_global.motion, "slide", 46, 1, arms_mc, "_yscale", _global.motion.regular.InOut, 100, 6);
_global.delayer.callFunction(_global.motion, "slide", 43, 1, this, "_rotation", _global.motion.regular.InOut, ((playerNumber == 0) ? 230 : (initialRotation)), 10);
break;
default :
_global.delayer.callFunction(this, "randomizeHeadPosition", Math.floor(Math.random() * 500), 1);
}
}
function displayPlayerStatus() {
if (!statusPopup) {
return(null);
}
_global.delayer.callFunction(this, "displayPlayerStatus", 10, 1);
var _local4 = _global.pokerModel.players[playerNumber].model;
var _local3 = [];
if (_local4.chipAmount) {
_local3 = _local3.concat({title:_global.textDb.PlayerStateChips, value:_local4.chipAmount});
}
if (_global.pokerModel.pokerSave.roundObj.playersPlaying[_local4.playerNumber].bet != undefined) {
_local3.push({title:_global.textDb.PlayerStateBet, value:_global.pokerModel.pokerSave.roundObj.playersPlaying[_local4.playerNumber].bet});
}
if ((_global.pokerModel.pokerSave.roundsStarted > 1) && (ranking != undefined)) {
_local3.push({title:_global.textDb.PlayerStateRank, value:ranking});
}
if (status) {
_local3.push({title:_global.textDb.PlayerStateState, value:status});
}
if (steamyDescription != "Relaxed") {
_local3.push({title:_global.textDb.PlayerStateMood, value:_global.textDb["PlayerState" + steamyDescription]});
}
statusPopup.setRows(_local3);
}
function onRollOver() {
if (!_global.pokerModel.pokerSave.roundsStarted) {
return(null);
}
statusPopup.removeMovieClip();
statusPopup = _global.activeScreen.popupWindow.attachMovie("PlayerStatusPopup", "playerMouseOver" + playerNumber, _global.activeScreen.popupWindow.getNextHighestDepth(), {_x:popupPostionX - 82, _y:popupPostionY, _alpha:85, name:name});
displayPlayerStatus();
}
function onRollOut() {
statusPopup.removeMovieClip();
}
function onReleaseOutside() {
statusPopup.removeMovieClip();
}
function returnOtherSide(__side) {
if (__side == "left") {
return("right");
}
if (__side == "right") {
return("left");
}
return("no");
}
function getStatusFromAction(__action) {
switch (__action) {
case "win" :
return("Won");
case "check" :
return("Checked");
case "bet" :
_global.pokerView.removeStatesFromArray(["Checked"]);
return("Betted");
case "call" :
return("Called");
case "raise" :
_global.pokerView.blindBig.person.blindIsSufficient = false;
_global.pokerView.removeStatesFromArray(["Checked", "Betted", "Raised", "Called"]);
return("Raised");
case "placeInitialBet" :
if (_global.pokerModel.players[playerNumber].model.chipAmount == 0) {
return("All-in");
}
if (_global.pokerView.blindBig.person == this) {
return("Big blind");
}
return("Small blind");
case "allin" :
if (_global.pokerModel.players[_global.pokerModel.pokerSave.roundObj.turnObj.highestBetOwner].view == this) {
_global.pokerView.blindBig.person.blindIsSufficient = false;
_global.pokerView.removeStatesFromArray(["Checked", "Betted", "Raised", "Called"]);
}
return("All-in");
case "fold" :
return("Folded");
}
}
function setStatusFromAction(__action) {
var _local2 = getStatusFromAction(__action);
if (_local2) {
status = (_local2);
}
}
function set status(s) {
statusBfr = s;
//return(status);
}
function get status() {
return(statusBfr);
}
function performDecorationAction(__action, __delay, __obj) {
_global.delayer.callFunction(this, "setStatusFromAction", 8, 1, __action);
_global.delayer.callFunction(_global.pokerView, "updatePileValueDisplaysFO", 9, 1);
errorArray.push((_global.delayer.counter + " _ ") + __action);
var _local3 = __delay;
_global.delayer.callFunction(this, "setRandomizeHeadPositionEnabled", _local3, 1, false);
switch (__action) {
case "tabFingersRepetiveInit" :
if (tapping == true) {
return(0);
}
var _local12 = armSide[Math.floor(Math.random() * 2)];
_global.delayer.callFunction(this, "playArms", _local3, 1, "tabFingersStart", _local12);
_global.delayer.callFunction(this, "performDecorationAction", _local3 + 14, 1, "tabFingersRepetiveMiddle", 0, {side:_local12});
tapping = true;
break;
case "tabFingersRepetiveMiddle" :
if (tapping) {
_global.delayer.callFunction(this, "playArms", _local3, 1, "tabFingersBase", __obj.side);
_local3 = _local3 + (frameLib.frameLib.tabFingersBase.endFrame - frameLib.frameLib.tabFingersBase.startFrame);
_global.delayer.callFunction(this, "performDecorationAction", _local3, 1, "tabFingersRepetiveMiddle", 0, {side:__obj.side});
} else {
_global.delayer.callFunction(this, "stopArms", _local3 + 1, 1, "startPos", "both");
_global.delayer.callFunction(this, "performDecorationAction", _local3 + 1, 1, "tabFingersRepetiveEnd", 0, {side:__obj.side});
}
break;
case "tabFingersRepetiveEnd" :
dispatchEvent({type:"tabFingersRepetiveEnd", target:this, playerNumber:playerNumber});
break;
case "tabFingers" :
_local12 = armSide[Math.floor(Math.random() * 2)];
_global.delayer.callFunction(this, "playArms", _local3, 1, "tabFingersStart", _local12);
_local3 = _local3 + 14;
var _local6 = 0;
while (_local6 < __obj.amount) {
_global.delayer.callFunction(this, "playArms", _local3, 1, "tabFingersBase", _local12);
_local3 = _local3 + (frameLib.frameLib.tabFingersBase.endFrame - frameLib.frameLib.tabFingersBase.startFrame);
_local6++;
}
_global.delayer.callFunction(this, "playArms", _local3, 1, "tabFingersEnd", _local12);
_local3 = _local3 + 8;
break;
case "moveButton" :
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_rotation", _global.motion.regular.Out, -12, 10);
_global.delayer.callFunction(this, "playArms", _local3, 1, "pile", "left");
_local3 = _local3 + 10;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.InOut, 6, 6);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_x", _global.motion.regular.InOut, 12, 6);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.Out, -8, 3);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_x", _global.motion.regular.Out, -8, 3);
_local3 = _local3 + 3;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.In, 6, 3);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_x", _global.motion.regular.In, 12, 3);
_local3 = _local3 + 3;
_global.delayer.callFunction(_global.motion, "slide", _local3 + 2, 1, arms_mc, "_rotation", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 2, 1, arms_mc, "_x", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 2, 1, arms_mc, "_y", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 2, 1, hat_mc, "_x", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 2, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(this, "playArms", _local3, 1, "pileCompleted", "left");
break;
case "leanBack" :
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, -15, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.Out, -15, 10);
_local3 = _local3 + (10 + __obj.leanDelay);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.Out, 0, 10);
break;
case "win" :
_local12 = armSide[Math.floor(Math.random() * 3)];
var _local11 = returnOtherSide(_local12);
if (_local11 != "no") {
_global.delayer.callFunction(this, "playArms", _local3, 1, "passiveHandFistStart", _local11);
}
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 19, 6);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.Out, 13, 6);
_global.delayer.callFunction(_global.engine, "playerVoice", _local3, 1, voice, "Win", initialX);
_global.delayer.callFunction(this, "playArms", _local3, 1, "winAnimationStart", _local12);
_local3 = _local3 + (frameLib.frameLib.winAnimationStart.endFrame - frameLib.frameLib.winAnimationStart.startFrame);
var _local8 = 0;
if ((__obj.repeatAmount == "random") || (!__obj.repeatAmount)) {
_local8 = 1 + Math.floor(Math.random() * 4);
} else {
_local8 = __obj.repeatAmount;
}
_local6 = 0;
while (_local6 < _local8) {
_global.delayer.callFunction(this, "playArms", _local3, 1, "winAnimationBase", _local12);
_local3 = _local3 + (frameLib.frameLib.winAnimationBase.endFrame - frameLib.frameLib.winAnimationBase.startFrame);
_local6++;
}
if (_local11 != "no") {
_global.delayer.callFunction(this, "playArms", _local3, 1, "passiveHandFistEnd", _local11);
}
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.Out, 0, 10);
_global.delayer.callFunction(this, "playArms", _local3, 1, "winAnimationEnd", _local12);
_local3 = _local3 + 10;
break;
case "turnCards" :
if (_global.activeScreen.roundObj.showCards[playerNumber]) {
return(0);
}
_global.activeScreen.roundObj.showCards[playerNumber] = true;
_global.delayer.callFunction(this, "playArms", 0, 1, "lookAtCards", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, hat_mc, "_y", _global.motion.regular.Out, 4, 3);
_global.delayer.callFunction(_global.motion, "slide", 13, 1, cards[0], "_yscale", _global.motion.regular.InOut, 0, 2);
_global.delayer.callFunction(_global.motion, "slide", 13, 1, cards[1], "_yscale", _global.motion.regular.InOut, 0, 2);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[0], "_yscale", _global.motion.regular.InOut, 45, 4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[1], "_yscale", _global.motion.regular.InOut, 45, 4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[0], "_x", _global.motion.regular.InOut, cardPostionX - (cardXDistance / 1.3), 4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[0], "_y", _global.motion.regular.InOut, cardPostionY - (cardYDistance / 1.3), 4);
var _local21 = ((cardXDistance > 0) ? -4 : 4);
var _local18 = ((cardXDistance > 0) ? 4 : -4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[0], "_rotation", _global.motion.regular.InOut, cardPostionRotation + _local21, 4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[1], "_rotation", _global.motion.regular.InOut, cardPostionRotation + _local18, 4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[1], "_x", _global.motion.regular.InOut, cardPostionX + cardXDistance, 4);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, cards[1], "_y", _global.motion.regular.InOut, cardPostionY + cardYDistance, 4);
_global.delayer.callFunction(cards[0], "gotoAndStop", 17, 1, _global.pokerModel.getPlayerCards(playerNumber)[0].cardNumber);
_global.delayer.callFunction(cards[1], "gotoAndStop", 17, 1, _global.pokerModel.getPlayerCards(playerNumber)[1].cardNumber);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, arms_mc, "_y", _global.motion.regular.Out, 28, 3);
_global.delayer.callFunction(_global.motion, "slide", 17, 1, hat_mc, "_y", _global.motion.regular.Out, 24, 3);
_global.delayer.callFunction(this, "playArms", 17, 1, "lookAtCardsCompleted", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", 22, 1, arms_mc, "_y", _global.motion.regular.Out, 0, 3);
_global.delayer.callFunction(_global.motion, "slide", 22, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 3);
break;
case "lookAtCards" :
if (playerNumber == _global.userPlayer) {
return(0);
}
if (tapping == true) {
return(0);
}
tapping = true;
if (__obj.mode == "beforeDecision") {
_global.delayer.callFunction(_global.engine, "playerVoice", _local3, 1, voice, "Think", initialX);
_global.delayer.callFunction(_global.engine, "playSfx", 5, 1, "Card", initialX, _global.careerModel.userProgress.setting.soundFx - 55);
}
_global.delayer.callFunction(this, "playArms", 0, 1, "lookAtCards", __obj.hand);
_global.motion.slide(hat_mc, "_y", _global.motion.regular.Out, 18, 10);
_global.delayer.callFunction(_global.motion, "slide", 16, 1, hat_mc, "_y", _global.motion.regular.Out, 10, 10);
_global.delayer.callFunction(this, "playArms", 50, 1, "lookAtCardsCompleted", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", 45, 1, hat_mc, "_y", _global.motion.regular.InOut, 16, 5);
_global.delayer.callFunction(_global.motion, "slide", 55, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 8);
_global.delayer.callFunction(_global.motion, "slide", 13, 1, cards[0], "_yscale", _global.motion.regular.InOut, 35, 2);
_global.delayer.callFunction(_global.motion, "slide", 13, 1, cards[1], "_yscale", _global.motion.regular.InOut, 35, 2);
_global.delayer.callFunction(_global.motion, "slide", 50, 1, cards[0], "_yscale", _global.motion.regular.InOut, 45, 2);
_global.delayer.callFunction(_global.motion, "slide", 50, 1, cards[1], "_yscale", _global.motion.regular.InOut, 45, 2);
_local3 = 63;
_global.delayer.callFunction(this, "stopTapping", _local3, 1);
break;
case "check" :
if (Math.round(Math.random() * 10) > 4) {
_global.delayer.callFunction(_global.engine, "playerVoice", _local3, 1, voice, "Check", initialX);
}
_local12 = "";
var _local16 = (Math.floor(Math.random() * 4) ? "back" : "forward");
var _local14 = 0;
var _local13 = 0;
switch (_local16) {
case "back" :
_local12 = armSide[Math.floor(Math.random() * 3)];
_local14 = -15 + (-3 + Math.floor(Math.random() * 16));
_local13 = -32;
break;
case "forward" :
_local12 = armSide[Math.floor(Math.random() * 2)];
_local14 = 25;
_local13 = 25;
}
_global.delayer.callFunction(this, "playArms", 0, 1, "check", _local12);
_global.motion.slide(hat_mc, "_y", _global.motion.regular.Out, _local14, 5);
_global.motion.slide(arms_mc, "_y", _global.motion.regular.Out, _local13, 5);
_global.delayer.callFunction(_global.engine, "playSfx", 8, 1, "Knock", initialX, _global.careerModel.userProgress.setting.soundFx);
_global.delayer.callFunction(_global.motion, "slide", 26, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 7);
_global.delayer.callFunction(_global.motion, "slide", 26, 1, arms_mc, "_y", _global.motion.regular.InOut, 0, 8);
_local3 = 30;
break;
case "bet" :
case "call" :
case "raise" :
case "placeInitialBet" :
case "allin" :
var _local17 = {allin:"Allin", bet:"Bet", call:"Call", raise:"Raise"};
_global.dealerSpeechNumber = _global.pokerModel.pokerSave.roundObj.turnObj.actions_array[playerNumber].bet;
if (__action == "allin") {
_global.dealerSpeechNumber = _global.pokerModel.pokerSave.roundObj.playersPlaying[playerNumber].bet;
}
if (__action != "placeInitialBet") {
_global.engine.playerVoice(voice, _local17[__action], initialX, 0, gender);
}
_local12 = armSide[Math.floor(Math.random() * 2)];
var _local19 = -18 + betPostionRotation;
if (_local12 == "left") {
_local19 = 18 + betPostionRotation;
}
_global.motion.slide(arms_mc, "_rotation", _global.motion.regular.InOut, _local19, 6);
_global.delayer.callFunction(_global.motion, "slide", 14, 1, arms_mc, "_rotation", _global.motion.regular.InOut, 0, 22);
_global.delayer.callFunction(this, "showChips", 16, 1, _global.pokerModel.players[playerNumber].model.chipAmount);
_global.delayer.callFunction(this, "throwChips", 16, 1, _local12, __obj.amount, __obj.updatePileValueDisplay, 10);
_global.delayer.callFunction(_global.engine, "playSfx", 10, 1, "ChipsThrow", initialX, _global.careerModel.userProgress.setting.soundFx - 65);
_local3 = 21 + Math.floor(Math.random() * 10);
_global.delayer.callFunction(this, "playArms", 0, 1, "raise", _local12);
_global.motion.slide(hat_mc, "_y", _global.motion.regular.Out, 29, 12);
_local3 = 21 + Math.floor(Math.random() * 10);
_global.delayer.callFunction(this, "playArms", _local3, 1, "raiseCompleted" + (1 + Math.floor(Math.random() * 2)), _local12);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 3, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 4);
_local3 = _local3 + 20;
break;
case "betHouses" :
_global.delayer.callFunction(this, "setStatusFromAction", 8, 1, __obj.houseBetType);
_global.delayer.callFunction(this, "playArms", _local3, 1, "pile", "right");
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.InOut, 13, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.InOut, 13, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, this, "_rotation", _global.motion.regular.InOut, initialRotation + rotateToKey, 7);
_local3 = _local3 + 14;
var _local20 = _global.pokerView.conf.keyPosition[playerNumber];
var _local7 = _global.pokerModel.players[playerNumber].model.house;
_local6 = 0;
var _local9 = 0;
while (_local7[_local6]) {
if (_local7[_local6].status == "possession") {
_local9++;
}
_local6++;
}
_global.delayer.callFunction(_global.engine, "playSfx", _local3 + 15, 1, ((__obj.amount > 1) ? "Keys several.wav" : "One key.wav"), initialX, _global.careerModel.userProgress.setting.soundFx);
_global.delayer.callFunction(_global.pokerView, "setKeys", _local3, 1, playerNumber, _local9, _local20);
_global.delayer.callFunction(this, "playArms", _local3, 1, "pileCompleted", "right");
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.InOut, 0, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, this, "_rotation", _global.motion.regular.InOut, initialRotation, 7);
_local3 = _local3 + 7;
_global.delayer.callFunction(this, "playArms", _local3, 1, "raise", "right");
_local19 = -18 + betPostionRotation;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_rotation", _global.motion.regular.InOut, _local19, 6);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 14, 1, arms_mc, "_rotation", _global.motion.regular.InOut, 0, 22);
_global.delayer.callFunction(this, "throwKeys", _local3 + 16, 1, "right", __obj.amount, __obj.updatePileValueDisplay);
_local3 = _local3 + (21 + Math.floor(Math.random() * 10));
_global.delayer.callFunction(this, "playArms", _local3, 1, "raise", "right");
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 29, 12);
_global.delayer.callFunction(this, "playArms", _local3, 1, "raiseCompleted" + (1 + Math.floor(Math.random() * 2)), "right");
_global.delayer.callFunction(_global.motion, "slide", _local3 + 3, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 4);
_local3 = _local3 + 20;
break;
case "fold" :
if (_global.debug_ai) {
cards[0]._alpha = 40;
cards[1]._alpha = 40;
break;
}
case "returncards" :
if (_global.pokerView.roundObj.returnedCards[playerNumber]) {
return(false);
}
_global.pokerView.roundObj.returnedCards[playerNumber] = true;
gameObj.playing = false;
if (__action != "returncards") {
_global.delayer.callFunction(_global.engine, "playerVoice", _local3, 1, voice, "Fold", initialX);
}
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 40, 15);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.Out, 28, 10);
_global.delayer.callFunction(this, "playArms", _local3, 1, "fold", "right");
_global.delayer.callFunction(_global.activeScreen, "destinateDealerCards", _local3 + 17, 1, this);
_global.delayer.callFunction(this, "rotateToPosition", _local3 + 9, 1, _global.activeScreen.conf.foldedCardPosition.x, _global.activeScreen.conf.foldedCardPosition.y, 8);
_local3 = _local3 + 10;
_global.delayer.callFunction(cards[0], "hide", _local3, 1);
_global.delayer.callFunction(cards[1], "hide", _local3, 1);
_local3 = _local3 + 15;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 7);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.InOut, 0, 8);
_global.delayer.callFunction(this, "rotateToInitialPosition", _local3, 1, 8);
_local3 = _local3 + 8;
_local3 = _local3 + 10;
_global.activeScreen.roundObj.foldedCards.push(cards[0]);
_global.activeScreen.roundObj.foldedCards.push(cards[1]);
break;
case "waitSpecial1" :
var _local4 = _global.careerModel.userProgress.setting.pokerSpeed;
var _local15 = [-2, -2, 0, 0, 0, 10, -15, -25];
if (_global.pokerView.subType == "cashgame") {
_local15 = [-10, 0, 0, 10, 0];
}
handAssets._visible = false;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_rotation", _global.motion.regular.InOut, _local15[playerNumber], 12);
_global.delayer.callFunction(this, "playArms", 0, 1, "special1_1", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, arms_mc, "_y", _global.motion.regular.InOut, -35, 10);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, arms_mc, "_y", _global.motion.regular.InOut, -30, 10);
_local3 = _local3 + 20;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_rotation", _global.motion.regular.InOut, 0, 12);
_global.delayer.callFunction(this, "choinTrickChips", _local3 - 2, 1, "1", true);
_local6 = 0;
while (_local6 < 5) {
_global.delayer.callFunction(this, "playArms", _local3, 1, "special1_2", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.InOut, -28, 6 * _local4);
_global.delayer.callFunction(_global.motion, "slide", _local3 + (7 * _local4), 1, arms_mc, "_y", _global.motion.none.InOut, -30, 1);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 1, 7 * _local4);
_local3 = _local3 + (8 * _local4);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_y", _global.motion.regular.InOut, -32, 6 * _local4);
_global.delayer.callFunction(_global.motion, "slide", _local3 + (7 * _local4), 1, arms_mc, "_y", _global.motion.none.InOut, -30, 1);
_global.delayer.callFunction(this, "playArms", _local3, 1, "special1_3", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, hat_mc, "_y", _global.motion.regular.Out, 0, 7 * _local4);
_local3 = _local3 + (7 * _local4);
_local6++;
}
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, arms_mc, "_rotation", _global.motion.regular.InOut, _local15[playerNumber], 12);
_global.delayer.callFunction(this, "choinTrickChips", _local3 + 2, 1, "1", false);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 2, 1, arms_mc, "_y", _global.motion.regular.InOut, -38, 10);
_global.delayer.callFunction(this, "playArms", _local3 + 2, 1, "special1End1", __obj.hand);
_global.delayer.callFunction(this, "playArms", _local3 + 22, 1, "special1End2", __obj.hand);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 22, 1, arms_mc, "_rotation", _global.motion.regular.InOut, 0, 12);
_global.delayer.callFunction(_global.motion, "slide", _local3 + 22, 1, arms_mc, "_y", _global.motion.regular.InOut, 0, 10);
_local3 = _local3 + 32;
_global.delayer.callFunction(handAssets, "showMe", _local3, 1);
}
_global.delayer.callFunction(this, "setRandomizeHeadPositionEnabled", _local3, 1, true);
_global.delayer.callFunction(this, "stopArms", _local3, 1, "startPos");
return(_local3 - __delay);
}
function choinTrickChips(__version, __mode) {
var _local2 = arms_mc.hands_mc.hands;
if (gender == "female") {
_local2 = arms_mc.arms;
}
switch (__mode) {
case true :
var _local3 = _local2.attachMovie("maskedTricks", "maskedTricks", _local2.getNextHighestDepth());
_local3._y = 90;
_local3._x = -2;
break;
case false :
_local2.maskedTricks.removeMovieClip();
}
}
function stopTapping() {
tapping = false;
dispatchEvent({type:"tabFingersRepetiveEnd", target:this, playerNumber:playerNumber});
}
function leaveGame(reason) {
switch (reason) {
case "tableMove" :
break;
case "choice" :
break;
case "busted" :
status = ("Busted");
_global.delayer.callFunction(this, "hideIngamePlayerStateHint", Math.floor(90 * _global.careerModel.userProgress.setting.pokerSpeed), 1, "Busted");
_global.delayer.callFunction(_global.engine, "playSfx", 20, 1, "Player leaves.wav", initialX, _global.careerModel.userProgress.setting.soundFx - 30);
_global.delayer.callFunction(this, "showIngamePlayerStateHintAnimation", 20, 1, "busted");
var _local10 = false;
var _local6 = _global.pokerModel.pokerSave.roundObj.turnObj.winner;
if ((playerNumber != _global.userPlayer) && (!(_local6[0].inArray(_global.userPlayer) === false))) {
_global.engine.playerVoice(voice, "Threatened", initialX);
}
break;
}
chips.mov.removeMovieClip();
_global.pokerView.hidePlayerKeys(playerNumber);
lookForward();
if (!(_global.pokerModel.pokerSave.filledSeats.inArray(playerNumber) === false)) {
_global.pokerModel.pokerSave.filledSeats.splice(_global.pokerModel.pokerSave.filledSeats.inArray(playerNumber), 1);
}
_global.pokerView.renderTable();
swapDepths(_parent.getNextHighestDepth());
active = false;
setRandomizeHeadPositionEnabled(false);
var _local9 = leaveParameters.leaveX;
var _local8 = leaveParameters.leaveY;
var _local4 = leaveParameters.leaveDestinationX;
var _local5 = leaveParameters.leaveDestinationY;
var _local7 = leaveParameters.leaveRotation;
_global.delayer.callFunction(this, "playArms", 0, 1, "passiveHandFistStart", "both");
_global.delayer.callFunction(this, "playArms", 13, 1, "passiveHandFistEnd", "both");
_global.delayer.callFunction(_global.motion, "slide", 0, 1, hat_mc, "_y", _global.motion.regular.InOut, 30, 10);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, this, "_x", _global.motion.regular.InOut, _local9, 12);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, this, "_y", _global.motion.regular.InOut, _local8, 12);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 6);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, arms_mc, "_y", _global.motion.regular.InOut, 0, 6);
_global.delayer.callFunction(_global.motion, "slide", 10, 1, arms_mc, "_yscale", _global.motion.regular.InOut, 70, 6);
_global.delayer.callFunction(_global.motion, "slide", 14, 1, this, "_rotation", _global.motion.none.InOut, _local7, 12);
_global.delayer.callFunction(_global.motion, "slide", 22, 1, this, "_x", _global.motion.regular.InOut, _local4, 62);
_global.delayer.callFunction(_global.motion, "slide", 22, 1, this, "_y", _global.motion.regular.InOut, _local5, 62);
var _local3 = 0;
while (_local3 < 3) {
_global.delayer.callFunction(_global.motion, "slide", 25 + (_local3 * 12), 1, arms_mc, "_rotation", _global.motion.regular.InOut, (-1 + ((_local3 % 2) * 2)) * 8, 12);
_global.delayer.callFunction(_global.motion, "slide", 25 + (_local3 * 12), 1, hat_mc, "_y", _global.motion.regular.InOut, 4, 3);
_global.delayer.callFunction(_global.motion, "slide", 28 + (_local3 * 12), 1, hat_mc, "_y", _global.motion.regular.InOut, 0, 3);
_local3++;
}
_global.delayer.callFunction(this, "removeThisPlayer", 100, 1);
return(80);
}
function removeThisPlayer() {
statusPopup.removeMovieClip();
playerStateHint.removeMovieClip();
removeMovieClip();
}
function showChips(__amount) {
chips = _global.pokerView.showChips(playerNumber, __amount);
}
function showKeys(__amount) {
_global.pokerView.showKeys(playerNumber, __amount);
}
function throwKeys(__armSide, __amount, __updatePileValueDisplay) {
_global.pokerView.potIndicator.total = _global.pokerModel.pokerSave.roundObj.totalTableBet;
var _local8 = {x:0, y:0};
handAnimation[__armSide].chipsPoint.localToGlobal(_local8);
var _local9 = {x:_local8.x, y:_local8.y};
var _local4 = _global.activeScreen.layerChips.createEmptyMovieClip("tempkeys" + _global.activeScreen.layerChips.getNextHighestDepth(), _global.activeScreen.layerChips.getNextHighestDepth());
_local4.createEmptyMovieClip("loader", _local4.getNextHighestDepth());
_local4._x = _local9.x;
_local4._y = _local9.y;
var _local3 = 0;
while (_local3 < __amount) {
var _local6 = _local4.loader.attachMovie("keyPokerPile", "key" + _local3, _local4.loader.getNextHighestDepth(), {_rotation:0 + (_local3 * 25)});
_local3++;
}
_global.motion.slide(_local4, "_x", _global.motion.strong.Out, betPostionX + (-10 + Math.floor(Math.random() * 20)), 10);
var _local10 = (-105 + (Math.floor(Math.random() * 2) ? 0 : 180)) + Math.floor(Math.random() * 40);
_global.motion.slide(_local4, "_rotation", _global.motion.strong.Out, _local10, 10);
_global.motion.slide(_local4, "_y", _global.motion.strong.Out, betPostionY + (-10 + Math.floor(Math.random() * 20)), 10);
_global.activeScreen.addTableValue({mov:_local4}, "keys");
_global.delayer.callFunction(this, "showPildeValueDisplay", 10, 1, __amount, __updatePileValueDisplay, true);
}
function throwChips(__armSide, __amount, __updatePileValueDisplay, __speed) {
_global.pokerView.potIndicator.total = _global.pokerModel.pokerSave.roundObj.totalTableBet;
var _local4 = {x:0, y:0};
handAnimation[__armSide].chipsPoint.localToGlobal(_local4);
var _local7 = {x:_local4.x, y:_local4.y};
var _local3 = _global.activeScreen.layerChips.createEmptyMovieClip("temp" + _global.activeScreen.layerChips.getNextHighestDepth(), _global.activeScreen.layerChips.getNextHighestDepth());
_local3.createEmptyMovieClip("loader", _local3.getNextHighestDepth());
_local3._x = _local7.x;
_local3._y = _local7.y;
var _local5 = Math.floor(__amount / 1000);
if (_local5 > 15) {
_local5 = 15;
}
var _local8 = new as.poker.view.ChipsView({mov:_local3.loader, type:"TotalMess", xDistance:1.5, yDistance:1.5, chipsAmount:__amount, randomness:13, size:34 + _local5});
_global.delayer.callFunction(this, "showPildeValueDisplay", __speed, 1, __amount, __updatePileValueDisplay);
_global.motion.slide(_local3, "_x", _global.motion.regular.Out, betPostionX + (-10 + Math.floor(Math.random() * 20)), __speed);
_global.motion.slide(_local3, "_rotation", _global.motion.regular.Out, (-12 + Math.floor(Math.random() * 24)) * 10, __speed);
_global.motion.slide(_local3, "_y", _global.motion.regular.Out, betPostionY + (-10 + Math.floor(Math.random() * 20)), __speed);
_global.activeScreen.addTableValue(_local8, "chips");
}
function showPildeValueDisplay(__value, __updatePileValueDisplay, __showWithHouses) {
var _local4 = _global.pokerModel.pokerSave.roundObj.playersPlaying[playerNumber].bet;
if (!__showWithHouses) {
var _local3 = _global.pokerModel.pokerSave.roundObj.turnObj.actions_array[playerNumber].lastHouseValueBetted;
if (!_local3) {
_local3 = 0;
}
_local4 = _local4 - _local3;
}
__value = _local4;
if (!pildeValueDisplay) {
pildeValueDisplay = _global.activeScreen.chipsPopup.attachMovie("pileValueDisplay", "pileValueDisplay" + playerNumber, _global.activeScreen.chipsPopup.getNextHighestDepth(), {_x:betPostionX, _y:betPostionY + 10});
pildeValueDisplay._alpha = 80;
pildeValueDisplay.value = __value;
} else {
pildeValueDisplay.value = __value;
}
_global.pokerView.updatePileValueDisplaysFO(__updatePileValueDisplay);
}
function updatePildeValueDisplayColor() {
var _local2 = stateToFrame[status.split(" ").join("").split("-").join("")];
if (_local2 == undefined) {
_local2 = 2;
}
if (status == "Big blind") {
_local2 = (blindIsSufficient ? 1 : 2);
}
pildeValueDisplay.color = _local2;
}
}
Symbol 3595 MovieClip [__Packages.as.poker.view.ChipsView] Frame 0
class as.poker.view.ChipsView extends MovieClip
{
var colAmount, rowAmount, randomness, type, size, conf, pile, mov, renderBmp, yMode, xMode, pilePosition;
function ChipsView (__iObj) {
super();
colAmount = (__iObj.colAmount ? (__iObj.colAmount) : 5);
rowAmount = 2;
randomness = __iObj.randomness;
type = __iObj.type;
size = __iObj.size;
conf = new as.conf.poker.model.ChipsConf();
pile = createNewPile(__iObj.chipsAmount, 10);
mov = __iObj.mov;
mov._x = mov._x - (size / 2);
mov._y = mov._y - (size / 2);
renderBmp = new flash.display.BitmapData(size, size, true, 13421772, colAmount * rowAmount);
yMode = 0;
xMode = 0;
if (__iObj.yDistance > 0) {
yMode = 1;
}
if (__iObj.xDistance > 0) {
xMode = 1;
}
var _local17 = new Array(1, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000);
mov.attachBitmap(renderBmp, mov.getNextHighestDepth());
pilePosition = new Array({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {});
var _local3 = 0;
while (_local3 < (colAmount * 2)) {
var _local6 = _local3 % colAmount;
var _local13 = Math.floor(Math.random() * colAmount);
var _local12 = Math.floor(Math.random() * colAmount);
var _local7 = 0;
var _local8 = 0;
var _local9 = 0;
var _local5 = 0;
var _local16 = 0;
if (xMode == 0) {
_local5 = 0;
if (_local3 >= colAmount) {
_local5 = colAmount;
}
if (_local3 < colAmount) {
_local8 = -__iObj.yDistance;
_local9 = __iObj.xDistance;
}
_local16 = 9 - _local3;
} else {
_local5 = 0;
if (_local3 >= colAmount) {
_local5 = colAmount;
}
if (_local3 >= colAmount) {
_local8 = -__iObj.yDistance;
_local9 = __iObj.xDistance;
}
_local16 = _local3;
}
if (yMode == 0) {
_local7 = (colAmount - 1) - _local6;
} else {
_local7 = 0 + _local6;
}
pilePosition[_local7 + _local5] = {x:(((size / 2) - 9) + (__iObj.xDistance * (-2 + _local6))) + _local8, y:(((size / 2) - 9) + (__iObj.yDistance * (-2 + _local6))) + _local9, relativeSize:_local16};
_local3++;
}
switch (__iObj.type) {
case "TotalMess" :
var _local11 = 0;
_local3 = 0;
while (_local3 < (colAmount * 2)) {
if (_local11 < pile[pilePosition[_local3].relativeSize]) {
_local11 = pile[pilePosition[_local3].relativeSize];
}
_local3++;
}
var _local10 = 0;
while (_local10 < _local11) {
_local3 = 0;
while (_local3 < (colAmount * 2)) {
if (pile[pilePosition[_local3].relativeSize] > 0) {
showChipPile(pilePosition[_local3].x, pilePosition[_local3].y, conf.type[pilePosition[_local3].relativeSize], 1);
pile[pilePosition[_local3].relativeSize]--;
}
_local3++;
}
_local10++;
}
break;
default :
_local3 = 0;
for(;;){
if (_local3 >= (colAmount * 2)) {
break;
}
if (pile[pilePosition[_local3].relativeSize] > 0) {
showChipPile(pilePosition[_local3].x, pilePosition[_local3].y, conf.type[pilePosition[_local3].relativeSize], pile[pilePosition[_local3].relativeSize]);
}
_local3++;
};
}
}
function getTypeAmountUsedFromArray(pileArray) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < pileArray.length) {
if (pileArray[_local1] > 0) {
_local3++;
}
_local1++;
}
return(_local3);
}
function createNewPile(__chipsValue, __targetPileSize, __maximalTypesUse) {
var _local3 = new Array(__chipsValue, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var _local13 = 1;
var _local2 = 0;
var _local9 = true;
while (_local9 == true) {
var _local8 = conf.type[_local2];
var _local7 = _local3[_local2];
_local9 = false;
if (_local7 > __targetPileSize) {
var _local4 = __targetPileSize;
while (_local4 >= 0) {
var _local5 = (_local7 * _local8) - (_local4 * _local8);
if ((_local5 % conf.type[_local2 + 1]) == 0) {
_local3[_local2] = _local4;
_local3[_local2 + 1] = _local3[_local2 + 1] + (_local5 / conf.type[_local2 + 1]);
_local9 = true;
break;
}
_local4--;
}
}
_local2++;
}
_local2 = 0;
while ((getTypeAmountUsedFromArray(_local3) > __maximalTypesUse) && (_local2 < conf.type.length)) {
var _local8 = conf.type[_local2];
var _local7 = _local3[_local2];
if (_local7 > 0) {
var _local6 = (conf.type[_local2 + 1] * Math.ceil((_local7 * _local8) / conf.type[_local2 + 1])) % (_local7 * _local8);
if (_local6 == 0) {
_local3[_local2] = 0;
_local3[_local2 + 1] = _local3[_local2 + 1] + ((_local8 * _local7) / conf.type[_local2 + 1]);
} else if (_local2 > 0) {
if ((((_local6 % conf.type[_local2 - 1]) == 0) && (_local6 >= conf.type[_local2 - 1])) && (_local6 <= (conf.type[_local2 - 1] * _local3[_local2 - 1]))) {
var _local10 = _local6 / conf.type[_local2 - 1];
_local3[_local2 - 1] = _local3[_local2 - 1] - _local10;
_local3[_local2] = 0;
_local3[_local2 + 1] = _local3[_local2 + 1] + ((_local6 + (_local8 * _local7)) / conf.type[_local2 + 1]);
}
}
}
_local2++;
}
return(_local3);
}
function showChipPile(__x, __y, __bmpId, __pile) {
if (type != "TotalMess") {
renderBmp.copyPixels(_global.activeScreen.bmpLib.chipShadow, new flash.geom.Rectangle(0, 0, 15, 14), new flash.geom.Point(__x + 2.5, __y + 2.5), null, null, true);
}
var _local3 = 0;
while (_local3 < __pile) {
var _local5 = Math.floor(Math.random() * randomness);
var _local4 = Math.floor(Math.random() * randomness);
if ((_local3 == 0) && (type != "TotalMess")) {
_local5 = 2.5;
_local4 = _local5;
}
renderBmp.copyPixels(_global.activeScreen.bmpLib["chip" + __bmpId], new flash.geom.Rectangle(0, 0, 15, 14), new flash.geom.Point(__x + _local5, (__y - (_local3 * 0.3)) + _local4), null, null, true);
_local3++;
}
}
}
Symbol 3596 MovieClip [__Packages.as.conf.poker.model.ChipsConf] Frame 0
class as.conf.poker.model.ChipsConf
{
var type;
function ChipsConf () {
type = new Array(1, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 25000, 50000, 75000);
}
}
Symbol 3597 MovieClip [__Packages.as.poker.view.PileValueDisplay] Frame 0
class as.poker.view.PileValueDisplay extends MovieClip
{
var colorBfr, valueBfr, bg, __get__color, __get__width;
function PileValueDisplay () {
super();
}
function onLoad() {
color = (colorBfr);
width = (valueBfr.toString().length);
}
function set value(t) {
valueBfr = t;
width = (valueBfr.toString().length);
//return(value);
}
function set color(t) {
colorBfr = t;
bg.gotoAndStop(colorBfr);
value = (valueBfr);
//return(__get__color());
}
function get value() {
return(valueBfr);
}
function set width(t) {
bg.gotoAndStop(colorBfr);
bg.scalable.gotoAndStop(t);
//return(__get__width());
}
}
Symbol 3598 MovieClip [__Packages.as.poker.view.PokerHouseView] Frame 0
class as.poker.view.PokerHouseView extends MovieClip
{
var pressed, gotoAndStop, block, useHandCursor, pileValueDisplay, attachMovie, getNextHighestDepth, id;
function PokerHouseView () {
super();
pressed = false;
}
function onLoad() {
gotoAndStop(1);
}
function onRollOver() {
if (block) {
useHandCursor = false;
return(null);
}
if (pressed) {
return(null);
}
gotoAndStop(2);
pileValueDisplay = attachMovie("pileValueDisplay", "pileValueDisplayPot", getNextHighestDepth(), {_x:0, _y:-14, color:5, value:"$ " + _global.activeScreen.choiceNavigation.player.house[id].value, _alpha:80});
}
function onRollOut() {
pileValueDisplay.removeMovieClip();
if (block) {
return(null);
}
if (pressed) {
return(null);
}
gotoAndStop(1);
}
function onDragOut() {
onRollOut();
}
function onPress() {
if (block) {
return(null);
}
switch (pressed) {
case true :
pressed = false;
gotoAndStop(1);
_global.pokerChoiceNavigationView.adjustHouseBet("remove", id);
break;
default :
pressed = true;
gotoAndStop(3);
_global.pokerChoiceNavigationView.adjustHouseBet("add", id);
}
}
}
Symbol 3599 MovieClip [__Packages.as.poker.view.PlayerStatusPopup] Frame 0
class as.poker.view.PlayerStatusPopup extends MovieClip
{
var name, nameTxt, attachMovie, bg;
function PlayerStatusPopup () {
super();
}
function onLoad() {
nameTxt.htmlText = "<b>" + name.split("(").join("<font size='12'>(").split(")").join(")</font><b>");
}
function setRows(row) {
var _local2 = 0;
while (this["playerStatusPRow" + _local2]) {
this["playerStatusPRow" + _local2].removeMovieClip();
_local2++;
}
_local2 = 0;
while (_local2 < row.length) {
var _local3 = attachMovie("playerStatusPRow", "playerStatusPRow" + _local2, _local2 + 1, {_y:18 + (_local2 * 13)});
if (row[_local2].title.length > 10) {
var _local5 = new TextFormat();
_local5.size = 12;
_local3.titleTxt.setNewTextFormat(_local5);
}
_local3.titleTxt.text = row[_local2].title + ":";
_local3.valueTxt.text = row[_local2].value;
_local2++;
}
bg.gotoAndStop(row.length);
}
}
Symbol 3600 MovieClip [__Packages.as.Main] Frame 0
class as.Main
{
var version, root, lastSelectedLang, languages, pause;
function Main (__iObj) {
if (!_global.nietjaweltoch) {
setDebugVars(true);
}
_global.nietjaweltoch = true;
version = {demo:(((_global.buygamelink == "") || (!_global.buygamelink)) ? false : true)};
root = __iObj.root;
_global.main = this;
reset();
initExternalClasses();
}
function setDebugVars(__boo) {
}
function reset() {
_global.engine.stopAmbience(0);
_global.engine.stopMusic(0);
_global.keycontrol.clear();
_global.presenter.reset();
_global.view.clear();
_global.activeScreen.clear();
_global.engine.clear();
_global.careerModel.clear();
_global.pokerModel.clear();
delete _global.careerModel;
delete _global.config;
delete _global.viewConfig;
delete _global.model;
delete _global.view;
delete _global.presenter;
delete _global.delayer;
delete _global.motion;
delete _global.keycontrol;
delete _global.chanceCalculator;
delete _global.engine;
delete _global.pokerModel;
delete _global.cityView;
delete _global.activeScreen;
delete _global.pokerView;
initializeLanguages();
if (!_global.nietjaweltoch) {
setDebugVars(true);
}
_global.nietjaweltoch = true;
_global.minimalTourParticipate = 100;
_global.careerModel = new as.career.model.careerModel();
selectLanguage(_global.careerModel.userProgress.setting.Language);
if (!_global.soundOff) {
_global.engine = root.attachMovie("engine_mc", "engine_mc" + root.getNextHighestDepth(), root.getNextHighestDepth());
}
var _local3 = new as.View({root:root});
_local3 = new as.KeyControl();
_global.delayer = new as.core.Delayer();
_global.motion = new as.core.Motion();
_local3 = new as.Model();
_global.help = new as.model.Help();
_local3 = new as.Presenter();
return(true);
}
function initExternalClasses() {
_global.attachExitMenu = _global.model.quit;
}
function upperLanguageCode(__lan) {
var _local1 = __lan.split("");
_local1[0] = _local1[0].toUpperCase();
return(_local1.join(""));
}
function selectLanguage(__lan) {
if ((!__lan) && (lastSelectedLang)) {
__lan = lastSelectedLang;
}
if (!__lan) {
__lan = upperLanguageCode(_global.languageCode);
}
if (__lan == "En") {
__lan = "Us";
}
if (languages.inArray(__lan) === false) {
__lan = undefined;
}
if (!__lan) {
__lan = upperLanguageCode(System.capabilities.language);
}
if (__lan == "En") {
__lan = "Us";
}
if (languages.inArray(__lan) === false) {
__lan = "Us";
}
_global.careerModel.userProgress.setting.Language = __lan;
lastSelectedLang = __lan;
var languageConf = __lan;
if ((languageConf == "Gb") || (languageConf == "Us")) {
languageConf = "En";
}
_global.textDb = eval (("as.conf.Language." + languageConf) + "conf");
_global.help.conf = new as.conf.Helpconf();
_global.view.updateLanguage();
_global.careerModel.updateLanguage();
}
function initializeLanguages() {
languages = ["Nl", "Gb", "Us", "De", "Fr", "Es", "It"];
var _local2;
_local2 = as.conf.Language.Enconf;
_local2 = as.conf.Language.Nlconf;
_local2 = as.conf.Language.Deconf;
_local2 = as.conf.Language.Frconf;
_local2 = as.conf.Language.Esconf;
_local2 = as.conf.Language.Itconf;
}
function update() {
if (pause) {
return(null);
}
_global.controller.update();
_global.presenter.update();
_global.delayer.callFunctions();
_global.motion.updateTweens();
_global.engine.update();
_global.ferryDust.update();
_global.activeScreen.update();
}
function setPause() {
pause = true;
}
function removePause() {
pause = false;
}
}
Symbol 3601 MovieClip [__Packages.as.career.model.careerModel] Frame 0
class as.career.model.careerModel
{
var userProgress, conf;
function careerModel () {
_global.careerModel = this;
userProgress = {gender:"Male", name:"Cowboy", difficulty:"Easy"};
userProgress.possession = {helpShown:[], house:[0], money:0, city:[], cityHighlighted:[], cityWonVideo:[], houseRepAmount:0, highestTransport:0, transport:0, transportHighlighted:0};
userProgress.achievement = {coin:[], coinShown:[], firstPlace:0, secondPlace:0, thirdPlace:0, gamesStarted:{tour:0, cash:0, trans:0}, score:0, message:[], unprocessedHouse:{won:[], lose:[]}};
userProgress.currentPosition = {townId:0, time:0, currentScreen:"careerProperties"};
userProgress.surrounding = {townPeople:[], day:1, reputation:[30, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]};
userProgress.daily = {message:{}, balance:{pokerMoney:0, houseMoney:0, property:0, newTown:0, reward:0, transport:0}};
userProgress.setting = {help:true, pokerSpeed:1, soundMusic:100, soundFx:100, Language:undefined};
_global.cardType = 0 + Math.floor(Math.random() * 8);
conf = new as.conf.career.model.CareerModelconf();
var _local5 = 0;
while (_local5 < conf.city.length) {
var _local6 = getCityConfig(conf.city[_local5].title);
var _local3 = 0;
while (_local3 < _local6.inhabitant.length) {
if (!userProgress.surrounding.townPeople[_local5]) {
userProgress.surrounding.townPeople[_local5] = [];
}
if (!userProgress.surrounding.townPeople[_local5][_local3]) {
userProgress.surrounding.townPeople[_local5][_local3] = _local6.inhabitant[_local3];
}
userProgress.surrounding.townPeople[_local5][_local3].possession = {money:1000, house:[]};
_local3++;
}
_local5++;
}
_local5 = 0;
while (_local5 < conf.city.length) {
var _local6 = getCityConfig(conf.city[_local5].title);
var _local4 = 0;
var _local3 = 0;
while (_local3 < _local6.propertyId.length) {
if ((_local5 == 0) && (_local3 == 0)) {
} else {
userProgress.surrounding.townPeople[_local5][_local4].possession.house.push(_local6.propertyId[_local3]);
_local4++;
if (_local4 >= _local6.inhabitant.length) {
_local4 = 0;
}
}
_local3++;
}
_local5++;
}
_global.main.selectLanguage(_global.careerModel.userProgress.setting.Language);
}
function generateScore() {
var _local5 = 0;
var _local3 = 0;
while (_local3 < userProgress.surrounding.reputation.length) {
if ((!(conf.city[_local3].ring === undefined)) && (conf.city[_local3].ring <= userProgress.possession.transport)) {
var _local4 = userProgress.surrounding.reputation[_local3];
if (_local3 == 0) {
_local4 = _local4 - 30;
}
_local5 = _local5 + (_local4 * 10);
}
_local3++;
}
var _local7 = {Gold:300, Silver:200, Bronse:100};
var _local6 = 0;
_local3 = 0;
while (_local3 < userProgress.achievement.coin.length) {
_local6 = _local6 + _local7[_global.model.conf.achievements[userProgress.achievement.coin[_local3]].color];
_local3++;
}
var _local9 = Math.sqrt(userProgress.possession.money) * 2;
var _local8 = new Array("Easy", "Medium", "Hard");
userProgress.achievement.score = Math.floor((((((_local5 + _local6) + _local9) + (userProgress.possession.house.length - 1)) * 1000) / (userProgress.surrounding.day / 2)) * (1 + _local8.inArray(userProgress.difficulty)));
return(userProgress.achievement.score);
}
function getHouseValueFromId(__houseId) {
var _local3 = new Array("Easy", "Medium", "Hard");
var _local2 = conf.propertySpec[__houseId].price;
var _local4 = Math.floor((_local2 + (_local3.inArray(userProgress.difficulty) * (_local2 / 2))) / 10) * 10;
return(_local4);
}
function getPokerHouseValueFromId(__houseId) {
var _local2 = getHouseValueFromId(__houseId);
_local2 = Math.round((_local2 / 90) * 10) * 10;
return(_local2);
}
function getLevelFromConfigLevel(__level) {
var _local3 = new Array("Easy", "Medium", "Hard");
var _local2 = __level + _local3.inArray(userProgress.difficulty);
if (_local2 > 9) {
_local2 = 9;
}
return(_local2);
}
function addTime(__time) {
userProgress.currentPosition.time = userProgress.currentPosition.time + __time;
}
function getAliasFromTownReputation() {
return((checkCashgameReputation() ? (userProgress.name) : (_global.textDb.Stranger)));
}
function getPropertyMarketType(__propertyIndex) {
if (conf.propertySpec[_global.activeScreen.conf.propertyId[__propertyIndex]].lockmarket) {
return(false);
}
if (!(userProgress.possession.house.inArray(_global.activeScreen.conf.propertyId[__propertyIndex]) === false)) {
return("sell");
}
return("buy");
}
function activateCity(__city, __extra) {
var _local4 = getCityConfig(__city);
userProgress.currentPosition.townId = _local4.currentMapId;
userProgress.currentPosition.currentScreen = "city";
var _local5 = (((_global.cityView.conf.currentMap != __city) && (_global.cityView.conf.currentMap != undefined)) ? true : false);
_global.model.activateScreen(new as.career.view.city.CityView(__city, {mode:(_local5 ? "travel" : (((__extra.source == "event") ? "event" : "home"))), source:__extra.source, event:getCurrentCityEvents(__city), eventId:__extra.eventId}));
_global.delayer.callFunction(_global.model, "saveGame", 6, 1);
}
function getCurrentCityEvents(__cityName) {
var _local23 = 1;
var _local24 = 1;
var _local25 = new Array();
var _local26 = new Array();
var _local32 = new Array();
var _local34 = new Array();
var _local28 = new Array();
var _local9 = {transport:[], cashGame:[], tournament:[], sell:[], buy:[]};
if (!userProgress.surrounding.event) {
userProgress.surrounding.event = [];
}
if (!userProgress.surrounding.event[userProgress.currentPosition.townId]) {
userProgress.surrounding.event[userProgress.currentPosition.townId] = [];
var _local6 = new Array();
var _local8 = new Array();
var _local7 = new Array();
var _local2 = getCityConfig(__cityName);
var _local4 = 0;
while (_local4 < _local2.propertyId.length) {
var _local11 = conf.propertySpec[_local2.propertyId[_local4]];
var _local3 = {id:_local2.propertyId[_local4]};
_local3 = {id:_local2.propertyId[_local4]};
switch (_local11.type) {
case 0 :
if (!conf.propertySpec[_local3.id].lockmarket) {
_local8.push(_local3);
_local8[_local8.length - 1].special = {price:createRandomMinimumCash(_local2.minimalParticipationCash.cashGame)};
}
break;
case 1 :
_local7.push(_local3);
_local7[_local7.length - 1].special = {price:((userProgress.currentPosition.townId == 12) ? 0 : (_local2.minimalParticipationCash.transport.play))};
break;
case 2 :
_local6.push(_local3);
var _local10 = createRandomMinimumCash(_local2.minimalParticipationCash.tournament);
if (_local10 > userProgress.possession.money) {
_local10 = _local2.minimalParticipationCash.tournament.min;
}
_local6[_local6.length - 1].special = {price:_local10};
}
_local4++;
}
_local4 = 0;
while (_local4 < _local23) {
if (_local6.length > 0) {
var _local5 = _local6.splice(Math.floor(Math.random() * _local6.length), 1)[0];
_local5.eventId = userProgress.surrounding.event[userProgress.currentPosition.townId].length;
userProgress.surrounding.event[userProgress.currentPosition.townId].push({type:"tournament", status:{available:true, description:"free"}, typeId:2, special:_local5.special, view:_local5, buyIn:_local5.special.price});
_local9.tournament.push(_local5);
}
_local4++;
}
_local4 = 0;
while (_local4 < _local24) {
if (_local8.length > 0) {
var _local5 = _local8.splice(Math.floor(Math.random() * _local8.length), 1)[0];
_local5.eventId = userProgress.surrounding.event[userProgress.currentPosition.townId].length;
userProgress.surrounding.event[userProgress.currentPosition.townId].push({type:"cashGame", status:{available:checkCashgameReputation(), description:(checkCashgameReputation() ? "free" : "reputationProblem")}, typeId:0, special:_local5.special, view:_local5, entryCash:_local5.special.price});
_local9.cashGame.push(_local5);
}
_local4++;
}
if (checkBuyTransportOption()) {
_local4 = 0;
while (_local4 < _local7.length) {
var _local5 = _local7.splice(Math.floor(Math.random() * _local7.length), 1)[0];
_local5.eventId = userProgress.surrounding.event[userProgress.currentPosition.townId].length;
userProgress.surrounding.event[userProgress.currentPosition.townId].push({type:"transport", status:{available:checkCurrentRingOwnage(), description:"free"}, typeId:1, special:_local5.special, view:_local5, price:_local5.special.price});
_local9.transport.push(_local5);
_local4++;
}
}
} else {
var _local4 = 0;
while (_local4 < userProgress.surrounding.event[userProgress.currentPosition.townId].length) {
if (userProgress.surrounding.event[userProgress.currentPosition.townId][_local4]) {
_local9[userProgress.surrounding.event[userProgress.currentPosition.townId][_local4].type].push(userProgress.surrounding.event[userProgress.currentPosition.townId][_local4].view);
}
_local4++;
}
}
return({tournament:_local9.tournament, cashGame:_local9.cashGame, buy:_local9.buy, sell:_local9.sell, transport:_local9.transport});
}
function checkCashgameReputation() {
return(((userProgress.surrounding.reputation[userProgress.currentPosition.townId] >= 40) ? true : false));
}
function checkCurrentTownOwnage() {
if (!(userProgress.possession.city.inArray(userProgress.currentPosition.townId) === false)) {
return(true);
}
return(false);
}
function checkBuyTransportOption() {
if (conf.city[userProgress.currentPosition.townId].ring == userProgress.possession.transport) {
return(true);
}
}
function getParticipationMoneyFromEvent(__event) {
if (__event.buyIn) {
return(__event.buyIn);
}
if (__event.entryCash) {
return(__event.entryCash);
}
if (__event.price) {
return(__event.price);
}
}
function getEventMessageFromEventId(__eventId) {
var _local6 = 0;
var _local5 = "";
var _local3 = userProgress.surrounding.event[userProgress.currentPosition.townId][__eventId];
if (_local3.status.available && (getParticipationMoneyFromEvent(_local3) > userProgress.possession.money)) {
_local6 = 1;
_local5 = _global.activeScreen.conf.messages[_local3.type + "Money"].split("[playerName]").join(getAliasFromTownReputation()).split("[balance]").join(_local3.result.balance.toString().split("-").join("")).split("[greeting]").join(generateGreeting()).split("[transporttype]").join(_global.textDb["Transport" + conf.transport[userProgress.possession.transport + 1]]).split("[participationCash]").join(getParticipationMoneyFromEvent(_local3));
} else if (_local3.status.available) {
_local6 = 0;
_local5 = getEventMessage(_local3);
} else if (_local3.status.description == "justfinished") {
_global.activeScreen.playerInfo.update();
_local6 = 1;
_local5 = getFinishedEventMessage(_local3);
} else {
var _local4 = getRandomText();
_local6 = _local4.popupId;
_local5 = _local4.message;
}
return({popupId:_local6, message:_local5});
}
function getFinishedEventMessage(__event) {
var _local4 = "";
if (__event.result.houseChange) {
var _local6 = __event.result.houseChange.balance + __event.result.balance;
if (_local6 > 0) {
_local4 = _local4 + (_global.textDb.toCongratulations + " <br>");
} else {
_local4 = _local4 + (_global.textDb.toBad + ", <br>");
}
var _local10 = new Array();
var _local11 = new Array();
var _local8 = false;
var _local9 = false;
var _local7 = "";
var _local5 = "";
if (__event.result.balance > 0) {
_local7 = _local7 + (__event.result.balance + "$");
if (__event.result.houseChange.balance > 0) {
_local7 = _local7 + ((" " + _global.textDb.And) + " ");
}
}
if (__event.result.houseChange.balance > 0) {
_local7 = _local7 + (__event.result.houseChange.balance + _global.textDb.worthOfHouses.split("[150]").join(""));
}
if ((__event.result.balance > 0) || (__event.result.houseChange.balance > 0)) {
_local4 = _local4 + _global.textDb.youWon.split("[whatIsChanged]").join(_local7);
_local8 = true;
}
if (_local8 == true) {
_local4 = _local4 + ".<br>";
}
if (__event.result.balance < 0) {
_local5 = _local5 + (Math.abs(__event.result.balance) + "$");
if (__event.result.houseChange.balance < 0) {
_local5 = _local5 + ((" " + _global.textDb.And) + " ");
}
}
if (__event.result.houseChange.balance < 0) {
_local5 = _local5 + (Math.abs(__event.result.houseChange.balance) + "$ worth of houses");
}
if ((__event.result.balance < 0) || (__event.result.houseChange.balance < 0)) {
_local4 = _local4 + _global.textDb.youLost.split("[whatIsChanged]").join(_local5);
_local9 = true;
}
if (_local9 == true) {
_local4 = _local4 + ".<br>";
}
if (_local6 > 0) {
_local4 = _local4 + _global.textDb.totalProfit.split("[whatIsChanged]").join(Math.abs(_local6));
} else {
_local4 = _local4 + _global.textDb.totalLoss.split("[whatIsChanged]").join(Math.abs(_local6));
}
_local4 = _local4 + "<br>";
_local4 = _local4 + _global.textDb.comeBackLater;
} else {
_local4 = _global.activeScreen.conf.messages[__event.type + "Finished"][__event.result.description][Math.floor(Math.random() * _global.activeScreen.conf.messages[__event.type + "Finished"][__event.result.description].length)].split("[playerName]").join(getAliasFromTownReputation()).split("[balance]").join(__event.result.balance.toString().split("-").join("")).split("[greeting]").join(generateGreeting()).split("[transporttype]").join(_global.textDb["Transport" + conf.transport[userProgress.possession.transport]]);
}
__event.status.description = "finished";
return(_local4);
}
function getEventMessage(__event) {
return(_global.activeScreen.conf.messages[__event.type][Math.floor(Math.random() * _global.activeScreen.conf.messages[__event.type].length)].split("[playerName]").join(getAliasFromTownReputation()).split("[buyIn]").join(__event.buyIn).split("[entryCash]").join(__event.entryCash).split("[price]").join(__event.price).split("[greeting]").join(generateGreeting()).split("[transporttype]").join(_global.textDb["Transport" + conf.transport[userProgress.possession.transport + 1]]));
}
function generateGreeting() {
if ((Math.random() * 2) < 1) {
return(_global.textDb["greeting" + getTimeDescription()]);
}
var _local3 = _global.textDb.greetingRandom.concat();
return(_local3.splice(Math.floor(Math.random() * _local3.length), 1));
}
function setGameOver() {
_global.model.activateScreen(new as.career.view.Empty());
_global.model.activateMenu(new as.view.menu.GameOverMenu());
}
function finishPokerGame(__exitObj) {
if (_global.careerModel.userProgress.currentPosition.quickGame) {
return(false);
}
if (__exitObj.houseChange) {
var _local3 = 0;
while (_local3 < __exitObj.houseChange.won.length) {
_global.careerModel.userProgress.achievement.unprocessedHouse.won.push(__exitObj.houseChange.won[_local3]);
_local3++;
}
_local3 = 0;
while (_local3 < __exitObj.houseChange.lose.length) {
_global.careerModel.userProgress.achievement.unprocessedHouse.lose.push(__exitObj.houseChange.lose[_local3]);
_local3++;
}
}
var _local8 = userProgress.surrounding.event[userProgress.currentPosition.townId][userProgress.currentPosition.event];
_local8.status = {available:false, description:"justfinished"};
if (_local8.type == "tournament") {
__exitObj.won = __exitObj.won - _local8.buyIn;
}
var _local4 = [];
var _local10 = 0;
var _local7 = 0;
var _local11 = false;
_local8.result = {balance:__exitObj.won, description:__exitObj.result};
if ((__exitObj.houseChange.won.length > 0) || (__exitObj.houseChange.lose.length > 0)) {
_local8.result.houseChange = __exitObj.houseChange;
}
addTime(Math.floor(__exitObj.roundsPlayed / 20));
if (_global.careerModel.userProgress.currentPosition.governorCashgame == true) {
if (__exitObj.result == "won") {
_local4.push({type:"startMusic", value:"GoP.wav", delay:42});
_local7 = _local7 + (10 + ((__exitObj.won / __exitObj.buyin) * 10));
_local4.push({type:"showScreen", value:"showGovernorScreen", delay:260});
generateScore();
_local11 = true;
_local4.push({type:"startMusic", value:"GoP.wav", delay:42});
} else {
_local7 = _local7 + -60;
var _local6 = getCityConfig("El Paso");
var _local3 = 0;
while (_local3 < _local6.propertyId.length) {
userProgress.possession.house.splice(userProgress.possession.house.inArray(_local6.propertyId[_local3]), 1);
_local3++;
}
}
delete _global.careerModel.userProgress.currentPosition.governorCashgame;
} else {
_local10 = _local10 + __exitObj.won;
switch (_local8.type) {
case "transport" :
if (__exitObj.place == 1) {
_local7 = _local7 + 10;
addTransport();
_global.activeScreen.showTransportAfterTG();
if (_global.main.version.demo == true) {
_global.careerModel.userProgress.finished = true;
_local11 = true;
_local4.push({type:"startMusic", value:"GoP.wav", delay:202});
_local4.push({type:"showMap", value:"texas", delay:260});
}
}
break;
default :
if (__exitObj.result != "won") {
break;
}
var _local9 = __exitObj.won / __exitObj.buyin;
_local9 = (_local9 + Math.sqrt(_local9)) / 2;
_local7 = _local7 + (_local9 * 17);
if (_local7 <= 60) {
break;
}
_local7 = 60;
}
}
activateCity(conf.city[userProgress.currentPosition.townId].title, {source:"event", eventId:userProgress.currentPosition.event});
if ((_local8.type == "transport") && (__exitObj.place == 1)) {
_global.activeScreen.showTransportAfterTG();
}
_global.activeScreen.selectPerson(_global.activeScreen.eventCrowdIds[userProgress.currentPosition.event]);
userProgress.daily.balance.pokerMoney = userProgress.daily.balance.pokerMoney + __exitObj.won;
if (_local7 != 0) {
_global.delayer.callFunction(this, "adjustReputation", 2, 1, _local7);
}
if (_local10 != 0) {
_global.delayer.callFunction(this, "adjustCash", 2, 1, _local10);
}
delete userProgress.currentPosition.event;
var _local3 = 0;
while (_local3 < _local4.length) {
switch (_local4[_local3].type) {
case "startMusic" :
_global.delayer.callFunction(_global.engine, "startMusic", _local4[_local3].delay, 1, _local4[_local3].value, 0);
break;
case "showScreen" :
_global.delayer.callFunction(_global.model, _local4[_local3].value, _local4[_local3].delay, 1);
break;
case "showMap" :
_global.delayer.callFunction(_global.careerModel, "displayMapTexas", _local4[_local3].delay, 1);
}
_local3++;
}
if (_local11) {
_global.view.setPressAllow(false);
}
_global.delayer.callFunction(_global.model, "saveGame", 6, 1);
}
function getTimeDescription() {
if (userProgress.currentPosition.time < 3) {
return("morning");
}
if (userProgress.currentPosition.time < 6) {
return("day");
}
if (userProgress.currentPosition.time < 8) {
return("evening");
}
return("night");
}
function getPlayerPokerAtrib(__evenType, __event, __conf) {
var _local10 = 0;
var _local9 = __conf.minimalParticipationCash[__evenType];
if (__evenType == "cashGame") {
_local10 = _local9.max;
if (_local10 > userProgress.possession.money) {
_local10 = Math.floor(userProgress.possession.money);
}
} else if (__evenType == "transport") {
_local10 = _local9.play;
} else {
_local10 = __event.buyIn;
}
var _local7 = [];
if (__evenType == "cashGame") {
var _local3 = 0;
while (_local3 < _global.activeScreen.conf.propertyId.length) {
if ((!(userProgress.possession.house.inArray(__conf.propertyId[_local3]) === false)) && (conf.propertySpec[__conf.propertyId[_local3]].lockcashgame != true)) {
_local7.push({value:getPokerHouseValueFromId(__conf.propertyId[_local3]), status:"possession", id:__conf.propertyId[_local3]});
}
_local3++;
}
}
return({id:0 + ((userProgress.gender.toLowerCase() == "female") ? 1 : 0), name:userProgress.name, type:"User", chipAmount:_local10, house:_local7});
}
function getPersonPokerAtrib(__person, __evenType, __event, __conf) {
var _local13 = new Array();
if (__evenType == "cashGame") {
var _local2 = 0;
while (_local2 < __person.possession.house.length) {
if (userProgress.possession.house.inArray(__person.possession.house[_local2]) === false) {
_local13.push({value:getPokerHouseValueFromId(__person.possession.house[_local2]), status:"possession", id:__person.possession.house[_local2]});
}
_local2++;
}
}
var _local8 = 0;
var _local6 = __conf.minimalParticipationCash[__evenType];
if (__evenType == "cashGame") {
_local8 = _local6.min + (Math.floor((Math.random() * (_local6.max - _local6.min)) / 10) * 10);
} else if (__evenType == "transport") {
_local8 = _local6.play;
} else {
_local8 = __event.buyIn;
}
if (__person.appearanceId == 27) {
trace(("error appearanceId " + __person.appearanceId) + " needs to be 0");
}
return({level:getLevelFromConfigLevel(__person.level), id:__person.appearanceId, name:__person.name, styleId:__person.styleId, chipAmount:_local8, house:_local13});
}
function startDedicatedPokerGame(__iObj) {
var _local13 = 0;
var _local12 = [];
var _local18 = "tournament";
var _local15 = 0;
var _local8 = 8;
var _local9 = 3;
var _local5 = getCityConfig(__iObj.city);
var _local7 = {type:_local18, buyIn:_local5.minimalParticipationCash.tournament.max};
var _local17 = 1 + Math.floor((__iObj.playerAmount - 1) / 8);
if (_local8 > __iObj.playerAmount) {
_local8 = __iObj.playerAmount;
}
_local15 = (_local17 * _local7.buyIn) * 8;
var _local6 = new Array();
var _local3 = 0;
while (_local3 < userProgress.surrounding.townPeople[_local5.currentMapId].length) {
_local6.push(_local3);
_local3++;
}
var _local4 = 0;
while (_local4 < _local8) {
if (_local4 == _local9) {
_local12.push(getPlayerPokerAtrib(_local18, _local7, _local5));
} else {
_local12.push(getPersonPokerAtrib(userProgress.surrounding.townPeople[_local5.currentMapId][_local6.splice(Math.floor(Math.random() * _local6.length), 1)], _local18, _local7, _local5));
}
_local4++;
}
_global.userPlayer = _local9;
_global.model.createPokerTable({totalCash:_local15, tableAmount:_local17, type:_local7.type, city:conf.city[_local5.currentMapId].title.split(" ").join(""), players:_local12, blind:_local5.minimalParticipationCash[_local7.type].blind});
}
function activateEvent(__eventId) {
_global.careerModel.userProgress.currentPosition.pokerGame = undefined;
var _local3 = userProgress.surrounding.event[userProgress.currentPosition.townId][__eventId];
if (userProgress.achievement.message.inArray("first" + _local3.type) === false) {
userProgress.achievement.message.push("first" + _local3.type);
}
userProgress.currentPosition.event = __eventId;
var _local10 = userProgress.surrounding.townPeople[userProgress.currentPosition.townId].concat();
var _local15 = _local3.type;
var _local14 = 1;
var _local12 = 0;
switch (_local3.type) {
case "transport" :
_local15 = "cashGame";
_local10 = new Array();
var _local4 = 0;
while (_local4 < userProgress.surrounding.townPeople[userProgress.currentPosition.townId].length) {
if (userProgress.surrounding.townPeople[userProgress.currentPosition.townId][_local4].type == "transport") {
_local10[1] = getPersonPokerAtrib(userProgress.surrounding.townPeople[userProgress.currentPosition.townId][_local4], _local3.type, _local3, _global.activeScreen.conf);
_local10[3] = getPlayerPokerAtrib(_local3.type, _local3, _global.activeScreen.conf);
if (_local10[1].name == _global.careerModel.conf.governorName) {
userProgress.currentPosition.governorCashgame = true;
}
_global.userPlayer = 3;
}
_local4++;
}
if (_local10[1] == undefined) {
trace("error transport crowd not defined for current town " + conf.city[userProgress.currentPosition.townId].title);
return(null);
}
_local12 = _global.activeScreen.conf.minimalParticipationCash[_local3.type].play;
_global.careerModel.userProgress.achievement.gamesStarted.trans++;
break;
case "cashGame" :
_global.careerModel.userProgress.achievement.gamesStarted.cash++;
break;
case "tournament" :
_global.careerModel.userProgress.achievement.gamesStarted.tour++;
}
if (_local3.type != "transport") {
_local10 = new Array();
var _local8 = ((_local3.type == "tournament") ? 8 : 5);
var _local7 = ((_local3.type == "tournament") ? 3 : 2);
var _local6 = new Array();
_local4 = 0;
while (_local4 < userProgress.surrounding.townPeople[userProgress.currentPosition.townId].length) {
_local6.push(_local4);
_local4++;
}
var _local5 = 0;
while (_local5 < _local8) {
if (_local5 == _local7) {
_local10.push(getPlayerPokerAtrib(_local3.type, _local3, _global.activeScreen.conf));
} else {
_local10.push(getPersonPokerAtrib(userProgress.surrounding.townPeople[userProgress.currentPosition.townId][_local6.splice(Math.floor(Math.random() * _local6.length), 1)], _local3.type, _local3, _global.activeScreen.conf));
}
_local5++;
}
if (_local3.type == "tournament") {
_local14 = _global.careerModel.conf.minimalParticipationCash[conf.city[userProgress.currentPosition.townId].ring].tournament.maxtables;
_local12 = (_local14 * _local3.buyIn) * 8;
} else {
_local12 = _local10[_local7].chipAmount;
}
_global.userPlayer = _local7;
}
userProgress.currentPosition.eventType = _local3.type;
_global.model.createPokerTable({totalCash:_local12, tableAmount:_local14, type:_local3.type, city:conf.city[userProgress.currentPosition.townId].title.split(" ").join(""), players:_local10, blind:_global.activeScreen.conf.minimalParticipationCash[_local3.type].blind});
return(null);
}
function adjustCash(__cash) {
userProgress.possession.money = userProgress.possession.money + __cash;
}
function adjustReputation(__reputation) {
var _local4 = false;
userProgress.surrounding.reputation[userProgress.currentPosition.townId] = userProgress.surrounding.reputation[userProgress.currentPosition.townId] + __reputation;
if (userProgress.surrounding.reputation[userProgress.currentPosition.townId] > 100) {
userProgress.surrounding.reputation[userProgress.currentPosition.townId] = 100;
}
if (userProgress.surrounding.reputation[userProgress.currentPosition.townId] < 0) {
userProgress.surrounding.reputation[userProgress.currentPosition.townId] = 0;
}
if (checkCashgameReputation()) {
var _local3 = 0;
while (_local3 < userProgress.surrounding.event[userProgress.currentPosition.townId].length) {
if ((userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].type == "cashGame") && (userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.description == "reputationProblem")) {
userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.available = true;
userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.description = "free";
_local4 = true;
}
_local3++;
}
}
if (_local4) {
_global.activeScreen.updateAttentionMarks();
}
}
function createRandomMinimumCash(__cash) {
return(__cash.min + (Math.floor((Math.random() * (__cash.max - __cash.min)) / 10) * 10));
}
function setUserProperties(__propObj) {
userProgress.difficulty = __propObj.difficulty;
startCareer();
}
function getCityConfig(__cityName) {
switch (__cityName) {
case "San Saba" :
return(new as.conf.career.view.city.CitySanSabaconf());
case "Lampasas" :
return(new as.conf.career.view.city.CityLampasasconf());
case "LLano" :
return(new as.conf.career.view.city.CityLLanoconf());
case "Brady" :
return(new as.conf.career.view.city.CityBradyconf());
case "Meridian" :
return(new as.conf.career.view.city.CityMeridianconf());
case "San Antonio" :
return(new as.conf.career.view.city.CitySanAntonioconf());
case "El Dorado" :
return(new as.conf.career.view.city.CityElDoradoconf());
case "Dallas" :
return(new as.conf.career.view.city.CityDallasconf());
case "Beeville" :
return(new as.conf.career.view.city.CityBeevilleconf());
case "Fort Stockton" :
return(new as.conf.career.view.city.CityFortStocktonconf());
case "Boston" :
return(new as.conf.career.view.city.CityBostonconf());
case "Brownsville" :
return(new as.conf.career.view.city.CityBrownsvilleconf());
case "El Paso" :
return(new as.conf.career.view.city.CityElPasoconf());
}
trace("city not defined : " + __cityName);
}
function checkCurrentRingOwnage() {
var _local3 = true;
var _local2 = 0;
while (_local2 < conf.city.length) {
if (conf.city[_local2].ring == conf.city[userProgress.currentPosition.townId].ring) {
if (userProgress.possession.city.inArray(_local2) === false) {
_local3 = false;
}
}
_local2++;
}
return(_local3);
}
function checkCurrentCityOwnage() {
var _local6 = checkCityOwnageAmount(userProgress.currentPosition.townId);
var _local5 = ((_local6.total == _local6.possession) ? true : false);
if (_local5 == true) {
if (checkCurrentTownOwnage() === false) {
userProgress.daily.balance.newTown = userProgress.daily.balance.newTown + 1;
userProgress.possession.city.push(userProgress.currentPosition.townId);
}
var _local3 = 0;
while (_local3 < userProgress.surrounding.event[userProgress.currentPosition.townId].length) {
if (userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].type == "transport") {
if (userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.description != "justfinished") {
userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.available = false;
}
}
_local3++;
}
if (checkBuyTransportOption()) {
if (checkCurrentRingOwnage()) {
_local3 = 0;
while (_local3 < userProgress.surrounding.event[userProgress.currentPosition.townId].length) {
if (userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].type == "transport") {
if (userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.description != "justfinished") {
userProgress.surrounding.event[userProgress.currentPosition.townId][_local3].status.available = true;
}
}
_local3++;
}
}
}
} else {
var _local3 = 0;
while (_local3 < userProgress.possession.city.length) {
if (userProgress.possession.city[_local3] == userProgress.currentPosition.townId) {
var _local4 = userProgress.possession.city.splice(_local3, 1)[0];
if (!checkCurrentRingOwnage()) {
var _local2 = 0;
while (_local2 < userProgress.surrounding.event[userProgress.currentPosition.townId].length) {
if (userProgress.surrounding.event[userProgress.currentPosition.townId][_local2].type == "transport") {
userProgress.surrounding.event[userProgress.currentPosition.townId][_local2].status.available = false;
}
_local2++;
}
}
}
_local3++;
}
}
return(_local5);
}
function checkCityOwnageAmount(__cityId) {
var _local3 = getCityConfig(conf.city[__cityId].title);
var _local5 = 0;
var _local2 = 0;
while (_local2 < _local3.propertyId.length) {
if (!(userProgress.possession.house.inArray(_local3.propertyId[_local2]) === false)) {
_local5++;
}
_local2++;
}
return({total:_local3.propertyId.length, possession:_local5});
}
function addTransport() {
_global.help.removeUsed(14);
userProgress.possession.transport++;
if (userProgress.possession.highestTransport < userProgress.possession.transport) {
userProgress.possession.highestTransport = userProgress.possession.transport;
}
userProgress.daily.balance.transport = userProgress.daily.balance.transport + 1;
return(true);
}
function processHouse(__houseObj) {
switch (__houseObj.action) {
case "win" :
addHouseOwnage(__houseObj.house);
return(true);
case "lose" :
removeHouseOwnage(__houseObj.house);
return(true);
}
return(false);
}
function buyHouse(__houseId) {
if (getHouseValueFromId(__houseId) <= userProgress.possession.money) {
userProgress.possession.money = userProgress.possession.money - getHouseValueFromId(__houseId);
addHouseOwnage(__houseId);
_global.model.saveGame();
return(true);
}
return(false);
}
function sellHouse(__houseId) {
userProgress.possession.money = userProgress.possession.money + getHouseValueFromId(__houseId);
removeHouseOwnage(__houseId);
return(true);
}
function getRandomText() {
var _local10 = new Object();
var _local9 = 0;
while (_local9 < _global.activeScreen.conf.hintMessages.length) {
var _local6 = _global.activeScreen.conf.hintMessages[_local9];
if ((userProgress.daily.message[_local6.idName] != "shown") && (userProgress.achievement.message.inArray(_local6.idName) === false)) {
var _local3 = false;
var _local5 = 0;
while (_local5 < _local6.depent.length) {
_local3 = false;
switch (_local6.depent[_local5].type) {
case "event" :
var _local7 = userProgress.surrounding.event[userProgress.currentPosition.townId];
var _local4 = 0;
while (_local4 < _local7.length) {
var _local8 = _local7[_local4];
if ((_local8.type == _local6.depent[_local5].subtype) && (_local8.status.available == true)) {
_local3 = true;
break;
}
_local4++;
}
break;
case "noevent" :
_local3 = true;
_local7 = userProgress.surrounding.event[userProgress.currentPosition.townId];
_local4 = 0;
for(;;){
if (_local4 >= _local7.length) {
break;
}
var _local8 = _local7[_local4];
if (_local8.status.available) {
_local3 = false;
}
_local4++;
};
}
if (_local3 == false) {
break;
}
_local5++;
}
if (_local3 == true) {
_local10 = _local6;
}
if (_local10.text) {
break;
}
}
_local9++;
}
if (_local10.text) {
userProgress.daily.message[_local10.idName] = "shown";
return({popupId:1, message:_local10.text.split("[playerName]").join(getAliasFromTownReputation())});
}
return({popupId:1, message:conf.randomMessage[Math.floor(Math.random() * conf.randomMessage.length)].split("[playerName]").join(getAliasFromTownReputation()).split("[greeting]").join(generateGreeting())});
}
function updateLanguage() {
conf = new as.conf.career.model.CareerModelconf();
}
function resumeFromUserOptions(__mode, __optionObj) {
if (__mode == "save") {
userProgress.setting.soundMusic = __optionObj.soundMusic;
userProgress.setting.soundFx = __optionObj.soundFx;
}
if (__optionObj.returnTo != "returnToMainMenu") {
_global.view.resetMenu();
} else {
_global.model.activateMenu(new as.view.menu.MainMenu());
}
}
function skipDay() {
userProgress.possession.money = userProgress.possession.money + userProgress.daily.balance.houseMoney;
userProgress.currentPosition.time = 0;
userProgress.surrounding.day++;
delete userProgress.surrounding.event;
activateCity(conf.city[userProgress.currentPosition.townId].title, {daytime:"morning", source:"sleep"});
userProgress.daily = {message:{}, balance:{pokerMoney:0, houseMoney:0, property:0, newTown:0, reward:0, transport:0}};
}
function processDayEnding() {
var _local3 = 0;
var _local2 = 0;
while (_local2 < userProgress.possession.house.length) {
_local3 = _local3 + (returnIncomeFromHouseId(userProgress.possession.house[_local2]) / 7);
_local2++;
}
userProgress.daily.balance.houseMoney = userProgress.daily.balance.houseMoney + _local3;
if (userProgress.daily.balance.houseMoney > 0) {
userProgress.daily.balance.houseMoney = Math.ceil(userProgress.daily.balance.houseMoney);
}
}
function returnIncomeFromHouseId(__id) {
if (conf.propertySpec[__id].lockmarket) {
return(0);
}
return(Math.floor(conf.propertySpec[__id].price / 25));
}
function startCareer() {
userProgress.possession.money = conf.startingMoney[userProgress.difficulty];
if (_global.sc) {
activateCity(conf.city[7].title, {daytime:"morning", source:"sleep"});
} else {
activateCity("San Saba", {daytime:"morning", source:"sleep"});
}
}
function displayMapTexas() {
if ((_global.main.version.demo == true) && (userProgress.possession.transport > 0)) {
_global.model.activateScreen(new as.career.view.BFVMapTexasView());
} else {
_global.model.activateScreen(new as.career.view.MapTexasView());
}
}
function removeHouseOwnage(__id) {
var _local2 = userProgress.possession.house.inArray(__id);
userProgress.possession.house.splice(_local2, 1);
}
function addHouseOwnage(__id) {
var _local5;
var _local3;
var _local4;
userProgress.possession.house.push(__id);
userProgress.daily.balance.property = userProgress.daily.balance.property + 1;
_local5 = userProgress.possession.house.length;
_local3 = userProgress.possession.houseRepAmount;
if (!_local3) {
_local3 = 0;
}
_local4 = _local5 - _local3;
if (_local4 > 0) {
adjustReputation((20 / _global.activeScreen.conf.propertyId.length) * _local4);
userProgress.possession.houseRepAmount = _local5;
}
}
}
Symbol 3602 MovieClip [__Packages.as.conf.career.model.CareerModelconf] Frame 0
class as.conf.career.model.CareerModelconf
{
var governorName, city, transport, startingMoney, propertySpec, tournPerAmount, minimalParticipationCash, randomMessage;
function CareerModelconf () {
governorName = "Governor";
city = [{title:"San Saba", ring:0, propertyAmount:5}, {title:"Lampasas", ring:1, propertyAmount:6}, {title:"LLano", ring:1, propertyAmount:5}, {title:"Brady", ring:1, propertyAmount:6}, {title:"Meridian", ring:2, propertyAmount:6}, {title:"San Antonio", ring:2, propertyAmount:7}, {title:"El Dorado", ring:2, propertyAmount:7}, {title:"Dallas", ring:3, propertyAmount:7}, {title:"Beeville", ring:3, propertyAmount:7}, {title:"Fort Stockton", ring:3, propertyAmount:8}, {title:"Boston", ring:4, propertyAmount:8}, {title:"Brownsville", ring:4, propertyAmount:9}, {title:"El Paso", ring:4, propertyAmount:11}];
transport = ["Foot", "Horse", "Wagon", "Carriage", "Car"];
startingMoney = {Easy:600, Medium:300, Hard:240};
propertySpec = [{id:0, price:100, type:0, lockmarket:true, lockcashgame:true}, {id:1, price:100, type:0}, {id:2, price:200, type:2}, {id:3, price:150, type:1}, {id:4, price:100, type:0}, {id:5, price:200, type:0}, {id:6, price:200, type:0}, {id:7, price:200, type:0}, {id:8, price:400, type:2}, {id:9, price:200, type:0}, {id:10, price:200, type:0}, {id:11, price:400, type:2}, {id:12, price:310, type:1}, {id:13, price:200, type:0}, {id:14, price:200, type:0}, {id:15, price:200, type:0}, {id:16, price:200, type:0}, {id:17, price:200, type:0}, {id:18, price:400, type:2}, {id:19, price:200, type:0}, {id:20, price:200, type:0}, {id:21, price:300, type:1}, {id:22, price:350, type:0}, {id:23, price:700, type:2}, {id:24, price:350, type:0}, {id:25, price:470, type:1}, {id:26, price:350, type:0}, {id:27, price:350, type:0}, {id:28, price:350, type:0}, {id:29, price:350, type:0}, {id:30, price:350, type:0}, {id:31, price:350, type:0}, {id:32, price:470, type:1}, {id:33, price:700, type:2}, {id:34, price:350, type:0}, {id:35, price:350, type:0}, {id:36, price:700, type:2}, {id:37, price:350, type:0}, {id:38, price:470, type:1}, {id:39, price:350, type:0}, {id:40, price:350, type:0}, {id:41, price:750, type:1}, {id:42, price:1000, type:2}, {id:43, price:550, type:0}, {id:44, price:550, type:0}, {id:45, price:550, type:0}, {id:46, price:550, type:0}, {id:47, price:550, type:0}, {id:48, price:550, type:0}, {id:49, price:550, type:0}, {id:50, price:750, type:1}, {id:51, price:550, type:0}, {id:52, price:550, type:0}, {id:53, price:550, type:0}, {id:54, price:750, type:2}, {id:55, price:650, type:2}, {id:56, price:550, type:0}, {id:57, price:550, type:0}, {id:58, price:550, type:0}, {id:59, price:550, type:0}, {id:60, price:550, type:0}, {id:61, price:550, type:0}, {id:62, price:750, type:1}, {id:63, price:750, type:0}, {id:64, price:750, type:0}, {id:65, price:1300, type:2}, {id:66, price:750, type:0}, {id:67, price:750, type:0}, {id:68, price:750, type:0}, {id:69, price:750, type:0}, {id:70, price:1000, type:0}, {id:71, price:750, type:0}, {id:72, price:750, type:0}, {id:73, price:750, type:0}, {id:74, price:750, type:0}, {id:75, price:750, type:0}, {id:76, price:750, type:0}, {id:77, price:1300, type:2}, {id:78, price:750, type:0}, {id:79, price:750, type:0}, {id:80, price:750, type:0}, {id:81, price:1000, type:1}, {id:82, price:750, type:0}, {id:83, price:1500, type:2}, {id:84, price:750, type:0}, {id:85, price:750, type:0}, {id:86, price:750, type:0}, {id:87, price:750, type:0}, {id:88, price:750, type:0}, {id:89, price:750, type:0}, {id:90, price:750, type:0}, {id:91, price:750, type:0}, {id:92, price:350, type:0}];
tournPerAmount = [5, 8, 16, 24];
minimalParticipationCash = [{tournament:{min:_global.minimalTourParticipate, max:160, blind:0, maxtables:1}, cashGame:{min:140, max:200, blind:4}, transport:{play:150, buy:150, blind:3}}, {tournament:{min:320, max:390, blind:2, maxtables:2}, cashGame:{min:380, max:430, blind:6}, transport:{play:400, buy:200, blind:5}}, {tournament:{min:650, max:720, blind:4, maxtables:3}, cashGame:{min:730, max:820, blind:8}, transport:{play:800, buy:250, blind:6}}, {tournament:{min:1000, max:1070, blind:6, maxtables:3}, cashGame:{min:1200, max:1400, blind:10}, transport:{play:1300, buy:350, blind:7}}, {tournament:{min:1300, max:1400, blind:8, maxtables:3}, cashGame:{min:1450, max:1600, blind:12}, transport:{play:16000, buy:15000, blind:8}}];
randomMessage = _global.textDb.HelpRandomMessageText.concat();
}
}
Symbol 3603 MovieClip [__Packages.as.career.view.city.CityView] Frame 0
class as.career.view.city.CityView
{
var cityName, conf, iObj, cityPeople, openPopup, eventCrowdIds, animationLock, wind, cityMov, crowdPropertyIds, propertyEventIds, playerInfo, player, cosmetics;
function CityView (__cityName, __iObj) {
cityName = __cityName;
conf = _global.careerModel.getCityConfig(__cityName);
iObj = __iObj;
_global.cityView = this;
cityPeople = new Array();
openPopup = new Array();
eventCrowdIds = new Array();
}
function playStepSound() {
_global.engine.doWalk();
}
function showTransportAfterTG() {
var _local4;
var _local3 = [[214, 45, 17], null, [226, 47, 19], [227, 17, 17], [229, 17, 19], [229, 14, 17], [229, 38, 20], [223, 27, 12], [223, 32, 20], [223, 27, 33]];
if (_local3[_global.careerModel.userProgress.currentPosition.townId]) {
_local4 = setCrowdPerson(_local3[_global.careerModel.userProgress.currentPosition.townId][0], _local3[_global.careerModel.userProgress.currentPosition.townId][1], _local3[_global.careerModel.userProgress.currentPosition.townId][2], "decoration");
_local4.item.block = true;
_local4.item.gotoAndStop(1);
_local4.onPress = function () {
_global.careerModel.displayMapTexas();
};
}
if (_global.careerModel.userProgress.currentPosition.townId != 12) {
_global.view.loader.DynamicTopMenu.menu.topMenuButton0.highlight();
_global.view.loader.DynamicTopMenu.lockedDown = true;
_global.view.loader.DynamicTopMenu.lockDown();
}
}
function setAnimationLock(__mode) {
animationLock = __mode;
}
function displayTravelScene() {
_global.engine.stopAll(-1);
_root.stopAllSounds();
_global.model.activateMenu(new as.view.menu.TravelMenu());
}
function initScreen() {
if (_global.careerModel.userProgress.finished) {
_global.view.setPressAllow(false);
}
_global.engine.stopAll(-1);
_root.stopAllSounds();
_global.engine.startAmbience("Day");
_global.delayer.callFunction(_global.engine, "startAmbience", 17, 1, "Day");
_global.careerModel.checkCurrentCityOwnage();
var _local6 = {col:conf.travelEntrance.col, row:conf.travelEntrance.row};
switch (iObj.mode) {
case "travel" :
iObj.mode = "traveled";
displayTravelScene();
return(null);
case "home" :
_local6 = conf.tileRedirection[conf.sleepingPlace];
break;
case "event" :
_local6 = conf.tileRedirection[conf.propertyId.inArray(_global.careerModel.userProgress.surrounding.event[_global.careerModel.userProgress.currentPosition.townId][iObj.eventId].view.id)];
}
wind = -50 + Math.floor(Math.random() * 100);
if (conf.currentMapId == undefined) {
trace("this.conf.currentMapId not set");
}
cityMov = _global.view.loader.attachMovie("city", "map" + conf.currentMap.split(" ").join(""), _global.view.loader.getNextHighestDepth(), {_x:0, _y:0});
cityMov.gotoAndStop(1 + conf.currentMapId);
cityMov.night.light.gotoAndStop(1 + conf.currentMapId);
cityMov.citySign.gotoAndStop(conf.currentMapId + 1);
cityMov.night._visible = false;
cityMov.bg.onPress = function () {
if (this.animationLock || (!(_global.view.pressAllow === true))) {
return(null);
}
_global.cityView.closePopups();
_global.cityView.setDesiredPlayerPostion();
};
var _local7 = _global.view.loader.createEmptyMovieClip("tileAdmin", _global.view.loader.getNextHighestDepth());
_local7._alpha = 40;
updateHouseOwnage();
crowdPropertyIds = new Array();
propertyEventIds = new Array();
showCurrentCityEvents(iObj.event);
setCosmetics();
if (_global.careerModel.getTimeDescription() != "night") {
setTownPeople();
}
setTopMenu();
playerInfo = cityMov.playerInfo;
setCityAsset({type:"player", col:_local6.col, row:_local6.row});
switch (iObj.mode) {
case "event" :
break;
case "home" :
if (iObj.source == "sleep") {
setAnimationLock(true);
turnLight();
_global.delayer.callFunction(player, "setDesiredPostion", 10, 1, _local6.exitcol, _local6.exitrow);
} else {
_global.delayer.callFunction(player, "setDesiredPostion", 1, 1, _local6.exitcol, _local6.exitrow);
}
break;
case "traveled" :
_global.delayer.callFunction(player, "setDesiredPostion", 1, 1, conf.travelEntrance.exitcol, conf.travelEntrance.exitrow);
}
var _local4 = 0;
while (_local4 < conf.propertyId.length) {
var _local5 = cityMov["property" + conf.propertyId[_local4]];
_local5.menuReferenceId = conf.propertyId[_local4];
if (cityMov[("property" + conf.propertyId[_local4]) + "b"]) {
cityMov[("property" + conf.propertyId[_local4]) + "b"].menuReferenceId = conf.propertyId[_local4];
}
_local4++;
}
playerInfo = cityMov.playerInfo;
if (_global.selectPerson != undefined) {
_global.model.adjustSpeed(10000);
_global.delayer.callFunction(this, "selectPerson", 46, 1, _global.selectPerson);
} else {
_global.model.adjustSpeed(1);
}
showUnprocessedHouse();
if (_global.careerModel.getTimeDescription() != "night") {
_global.delayer.callFunction(this, "updateAttentionMarks", 18, 1);
} else {
setAnimationLock(true);
cityMov.night._visible = true;
cityMov.night.dark._alpha = 40;
cityMov.night.light._alpha = 80;
cityMov.night.light[conf.sleepingPlace + "_0"].hideMe();
_global.delayer.callFunction(this, "skipDay", 130, 1);
}
_global.engine.stopMusic(40);
if (_global.careerModel.userProgress.achievement.coin.length != _global.careerModel.userProgress.achievement.coinShown.length) {
processTopMenu("Rewards");
}
if ((_global.main.version.demo == true) && (_global.careerModel.userProgress.possession.transport > 0)) {
_global.delayer.callFunction(_global.careerModel, "displayMapTexas", 260, 1);
}
}
function setTopMenu() {
_global.view.loader.DynamicTopMenu.removeMovieClip();
_global.view.loader.attachMovie("DynamicTopMenu", "DynamicTopMenu", _global.view.loader.getNextHighestDepth(), {_x:0, _y:0, currentOptions:["Map of texas", "Next day", "Statistics", "Rewards", "Options", "Quit"], parentClass:this, lockedDown:((!(_global.careerModel.userProgress.possession.helpShown.inArray(0) === false)) ? false : true)});
if (_global.careerModel.userProgress.possession.helpShown.inArray(0) === false) {
_global.delayer.callFunction(_global.view.loader.DynamicTopMenu, "removeLockDown", 300, 1);
}
playerInfo.update();
}
function checkCashOptions() {
var _local9 = "";
if (_global.minimalTourParticipate > _global.careerModel.userProgress.possession.money) {
if (_global.careerModel.userProgress.possession.house.length > 1) {
_global.help.request({id:7, x:510, y:535, replaceContent:{minimum:_global.minimalTourParticipate, currentCash:Math.floor(_global.careerModel.userProgress.possession.money)}});
} else {
_global.help.request({id:8, x:510, y:535, replaceContent:{minimum:_global.minimalTourParticipate, currentCash:Math.floor(_global.careerModel.userProgress.possession.money), day:_global.careerModel.userProgress.surrounding.day}});
}
}
}
function showIntroHelp() {
if (_global.achievementM) {
_global.achievementM = "helprequest";
return(null);
}
var _local5 = false;
if (_global.help.request({id:0, x:player.mov._x + 7, y:player.mov._y + 8}) == false) {
if (_global.careerModel.userProgress.surrounding.event[_global.careerModel.userProgress.currentPosition.townId][1].status.available == true) {
_local5 = _global.help.request({id:4, x:cityPeople[eventCrowdIds[1]]._x + 7, y:cityPeople[eventCrowdIds[1]]._y - 50});
}
if ((_local5 == false) && (_global.careerModel.userProgress.surrounding.event[_global.careerModel.userProgress.currentPosition.townId][2].status.available == true)) {
if (_global.careerModel.userProgress.currentPosition.townId == 0) {
_local5 = _global.help.request({id:6, x:cityPeople[eventCrowdIds[2]]._x + 7, y:cityPeople[eventCrowdIds[2]]._y - 50});
} else if (_global.careerModel.userProgress.currentPosition.townId == 12) {
_local5 = _global.help.request({id:15, x:cityPeople[eventCrowdIds[2]]._x + 7, y:cityPeople[eventCrowdIds[2]]._y - 50});
} else {
var _local4 = "";
var _local3 = 0;
while (_local3 < conf.inhabitant.length) {
if (conf.inhabitant[_local3].type == "transport") {
_local4 = conf.inhabitant[_local3].name;
break;
}
_local3++;
}
_local5 = _global.help.request({id:14, x:cityPeople[eventCrowdIds[2]]._x + 7, y:cityPeople[eventCrowdIds[2]]._y - 50, replaceContent:{competitor:_local4, townName:conf.currentMap, transportType:_global.careerModel.conf.transport[_global.careerModel.userProgress.possession.transport + 1]}});
}
}
if (((_local5 == false) && (_global.careerModel.userProgress.surrounding.day > 2)) && (_global.careerModel.userProgress.possession.money > (_global.careerModel.getHouseValueFromId(1) * 2))) {
_global.delayer.callFunction(_global.help, "request", 20, 1, {id:16, x:cityMov.property1._x + 145, y:cityMov.property1._y - 45, replaceContent:{test:"test"}});
}
}
}
function skipDay() {
setAnimationLock(true);
_global.careerModel.processDayEnding();
if (!_global.careerModel.userProgress.daily.balanceShown) {
_global.model.activateMenu(new as.view.menu.DaySwitchMenu());
_global.careerModel.userProgress.daily.balanceShown = true;
} else {
_global.delayer.callFunction(_global.careerModel, "skipDay", 96, 1);
}
_global.delayer.callFunction(this, "turnDark", 6, 1);
cityMov.night.onPress = function () {
_global.careerModel.skipDay();
};
var _local3 = conf.tileRedirection[conf.sleepingPlace];
player.setDesiredPostion(_local3.col, _local3.row);
}
function turnDark() {
_global.engine.stopAmbience(25);
_global.delayer.callFunction(_global.engine, "startAmbience", 26, 1, "Night");
_global.motion.slide(cityMov.texasUp, "_alpha", _global.motion.none.In, 0, 70);
_global.motion.slide(cityMov.texasRight, "_alpha", _global.motion.none.In, 0, 70);
_global.motion.slide(cityMov.texasDown, "_alpha", _global.motion.none.In, 0, 70);
_global.motion.slide(cityMov.texasLeft, "_alpha", _global.motion.none.In, 0, 70);
if (cityMov.night._visible != true) {
cityMov.night._visible = true;
cityMov.night.dark._alpha = 0;
cityMov.night.light._alpha = 80;
_global.motion.slide(cityMov.night.dark, "_alpha", _global.motion.none.In, 100, 70);
var _local3 = 0;
while (_local3 < cityPeople.length) {
_global.delayer.callFunction(this, "removeCityPerson", 70, 1, _local3);
_local3++;
}
_local3 = 0;
while (_local3 < conf.propertyId.length) {
var _local4 = 0;
while (cityMov.night.light[(_local3 + "_") + _local4]) {
cityMov.night.light[(_local3 + "_") + _local4]._visible = false;
if (_local3 != conf.sleepingPlace) {
_global.delayer.callFunction(cityMov.night.light[(_local3 + "_") + _local4], "showMe", 2 + Math.floor(Math.random() * 30), 1);
_global.delayer.callFunction(cityMov.night.light[(_local3 + "_") + _local4], "hideMe", 60 + Math.floor(Math.random() * 30), 1);
}
_local4++;
}
_local3++;
}
} else {
_global.motion.slide(cityMov.night.dark, "_alpha", _global.motion.none.In, 100, 70);
}
var _local4 = 0;
while (cityMov.night.light[(conf.sleepingPlace + "_") + _local4]) {
_global.delayer.callFunction(cityMov.night.light[(conf.sleepingPlace + "_") + _local4], "showMe", 60, 1);
_global.delayer.callFunction(cityMov.night.light[(conf.sleepingPlace + "_") + _local4], "hideMe", 70, 1);
_local4++;
}
}
function turnLight() {
if (_global.careerModel.userProgress.surrounding.day > 1) {
_global.delayer.callFunction(_global.engine, "playSfx", 20, 1, "rooster.wav", 0, _global.careerModel.userProgress.setting.soundFx);
}
var _local3 = 0;
while (_local3 < conf.propertyId.length) {
var _local4 = 0;
while (cityMov.night.light[(_local3 + "_") + _local4]) {
cityMov.night.light[(_local3 + "_") + _local4]._visible = false;
if ((_local3 != conf.sleepingPlace) || (_local4 > 0)) {
_global.delayer.callFunction(cityMov.night.light[(_local3 + "_") + _local4], "showMe", 2 + Math.floor(Math.random() * 30), 1);
_global.delayer.callFunction(cityMov.night.light[(_local3 + "_") + _local4], "hideMe", 33 + Math.floor(Math.random() * 30), 1);
}
_local4++;
}
_local3++;
}
_global.motion.slide(cityMov.texasUp, "_alpha", _global.motion.none.In, 70, 70);
_global.motion.slide(cityMov.texasRight, "_alpha", _global.motion.none.In, 70, 70);
_global.motion.slide(cityMov.texasDown, "_alpha", _global.motion.none.In, 70, 70);
_global.motion.slide(cityMov.texasLeft, "_alpha", _global.motion.none.In, 70, 70);
cityMov.night._visible = true;
cityMov.night.dark._alpha = 100;
cityMov.night.light._alpha = 80;
_global.delayer.callFunction(this, "updateCityInfo", 1, 1);
_global.delayer.callFunction(_global.motion, "slide", 5, 1, cityMov.night.dark, "_alpha", _global.motion.none.Out, 1, 50);
_global.delayer.callFunction(cityMov.night.light[conf.sleepingPlace + "_0"], "showMe", 10, 1);
_global.delayer.callFunction(cityMov.night.light[conf.sleepingPlace + "_0"], "hideMe", 23, 1);
_global.delayer.callFunction(this, "setAnimationLock", 38, 1, false);
}
function removeCityPerson(__personId) {
cityPeople[__personId]._visible = false;
cityPeople[__personId].attentionMark._visible = false;
}
function setCosmetics() {
cosmetics = {smoke:[], fire:[], water:[]};
for (var _local10 in conf.cosmetics) {
switch (_local10) {
case "smoke" :
var _local2 = 0;
while (_local2 < conf.cosmetics[_local10].length) {
cosmetics[_local10].push(new as.view.comsmetic.Smoke(cityMov.cosmetic.createEmptyMovieClip("Smoke" + cityMov.cosmetic.getNextHighestDepth(), cityMov.cosmetic.getNextHighestDepth()), {source:{x:conf.cosmetics[_local10][_local2].x, y:conf.cosmetics[_local10][_local2].y, size:20}, destination:{x:conf.cosmetics[_local10][_local2].x, y:conf.cosmetics[_local10][_local2].y - 80, size:70}}));
_local2++;
}
break;
case "fire" :
_local2 = 0;
while (_local2 < conf.cosmetics[_local10].length) {
conf.tile[conf.cosmetics[_local10][_local2].col][conf.cosmetics[_local10][_local2].row] = 2;
conf.tile[conf.cosmetics[_local10][_local2].col - 1][conf.cosmetics[_local10][_local2].row] = 2;
conf.tile[conf.cosmetics[_local10][_local2].col][conf.cosmetics[_local10][_local2].row + 1] = 2;
conf.tile[conf.cosmetics[_local10][_local2].col - 1][conf.cosmetics[_local10][_local2].row + 1] = 2;
var _local3 = locationToPostion(conf.cosmetics[_local10][_local2].col, conf.cosmetics[_local10][_local2].row);
cosmetics[_local10].push(new as.view.comsmetic.Fire(cityMov.cosmetic.createEmptyMovieClip("Fire" + cityMov.cosmetic.getNextHighestDepth(), cityMov.cosmetic.getNextHighestDepth()), {source:{x:_local3.x, y:_local3.y, size:70}, destination:{x:_local3.x, y:_local3.y - 80, size:70}}));
_local2++;
}
break;
case "water" :
_local2 = 0;
for(;;){
if (_local2 >= conf.cosmetics[_local10].length) {
break;
}
conf.cosmetics[_local10][_local2].crowdReflection.crowdId = conf.cosmetics[_local10][_local2].crowdReflection.crowdIds[Math.floor(Math.random() * conf.cosmetics[_local10][_local2].crowdReflection.crowdIds.length)];
if (conf.cosmetics[_local10][_local2].crowdReflection.crowdId && (conf.cosmetics[_local10][_local2].crowdReflection.crowdId != -1)) {
var _local4 = setCrowdPerson(conf.cosmetics[_local10][_local2].crowdReflection.crowdId, conf.cosmetics[_local10][_local2].crowdReflection.col, conf.cosmetics[_local10][_local2].crowdReflection.row, "decoration");
_local4._y = _local4._y - 2;
}
cosmetics[_local10].push(new as.view.comsmetic.Water(cityMov.cosmetic.createEmptyMovieClip("Water" + cityMov.cosmetic.getNextHighestDepth(), cityMov.cosmetic.getNextHighestDepth()), conf.cosmetics[_local10][_local2]));
_local2++;
};
}
}
}
function update() {
wind = wind + (((Math.random() * 2) < 1) ? 1 : -1);
if (wind > 70) {
wind = 69;
}
for (var _local3 in cosmetics) {
var _local2 = 0;
while (_local2 < cosmetics[_local3].length) {
cosmetics[_local3][_local2].update(wind);
_local2++;
}
}
}
function buyTransport(__houseId) {
if (_global.careerModel.buyTransport()) {
_global.careerModel.displayMapTexas();
}
}
function sellHouse(__houseId) {
var _local3 = _global.careerModel.checkCurrentCityOwnage();
if (_global.careerModel.sellHouse(__houseId)) {
showHouseOwnerChange("remove", __houseId, _local3);
}
}
function showUnprocessedHouse() {
var _local3 = {};
if (_global.careerModel.userProgress.achievement.unprocessedHouse.won.length > 0) {
_local3 = {action:"win", house:_global.careerModel.userProgress.achievement.unprocessedHouse.won.pop()};
if (_global.careerModel.processHouse(_local3)) {
showHouseOwnerChange("add", _local3.house, undefined, {possesion:"won"});
}
} else if (_global.careerModel.userProgress.achievement.unprocessedHouse.lose.length > 0) {
_local3 = {action:"lose", house:_global.careerModel.userProgress.achievement.unprocessedHouse.lose.pop()};
var _local4 = _global.careerModel.checkCurrentCityOwnage();
if (_global.careerModel.processHouse(_local3)) {
showHouseOwnerChange("remove", _local3.house, _local4, {possesion:"losed"});
}
}
}
function showHouseOwnerChange(__mode, __houseId, __houseOwnage, __extra) {
if (!__extra.blockClosePopups) {
_global.cityView.closePopups();
}
switch (__mode) {
case "add" :
_global.engine.playSfx("House to blue.wav", 0, _global.careerModel.userProgress.setting.soundFx);
setAnimationLock(true);
cityMov["maskProperty" + __houseId].removeMovieClip();
var _local4 = cityMov.attachMovie("hitMc", "maskProperty" + __houseId, cityMov.getNextHighestDepth(), {_x:cityMov["ownageRoof" + __houseId]._x, _y:cityMov["ownageRoof" + __houseId]._y, _height:cityMov["ownageRoof" + __houseId]._height, _width:0});
_global.motion.slide(_local4, "_width", _global.motion.none.In, cityMov["ownageRoof" + __houseId]._width, 60);
cityMov["ownageRoof" + __houseId]._visible = true;
cityMov["ownageRoof" + __houseId]._alpha = 100;
cityMov["ownageRoof" + __houseId].setMask(_local4);
if (__extra.possesion != "won") {
_global.help.request({id:5, x:(-40 + cityMov["property" + __houseId]._x) + (cityMov["property" + __houseId]._width / 2), y:(-40 + cityMov["property" + __houseId]._y) + (cityMov["property" + __houseId]._height / 3), replaceContent:{profit:_global.careerModel.returnIncomeFromHouseId(__houseId)}});
}
_global.ferryDust = new as.view.comsmetic.FerryDustInsideBox(cityMov.cosmetic.createEmptyMovieClip("ferryDust", cityMov.cosmetic.getNextHighestDepth()), {xMin:cityMov["ownageRoof" + __houseId]._x, yMin:cityMov["ownageRoof" + __houseId]._y, xMax:cityMov["ownageRoof" + __houseId]._x + cityMov["ownageRoof" + __houseId]._width, yMax:cityMov["ownageRoof" + __houseId]._y + cityMov["ownageRoof" + __houseId]._height});
_global.delayer.callFunction(this, "removeFerryDust", 60, 1);
_global.delayer.callFunction(this, "setAnimationLock", 60, 1, false);
cityMov["property" + __houseId].dialogId = 1;
cityMov["property" + __houseId].init();
if (_global.careerModel.checkCurrentCityOwnage() && ((!_global.careerModel.userProgress.achievement.unprocessedHouse.lose.length) > 0)) {
if (_global.careerModel.userProgress.possession.cityWonVideo.inArray(conf.currentMapId) === false) {
_global.careerModel.userProgress.possession.cityWonVideo.push(conf.currentMapId);
_global.delayer.callFunction(_global.model, "activateMenu", 70, 1, new as.view.menu.WinTownMenu());
} else {
_global.delayer.callFunction(_global.careerModel, "displayMapTexas", 70, 1);
}
} else {
_global.delayer.callFunction(this, "showUnprocessedHouse", 60, 1);
}
playerInfo.update();
break;
case "remove" :
_global.engine.playSfx("Buy or sell transport or house.wav", 0, _global.careerModel.userProgress.setting.soundFx);
var _local5 = __houseOwnage;
setAnimationLock(true);
_global.motion.slide(cityMov["ownageRoof" + __houseId], "_alpha", _global.motion.none.In, 0, 6);
_global.delayer.callFunction(cityMov["ownageRoof" + __houseId], "hideMe", 7, 1);
if (_local5 && (!(_global.careerModel.userProgress.possession.cityHighlighted.inArray(conf.currentMapId) === false))) {
_global.careerModel.checkCurrentCityOwnage();
_global.delayer.callFunction(_global.careerModel, "displayMapTexas", 15, 1);
_global.delayer.callFunction(this, "setAnimationLock", 7, 1, false);
} else {
_global.delayer.callFunction(this, "setAnimationLock", 7, 1, false);
}
_global.delayer.callFunction(this, "showUnprocessedHouse", 60, 1);
_global.careerModel.checkCurrentCityOwnage();
playerInfo.update();
}
}
function buyHouse(__houseId) {
if (_global.careerModel.buyHouse(__houseId)) {
_global.help.setUsed(16);
showHouseOwnerChange("add", __houseId);
}
}
function setFerryDust() {
_global.ferryDust = new as.view.comsmetic.FerryDustInsideBox(cityMov.cosmetic.createEmptyMovieClip("ferryDust", cityMov.cosmetic.getNextHighestDepth()), {xMin:100, yMin:100, xMax:200, yMax:200});
_global.delayer.callFunction(this, "removeFerryDust", 60, 1);
}
function removeFerryDust() {
delete _global.ferryDust;
}
function updateLanguage() {
conf = _global.careerModel.getCityConfig(cityName);
setTopMenu();
}
function processTopMenu(__action) {
if (!(_global.view.pressAllow === true)) {
return(null);
}
switch (__action) {
case "Options" :
_global.model.activateMenu(new as.view.menu.MainSettingsMenu());
break;
case "Next day" :
skipDay();
break;
case "Map of texas" :
_global.careerModel.displayMapTexas();
break;
case "Statistics" :
_global.model.createStatisticMenu();
break;
case "Rewards" :
_global.model.createAchievementMenu();
break;
case "Quit" :
_global.model.popupConfirm({title:_global.textDb.saveNotify, target:this, func:"quit"});
}
}
function quit() {
delete _global.careerModel.userProgress.currentPosition.quickGame;
_global.engine.stopAmbience(0);
_global.engine.stopMusic(0);
_global.model.speed = 1;
_global.model.startIntro();
_global.model.createMainMenu();
}
function setTownPeople() {
var _local2 = 0;
while (_local2 < conf.randomPeople.length) {
var _local3 = findValidTilePosition(getTypeFromCrowdIndex(conf.randomPeople[_local2]), conf.townPeopleSpecialPosition["id" + conf.randomPeople[_local2]]);
setCrowdPerson(conf.randomPeople[_local2], _local3.col, _local3.row, "decoration");
_local2++;
}
}
function findValidTilePosition(__type, __special) {
if (__special) {
var _local11 = conf.specialPosition[__special.type + __special[__special.type + "Id"]];
return(_local11[Math.floor(Math.random() * _local11.length)]);
}
var _local2;
var _local5;
var _local8 = 0;
while (((((((!(conf.tile[_local2][_local5] === 0)) || (!(conf.tile[_local2 - 1][_local5] === 0))) || (!(conf.tile[_local2 + 1][_local5] === 0))) || (!(conf.tile[_local2][_local5 - 1] === 0))) || (!(conf.tile[_local2][_local5 + 1] === 0))) || (_local2 == undefined)) && (_local8 < 70)) {
_local2 = Math.floor(Math.random() * conf.tileColAmount);
_local5 = 2 + Math.floor((Math.random() * conf.tileRowAmount) - 2);
var _local7 = conf.comPosArray[__type].size;
var _local3 = {col:0, row:0};
if (_local7.col) {
_local3 = {col:_local7.col, row:_local7.row};
} else {
_local3 = {col:_local7, row:_local7};
}
if (_local3.col != undefined) {
var _local6 = _local3.col - 1;
while (_local6 <= (_local3.col + 1)) {
var _local4 = _local3.row - 1;
while (_local4 <= (_local3.row + 1)) {
if (!(conf.tile[_local2 + _local6][_local5 + _local4] === 0)) {
_local2 = undefined;
_local5 = undefined;
break;
}
_local4++;
}
if (_local2 == undefined) {
break;
}
_local6++;
}
}
_local8++;
}
return({col:_local2, row:_local5});
}
function findPropertyOwner(__propertyId) {
var _local3 = 0;
while (_local3 < _global.careerModel.userProgress.surrounding.townPeople[conf.currentMapId].length) {
var _local4 = _global.careerModel.userProgress.surrounding.townPeople[conf.currentMapId][_local3].possession.house.inArray(__propertyId);
if (!(_local4 === false)) {
return(_local3);
}
_local3++;
}
}
function updateHouseOwnage() {
var _local3 = 0;
while (_local3 < conf.tileRedirection.length) {
var _local4 = cityMov["property" + conf.propertyId[_local3]];
_local4.index = _local3;
if (!(_global.careerModel.userProgress.possession.house.inArray(conf.propertyId[_local3]) === false)) {
cityMov["ownageRoof" + conf.propertyId[_local3]]._visible = true;
if (!_local4.prop) {
_local4.prop = new Object();
}
_local4.prop.owner = _global.careerModel.userProgress.name;
} else {
cityMov["ownageRoof" + conf.propertyId[_local3]]._visible = false;
if (!_local4.prop) {
_local4.prop = new Object();
}
_local4.prop.owner = _global.model.convertBigToSmallName(conf.inhabitant[findPropertyOwner(conf.propertyId[_local3])].name);
}
_local4.prop.price = "$" + _global.careerModel.getHouseValueFromId(conf.propertyId[_local3]);
_local4.prop.income = ("$" + _global.careerModel.returnIncomeFromHouseId(conf.propertyId[_local3])) + " [weekly]";
_local4.initDialog();
if (cityMov[("property" + conf.propertyId[_local3]) + "b"]) {
var _local5 = cityMov[("property" + conf.propertyId[_local3]) + "b"];
_local5.index = _local3;
_local5.prop = new Object();
_local5.prop = _local4.prop;
_local5.initDialog();
}
_local3++;
}
}
function activateCrowdRequest(__index, __eventId) {
_global.cityView.closePopups();
moveToProperty(cityPeople[__index].properyId, {type:"activatePropertyEvent", eventId:__eventId});
}
function moveToProperty(__index, __action) {
player.setDesiredPostion(conf.tileRedirection[__index].col, conf.tileRedirection[__index].row, __action);
}
function displayEventMessage(__propertyId, __message) {
var _local4 = cityMov["property" + __propertyId].crowdMessenger.cityId;
var _local2 = cityPeople[cityMov["property" + __propertyId].crowdMessenger.cityId];
var _local3 = getComposArrayFromCrowdIndex(_local2.typeId);
player.setDesiredPostion(_local2.col + _local3.col, _local2.row + _local3.row, {type:"alternativeMessage", index:_local4, message:__message});
}
function selectProperty(__index) {
if (!(_global.view.pressAllow === true)) {
return(null);
}
if (!(crowdPropertyIds.inArray(conf.propertyId[__index]) === false)) {
selectPerson(crowdPropertyIds.inArray(conf.propertyId[__index]));
}
}
function showCrowdCommunication(__crowdIndex) {
var _local4 = {};
if (!(propertyEventIds[crowdPropertyIds[__crowdIndex]] === undefined)) {
_local4 = _global.careerModel.getEventMessageFromEventId(propertyEventIds[crowdPropertyIds[__crowdIndex]]);
} else {
_local4 = _global.careerModel.getRandomText();
}
var _local5 = cityMov.popupLoader2.attachMovie(("crowdTextBalloon" + ((cityPeople[__crowdIndex]._x > 400) ? "Right" : "Left")) + ((cityPeople[__crowdIndex]._y < 180) ? "Under" : ""), "crowdTextBalloon", cityMov.popupLoader2.getNextHighestDepth(), {message:_local4.message, dialogId:_local4.popupId, crowdId:__crowdIndex, eventId:propertyEventIds[crowdPropertyIds[__crowdIndex]]});
_local5._x = cityPeople[__crowdIndex]._x + 34.5;
_local5._y = cityPeople[__crowdIndex]._y + -104.7;
openPopup.push(_local5);
}
function closePopups() {
if (!(_global.view.pressAllow === true)) {
return(null);
}
var _local3 = openPopup.length - 1;
while (_local3 >= 0) {
openPopup[_local3].onRemove();
openPopup.pop();
_local3--;
}
}
function getTypeFromCrowdIndex(__index) {
if ((__index >= 190) && (__index <= 201)) {
trace("not a valid crowdIndex " + __index);
}
var _local2 = 0;
while (_local2 < conf.townPeopleArray.length) {
if (__index <= conf.townPeopleArray[_local2]) {
return(_local2);
}
_local2++;
}
}
function getComposArrayFromCrowdIndex(__index) {
return(conf.comPosArray[getTypeFromCrowdIndex(__index)]);
}
function selectPerson(__index) {
var _local2 = getComposArrayFromCrowdIndex(cityPeople[__index].typeId);
if (!(_local2.col === undefined)) {
var _local4 = {col:cityPeople[__index].col + _local2.col, row:cityPeople[__index].row + _local2.row};
player.setDesiredPostion(_local4.col, _local4.row, {type:"communicate", index:__index});
} else {
return(false);
}
}
function locationToPostion(__col, __row) {
return({x:conf.colWidth * __col, y:conf.rowHeight * __row});
}
function setDesiredPlayerPostion() {
var _local3 = {col:Math.floor((_root._xmouse / conf.cityWalkingWidth) * conf.tileColAmount), row:Math.floor((_root._ymouse / conf.cityWalkingHeight) * conf.tileRowAmount)};
var _local5 = conf.tile[_local3.col][_local3.row];
var _local4 = new Object();
if (_local5 != 2) {
player.setDesiredPostion(_local3.col, _local3.row, _local4);
}
}
function setCityAsset(__cityObj) {
if (!(__cityObj.type === "player")) {
} else {
player = new as.career.view.city.cityasset.PlayerCityAsset(__cityObj.col, __cityObj.row);
var _local3 = locationToPostion(__cityObj.col, __cityObj.row);
player.mov = cityMov.maskedCityAssets.attachMovie(player.conf.linkageId, player.conf.linkageId, cityMov.maskedCityAssets.getNextHighestDepth(), {_x:_local3.x, _y:_local3.y});
}
}
function select(__mode, __button) {
if (!(_global.view.pressAllow === true)) {
return(null);
}
if (!(__mode === "texasMap")) {
} else {
_global.careerModel.displayMapTexas();
}
}
function showCurrentCityEvents(__property) {
for (var _local6 in __property) {
var _local3 = 0;
while (_local3 < __property[_local6].length) {
var _local5 = _global.careerModel.userProgress.surrounding.event[_global.careerModel.userProgress.currentPosition.townId][__property[_local6][_local3].eventId];
if ((_global.careerModel.getTimeDescription() != "night") || (_local5.status.description == "justfinished")) {
propertyEventIds[__property[_local6][_local3].id] = __property[_local6][_local3].eventId;
setActiveProperty(__property[_local6][_local3].id, _local6, __property[_local6][_local3].message, __property[_local6][_local3].eventId);
}
_local3++;
}
}
}
function processDialogMenu(__dialogMc, __dialogPress) {
if (!(_global.view.pressAllow === true)) {
return(null);
}
if (!(__dialogMc.type === "property")) {
} else {
switch (__dialogMc.dialogId) {
case 0 :
if (__dialogPress == _global.textDb.yes) {
buyHouse(__dialogMc.menuReferenceId);
}
break;
case 1 :
if (__dialogPress != _global.textDb.yes) {
break;
}
sellHouse(__dialogMc.menuReferenceId);
}
}
}
function setActiveProperty(__id, __type, __message, __eventId) {
var _local7 = conf.propertyId.inArray(__id);
var _local2 = cityMov["property" + __id];
_local2.eventId = __eventId;
switch (__type) {
case "tournament" :
_local2.crowdMessenger = setCrowdMessenger(__id, __type, __message);
_local2.crowdMessenger.eventId = __eventId;
break;
case "transport" :
_local2.crowdMessenger = setCrowdMessenger(__id, __type, __message);
_local2.crowdMessenger.eventId = __eventId;
break;
case "cashGame" :
_local2.crowdMessenger = setCrowdMessenger(__id, __type, __message);
_local2.crowdMessenger.eventId = __eventId;
break;
default :
trace("cityview setactive not set for " + __type);
}
eventCrowdIds[__eventId] = _local2.crowdMessenger.cityId;
crowdPropertyIds[_local2.crowdMessenger.cityId] = __id;
}
function setCrowdPerson(__id, __col, __row, __action) {
var _local3 = new as.career.view.city.cityasset.BaseCityAsset();
_local3.mov = cityMov.maskedCityAssets.attachMovie("cityCrowdMan", "cityCrowdMan" + ((__row * _global.cityView.conf.tileColAmount) + __col), 999999, {_x:__col * conf.colWidth, _y:__row * conf.rowHeight});
_local3.mov.gotoAndStop(__id + 1);
_local3.setAssetPosition(__col, __row, getTypeFromCrowdIndex(__id));
_local3.mov.cityId = cityPeople.length;
_local3.mov.typeId = __id;
cityPeople.push(_local3.mov);
_local3.mov.onPress = function () {
if (!(_global.view.pressAllow === true)) {
return(null);
}
_global.cityView.selectPerson(this.cityId);
};
return(_local3.mov);
}
function setCrowdMessenger(__id, __type, __message) {
var _local2 = conf.propertyId.inArray(__id);
var _local3 = setCrowdPerson(conf.propMessenger[_local2].pers, conf.propMessenger[_local2].col, conf.propMessenger[_local2].row, "message");
_local3.properyId = _local2;
var _local5 = getComposArrayFromCrowdIndex(_local3.typeId);
var _local4 = {col:conf.propMessenger[_local2].col + _local5.col, row:conf.propMessenger[_local2].row + _local5.row};
conf.tile[_local4.col][_local4.row] = 1;
return(_local3);
}
function updateAttentionMarks() {
_global.delayer.callFunction(_global.activeScreen, "showIntroHelp", 1, 1);
_global.delayer.callFunction(this, "checkCashOptions", 10, 1);
var _local11 = true;
var _local4 = 0;
while (_local4 < crowdPropertyIds.length) {
var _local3 = _local4;
var _local6 = crowdPropertyIds[_local3];
var _local5 = conf.propertyId.inArray(_local6);
var _local7 = propertyEventIds[_local6];
var _local8 = _global.careerModel.userProgress.surrounding.event[_global.careerModel.userProgress.currentPosition.townId][_local7];
if (_local8.status.available) {
_local11 = false;
if (!cityPeople[_local3].attentionMark) {
cityPeople[_local3].attentionMark = cityMov.popupLoader.attachMovie("CityAttentionMark", "CityAttentionMark" + cityMov.popupLoader.getNextHighestDepth(), cityMov.popupLoader.getNextHighestDepth(), {_x:4 + (conf.propMessenger[_local5].col * conf.colWidth), _y:-44 + (conf.propMessenger[_local5].row * conf.rowHeight)});
cityPeople[_local3].attentionMark._alpha = 0;
cityPeople[_local3].attentionMark.person = cityPeople[_local3];
cityPeople[_local3].attentionMark.onPress = function () {
if (!(_global.view.pressAllow === true)) {
return(null);
}
this.person.onPress();
};
_global.motion.slide(cityPeople[_local3].attentionMark, "_alpha", _global.motion.none.In, 100, 10);
} else {
cityPeople[_local3].attentionMark._alpha = 100;
cityPeople[_local3].attentionMark._visible = true;
}
}
_local4++;
}
if (_local11) {
_global.view.loader.DynamicTopMenu.menu.topMenuButton1.highlight();
_global.view.loader.DynamicTopMenu.lockedDown = true;
_global.view.loader.DynamicTopMenu.lockDown();
if (!_global.achievementM) {
_global.help.request({id:((_global.careerModel.userProgress.daily.balance.pokerMoney > 0) ? 9 : 10), x:232, y:-15, replaceContent:{pokerBalance:_global.careerModel.userProgress.daily.balance.pokerMoney}});
}
}
}
function processCrowdRequest() {
}
}
Symbol 3604 MovieClip [__Packages.as.view.menu.TravelMenu] Frame 0
class as.view.menu.TravelMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg;
function TravelMenu () {
super();
conf = {bgString:"travelScene", options:["Skip"], button:{startX:340, startY:560, colAmount:2, xoffset:160, yoffset:40}};
}
function initMenu() {
_global.delayer.callFunction(_global.engine, "stopAmbience", 9, 1, 0);
_global.delayer.callFunction(_global.engine, "startAmbience", 10, 1, ((_global.careerModel.userProgress.possession.transport > 1) ? (((_global.careerModel.userProgress.possession.transport != 4) ? "TravelWheel" : "TravelCar")) : "TravelHorse"));
showMenu("Travel");
layerBg.menuMainBg.traveler.gotoAndStop(_global.careerModel.userProgress.possession.transport + ((_global.careerModel.userProgress.gender.toLowerCase() == "female") ? 4 : 0));
_global.motion.slide(layerBg.menuMainBg.traveler, "_x", _global.motion.none.Out, layerBg.menuMainBg.traveler._x + 210, 560);
layerBg.menuMainBg.menuClass = this;
}
function processSkip() {
_global.view.menuLoader.removeMovieClip();
_global.activeScreen.initScreen();
return(true);
}
}
Symbol 3605 MovieClip [__Packages.as.view.menu.DaySwitchMenu] Frame 0
class as.view.menu.DaySwitchMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg, layerButton;
function DaySwitchMenu () {
super();
conf = {bgString:"daySwitchScreen", position:{x:222, y:80}, options:["Ok"], button:{startX:100, startY:310, colAmount:2, xoffset:160, yoffset:40}};
}
function initMenu() {
_global.view.loader.DynamicTopMenu.removeMovieClip();
var _local4 = [];
var _local6 = _global.careerModel.userProgress.daily.balance;
if (_local6.newTown != 0) {
_local4.push({title:_global.textDb["Newtown" + (((_local6.newTown == 1) || (_local6.newTown == -1)) ? "" : "s")], value:_local6.newTown});
}
if (_local6.transport != 0) {
_local4.push({title:_global.textDb.Newtransport, value:_local6.transport});
}
if (_local6.pokerMoney != 0) {
_local4.push({title:_global.textDb.Pokergameearnings, value:_local6.pokerMoney, extens:" $"});
}
if (_local6.houseMoney != 0) {
_local4.push({title:_global.textDb.Houseearnings, value:_local6.houseMoney, extens:" $"});
}
if (_local6.property != 0) {
_local4.push({title:_global.textDb[("Propert" + (((_local6.property == 1) || (_local6.property == -1)) ? "y" : "ies")) + "bought"], value:_local6.property});
}
if (_local6.reward != 0) {
_local4.push({title:_global.textDb[("Reward" + ((_local6.reward == 1) ? "" : "s")) + "earned"], value:_local6.reward});
}
showMenu("Nextday");
layerBg.menuMainBg.titleSubStr.text = (_global.textDb.Day + " ") + _global.careerModel.userProgress.surrounding.day;
var _local3 = 0;
while (_local3 < _local4.length) {
var _local7 = layerButton.attachMovie("infoBoxBlack", ("infoBox" + layerButton.getNextHighestDepth()) + "a", layerButton.getNextHighestDepth(), {_x:18, _y:110 + (_local3 * 30)});
_local7.title_txt.text = _local4[_local3].title;
var _local5 = layerButton.attachMovie("infoBoxRed", ("infoBox" + layerButton.getNextHighestDepth()) + "b", layerButton.getNextHighestDepth(), {_x:218, _y:110 + (_local3 * 30)});
_local5.valueSet = 0;
if (_local4[_local3].extens) {
_local5.extens = _local4[_local3].extens;
}
if (_local4[_local3].dec) {
_local5.dec = _local4[_local3].dec;
}
_global.motion.slide(_local5, "valueSet", _global.motion.none.In, _local4[_local3].value, 50 + (_local3 * 10));
_local3++;
}
}
function processOk() {
delete _global.careerModel.userProgress.daily.balanceShown;
_global.careerModel.skipDay();
_global.view.menuLoader.removeMovieClip();
return(true);
}
}
Symbol 3606 MovieClip [__Packages.as.view.comsmetic.Smoke] Frame 0
class as.view.comsmetic.Smoke
{
var loader, source, destination, move, smokeChance;
function Smoke (__loader, __prop) {
if (__loader) {
loader = __loader;
}
source = __prop.source;
destination = __prop.destination;
move = {time:50};
insertParticle();
smokeChance = (__prop.smokeChance ? (__prop.smokeChance) : 25);
}
function update(__wind) {
if ((Math.random() * smokeChance) < 1) {
insertParticle(__wind);
}
}
function insertParticle(__wind) {
var _local3 = loader.attachMovie("smoke", "smoke" + (loader.getNextHighestDepth() % 200), loader.getNextHighestDepth() % 200, {_x:source.x, _y:source.y, _xscale:source.size, _yscale:source.size});
_local3.gotoAndStop(1 + (Math.random() * 6));
_global.motion.slide(_local3, "_y", _global.motion.none.In, destination.y, move.time);
_global.motion.slide(_local3, "_x", _global.motion.none.In, (destination.x + __wind) + (-20 + (Math.random() * 40)), move.time);
_global.motion.slide(_local3, "_xscale", _global.motion.none.In, destination.size, move.time);
_global.motion.slide(_local3, "_yscale", _global.motion.none.In, destination.size, move.time);
_global.motion.slide(_local3, "_alpha", _global.motion.regular.In, 0, move.time);
_global.motion.slide(_local3, "_rotation", _global.motion.none.In, -45 + (Math.random() * 90), move.time);
_global.delayer.callFunction(_local3, "removeMovieClip", move.time, 1);
}
}
Symbol 3607 MovieClip [__Packages.as.view.comsmetic.Fire] Frame 0
class as.view.comsmetic.Fire
{
var loader, source, destination, move, freeDepth, smoke;
function Fire (__loader, __prop) {
if (__loader) {
loader = __loader;
}
source = __prop.source;
destination = __prop.destination;
move = {time:20};
freeDepth = 3;
var _local2 = loader.attachMovie("blackClowdLoader", "blackClowdLoader", 1);
smoke = new as.view.comsmetic.Smoke(_local2.loader, {source:{x:source.x, y:source.y - 35, size:40}, smokeChance:7, destination:{x:source.x, y:(source.y - 80) - 40, size:80}});
_local2 = loader.attachMovie("firePlace", "firePlace", 2);
_local2._x = -15;
_local2._y = 7;
}
function update(__wind) {
insertParticle(__wind);
smoke.update(__wind);
}
function insertParticle(__wind) {
var _local5 = 5 + (Math.random() * 25);
var _local3 = loader.attachMovie("Fire", "Fire" + freeDepth, freeDepth, {_rotation:__wind / 4, _x:(source.x + -10) + (Math.random() * 20), _y:source.y + 3, _xscale:source.size, _yscale:source.size});
_local3.gotoAndStop(1 + Math.floor(Math.random() * 5));
_local3._alpha = 30 + (Math.random() * 60);
_global.motion.slide(_local3, "_alpha", _global.motion.regular.In, 0, move.time);
_global.motion.slide(_local3, "_rotation", _global.motion.none.In, 0, move.time / 2);
_global.motion.slide(_local3, "_y", _global.motion.none.In, source.y - 40, move.time);
_global.motion.slide(_local3, "_xscale", _global.motion.none.In, 0, move.time);
_global.motion.slide(_local3, "_yscale", _global.motion.none.In, 0, move.time);
_global.delayer.callFunction(_local3, "removeMovieClip", move.time, 4 + (Math.floor(Math.random() * 4) * 4));
freeDepth++;
if (freeDepth > 1200) {
freeDepth = 3;
}
}
}
Symbol 3608 MovieClip [__Packages.as.view.comsmetic.Water] Frame 0
class as.view.comsmetic.Water
{
var prop, loader, damper, result, source, buffer, output, surface, bounds, origin, matrix, wave, damp, water, mc, ms, frame, drop, fps, fpsDisplay;
function Water (__loader, __prop) {
prop = __prop;
if (__loader) {
loader = __loader;
}
if (_global.activeScreen.cityMov.waterLoader) {
loader = _global.activeScreen.cityMov.waterLoader;
}
var _local9 = new flash.geom.Matrix();
_local9.scale(20, 2);
var _local8 = new flash.filters.BlurFilter(3, 3, 3);
damper = new flash.display.BitmapData(prop.width, prop.height, false, 128);
result = new flash.display.BitmapData(prop.width, prop.height, false, 128);
source = new flash.display.BitmapData(prop.width, prop.height, false, 128);
buffer = new flash.display.BitmapData(prop.width, prop.height, false, 128);
output = new flash.display.BitmapData(prop.width, prop.height, true, 128);
surface = flash.display.BitmapData.loadBitmap("water" + prop.id);
var _local5 = flash.display.BitmapData.loadBitmap("crowdBmp" + prop.crowdReflection.crowdId);
var _local6 = new flash.geom.Matrix();
_local6.scale(1, -1);
_local6.translate(0, _local5.height);
var _local4 = new flash.display.BitmapData(_local5.width, _local5.height, true, 16763904);
_local4.draw(_local5, _local6);
_local4.applyFilter(_local4, _local4.rectangle, new flash.geom.Point(0, 0), _local8);
bounds = new flash.geom.Rectangle(0, 0, prop.width, prop.height);
origin = new flash.geom.Point();
matrix = new flash.geom.Matrix();
wave = new flash.filters.ConvolutionFilter(3, 3, [1, 1, 1, 1, 1, 1, 1, 1, 1], 9, 0);
damp = new flash.geom.ColorTransform(0, 0, 0.996094, 1, 0, 0, 2, 0);
water = new flash.filters.DisplacementMapFilter(result, origin, 4, 4, 32, 32);
mc = loader.createEmptyMovieClip("mc", loader.getNextHighestDepth());
mc._x = prop.x;
mc._y = prop.y;
mc.attachBitmap(output, mc.getNextHighestDepth(), "auto", true);
var _local7 = _local4.width;
if (_local7 > 60) {
_local7 = 60;
}
surface.copyPixels(_local4, new flash.geom.Rectangle(0, 0, _local7, _local4.height), new flash.geom.Point(128, 5), null, null, true);
mc._yscale = 60;
ms = getTimer();
frame = 0;
drop = new flash.geom.Rectangle(0, 0, 8, 8);
var _local3 = 0;
while (_local3 < prop.drop.sa) {
drop.x = random(prop.width) - 3;
drop.y = random(prop.height) - 3;
source.fillRect(drop, 255);
_local3++;
}
_global.delayer.callFunction(this, "showFish", 40 + Math.floor(Math.random() * 1000), 1);
}
function showFish() {
var _local3 = loader.attachMovie("fish" + (1 + Math.floor(Math.random() * 2)), "fish", loader.getNextHighestDepth(), {_x:220 + (Math.random() * 100), _y:390 + (Math.random() * 50)});
_global.delayer.callFunction(_local3, "removeMovieClip", 14, 1);
_global.delayer.callFunction(this, "showFish", 14 + Math.floor(Math.random() * 1000), 1);
}
function update(__wind) {
if ((_global.delayer.counter % prop.drop.interval) == 1) {
drop.x = prop.drop.sx + (Math.random() * prop.drop.ex);
drop.y = prop.drop.sy + (Math.random() * prop.drop.ey);
source.fillRect(drop, 255);
}
result.applyFilter(source, bounds, origin, wave);
result.draw(result, matrix, null, "add");
result.draw(buffer, matrix, null, "difference");
result.draw(result, matrix, damp);
result.merge(damper, bounds, origin, 0, 0, 1, 0);
output.applyFilter(surface, bounds, origin, water);
if ((getTimer() - 1000) > ms) {
ms = getTimer();
fps = frame;
fpsDisplay.text = fps.toString();
frame = 0;
} else {
frame++;
}
buffer = source;
source = result.clone();
}
}
Symbol 3609 MovieClip [__Packages.as.view.comsmetic.FerryDustInsideBox] Frame 0
class as.view.comsmetic.FerryDustInsideBox extends as.view.comsmetic.FerryDust
{
var loader, box, curX, curY, insertParticle;
function FerryDustInsideBox (__loader, __box) {
super();
loader = __loader;
box = __box;
curX = box.xMin;
curY = box.yMin;
var _local7 = 60;
var _local5 = 6;
var _local6 = Math.ceil(_local7 / _local5);
_global.motion.slide(this, "curX", _global.motion.none.In, box.xMax, _local7);
var _local4 = 0;
while (_local4 < _local6) {
_global.delayer.callFunction(_global.motion, "slide", _local4 * _local5, 1, this, "curY", _global.motion.regular.InOut, (((_local4 % 2) == 0) ? (box.yMax) : (box.yMin)), _local5);
_local4++;
}
}
function update() {
insertParticle(curX, curY);
insertParticle(curX, curY);
}
}
Symbol 3610 MovieClip [__Packages.as.view.menu.WinTownMenu] Frame 0
class as.view.menu.WinTownMenu extends as.view.menu.Menu
{
var conf, showMenu, layerButton;
function WinTownMenu () {
super();
conf = {bgString:"winTownAnimation", options:["currentCity", "Map of Texas"], button:{startX:245, startY:560, colAmount:2, xoffset:160, yoffset:40}};
}
function initMenu() {
showMenu("WinTown");
layerButton.buttoncurrentCity._alpha = 0;
_global.delayer.callFunction(_global.motion, "slide", 90, 1, layerButton.buttoncurrentCity, "_alpha", _global.motion.none.Out, 100, 4);
layerButton["buttonMap of Texas"]._alpha = 0;
_global.delayer.callFunction(_global.motion, "slide", 90, 1, layerButton["buttonMap of Texas"], "_alpha", _global.motion.none.Out, 100, 4);
_global.delayer.callFunction(_global.engine, "startMusic", 20, 1, "winmusic.wav", 0);
}
function processcurrentCity() {
_global.engine.stopMusic(40);
_global.activeScreen.updateAttentionMarks();
_global.view.menuLoader.removeMovieClip();
}
function processMapofTexas() {
_global.engine.stopMusic(20);
_global.view.menuLoader.removeMovieClip();
_global.careerModel.displayMapTexas();
return(true);
}
}
Symbol 3611 MovieClip [__Packages.as.view.menu.MainSettingsMenu] Frame 0
class as.view.menu.MainSettingsMenu extends as.view.menu.Menu
{
var returnTo, original, conf, showMenu, layerBg, selectRadioOption, layerButton;
function MainSettingsMenu (__return) {
super();
returnTo = __return;
}
function initMenu() {
original = {Fx:_global.careerModel.userProgress.setting.soundFx, Music:_global.careerModel.userProgress.setting.soundMusic, Language:_global.careerModel.userProgress.setting.Language};
conf = new as.conf.view.MainSettingsMenuconf();
if (_global.externalModel.wrapper) {
if (_global.externalModel.fullScreen) {
conf.options.push("window");
} else {
conf.options.push("fullscreen");
}
}
conf.options.push(((_global.careerModel.userProgress.setting.autoPauseBlock == true) ? "no" : "yes"));
updateLanguage();
}
function updateLanguage() {
conf.radioSelected = [];
var _local3 = 0;
while (_local3 < _global.main.languages.length) {
if (_global.main.languages[_local3] == _global.careerModel.userProgress.setting.Language) {
conf.radioSelected[0] = _local3;
}
_local3++;
}
showMenu("MainSettings");
layerBg.menuMainBg.languageSel_txt.text = _global.textDb.langSelect;
if (_global.externalModel.wrapper) {
layerBg.menuMainBg.screenMode_txt.text = _global.textDb.screenModeSelect;
} else {
layerBg.menuMainBg.screenMode_txt.text = "";
}
layerBg.menuMainBg.pauseMode_txt.text = _global.textDb.togglePauseOption;
}
function processLan_0() {
selectRadioOption(0, 0);
return(true);
}
function processLan_1() {
selectRadioOption(0, 1);
return(true);
}
function processLan_2() {
selectRadioOption(0, 2);
return(true);
}
function processLan_3() {
selectRadioOption(0, 3);
return(true);
}
function processLan_4() {
selectRadioOption(0, 4);
return(true);
}
function processLan_5() {
selectRadioOption(0, 5);
return(true);
}
function processLan_6() {
selectRadioOption(0, 6);
return(true);
}
function processLan_7() {
selectRadioOption(0, 7);
return(true);
}
function processLan_8() {
selectRadioOption(0, 8);
return(true);
}
function processLan_9() {
selectRadioOption(0, 9);
return(true);
}
function processLan_10() {
selectRadioOption(0, 10);
return(true);
}
function btnsSet() {
var _local6 = ["yes", "no", "fullscreen", "window"];
var _local5 = layerButton;
var _local3 = 0;
while (_local3 < _local6.length) {
_local5["button" + _local6[_local3]]._x = 100;
_local5["button" + _local6[_local3]]._y = 384 + (Math.floor(_local3 / 2) * 70);
_local3++;
}
var _local4 = 0;
while (_local4 < _global.main.languages.length) {
_local5["buttonLan_" + _local4].language.gotoAndStop(_global.main.languages[_local4]);
_local4++;
}
_local5.buttonSfxFader.vol = _global.careerModel.userProgress.setting.soundFx;
_local5.buttonmusicFader.vol = _global.careerModel.userProgress.setting.soundMusic;
}
function updateFader() {
var _local5;
var _local3;
var _local4;
_local3 = layerButton.buttonmusicFader.vol;
_local4 = layerButton.buttonSfxFader.vol;
_global.engine.soundTracks[0][0].setVolume(_local3);
if (!(_local3 === undefined)) {
_global.careerModel.userProgress.setting.soundMusic = _local3;
}
if (!(_local4 === undefined)) {
if (_global.careerModel.userProgress.setting.soundFx != _local4) {
_local5 = true;
}
_global.careerModel.userProgress.setting.soundFx = _local4;
}
_global.engine.updateVolume();
if (_local5 === true) {
_global.engine.playSfx("Round Button bleep.wav", 0, _global.careerModel.userProgress.setting.soundFx);
}
}
function updateRadioOption(__radio, __option) {
_global.main.selectLanguage(_global.main.languages[__option]);
}
function processwindow() {
_global.externalModel.toggleFullScreen();
initMenu();
}
function processfullscreen() {
processwindow();
}
function processyes() {
_global.careerModel.userProgress.setting.autoPauseBlock = ((_global.careerModel.userProgress.setting.autoPauseBlock == true) ? false : true);
initMenu();
}
function processno() {
processyes();
}
function processOk() {
_global.careerModel.resumeFromUserOptions("save", {returnTo:returnTo, soundMusic:layerButton.buttonmusicFader.vol, soundFx:layerButton.buttonSfxFader.vol});
return(true);
}
function processCancel() {
_global.careerModel.userProgress.setting.soundMusic = original.Music;
_global.careerModel.userProgress.setting.soundFx = original.Fx;
_global.main.selectLanguage(original.Language);
_global.engine.soundTracks[0][0].setVolume(_global.careerModel.userProgress.setting.soundMusic);
_global.careerModel.resumeFromUserOptions("cancel", {returnTo:returnTo});
return(true);
}
}
Symbol 3612 MovieClip [__Packages.as.conf.view.Menuconf] Frame 0
class as.conf.view.Menuconf
{
function Menuconf () {
}
}
Symbol 3613 MovieClip [__Packages.as.conf.view.MainSettingsMenuconf] Frame 0
class as.conf.view.MainSettingsMenuconf extends as.conf.view.Menuconf
{
var bgString, options, button, alternativeButton, position, radioOptions;
function MainSettingsMenuconf () {
super();
bgString = "menuMainSettingsBg";
options = new Array("Ok", "Cancel");
button = {startX:16, startY:500, colAmount:2, xoffset:170, yoffset:40};
alternativeButton = [{linkage:"faderLink", x:35, y:180, type:"fader", name:"musicFader"}, {linkage:"faderLink", x:205, y:180, type:"fader", name:"SfxFader"}];
position = {x:222, y:10};
radioOptions = [];
radioOptions[0] = [];
var _local4 = 0;
while (_local4 < _global.main.languages.length) {
alternativeButton.push({linkage:"languageOption", x:34 + ((_local4 % 4) * 80), y:232 + (Math.floor(_local4 / 4) * 65), name:"Lan_" + _local4});
radioOptions[0].push({title:"Card_" + _global.main.languages[_local4], x:44 + ((_local4 % 4) * 80), y:272 + (Math.floor(_local4 / 4) * 65)});
_local4++;
}
}
}
Symbol 3614 MovieClip [__Packages.as.career.view.city.cityasset.BaseCityAsset] Frame 0
class as.career.view.city.cityasset.BaseCityAsset
{
var typeId, mov;
function BaseCityAsset () {
}
function setAssetPosition(__col, __row, __type) {
typeId = __type;
if (typeId != undefined) {
var _local8 = _global.cityView.conf.comPosArray[__type].size;
var _local5 = {col:0, row:0};
if (_local8.col) {
_local5 = {col:_local8.col, row:_local8.row};
} else {
_local5 = {col:_local8, row:_local8};
}
var _local4 = 0;
while (_local4 < _local5.col) {
var _local3 = 0;
while (_local3 < _local5.row) {
_global.cityView.conf.tile[__col + _local4][__row + _local3] = 2;
_local3++;
}
_local4++;
}
}
mov.swapDepths((__row * _global.cityView.conf.tileColAmount) + __col);
mov.col = __col;
mov.row = __row;
}
function unsetAssetPosition(__col, __row) {
_global.cityView.conf.tile[__col][__row] = 0;
}
}
Symbol 3615 MovieClip [__Packages.as.career.view.city.cityasset.BaseMoveableCityAsset] Frame 0
class as.career.view.city.cityasset.BaseMoveableCityAsset extends as.career.view.city.cityasset.BaseCityAsset
{
var walking, col, row, mov, setAssetPosition, desiredCol, desiredRow, destionationAction, desiredPath, unsetAssetPosition;
function BaseMoveableCityAsset () {
super();
walking = "false";
}
function init(__col, __row) {
col = __col;
row = __row;
}
function standStill() {
mov.animation.gotoAndStop(4);
setAssetPosition(col, row);
}
function setDesiredPostion(__col, __row, __destionationAction) {
if (_global.cityView.conf.tile[__col][__row] == 2) {
trace(" SetDesiredPosition is not valid!!! ");
trace(" Col: " + __col);
trace(" Row: " + __row);
trace("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
return(null);
}
if ((_global.cityView.conf.tile[col][row] != 1) && (_global.cityView.conf.tile[col][row] != 0)) {
trace(" CurrentPosition is not valid!!! ");
trace(" Col: " + col);
trace(" Row: " + row);
trace("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
return(null);
}
_global.cityView.closePopups();
desiredCol = __col;
desiredRow = __row;
destionationAction = __destionationAction;
if (walking == "false") {
var _local5 = as.pathFinder.PathFinder.findPath(_global.cityView.conf.tile, col, row, __col, __row);
walkPath(_local5);
} else {
walking = "changeDirection";
}
}
function walkPath(__path) {
if (__path == undefined) {
return(null);
}
desiredPath = __path;
setStep();
}
function setStep() {
unsetAssetPosition(col, row);
col = desiredPath[0][0];
row = desiredPath[0][1];
setAssetPosition(col, row);
if (walking == "changeDirection") {
walking = "false";
setDesiredPostion(desiredCol, desiredRow, destionationAction);
return(null);
}
desiredPath.shift();
if (desiredPath.length > 0) {
if (col > desiredPath[0][0]) {
mov.gotoAndStop(3);
} else if (col < desiredPath[0][0]) {
mov.gotoAndStop(1);
} else if (row < desiredPath[0][1]) {
mov.gotoAndStop(2);
} else if (row > desiredPath[0][1]) {
mov.gotoAndStop(4);
}
if (walking == "false") {
mov.animation.gotoAndPlay(1);
walking = "true";
}
var _local3 = _global.cityView.locationToPostion(desiredPath[0][0], desiredPath[0][1]);
_global.motion.slide(mov, "_x", _global.motion.none.Out, _local3.x, 3);
_global.motion.slide(mov, "_y", _global.motion.none.Out, _local3.y, 3);
_global.delayer.callFunction(this, "setStep", 3, 1);
} else {
walking = "false";
mov.animation.gotoAndStop(4);
performDestinationAction();
}
}
function performDestinationAction() {
switch (destionationAction.type) {
case "communicate" :
case "alternativeMessage" :
var _local3 = _global.cityView.getComposArrayFromCrowdIndex(_global.cityView.cityPeople[destionationAction.index].typeId).col;
var _local4 = _global.cityView.getComposArrayFromCrowdIndex(_global.cityView.cityPeople[destionationAction.index].typeId).row;
if (_local3 == 0) {
if (_local4 > 0) {
mov.gotoAndStop(4);
mov.animation.gotoAndStop(4);
} else if (_local4 < 0) {
mov.gotoAndStop(2);
mov.animation.gotoAndStop(4);
}
} else if (_local4 == 0) {
if (_local3 > 0) {
mov.gotoAndStop(3);
mov.animation.gotoAndStop(4);
} else if (_local3 < 0) {
mov.gotoAndStop(1);
mov.animation.gotoAndStop(4);
}
}
if (destionationAction.type == "communicate") {
_global.cityView.showCrowdCommunication(destionationAction.index);
} else {
_global.cityView.showAlterNativeCrowdMessage(destionationAction.index, destionationAction.message);
}
break;
case "setHouseOwnage" :
_global.careerModel.adHouseOwnage(destionationAction.id);
_global.cityView.updateHouseOwnage();
break;
case "activatePropertyEvent" :
_global.careerModel.activateEvent(destionationAction.eventId);
break;
case "darken" :
_global.activeScreen.turnDark();
}
}
}
Symbol 3616 MovieClip [__Packages.as.pathFinder.PathFinder] Frame 0
class as.pathFinder.PathFinder
{
function PathFinder () {
}
static function findPath(mp, x0, y0, x1, y1) {
var _local6 = new as.pathFinder.core.Array2(mp.length, mp[0].length);
var _local9 = new Array();
var _local23 = new Array();
var _local24 = new as.pathFinder.core.Point2(x0, y0);
_local24.pathCost = 0;
_local6[x0][y0] = _local24;
_local9.push(_local24);
var _local1 = null;
while (_local9.length > 0) {
var _local15 = Number.MAX_VALUE;
var _local16 = 0;
var _local10 = _local9.length;
while (_local10--) {
_local1 = _local6[_local9[_local10].x][_local9[_local10].y];
var _local11 = _local1.pathCost + _local1.togoCost;
if (_local11 < _local15) {
_local16 = _local10;
_local15 = _local11;
}
}
_local1 = _local9[_local16];
_local1.open = false;
_local1.close = true;
if ((_local1.x == x1) && (_local1.y == y1)) {
break;
}
_local23[_local23.length] = _local1;
_local9.splice(_local16, 1);
var _local5 = -1;
while (_local5 <= 1) {
var _local4 = -1;
while (_local4 <= 1) {
var _local3 = _local1.x + _local5;
var _local2 = _local1.y + _local4;
if (((((_local5 || (_local4)) && (ALLOW_DIAG || (!(_local5 && (_local4))))) && (!_local6[_local3][_local2].close)) && (mp[_local3][_local2] != 2)) && (ALLOW_DIAG_CORNER || (!((_local5 && (_local4)) && ((!mp[_local3][_local1.y]) || (!mp[_local1.x][_local2])))))) {
var _local8 = _local1.pathCost + Math.round(mp[_local3][_local2] * Math.sqrt(Math.abs(_local5) + Math.abs(_local4)));
if (_local6[_local3][_local2].open) {
if (_local8 < _local6[_local3][_local2].pathCost) {
_local6[_local3][_local2].props = {parent:_local1, pathCost:_local8};
}
} else {
var _local21 = new as.pathFinder.core.Point2(_local3, _local2, {pathCost:_local8, open:true, close:false, togoCost:heuristic(mp, _local3, _local2, x1, y1), parent:_local1});
_local6[_local3][_local2] = _local21;
_local9[_local9.length] = _local21;
}
}
_local4++;
}
_local5++;
}
}
if ((_local1.x != x1) || (_local1.y != y1)) {
} else {
var _local22 = new Array();
_local22[_local22.length] = new Array(_local1.x, _local1.y);
do {
_local1 = _local1.parent;
var _local21 = new as.pathFinder.core.Point2(_local1.x, _local1.y);
_local21.moveCost = _local1.pathCost;
_local22[_local22.length] = new Array(_local1.x, _local1.y);
} while (_local1.parent);
_local22.reverse();
return(_local22);
}
}
static function heuristic(mp, x0, y0, x1, y1) {
return((Math.abs(x1 - x0) + Math.abs(y1 - y0)) * DEFAULT_COST);
}
static var ALLOW_DIAG = false;
static var ALLOW_DIAG_CORNER = false;
static var DEFAULT_COST = 10;
}
Symbol 3617 MovieClip [__Packages.as.pathFinder.core.Array2] Frame 0
class as.pathFinder.core.Array2 extends Array
{
var length;
function Array2 (w, h) {
super(w);
var _local3 = 0;
while (_local3 < w) {
this[_local3] = new Array(h);
_local3++;
}
}
function get width() {
return(length);
}
function get height() {
return(this[0].length);
}
function toString() {
return((("ArraY2 : " + width) + "/") + height);
}
function init(fill) {
var _local3 = 0;
while (_local3 < length) {
var _local2 = 0;
while (_local2 < this[_local3].length) {
this[_local3][_local2] = fill;
_local2++;
}
_local3++;
}
}
}
Symbol 3618 MovieClip [__Packages.as.pathFinder.core.Point2] Frame 0
class as.pathFinder.core.Point2
{
var __get__props, x, y;
function Point2 (dx, dy, o) {
init(dx, dy);
for (var _local3 in o) {
this[_local3] = o[_local3];
}
}
function set props(o) {
for (var _local3 in o) {
this[_local3] = o[_local3];
}
//return(__get__props());
}
function init(dx, dy) {
x = dx;
y = dy;
}
function toString() {
return(((("[" + x) + ":") + y) + "]");
}
function equals(pnt) {
return((pnt.x == x) && (pnt.y == y));
}
function compare(dx, dy) {
return((x == dx) && (y == dy));
}
}
Symbol 3619 MovieClip [__Packages.as.career.view.city.cityasset.PlayerCityAsset] Frame 0
class as.career.view.city.cityasset.PlayerCityAsset extends as.career.view.city.cityasset.BaseMoveableCityAsset
{
var conf, init;
function PlayerCityAsset (__col, __row) {
super();
conf = new as.conf.career.view.city.cityasset.PlayerCityAssetconf();
init(__col, __row);
}
}
Symbol 3620 MovieClip [__Packages.as.conf.career.view.city.cityasset.BaseCityAssetconf] Frame 0
class as.conf.career.view.city.cityasset.BaseCityAssetconf
{
function BaseCityAssetconf () {
}
}
Symbol 3621 MovieClip [__Packages.as.conf.career.view.city.cityasset.PlayerCityAssetconf] Frame 0
class as.conf.career.view.city.cityasset.PlayerCityAssetconf extends as.conf.career.view.city.cityasset.BaseCityAssetconf
{
var linkageId;
function PlayerCityAssetconf () {
super();
linkageId = "cityPersonPlayer" + _global.careerModel.userProgress.gender;
}
}
Symbol 3622 MovieClip [__Packages.as.career.view.Empty] Frame 0
class as.career.view.Empty
{
function Empty () {
}
function GameOverMenu() {
}
function initMenu() {
}
}
Symbol 3623 MovieClip [__Packages.as.view.menu.GameOverMenu] Frame 0
class as.view.menu.GameOverMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg;
function GameOverMenu () {
super();
conf = {bgString:"gameOverScreen", options:[], button:{startX:245, startY:560, colAmount:2, xoffset:160, yoffset:40}};
}
function initMenu() {
showMenu("GameOverMenu");
layerBg.menuMainBg.playerInfo.update();
_global.delayer.callFunction(layerBg.menuMainBg.playerInfo, "update", 4, 1);
_global.delayer.callFunction(_global.engine, "startMusic", 2, 1, "GoP.wav", 0);
_global.model.resetPlayer();
_global.delayer.callFunction(_global.model, "startIntro", 98, 1);
}
}
Symbol 3624 MovieClip [__Packages.as.conf.career.view.city.Cityconf] Frame 0
class as.conf.career.view.city.Cityconf
{
var cityWalkingWidth, cityWalkingHeight, tileColAmount, tileRowAmount, colWidth, rowHeight, townPeopleSpecialPosition, townPeopleArray, comPosArray, messages, minimalParticipationCash;
function Cityconf () {
cityWalkingWidth = 800;
cityWalkingHeight = 600;
tileColAmount = 60;
tileRowAmount = 40;
colWidth = cityWalkingWidth / tileColAmount;
rowHeight = cityWalkingHeight / tileRowAmount;
townPeopleSpecialPosition = {id8:{type:"lean", leanId:0}, id24:{type:"lean", leanId:1}, id37:{type:"lean", leanId:2}, id53:{type:"lean", leanId:3}, id72:{type:"lean", leanId:4}, id85:{type:"lean", leanId:5}, id208:{type:"lay", layId:0}, id205:{type:"lay", layId:1}};
townPeopleArray = [21, 49, 69, 96, 147, 201, 225, 229, 233, 242];
comPosArray = [{col:0, row:2, size:1}, {col:-2, row:0, size:1}, {col:0, row:-2, size:1}, {col:2, row:0, size:1}, {col:0, row:-2, size:1}, {col:0, row:2, size:1}, {size:2}, {size:{col:10, row:2}}, {size:{col:3, row:6}}, {size:{col:8, row:5}}];
var _local3 = _global.textDb;
messages = {tournament:["[greeting] [playerName],<br>" + _local3.playTournament], cashGame:["[greeting] [playerName],<br>" + _local3.playCashgame], transport:["[greeting] [playerName],<br>" + _local3.playTransport], cashGameFinished:{won:[_local3.playCashgameWon], losed:[_local3.playCashgameLosed], tie:[_local3.playCashgameTie]}, tournamentFinished:{won:[_local3.playTournamentWon], losed:[_local3.playTournamentLosed]}, transportFinished:{won:[_local3.playTransportWon], losed:[_local3.playTransportLosed]}, tournamentMoney:("[greeting] [playerName],<br>" + _local3.playTournamentMoney) + _local3.waysToEarn, cashGameMoney:("[greeting] [playerName],<br>" + _local3.playCashgameMoney) + _local3.waysToEarn, transportMoney:("[greeting] [playerName],<br>" + _local3.playTransportMoney) + _local3.waysToEarn};
minimalParticipationCash = {tournament:{min:100, max:160}, cashGame:{min:50, max:80}, transPort:[100]};
}
}
Symbol 3625 MovieClip [__Packages.as.conf.career.view.city.CitySanSabaconf] Frame 0
class as.conf.career.view.city.CitySanSabaconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, travelEntrance, propMessenger, currentMapId, currentMap, randomPeople, specialPosition, inhabitant, cosmetics, sleepingPlace, hintMessages, messages, minimalParticipationCash;
function CitySanSabaconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 2, 2, 2, 2, 2, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:5, row:12, exitcol:5, exitrow:18}, {col:16, row:12}, {col:29, row:12}, {col:49, row:12}, {col:25, row:25}];
propertyId = [0, 1, 2, 3, 4];
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
propMessenger = [{col:4, row:16, pers:0}, {col:14, row:16, pers:2}, {col:27, row:17, pers:6}, {col:51, row:16, pers:12}, {col:20, row:25, pers:44}];
currentMapId = 0;
currentMap = "San Saba";
randomPeople = [216, 202, 210, 188, 68, 55, 39, 14, 11, 8, 5];
specialPosition = {lean0:[{col:6, row:30}, {col:16, row:30}, {col:43, row:14}]};
inhabitant = [{name:"Tom Tyler Boots", sex:"male", level:0, styleId:0, appearanceId:22}, {name:"Quinn \u201CB\u201D Williams", sex:"male", level:1, styleId:2, appearanceId:2}, {name:"Ron (San Saba) Dixie", sex:"male", level:5, styleId:0, appearanceId:17, type:"transport"}, {name:"Fred Scott", sex:"male", level:2, styleId:1, appearanceId:26}, {name:"Tony Bannon", sex:"male", level:2, styleId:3, appearanceId:21}, {name:"Francis Hayes", sex:"female", level:1, styleId:3, appearanceId:15}, {name:"Angelina Hoover", sex:"female", level:0, styleId:0, appearanceId:13}, {name:"Charlene Jones", sex:"female", level:2, styleId:3, appearanceId:11}];
cosmetics = {smoke:[{x:76, y:123}]};
sleepingPlace = 0;
hintMessages = [{idName:"noevent", depent:[{type:"noevent"}], text:"Howdy [playerName],<br>" + _global.textDb.SSHintNoEvent}, {idName:"firsttournament", depent:[{type:"event", subtype:"tournament"}], text:"Howdy [playerName],<br>" + _global.textDb.SSfirstTournament}, {idName:"firstcashGame", depent:[{type:"event", subtype:"cashGame"}], text:"Howdy [playerName],<br>" + _global.textDb.SSfirstCashgame}, {idName:"horsetransport", depent:[{type:"event", subtype:"transport"}], text:"Howdy [playerName],<br>" + _global.textDb.SSfirstTransport}];
messages.transportFinished = {won:[_global.textDb.transportWon], losed:[_global.textDb.transportLosed]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[0];
}
}
Symbol 3626 MovieClip [__Packages.as.conf.career.view.city.CityLampasasconf] Frame 0
class as.conf.career.view.city.CityLampasasconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMapId, currentMap, randomPeople, inhabitant, cosmetics, travelEntrance, specialPosition, sleepingPlace, minimalParticipationCash;
function CityLampasasconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:12, row:5, exitcol:18, exitrow:10}, {col:26, row:8}, {col:9, row:12}, {col:29, row:13}, {col:10, row:26}, {col:26, row:25, exitcol:26, exitrow:29}];
propertyId = [5, 6, 7, 8, 9, 10];
propMessenger = [{col:14, row:8, pers:0}, {col:24, row:7, pers:48}, {col:13, row:15, pers:16}, {col:31, row:16, pers:12}, {col:16, row:28, pers:73}, {col:24, row:29, pers:0}];
currentMapId = 1;
currentMap = "Lampasas";
randomPeople = [(((Math.random() * 2) < 1) ? 208 : 205), 217, 215, 212, 203, 100, 60, 43, 16, 13, 9, 3];
inhabitant = [{name:"Trooper Boy", sex:"male", level:4, styleId:3, appearanceId:23}, {name:"Montgomery Anderson", sex:"male", level:3, styleId:2, appearanceId:26}, {name:"Sid Boulderdam", sex:"male", level:2, styleId:2, appearanceId:4}, {name:"Lester Brunette", sex:"male", level:3, styleId:0, appearanceId:18}, {name:"George Stormy", sex:"male", level:1, styleId:1, appearanceId:22}, {name:"Alice (Lampasas) Halo", sex:"female", level:6, styleId:0, appearanceId:3}, {name:"Jane Whiting", sex:"female", level:3, styleId:3, appearanceId:14}, {name:"Misty Jones", sex:"female", level:2, styleId:3, appearanceId:12}];
cosmetics = {smoke:[{x:174, y:125}], fire:[{col:50, row:25, x:680, y:370}]};
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
specialPosition = {lay0:[{col:50, row:26}, {col:51, row:23}], lay1:[{col:52, row:25}, {col:47, row:24}, {col:47, row:24}]};
sleepingPlace = 5;
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[1];
}
}
Symbol 3627 MovieClip [__Packages.as.conf.career.view.city.CityLLanoconf] Frame 0
class as.conf.career.view.city.CityLLanoconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, randomPeople, currentMapId, travelEntrance, inhabitant, sleepingPlace, cosmetics, minimalParticipationCash;
function CityLLanoconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:30, row:12}, {col:47, row:13}, {col:32, row:24}, {col:46, row:25, exitcol:40, exitrow:25}, {col:33, row:32}];
propertyId = [11, 12, 13, 14, 15];
propMessenger = [{col:33, row:16, pers:18}, {col:47, row:16, pers:10}, {col:28, row:22, pers:58}, {col:43, row:26, pers:48}, {col:36, row:34, pers:21}];
currentMap = "LLano";
randomPeople = [214, 213, 211, 189, 170, 157, 143, 100, 12, 4, 3];
currentMapId = 2;
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
inhabitant = [{name:"Cash Morris, Jr", sex:"male", level:3, styleId:3, appearanceId:24}, {name:"Rex Barton", sex:"male", level:4, styleId:1, appearanceId:0}, {name:"Chuy Whong", sex:"male", level:3, styleId:2, appearanceId:5}, {name:"Rodeo (Llano) Cameron", sex:"male", level:6, styleId:0, appearanceId:19, type:"transport"}, {name:"Ron Red Backy", sex:"male", level:3, styleId:3, appearanceId:23}, {name:"Dorothy Page", sex:"female", level:2, styleId:0, appearanceId:6}, {name:"Rosie Oakes", sex:"female", level:3, styleId:3, appearanceId:15}, {name:"Francis Whitewater", sex:"female", level:2, styleId:1, appearanceId:13}];
sleepingPlace = 3;
cosmetics = {smoke:[{x:408, y:443}]};
minimalParticipationCash = {tournament:{min:120, max:190, bb:10, sb:5}, cashGame:{min:100, max:150, bb:10, sb:5}, transport:{play:170, buy:200, bb:10, sb:5}};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[1];
}
}
Symbol 3628 MovieClip [__Packages.as.conf.career.view.city.CityBradyconf] Frame 0
class as.conf.career.view.city.CityBradyconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, travelEntrance, inhabitant, sleepingPlace, randomPeople, cosmetics, minimalParticipationCash;
function CityBradyconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:32, row:6}, {col:4, row:13}, {col:15, row:12}, {col:29, row:14, exitcol:36, exitrow:15}, {col:49, row:13}, {col:19, row:24}];
propertyId = [16, 17, 18, 19, 20, 21];
propMessenger = [{col:34, row:7, pers:121}, {col:2, row:16, pers:1}, {col:12, row:16, pers:14}, {col:32, row:15, pers:98}, {col:47, row:16, pers:19}, {col:20, row:21, pers:110}];
currentMap = "Brady";
currentMapId = 3;
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
inhabitant = [{name:"Harry Allen", sex:"male", level:3, styleId:1, appearanceId:25}, {name:"Whip ( Brady ) Wilson", sex:"male", level:4, styleId:0, appearanceId:1, type:"transport"}, {name:"Harry DeWitt", sex:"male", level:3, styleId:3, appearanceId:16}, {name:"Clayton Moore", sex:"male", level:2, styleId:2, appearanceId:20}, {name:"William Boyler", sex:"male", level:3, styleId:2, appearanceId:24}, {name:"Reno Blister", sex:"male", level:4, styleId:0, appearanceId:0}, {name:"Jacky Darryl", sex:"female", level:3, styleId:1, appearanceId:3}, {name:"Dale Easter", sex:"female", level:3, styleId:3, appearanceId:14}];
sleepingPlace = 3;
var _local4 = [210, 215, 226, 227, 230, 233, 234, 235, 236, 237];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 188, 173, 149, 114, 95, 46, 12, 25];
cosmetics = {smoke:[{x:363, y:164}], water:[{drop:{sa:4, interval:30, sx:7, sy:2, ex:194, ey:203}, id:0, x:177, y:389, width:207, height:211, crowdReflection:{crowdIds:[-1, 4, 96, 217], col:25, row:26}}]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[1];
}
}
Symbol 3629 MovieClip [__Packages.as.conf.career.view.city.CityMeridianconf] Frame 0
class as.conf.career.view.city.CityMeridianconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, travelEntrance, inhabitant, randomPeople, cosmetics, sleepingPlace, minimalParticipationCash;
function CityMeridianconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:48, row:8}, {col:8, row:13, exitcol:8, exitrow:18}, {col:29, row:12}, {col:16, row:28}, {col:40, row:24}, {col:31, row:30}];
propertyId = [22, 23, 24, 25, 26, 27];
propMessenger = [{col:45, row:6, pers:43}, {col:10, row:16, pers:11}, {col:31, row:16, pers:167}, {col:22, row:26, pers:74}, {col:37, row:21, pers:138}, {col:28, row:28, pers:34}];
currentMap = "Meridian";
currentMapId = 4;
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
inhabitant = [{name:"Slim Pickens", sex:"male", level:5, styleId:0, appearanceId:26}, {name:"Ken Curtain", sex:"male", level:5, styleId:1, appearanceId:2}, {name:"Wally Wales", sex:"male", level:4, styleId:3, appearanceId:17}, {name:"Buzz Allen", sex:"male", level:5, styleId:2, appearanceId:21}, {name:"Rodd Russell", sex:"male", level:6, styleId:3, appearanceId:25}, {name:"Chilly (Meridian) Wills", sex:"male", level:8, styleId:0, appearanceId:1, type:"transport"}, {name:"Peggy Stanford", sex:"female", level:4, styleId:1, appearanceId:6}, {name:"Lana Chandler", sex:"female", level:5, styleId:2, appearanceId:15}];
var _local4 = [210, 215, 226, 227, 230, 233, 234, 235, 236, 237];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 188, 153, 142, 128, 125, 66, 41, 3];
cosmetics = {smoke:[{x:506, y:114}, {x:644, y:77}, {x:573, y:313}]};
sleepingPlace = 1;
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[2];
}
}
Symbol 3630 MovieClip [__Packages.as.conf.career.view.city.CitySanAntonioconf] Frame 0
class as.conf.career.view.city.CitySanAntonioconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, travelEntrance, currentMapId, sleepingPlace, inhabitant, cosmetics, randomPeople, minimalParticipationCash;
function CitySanAntonioconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:18, row:12}, {col:28, row:13}, {col:41, row:14, exitcol:32, exitrow:18}, {col:8, row:24}, {col:25, row:23}, {col:44, row:26}, {col:28, row:30}];
propertyId = [28, 29, 30, 31, 32, 33, 34];
propMessenger = [{col:13, row:11, pers:42}, {col:26, row:16, pers:170}, {col:37, row:17, pers:9}, {col:9, row:21, pers:54}, {col:27, row:21, pers:144}, {col:42, row:27, pers:26}, {col:32, row:32, pers:73 + Math.floor(Math.random() * 2)}];
currentMap = "San Antonio";
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
currentMapId = 5;
sleepingPlace = 2;
inhabitant = [{name:"Ray Whitley", sex:"male", level:4, styleId:1, appearanceId:0}, {name:"Kermit Boneyard", sex:"male", level:3, styleId:2, appearanceId:4}, {name:"Hanes Cassidy", sex:"male", level:4, styleId:3, appearanceId:18}, {name:"Lash LeBlue", sex:"male", level:5, styleId:4, appearanceId:22}, {name:"Eddie Deacon", sex:"male", level:5, styleId:0, appearanceId:26}, {name:"George Raidell", sex:"male", level:5, styleId:0, appearanceId:2}, {name:"Hillary Gibson", sex:"female", level:4, styleId:2, appearanceId:7}, {name:"Tina (San Antonio) Host", sex:"female", level:8, styleId:0, appearanceId:3, type:"transport"}];
cosmetics = {smoke:[{x:114, y:330}, {x:354, y:420}, {x:266, y:123}]};
var _local4 = [210, 215, 226, 227, 230, 233, 234, 235, 236, 237];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 188, 153, 142, 128, 125, 66, 41, 3];
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[2];
}
}
Symbol 3631 MovieClip [__Packages.as.conf.career.view.city.CityElDoradoconf] Frame 0
class as.conf.career.view.city.CityElDoradoconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, travelEntrance, inhabitant, randomPeople, sleepingPlace, cosmetics, minimalParticipationCash;
function CityElDoradoconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:42, row:9}, {col:6, row:15}, {col:11, row:14}, {col:27, row:15, exitcol:27, exitrow:20}, {col:41, row:16}, {col:18, row:26}, {col:18, row:34}];
propertyId = [92, 37, 35, 36, 38, 39, 40];
propMessenger = [{col:37, row:11, pers:185}, {col:3, row:19, pers:171}, {col:14, row:18, pers:4}, {col:31, row:19, pers:21}, {col:37, row:18, pers:33}, {col:21, row:24, pers:83}, {col:20, row:32, pers:89}];
currentMap = "El Dorado";
currentMapId = 6;
travelEntrance = {col:0, row:21, exitcol:4, exitrow:21};
inhabitant = [{name:"William Heart", sex:"male", level:5, styleId:3, appearanceId:0}, {name:"Lee Zhang", sex:"male", level:5, styleId:3, appearanceId:5}, {name:"James Dice", sex:"male", level:4, styleId:2, appearanceId:19}, {name:"Rex (El Dorado) Ball", sex:"male", level:8, styleId:0, appearanceId:23, type:"transport"}, {name:"Jake Bannon", sex:"male", level:6, styleId:1, appearanceId:0}, {name:"Tim McAfee", sex:"male", level:5, styleId:0, appearanceId:4}, {name:"Scarlet River ", sex:"female", level:4, styleId:3, appearanceId:8}, {name:"Britney Feather", sex:"female", level:5, styleId:2, appearanceId:6}];
var _local4 = [210, 215, 226, 227, 230, 233, 234, 235, 236, 237];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 175, 170, 142, 128, 125, 66, 42, 3];
sleepingPlace = 3;
cosmetics = {smoke:[{x:94, y:184}, {x:161, y:150}, {x:598, y:75}, {x:219, y:349}]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[2];
}
}
Symbol 3632 MovieClip [__Packages.as.conf.career.view.city.CityDallasconf] Frame 0
class as.conf.career.view.city.CityDallasconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, travelEntrance, inhabitant, sleepingPlace, randomPeople, cosmetics, minimalParticipationCash;
function CityDallasconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0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, 2, 2, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:7, row:15}, {col:21, row:14}, {col:36, row:16, exitcol:30, exitrow:20}, {col:53, row:15}, {col:30, row:26}, {col:39, row:26}, {col:30, row:36}];
propertyId = [43, 41, 42, 44, 45, 46, 47];
propMessenger = [{col:6, row:19, pers:14}, {col:26, row:16, pers:75}, {col:32, row:18, pers:44}, {col:50, row:19, pers:166}, {col:28, row:23, pers:121}, {col:36, row:23, pers:116}, {col:26, row:34, pers:36}];
currentMap = "Dallas";
currentMapId = 7;
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
inhabitant = [{name:"Barry Carey, Jr", sex:"male", level:5, styleId:2, appearanceId:1}, {name:"Johnny Carpenter", sex:"male", level:6, styleId:1, appearanceId:16}, {name:"Dan Greene", sex:"male", level:7, styleId:2, appearanceId:20}, {name:"Tom (Dallas) Rifle", sex:"male", level:9, styleId:0, appearanceId:24, type:"transport"}, {name:"Huang Pong", sex:"male", level:5, styleId:2, appearanceId:0}, {name:"Chau Fong", sex:"male", level:6, styleId:1, appearanceId:5}, {name:"Jacky Carpenter", sex:"female", level:6, styleId:3, appearanceId:9}, {name:"Elizabeth Cooper", sex:"female", level:6, styleId:0, appearanceId:7}, {name:"Elaine Holywater", sex:"female", level:5, styleId:0, appearanceId:3}];
sleepingPlace = 2;
var _local4 = [215, 228, 229, 231, 232, 238, 239, 240, 241];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 203 + Math.floor(Math.random() * 8), 150, 126, 112, 95, 84, 43, 32];
cosmetics = {smoke:[{x:245, y:89}, {x:714, y:171}, {x:436, y:470}]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[3];
}
}
Symbol 3633 MovieClip [__Packages.as.conf.career.view.city.CityBeevilleconf] Frame 0
class as.conf.career.view.city.CityBeevilleconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, travelEntrance, inhabitant, sleepingPlace, randomPeople, cosmetics, minimalParticipationCash;
function CityBeevilleconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0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, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:22, row:5}, {col:7, row:15}, {col:27, row:15}, {col:5, row:26}, {col:42, row:27}, {col:49, row:27}, {col:26, row:32, exitcol:22, exitrow:32}];
propertyId = [48, 49, 50, 51, 52, 53, 54];
propMessenger = [{col:19, row:7, pers:27}, {col:9, row:18, pers:167}, {col:30, row:19, pers:12}, {col:9, row:24, pers:129}, {col:39, row:24, pers:131}, {col:47, row:24, pers:35}, {col:24, row:27, pers:122}];
currentMap = "Beeville";
currentMapId = 8;
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
inhabitant = [{name:"Hoot (Beeville) Gibbler", sex:"male", level:9, styleId:0, appearanceId:2, type:"transport"}, {name:"Reno Browne", sex:"male", level:6, styleId:0, appearanceId:17}, {name:"Al \u2018Rocky\u2019 Lace", sex:"male", level:5, styleId:1, appearanceId:21}, {name:"Broncho Billy", sex:"male", level:6, styleId:2, appearanceId:25}, {name:"Rich Daxter", sex:"male", level:7, styleId:3, appearanceId:1}, {name:"Jimmy Wakely", sex:"male", level:6, styleId:2, appearanceId:16}, {name:"Bonny Trigger", sex:"female", level:5, styleId:0, appearanceId:10}, {name:"Christy Silver", sex:"female", level:6, styleId:2, appearanceId:8}, {name:"Christine Nails", sex:"female", level:7, styleId:2, appearanceId:6}];
sleepingPlace = 6;
var _local4 = [215, 228, 229, 231, 232, 238, 239, 240, 241];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 203 + Math.floor(Math.random() * 8), 150, 126, 112, 95, 84, 43, 32];
cosmetics = {smoke:[{x:109, y:186}, {x:353, y:169}, {x:431, y:170}, {x:517, y:170}, {x:565, y:379}]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[3];
}
}
Symbol 3634 MovieClip [__Packages.as.conf.career.view.city.CityFortStocktonconf] Frame 0
class as.conf.career.view.city.CityFortStocktonconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, inhabitant, cosmetics, sleepingPlace, travelEntrance, randomPeople, specialPosition, minimalParticipationCash;
function CityFortStocktonconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:20, row:11}, {col:36, row:11}, {col:12, row:14}, {col:45, row:14}, {col:12, row:17}, {col:45, row:19, exitcol:38, exitrow:19}, {col:12, row:21}, {col:21, row:25}];
propertyId = [55, 56, 57, 58, 59, 60, 61, 62];
propMessenger = [{col:22, row:14, pers:1}, {col:34, row:14, pers:11}, {col:19, row:15, pers:84}, {col:41, row:16, pers:25}, {col:18, row:17, pers:91}, {col:41, row:19, pers:35}, {col:17, row:21, pers:96}, {col:25, row:31, pers:12}];
currentMap = "Fort Stockton";
currentMapId = 9;
inhabitant = [{name:"Roy Rogue", sex:"male", level:5, styleId:0, appearanceId:4}, {name:"Jones Mack Baker", sex:"male", level:6, styleId:2, appearanceId:18}, {name:"Bob (Fort Stockton) Brown", sex:"male", level:9, styleId:0, appearanceId:22, type:"transport"}, {name:"Tex Ripperton", sex:"male", level:6, styleId:3, appearanceId:26}, {name:"George O\u2019Brien", sex:"male", level:5, styleId:0, appearanceId:2}, {name:"Hezekiah Master", sex:"male", level:6, styleId:1, appearanceId:17}, {name:"Smiley Brunette", sex:"female", level:7, styleId:3, appearanceId:11}, {name:"Anny Amoreaux", sex:"female", level:6, styleId:0, appearanceId:9}, {name:"Nathalie Clock", sex:"female", level:5, styleId:1, appearanceId:7}];
cosmetics = {water:[{drop:{sa:1, interval:40, sx:4, sy:44, ex:33, ey:527}, id:2, x:672, y:127, width:53, height:510}, {drop:{sa:1, interval:40, sx:30, sy:0, ex:33, ey:527}, id:1, x:53, y:124, width:63, height:527}, {drop:{sa:1, interval:30, sx:10, sy:0, ex:539, ey:80}, id:3, x:116, y:386, width:559, height:114}], smoke:[{x:288, y:107}, {x:470, y:107}, {x:646, y:158}, {x:648, y:210}, {x:130, y:259}, {x:134, y:210}, {x:137, y:164}]};
sleepingPlace = 5;
travelEntrance = {col:29, row:38, exitcol:29, exitrow:25};
var _local4 = [215, 228, 229, 231, 232, 238, 239, 240, 241];
randomPeople = [_local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], _local4.splice(Math.floor(Math.random() * _local4.length), 1)[0], 203 + Math.floor(Math.random() * 8), 150, 126, 112, 95, 84, 43, 8];
specialPosition = {lean0:[{col:54, row:14}]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[3];
}
}
Symbol 3635 MovieClip [__Packages.as.conf.career.view.city.CityBostonconf] Frame 0
class as.conf.career.view.city.CityBostonconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, inhabitant, sleepingPlace, travelEntrance, randomPeople, cosmetics, minimalParticipationCash;
function CityBostonconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 1, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 1, 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0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, 2, 2, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:7, row:15}, {col:28, row:17, exitcol:30, exitrow:21}, {col:41, row:15}, {col:50, row:15}, {col:55, row:15}, {col:15, row:31}, {col:29, row:28}, {col:30, row:35}];
propertyId = [64, 65, 66, 67, 68, 69, 70, 71];
propMessenger = [{col:8, row:18, pers:189}, {col:28, row:19, pers:169}, {col:39, row:19, pers:148}, {col:47, row:19, pers:152}, {col:53, row:18, pers:167}, {col:21, row:31, pers:80}, {col:26, row:27, pers:43}, {col:26, row:33, pers:30}];
currentMap = "Boston";
currentMapId = 10;
inhabitant = [{name:"Yao (Boston) Lee", sex:"male", level:9, styleId:0, appearanceId:5, type:"transport"}, {name:"Nelson Shortlegs", sex:"male", level:8, styleId:1, appearanceId:19}, {name:"Bix Cody", sex:"male", level:7, styleId:3, appearanceId:23}, {name:"Sammy Sykes", sex:"male", level:6, styleId:2, appearanceId:0}, {name:"Fred Canyon", sex:"male", level:7, styleId:1, appearanceId:4}, {name:"Bob ( Boston ) Steele", sex:"male", level:8, styleId:0, appearanceId:18}, {name:"Sandy Allistar", sex:"female", level:7, styleId:0, appearanceId:12}, {name:"Alexis State", sex:"female", level:6, styleId:2, appearanceId:10}, {name:"Kelly Boneyard", sex:"female", level:7, styleId:2, appearanceId:8}];
sleepingPlace = 1;
travelEntrance = {col:0, row:21, exitcol:7, exitrow:21};
randomPeople = [218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 151, 149, 142, 138, 134, 127, 113, 96, 85, 44];
cosmetics = {smoke:[{x:553, y:174}, {x:682, y:189}, {x:724, y:162}, {x:173, y:349}]};
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[4];
}
}
Symbol 3636 MovieClip [__Packages.as.conf.career.view.city.CityBrownsvilleconf] Frame 0
class as.conf.career.view.city.CityBrownsvilleconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, currentMapId, travelEntrance, inhabitant, cosmetics, randomPeople, sleepingPlace, minimalParticipationCash;
function CityBrownsvilleconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:20, row:6}, {col:5, row:15}, {col:23, row:14, exitcol:23, exitrow:19}, {col:34, row:14}, {col:42, row:14}, {col:50, row:14}, {col:38, row:28}, {col:54, row:30}, {col:35, row:36}];
propertyId = [72, 73, 74, 75, 76, 77, 78, 79, 80];
propMessenger = [{col:16, row:8, pers:36}, {col:7, row:18, pers:161}, {col:21, row:17, pers:172}, {col:31, row:18, pers:18}, {col:40, row:18, pers:10}, {col:48, row:18, pers:16}, {col:41, row:25, pers:132}, {col:49, row:28, pers:29}, {col:42, row:35, pers:75}];
currentMap = "Brownsville";
currentMapId = 11;
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
inhabitant = [{name:"Wild (Brownsville) Bill", sex:"male", level:9, styleId:0, appearanceId:16}, {name:"Robert Rosebut", sex:"male", level:8, styleId:1, appearanceId:20}, {name:"Jimmy Holt III", sex:"male", level:7, styleId:0, appearanceId:24}, {name:"William Cody", sex:"male", level:6, styleId:3, appearanceId:0}, {name:"Ming Lee", sex:"male", level:7, styleId:2, appearanceId:5}, {name:"Bones Wagin", sex:"male", level:8, styleId:1, appearanceId:19}, {name:"Eileen Carey", sex:"female", level:9, styleId:0, appearanceId:13}, {name:"Delilah Foran", sex:"female", level:8, styleId:0, appearanceId:11}, {name:"Gaby Hayes", sex:"female", level:7, styleId:0, appearanceId:9}];
cosmetics = {smoke:[{x:305, y:20}, {x:401, y:136}, {x:459, y:153}, {x:577, y:167}]};
randomPeople = [218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 122, 120, 143, 139, 135, 128, 114, 97, 86, 45];
sleepingPlace = 2;
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[4];
}
}
Symbol 3637 MovieClip [__Packages.as.conf.career.view.city.CityElPasoconf] Frame 0
class as.conf.career.view.city.CityElPasoconf extends as.conf.career.view.city.Cityconf
{
var tile, tileRedirection, propertyId, propMessenger, currentMap, travelEntrance, currentMapId, sleepingPlace, inhabitant, randomPeople, minimalParticipationCash, messages;
function CityElPasoconf () {
super();
tile = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 2, 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0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
tileRedirection = [{col:13, row:11}, {col:25, row:12}, {col:38, row:13, exitcol:33, exitrow:17}, {col:53, row:12}, {col:5, row:25}, {col:18, row:25}, {col:29, row:25}, {col:47, row:26}, {col:29, row:31}, {col:45, row:34}, {col:26, row:37}];
propertyId = [81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91];
propMessenger = [{col:10, row:16, pers:172}, {col:28, row:16, pers:166}, {col:38, row:17, pers:11}, {col:51, row:15, pers:17}, {col:8, row:21, pers:51}, {col:14, row:21, pers:68}, {col:32, row:21, pers:127}, {col:42, row:23, pers:118}, {col:34, row:32, pers:127}, {col:41, row:31, pers:118}, {col:32, row:36, pers:127}];
currentMap = "El Paso";
travelEntrance = {col:0, row:19, exitcol:4, exitrow:19};
currentMapId = 12;
sleepingPlace = 2;
inhabitant = [{name:_global.careerModel.conf.governorName, sex:"male", level:10, styleId:0, appearanceId:19, type:"transport"}, {name:"Lance Gibson", sex:"male", level:8, styleId:0, appearanceId:17}, {name:"Gene Autry", sex:"male", level:7, styleId:1, appearanceId:21}, {name:"Red Harrison", sex:"male", level:6, styleId:2, appearanceId:25}, {name:"Josh Cody", sex:"male", level:7, styleId:3, appearanceId:1}, {name:"Jack Reid", sex:"male", level:8, styleId:0, appearanceId:16}, {name:"Lucille Wood", sex:"female", level:8, styleId:0, appearanceId:14}, {name:"Sunset Cartell", sex:"female", level:7, styleId:1, appearanceId:12}, {name:"Chrissie Morris", sex:"female", level:6, styleId:2, appearanceId:10}];
randomPeople = [218 + Math.floor(Math.random() * 8), 218 + Math.floor(Math.random() * 8), 152, 150, 143, 140, 136, 128, 114, 97, 86, 45];
minimalParticipationCash = _global.careerModel.conf.minimalParticipationCash[4];
messages.transport = [_global.textDb.governorTransportInvitation];
messages.transportFinished = {won:[_global.textDb.governorTransportWon], losed:[_global.textDb.governorTransportLosed]};
}
}
Symbol 3638 MovieClip [__Packages.as.view.menu.MainMenu] Frame 0
class as.view.menu.MainMenu extends as.view.menu.Menu
{
var conf, showMenu, layerButton, layerBg;
function MainMenu () {
super();
conf = new as.conf.view.MainMenuconf();
}
function initMenu() {
showMenu("Main");
layerButton.buttonPlay.highlight();
if (layerButton.buttonempty) {
layerButton.buttonempty.removeMovieClip();
layerButton.buttonPlay._x = layerButton.buttonPlay._x - 80;
layerButton.buttonPlay._y = layerButton.buttonPlay._y - 20;
}
layerBg.menuMainBg.welcomeMessage = "Howdy " + _global.careerModel.userProgress.name;
_global.delayer.callFunction(this, "blink", 20 + Math.floor(Math.random() * 100), 1);
}
function blink() {
_global.delayer.callFunction(this, "blink", 50 + Math.floor(Math.random() * 200), 1);
layerBg.menuMainBg.gotoAndPlay(2);
}
function processPlay() {
_global.model.activateCareer();
return(true);
}
function processContinueCareer() {
return(true);
}
function processSaveCareer() {
return(true);
}
function processQuickPoker() {
_global.model.activateSeqMenu(new as.view.menu.QuickPokerMenu());
return(true);
}
function processInstructions() {
return(true);
}
function processOptions() {
_global.model.activateMenu(new as.view.menu.MainSettingsMenu("returnToMainMenu"));
return(true);
}
function processHighScores() {
_global.view.showHighscore();
return(false);
}
function processMoreGames() {
if (!(_global.view.pressAllow === true)) {
return(null);
}
getURL (_global.moregamelink, "_blank");
_global.view.setPressAllow(false);
_global.delayer.callFunction(_global.view, "setPressAllow", 25, 1, true);
return(false);
}
function processGetFullVersion() {
if (!(_global.view.pressAllow === true)) {
return(null);
}
getURL (_global.buygamelink, "_blank");
_global.view.setPressAllow(false);
_global.delayer.callFunction(_global.view, "setPressAllow", 25, 1, true);
return(false);
}
function processQuit() {
_global.model.quit();
return(true);
}
function processOtherPlayer() {
_global.model.activateSeqMenu(new as.view.menu.PlayerAdminMenu());
return(true);
}
}
Symbol 3639 MovieClip [__Packages.as.conf.view.MainMenuconf] Frame 0
class as.conf.view.MainMenuconf extends as.conf.view.Menuconf
{
var options, button, bgString, position, autoSelect;
function MainMenuconf () {
super();
options = ["Play", "Other Player", "Quick Poker", "Options"];
if ((_global.moregamelink != "") && (_global.moregamelink)) {
options.push("More Games");
}
if (((_global.highscoreType != "") && (_global.highscoreType)) && (_global.h_id)) {
options.push("High Scores");
}
if (_global.main.version.demo == true) {
options.push("Get Full Version");
}
if (_global.appExtention == "exe") {
options.push("Quit");
}
button = {startX:20, startY:200, colAmount:2, xoffset:160, yoffset:40};
bgString = "menuMainBg";
position = {x:222, y:150};
if ((options.length % 2) == 1) {
options.unshift("empty");
}
if (options.length > 6) {
button.startY = button.startY - 20;
}
if (_global.sc) {
autoSelect = [_global.selectSc];
}
if (_global.pressPlay) {
autoSelect = ["Play"];
}
}
}
Symbol 3640 MovieClip [__Packages.as.view.menu.QuickPokerMenu] Frame 0
class as.view.menu.QuickPokerMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg, menuLoad, layerButton, radioOptions, selectRadioOption;
function QuickPokerMenu () {
super();
var _local6 = [];
var _local5 = [];
var _local8 = _global.careerModel.userProgress.possession.highestTransport;
if (!_local8) {
_local8 = 0;
}
var _local4 = 0;
while (_local4 < _global.careerModel.conf.city.length) {
if (_global.careerModel.userProgress.possession.highestTransport >= _global.careerModel.conf.city[_local4].ring) {
_local6.push({title:"Ci_" + _local4, x:13 + ((_local4 % 2) * 160), y:266 + (Math.floor(_local4 / 2) * 27)});
_local5.push({linkage:"transOptionButton", x:13 + ((_local4 % 2) * 160), y:266 + (Math.floor(_local4 / 2) * 27), height:24, width:155, type:"invisibleHit", name:"Cih_" + _local4});
}
_local4++;
}
var _local7 = _global.careerModel.userProgress.difficulty;
if (!_local7) {
_local7 = "Easy";
}
conf = {bgString:"menuQuickPoker", position:{x:222, y:20}, options:["Play", "Cancel"], button:{startX:16, startY:450, colAmount:2, xoffset:170, yoffset:40}, alternativeButton:[{linkage:"transOptionButton", x:20, y:116, height:30, width:85, type:"invisibleHit", name:"Easy"}, {linkage:"transOptionButton", x:110, y:116, height:30, width:120, type:"invisibleHit", name:"Medium"}, {linkage:"transOptionButton", x:20, y:146, height:30, width:100, type:"invisibleHit", name:"Hard"}, {linkage:"transOptionButton", x:20, y:208, height:30, width:55, type:"invisibleHit", name:"X5"}, {linkage:"transOptionButton", x:90, y:208, height:30, width:55, type:"invisibleHit", name:"X8"}, {linkage:"transOptionButton", x:170, y:208, height:30, width:70, type:"invisibleHit", name:"X16"}, {linkage:"transOptionButton", x:250, y:208, height:30, width:70, type:"invisibleHit", name:"X24"}].concat(_local5), radioOptions:[[{title:"Diff_0", x:13, y:116}, {x:107, y:116, title:"Diff_1"}, {x:13, y:146, title:"Diff_2"}], [{title:"Pa_0", x:13, y:208}, {x:93, y:208, title:"Pa_1"}, {x:174, y:208, title:"Pa_2"}, {x:254, y:208, title:"Pa_3"}], _local6]};
conf.autoSelect = [_local7, "X8", "Cih_" + _global.careerModel.userProgress.currentPosition.townId];
if (_global.sc) {
conf.autoSelect.push("Play");
}
}
function initMenu() {
showMenu("quickGame");
layerBg.menuMainBg.difficulty_txt.text = _global.textDb.difficulty;
layerBg.menuMainBg.playerAmount_txt.text = _global.textDb.playeramount;
layerBg.menuMainBg.city_txt.text = _global.textDb.city;
layerBg.menuMainBg.easy.title_txt.autoSize = "left";
layerBg.menuMainBg.easy.title_txt.text = _global.textDb.Easy;
layerBg.menuMainBg.medium._x = (layerBg.menuMainBg.easy._x + layerBg.menuMainBg.easy._width) + 20;
layerBg.menuMainBg.medium.title_txt.autoSize = "left";
layerBg.menuMainBg.medium.title_txt.text = _global.textDb.Medium;
menuLoad.menuSelectingDotDiff_1._x = 33 + layerBg.menuMainBg.easy._width;
layerBg.menuMainBg.hard._x = layerBg.menuMainBg.easy._x;
layerBg.menuMainBg.hard._y = layerBg.menuMainBg.hard._y + 30;
layerBg.menuMainBg.hard.title_txt.autoSize = "left";
layerBg.menuMainBg.hard.title_txt.text = _global.textDb.Hard;
layerButton.buttonEasy._x = layerBg.menuMainBg.easy._x;
layerButton.buttonEasy._width = layerBg.menuMainBg.easy._width;
layerButton.buttonMedium._x = layerBg.menuMainBg.medium._x;
layerButton.buttonMedium._width = layerBg.menuMainBg.medium._width;
layerButton.buttonHard._x = layerBg.menuMainBg.hard._x;
layerButton.buttonHard._width = layerBg.menuMainBg.hard._width;
var _local3 = 0;
while (_local3 < _global.careerModel.conf.city.length) {
if (_global.careerModel.userProgress.possession.transport < _global.careerModel.conf.city[_local3].ring) {
layerBg.menuMainBg["l" + _local3].gotoAndStop(2);
}
_local3++;
}
}
function updateRadioOption(__radio, __option) {
if (__radio == 2) {
layerBg.menuMainBg.o2._visible = ((_global.careerModel.conf.minimalParticipationCash[_global.careerModel.conf.city[__option].ring].tournament.maxtables > 1) ? true : false);
layerBg.menuMainBg.o3._visible = ((_global.careerModel.conf.minimalParticipationCash[_global.careerModel.conf.city[__option].ring].tournament.maxtables > 2) ? true : false);
if ((__option == 0) && (radioOptions[1] > 1)) {
selectRadioOption(1, 1);
}
if ((__option < 4) && (radioOptions[1] > 2)) {
selectRadioOption(1, 2);
}
}
}
function showPlayerOptionAmount(__amountIndex) {
}
function processEasy() {
selectRadioOption(0, 0);
return(true);
}
function processMedium() {
selectRadioOption(0, 1);
return(true);
}
function processHard() {
selectRadioOption(0, 2);
return(true);
}
function processX5() {
selectRadioOption(1, 0);
return(true);
}
function processX8() {
selectRadioOption(1, 1);
return(true);
}
function processX16() {
selectRadioOption(1, 2);
return(true);
}
function processX24() {
selectRadioOption(1, 3);
return(true);
}
function processCih_0() {
selectRadioOption(2, 0);
return(true);
}
function processCih_1() {
selectRadioOption(2, 1);
return(true);
}
function processCih_2() {
selectRadioOption(2, 2);
return(true);
}
function processCih_3() {
selectRadioOption(2, 3);
return(true);
}
function processCih_4() {
selectRadioOption(2, 4);
return(true);
}
function processCih_5() {
selectRadioOption(2, 5);
return(true);
}
function processCih_6() {
selectRadioOption(2, 6);
return(true);
}
function processCih_7() {
selectRadioOption(2, 7);
return(true);
}
function processCih_8() {
selectRadioOption(2, 8);
return(true);
}
function processCih_9() {
selectRadioOption(2, 9);
return(true);
}
function processCih_10() {
selectRadioOption(2, 10);
return(true);
}
function processCih_11() {
selectRadioOption(2, 11);
return(true);
}
function processCih_12() {
selectRadioOption(2, 12);
return(true);
}
function processPlay() {
_global.engine.stopMusic(40);
_global.model.startDedicatedPokerGame({city:_global.careerModel.conf.city[radioOptions[2]].title, playerAmount:_global.careerModel.conf.tournPerAmount[radioOptions[1]], difficulty:radioOptions[0]});
return(true);
}
function processCancel() {
_global.model.createMainMenu();
return(true);
}
}
Symbol 3641 MovieClip [__Packages.as.view.menu.PlayerAdminMenu] Frame 0
class as.view.menu.PlayerAdminMenu extends as.view.menu.Menu
{
var conf, showMenu, layerButton, selected;
function PlayerAdminMenu () {
super();
var _local4 = SharedObject.getLocal("GovernorOfPoker", "/");
var _local3 = 0;
for (var _local5 in _local4.data) {
_local3++;
}
var _local6 = ((_local3 >= 8) ? (["LoadBtn", "DeleteBtn"]) : (["LoadBtn", "DeleteBtn", "NewBtn"]));
conf = {bgString:"menuDefaultSeqBg", position:{x:222, y:80}, options:_local6, button:{startX:24, startY:272, colAmount:2, xoffset:160, yoffset:40}};
}
function initMenu() {
showMenu("Main");
layerButton.buttonNew._x = layerButton.buttonNew._x + 80;
var _local7 = layerButton.attachMovie("listBg", "listBg", layerButton.getNextHighestDepth(), {_x:60, _y:90});
var _local3 = 0;
var _local4 = SharedObject.getLocal("GovernorOfPoker", "/");
for (var _local5 in _local4.data) {
if (_local3 >= 8) {
break;
}
if (_global.model.blockSoData.inArray(_local5) === false) {
showListOption(_local3, _local5, (((_local5 == _local4.data.lastUser) || ((_local4.data.lastUser == undefined) && (_local3 == 0))) ? true : false));
_local3++;
}
}
if (_local3 == 0) {
processNewBtn();
}
}
function showListOption(__index, __name, __selected) {
var _local2 = layerButton.attachMovie("listOption", "listOption" + __name, layerButton.getNextHighestDepth(), {_x:61, _y:91 + (__index * 20), selected:__selected});
_local2.title_txt.text = __name;
_local2.menu = this;
_local2.nameString = __name;
if (__selected) {
_local2.gotoAndStop(31);
selected = __name;
}
}
function selectListOption(__name) {
layerButton["listOption" + selected].selected = false;
layerButton["listOption" + selected].gotoAndStop(1);
layerButton["listOption" + __name].gotoAndStop(31);
layerButton["listOption" + __name].selected = true;
selected = __name;
}
function processLoadBtn() {
_global.model.loadGame(selected);
_global.model.createMainMenu();
return(true);
}
function processDeleteSlectedCareer() {
var _local3 = SharedObject.getLocal("GovernorOfPoker", "/");
if (_local3.data.lastUser == selected) {
delete _local3.data.lastUser;
}
delete _local3.data[selected];
_local3.flush();
_global.model.activateSeqMenu(new as.view.menu.PlayerAdminMenu());
}
function processDeleteBtn() {
_global.model.popupConfirm({title:_global.textDb.deleteCareerConformation.split("[careerName]").join(selected), name:selected, target:this, func:"processDeleteSlectedCareer"});
return(true);
}
function processNewBtn() {
_global.model.activateMenu(new as.view.menu.NameMenu());
return(true);
}
}
Symbol 3642 MovieClip [__Packages.as.view.menu.NameMenu] Frame 0
class as.view.menu.NameMenu extends as.view.menu.Menu
{
var conf, showMenu, layerButton, selected, selectRadioOption;
function NameMenu () {
super();
conf = {options:["Ok"], button:{startX:102, startY:315, colAmount:2, xoffset:160, yoffset:40}, bgString:"menuDefaultBg", position:{x:222, y:100, intro:{type:"fade", frames:8}}, alternativeButton:[{linkage:"inputText", x:78, y:100, type:"inputText", name:"UserName", defaultText:""}]};
}
function initMenu() {
_global.careerModel = new as.career.model.careerModel();
showMenu("Name");
var _local3 = layerButton.attachMovie("fillInText", "fillInText1", layerButton.getNextHighestDepth(), {_x:4, _y:60});
_local3.content.value_txt.text = _global.textDb.fillName;
_local3 = layerButton.attachMovie("fillInText", "fillInText2", layerButton.getNextHighestDepth(), {_x:4, _y:140});
_local3.content.value_txt.text = _global.textDb.selectGender;
showListOption(0, "female", false);
showListOption(1, "male", false);
if (_global.sc) {
selected = "male";
layerButton.buttonUserName.value_txt.text = "Sjimmie";
processOk();
}
}
function showListOption(__index, __name, __selected) {
var _local2 = layerButton.attachMovie(__name + "Button", "listOption" + __name, layerButton.getNextHighestDepth(), {_x:61 + (__index * 140), _y:185, selected:__selected});
_local2.title_txt.text = __name;
_local2.menu = this;
_local2.nameString = __name;
}
function selectListOption(__name) {
layerButton["listOption" + selected].selected = false;
layerButton["listOption" + selected].gotoAndStop(1);
layerButton["listOption" + __name].gotoAndStop(31);
layerButton["listOption" + __name].selected = true;
selected = __name;
}
function processNewCareer() {
return(true);
}
function processMale() {
selectRadioOption(0, 1);
return(true);
}
function processFemale() {
selectRadioOption(0, 0);
return(true);
}
function processOk() {
var _local3 = true;
if (layerButton.buttonUserName.title == "") {
_local3 = false;
layerButton.fillInText1.gotoAndPlay(2);
}
if (selected == undefined) {
_local3 = false;
layerButton.fillInText2.gotoAndPlay(2);
}
if (_local3 === false) {
return(_local3);
}
_global.careerModel.userProgress.name = layerButton.buttonUserName.title;
_global.careerModel.userProgress.gender = selected;
_global.model.saveGame();
_global.model.createMainMenu();
}
}
Symbol 3643 MovieClip [__Packages.as.career.view.MapTexasView] Frame 0
class as.career.view.MapTexasView
{
var conf, cityLoader, cityPopupLoader, ferryDust, ferryDust2, requestMFV;
function MapTexasView () {
conf = new as.conf.career.view.MapTexasconf();
}
function initScreen() {
var _local5 = _global.view.loader.attachMovie("mapTexas", "mapTexas", _global.view.loader.getNextHighestDepth(), {_x:0, _y:0});
cityLoader = _global.view.loader.createEmptyMovieClip("city", _global.view.loader.getNextHighestDepth());
cityPopupLoader = _global.view.loader.createEmptyMovieClip("cityPopup", _global.view.loader.getNextHighestDepth());
displayCities();
_local5.traveler.gotoAndStop(_global.careerModel.userProgress.possession.transport + ((_global.careerModel.userProgress.gender.toLowerCase() == "female") ? 6 : 1));
if (_global.careerModel.userProgress.possession.transport == _global.careerModel.userProgress.possession.transportHighlighted) {
_local5.gotoAndStop(conf.transportDisplay[_global.careerModel.userProgress.possession.transport]);
} else {
_global.engine.playSfx("New Transport circle.wav", 0, _global.careerModel.userProgress.setting.soundFx);
_global.delayer.callFunction(_global.engine, "playSfx", 15, 1, "Buy or sell transport or house.wav", 0, _global.careerModel.userProgress.setting.soundFx);
_local5.gotoAndPlay(conf.transportDisplay[_global.careerModel.userProgress.possession.transportHighlighted] + 1);
_global.careerModel.userProgress.possession.transportHighlighted = _global.careerModel.userProgress.possession.transport;
if (_global.main.version.demo == true) {
_global.careerModel.userProgress.possession.transportHighlighted = 0;
}
ferryDust = new as.view.comsmetic.FerryDust(_local5.maskedFerryLoader.createEmptyMovieClip("ferryDust", _local5.maskedFerryLoader.getNextHighestDepth()));
ferryDust2 = new as.view.comsmetic.FerryDust(_global.view.loader.createEmptyMovieClip("ferryDust", _global.view.loader.getNextHighestDepth()));
ferryDust2.lId = "particleBlue";
var _local3 = 0;
while (_local3 < _global.careerModel.conf.city.length) {
if (_global.careerModel.conf.city[_local3].ring == _global.careerModel.userProgress.possession.transport) {
var _local4 = 0;
while (_local4 < 4) {
_global.delayer.callFunction(_global.motion, "slide", 21, 1, cityLoader[_global.careerModel.conf.city[_local3].title].round_mc, "_xscale", _global.motion.none.In, 200, 3);
_global.delayer.callFunction(_global.motion, "slide", 21, 1, cityLoader[_global.careerModel.conf.city[_local3].title].round_mc, "_yscale", _global.motion.none.In, 200, 3);
_global.delayer.callFunction(_global.motion, "slide", 25, 1, cityLoader[_global.careerModel.conf.city[_local3].title].round_mc, "_xscale", _global.motion.none.In, 100, 3);
_global.delayer.callFunction(_global.motion, "slide", 25, 1, cityLoader[_global.careerModel.conf.city[_local3].title].round_mc, "_yscale", _global.motion.none.In, 100, 3);
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_global.delayer.callFunction(ferryDust2, "insertParticle", 25 + (_local4 * 2), 1, (cityLoader[_global.careerModel.conf.city[_local3].title]._x + 5) + (Math.random() * 4), (cityLoader[_global.careerModel.conf.city[_local3].title]._y + 5) + (Math.random() * 4));
_local4++;
}
}
_local3++;
}
_global.delayer.callFunction(this, "animateCircleFerry", 18, 1);
}
_global.delayer.callFunction(this, "removeFerry", 160, 1);
var _local6 = cityLoader.attachMovie("defaultButton", "buttonClose", cityLoader.getNextHighestDepth(), {_x:337, _y:560});
_local6.nameS = "Close";
_local6.nameString = "Close";
_local6.menu = this;
requestMFV();
}
function animateCircleFerry() {
ferryDust.lifetime = 10;
_global.delayer.callFunction(this, "showCircleFerry", 1, (conf.transportDisplay[_global.careerModel.userProgress.possession.transport] - conf.transportDisplay[_global.careerModel.userProgress.possession.transport - 1]) * 2);
}
function showCircleFerry() {
var _local4 = 0;
while (_local4 < 6) {
var _local3 = {x:_global.view.loader.mapTexas.circleFerryPos.ferryCircle.pos._x, y:_global.view.loader.mapTexas.circleFerryPos.ferryCircle.pos._y};
_global.view.loader.mapTexas.circleFerryPos.ferryCircle.localToGlobal(_local3);
_global.view.loader.mapTexas.circleFerryPos.ferryCircle._rotation = _global.view.loader.mapTexas.circleFerryPos.ferryCircle._rotation + 3;
ferryDust.insertParticle(Math.floor(_local3.x), Math.floor(_local3.y));
_local4++;
}
}
function removeFerry() {
delete ferryDust;
}
function displayCities() {
var _local3 = 0;
while (_local3 < _global.careerModel.conf.city.length) {
var _local4 = cityLoader.attachMovie("mapTexasCity", _global.careerModel.conf.city[_local3].title, cityLoader.getNextHighestDepth(), {_x:conf.city[_local3].x, _y:conf.city[_local3].y, ring:_global.careerModel.conf.city[_local3].ring, title:_global.careerModel.conf.city[_local3].title, propertyAmount:_global.careerModel.conf.city[_local3].propertyAmount, transport:_global.textDb["Transport" + _global.careerModel.conf.transport[_global.careerModel.conf.city[_local3].ring]], transportAble:((_global.careerModel.conf.city[_local3].ring <= _global.careerModel.userProgress.possession.transport) ? true : false), cityId:_local3});
_local4.title_mc.cityName.text = _global.careerModel.conf.city[_local3].title;
if (conf.city[_local3].textAdj.x) {
_local4.title_mc._x = _local4.title_mc._x + conf.city[_local3].textAdj.x;
}
if (conf.city[_local3].textAdj.y) {
_local4.title_mc._y = _local4.title_mc._y + conf.city[_local3].textAdj.y;
}
_local4.popup = cityPopupLoader.attachMovie("mapTexasCityPopup", _global.careerModel.conf.city[_local3].title, cityPopupLoader.getNextHighestDepth(), {_x:conf.city[_local3].x, _y:conf.city[_local3].y});
_local4.setProps();
if (_local3 == _global.careerModel.userProgress.currentPosition.townId) {
_local4.round_mc.marker.gotoAndStop(2);
}
_local3++;
}
}
function select(__city, __btnMc) {
if (__city == "Close") {
_global.careerModel.activateCity(_global.cityView.conf.currentMap);
} else {
_global.careerModel.activateCity(__city);
}
}
}
Symbol 3644 MovieClip [__Packages.as.conf.career.view.MapTexasconf] Frame 0
class as.conf.career.view.MapTexasconf
{
var city, transportDisplay, travelers, inhabitant;
function MapTexasconf () {
var _local3 = _global.careerModel.userProgress.possession.transport;
city = [{x:477, y:292, textAdj:{y:2}}, {x:506, y:277, textAdj:{x:-22, y:-30}}, {x:480, y:330}, {x:451, y:291, textAdj:{y:-30}}, {x:531, y:253, textAdj:{x:13 + ((_local3 == 1) ? 20 : 0)}}, {x:495, y:383}, {x:394, y:306, textAdj:{x:((_local3 == 1) ? -4 : (((_local3 == 2) ? 2 : 0)))}}, {x:566, y:205}, {x:533, y:439}, {x:304, y:305}, {x:652, y:187, textAdj:{x:-10}}, {x:527, y:537, textAdj:{y:-33, x:-22}}, {x:170, y:260, textAdj:{x:12}}];
transportDisplay = [1, 35, 70, 105, 140];
travelers = [{name:"Jeff Jackson", sex:"male"}, {name:"Margaret Anderson", sex:"female"}, {name:"William Lewis", sex:"male"}, {name:"Christopher Green", sex:"male"}, {name:"Sarah Miller", sex:"female"}, {name:"Anthony Clark", sex:"male"}, {name:"Jason Wright", sex:"male"}, {name:"Kimberly Nelson", sex:"female"}, {name:"Karen Young", sex:"female"}, {name:"David Campbell", sex:"male"}, {name:"Michael Turner", sex:"male"}, {name:"Deborah Jones", sex:"female"}, {name:"Carol Roberts", sex:"female"}, {name:"Robert Evans", sex:"male"}, {name:"Ruth Johnson", sex:"female"}, {name:"Laura Thompson", sex:"female"}];
inhabitant = [{name:"Harry Allen", sex:"male", level:3, styleId:0, appearanceId:25}, {name:"Whip ( Brady ) Wilson", sex:"male", level:4, styleId:0, appearanceId:1, type:"transport"}, {name:"Harry DeWitt", sex:"male", level:3, styleId:0, appearanceId:16}, {name:"Clayton Moore", sex:"male", level:2, styleId:0, appearanceId:20}, {name:"William Boyler", sex:"male", level:3, styleId:0, appearanceId:24}, {name:"Reno Blister", sex:"male", level:4, styleId:0, appearanceId:0}, {name:"Jacky Darryl", sex:"female", level:3, styleId:0, appearanceId:3}, {name:"Dale ( Boston ) Easter", sex:"female", level:3, styleId:0, appearanceId:14}];
}
}
Symbol 3645 MovieClip [__Packages.as.career.view.BFVMapTexasView] Frame 0
class as.career.view.BFVMapTexasView extends as.career.view.MapTexasView
{
var cityLoader, fvScreen, currentScreen, wind, cosmObj, dealer;
function BFVMapTexasView () {
super();
}
function requestMFV() {
_global.userPlayer = 4;
_global.view.setPressAllow(false);
_global.delayer.callFunction(this, "showBuyPV", 90, 1);
cityLoader.buttonClose._visible = false;
}
function showBuyPV() {
fvScreen = _global.view.loader.createEmptyMovieClip("buyPv", _global.view.loader.getNextHighestDepth());
var _local3 = 0;
while (_local3 < 4) {
_global.delayer.callFunction(this, "showBuyPVScreen", 1 + (_local3 * 175), 1, _local3);
_local3++;
}
_global.delayer.callFunction(this, "showBuyPVTextScreen", 631);
}
function get animationLock() {
return(true);
}
function showBuyPVScreen(__id) {
currentScreen = fvScreen.attachMovie("buyFullVersionScreens", "bScreen" + fvScreen.getNextHighestDepth(), fvScreen.getNextHighestDepth(), {id:__id, _width:750, _height:562, _x:25, _y:20});
currentScreen.id = __id;
switch (__id) {
case 0 :
wind = 0;
var _local3 = currentScreen.loader.attachMovie("city", "city", currentScreen.loader.getNextHighestDepth());
var _local18 = 10;
_local3.gotoAndStop(_local18);
_local3.night.light.gotoAndStop(_local18);
var _local14 = 20;
_global.delayer.callFunction(_global.motion, "slide", 5 + _local14, 1, _local3.night.dark, "_alpha", _global.motion.none.Out, 1, 50);
var _local6 = 0;
while (_local6 < 10) {
var _local5 = 0;
while (_local3.night.light[(_local6 + "_") + _local5]) {
_local3.night.light[(_local6 + "_") + _local5]._visible = false;
_global.delayer.callFunction(_local3.night.light[(_local6 + "_") + _local5], "showMe", (_local14 + 2) + Math.floor(Math.random() * 30), 1);
_global.delayer.callFunction(_local3.night.light[(_local6 + "_") + _local5], "hideMe", (_local14 + 33) + Math.floor(Math.random() * 30), 1);
_local5++;
}
_local6++;
}
cosmObj = {};
cosmObj.conf = new as.conf.career.view.city.CityFortStocktonconf();
cosmObj.cosmetics = {smoke:[], fire:[], water:[]};
_global.delayer.callFunction(_global.delayer, "callFunction", _local14, 1, this, "updateCosmetics", 1, 100);
for (var _local16 in cosmObj.conf.cosmetics) {
switch (_local16) {
case "smoke" :
_local6 = 0;
while (_local6 < cosmObj.conf.cosmetics[_local16].length) {
cosmObj.cosmetics[_local16].push(new as.view.comsmetic.Smoke(_local3.cosmetic.createEmptyMovieClip("Smoke" + _local3.cosmetic.getNextHighestDepth(), _local3.cosmetic.getNextHighestDepth()), {source:{x:cosmObj.conf.cosmetics[_local16][_local6].x, y:cosmObj.conf.cosmetics[_local16][_local6].y, size:20}, destination:{x:cosmObj.conf.cosmetics[_local16][_local6].x, y:cosmObj.conf.cosmetics[_local16][_local6].y - 80, size:70}}));
_local6++;
}
break;
case "water" :
_local6 = 0;
for(;;){
if (_local6 >= cosmObj.conf.cosmetics[_local16].length) {
break;
}
cosmObj.conf.cosmetics[_local16][_local6].crowdReflection.crowdId = cosmObj.conf.cosmetics[_local16][_local6].crowdReflection.crowdIds[Math.floor(Math.random() * cosmObj.conf.cosmetics[_local16][_local6].crowdReflection.crowdIds.length)];
cosmObj.cosmetics[_local16].push(new as.view.comsmetic.Water(_local3.waterLoader.createEmptyMovieClip("Water" + _local3.waterLoader.getNextHighestDepth(), _local3.waterLoader.getNextHighestDepth()), cosmObj.conf.cosmetics[_local16][_local6]));
_local6++;
};
}
}
updateCosmetics();
_local3.playerInfo._visible = false;
var _local15 = _local3.maskedCityAssets.attachMovie("cityPersonPlayer" + _global.careerModel.userProgress.gender, "cityPerson", _local3.maskedCityAssets.getNextHighestDepth(), {_x:390, _y:547});
_local15.gotoAndStop(4);
_local15.animation.gotoAndStop(1);
_global.delayer.callFunction(_local15.animation, "gotoAndPlay", 60, 1, 2);
_global.delayer.callFunction(_global.motion, "slide", 60, 1, _local15, "_y", _global.motion.none.In, 356, 100);
_global.delayer.callFunction(_local15.animation, "gotoAndStop", 160, 1, 2);
_local15 = _local3.maskedCityAssets.attachMovie("cityCrowdMan", "cityCrowdMan" + _local3.maskedCityAssets.getNextHighestDepth(), _local3.maskedCityAssets.getNextHighestDepth(), {_x:340, _y:540});
_local15.gotoAndStop(232);
_global.delayer.callFunction(_global.motion, "slide", 30, 1, _local15, "_y", _global.motion.none.In, 470, 30);
_local15 = _local3.maskedCityAssets.attachMovie("cityCrowdMan", "cityCrowdMan" + _local3.maskedCityAssets.getNextHighestDepth(), _local3.maskedCityAssets.getNextHighestDepth(), {_x:310, _y:240});
_local15.gotoAndStop(12);
_local15 = _local3.maskedCityAssets.attachMovie("cityCrowdMan", "cityCrowdMan" + _local3.maskedCityAssets.getNextHighestDepth(), _local3.maskedCityAssets.getNextHighestDepth(), {_x:560, _y:310});
_local15.gotoAndStop(9);
_local15 = _local3.maskedCityAssets.attachMovie("cityCrowdMan", "cityCrowdMan" + _local3.maskedCityAssets.getNextHighestDepth(), _local3.maskedCityAssets.getNextHighestDepth(), {_x:570, _y:330});
_local15.gotoAndStop(15);
_local15 = _local3.maskedCityAssets.attachMovie("cityCrowdMan", "cityCrowdMan" + _local3.maskedCityAssets.getNextHighestDepth(), _local3.maskedCityAssets.getNextHighestDepth(), {_x:170, _y:490});
_local15.gotoAndStop(237);
break;
case 1 :
currentScreen.loader.attachMovie("travelScene", "travelScene", currentScreen.getNextHighestDepth());
currentScreen.loader.travelScene.traveler.gotoAndStop(3 + ((_global.careerModel.userProgress.gender.toLowerCase() == "female") ? 4 : 0));
_global.travelscene = currentScreen.loader.travelScene;
break;
case 2 :
_global.delayer.callFunction(this, "playTravelscene", 5, 1, "Stop");
_global.cardType = 3;
currentScreen.loader.attachMovie("tableDallas", "tables", currentScreen.getNextHighestDepth());
var _local20 = new as.conf.poker.view.PokerTournamentconf();
var _local21 = new as.conf.poker.model.PlayerConf();
var _local17 = _local20.dealerPosition;
var _local19 = _local21.dealer;
dealer = currentScreen.loader.attachMovie("pokerDealer", currentScreen.loader.getNextHighestDepth(), currentScreen.loader.getNextHighestDepth(), {_x:_local17.x, _y:_local17.y, _rotation:_local17.rotation, hat:_local19.hat, gender:_local19.gender});
_local14 = [3, 0, 13, 0, 22, 15, 0, 5];
_global.pokerView = this;
_global.pokerModel = {players:[], pokerSave:{}};
_local6 = 0;
while (_local6 < 8) {
_global.delayer.callFunction(this, "setPlayer", _local14[_local6], 1, _local6, currentScreen.loader);
_local6++;
}
_global.delayer.callFunction(this, "dealPlayers", 23, 1);
break;
case 3 :
_global.delayer.callFunction(this, "playTravelscene", 5, 1, "Stop");
currentScreen.loader.attachMovie("governorScreen", "governorScreen", currentScreen.getNextHighestDepth());
currentScreen.loader.governorScreen.gotoAndStop(7 + ((_global.careerModel.userProgress.gender.toLowerCase() == "female") ? 1 : 0));
currentScreen.loader.governorScreen.title_txt.text = "";
currentScreen.loader.governorScreen.score_txt.text = "";
_global.delayer.callFunction(this, "playTravelscene", 95, 1, "Play");
}
_local14 = 165;
if (__id == 3) {
_local14 = _local14 - 70;
}
if (__id == 0) {
} else {
currentScreen._alpha = 0;
_global.motion.slide(currentScreen, "_alpha", _global.motion.none.In, 100, 10);
}
_global.delayer.callFunction(_global.motion, "slide", _local14, 1, currentScreen, "_xscale", _global.motion.regular.InOut, 20, 10);
_global.delayer.callFunction(_global.motion, "slide", _local14, 1, currentScreen, "_yscale", _global.motion.regular.InOut, 20, 10);
_global.delayer.callFunction(_global.motion, "slide", _local14, 1, currentScreen, "_x", _global.motion.regular.InOut, 39 + (__id * 186), 10);
_global.delayer.callFunction(_global.motion, "slide", _local14, 1, currentScreen, "_y", _global.motion.regular.InOut, 20, 10);
var _local13 = [[1, 2], [4], [7, 8], [11]];
_local6 = 0;
while (_local6 < _local13[__id].length) {
var _local4 = fvScreen.attachMovie("finishedLetterAllColor", "finishedLetterAllColor" + _local6, fvScreen.getNextHighestDepth());
_local4.gotoAndStop(2);
_local4.fl.display_txt.autoSize = true;
_local4.fl.display_txt.htmlText = _global.textDb["BFV_PremiumConList" + _local13[__id][_local6]];
if (_local4._width > 700) {
_local4._width = 700;
_local4._yscale = _local4._xscale;
}
_local4._x = 400 - (_local4._width / 2);
_local4._alpha = 0;
_local4._y = 550 - _local4._height;
if ((_local6 == 0) && (_local13[__id].length > 1)) {
_local4._y = 500 - _local4._height;
}
_global.delayer.callFunction(_global.motion, "slide", 3 + (_local6 * 10), 1, _local4, "_alpha", _global.motion.none.In, 100, 10);
_global.delayer.callFunction(_global.motion, "slide", _local14 - 5, 1, _local4, "_alpha", _global.motion.regular.InOut, 0, 10);
_global.delayer.callFunction(_local4, "removeMovieClip", _local14 + 10, 1);
_local6++;
}
}
function playTravelscene(__mode) {
_global.travelscene["gotoAnd" + __mode](1);
_global.travelscene.traveler.animation["gotoAnd" + __mode](1);
}
function dealPlayers() {
_global.pokerModel.pokerSave = {playerDealing:3};
_global.pokerModel.pokerSave.filledSeats = new Array(0, 1, 2, 3, 4, 5, 6, 7);
dealer.dealPlayers();
}
function setPlayer(__playerNumber, __loader) {
var _local15 = [22, 2, 17, 26, 30, 15, 13, 11];
var _local3 = new as.conf.poker.view.PokerTournamentconf();
var _local9 = new as.conf.poker.model.PlayerConf();
var _local5 = _local3.playerPosition[__playerNumber];
var _local16 = _local3.leaveParameters[__playerNumber];
var _local6 = _local9.id[_local15[__playerNumber]];
if (__playerNumber == 4) {
_local6 = _local9.user[0 + ((_global.careerModel.userProgress.gender.toLowerCase() == "female") ? 1 : 0)];
}
var _local7 = _local3.cardPosition[__playerNumber];
var _local8 = _local3.chipPosition[__playerNumber];
var _local12 = "";
var _local11 = "walk";
var _local13;
var _local10;
var _local14;
var _local32;
var _local24;
var _local4 = __loader.attachMovie("pokerPlayer", __playerNumber, __loader.getNextHighestDepth(), {type:3, viewId:3, _x:_local5.x, _y:_local5.y, _rotation:_local5.rotation, hat:_local6.hat, voice:_local12, gender:_local6.gender, cardPostionX:_local7.x, cardPostionY:_local7.y, cardPostionRotation:_local7.rotation, cardXDistance:_local8.xDistance, cardYDistance:_local8.yDistance, playerNumber:__playerNumber, popupPostionX:_local13.x, popupPostionY:_local13.y, betPostionX:_local10.x, betPostionY:_local10.y, betPostionRotation:_local10.rotation, buttonPostionX:_local14.x, buttonPostionY:_local14.y, leaveParameters:_local16, rotateToKey:_local32.rotateToKey, entranceType:_local11, name:_local24[__playerNumber].name});
_global.delayer.callFunction(_local4, "update", 100, 1);
_global.pokerModel.players[__playerNumber] = {};
_global.pokerModel.players[__playerNumber].view = _local4;
if (_local11 == "walk") {
_global.delayer.callFunction(_local4, "randomizeHeadPosition", 45 + Math.floor(Math.random() * 100), 1);
}
}
function updateCosmetics() {
wind = wind + (((Math.random() * 2) < 1) ? 1 : -1);
if (wind > 70) {
wind = 69;
}
for (var _local3 in cosmObj.cosmetics) {
var _local2 = 0;
while (_local2 < cosmObj.cosmetics[_local3].length) {
cosmObj.cosmetics[_local3][_local2].update(wind);
_local2++;
}
}
}
function showBuyPVTextScreen() {
_global.view.setPressAllow(true);
_global.model.adjustSpeed(1);
var _local5 = fvScreen.attachMovie("buyFullVersionTextScreen", "bfvts", fvScreen.getNextHighestDepth(), {_x:25, _y:50});
_local5._alpha = 0;
_global.motion.slide(_local5, "_alpha", _global.motion.regular.Out, 100, 3);
var _local3 = 0;
_local5.content.PremiumVersion_txt.text = _global.textDb.BFV_PremiumVersion;
_local5.content.PremiumContains_txt.text = _global.textDb.BFV_PremiumContains;
_local5.content.PremiumSlogan_txt.text = _global.textDb.BFV_PremiumSlogan;
_local5.content.clickToDl.ClickDownload_txt.text = _global.textDb.BFV_ClickDownload;
_local5.content.Download_txt.text = _global.textDb.BFV_Download;
while (_global.textDb["BFV_PremiumConList" + (_local3 + 1)] && (_local3 < 50)) {
var _local7 = Math.abs(Math.floor(_local3 + (as.transitions.easing.Regular.easeIn(_local3, 0, 50, 11) * 1.3)));
var _local4 = _local5.content.attachMovie("bulletLine", "bulletLine" + _local5.content.getNextHighestDepth(), _local5.content.getNextHighestDepth(), {_x:545, _y:210 + (18 * _local3)});
var _local8 = _global.textDb["BFV_PremiumConList" + (_local3 + 1)].length - 85;
if (_local8 > 0) {
var _local6 = new TextFormat();
_local6.size = 14 - Math.floor(_local8 / 5);
_local4.tab_txt.setNewTextFormat(_local6);
_local4.tab_txt._y = _local4.tab_txt._y + ((14 - _local6.size) / 2);
}
_local4.tab_txt.text = _global.textDb["BFV_PremiumConList" + (_local3 + 1)];
_local3++;
_local4._alpha = 0;
_global.delayer.callFunction(_global.motion, "slide", 0 + _local7, 1, _local4, "_alpha", _global.motion.regular.Out, 100, 8);
_global.delayer.callFunction(_global.motion, "slide", 0 + _local7, 1, _local4, "_x", _global.motion.strong.Out, 55, 8);
var _local9 = _local5.content.attachMovie("bulletChips", "bulletChips" + _local5.content.getNextHighestDepth(), _local5.content.getNextHighestDepth(), {_x:55, _y:193 + (18 * _local3)});
_local9._alpha = 0;
_global.delayer.callFunction(_global.motion, "slide", 0 + _local7, 1, _local9, "_alpha", _global.motion.regular.Out, 100, 10);
}
_local5.contentclose_txt = _global.textDb.close;
_global.delayer.callFunction(this, "blinkCTD", 80, 1);
_local5.onPress = function () {
if (!(_global.view.pressAllow === true)) {
return(null);
}
getURL (_global.buygamelink, "_blank");
_global.view.setPressAllow(false);
_global.delayer.callFunction(_global.view, "setPressAllow", 25, 1, true);
};
var _local10 = fvScreen.attachMovie("hitMc", "close", fvScreen.getNextHighestDepth(), {_x:645, _y:547, _width:100});
_local10.onPress = function () {
_global.activeScreen.closeScreen();
if ((_global.highscoreType && (!_global.careerModel.userProgress.highscoreSubmitted)) && (_global.h_id)) {
_global.careerModel.generateScore();
_global.careerModel.userProgress.highscoreSubmitted = true;
_global.delayer.callFunction(_global.view, "showHighscore", 10, 1, "submit");
_global.delayer.callFunction(_global.model, "resetPlayer", 12, 1);
}
};
}
function closeScreen() {
fvScreen.removeMovieClip();
delete _global.careerModel.userProgress.currentPosition.quickGame;
_global.engine.stopAmbience(0);
_global.engine.stopMusic(0);
_global.model.speed = 1;
_global.model.startIntro();
_global.model.createMainMenu();
}
function blinkCTD() {
_global.delayer.callFunction(fvScreen.bfvts.content.clickToDl, "hideMe", 0, 1);
_global.delayer.callFunction(fvScreen.bfvts.content.clickToDl, "showMe", 3, 1);
_global.delayer.callFunction(fvScreen.bfvts.content.clickToDl, "hideMe", 10, 1);
_global.delayer.callFunction(fvScreen.bfvts.content.clickToDl, "showMe", 13, 1);
_global.delayer.callFunction(this, "blinkCTD", 100, 1);
}
function destinatePlayerCard(__id, __cardDealed) {
if (!_global.tableScreen) {
_global.tableScreen = currentScreen.loader;
}
var _local4 = {x:0, y:0};
dealer.handAssets.right.card.localToGlobal(_local4);
var _local3 = _global.pokerModel.players[__id].view;
var _local8 = [2, 3];
var _local5 = _global.tableScreen.attachMovie("card", "card" + _global.tableScreen.getNextHighestDepth(), _global.tableScreen.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y, _xscale:45, _yscale:45, _rotation:_local3.cardPostionRotation, typeId:"back", cardValue:_local8[__cardDealed].cardValue, cardColor:_local8[__cardDealed].cardColor});
var _local10 = as.Gf.returnDistance(_local4.x, _local3.cardPostionX) + as.Gf.returnDistance(_local4.y, _local3.cardPostionY);
var _local6 = 1 + Math.floor(_local10 / 40);
_global.motion.slide(_local5, "_x", _global.motion.regular.Out, _local3.cardPostionX + (((_local3.cardXDistance * __cardDealed) / 2) * ((_global.userPlayer == __id) ? 2.5 : 1)), _local6);
_global.motion.slide(_local5, "_y", _global.motion.regular.Out, _local3.cardPostionY + (((_local3.cardYDistance * __cardDealed) / 2) * ((_global.userPlayer == __id) ? 2.5 : 1)), _local6);
_global.motion.slide(_local5, "_rotation", _global.motion.regular.Out, (_local5._rotation - 10) + Math.floor(Math.random() * 20), _local6);
_global.delayer.callFunction(this, "destinatePlayerCardDestinationReached", _local6, 1, _local3, _local5);
}
function destinatePlayerCardDestinationReached(__player, __card) {
var _local3 = currentScreen.loader.tables.attachMovie("card", "card" + currentScreen.loader.tables.getNextHighestDepth(), currentScreen.loader.tables.getNextHighestDepth(), {_x:__card._x, _y:__card._y, _xscale:__card._xscale, _yscale:__card._yscale, _rotation:__card._rotation, typeId:__card.typeId});
__player.cards.push(_local3);
__card.removeMovieClip();
}
}
Symbol 3646 MovieClip [__Packages.as.conf.poker.view.PokerGameconf] Frame 0
class as.conf.poker.view.PokerGameconf
{
var chipType, ingamePlayerStateHint;
function PokerGameconf () {
chipType = [1, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 25000, 50000, 75000];
ingamePlayerStateHint = ["Steamy", "Tilt", "Shark", "Rock", "Needs chips", "Maniac", "Lucky", "Fish", "Calling station", "Button raise", "Bigstack bully", "Bad beat", "Busted"];
}
}
Symbol 3647 MovieClip [__Packages.as.conf.poker.view.PokerTournamentconf] Frame 0
class as.conf.poker.view.PokerTournamentconf extends as.conf.poker.view.PokerGameconf
{
var dealerPosition, foldedCardPosition, chipPotPosition, playerPosition, leaveParameters, chipPosition, cardPosition, keyPosition, buttonPosition, popupPosition, betPosition, tableCardPositions, tabelCardPosition, table;
function PokerTournamentconf () {
super();
dealerPosition = {x:410, y:446, rotation:180};
foldedCardPosition = {x:400, y:360, rotation:0};
chipPotPosition = {x:400, y:240};
playerPosition = [{x:151, y:408, rotation:230}, {x:90, y:256, rotation:270}, {x:165, y:100, rotation:-34}, {x:318, y:68, rotation:-4}, {x:480, y:70, rotation:4}, {x:652, y:109, rotation:40}, {x:719, y:250, rotation:90}, {x:650, y:410, rotation:140}];
leaveParameters = [{leaveX:211, leaveY:408, leaveDestinationX:211, leaveDestinationY:670, leaveRotation:0}, {leaveX:90, leaveY:176, leaveDestinationX:-80, leaveDestinationY:176, leaveRotation:-270}, {leaveX:220, leaveY:100, leaveDestinationX:220, leaveDestinationY:-80, leaveRotation:-180}, {leaveX:368, leaveY:68, leaveDestinationX:368, leaveDestinationY:-80, leaveRotation:-180}, {leaveX:420, leaveY:70, leaveDestinationX:420, leaveDestinationY:-80, leaveRotation:180}, {leaveX:585, leaveY:90, leaveDestinationX:585, leaveDestinationY:-80, leaveRotation:180}, {leaveX:719, leaveY:310, leaveDestinationX:880, leaveDestinationY:310, leaveRotation:-90}, {leaveX:570, leaveY:410, leaveDestinationX:590, leaveDestinationY:670, leaveRotation:0}];
chipPosition = [{x:219, y:373, xDistance:-15, yDistance:-7}, {x:144, y:259, xDistance:0, yDistance:-16}, {x:200, y:152, xDistance:14, yDistance:-10}, {x:327, y:128, xDistance:17, yDistance:0}, {x:489, y:128, xDistance:17, yDistance:0}, {x:605, y:155, xDistance:14, yDistance:9}, {x:661, y:263, xDistance:0, yDistance:16}, {x:569, y:379, xDistance:-15, yDistance:4}];
cardPosition = [{x:241, y:338, rotation:30}, {x:199, y:260, rotation:90}, {x:220, y:195, rotation:-30}, {x:328, y:176, rotation:-10}, {x:457, y:178, rotation:10}, {x:575, y:190, rotation:30}, {x:610, y:250, rotation:-90}, {x:588, y:323, rotation:-30}];
keyPosition = [{x:261, y:358, rotation:30, rotateToKey:12}, {x:189, y:285, rotation:90, rotateToKey:20}, {x:194, y:193, rotation:150, rotateToKey:24}, {x:296, y:159, rotation:170, rotateToKey:14}, {x:430, y:158, rotation:-170, rotateToKey:22}, {x:555, y:170, rotation:-150, rotateToKey:15}, {x:613, y:224, rotation:-90, rotateToKey:14}, {x:616, y:323, rotation:-30, rotateToKey:16}];
buttonPosition = [{x:202, y:325}, {x:190, y:220}, {x:251, y:168}, {x:372, y:164}, {x:501, y:172}, {x:612, y:210}, {x:620, y:292}, {x:552, y:345}];
popupPosition = [{x:151, y:484}, {x:94, y:186}, {x:165, y:30}, {x:318, y:30}, {x:480, y:30}, {x:652, y:30}, {x:719, y:186}, {x:650, y:478}];
betPosition = [{x:301, y:332, rotation:22}, {x:242, y:274, rotation:7}, {x:250, y:220, rotation:5}, {x:328, y:209, rotation:-6}, {x:449, y:210, rotation:6}, {x:532, y:212, rotation:15}, {x:555, y:260, rotation:0}, {x:513, y:325, rotation:-18}];
tableCardPositions = {x:338, y:277, xOffset:32};
tabelCardPosition = new Array();
var _local3 = 0;
while (_local3 < 5) {
tabelCardPosition[_local3] = {x:tableCardPositions.x + (tableCardPositions.xOffset * _local3), y:tableCardPositions.y};
_local3++;
}
table = {Beeville:{type:"Simple2"}, Boston:{type:"Normal"}, Brady:{type:"Simple2"}, Brownsville:{type:"Simple2"}, Dallas:{type:"Simple2"}, ElDorado:{type:"Normal"}, ElPaso:{type:"Luxe"}, FortStockton:{type:"Simple2"}, Lampasas:{type:"Simple2"}, LLano:{type:"Simple1"}, Meridian:{type:"Normal"}, SanAntonio:{type:"Luxe"}, SanSaba:{type:"Simple1"}};
}
}
Symbol 3648 MovieClip [__Packages.as.conf.poker.model.PlayerConf] Frame 0
class as.conf.poker.model.PlayerConf
{
var id, dealer, user;
function PlayerConf () {
id = [{hat:1, gender:"male"}, {hat:2, gender:"male"}, {hat:3, gender:"male"}, {hat:4, gender:"female"}, {hat:5, gender:"male"}, {hat:6, gender:"male"}, {hat:7, gender:"female"}, {hat:8, gender:"female"}, {hat:9, gender:"female"}, {hat:10, gender:"female"}, {hat:11, gender:"female"}, {hat:12, gender:"female"}, {hat:13, gender:"female"}, {hat:14, gender:"female"}, {hat:15, gender:"female"}, {hat:16, gender:"female"}, {hat:17, gender:"male"}, {hat:18, gender:"male"}, {hat:19, gender:"male"}, {hat:20, gender:"male"}, {hat:21, gender:"male"}, {hat:22, gender:"male"}, {hat:23, gender:"male"}, {hat:24, gender:"male"}, {hat:25, gender:"male"}, {hat:26, gender:"male"}, {hat:27, gender:"male"}, {hat:28, gender:"male"}];
dealer = {hat:0, gender:"male"};
user = [{hat:"30", gender:"male"}, {hat:"31", gender:"female"}];
}
}
Symbol 3649 MovieClip [__Packages.as.Gf] Frame 0
class as.Gf
{
function Gf () {
}
static function returnDistance($pos1, $pos2) {
var _local1 = $pos1 - $pos2;
return(((_local1 < 0) ? (-_local1) : (_local1)));
}
static function inArray($value, $array) {
var _local1 = 0;
while (_local1 < $array.length) {
if ($array[_local1] == $value) {
return(_local1);
}
_local1++;
}
return(false);
}
}
Symbol 3650 MovieClip [__Packages.as.View] Frame 0
class as.View
{
var root, pressAllow, loader, menuLoader, menuLoader2, menuLoader3, help;
function View (__iObj) {
_global.view = this;
root = __iObj.root;
reset();
pressAllow = true;
}
function setPressAllow(__pressAllow) {
pressAllow = __pressAllow;
}
function clear() {
loader.removeMovieClip();
clearMenu();
}
function showHighscore(__mode) {
var _local3 = _root.attachMovie("SL_highscore" + _global.highscoreType, "SL_highscore", _root.getNextHighestDepth(), {_y:5});
switch (__mode) {
case "submit" :
_local3.showSend(_global.careerModel.userProgress.achievement.score, _global.careerModel.userProgress.name);
break;
default :
_local3.showList();
}
}
function clearMenu() {
menuLoader.removeMovieClip();
menuLoader2.removeMovieClip();
menuLoader3.removeMovieClip();
help.removeMovieClip();
pressAllow = true;
}
function reset() {
_root.overlay.swapDepths(1);
clear();
_global.delayer.functions = new Array();
var _local4 = root.getNextHighestDepth() % 3000;
if (_local4 < 2) {
_local4 = 2;
}
loader = root.createEmptyMovieClip((Math.floor(Math.random() * 9000) + "loader") + Math.floor(Math.random() * 9000), _local4);
resetMenu();
if (_global.developCurtain) {
var _local5 = root.createEmptyMovieClip("curtain", root.getNextHighestDepth());
var _local6 = new flash.display.BitmapData(800, 600, false, 0);
_local5.attachBitmap(_local6, _local5.getNextHighestDepth());
}
}
function resetMenu() {
clearMenu();
menuLoader = root.createEmptyMovieClip((Math.floor(Math.random() * 9000) + "menuLoader") + Math.floor(Math.random() * 9000), root.getNextHighestDepth());
menuLoader2 = root.createEmptyMovieClip((Math.floor(Math.random() * 9000) + "menuLoader2") + Math.floor(Math.random() * 9000), root.getNextHighestDepth());
help = root.createEmptyMovieClip((Math.floor(Math.random() * 9000) + "help") + Math.floor(Math.random() * 9000), root.getNextHighestDepth());
menuLoader3 = root.createEmptyMovieClip((Math.floor(Math.random() * 9000) + "menuLoader3") + Math.floor(Math.random() * 9000), root.getNextHighestDepth());
_root.overlay.swapDepths(_root.overlay._parent.getNextHighestDepth());
}
function resetConfirm() {
delete _global.activeThirMenu;
menuLoader3.removeMovieClip();
menuLoader3 = root.createEmptyMovieClip((Math.floor(Math.random() * 9000) + "menuLoader3") + Math.floor(Math.random() * 9000), root.getNextHighestDepth());
}
function update() {
}
function placeMenu() {
resetMenu();
_global.activeMenu.initMenu();
}
function placeSeqMenu() {
_global.activeSeqMenu.seq = true;
_global.activeSeqMenu.initMenu();
}
function placeThirMenu() {
_global.activeThirMenu.thir = true;
_global.activeThirMenu.initMenu();
}
function placeScreen() {
reset();
_global.activeScreen.initScreen();
}
function updateLanguage() {
_global.activeMenu.updateLanguage();
_global.activeScreen.updateLanguage();
}
}
Symbol 3651 MovieClip [__Packages.as.KeyControl] Frame 0
class as.KeyControl
{
var keyListener;
function KeyControl () {
_global.keycontrol = this;
keyListener = new Object();
keyListener.onKeyDown = function () {
var _local2 = Key.getCode();
if (_local2 == 80) {
if (_global.activeMenu.menuName != "Name") {
_global.model.showOutOfFocus(true);
}
}
if (_local2 == 27) {
_global.view.loader.DynamicTopMenu.lockedDown = true;
_global.view.loader.DynamicTopMenu.lockDown();
_global.delayer.callFunction(_global.view.loader.DynamicTopMenu, "removeLockDown", 300, 1);
}
};
Key.addListener(keyListener);
}
function clear() {
Key.removeListener(keyListener);
}
}
Symbol 3652 MovieClip [__Packages.as.core.Delayer] Frame 0
class as.core.Delayer
{
var functions;
function Delayer () {
functions = new Array();
}
function callFunctions() {
if (functions[counter]) {
var _local3 = 0;
while (_local3 < functions[counter].length) {
var _local2 = functions[counter][_local3];
_local2.target[_local2.func](_local2.argument[4], _local2.argument[5], _local2.argument[6], _local2.argument[7], _local2.argument[8]);
_local3++;
}
delete functions[counter];
}
counter = (counter + 1) % maxCount;
}
function callFunction(target, func, delayed, times) {
if (times == undefined) {
times = 1;
}
var _local5 = 1;
while (_local5 <= times) {
var _local4 = (counter + (Number(delayed) * Number(_local5))) % maxCount;
if (!functions[_local4]) {
functions[_local4] = new Array();
}
var _local3 = new Object();
_local3.target = target;
_local3.func = func;
_local3.argument = arguments;
functions[_local4].push(_local3);
_local5++;
}
}
var counter = 0;
var maxCount = 6000;
}
Symbol 3653 MovieClip [__Packages.as.core.Motion] Frame 0
class as.core.Motion
{
var tweenHolder, tweenReferenceHolder, strong, bounce, elastic, back, regular, none;
function Motion () {
tweenHolder = new Array();
tweenReferenceHolder = new Array();
strong = {Out:as.transitions.easing.Strong.easeOut, In:as.transitions.easing.Strong.easeIn, InOut:as.transitions.easing.Strong.easeInOut};
bounce = {Out:as.transitions.easing.Bounce.easeOut, In:as.transitions.easing.Bounce.easeIn, InOut:as.transitions.easing.Bounce.easeInOut};
elastic = {Out:as.transitions.easing.Elastic.easeOut, In:as.transitions.easing.Elastic.easeIn, InOut:as.transitions.easing.Elastic.easeInOut};
back = {Out:as.transitions.easing.Back.easeOut, In:as.transitions.easing.Back.easeIn, InOut:as.transitions.easing.Back.easeInOut};
regular = {Out:as.transitions.easing.Regular.easeOut, In:as.transitions.easing.Regular.easeIn, InOut:as.transitions.easing.Regular.easeInOut};
none = {Out:as.transitions.easing.None.easeOut, In:as.transitions.easing.None.easeIn, InOut:as.transitions.easing.None.easeInOut};
}
function slide(mc, prop, easeType, end, time) {
stop(mc, prop);
var _local2 = new Object();
_local2 = new as.transitions.MotionTween();
_local2.slideTween(mc, prop, easeType, end, time, this);
tweenReferenceHolder[(mc + "|") + prop] = _local2;
tweenHolder.push(_local2);
}
function reset() {
var _local2 = tweenHolder.length - 1;
while (_local2 >= 0) {
delete tweenReferenceHolder[(tweenHolder[_local2].obj + "|") + tweenHolder[_local2].prop];
delete tweenHolder[_local2];
tweenHolder.splice(_local2, 1);
_local2--;
}
tweenHolder = new Array();
tweenReferenceHolder = new Array();
}
function stop(mc, prop) {
updateTweens(true);
if (tweenReferenceHolder[(mc + "|") + prop]) {
tweenReferenceHolder[(mc + "|") + prop].finished = true;
}
}
function pause(mc, prop) {
if (tweenReferenceHolder[(mc + "|") + prop]) {
tweenReferenceHolder[(mc + "|") + prop].paused = true;
}
}
function resume(mc, prop) {
if (tweenReferenceHolder[(mc + "|") + prop]) {
delete tweenReferenceHolder[(mc + "|") + prop].paused;
}
}
function updateTweens(__noUpdate) {
var _local4 = new Array();
var _local2 = 0;
while (_local2 < tweenHolder.length) {
var _local3 = tweenHolder[_local2];
if (((!_local3.finished) && (!_local3.paused)) && (!__noUpdate)) {
_local3.update();
}
if (_local3.finished || (_local3.obj == null)) {
_local4.push(_local2);
}
_local2++;
}
_local2 = _local4.length - 1;
while (_local2 >= 0) {
delete tweenReferenceHolder[(tweenHolder[_local4[_local2]].obj + "|") + tweenHolder[_local4[_local2]].prop];
delete tweenHolder[_local4[_local2]];
tweenHolder.splice(_local4[_local2], 1);
_local2--;
}
}
}
Symbol 3654 MovieClip [__Packages.as.transitions.easing.Strong] Frame 0
class as.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
}
Symbol 3655 MovieClip [__Packages.as.transitions.easing.Bounce] Frame 0
class as.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
}
Symbol 3656 MovieClip [__Packages.as.transitions.easing.Elastic] Frame 0
class as.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
var _local5;
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
var _local5;
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
var _local5;
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
}
Symbol 3657 MovieClip [__Packages.as.transitions.easing.Back] Frame 0
class as.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
}
Symbol 3658 MovieClip [__Packages.as.transitions.easing.None] Frame 0
class as.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 3659 MovieClip [__Packages.as.transitions.MotionTween] Frame 0
class as.transitions.MotionTween
{
var _startTime, obj, prop, begin, useSeconds, _duration, _time, change, _pos, finished, looping;
function MotionTween () {
}
function slideTween(mc, prop, easeType, end, time, useSeconds) {
if (!arguments.length) {
return(undefined);
}
_startTime = getTimer();
obj = mc;
this.prop = prop;
begin = mc[prop];
position = (mc[prop]);
switch (useSeconds) {
case true :
this.useSeconds = true;
duration = (time / 30);
break;
default :
this.useSeconds = false;
this.time = (0);
duration = (time);
}
if (func) {
func = easeType;
}
finish = (end);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function set position(p) {
setPosition(p);
//return(position);
}
function get time() {
return(_time);
}
function setPosition(p) {
obj[prop] = (_pos = p);
}
function update() {
if (obj[prop] === undefined) {
finished = true;
}
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
position = (getPosition(_time));
}
function set time(t) {
if (t > duration) {
if (looping) {
} else {
if (useSeconds) {
_time = _duration;
}
finished = true;
}
} else {
_time = t;
}
//return(time);
}
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 3660 MovieClip [__Packages.as.Model] Frame 0
class as.Model
{
var conf, gameActive, pause, sound, speed, blockSoData, lastSave;
function Model () {
if (_global.resetSave) {
resetSaveData();
}
_global.model = this;
conf = new as.conf.Modelconf();
gameActive = false;
pause = false;
sound = true;
speed = 1;
blockSoData = ["undefined", "lastUser"];
startIntro();
}
function startIntro() {
activateScreen(new as.career.view.introView());
}
function quit() {
_global.model.popupConfirm({title:_global.textDb.quitConfirm, target:_global.externalModel, func:"requestKill"});
_global.activeThirMenu.quitMenuActive = true;
}
function showOutOfFocus(__toShow) {
if (_global.activeMiniClipHS === true) {
return(null);
}
switch (__toShow) {
case true :
if (_global.activeThirMenu.quitMenuActive) {
return(undefined);
}
_global.main.pause = true;
_global.model.popupConfirm({title:_global.textDb.focusConfirm, target:_global.focusControl, func:"continueGame", catchPress:true, noCancel:true});
break;
case false :
_global.view.resetConfirm();
}
}
function resetPlayer() {
var _local2 = {highestTransport:_global.careerModel.userProgress.possession.highestTransport, gender:_global.careerModel.userProgress.gender, userName:_global.careerModel.userProgress.name, soundMusic:_global.careerModel.userProgress.setting.soundMusic, soundFx:_global.careerModel.userProgress.setting.soundFx, Language:_global.careerModel.userProgress.setting.Language, pokerSpeed:_global.careerModel.userProgress.setting.pokerSpeed};
delete _global.cityView;
_global.careerModel = new as.career.model.careerModel();
_global.careerModel.userProgress.name = _local2.userName;
_global.careerModel.userProgress.gender = _local2.gender;
_global.careerModel.userProgress.setting.soundFx = _local2.soundFx;
_global.careerModel.userProgress.setting.soundMusic = _local2.soundMusic;
_global.careerModel.userProgress.setting.Language = _local2.Language;
_global.careerModel.userProgress.possession.highestTransport = _local2.highestTransport;
_global.careerModel.userProgress.setting.pokerSpeed = _local2.pokerSpeed;
_global.model.saveGame();
}
function asp(__speed) {
if (_global.sc != true) {
return(null);
}
speed = __speed;
}
function createMainMenu() {
_global.model.activateMenu(new as.view.menu.MainMenu());
}
function createStatisticMenu() {
_global.model.activateMenu(new as.view.menu.StatisticMenu());
}
function createAchievementMenu() {
_global.model.activateMenu(new as.view.menu.AchievementMenu());
}
function finishPokerGame(__exitObj) {
_global.engine.stopAmbience(0);
_global.engine.stopMusic(0);
if (_global.careerModel.userProgress.currentPosition.quickGame == true) {
delete _global.careerModel.userProgress.currentPosition.quickGame;
_global.model.speed = 1;
startIntro();
_global.model.activateMenu(new as.view.menu.MainMenu());
} else {
_global.careerModel.finishPokerGame(__exitObj);
}
delete _global.pokerModel;
}
function createPokerTable(__iObj) {
_global.pokerModel = new as.poker.model.PokerModel();
_global.pokerModel.createTable(__iObj);
var _local4 = false;
var _local8 = {};
var _local3 = _global.model.conf.winPerc;
if (_global.pokerModel.pokerSave.startPlayerAmount < 9) {
_local3 = _global.model.conf.winPerc8orless;
}
var _local2 = 0;
while (_local2 < _local3.length) {
_local8[(_local2 + 1) + "prize"] = Math.floor((_global.pokerModel.pokerSave.totalCash / 100) * _local3[_local2]);
_local2++;
}
if (__iObj.type == "cashGame") {
if ((_global.careerModel.userProgress.achievement.gamesStarted.cash < 2) || (!_global.help.request({id:17, x:114, y:-10, replaceContent:_local8}))) {
_global.pokerModel.startNewRound();
} else {
_local4 = true;
}
} else if (!_global.help.request({id:11, x:_global.pokerModel.players[_global.userPlayer].view._x, y:-10 + _global.pokerModel.players[_global.userPlayer].view._y, replaceContent:_local8})) {
_global.pokerModel.startNewRound();
}
_global.activeScreen.renderTable();
_global.delayer.callFunction(_global.activeScreen, "renderTable", 10, 1);
if (_local4) {
_global.view.loader.DynamicTopMenu.lockedDown = true;
_global.view.loader.DynamicTopMenu.lockDown();
}
}
function startDedicatedPokerGame(__iObj) {
_global.careerModel.userProgress.currentPosition.quickGame = true;
_global.careerModel.startDedicatedPokerGame(__iObj);
_global.activeScreen.renderTable();
}
function adjustSpeed(__speed) {
speed = __speed;
}
function activateMenu(__newMenu) {
delete _global.activeMenu;
_global.activeMenu = __newMenu;
_global.view.placeMenu();
}
function activateSeqMenu(__newMenu) {
delete _global.activeSeqMenu;
_global.activeSeqMenu = __newMenu;
_global.view.placeSeqMenu();
}
function popupConfirm(__popupObj) {
activateThirMenu(new as.view.menu.DefaultConfirm(__popupObj));
}
function activateThirMenu(__newMenu) {
_global.view.resetConfirm();
delete _global.activeThirMenu;
_global.activeThirMenu = __newMenu;
_global.view.placeThirMenu();
}
function activateScreen(__newScreen) {
delete _global.activeScreen;
_global.activeScreen = __newScreen;
_global.view.placeScreen();
}
function showGovernorScreen() {
_global.model.activateScreen(new as.career.view.governorScreen());
}
function switchSound() {
var _local2 = new Sound();
if (sound == true) {
_local2.setVolume(0);
sound = false;
} else {
_local2.setVolume(100);
sound = true;
}
}
function traceSave() {
var _local3 = SharedObject.getLocal("GovernorOfPoker", "/");
var _local2 = _local3.data.lastUser;
if (!_local2) {
return(undefined);
}
if (!_local3.data[_local2]) {
return(undefined);
}
_global.traceObj(_local3.data[_local2], ("my_so.data[" + _local2) + "]");
}
function resetSaveData() {
var _local1 = SharedObject.getLocal("GovernorOfPoker", "/");
delete _local1.data.lastUser;
for (var _local2 in _local1.data) {
delete _local1.data[_local2];
}
_local1.flush();
}
function saveGame() {
if ((lastSave != undefined) && ((Math.floor(getTimer() / 25) - lastSave) < 10)) {
return(null);
}
if (_global.careerModel.userProgress.currentPosition.pokerGame.userModel) {
return(null);
}
lastSave = Math.floor(getTimer() / 25);
if (_global.blockSave) {
return(null);
}
var _local3 = SharedObject.getLocal("GovernorOfPoker", "/");
delete _local3.data[_global.careerModel.userProgress.name];
_local3.data[_global.careerModel.userProgress.name] = new Object();
throwObj(_global.careerModel.userProgress, _local3.data[_global.careerModel.userProgress.name], true, 30);
_local3.data.lastUser = _global.careerModel.userProgress.name;
_local3.flush();
}
function loadGame(__user) {
var _local3 = SharedObject.getLocal("GovernorOfPoker", "/");
if (_global.sc && (_global.loadGame)) {
} else {
_global.careerModel.userProgress = throwObj(_local3.data[__user], null, true);
}
_global.main.selectLanguage(_global.careerModel.userProgress.setting.Language);
_local3.data.lastUser = __user;
}
function convertBigToSmallName(__name) {
var _local1 = __name.split("(");
if (_local1.length > 1) {
var _local2 = _local1[1].split(") ")[1];
return(_local1[0] + _local2);
}
return(__name);
}
function startGame() {
var _local3 = SharedObject.getLocal("GovernorOfPoker", "/");
var _local4 = "";
if (_local3.data.lastUser && (_local3.data[_local3.data.lastUser])) {
_local4 = _local3.data.lastUser;
}
if ((_local4 != "") || (_global.sc && (_global.loadGame))) {
loadGame(_local4);
_global.model.createMainMenu();
} else {
_global.model.activateMenu(new as.view.menu.NameMenu());
}
}
function throwObj(__origObj, __newObj, __adv, __subAdv) {
var _local2;
var _local4;
if (__newObj) {
if (!__adv) {
for (_local2 in __origObj) {
__newObj[_local2] = __origObj[_local2];
}
} else {
for (_local2 in __origObj) {
_local4 = typeof(__origObj[_local2]);
if (_local4 == "function") {
continue;
}
if ((_local4 == "string") || (_local4 == "number")) {
__newObj[_local2] = __origObj[_local2];
} else if (__origObj[_local2].length || (__origObj[_local2].splice)) {
__newObj[_local2] = throwObjToArray(__origObj[_local2]);
} else if (_local4 == "object") {
if (__subAdv > 1) {
__newObj[_local2] = new Object();
throwObj(__origObj[_local2], __newObj[_local2], true, __subAdv - 1);
} else {
__newObj[_local2] = new Object();
throwObj(__origObj[_local2], __newObj[_local2], true);
}
} else {
__newObj[_local2] = __origObj[_local2];
}
}
}
} else {
var _local5 = {};
if (!__adv) {
for (_local2 in __origObj) {
_local5[_local2] = __origObj[_local2];
}
} else {
for (_local2 in __origObj) {
_local4 = typeof(__origObj[_local2]);
if ((_local4 == "string") || (_local4 == "number")) {
_local5[_local2] = __origObj[_local2];
} else if (__origObj[_local2].length || (__origObj[_local2].splice)) {
_local5[_local2] = throwObjToArray(__origObj[_local2]);
} else if (_local4 == "object") {
if (__subAdv > 1) {
_local5[_local2] = new Object();
throwObj(__origObj[_local2], _local5[_local2], true, __subAdv - 1);
} else {
_local5[_local2] = new Object();
throwObj(__origObj[_local2], _local5[_local2], true);
}
} else {
_local5[_local2] = __origObj[_local2];
}
}
}
return(_local5);
}
}
function throwObjToArray(__origObj, __newArray) {
var _local2;
if (__newArray) {
for (_local2 in __origObj) {
__newArray[_local2] = __origObj[_local2];
}
} else {
var _local5 = [];
for (_local2 in __origObj) {
var _local4 = typeof(__origObj[_local2]);
if (_local4 == "function") {
continue;
}
if ((_local4 == "string") || (_local4 == "number")) {
_local5[_local2] = __origObj[_local2];
} else if (__origObj[_local2].length || (__origObj[_local2].splice)) {
_local5[_local2] = throwObjToArray(__origObj[_local2]);
} else if (_local4 == "object") {
_local5[_local2] = new Object();
throwObj(__origObj[_local2], _local5[_local2], true);
} else {
_local5[_local2] = __origObj[_local2];
}
}
return(_local5);
}
}
function activateCareer() {
switch (_global.careerModel.userProgress.currentPosition.currentScreen) {
case "careerProperties" :
_global.model.activateSeqMenu(new as.view.menu.CareerPropertiesMenu());
break;
case "city" :
_global.careerModel.activateCity(_global.careerModel.conf.city[_global.careerModel.userProgress.currentPosition.townId].title, {daytime:_global.careerModel.getTimeDescription(), source:"load", mode:"home"});
break;
case "poker" :
_global.engine.stopMusic(40);
_global.userPlayer = _global.careerModel.userProgress.currentPosition.pokerGame.userPlayer;
_global.pokerModel = new as.poker.model.PokerModel();
_global.pokerModel.createTable({type:_global.careerModel.userProgress.currentPosition.pokerGame.tableType.toLowerCase(), city:_global.careerModel.conf.city[_global.careerModel.userProgress.currentPosition.townId].title.split(" ").join(""), players:_global.careerModel.userProgress.currentPosition.pokerGame.players, blinds:{bb:_global.careerModel.userProgress.currentPosition.pokerGame.roundObj.bigBlindBet, sb:_global.careerModel.userProgress.currentPosition.pokerGame.roundObj.smallBlindBet}});
_global.pokerModel.pokerSave.filledSeats = _global.careerModel.userProgress.currentPosition.pokerGame.filledSeats.concat();
_global.pokerView.tournamentDisplay.update();
_global.pokerView.resetRound();
_global.model.throwObj(_global.careerModel.userProgress.currentPosition.pokerGame, _global.pokerModel.pokerSave, true);
_global.activeScreen.renderTable();
_global.pokerView.showLoadedGame();
_global.pokerView.reportViewFinish(_global.pokerModel.roundObj.state, "dealer");
}
}
}
Symbol 3661 MovieClip [__Packages.as.conf.Modelconf] Frame 0
class as.conf.Modelconf
{
var achievements, blind, winPerc, winPerc8orless;
function Modelconf () {
achievements = [{color:"Gold"}, {color:"Gold"}, {color:"Silver"}, {color:"Silver"}, {color:"Bronse"}, {color:"Bronse"}, {color:"Bronse"}, {color:"Silver"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}, {color:"Bronse"}, {color:"Bronse"}, {color:"Bronse"}, {color:"Silver"}, {color:"Silver"}, {color:"Gold"}, {color:"Gold"}, {color:"Gold"}];
blind = {small:[1, 2, 4, 6, 8, 10, 15, 25, 50, 75, 100, 200, 300, 400, 600, 800, 1000, 1500, 2000, 3000, 4000, 6000, 8000, 10000, 15000, 20000, 25000, 30000], big:[2, 4, 8, 12, 16, 20, 30, 50, 100, 150, 200, 400, 600, 800, 1200, 1600, 2000, 3000, 4000, 6000, 8000, 12000, 16000, 20000, 30000, 40000, 50000, 60000]};
winPerc = [40, 25, 16, 12, 7];
winPerc8orless = [45, 30, 25];
}
}
Symbol 3662 MovieClip [__Packages.as.career.view.introView] Frame 0
class as.career.view.introView
{
var animation;
function introView () {
}
function initScreen() {
animation = _global.view.loader.attachMovie("travelScene", "intro", _global.view.loader.getNextHighestDepth(), {_x:0, _y:0});
animation.traveler.gotoAndStop(1);
animation.traveler._visible = false;
animation.gotoAndStop(1);
_global.model.startGame();
_global.delayer.callFunction(_global.engine, "startMusic", 2, 1, "GoP.wav", 0);
}
}
Symbol 3663 MovieClip [__Packages.as.view.menu.StatisticMenu] Frame 0
class as.view.menu.StatisticMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg;
function StatisticMenu () {
super();
conf = new as.conf.view.StatisticMenuconf();
}
function initMenu() {
showMenu("Statistics");
layerBg.menuMainBg.possessionPropertyValue.valueTxt.text = _global.careerModel.userProgress.possession.house.length;
if (_global.careerModel.userProgress.possession.city.length) {
layerBg.menuMainBg.possessionTownsValue.valueTxt.text = _global.careerModel.userProgress.possession.city.length;
} else {
layerBg.menuMainBg.possessionTownsValue.valueTxt.text = "0";
}
layerBg.menuMainBg.achievementGamesPlayed.title_txt.text = _global.textDb.gamesPlayed.split(":").join("");
layerBg.menuMainBg.achievement1rdPlace.title_txt.text = _global.textDb.coin0Descr;
layerBg.menuMainBg.achievement2rdPlace.title_txt.text = _global.textDb.coin1Descr;
layerBg.menuMainBg.achievement3rdPlace.title_txt.text = _global.textDb.coin2Descr;
layerBg.menuMainBg.possessionProperty.title_txt.text = _global.textDb.Houses.split(":").join("");
layerBg.menuMainBg.possessionTowns.title_txt.text = _global.textDb.Cities.split(":").join("");
layerBg.menuMainBg.possessionMoney.title_txt.text = _global.textDb.Cash.split(":").join("");
layerBg.menuMainBg.currentScore.title_txt.text = _global.textDb.Score.split(":").join("");
var _local5 = _global.careerModel.generateScore();
var _local6 = _local5.toString().length;
var _local3 = _local6 - 8;
if (_local3 < 0) {
_local3 = 0;
}
var _local4 = new TextFormat();
_local4.size = 18 - _local3;
layerBg.menuMainBg.currentScoreValue.valueTxt._y = layerBg.menuMainBg.currentScoreValue.valueTxt._y + _local3;
layerBg.menuMainBg.currentScoreValue.valueTxt.setNewTextFormat(_local4);
layerBg.menuMainBg.currentScoreValue.valueTxt.text = _local5;
layerBg.menuMainBg.possessionMoneyValue.valueTxt.text = "$ " + Math.floor(_global.careerModel.userProgress.possession.money);
layerBg.menuMainBg.achievement1rdPlaceValue.valueTxt.text = _global.careerModel.userProgress.achievement.firstPlace;
layerBg.menuMainBg.achievement2rdPlaceValue.valueTxt.text = _global.careerModel.userProgress.achievement.secondPlace;
layerBg.menuMainBg.achievement3rdPlaceValue.valueTxt.text = _global.careerModel.userProgress.achievement.thirdPlace;
layerBg.menuMainBg.achievementGamesPlayedValue.valueTxt.text = (_global.careerModel.userProgress.achievement.gamesStarted.tour + _global.careerModel.userProgress.achievement.gamesStarted.cash) + _global.careerModel.userProgress.achievement.gamesStarted.trans;
}
function processOk() {
_global.view.menuLoader.removeMovieClip();
return(true);
}
}
Symbol 3664 MovieClip [__Packages.as.conf.view.StatisticMenuconf] Frame 0
class as.conf.view.StatisticMenuconf extends as.conf.view.Menuconf
{
var options, button, bgString, position;
function StatisticMenuconf () {
super();
options = ["Ok"];
button = {startX:103, startY:325, colAmount:2, xoffset:160, yoffset:40};
bgString = "menuStatisticBg";
position = {x:222, y:112};
}
}
Symbol 3665 MovieClip [__Packages.as.view.menu.AchievementMenu] Frame 0
class as.view.menu.AchievementMenu extends as.view.menu.Menu
{
var conf, animationLock, unShown, showMenu, layerBg, rollAway, menuName;
function AchievementMenu () {
super();
_global.achievementM = "open";
trace("achievementM " + _global.achievementM);
conf = new as.conf.view.AchievementMenuconf();
}
function setAnimationLock(__mode) {
animationLock = __mode;
}
function initMenu() {
unShown = new Array();
var _local9 = 1;
setAnimationLock(true);
_global.model.asp(1);
_global.view.loader.DynamicTopMenu.onRollOut();
showMenu("rewards");
layerBg.menuMainBg.gotoAndStop(_global.careerModel.userProgress.gender);
var _local4 = 0;
while (_local4 < _global.careerModel.userProgress.achievement.coin.length) {
var index = _global.careerModel.userProgress.achievement.coin[_local4];
var _local3 = layerBg.menuMainBg.attachMovie("rewardCoins", "rewardCoins" + index, layerBg.menuMainBg.getNextHighestDepth(), {_xscale:22, _yscale:22, _x:236 + ((index % 4) * 77), _y:98 + (Math.floor(index / 4) * 72)});
_local3.gotoAndStop(index + 1);
_local3.baseClass = this;
_local3.index = index;
_local3.onRollOver = function () {
this.baseClass.showRoll(this.index);
};
_local3.onRollOut = function () {
this.baseClass.showRollAway(this.index);
};
_local3.onPress = function () {
this.baseClass.showPress(this.index);
};
if (_global.careerModel.userProgress.achievement.coinShown.inArray(index) === false) {
layerBg.menuMainBg["rewardCoins" + index]._visible = false;
unShown.push(index);
_global.careerModel.userProgress.achievement.coinShown.push(index);
}
_local4++;
}
if (processUnShown() == false) {
setAnimationLock(false);
}
}
function processShowCoinScreen(__index) {
var _local3 = _global.view.menuLoader2.attachMovie("coinInScreen", "coinInScreen", _global.view.menuLoader2.getNextHighestDepth(), {_x:368, _y:240});
var _local5 = _local3.attachMovie("defaultButton", "buttonClose", 1, {_x:-40, _y:150});
_local5.nameS = "Close";
_local5.nameString = "CloseCoinScreen";
_local5.menu = this;
_local3._alpha = 0;
_global.motion.slide(_local3, "_alpha", _global.motion.none.Out, 100, 5);
_local3.tip.text = _global.textDb[("coin" + __index) + "Hint"];
_local3.title.text = _global.textDb[("coin" + __index) + "Descr"];
var _local4 = _local3.title.text.length - 20;
if (_local4 > 0) {
var _local7 = new TextFormat();
_local7.size = 20 - Math.floor(_local4 / 2.8);
_local3.title.setNewTextFormat(_local7);
_local3.title.text = _global.textDb[("coin" + __index) + "Descr"];
_local3.title._y = _local3.title._y + Math.floor(_local4 / 2);
}
_local3.coin.gotoAndStop(1 + __index);
}
function processUnShown() {
if (unShown.length > 0) {
processShowCoinScreen(unShown[0]);
return(true);
}
return(false);
}
function showAddCoinAnimation(__index) {
this["ferryDust" + __index] = new as.view.comsmetic.FerryDust(layerBg.createEmptyMovieClip("ferryDust", layerBg.getNextHighestDepth()));
var _local4 = 0;
var _local3 = layerBg.menuMainBg["rewardCoins" + __index];
_local3.swapDepths(_local3._parent.getNextHighestDepth());
_local3.showMe();
_local3._xscale = 53;
_local3._yscale = 53;
_local3._x = 354;
_local3._y = 195;
_global.motion.slide(_local3, "_rotation", _global.motion.regular.Out, -70 + (Math.random() * 140), 18);
_global.motion.slide(_local3, "_yscale", _global.motion.regular.Out, 140, 15);
_global.motion.slide(_local3, "_xscale", _global.motion.regular.Out, 140, 15);
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, _local3, "_y", _global.motion.regular.Out, _local3._y + ((98 + (Math.floor(__index / 4) * 72)) / 4), 15);
_local4 = _local4 + 18;
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, _local3, "_rotation", _global.motion.regular.InOut, 0, 10);
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, _local3, "_yscale", _global.motion.regular.InOut, 22, 10);
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, _local3, "_xscale", _global.motion.regular.InOut, 22, 10);
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, _local3, "_y", _global.motion.regular.InOut, 98 + (Math.floor(__index / 4) * 72), 10);
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, _local3, "_x", _global.motion.regular.InOut, 236 + ((__index % 4) * 77), 10);
_local4 = _local4 + 10;
this["ferryDust" + __index].lId = "particle" + _global.model.conf.achievements[__index].color;
this["ferryDust" + __index].scaleDim = 0.5;
_global.delayer.callFunction(_global.motion, "slide", _local4, 1, this["ferryDust" + __index], "scaleDim", _global.motion.none.Out, 2, 30);
_global.delayer.callFunction(this, "animateCircleFerry", 0, 1, __index);
if (unShown.length > 0) {
_global.delayer.callFunction(this, "processUnShown", _local4, 1, false);
} else {
_global.delayer.callFunction(this, "setAnimationLock", _local4, 1, false);
}
}
function checkUnShown() {
if (unShown.length > 0) {
showAddCoinAnimation(unShown.shift());
}
}
function animateCircleFerry(__index) {
_global.delayer.callFunction(this, "showCircleFerry", 1, 35, __index);
}
function showCircleFerry(__index) {
var _local4 = 0;
while (_local4 < 4) {
var _local2 = {x:layerBg.menuMainBg["rewardCoins" + __index].circleFerryPos.ferryCircle.pos._x, y:layerBg.menuMainBg["rewardCoins" + __index].circleFerryPos.ferryCircle.pos._y};
layerBg.menuMainBg["rewardCoins" + __index].circleFerryPos.ferryCircle.localToGlobal(_local2);
layerBg.menuMainBg["rewardCoins" + __index].circleFerryPos.ferryCircle._rotation = layerBg.menuMainBg["rewardCoins" + __index].circleFerryPos.ferryCircle._rotation + 33;
var _local5 = this["ferryDust" + __index].insertParticle(Math.floor(_local2.x - 46), Math.floor(_local2.y - 22));
_local5.animation.gotoAndStop(1 + Math.floor(Math.random() * 20));
_local4++;
}
}
function showRoll(__index) {
if (animationLock) {
return(null);
}
_global.motion.slide(layerBg.menuMainBg["rewardCoins" + __index], "_yscale", _global.motion.regular.Out, 25, 3);
_global.motion.slide(layerBg.menuMainBg["rewardCoins" + __index], "_xscale", _global.motion.regular.Out, 25, 3);
}
function showRollAway(__index) {
if (animationLock) {
return(null);
}
_global.motion.slide(layerBg.menuMainBg["rewardCoins" + __index], "_yscale", _global.motion.regular.Out, 22, 3);
_global.motion.slide(layerBg.menuMainBg["rewardCoins" + __index], "_xscale", _global.motion.regular.Out, 22, 3);
}
function showPress(__index) {
if (animationLock) {
return(null);
}
rollAway = __index;
processShowCoinScreen(__index);
}
function processCloseCoinScreen() {
_global.view.menuLoader2.coinInScreen.removeMovieClip();
checkUnShown();
if (rollAway) {
showRollAway(rollAway);
delete rollAway;
}
}
function processClose() {
if (animationLock) {
return(null);
}
delete menuName;
_global.view.menuLoader.removeMovieClip();
if (_global.achievementM == "helprequest") {
delete _global.achievementM;
_global.delayer.callFunction(_global.activeScreen, "showIntroHelp", 1, 1);
}
return(true);
}
}
Symbol 3666 MovieClip [__Packages.as.conf.view.AchievementMenuconf] Frame 0
class as.conf.view.AchievementMenuconf extends as.conf.view.Menuconf
{
var options, button, bgString, position;
function AchievementMenuconf () {
super();
options = ["Close"];
button = {startX:283, startY:490, colAmount:2, xoffset:160, yoffset:40};
bgString = "menuAchievementBg";
position = {x:47, y:24};
}
}
Symbol 3667 MovieClip [__Packages.as.poker.model.PokerModelBase] Frame 0
class as.poker.model.PokerModelBase
{
var pokerSave, chanceCalculator, playersChar, debugPlayerTip, players, pokerNewPlayerAtribArray, playerAmount, finishPokerGame, useFixedCards, generateLosers, getShowCard_array, reduceSteamy, checkForIrritation, processToMemory, checkForBluffAward, fixedCards, spliceFixedCard;
function PokerModelBase (__playerAmount) {
pokerSave = {ShortAndBickStack:{low:[], high:[]}, memory:[], playerBehavior:[]};
_global.model.adjustSpeed(_global.careerModel.userProgress.setting.pokerSpeed);
_global.dealerSpeechNumber = 0;
_global.pokerModel = this;
chanceCalculator = new as.poker.model.ChanceCalculator(this);
playersChar = ["thight_a", "thight_p", "loose_a", "loose_p"];
debugPlayerTip = false;
}
function saveTurn() {
if (_global.careerModel.userProgress.currentPosition.quickGame) {
return(null);
}
if (players[_global.userPlayer].model == undefined) {
return(null);
}
pokerSave.players = [];
var _local4 = 0;
while (_local4 < players.length) {
var _local3 = {view:players[_local4].view, model:players[_local4].model};
pokerSave.players[_local4] = {id:_local3.view.viewId, name:_local3.view.name, type:_local3.view.type, chipAmount:_local3.model.chipAmount, house:_local3.model.house.concat(), styleId:_local3.model.styleId, level:_local3.model.pokerLevel};
_local4++;
}
pokerSave.userPlayer = _global.userPlayer;
_global.careerModel.userProgress.currentPosition.currentScreen = "poker";
_global.careerModel.userProgress.currentPosition.pokerGame = pokerSave;
_global.model.saveGame();
}
function createTable(__iObj) {
pokerSave.totalCash = __iObj.totalCash;
pokerSave.city = __iObj.city;
pokerSave.startPlayerAmount = __iObj.players.length;
pokerSave.tableType = __iObj.type;
var _local18 = ((pokerSave.tableType == "tournament") ? 8 : 5);
pokerSave.blind = __iObj.blind;
var _local7 = new Array();
pokerNewPlayerAtribArray = new Array();
_local7 = __iObj.players;
playerAmount = _local18;
var _local8 = [];
if (pokerSave.tableType == "tournament") {
var _local3 = 1;
while (_local3 < __iObj.tableAmount) {
_local8.push(_local18);
pokerSave.startPlayerAmount = pokerSave.startPlayerAmount + 8;
_local3++;
}
_global.model.activateScreen(new as.poker.view.PokerTournamentView({table:__iObj.city, player:_local7}));
} else {
_global.model.activateScreen(new as.poker.view.PokerCashgameView({table:1 + ((_global.careerModel.userProgress.surrounding.event[_global.careerModel.userProgress.currentPosition.townId][_global.careerModel.userProgress.currentPosition.event].view.id + 3) % 4), player:_local7}));
}
pokerSave.otherTable = new Array();
var _local9 = new as.conf.career.view.MapTexasconf();
var _local6 = 0;
var _local3 = 0;
while (_local3 < _local8.length) {
pokerSave.otherTable[_local3] = {stack:0, players:[]};
var _local5 = 0;
while (_local5 < _local8[_local3]) {
var _local4 = {id:1, gender:_local9.travelers[_local6].sex, name:_local9.travelers[_local6].name, chipAmount:_local7[Math.floor(Math.random() * _local7.length)].chipAmount, house:[]};
pokerSave.otherTable[_local3].stack = pokerSave.otherTable[_local3].stack + _local4.chipAmount;
pokerSave.otherTable[_local3].players.push(_local4);
_local6++;
_local5++;
}
adjustOtherTable(_local3, "init");
devideOtherTableMoney(_local3, "initial");
_local3++;
}
}
function unLockAchievements(__delay) {
var _local4 = 0;
if (_global.careerModel.userProgress.currentPosition.quickGame) {
return(0);
}
var _local3 = 0;
while (_local3 < pokerSave.roundObj.achievement.length) {
_local4 = _local4 + unLockAchievement(pokerSave.roundObj.achievement[_local3], __delay + _local4);
_local3++;
}
return(_local4);
}
function unLockAchievement(__achievementId, __delay) {
if (_global.careerModel.userProgress.achievement.coin.inArray(__achievementId) === false) {
_global.careerModel.userProgress.daily.balance.reward = _global.careerModel.userProgress.daily.balance.reward + 1;
_global.careerModel.userProgress.achievement.coin.push(__achievementId);
_global.delayer.callFunction(_global.pokerView, "unlockAchievement", __delay, 1, __achievementId, __delay);
return(168);
}
return(0);
}
function getEndFixForNum(__num) {
var _local1 = ["st", "nd", "rd"];
if (_local1[__num - 1]) {
return(_local1[__num - 1]);
}
return("th");
}
function numberToPreparedVisual(__num) {
var _local2 = __num.toString();
var _local3 = [];
var _local1 = 0;
while (_local2.charAt(_local1)) {
_local3.push("p" + _local2.charAt(_local1));
_local1++;
}
return(_local3);
}
function createRandomTable() {
var _local21 = new Array("Beeville", "Boston", "Brady", "Brownsville", "Dallas", "ElDorado", "ElPaso", "FortStockton", "Lampasas", "Llano", "Meridian", "SanAntonio", "SanSaba");
var _local18 = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26);
var _local17 = new Array();
var _local3 = 0;
while (_local3 < 8) {
var _local15 = _local18.splice(Math.floor(Math.random() * _local18.length), 1);
_local17.push(_local15[0]);
_local3++;
}
var _local16 = new Array();
pokerNewPlayerAtribArray = new Array();
pokerSave.tableType = (Math.floor(Math.random() * 2) ? "CashGame" : "Tournament");
pokerSave.tableType = "Tournament";
var _local20 = ((pokerSave.tableType == "Tournament") ? 8 : 5);
_local3 = 0;
while (_local3 < _local20) {
if (_global.userPlayer == _local3) {
_local16.push({id:0, name:"jojo de user", type:"User", chipAmount:30000, house:[{value:200, status:"possession"}, {value:300, status:"possession"}, {value:400, status:"possession"}, {value:500, status:"possession"}, {value:600, status:"possession"}]});
} else {
var _local12 = (Math.floor(Math.random() * 1.7) ? 0 : (Math.floor(Math.random() * 6)));
var _local6 = new Array();
if (pokerSave.tableType != "Tournament") {
var _local5 = 0;
while (_local5 < _local12) {
_local6.push({value:100 + Math.floor(Math.random() * 400), status:"possession"});
_local5++;
}
}
_local16.push({id:_local17[_local3], name:_global.model.conf.nameArrayMale[Math.floor(Math.random() * 70)], type:"TightPassive", chipAmount:3000, house:_local6});
}
_local3++;
}
playerAmount = _local20;
var _local14 = [];
if (pokerSave.tableType == "Tournament") {
_local14.push(_local20);
_local14.push(_local20);
_global.model.activateScreen(new as.poker.view.PokerTournamentView({table:_local21[Math.floor(Math.random() * _local21.length)], player:_local16}));
} else {
_global.model.activateScreen(new as.poker.view.PokerCashgameView({table:1 + Math.floor(Math.random() * 4), player:_local16}));
}
pokerSave.otherTable = new Array();
_local3 = 0;
while (_local3 < _local14.length) {
pokerSave.otherTable[_local3] = {stack:0, players:[]};
var _local5 = 0;
while (_local5 < _local14[_local3]) {
var _local4 = {id:Math.floor(Math.random() * 20), name:_global.model.conf.nameArrayMale[Math.floor(Math.random() * 70)], type:"TightPassive", chipAmount:30000, house:[{value:200, status:"possession"}, {value:300, status:"possession"}, {value:400, status:"possession"}, {value:500, status:"possession"}, {value:600, status:"possession"}]};
pokerSave.otherTable[_local3].stack = pokerSave.otherTable[_local3].stack + _local4.chipAmount;
pokerSave.otherTable[_local3].players.push(_local4);
_local5++;
}
adjustOtherTable(_local3, "init");
devideOtherTableMoney(_local3, "initial");
_local3++;
}
}
function increaseOtherTableActions() {
var _local2 = 0;
while (_local2 < pokerSave.otherTable.length) {
pokerSave.otherTable[_local2].nextTableAction--;
if (pokerSave.otherTable[_local2].nextTableAction == 0) {
adjustOtherTable(_local2, "removePlayer");
}
_local2++;
}
}
function adjustOtherTable(__tableId, __mode) {
if (!(__mode === "removePlayer")) {
} else {
var _local4 = pokerSave.otherTable[__tableId].players.shift();
devideOtherTableMoney(__tableId, "random", _local4.chipAmount);
}
pokerSave.otherTable[__tableId].nextTableAction = Math.ceil(1.5 * Math.sqrt((Math.random() * (1 / (((_global.model.conf.blind.small[pokerSave.blind + 1] / pokerSave.otherTable[__tableId].stack) * 2) * 1))) * (pokerSave.otherTable[__tableId].players.length + Math.floor(Math.random() * (3 * pokerSave.otherTable[__tableId].players.length)))));
if (pokerSave.otherTable[__tableId].nextTableAction > ((pokerSave.otherTable[__tableId].players.length * 2) * 30)) {
pokerSave.otherTable[__tableId].nextTableAction = pokerSave.otherTable[__tableId].nextTableAction - Math.floor((pokerSave.otherTable[__tableId].nextTableAction - ((pokerSave.otherTable[__tableId].players.length * 2) * 30)) / 3);
}
if (pokerSave.otherTable[__tableId].nextTableAction < 0) {
pokerSave.otherTable[__tableId].nextTableAction = 50;
}
_global.pokerView.tournamentDisplay.update();
}
function devideOtherTableMoney(__tableId, mode, __chipsFromLoser) {
if (__chipsFromLoser == undefined) {
__chipsFromLoser = 0;
}
var _local13 = pokerSave.otherTable[__tableId].stack;
var _local8 = pokerSave.otherTable[__tableId].players.length;
var _local11 = Math.floor(_local13 / _local8);
switch (mode) {
case "initial" :
var _local2 = 0;
while (_local2 < (_local8 - 1)) {
pokerSave.otherTable[__tableId].players[_local2].chipAmount = _local11;
_local2++;
}
pokerSave.otherTable[__tableId].players[_local8 - 1].chipAmount = _local13 - (_local11 * (_local8 - 1));
break;
case "random" :
var _local5 = [];
_local2 = 0;
while (_local2 < _local8) {
_local5.push(_local2);
_local2++;
}
var _local3 = [];
_local2 = 0;
while (_local2 < 2) {
_local3.push(_local5.splice(Math.floor(Math.random() * _local5.length), 1)[0]);
_local2++;
}
var _local10 = 50;
var _local12 = 150;
var _local9 = (pokerSave.otherTable[__tableId].players[_local3[0]].chipAmount + pokerSave.otherTable[__tableId].players[_local3[1]].chipAmount) + __chipsFromLoser;
_local2 = 0;
while (_local2 < (_local3.length - 1)) {
var _local6 = Math.floor(_local9 / (_local3.length - _local2));
var _local7 = _local10 + Math.floor(Math.random() * (_local12 - _local10));
pokerSave.otherTable[__tableId].players[_local3[_local2]].chipAmount = Math.floor((_local6 / 100) * _local7);
_local9 = _local9 - pokerSave.otherTable[__tableId].players[_local3[_local2]].chipAmount;
_local2++;
}
pokerSave.otherTable[__tableId].players[_local3[_local3.length - 1]].chipAmount = _local9;
}
}
function setFilledSeats() {
pokerSave.filledSeats = new Array();
var _local2 = 0;
while (_local2 < playerAmount) {
if (players[_local2] != undefined) {
pokerSave.filledSeats.push(_local2);
}
_local2++;
}
}
function getFilledSeatsAmount() {
var _local2 = pokerSave.filledSeats.length;
if (!_local2) {
_local2 = 0;
}
return(_local2);
}
function setPlayerModel(__playerView, __playerNumber) {
pokerSave.memory[__playerNumber] = {preflop:{folded:0, checked:0, called:0, raised:0, reRaised:0, total:0}, flop:{folded:0, checked:0, called:0, raised:0, reRaised:0, total:0}, turn:{folded:0, checked:0, called:0, raised:0, reRaised:0, total:0}, river:{folded:0, checked:0, called:0, raised:0, reRaised:0, total:0}, total:{folded:0, checked:0, called:0, raised:0, reRaised:0, total:0}};
pokerSave.playerBehavior[__playerNumber] = {irritation:0};
return(new as.poker.model.PlayerModel({testnum:Math.floor(Math.random() * 900), playerView:__playerView, pokerModel:this, playerNumber:__playerNumber, chipAmount:_global.activeScreen.playerInit[__playerNumber].chipAmount, styleId:_global.activeScreen.playerInit[__playerNumber].styleId, level:_global.activeScreen.playerInit[__playerNumber].level, house:_global.activeScreen.playerInit[__playerNumber].house}));
}
function setPlayerDealing(__playerNumber) {
pokerSave.playerDealing = __playerNumber;
}
function setNextPlayerDealing() {
var _local3 = false;
var _local2 = pokerSave.playerDealing + 1;
while (!(_local2 === pokerSave.playerDealing)) {
if ((_local2 >= playerAmount) && (!_local3)) {
_local2 = 0;
_local3 = true;
}
if (players[_local2]) {
setPlayerDealing(_local2);
return(undefined);
}
_local2++;
}
}
function equalizeTables() {
var _local3 = pokerSave.otherTable.length - 1;
while (_local3 >= 0) {
if (pokerSave.otherTable[_local3].players.length == 0) {
pokerSave.otherTable.splice(_local3, 1);
}
_local3--;
}
var _local10 = 1;
var _local2 = new Array();
var _local9 = pokerSave.filledSeats.length;
_local2.push(pokerSave.filledSeats.length);
_local3 = 0;
while (_local3 < pokerSave.otherTable.length) {
_local10++;
_local2.push(pokerSave.otherTable[_local3].players.length);
_local9 = _local9 + pokerSave.otherTable[_local3].players.length;
_local3++;
}
var _local13 = new Array();
var _local12 = new Array();
if ((_local10 * 8) >= (_local9 + 8)) {
var _local11 = _local10 - 1;
var _local5 = [];
var _local6 = 0;
_local3 = 0;
while (_local3 < _local9) {
if (_local6 >= _local11) {
_local6 = 0;
}
if (!_local5[_local6]) {
_local5[_local6] = 0;
}
_local5[_local6]++;
_local6++;
_local3++;
}
_local5[_local11] = 0;
_local3 = 0;
while (_local3 < _local2.length) {
var _local4 = 0;
while ((_local2[_local3] + _local4) != _local5[_local3]) {
if ((_local2[_local3] + _local4) > _local5[_local3]) {
_local13.push(_local3);
_local4--;
} else {
_local12.push(_local3);
_local4++;
}
}
_local3++;
}
} else {
var _local8 = Math.ceil(_local9 / _local2.length);
var _local7 = Math.floor(_local9 / _local2.length);
var _local4 = true;
while (_local4 === true) {
_local4 = false;
_local3 = 0;
while (_local3 < _local2.length) {
if (_local2[_local3] > _local8) {
_local13.push(_local3);
_local2[_local3]--;
_local4 = true;
}
_local3++;
}
}
_local4 = true;
while (_local4 === true) {
_local4 = false;
_local3 = 0;
while (_local3 < _local2.length) {
if (_local2[_local3] < _local7) {
_local12.push(_local3);
_local2[_local3]++;
_local4 = true;
}
_local3++;
}
}
while (_local13.length != _local12.length) {
_local3 = 0;
while (_local3 < _local2.length) {
if ((_local13.length < _local12.length) && (_local2[_local3] > _local7)) {
_local13.push(_local3);
_local2[_local3]--;
break;
}
if ((_local13.length > _local12.length) && (_local2[_local3] < _local8)) {
_local12.push(_local3);
_local2[_local3]++;
break;
}
_local3++;
}
}
}
return({moveFrom:_local13, moveTo:_local12});
}
function startNewRound() {
setFilledSeats();
if (pokerSave.filledSeats.length == 1) {
finishPokerGame();
return(null);
}
setNextPlayerDealing();
_global.activeScreen.resetRound();
delete pokerSave.roundObj;
pokerSave.roundObj = {achievement:[], state:"preflop", totalTableBet:0, tableCards:[], playerDealing:pokerSave.playerDealing, playersPlayingAmount:0, playersAllInAmount:0, playersAllIn_array:[], playersPlaying:[]};
pokerSave.roundsStarted++;
if (((_global.careerModel.userProgress.currentPosition.quickGame || (_global.careerModel.userProgress.currentPosition.eventType == "tournament")) && ((pokerSave.roundsStarted % 4) == 0)) || ((_global.careerModel.userProgress.currentPosition.eventType == "transport") && ((pokerSave.roundsStarted % 6) == 0))) {
if (_global.model.conf.blind.small[pokerSave.blind + 1] != undefined) {
pokerSave.blind++;
pokerSave.roundObj.newBlinds = true;
}
}
if (pokerSave.roundsStarted == 1) {
pokerSave.roundObj.newBlinds = true;
_global.view.loader.DynamicTopMenu.lockedDown = true;
_global.view.loader.DynamicTopMenu.lockDown();
}
var _local3 = pokerSave.roundObj;
if (pokerSave.filledSeats.length == 2) {
_local3.smallBlind = pokerSave.playerDealing;
_local3.bigBlind = getNextPlayerIndex(_local3.smallBlind);
_local3.startingPlayer = pokerSave.playerDealing;
} else {
_local3.smallBlind = getNextPlayerIndex(pokerSave.playerDealing);
_local3.bigBlind = getNextPlayerIndex(_local3.smallBlind);
_local3.startingPlayer = getNextPlayerIndex(_local3.bigBlind);
}
var _local11 = 0;
var _local4 = 0;
while (_local4 < pokerSave.filledSeats.length) {
_local3.playersPlaying[pokerSave.filledSeats[_local4]] = {playing:true, bet:0, bettedChips:0, timesRaised:0};
_local3.playersPlayingAmount++;
_local11 = _local11 + players[pokerSave.filledSeats[_local4]].model.chipAmount;
_local4++;
}
_local3.smallBlindBet = _global.model.conf.blind.small[pokerSave.blind];
var _local6 = ((_local3.smallBlindBet > players[_local3.smallBlind].model.chipAmount) ? (players[_local3.smallBlind].model.chipAmount) : (_local3.smallBlindBet));
players[_local3.smallBlind].model.chipAmount = players[_local3.smallBlind].model.chipAmount - _local6;
checkAllIn(_local3.smallBlind);
_local3.bigBlindBet = _global.model.conf.blind.big[pokerSave.blind];
var _local5 = ((_local3.bigBlindBet > players[_local3.bigBlind].model.chipAmount) ? (players[_local3.bigBlind].model.chipAmount) : (_local3.bigBlindBet));
players[_local3.bigBlind].model.chipAmount = players[_local3.bigBlind].model.chipAmount - _local5;
checkAllIn(_local3.bigBlind);
var _local12 = _local11 / pokerSave.filledSeats.length;
_local3.relevantBet = Math.floor((_local5 + (_local12 / 10)) / 2);
_local3.startingPlayer = getNextPlayerIndex(_local3.bigBlind);
var _local13 = _global.activeScreen.showNewRound(pokerSave.playerDealing, _local3.smallBlind, _local3.bigBlind, pokerSave.roundsStarted, _local3.smallBlindBet, _local3.bigBlindBet);
_local3.totalChips = 0;
resetDeck();
initTurn(getNextPlayerIndex(_local3.bigBlind), ((_local5 > _local6) ? (_local5) : (_local6)), ((_local5 > _local6) ? (_local3.bigBlindBet) : (_local3.smallBlindBet)));
_local3.playersPlaying[_local3.smallBlind].bet = _local3.playersPlaying[_local3.smallBlind].bet + _local6;
_local3.playersPlaying[_local3.smallBlind].bettedChips = _local3.playersPlaying[_local3.smallBlind].bettedChips + _local6;
_local3.turnObj.actions_array[_local3.smallBlind].bet = _local3.turnObj.actions_array[_local3.smallBlind].bet + _local6;
_local3.turnObj.actions_array[_local3.smallBlind].chipsAmountAsked = _local3.turnObj.actions_array[_local3.smallBlind].chipsAmountAsked + _local6;
_local3.playersPlaying[_local3.bigBlind].bet = _local3.playersPlaying[_local3.bigBlind].bet + _local5;
_local3.playersPlaying[_local3.bigBlind].bettedChips = _local3.playersPlaying[_local3.bigBlind].bettedChips + _local5;
_local3.turnObj.actions_array[_local3.bigBlind].bet = _local3.turnObj.actions_array[_local3.bigBlind].bet + _local5;
_local3.turnObj.actions_array[_local3.bigBlind].chipsAmountAsked = _local3.turnObj.actions_array[_local3.bigBlind].chipsAmountAsked + _local5;
_local3.turnObj.highestBet = ((_local5 > _local6) ? (_local5) : (_local6));
_local3.turnObj.minimalBet = _local3.bigBlindBet;
_local3.totalTableBet = _local3.totalTableBet + (_local6 + _local5);
if (useFixedCards) {
setFixedPlayerCards();
} else {
setPlayerCards();
}
calculateAllChanceCalculation();
saveTurn();
_global.delayer.callFunction(_global.activeScreen, "dealPlayers", _local13, 1, _local3.state, pokerSave.filledSeats);
_global.pokerView.tournamentDisplay.update();
_global.activeScreen.updateShortBickStack(getShortAndBickStack());
}
function getShortAndBickStack() {
var _local4 = 0;
var _local5 = 0;
var _local2 = 0;
while (_local2 < playerAmount) {
var _local3 = players[_local2].model.chipAmount + pokerSave.roundObj.turnObj.actions_array[_local2].bet;
if ((players[_local2] != undefined) && (_local3 != 0)) {
_local5 = _local5 + _local3;
_local4++;
}
_local2++;
}
var _local7 = {low:Math.floor(pokerSave.roundObj.bigBlindBet * 1.9), high:Math.floor((_local5 / _local4) * 2)};
var _local6 = {low:[], high:[]};
_local2 = 0;
while (_local2 < playerAmount) {
var _local3 = players[_local2].model.chipAmount + pokerSave.roundObj.turnObj.actions_array[_local2].bet;
if (players[_local2] != undefined) {
if (_local3 <= _local7.low) {
_local6.low.push(_local2);
}
if (_local3 >= Math.floor(((_local5 - _local3) / (_local4 - 1)) * 2)) {
_local6.high.push(_local2);
}
}
_local2++;
}
return(_local6);
}
function initTurn(__activePerson, __highestBet, __highestBetOwner) {
pokerSave.roundObj.turnObj = {minimalBet:pokerSave.roundObj.bigBlindBet, actions_array:[], activePerson:__activePerson, highestBet:__highestBet, highestBetOwner:__highestBetOwner, highestBetStartTurn:__highestBet, btnRaiseAvailable:pokerSave.roundObj.state == "preflop", playersChecked:0, playersCalled:0, playersRaised:0};
var _local2 = 0;
while (_local2 < playerAmount) {
pokerSave.roundObj.turnObj.actions_array[_local2] = {action:false, bet:0, chipsAmountAsked:0, asked:false, timesRaisedInTurn:0, slowPlay:false};
_local2++;
}
}
function devideChips(__showCards) {
var _local35;
var _local43;
var _local95;
var _local11;
var _local16;
var _local3;
var _local15;
var _local4;
var _local9;
var _local6;
var _local25;
var _local23;
var _local14;
var _local45;
var _local62;
var _local20;
var _local24;
var _local61;
var _local44;
var _local7;
var _local40;
var _local53;
var _local57;
var _local56;
var _local64;
var _local10;
var _local87;
var _local88;
var _local42;
var _local31;
var _local13;
var _local19;
var _local5;
var _local47;
var _local39;
var _local36;
var _local59;
var _local65;
var _local46;
var _local55;
var _local69;
var _local70;
var _local82;
var _local86;
var _local22;
var _local66;
var _local37;
var _local18;
var _local68;
var _local63;
var _local48;
var _local32;
var _local29;
var _local26;
var _local50;
var _local30;
var _local54;
_local42 = pokerSave.filledSeats;
_local35 = pokerSave.roundObj.playersPlaying;
_local43 = _local42.length;
var _local49 = 0;
var _local34 = 0;
var _local91 = 0;
var _local12 = new Array();
var _local17 = new Array();
var _local21 = new Array();
var _local52 = new Array();
_local3 = 0;
while (_local3 < _local43) {
_local10 = _local42[_local3];
_local12[_local10] = {addChips:0, houseAmount:0, houseValue:0, houses:new Array()};
_local14 = _local35[_local10].bet;
_local17[_local10] = _local14;
_local49 = _local49 + _local14;
_local52[_local3] = {bettedIndex:_local10, betted:_local17[_local10]};
_local46 = players[_local10].model.house;
_local55 = _local46.length;
if (_local55 > 0) {
_local21[_local10] = new Array();
_local4 = _local55 - 1;
while (_local4 >= 0) {
if (_local46[_local4].status == "betted") {
var _local27 = _local46.splice(_local4, 1);
_local21[_local10].push(_local27[0]);
_local34++;
}
_local4--;
}
}
_local3++;
}
_local53 = 0;
_local52.sortOn("betted", Array.DESCENDING | Array.NUMERIC);
_local88 = _local52.length;
_local3 = 0;
while (_local3 < _local88) {
_local57 = _local52[_local3].betted;
_local56 = _local52[_local3 + 1].betted;
if (_local57 == _local56) {
break;
}
if (_local57 > _local56) {
_local53 = _local57 - _local56;
_local64 = _local52[_local3].bettedIndex;
_local12[_local64].addChips = _local12[_local64].addChips + _local53;
_local17[_local64] = _local17[_local64] - _local53;
_local49 = _local49 - _local53;
break;
}
_local3++;
}
var _local81 = new Array();
var _local8 = pokerSave.roundObj.turnObj.winner;
_local87 = _local8.length;
_local95 = pokerSave.roundObj.turnObj.highestBet;
_local59 = false;
_local65 = false;
_local3 = 0;
while (_local3 < _local87) {
_local11 = new Array();
_local61 = _local8[_local3].length;
_local15 = 0;
while (_local15 < _local61) {
_local14 = _local17[_local8[_local3][_local15]];
_local16 = _local11.length;
if (_local16 == 0) {
_local11.push(_local15);
} else {
_local4 = 0;
while (_local4 < _local16) {
_local45 = _local17[_local8[_local3][_local11[_local4]]];
if (_local14 >= _local45) {
if (_local4 == (_local16 - 1)) {
_local11.push(_local15);
}
} else {
_local11.splice(_local4, 0, _local15);
break;
}
_local4++;
}
}
_local15++;
}
_local16 = _local11.length;
_local62 = 0;
_local6 = 0;
while (_local6 < _local16) {
_local20 = 0;
_local24 = _local17[_local8[_local3][_local11[_local6]]];
if (_local24 <= 0) {
} else {
_local25 = 0;
while (_local25 < _local43) {
_local10 = _local42[_local25];
_local14 = _local17[_local10];
if ((!_local14) || (_local14 < 0)) {
_local14 = 0;
}
_local44 = _local14 - _local24;
if (_local44 < 0) {
_local20 = _local20 + _local14;
_local17[_local10] = 0;
} else {
_local20 = _local20 + _local24;
_local17[_local10] = _local17[_local10] - _local24;
}
_local25++;
}
_local36 = _local16 - _local6;
_local40 = Math.floor(_local20 / _local36);
_local9 = _local6;
while (_local9 < _local16) {
_local12[_local8[_local3][_local11[_local9]]].addChips = _local12[_local8[_local3][_local11[_local9]]].addChips + _local40;
_local12[_local8[_local3][_local11[_local9]]].winnerSpot = _local3;
_local9++;
}
if ((_local3 >= 1) || (_local36 > 1)) {
_local59 = true;
}
if (_local3 >= 1) {
_local65 = true;
}
_local31 = Math.floor(_local20 - (_local40 * _local36));
if (_local31) {
_local39 = pokerSave.roundObj.startingPlayer;
_local13 = new Array();
_local9 = _local6;
while (_local9 < _local16) {
_local10 = _local8[_local3][_local11[_local9]];
_local47 = _local10 - _local39;
if (_local47 <= 0) {
_local47 = _local47 + 7;
}
if (!_local13.length) {
_local13.push({id:_local10, positionFromDealer:_local47});
} else {
_local19 = _local13.length;
_local5 = 0;
while (_local5 < _local19) {
if (_local47 < _local13[_local5].positionFromDealer) {
_local13.splice(_local5, 0, {id:_local10, positionFromDealer:_local47});
break;
}
if (_local5 == (_local19 - 1)) {
_local13.push({id:_local10, positionFromDealer:_local47});
}
_local5++;
}
}
_local9++;
}
_local19 = _local13.length;
_local5 = 0;
while (_local5 < _local19) {
_local10 = _local8[_local3][_local13[_local5].id];
_local12[_local8[_local3][_local11[_local9]]].winnerSpot = _local3;
_local12[_local10].addChips = _local12[_local10].addChips + 1;
_local31 = _local31 - 1;
if (_local31 <= 0) {
break;
}
_local5++;
}
}
_local62 = _local62 + _local20;
_local49 = _local49 - _local20;
}
_local6++;
}
if (_local49 <= 0) {
break;
}
_local3++;
}
if (_local34) {
_local82 = 0;
_local3 = 0;
while (_local3 < _local43) {
_local10 = _local42[_local3];
_local70 = _local21[_local10].length;
if (!_local70) {
} else {
_local7 = _local12[_local10];
if (!_local7.addChips) {
} else {
_local4 = _local70 - 1;
while (_local4 >= 0) {
_local69 = _local21[_local10][_local4].value;
if (_local69 > _local7.addChips) {
} else {
_local7.addChips = _local7.addChips - _local69;
_local7.houseValue = _local7.houseValue + _local69;
var _local27 = _local21[_local10].splice(_local4, 1);
_local7.houses.push(_local27[0]);
_local34--;
}
_local4--;
}
}
}
_local3++;
}
}
if (_local34) {
_local86 = _local8.length;
_local22 = new Array();
_local39 = pokerSave.roundObj.startingPlayer;
_local66 = 0;
_local3 = 0;
while (_local3 < _local86) {
_local22[_local3] = new Array();
_local18 = _local22[_local3];
_local63 = _local8[_local3].length;
_local15 = 0;
while (_local15 < _local63) {
_local10 = _local8[_local3][_local15];
_local68 = _local12[_local10].addChips;
if (!_local68) {
} else {
_local48 = (_local68 + _local12[_local10].houseValue) - _local35[_local10].bet;
if ((!_local35[_local10].bet) || (_local35[_local10].bet <= 0)) {
} else {
_local47 = _local10 - _local39;
if (_local47 <= 0) {
_local47 = _local47 + 7;
}
if (!_local18.length) {
_local18.push({playerIndex:_local10, positionFromDealer:_local47, profit:_local48});
} else {
_local37 = _local18.length;
_local6 = 0;
while (_local6 < _local37) {
if (_local47 < _local18[_local6].positionFromDealer) {
_local18.splice(_local6, 0, {id:_local10, positionFromDealer:_local47, profit:_local48});
} else if (_local6 == (_local37 - 1)) {
_local18.push({id:_local10, positionFromDealer:_local47, profit:_local48});
}
_local6++;
}
}
_local66++;
}
}
_local15++;
}
_local3++;
}
if (_local66) {
_local82 = _local21.length;
_local3 = 0;
while (_local3 < _local82) {
_local70 = _local21[_local3].length;
if (!_local70) {
} else {
_local4 = _local70 - 1;
while (_local4 >= 0) {
_local69 = _local21[_local3][_local4].value;
_local32 = false;
_local50 = _local22.length;
_local5 = 0;
while (_local5 < _local50) {
_local30 = _local22[_local5];
_local29 = _local30.length;
_local6 = 0;
while (_local6 < _local29) {
_local26 = _local30[_local6];
_local10 = _local26.playerIndex;
if (_local12[_local10].addChips < _local69) {
} else {
_local26.profit = _local26.profit - _local69;
_local7 = _local12[_local10];
_local7.addChips = _local7.addChips - _local69;
_local7.houseValue = _local7.houseValue + _local69;
var _local27 = _local21[_local3].splice(_local4, 1);
_local7.houses.push(_local27[0]);
_local34--;
if (_local29 > 1) {
var _local28 = _local22[_local5].splice(_local6, 1);
_local22[_local5].push(_local28[0]);
}
_local32 = true;
break;
}
_local6++;
}
if (_local32) {
break;
}
_local5++;
}
_local4--;
}
}
_local3++;
}
}
}
_local3 = 0;
while (_local3 < _local43) {
_local10 = _local42[_local3];
_local7 = _local12[_local10];
if ((_local7.addChips || (_local7.houseAmount)) || (_local7.houseValue)) {
players[_local10].model.chipAmount = players[_local10].model.chipAmount + _local7.addChips;
_local70 = _local7.houses.length;
if (_local70) {
_local4 = 0;
while (_local4 < _local70) {
_local7.houses[_local4].status = "possession";
players[_local10].model.house.push(_local7.houses[_local4]);
_local7.houseAmount++;
_local4++;
}
}
_local81.push({id:_local10, betted:_local35[_local10].bet, addChips:_local7.addChips, houseAmount:_local7.houseAmount, houseValue:_local7.houseValue, foundHandCards:_local8.foundHandCards[_local10], winnerSpot:(((!(_local7.winnerSpot === undefined)) && (_local59 == true)) ? (_local7.winnerSpot) : undefined)});
}
_local3++;
}
var _local41 = new Array();
_local41 = generateLosers();
var _local85 = new Array();
if ((pokerSave.tableType == "tournament") && (pokerSave.roundObj.playerBusted == true)) {
var _local83 = 0;
var _local51 = 0;
while (_local51 < _local41.length) {
if (_global.pokerModel.pokerSave.roundObj.playersPlaying[_local41[_local51].position].bet > _global.pokerModel.pokerSave.roundObj.playersPlaying[_global.userPlayer].bet) {
_local83++;
}
_local51++;
}
var _local84 = ((1 + _local83) + pokerSave.filledSeats.length) - _local41.length;
_local51 = 0;
while (_local51 < pokerSave.otherTable.length) {
_local84 = _local84 + pokerSave.otherTable[_local51].players.length;
_local51++;
}
pokerSave.playerPlace = _local84;
}
if (pokerSave.otherTable.length > 0) {
setFilledSeats();
var _local38 = equalizeTables();
if (_local38.moveFrom.length > 0) {
var _local60 = new Array();
_local23 = 0;
while (_local23 < _local38.moveFrom.length) {
var _local58 = findMovingPlayerMovablePlayer(_local38.moveFrom[_local23], _local38.moveTo[_local23]);
if (_local38.moveFrom[_local23] == 0) {
_local41.push(_local58);
}
_local60.push({moveFrom:{tableId:_local38.moveFrom[_local23], personId:_local58.position}, moveTo:{tableId:_local38.moveTo[_local23], personId:findMovingPlayerFreeSpace(_local38.moveTo[_local23])}});
var _local33 = _local60[_local60.length - 1];
if (_local33.moveTo.tableId == 0) {
_local85.push(_local33.moveTo.personId);
}
if (_local33.moveFrom.tableId == 0) {
_local41.push({reason:"switch", model:players[_local33.moveFrom.personId].model, view:players[_local33.moveFrom.personId].view, position:_local33.moveFrom.personId});
}
procesmoveArraysMove(_local33);
_local23++;
}
}
}
_local23 = 0;
while (_local23 < pokerSave.otherTable.length) {
devideOtherTableMoney(_local23, "random");
_local23++;
}
var _local89 = [];
if (__showCards == undefined) {
_local89 = getShowCard_array();
} else {
_local89 = __showCards.concat();
}
if (_local8.beatenHand) {
_local3 = 0;
while (_local3 < _local8[0].length) {
if (_local8[0][_local3] == _global.userPlayer) {
_local54 = 15 + _local8.beatenHand;
if ((_local54 > 15) && (_local54 < 25)) {
pokerSave.roundObj.achievement.push(_local54);
break;
}
}
_local3++;
}
}
reduceSteamy();
checkForIrritation(_local89);
if (pokerSave.roundObj.leavePokerGameAtRoundFinished) {
finishPokerGame();
if (players[_global.userPlayer] != undefined) {
_local41.push({reason:"choice", model:players[_global.userPlayer].model, view:players[_global.userPlayer].view, position:_global.userPlayer});
players[_global.userPlayer] = undefined;
}
}
if ((_local81[0].id == _global.userPlayer) && (_local81.length == 1)) {
var _local80 = 0;
_local3 = 0;
while (_local3 < _local41.length) {
if (_local41[_local3].reason == "busted") {
_local80++;
}
_local3++;
}
if (_local80 > 2) {
_local80 = 2;
}
if (_local80 > 0) {
pokerSave.roundObj.achievement.push(12 + _local80);
}
if ((pokerSave.roundObj.playersAllInAmount > 1) && (pokerSave.roundObj.allin)) {
switch (pokerSave.roundObj.allin.state) {
case "preflop" :
pokerSave.roundObj.achievement.push(6);
break;
case "flop" :
pokerSave.roundObj.achievement.push(7);
break;
case "turn" :
pokerSave.roundObj.achievement.push(8);
break;
case "river" :
pokerSave.roundObj.achievement.push(9);
}
var _local90 = pokerSave.roundObj.playersAllInAmount;
if (_local90 > 4) {
_local90 = 4;
}
pokerSave.roundObj.achievement.push(8 + _local90);
}
}
_global.activeScreen.showWinner(_local81, _local41, _local85, _local89, _local8[0], _local65);
pokerSave.roundObj.finished = true;
}
function procesmoveArraysMove(obj) {
switch (obj.moveTo.tableId) {
case 0 :
var _local7 = new as.conf.poker.model.PlayerConf();
var _local4 = Math.floor((Math.random() * _local7.id.length) - 1);
_global.activeScreen.playerInit[obj.moveTo.personId] = {level:4, id:0, name:"Randy", styleId:1, chipAmount:710, house:[]};
var _local9 = _global.activeScreen.playerInit[obj.moveTo.personId];
var _local6 = pokerSave.otherTable[obj.moveFrom.tableId - 1].players.splice(Math.floor(Math.random() * pokerSave.otherTable[obj.moveFrom.tableId - 1].players.length), 1)[0];
if (_local6.gender == undefined) {
_local6.gender = "male";
trace("bugggg!!!!");
}
var _local5 = false;
while (!_local5) {
if (_local6.gender == _local7.id[_local4].gender) {
_local5 = true;
var _local3 = 0;
while (_local3 < _global.activeScreen.playerInit.length) {
if (_global.activeScreen.playerInit[_local3].id == _local4) {
_local5 = false;
}
_local3++;
}
}
if (!_local5) {
_local4++;
if (_local7.id[_local4] == undefined) {
_local4 = 0;
}
}
}
if (_local6.name == _global.careerModel.conf.governorName) {
_local4 = 19;
}
_local9.id = _local4;
if (_local6.name != undefined) {
_local9.name = _local6.name;
}
var _local10 = _global.careerModel.getCityConfig(_global.careerModel.conf.city[_global.careerModel.userProgress.currentPosition.townId].title);
var _local11 = Math.floor(Math.random() * _local10.inhabitant.length);
_local9.level = _local10.inhabitant[_local11].level;
_local9.styleId = _local10.inhabitant[_local11].styleId;
if ((_local6.chipAmount != undefined) && (_local6.chipAmount > 0)) {
_local9.chipAmount = _local6.chipAmount;
}
players[obj.moveTo.personId] = "reserved";
break;
default :
if (obj.moveFrom.tableId != 0) {
break;
}
players[obj.moveFrom.personId] = undefined;
}
}
function findMovingPlayerMovablePlayer(__tableId, __tableIdMoveTo) {
if (__tableId == 0) {
var _local3 = 0;
while (_local3 < playerAmount) {
if (((players[_local3] != undefined) && (players[_local3].model.chipAmount != 0)) && (_local3 != _global.userPlayer)) {
var _local15 = {id:1, gender:players[_local3].view.gender, name:players[_local3].view.name, chipAmount:players[_local3].model.chipAmount, house:[]};
pokerSave.otherTable[__tableIdMoveTo - 1].players.push(_local15);
pokerSave.otherTable[__tableIdMoveTo - 1].stack = pokerSave.otherTable[__tableIdMoveTo - 1].stack + players[_local3].model.chipAmount;
pokerSave.otherTable[__tableId - 1].stack = pokerSave.otherTable[__tableId - 1].stack - players[_local3].model.chipAmount;
var _local4 = {model:players[_local3].model, view:players[_local3].view, position:_local3, reason:"tableMove"};
players[_local3] = undefined;
return(_local4);
}
_local3++;
}
} else {
if ((__tableId == 2) && (__tableIdMoveTo == 1)) {
var _local15 = pokerSave.otherTable[__tableId - 1].players.pop();
if (pokerSave.otherTable[__tableId - 1].players.length == 0) {
pokerSave.otherTable.splice(__tableId - 1, 1);
}
pokerSave.otherTable[__tableIdMoveTo - 1].stack = pokerSave.otherTable[__tableIdMoveTo - 1].stack + _local15.chipAmount;
pokerSave.otherTable[__tableId - 1].stack = pokerSave.otherTable[__tableId - 1].stack - _local15.chipAmount;
pokerSave.otherTable[__tableIdMoveTo - 1].players.push(_local15);
}
return({position:0});
}
}
function findMovingPlayerFreeSpace(__tableId) {
if (__tableId == 0) {
var _local2 = 0;
while (_local2 < playerAmount) {
if (players[_local2] == undefined) {
return(_local2);
}
_local2++;
}
} else {
return(0);
}
}
function addPlayerRequest(__place) {
var _local3 = new Object();
_local3.view = _global.activeScreen.setPlayer(__place, "walk");
_local3.model = setPlayerModel(_local3.view, __place);
players[__place] = _local3;
_global.pokerView.roundObj.returnedCards[__place] = true;
}
function processPlayerAction(__playerId, __action, __chipAmount, __houseObj) {
var _local8;
var _local7;
var _local4;
var _local15;
var _local9;
var _local12;
var _local16;
var _local13;
if (((__chipAmount == undefined) || (__chipAmount < 0)) || (!(typeof(__chipAmount) === "number"))) {
__action = "fold";
}
if (__action == "fold") {
__chipAmount = 0;
__houseObj = {value:0, house:new Array()};
}
_local13 = (((!__houseObj.value) || (!__houseObj.house.length)) ? 0 : (__houseObj.value));
if (!_local13) {
__houseObj = {value:0, house:new Array()};
}
increaseOtherTableActions();
_local7 = pokerSave.roundObj;
_local4 = _local7.turnObj;
_local8 = _local4.actions_array[__playerId];
_local15 = _local7.playersPlaying[__playerId];
_local9 = players[__playerId];
_local12 = __chipAmount + _local13;
if (__chipAmount > _local9.model.chipAmount) {
__chipAmount = Number(_local9.model.chipAmount);
_local12 = __chipAmount + _local13;
if ((__action == "raise") && ((_local8.bet + _local12) <= _local4.highestBet)) {
__action = "call";
}
} else if (((_local12 + _local8.bet) < _local4.highestBet) && ((_local9.model.chipAmount - __chipAmount) > 0)) {
__action = "fold";
__chipAmount = 0;
__houseObj = {value:0, house:new Array()};
}
_local8.action = __action;
_local8.bet = _local8.bet + _local12;
_local7.totalTableBet = _local7.totalTableBet + _local12;
_local8.lastHouseValueBetted = ((!_local13) ? 0 : (_local13));
if (__action == "fold") {
processToMemory(__playerId, "folded");
_local15.playing = false;
_local7.playersPlayingAmount--;
} else {
_local15.bet = _local15.bet + _local12;
_local15.bettedChips = _local15.bettedChips + __chipAmount;
_local16 = _local8.bet - _local4.highestBet;
if (_local16 > _local4.minimalBet) {
_local4.minimalBet = _local16;
}
if (__action == "check") {
_local4.playersChecked++;
processToMemory(__playerId, "checked");
} else if (__action == "call") {
_local4.playersCalled++;
processToMemory(__playerId, "called");
} else if (__action == "raise") {
_local4.playersChecked = 0;
_local4.playersCalled = 0;
if (!_local4.playersRaised) {
processToMemory(__playerId, "raised");
} else {
processToMemory(__playerId, "reRaised");
}
_local4.playersRaised++;
}
if (_local16 > 0) {
_local4.previousHighestBet = Number(_local4.highestBet);
_local4.highestBet = _local8.bet;
_local4.highestBetOwner = __playerId;
_local8.timesRaisedInTurn++;
_local15.timesRaised++;
}
if (_local12 > _local7.bigBlind) {
if ((((__action == "raise") && (__playerId == pokerSave.playerDealing)) && (_local7.turnObj.btnRaiseAvailable == true)) && (pokerSave.filledSeats.length > 2)) {
_local9.view.showButtonRaise(25);
}
_local7.turnObj.btnRaiseAvailable = false;
}
_local9.model.chipAmount = _local9.model.chipAmount - __chipAmount;
if (_local13 > 0) {
var _local14 = __houseObj.house.length;
var _local3 = 0;
while (_local3 < _local14) {
_local9.model.house[__houseObj.house[_local3]].status = "betted";
_local3++;
}
}
if ((_local7.allin && (_local7.state == _local7.allin.state)) && (__action != "fold")) {
if (_local7.allin.players.inArray(__playerId) === false) {
_local7.allin.players.push(__playerId);
}
}
}
checkAllIn(__playerId);
_local8.chipsAmountAsked = _local4.highestBet;
_local4.activePerson = getNextPlayerIndex(__playerId);
_local8.asked = true;
_global.activeScreen.showPlayersDecisionRequest(__playerId, _local8.action, __chipAmount, __houseObj);
}
function checkAllIn(__playerIndex) {
if (players[__playerIndex].model.chipAmount <= 0) {
players[__playerIndex].model.chipAmount = 0;
pokerSave.roundObj.turnObj.actions_array[__playerIndex].action = "allin";
pokerSave.roundObj.playersPlaying[__playerIndex].allIn = true;
pokerSave.roundObj.playersAllIn_array.push(__playerIndex);
pokerSave.roundObj.playersAllInAmount++;
if (__playerIndex == _global.userPlayer) {
pokerSave.roundObj.allin = {state:pokerSave.roundObj.state, players:[]};
}
return(true);
}
return(false);
}
function calculateAllChanceCalculation() {
var _local7;
var _local4;
var _local3;
var _local5;
var _local6;
_local6 = 0;
_local7 = pokerSave.filledSeats.length;
_local4 = 0;
while (_local4 < _local7) {
_local3 = pokerSave.filledSeats[_local4];
_local5 = pokerSave.roundObj.playersPlaying[_local3];
if (_local5.playing) {
if (((_local3 == _global.userPlayer) && (!debugPlayerTip)) || (_local5.allIn)) {
} else {
pokerSave.roundObj.turnObj.actions_array[_local3].chance_array = _global.chanceCalculator.getInfo(_local3);
_local6++;
}
}
_local4++;
}
}
function askNextPlayer() {
var _local4 = pokerSave.roundObj.turnObj.activePerson;
if (_local4 == -1) {
askNextPlayer();
return(null);
}
var _local12 = 0;
var _local8 = checkIfPlayerShouldBeAsked(_local4);
if ((_local8 == "allInEnd") || (_local8 == "nextState")) {
var _local11 = 1;
if (_local8 == "allInEnd") {
if (!pokerSave.roundObj.winnersToBe) {
getWinnersFromCards(false, true);
}
var _local7 = [];
var _local3 = 0;
while (_local3 < pokerSave.filledSeats.length) {
if (pokerSave.roundObj.playersPlaying[pokerSave.filledSeats[_local3]].playing == true) {
_local7.push({id:pokerSave.filledSeats[_local3], mode:"show"});
}
_local3++;
}
_local11 = _local11 + _global.activeScreen.showCards(_local7);
}
_global.delayer.callFunction(this, "nextState", _local11, 1);
} else if (_local8 == "winner") {
pokerSave.roundObj.turnObj.winner = [[_local4]];
requestShowOrHideCard(_local4);
} else if ((_local8 == "skip") || (_local8 == "allIn")) {
pokerSave.roundObj.turnObj.activePerson = getNextPlayerIndex(_local4);
_global.delayer.callFunction(this, "askNextPlayer", 1, 1);
} else if (_local8 == "ask") {
var _local9 = pokerSave.roundObj.turnObj.highestBet - pokerSave.roundObj.turnObj.actions_array[_local4].bet;
if (pokerSave.roundObj.state == "preflop") {
if (pokerSave.roundObj.turnObj.highestBet < pokerSave.roundObj.bigBlindBet) {
_local9 = pokerSave.roundObj.bigBlindBet - pokerSave.roundObj.turnObj.actions_array[_local4].bet;
}
}
pokerSave.roundObj.turnObj.activePerson = _local4;
if (_global.userPlayer == _local4) {
if (debugPlayerTip) {
var _local10 = players[_local4].model.decide(_local9, pokerSave.roundObj.turnObj.minimalBet);
}
_global.activeScreen.askUsersAction(_local9, pokerSave.roundObj.turnObj.minimalBet);
return(null);
}
var _local10 = players[_local4].model.decide(_local9, pokerSave.roundObj.turnObj.minimalBet);
processPlayerAction(_local4, _local10.action, _local10.addChips, _local10.houseObj);
} else {
trace("ERROR askNextPlayer result was -1");
}
}
function requestShowOrHideCard(__playerIndex) {
var _local4;
if (_global.userPlayer == __playerIndex) {
_global.pokerView.showShowOrHideOption();
checkForBluffAward();
} else {
_local4 = players[__playerIndex].model.decideShowOrHideCard();
devideChips([{id:__playerIndex, mode:(_local4 ? "show" : "hide")}]);
}
}
function reportViewFinish(__state) {
switch (__state) {
case "winner" :
startNewRound();
break;
case "roundFinished" :
break;
default :
askNextPlayer();
}
}
function checkIfPlayerShouldBeAsked(__playerNumber) {
var _local2 = pokerSave.roundObj;
var _local4 = _local2.playersPlaying[__playerNumber];
if (_local4) {
if (_local4.playing) {
if (_local2.playersPlayingAmount == 1) {
return("winner");
}
if (_local2.playersAllInAmount == _local2.playersPlayingAmount) {
return("allInEnd");
}
if (_local4.allIn) {
return("allIn");
}
if ((_local2.playersPlayingAmount - _local2.playersAllInAmount) <= 1) {
if (_local2.turnObj.actions_array[__playerNumber].bet >= _local2.turnObj.highestBet) {
return("allInEnd");
}
if (players[__playerNumber].model.chipAmount <= 0) {
return("allInEnd");
}
return("ask");
}
if (players[__playerNumber].model.chipAmount <= 0) {
return("skip");
}
if (_local2.turnObj.actions_array[__playerNumber].asked == false) {
return("ask");
}
if (_local2.turnObj.actions_array[__playerNumber].bet < _local2.turnObj.highestBet) {
return("ask");
}
return("nextState");
}
return("skip");
}
return(-1);
}
function getNextPlayerIndex(__start) {
var _local3;
var _local2 = __start + 1;
while (!(_local2 === __start)) {
if (_local2 >= playerAmount) {
if (!_local3) {
_local2 = 0;
_local3 = true;
} else {
break;
}
}
if (players[_local2]) {
return(_local2);
}
_local2++;
}
return(-1);
}
function getAmountPlayersAhead(__start) {
var _local2;
var _local4;
var _local6;
var _local3;
_local6 = 0;
_local2 = __start + 1;
while (!(_local2 === __start)) {
if (_local2 >= playerAmount) {
if (!_local4) {
_local2 = 0;
_local4 = true;
} else {
break;
}
}
if (players[_local2]) {
_local3 = checkIfPlayerShouldBeAsked(_local2);
if (_local3 == "ask") {
_local6++;
}
}
_local2++;
}
return(_local6);
}
function getAmountRaisedInfo(__ownIndex) {
var _local4;
var _local3;
var _local5;
var _local2;
_local4 = {timesRaisedInTurn:0, timesRaised:0};
_local5 = pokerSave.filledSeats.length;
_local3 = 0;
while (_local3 < _local5) {
_local2 = pokerSave.filledSeats[_local3];
if (_local2 == __ownIndex) {
} else if (pokerSave.roundObj.playersPlaying[_local2].playing) {
_local4.timesRaisedInTurn = _local4.timesRaisedInTurn + pokerSave.roundObj.turnObj.actions_array[_local2].timesRaisedInTurn;
_local4.timesRaised = _local4.timesRaised + pokerSave.roundObj.playersPlaying[_local2].timesRaised;
}
_local3++;
}
return(_local4);
}
function resetDeck() {
var _local6;
var _local2;
var _local4;
var _local3;
var _local5;
pokerSave.roundObj.deck = new Array();
_local5 = 0;
_local4 = 0;
while (_local4 < 4) {
_local3 = 2;
while (_local3 < 15) {
_local5++;
_local2 = new Object();
_local2.cardNumber = _local5;
_local2.cardColor = _local4;
_local2.cardValue = _local3;
pokerSave.roundObj.deck.push(_local2);
_local3++;
}
_local4++;
}
}
function spliceRandomCard() {
var _local2 = pokerSave.roundObj.deck.splice(Math.floor(Math.random() * pokerSave.roundObj.deck.length), 1);
var _local3 = _local2[0];
return(_local3);
}
function getTableCards(__mode) {
var _local3 = new Array();
if (useFixedCards) {
switch (__mode) {
case "flop" :
_local3 = [returnFixedCard("table", 0), returnFixedCard("table", 1), returnFixedCard("table", 2)];
break;
case "turn" :
_local3 = [returnFixedCard("table", 3)];
break;
case "river" :
_local3 = [returnFixedCard("table", 4)];
}
} else {
switch (__mode) {
case "flop" :
_local3 = [spliceRandomCard(), spliceRandomCard(), spliceRandomCard()];
break;
case "turn" :
_local3 = [spliceRandomCard()];
break;
case "river" :
_local3 = [spliceRandomCard()];
}
}
pokerSave.roundObj.tableCards = pokerSave.roundObj.tableCards.concat(_local3);
var _local5 = _local3.length;
var _local4 = new Array();
var _local2 = 0;
while (_local2 < _local5) {
_local4.push(_local3[_local2].cardNumber);
_local2++;
}
return(_local4);
}
function returnTableCards() {
var _local2 = new Array();
return(_local2.concat(pokerSave.roundObj.tableCards));
}
function setPlayerCards() {
var _local3 = pokerSave.filledSeats.length;
pokerSave.roundObj.playerCard = new Array();
var _local2 = 0;
while (_local2 < _local3) {
pokerSave.roundObj.playerCard[pokerSave.filledSeats[_local2]] = [spliceRandomCard(), spliceRandomCard()];
_local2++;
}
}
function setFixedPlayerCards() {
var _local4;
var _local3;
_local4 = pokerSave.filledSeats.length;
pokerSave.roundObj.playerCard = new Array();
var _local2 = 0;
while (_local2 < _local4) {
_local3 = pokerSave.filledSeats[_local2];
pokerSave.roundObj.playerCard[_local3] = [returnFixedCard(_local3, 0), returnFixedCard(_local3, 1)];
_local2++;
}
}
function returnFixedCard(owner, indexNumber) {
var _local2 = fixedCards[owner][indexNumber];
return(spliceFixedCard(_local2));
}
function getPlayerCards(__playerNumber) {
return(pokerSave.roundObj.playerCard[__playerNumber]);
}
function returnPlayerCards(__playerNumber) {
return(pokerSave.roundObj.playerCard[__playerNumber]);
}
function getWinnersFromCards(allPlayers, winnersToBe, __debug) {
var _local7;
var _local4;
var _local5;
var _local3;
_local4 = new Array();
_local5 = pokerSave.filledSeats.length;
_local3 = 0;
while (_local3 < _local5) {
if (pokerSave.roundObj.playersPlaying[pokerSave.filledSeats[_local3]].playing == true) {
_local4.push(pokerSave.filledSeats[_local3]);
} else if (allPlayers && (pokerSave.filledSeats[_local3])) {
_local4.push(pokerSave.filledSeats[_local3]);
}
_local3++;
}
_local7 = $getWinnersArray(_local4);
if (_local7 && (!__debug)) {
if (allPlayers) {
return(_local7);
}
if (winnersToBe) {
pokerSave.roundObj.winnersToBe = new Array();
_global.model.throwObj(_local7, pokerSave.roundObj.winnersToBe);
} else {
pokerSave.roundObj.turnObj.winner = new Array();
_global.model.throwObj(_local7, pokerSave.roundObj.turnObj.winner);
}
}
}
function $getWinnersArray(__playersIndex_array) {
var _local25;
var _local8;
var _local20;
var _local12;
var _local22;
var _local3;
var _local18;
var _local15;
var _local24;
var _local17;
var _local9;
var _local5;
var _local13;
var _local14;
var _local4;
var _local21;
var _local7;
var _local6;
var _local23;
var _local19;
var _local26;
var _local28;
var _local27;
_local25 = returnTableCards();
_local8 = new Array();
_local20 = new Array();
_local12 = new Array();
_local22 = __playersIndex_array.length;
_local3 = 0;
while (_local3 < _local22) {
_local18 = __playersIndex_array[_local3];
_local15 = returnPlayerCards(_local18);
_local24 = _local15.concat(_local25);
_local17 = _global.chanceCalculator.$getBestHand(_local24, _local15);
_local8[_local3] = _local17.foundHand;
_local20[_local3] = _local17.foundHandCards;
_local12[_local18] = _local3;
_local3++;
}
_local5 = [[0]];
_local3 = 1;
while (_local3 < _local22) {
_local14 = _local8[_local3];
_local9 = _local5.length;
_local4 = 0;
while (_local4 < _local9) {
_local13 = _local8[_local5[_local4][0]];
_local6 = compareTwoHands(_local13, _local14);
if (_local6 == "lower") {
if (_local4 == (_local9 - 1)) {
_local5.push([_local3]);
}
} else {
if (_local6 == "same") {
_local5[_local4].push(_local3);
} else if (_local6 == "higher") {
_local5.splice(_local4, 0, [_local3]);
}
break;
}
_local4++;
}
_local3++;
}
_local7 = new Array();
_local9 = _local5.length;
_local3 = 0;
while (_local3 < _local9) {
_local7[_local3] = new Array();
_local23 = _local5[_local3];
_local19 = _local23.length;
_local4 = 0;
while (_local4 < _local19) {
_local7[_local3][_local4] = __playersIndex_array[_local5[_local3][_local4]];
_local4++;
}
_local3++;
}
_local21 = _local7[0].length;
_local7.foundHandCards = new Array();
_local3 = 0;
while (_local3 < _local21) {
var _local11 = _local7[0][_local3];
var _local10 = _local20[_local12[_local11]];
if (_local21 > 1) {
_local10.diffNumber = 8;
} else {
_local10.diffNumber = getDiffIndexFromTwoHands(_local8[_local12[_local11]], _local8[_local12[_local7[1][0]]]);
}
_local7.foundHandCards[_local11] = _local10;
_local3++;
}
_local26 = _local7[1][0];
if (_local26) {
_local28 = _local12[_local26];
_local27 = _local8[_local28][0];
if (!(_local27 === undefined)) {
_local7.beatenHand = _local27;
}
}
return(_local7);
}
function compareTwoHands(__bestHandSoFar_array, __toCompare_array) {
var _local1;
_local1 = 0;
while (_local1 < 8) {
if (_local1 == 7) {
return("same");
}
if (__toCompare_array[_local1] == __bestHandSoFar_array[_local1]) {
} else {
if (__toCompare_array[_local1] > __bestHandSoFar_array[_local1]) {
return("higher");
}
return("lower");
}
_local1++;
}
}
function getDiffIndexFromTwoHands(__bestHandSoFar_array, __toCompare_array) {
var _local1;
_local1 = 0;
while (_local1 <= 5) {
if (!(__toCompare_array[_local1] === __bestHandSoFar_array[_local1])) {
return(_local1);
}
_local1++;
}
return(5);
}
function nextState() {
switch (pokerSave.roundObj.state) {
case "preflop" :
pokerSave.roundObj.state = "flop";
break;
case "flop" :
pokerSave.roundObj.state = "turn";
break;
case "turn" :
pokerSave.roundObj.state = "river";
break;
case "river" :
pokerSave.roundObj.state = "winner";
getWinnersFromCards();
devideChips();
return(null);
}
var _local3 = pokerSave.roundObj.smallBlind;
if (_local3 == pokerSave.roundObj.startingPlayer) {
_local3 = getNextPlayerIndex(_local3);
}
initTurn(_local3, 0);
var _local4 = getTableCards(pokerSave.roundObj.state);
_global.activeScreen.dealState(pokerSave.roundObj.state, _local4);
saveTurn();
if (!(pokerSave.roundObj.state === "winner")) {
calculateAllChanceCalculation();
}
}
}
Symbol 3668 MovieClip [__Packages.as.poker.model.ChanceCalculator] Frame 0
class as.poker.model.ChanceCalculator
{
var pokerModel, handFunctions_array, handNames_array, handValues_array, handValuesMax_array, subHandValues_array, pattern_array, allowTrace, deckAmount, ownPercentage, otherPercentage, usedCards, colorCount_array, ownCardValueCount_array, valueCount_array;
function ChanceCalculator (__pokerModel) {
pokerModel = __pokerModel;
_global.chanceCalculator = this;
handFunctions_array = new Array("getChanceHighestCard", "getChancePair", "getChanceTwoPair", "getChanceThreeOfaKind", "getChanceStraight", "getChanceFlush", "getChanceFullHouse", "getChanceFourOfaKind", "getChanceStraightFlush", "getChanceRoyalFlush");
handNames_array = new Array("HighestCard", "Pair", "Two Pair", "ThreeOfaKind", "Straight", "Flush", "Fullhouse", "FourOfaKind", "StraightFlush", "RoyalFlush");
handValues_array = new Array();
handValues_array[2] = [1, 8, 22, 30, 37, 42, 46, 50, 53, 55, 56];
handValues_array[3] = [1, 7, 22, 30, 37, 42, 46, 50, 53, 55, 56];
handValues_array[8] = [1, 6, 22, 33, 42, 46, 50, 53, 55, 56, 58];
handValuesMax_array = new Array();
handValuesMax_array[2] = [8, 20, 33, 37, 46, 50, 53, 55, 56, 58, 60];
handValuesMax_array[3] = [6, 19, 33, 37, 46, 50, 53, 55, 56, 58, 60];
handValuesMax_array[8] = [5, 18, 33, 37, 46, 50, 53, 55, 56, 58, 60];
subHandValues_array = [1, 5, 10, 16, 23, 40, 55, 70, 90, 120, 160, 200, 250, 450, 500, 550, 430];
pattern_array = new Array();
pattern_array[1] = [1];
pattern_array[2] = [2, 1];
pattern_array[3] = [3, 3, 1];
pattern_array[4] = [4, 6, 4, 1];
pattern_array[5] = [5, 10, 10, 5, 1];
pattern_array[6] = [6, 15, 20, 15, 6, 1];
pattern_array[7] = [7, 21, 35, 35, 21, 7, 1];
pattern_array[8] = [8, 28, 56, 70, 56, 28, 8];
pattern_array[9] = [9, 36, 84, 126, 126, 84, 36];
pattern_array[10] = [10, 45, 120, 210, 252, 210, 120];
pattern_array[11] = [11, 55, 165, 330, 462, 462, 330];
pattern_array[12] = [12, 66, 220, 495, 792, 924, 792];
pattern_array[13] = [13, 78, 286, 715, 1287, 1716, 1716];
pattern_array[14] = [14, 91, 364, 1001, 2002, 3003, 3432];
pattern_array[15] = [15, 105, 455, 1365, 3003, 5005, 6435];
pattern_array[16] = [16, 120, 560, 1820, 4368, 8008, 11440];
pattern_array[17] = [17, 136, 680, 2380, 6188, 12376, 19448];
pattern_array[18] = [18, 153, 816, 3060, 8568, 18564, 31824];
pattern_array[19] = [19, 171, 969, 3876, 11628, 27132, 50388];
pattern_array[20] = [20, 190, 1140, 4845, 15504, 38760, 77520];
pattern_array[21] = [21, 210, 1330, 5985, 20349, 54264, 116280];
pattern_array[22] = [22, 231, 1540, 7315, 26334, 74613, 170544];
pattern_array[23] = [23, 253, 1771, 8855, 33649, 100947, 245157];
pattern_array[24] = [24, 276, 2024, 10626, 42504, 134596, 346104];
pattern_array[25] = [25, 300, 2300, 12650, 53130, 177100, 480700];
pattern_array[26] = [26, 325, 2600, 14950, 65780, 230230, 657800];
pattern_array[27] = [27, 351, 2925, 17550, 80730, 296010, 888030];
pattern_array[28] = [28, 378, 3276, 20475, 98280, 376740, 1184040];
pattern_array[29] = [29, 406, 3654, 23751, 118755, 475020, 1560780];
pattern_array[30] = [30, 435, 4060, 27405, 142506, 593775, 2035800];
pattern_array[31] = [31, 465, 4495, 31465, 169911, 736281, 2629575];
pattern_array[32] = [32, 496, 4960, 35960, 201376, 906192, 3365856];
pattern_array[33] = [33, 528, 5456, 40920, 237336, 1107568, 4272048];
pattern_array[34] = [34, 561, 5984, 46376, 278256, 1344904, 5379616];
pattern_array[35] = [35, 595, 6545, 52360, 324632, 1623160, 6724520];
pattern_array[36] = [36, 630, 7140, 58905, 376992, 1947792, 8347680];
pattern_array[37] = [37, 666, 7770, 66045, 435897, 2324784, 10295472];
pattern_array[38] = [38, 703, 8436, 73815, 501942, 2760681, 12620256];
pattern_array[39] = [39, 741, 9139, 82251, 575757, 3262623, 15380937];
pattern_array[40] = [40, 780, 9880, 91390, 658008, 3838380, 18643560];
pattern_array[41] = [41, 820, 10660, 101270, 749398, 4496388, 22481940];
pattern_array[42] = [42, 861, 11480, 111930, 850668, 5245786, 26978328];
pattern_array[43] = [43, 903, 12341, 123410, 962598, 6096454, 32224114];
pattern_array[44] = [44, 946, 13244, 135751, 1086008, 7059052, 38320568];
pattern_array[45] = [45, 990, 14190, 148995, 1221759, 8145060, 45379620];
pattern_array[46] = [46, 1035, 15180, 163185, 1370754, 9366819, 53524680];
pattern_array[47] = [47, 1081, 16215, 178365, 1533939, 10737573, 62891499];
pattern_array[48] = [48, 1128, 17296, 194580, 1712304, 12271512, 73629072];
pattern_array[49] = [49, 1176, 18424, 211876, 1906884, 13983816, 85900584];
pattern_array[50] = [50, 1225, 19600, 230300, 2118760, 15890700, 99884400];
pattern_array[51] = [51, 1275, 20825, 249900, 2349060, 18009460, 115775100];
pattern_array[52] = [52, 1326, 22100, 270725, 2598960, 20358520, 133784560];
}
function doTrace(__toTrace) {
if (!allowTrace) {
return(undefined);
}
_global.devTrace("ChanceCal. " + __toTrace, "D");
}
function debugToShow(__text, __id) {
doTrace(__text);
}
function tracePercentage(__obj, __forIn) {
var _local13;
var _local3;
var _local7;
var _local8;
var _local5;
var _local2;
var _local4;
var _local6;
var _local11;
_local3 = new Object();
_local4 = 15;
for (_local7 in __obj) {
_local4 = _local4 + 30;
_local11 = 0;
_local5 = __obj[_local7];
if (!_local3.state) {
_local3.state = "State";
_local3.state = $addSpaces(_local3.state, _local4 - 25);
}
_local3.state = _local3.state + (_local7 + "\t\t");
_local3.state = $addSpaces(_local3.state, _local4);
_local8 = _local5.length;
var _local10 = _local3.state.length;
if (__forIn) {
_local2 = 0;
for (_local6 in _local5) {
if (!_local3[_local2]) {
_local3[_local2] = _local6 + "\t\t";
}
_local3[_local2] = _local3[_local2] + _local5[_local6];
_local3[_local2] = $addSpaces(_local3[_local2], _local4);
_local2++;
}
} else {
_local2 = 0;
while (_local2 < _local8) {
if (!_local3[_local2]) {
_local3[_local2] = (_local2 + " ") + handNames_array[_local2];
_local3[_local2] = $addSpaces(_local3[_local2], _local4 - 25);
}
_local3[_local2] = _local3[_local2] + _local5[_local2];
_local3[_local2] = $addSpaces(_local3[_local2], _local4);
_local2++;
}
}
}
doTrace("--------------------------tracePercentage--------------------------");
doTrace(_local3.state);
_local2 = 0;
while (_local2 < _local3[_local2].length) {
doTrace(_local3[_local2]);
_local2++;
}
}
function $addSpaces(__string, max) {
var _local4;
var _local1;
var _local2;
_local4 = __string.length;
_local2 = max - _local4;
_local1 = 0;
while (_local1 < _local2) {
__string = __string + " ";
_local1++;
}
return(__string);
}
function getDebugInfo(__playerNumber, __fullTrace) {
var _local12;
var _local10;
var _local5 = pokerModel.returnPlayerCards(__playerNumber);
var _local4 = pokerModel.returnTableCards();
var _local3 = _local5.concat(_local4);
createUsedCardsArray(_local3);
deckAmount = 52 - _local3.length;
_global.model.speed = 0;
doTrace("------------------------DEBUG own start---------------------------");
ownPercentage = getPercentage(_local3, 0, _local5);
tracePercentage({index0:ownPercentage[0].total, index1:ownPercentage[1].total, index2:ownPercentage[2].total});
_global.traceObj(ownPercentage[0].total, "ownPercentage[0].total");
if (__fullTrace) {
doTrace("----------------perc_array[0] ownPercentage start----------------");
_global.traceObj(ownPercentage[0], "perc_array[0]");
doTrace("----------------perc_array[0] ownPercentage end----------------");
}
doTrace("------------------------DEBUG own end---------------------------");
if (_global.debug_chance_other) {
doTrace("------------------------DEBUG otherPercentage---------------------------");
otherPercentage = getPercentage(_local4, 2);
tracePercentage({index0:otherPercentage[0].total, index1:otherPercentage[1].total, index2:otherPercentage[2].total});
doTrace("------------------------DEBUG otherPercentage end---------------------------");
if (__fullTrace) {
doTrace("----------------perc_array[0] otherPercentage start----------------");
_global.traceObj(otherPercentage[0], "perc_array[0]");
doTrace("----------------perc_array[0] otherPercentage end----------------");
}
}
}
function getInfo(__playerNumber) {
var _local10;
var _local14;
var _local13;
var _local9;
var _local7;
var _local12;
var _local3;
var _local11;
var _local4;
var _local5;
_local10 = pokerModel.returnPlayerCards(__playerNumber);
doTrace((((("getInfo card[0] value=" + _local10[0].cardValue) + ", cardColor=") + _local10[0].cardColor) + ", cardNumber=") + _local10[0].cardNumber);
doTrace((((("getInfo card[1] value=" + _local10[1].cardValue) + ", cardColor=") + _local10[1].cardColor) + ", cardNumber=") + _local10[1].cardNumber);
_local14 = pokerModel.returnTableCards();
_local13 = _local10.concat(_local14);
createUsedCardsArray(_local13);
deckAmount = 52 - _local13.length;
ownPercentage = getPercentage(_local13, 0, _local10);
otherPercentage = getPercentage(_local14, 2, false, true);
if (__playerNumber == _global.userPlayer) {
_global.traceObj(otherPercentage[0].total, "otherPercentage[0].total Bluff test info");
}
_local11 = new Array();
_local12 = ownPercentage.length;
_local3 = 0;
while (_local3 < _local12) {
_local9 = getHandRankingObj(ownPercentage[_local3]);
_local7 = getHandRankingObj(otherPercentage[_local3]);
if (ownPercentage[_local3].foundHand) {
_local4 = new Array();
_local4 = ownPercentage[_local3].foundHand.concat();
_local4[_local4.length - 1]++;
if (!_local3) {
_local5 = getHandRankingObj(otherPercentage[_local3], _local4);
}
debugToShow((((((((_global.pokerModel.roundObj.state + ", ") + __playerNumber) + ", own=") + _local9) + ", other=") + _local7) + ", high=") + _local5);
} else {
_local5 = _local7;
debugToShow((((((_global.pokerModel.roundObj.state + ", ") + __playerNumber) + ", own=") + _local9) + ", other=") + _local7);
}
_local11.push({ownRanking:_local9, otherRanking:_local7, otherHigh:_local5});
_local3++;
}
return(_local11);
}
function createUsedCardsArray(__card_array) {
var _local3;
var _local6;
var _local4;
var _local2;
var _local5;
usedCards = new Array();
_local6 = __card_array.length;
_local3 = 0;
while (_local3 < _local6) {
_local4 = __card_array[_local3];
_local2 = _local4.cardValue;
_local5 = _local4.cardColor;
if (!usedCards[_local2]) {
usedCards[_local2] = new Array();
}
usedCards[_local2][_local5] = true;
_local3++;
}
}
function getValueCount(__cards) {
var _local1;
var _local3;
var _local2;
_local3 = __cards.length;
_local2 = new Array(undefined, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_local1 = 0;
while (_local1 < _local3) {
_local2[__cards[_local1].cardValue]++;
_local1++;
}
if (_local2[14]) {
_local2[1] = _local2[14];
}
return(_local2);
}
function getColorCount(__cards) {
var _local1;
var _local5;
var _local2;
var _local3;
_local5 = __cards.length;
_local2 = new Array();
_local1 = 0;
while (_local1 < 4) {
_local2[_local1] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_local1++;
}
_local1 = 0;
while (_local1 < _local5) {
_local3 = __cards[_local1].cardColor;
_local2[_local3][__cards[_local1].cardValue]++;
_local2[_local3][0]++;
_local1++;
}
return(_local2);
}
function getAvailableCard(__cardValue, __cardColor, __amount) {
var _local2;
var _local3;
_local3 = new Array();
if ((__cardValue == undefined) || (__cardValue == false)) {
_local2 = 14;
while (_local2 > 1) {
if (colorCount_array[__cardColor][_local2]) {
_local3.push({cardValue:_local2, cardColor:__cardColor});
if (__amount) {
if (_local3.length >= __amount) {
break;
}
}
}
_local2--;
}
} else if ((__cardColor == undefined) || (__cardColor == false)) {
_local2 = 0;
while (_local2 < 4) {
if (colorCount_array[_local2][__cardValue]) {
_local3.push({cardValue:__cardValue, cardColor:_local2});
if (__amount) {
if (_local3.length >= __amount) {
break;
}
}
}
_local2++;
}
} else if (usedCards[__cardValue][__cardColor]) {
_local3.push({cardValue:__cardValue, cardColor:__cardColor});
}
return(_local3);
}
function addKickerCards(foundHandCards, foundHand) {
var _local11;
var _local9;
var _local12;
var _local4;
var _local3;
var _local2;
var _local6;
_local11 = foundHandCards.length;
if (_local11 >= 5) {
return(undefined);
}
_local9 = foundHandCards.length;
_local12 = 5 - _local11;
_local4 = 14;
while (_local4 > 2) {
_local3 = 0;
while (_local3 < 4) {
if (usedCards[_local4][_local3]) {
_local6 = false;
_local2 = 0;
while (_local2 < _local9) {
if ((foundHandCards[_local2].cardValue == _local4) && (foundHandCards[_local2].cardColor == _local3)) {
_local6 = true;
break;
}
_local2++;
}
if (_local6) {
} else {
foundHand.push(_local4);
foundHandCards.push({cardValue:_local4, cardColor:_local3});
break;
}
}
_local3++;
}
if (foundHandCards.length >= 5) {
break;
}
_local4--;
}
}
function getPercentage(__cards, __extraCards, __ownCards, __thisIsOtherPlayer) {
var _local3;
var _local5;
var _local12;
var _local10;
var _local13;
var _local11;
if (!__extraCards) {
__extraCards = 0;
}
if (__ownCards) {
ownCardValueCount_array = getValueCount(__ownCards);
} else {
ownCardValueCount_array = [];
}
valueCount_array = getValueCount(__cards);
colorCount_array = getColorCount(__cards);
var _local9 = new Array();
_local3 = new Array();
_local5 = _global.pokerModel.pokerSave.roundObj.state;
if (_local5 == "preflop") {
_local3.push(getHandPercentages(3 + __extraCards));
if (!__thisIsOtherPlayer) {
_local3.push(getHandPercentages(5 + __extraCards));
}
} else if (_local5 == "flop") {
_local3.push(getHandPercentages(1 + __extraCards));
if (!__thisIsOtherPlayer) {
_local3.push(getHandPercentages(2 + __extraCards));
}
} else if (_local5 == "turn") {
_local3.push(getHandPercentages(1 + __extraCards));
} else {
_local3.push(getHandPercentages(__extraCards));
}
return(_local3);
}
function getHandPercentages(__new, __ownCards) {
var _local4;
var _local3;
var _local2;
_local2 = new Object();
_local2.total = new Array();
_local4 = handFunctions_array.length;
_local3 = _local4 - 1;
while (_local3 >= 0) {
_local2[_local3] = this[handFunctions_array[_local3]](__new);
_local2.total[_local3] = _local2[_local3][0];
if (_local2[_local3].foundHand) {
_local2.foundHand = _local2[_local3].foundHand;
_local2.foundHand.unshift(_local3);
_local2.foundHandCards = _local2[_local3].foundHandCards;
_local2.foundHandCards.handCardAmount = _local2.foundHandCards.length;
if (_local3 == 0) {
_local2.foundHandCards.handCardAmount = 1;
}
addKickerCards(_local2.foundHandCards, _local2.foundHand);
break;
}
_local3--;
}
return(_local2);
}
function getOuts(__cardValue, __cardColor) {
var _local3;
var _local2;
_local3 = 0;
if (__cardValue == undefined) {
_local2 = 2;
while (_local2 < 15) {
if (!usedCards[_local2][__cardColor]) {
_local3++;
}
_local2++;
}
} else if (__cardColor == undefined) {
_local2 = 0;
while (_local2 < 4) {
if (!usedCards[__cardValue][_local2]) {
_local3++;
}
_local2++;
}
} else if (!usedCards[__cardValue][__cardColor]) {
_local3++;
}
return(_local3);
}
function calculateOutsToPercentage(__info_array, __new) {
var _local9;
var _local5;
var _local10;
var _local4;
var _local14;
var _local6;
var _local2;
var _local3;
var _local8;
var _local11;
var _local12;
_local9 = deckAmount;
_local5 = 0;
_local4 = 1;
_local6 = __info_array.length;
_local3 = 0;
while (_local3 < _local6) {
_local2 = __info_array[_local3];
if (_local2.same) {
_local4 = _local4 * getPatterns(_local2.needed, _local2.neededOuts_array[0]);
} else {
_local4 = _local4 * multiplyOuts(_local2.neededOuts_array);
}
_local5 = _local5 + _local2.needed;
_local3++;
}
_local9 = _local9 - _local5;
_local8 = __new - _local5;
if (_local8 > 0) {
_local11 = getPatterns(_local8, _local9);
_local4 = _local4 * _local11;
} else if (_local8 < 0) {
return(0);
}
_local10 = getPatterns(__new, deckAmount);
_local12 = (_local4 * 100) / _local10;
return(_local12);
}
function doDoublePatternRecalculation(__info_array, __newCardsLeft) {
}
function getPatterns(__new, __amount) {
var _local2;
_local2 = pattern_array[__amount][__new - 1];
return(_local2);
}
function multiplyOuts(__outs_array) {
var _local4;
var _local2;
var _local1;
_local4 = __outs_array.length;
_local2 = __outs_array[0];
_local1 = 1;
while (_local1 < _local4) {
_local2 = _local2 * __outs_array[_local1];
_local1++;
}
return(_local2);
}
function getChanceHighestCard(__new) {
var _local2;
var _local15;
var _local12;
var _local4;
var _local5;
var _local9;
var _local13;
var _local16;
var _local7;
var _local8;
var _local3;
if (ownCardValueCount_array.length) {
__new = 0;
} else {
__new = 2;
}
_local2 = new Array();
_local15 = 0;
_local4 = 14;
while (_local4 > 2) {
_local2[_local4] = new Array();
_local12 = 0;
_local5 = _local4 - 1;
while (_local5 > 1) {
if (_local4 == _local5) {
_local9 = 0;
} else {
_local9 = $searchHighCardPerc(_local4, _local5, __new);
}
_local2[_local4][_local5] = _local9;
_local12 = _local12 + _local9;
if (_local9 >= 100) {
_local2.foundHand = [_local4, _local5];
_local2.foundHandCards = new Array();
_local7 = getAvailableCard(_local4, false, 1);
_local8 = _local7.length;
var _local6 = 0;
while (_local6 < _local8) {
_local3 = _local7[_local6];
_local2.foundHandCards.push({cardValue:_local3.cardValue, cardColor:_local3.cardColor});
if (_local2.foundHandCards.length >= 5) {
break;
}
_local6++;
}
_local7 = getAvailableCard(_local5, false, 1);
_local8 = _local7.length;
_local6 = 0;
while (_local6 < _local8) {
_local3 = _local7[_local6];
_local2.foundHandCards.push({cardValue:_local3.cardValue, cardColor:_local3.cardColor});
if (_local2.foundHandCards.length >= 5) {
break;
}
_local6++;
}
_local13 = true;
break;
}
_local5--;
}
_local2[_local4][0] = _local12;
_local15 = _local15 + _local12;
if (_local13) {
break;
}
_local4--;
}
_local2[0] = _local15;
return(_local2);
}
function $searchHighCardPerc(__highest, __secondPartNum, __new) {
var _local3;
var _local12;
var _local2;
var _local11;
var _local4;
_local3 = new Array();
_local4 = __new;
if (!valueCount_array[__highest]) {
_local4 = _local4 - 1;
_local2 = getOuts(__highest);
if (_local2 < 1) {
return(0);
}
_local3.push({neededOuts_array:[_local2], needed:1, same:true});
}
if (!valueCount_array[__secondPartNum]) {
_local2 = getOuts(__secondPartNum);
if (_local2 < 1) {
return(0);
}
_local3.push({neededOuts_array:[_local2], needed:1, same:true});
}
if (!_local3.length) {
return(100);
}
return(calculateOutsToPercentage(_local3, __new));
}
function getChancePair(__new) {
return(getChanceSameKind(2, __new));
}
function getChanceThreeOfaKind(__new) {
return(getChanceSameKind(3, __new));
}
function getChanceFourOfaKind(__new) {
return(getChanceSameKind(4, __new));
}
function getChanceSameKind(__sameAmount, __new) {
var _local3;
var _local5;
var _local7;
var _local6;
var _local10;
var _local4;
_local3 = new Array();
var _local12 = 0;
_local5 = 14;
while (_local5 > 1) {
_local7 = $searchSameKindPerc(_local5, __sameAmount, __new);
_local3[_local5] = _local7;
_local12 = _local12 + _local7;
if (_local7 >= 100) {
_local3.foundHand = [];
_local3.foundHandCards = [];
_local6 = getAvailableCard(_local5, false, __sameAmount);
_local10 = _local6.length;
var _local2 = 0;
while (_local2 < _local10) {
_local4 = _local6[_local2];
_local3.foundHand.push(_local4.cardValue);
_local3.foundHandCards.push({cardValue:_local4.cardValue, cardColor:_local4.cardColor});
if (_local3.foundHandCards.length >= 5) {
break;
}
_local2++;
}
break;
}
_local5--;
}
_local3[0] = _local12;
return(_local3);
}
function $searchSameKindPerc(__value, __same, __new) {
var _local11;
var _local5;
var _local12;
var _local3;
var _local2;
_local5 = new Array();
_local2 = __same - valueCount_array[__value];
if (_local2 <= 0) {
return(100);
}
if (_local2 > __new) {
return(0);
}
_local3 = getOuts(__value);
if (_local3 < _local2) {
return(0);
}
return(calculateOutsToPercentage([{neededOuts_array:[_local3], needed:_local2, same:true, neededValue:__value}], __new));
}
function getChanceTwoPair(__new) {
var _local2;
var _local15;
var _local12;
var _local5;
var _local6;
var _local9;
var _local13;
var _local7;
var _local8;
var _local3;
_local2 = new Array();
_local15 = 0;
_local5 = 14;
while (_local5 > 2) {
_local2[_local5] = new Array();
_local12 = 0;
_local6 = _local5 - 1;
while (_local6 > 1) {
if (_local5 == _local6) {
_local9 = 0;
} else {
_local9 = $searchTwoPairPerc(_local5, _local6, __new);
}
_local2[_local5][_local6] = _local9;
_local12 = _local12 + _local9;
if (_local9 >= 100) {
_local2.foundHand = [_local5, _local6];
_local2.foundHandCards = new Array();
_local7 = getAvailableCard(_local5, false, 2);
_local8 = _local7.length;
var _local4 = 0;
while (_local4 < _local8) {
if (_local2.foundHandCards.length >= 5) {
break;
}
_local3 = _local7[_local4];
if (_local4 < 1) {
_local2.foundHand.push(_local3.cardValue);
}
_local2.foundHandCards.push({cardValue:_local3.cardValue, cardColor:_local3.cardColor});
_local4++;
}
_local7 = getAvailableCard(_local6, false, 2);
_local8 = _local7.length;
_local4 = 0;
while (_local4 < _local8) {
if (_local2.foundHandCards.length >= 5) {
break;
}
_local3 = _local7[_local4];
if (_local4 < 1) {
_local2.foundHand.push(_local3.cardValue);
}
_local2.foundHandCards.push({cardValue:_local3.cardValue, cardColor:_local3.cardColor});
_local4++;
}
_local13 = true;
break;
}
_local6--;
}
_local2[_local5][0] = _local12;
_local15 = _local15 + _local12;
if (_local13) {
break;
}
_local5--;
}
_local2[0] = _local15;
return(_local2);
}
function $searchTwoPairPerc(__highest, __secondPartNum, __new) {
var _local4;
var _local12;
var _local3;
var _local2;
var _local5;
_local4 = new Array();
_local5 = __new;
_local2 = 2 - valueCount_array[__highest];
if (_local2 > 0) {
if (_local2 > _local5) {
return(0);
}
_local5 = _local5 - _local2;
_local3 = getOuts(__highest);
if (_local3 < _local2) {
return(0);
}
_local4.push({neededOuts_array:[_local3], needed:_local2, same:true});
}
_local2 = 2 - valueCount_array[__secondPartNum];
if (_local2 > 0) {
if (_local2 > _local5) {
return(0);
}
_local3 = getOuts(__secondPartNum);
if (_local3 < _local2) {
return(0);
}
_local4.push({neededOuts_array:[_local3], needed:_local2, same:true});
}
if (!_local4.length) {
return(100);
}
return(calculateOutsToPercentage(_local4, __new));
}
function getChanceStraight(__new) {
var _local3;
var _local12;
var _local6;
var _local8;
var _local7;
var _local5;
var _local4;
_local3 = new Array();
_local12 = new Array();
var _local11 = 0;
_local6 = 14;
while (_local6 > 4) {
_local8 = $searchStraightPerc(_local6, __new, _local12);
_local3[_local6] = _local8;
_local11 = _local11 + _local8;
if (_local8 >= 100) {
_local3.foundHand = [];
_local3.foundHandCards = [];
var _local2 = _local6;
while (_local2 > 0) {
_local4 = _local2;
if (_local4 < 2) {
_local4 = _local4 + 13;
}
_local7 = getAvailableCard(_local4, false, 1);
if (!_local7.length) {
break;
}
_local5 = _local7[0];
_local3.foundHand.push(_local5.cardValue);
_local3.foundHandCards.push({cardValue:_local5.cardValue, cardColor:_local5.cardColor});
if (_local3.foundHandCards.length >= 5) {
break;
}
_local2--;
}
break;
}
_local6--;
}
_local3[0] = _local11;
return(_local3);
}
function $searchStraightPerc(__highest, __new, __pattern_array) {
var _local5;
var _local11;
var _local2;
var _local6;
var _local7;
var _local8;
var _local4;
_local5 = new Array();
_local11 = new Array();
_local6 = 0;
_local2 = __highest;
while (_local2 > (__highest - 5)) {
if (!valueCount_array[_local2]) {
_local6++;
if (_local6 > __new) {
return(0);
}
_local5.push(_local2);
}
_local2--;
}
_local7 = _local5.length;
if (!_local7) {
return(100);
}
if (_local7 > __new) {
return(0);
}
if (_local7) {
_local8 = _local5.join();
_local2 = __highest + 1;
while (_local2 < (__highest + 5)) {
if (_local2 > 14) {
break;
}
if (__pattern_array[_local2] == _local8) {
return(0);
}
_local2++;
}
__pattern_array[__highest] = _local8;
}
_local2 = 0;
while (_local2 < _local7) {
_local4 = getOuts(_local5[_local2]);
if (!_local4) {
return(0);
}
_local11.push(_local4);
_local2++;
}
return(calculateOutsToPercentage([{neededOuts_array:_local11, needed:_local7, same:false}], __new));
}
function getChanceFlush(__new) {
var _local5;
var _local12;
var _local11;
var _local4;
var _local2;
var _local6;
var _local7;
_local5 = new Array();
_local11 = 0;
_local7 = 5;
_local2 = 14;
while (_local2 > 1) {
_local5[_local2] = 0;
_local2--;
}
_local4 = 0;
while (_local4 < 4) {
_local2 = 14;
for ( ; _local2 > _local7 ; _local2--) {
if (!colorCount_array[_local4][_local2]) {
if (!getOuts(_local2, _local4)) {
continue;
}
} else {
_local6 = $searchFlushPerc(_local2, _local4, __new);
_local5[_local2] = _local5[_local2] + _local6;
if (_local6 >= 100) {
if (_local7 < _local2) {
_local7 = _local2;
_local5.foundHand = [];
_local5.foundHandCards = [];
var _local3 = _local2;
while (_local3 >= 2) {
if (colorCount_array[_local4][_local3]) {
_local5.foundHand.push(_local3);
_local5.foundHandCards.push({cardValue:_local3, cardColor:_local4});
}
if (_local5.foundHandCards.length >= 5) {
break;
}
_local3--;
}
}
break;
}
if (colorCount_array[_local4][_local2]) {
break;
}
}
}
_local6 = $searchFlushPerc(undefined, _local4, __new);
_local11 = _local11 + _local6;
_local4++;
}
_local5[0] = _local11;
return(_local5);
}
function $searchFlushPerc(__highest, __color, __new) {
var _local6;
var _local12;
var _local9;
var _local2;
var _local15;
var _local5;
var _local11;
var _local10;
var _local7;
_local10 = __new;
if (!__highest) {
_local6 = colorCount_array[__color][0];
} else {
_local6 = 0;
_local2 = __highest;
while (_local2 >= 2) {
if (colorCount_array[__color][_local2]) {
_local6++;
}
_local2--;
}
}
_local12 = 5 - _local6;
if (_local12 < 0) {
_local12 = 0;
}
if (_local12 > __new) {
return(0);
}
_local9 = new Array();
if (!(__highest === undefined)) {
if (!colorCount_array[__color][__highest]) {
_local5 = getOuts(__highest, __color);
if (!_local5) {
return(0);
}
_local9.push({neededOuts_array:[_local5], needed:1, same:true});
_local11 = true;
_local12--;
__new--;
if (_local12 < 0) {
_local12 = 0;
}
if (__new < 0) {
__new = 0;
}
}
}
if (_local12 > __new) {
return(0);
}
if (_local12 > 0) {
_local5 = 0;
_local7 = 14;
if (__highest) {
_local7 = __highest;
}
_local2 = _local7;
while (_local2 > 1) {
if (__highest && (_local2 == __highest)) {
} else {
_local5 = _local5 + getOuts(_local2, __color);
}
_local2--;
}
if (_local5 < 0) {
_local5 = 0;
}
if (_local5 < _local12) {
return(0);
}
_local9.push({neededOuts_array:[_local5], needed:_local12, same:true});
} else if (_local12 == 0) {
if (!_local11) {
return(100);
}
}
return(calculateOutsToPercentage(_local9, _local10));
}
function getChanceFullHouse(__new) {
var _local2;
var _local15;
var _local12;
var _local6;
var _local5;
var _local9;
var _local13;
var _local7;
var _local8;
var _local3;
_local2 = new Array();
_local15 = 0;
_local6 = 14;
while (_local6 > 1) {
_local2[_local6] = new Array();
_local12 = 0;
_local5 = 14;
while (_local5 > 1) {
if (_local6 == _local5) {
_local9 = 0;
} else {
_local9 = $searchFullHousePerc(_local6, _local5, __new);
}
_local2[_local6][_local5] = _local9;
_local12 = _local12 + _local9;
if (_local9 >= 100) {
_local13 = true;
_local2.foundHand = [_local6, _local5];
_local2.foundHandCards = [];
_local7 = getAvailableCard(_local6, false, 3);
_local8 = _local7.length;
var _local4 = 0;
while (_local4 < _local8) {
_local3 = _local7[_local4];
_local2.foundHandCards.push({cardValue:_local3.cardValue, cardColor:_local3.cardColor});
if (_local4 < 2) {
_local2.foundHand.push(_local3.cardValue);
}
if (_local2.foundHandCards.length >= 5) {
break;
}
_local4++;
}
_local7 = getAvailableCard(_local5, false, 2);
_local8 = _local7.length;
_local4 = 0;
while (_local4 < _local8) {
_local3 = _local7[_local4];
_local2.foundHandCards.push({cardValue:_local3.cardValue, cardColor:_local3.cardColor});
if (_local4 < 1) {
_local2.foundHand.push(_local3.cardValue);
}
if (_local2.foundHandCards.length >= 5) {
break;
}
_local4++;
}
break;
}
_local5--;
}
_local2[_local6][0] = _local12;
_local15 = _local15 + _local12;
if (_local13) {
break;
}
_local6--;
}
_local2[0] = _local15;
return(_local2);
}
function $searchFullHousePerc(__highest, __secondPartNum, __new) {
var _local4;
var _local12;
var _local3;
var _local2;
var _local5;
_local4 = new Array();
_local5 = __new;
_local2 = 3 - valueCount_array[__highest];
if (_local2 > 0) {
if (_local2 > _local5) {
return(0);
}
_local5 = _local5 - _local2;
_local3 = getOuts(__highest);
if (_local3 < _local2) {
return(0);
}
_local4.push({neededOuts_array:[_local3], needed:_local2, same:true});
}
_local2 = 2 - valueCount_array[__secondPartNum];
if (_local2 > 0) {
if (_local2 > _local5) {
return(0);
}
_local3 = getOuts(__secondPartNum);
if (_local3 < _local2) {
return(0);
}
_local4.push({neededOuts_array:[_local3], needed:_local2, same:true});
}
if (!_local4.length) {
return(100);
}
return(calculateOutsToPercentage(_local4, __new));
}
function getChanceStraightFlush(__new) {
var _local3;
var _local13;
var _local7;
var _local2;
var _local19;
var _local9;
var _local10;
var _local8;
var _local6;
var _local5;
_local3 = new Array();
_local13 = 0;
_local2 = 14;
while (_local2 > 4) {
_local3[_local2] = 0;
_local2--;
}
var _local18 = new Array();
var _local17 = new Array();
var _local16 = new Array();
var _local15 = new Array();
_local10 = 4;
_local7 = 0;
while (_local7 < 4) {
_local2 = 13;
while (_local2 > _local10) {
_local9 = $searchStraightFlushPerc(_local2, __new, _local7, [("pattern" + _local7) + "_array"]);
_local3[_local2] = _local3[_local2] + _local9;
_local13 = _local13 + _local9;
if (_local9 >= 100) {
if (_local2 > _local10) {
_local10 = _local2;
_local3.foundHand = [];
_local3.foundHandCards = [];
var _local4 = _local2;
while (_local4 > 0) {
_local5 = _local4;
if (_local5 < 2) {
_local5 = _local5 + 13;
}
_local8 = getAvailableCard(_local5, _local7, 1);
if (!_local8.length) {
break;
}
_local6 = _local8[0];
_local3.foundHand.push(_local6.cardValue);
_local3.foundHandCards.push({cardValue:_local6.cardValue, cardColor:_local6.cardColor});
if (_local3.foundHandCards.length >= 5) {
break;
}
_local4--;
}
}
break;
}
_local2--;
}
_local7++;
}
_local3[0] = _local13;
return(_local3);
}
function $searchStraightFlushPerc(__highest, __new, __color, __pattern_array) {
var _local5;
var _local12;
var _local2;
var _local6;
var _local8;
var _local9;
var _local4;
_local5 = new Array();
_local12 = new Array();
_local6 = 0;
_local2 = __highest;
while (_local2 > (__highest - 5)) {
if (!colorCount_array[__color][_local2]) {
_local6++;
if (_local6 > __new) {
return(0);
}
_local5.push(_local2);
}
_local2--;
}
_local8 = _local5.length;
if (!_local8) {
return(100);
}
if (_local8 > __new) {
return(0);
}
if (_local8) {
_local9 = _local5.join();
_local2 = __highest + 1;
while (_local2 < (__highest + 5)) {
if (_local2 > 14) {
break;
}
if (__pattern_array[_local2] == _local9) {
return(0);
}
_local2++;
}
__pattern_array[__highest] = _local9;
}
_local2 = 0;
while (_local2 < _local8) {
_local4 = getOuts(_local5[_local2], __color);
if (!_local4) {
return(0);
}
_local12.push(_local4);
_local2++;
}
return(calculateOutsToPercentage([{neededOuts_array:_local12, needed:_local8, same:false}], __new));
}
function getChanceRoyalFlush(__new) {
var _local2;
var _local11;
var _local5;
var _local7;
var _local17;
var _local8;
var _local6;
var _local4;
_local2 = new Array();
_local11 = 0;
_local7 = 14;
while (_local7 > 1) {
_local2[_local7] = 0;
_local7--;
}
var _local16 = new Array();
var _local15 = new Array();
var _local14 = new Array();
var _local13 = new Array();
_local5 = 0;
while (_local5 < 4) {
_local8 = $searchStraightFlushPerc(14, __new, _local5, [("pattern" + _local5) + "_array"]);
_local2[14] = _local2[14] + _local8;
_local11 = _local11 + _local8;
if (_local8 >= 100) {
_local2.foundHand = [];
_local2.foundHandCards = [];
var _local3 = 14;
while (_local3 > 9) {
_local6 = getAvailableCard(_local3, _local5, 1);
if (!_local6.length) {
break;
}
_local4 = _local6[0];
_local2.foundHand.push(_local4.cardValue);
_local2.foundHandCards.push({cardValue:_local4.cardValue, cardColor:_local4.cardColor});
if (_local2.foundHand.length >= 5) {
break;
}
_local3--;
}
break;
}
_local5++;
}
_local2[0] = _local11;
return(_local2);
}
function getHandRankingObj(__percObj, __start_array) {
if (!__percObj) {
return(0);
}
var _local2 = $getHandRanking(__percObj, __start_array);
return(_local2);
}
function $getHandRanking(__percObj, __start_array) {
var _local12;
var _local13;
var _local9;
var _local8;
var _local5;
var _local10;
var _local3;
var _local2;
var _local6;
var _local4;
var _local7;
_local12 = 0;
_local13 = 0;
_local9 = 2;
_local8 = 2;
if (__start_array[0]) {
_local13 = __start_array[0];
}
if (__start_array[1]) {
_local9 = __start_array[1];
}
if (__start_array[2]) {
_local8 = __start_array[2];
}
_local5 = _local13;
while (_local5 < 10) {
_local6 = 0;
if (!__percObj.total[_local5]) {
_local9 = 2;
} else {
_local10 = __percObj[_local5];
_local3 = _local9;
while (_local3 < 15) {
_local4 = _local10[_local3];
if (_local4) {
if (typeof(_local4) == "object") {
_local2 = _local8;
while (_local2 < 15) {
_local7 = _local4[_local2];
_local6 = _local6 + $calcPercToRanking(_local5, _local3, _local2, _local7);
_local2++;
}
} else {
_local6 = _local6 + $calcPercToRanking(_local5, _local3, undefined, _local4);
}
}
_local8 = 2;
_local3++;
}
_local9 = 2;
_local12 = _local12 + _local6;
}
_local5++;
}
return(_local12);
}
function $calcPercToRanking(__handIndex, __firstPart, __secondPart, __perc) {
if (!__perc) {
return(0);
}
var _local2 = 8;
var _local3 = pokerModel.getFilledSeatsAmount();
if ((_local3 == 2) || (_local3 == 3)) {
_local2 = _local3;
}
var _local6 = handValues_array[_local2][__handIndex];
var _local4 = 0;
var _local5 = 0;
if (__firstPart) {
var _local7 = handValuesMax_array[_local2][__handIndex] - _local6;
var _local10 = subHandValues_array[subHandValues_array.length - 1];
var _local9 = subHandValues_array[__firstPart - 1];
var _local12 = (_local9 * 110) / _local10;
_local4 = (_local12 * _local7) / 100;
if (__secondPart) {
_local5 = (_local4 / 100) * __secondPart;
}
}
var _local11 = (_local6 + _local4) + _local5;
var _local8 = (__perc * _local11) / 100;
return(_local8);
}
function $getBestHand(__cards, __ownCards) {
var _local2;
var _local7;
var _local6;
createUsedCardsArray(__cards);
deckAmount = 52 - __cards.length;
if (__ownCards) {
ownCardValueCount_array = getValueCount(__ownCards);
} else {
ownCardValueCount_array = [];
}
valueCount_array = getValueCount(__cards);
colorCount_array = getColorCount(__cards);
_local2 = getHandPercentages(0);
_local7 = _local2.foundHand.concat();
_local6 = new Array();
for (var _local3 in _local2.foundHandCards) {
_local6[_local3] = _local2.foundHandCards[_local3];
}
return({foundHand:_local7, foundHandCards:_local6});
}
}
Symbol 3669 MovieClip [__Packages.as.poker.view.pokerViewBase] Frame 0
class as.poker.view.pokerViewBase
{
var pokerModel, layerCards, tableCards, layerPlayerCardsTop, conf, dealer, layerPlayerCards, popup2Window, popup1Window, ferryDust, choiceNavigation, voiceMaleArray, voiceFemaleArray, type, bmpLib, playerInit, table, tableType, initialPlayerAmount, playerAmount, subType, roundObj, layerBg, potIndicator, userModel, tableChips, layerBgShadow, layerChips, chipsPopup, layerPlayers, popupWindow, tournamentDisplay, blindBig, blindSmall, dealerButton, playerConf, lastRound, removeIngamePlayerStateHints, storedPlayerDec, showPlayersDecision;
function pokerViewBase () {
}
function updateShortBickStack(__stackObj) {
var _local4 = ["Low", "High"];
var _local5 = 1;
var _local3 = 0;
while (_local3 < _local4.length) {
var _local2 = 0;
while (_local2 < __stackObj[_local4[_local3].toLowerCase()].length) {
pokerModel.players[__stackObj[_local4[_local3].toLowerCase()][_local2]].view[("show" + _local4[_local3]) + "Stack"](_local5);
_local5 = _local5 + 5;
_local2++;
}
_local3++;
}
}
function destinateTableCard(__type, __x, __y) {
var _local2 = layerCards.attachMovie("card", "card" + layerCards.getNextHighestDepth(), layerCards.getNextHighestDepth(), {_x:__x, _y:__y, _xscale:45, _yscale:45, _rotation:-3 + Math.floor(Math.random() * 6), typeId:__type});
tableCards.push(_local2);
}
function destinateDealerCards(__player) {
var _local4 = 0;
while (_local4 < __player.cards.length) {
var _local6 = layerPlayerCardsTop.attachMovie("card", "card" + layerPlayerCardsTop.getNextHighestDepth(), layerPlayerCardsTop.getNextHighestDepth(), {_x:__player.cards[_local4]._x, _y:__player.cards[_local4]._y, _xscale:45, _yscale:45, _rotation:__player.cards[_local4]._rotation, typeId:__player.cards[_local4].typeId});
__player.cards[_local4].removeMovieClip();
__player.cards[_local4] = _local6;
_global.activeScreen.roundObj.foldedCards.push(_local6);
_local4++;
}
var _local5 = {x:0, y:0};
_local4 = 0;
while (_local4 < 2) {
_local5 = {x:0, y:0};
__player.handAssets.right["card" + ((_local4 == 0) ? "" : "2")].localToGlobal(_local5);
__player.cards[_local4]._x = _local5.x;
__player.cards[_local4]._y = _local5.y;
__player.cards[_local4].show();
__player.cards[_local4].typeId = "back";
__player.cards[_local4].gotoAndStop("back");
_local4++;
}
var _local18 = conf.foldedCardPosition.x;
var _local17 = conf.foldedCardPosition.y;
var _local16 = as.Gf.returnDistance(_local5.x, conf.foldedCardPosition.x) + as.Gf.returnDistance(_local5.y, conf.foldedCardPosition.y);
var _local7 = 4 + Math.floor(_local16 / 40);
_local4 = 0;
while (_local4 < 2) {
_global.motion.slide(__player.cards[_local4], "_x", _global.motion.regular.Out, conf.foldedCardPosition.x, _local7);
_global.motion.slide(__player.cards[_local4], "_y", _global.motion.regular.Out, conf.foldedCardPosition.y, _local7);
_local4++;
}
}
function destinatePlayerCard(__id, __cardDealed) {
var _local4 = {x:0, y:0};
dealer.handAssets.right.card.localToGlobal(_local4);
var _local3 = pokerModel.players[__id].view;
var _local8 = pokerModel.getPlayerCards(__id);
var _local5 = layerPlayerCardsTop.attachMovie("card", "card" + layerPlayerCardsTop.getNextHighestDepth(), layerPlayerCardsTop.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y, _xscale:45, _yscale:45, _rotation:_local3.cardPostionRotation, typeId:((_global.userPlayer == __id) ? (_local8[__cardDealed].cardNumber) : "back"), cardValue:_local8[__cardDealed].cardValue, cardColor:_local8[__cardDealed].cardColor});
var _local10 = as.Gf.returnDistance(_local4.x, _local3.cardPostionX) + as.Gf.returnDistance(_local4.y, _local3.cardPostionY);
var _local6 = 1 + Math.floor(_local10 / 40);
_global.motion.slide(_local5, "_x", _global.motion.regular.Out, _local3.cardPostionX + (((_local3.cardXDistance * __cardDealed) / 2) * ((_global.userPlayer == __id) ? 2.5 : 1)), _local6);
_global.motion.slide(_local5, "_y", _global.motion.regular.Out, _local3.cardPostionY + (((_local3.cardYDistance * __cardDealed) / 2) * ((_global.userPlayer == __id) ? 2.5 : 1)), _local6);
_global.motion.slide(_local5, "_rotation", _global.motion.regular.Out, (_local5._rotation - 10) + Math.floor(Math.random() * 20), _local6);
_global.delayer.callFunction(this, "destinatePlayerCardDestinationReached", _local6, 1, _local3, _local5);
}
function destinatePlayerCardDestinationReached(__player, __card) {
var _local3 = layerPlayerCards.attachMovie("card", "card" + layerPlayerCards.getNextHighestDepth(), layerPlayerCards.getNextHighestDepth(), {_x:__card._x, _y:__card._y, _xscale:__card._xscale, _yscale:__card._yscale, _rotation:__card._rotation, typeId:__card.typeId});
__player.cards.push(_local3);
__card.removeMovieClip();
}
function removeGameTextSequence(__id) {
popup2Window["textSequenceHolderHolder" + __id].removeMovieClip();
}
function showGameTextSequence(__textArray, __id) {
var _local5 = popup2Window.createEmptyMovieClip("textSequenceHolderHolder" + __id, popup2Window.getNextHighestDepth());
var _local7 = 0;
var _local4 = 0;
while (_local4 < __textArray.length) {
var _local3 = _local5.attachMovie("finishedLetterAllColor", "finishedLetterAllColor" + _local5.getNextHighestDepth(), _local5.getNextHighestDepth(), {_y:_local7});
_local3.gotoAndStop(1);
switch (__textArray[_local4].type) {
case "tableMove" :
_local3._xscale = 60;
_local3._yscale = 70;
_local3._y = _local3._y + 300;
break;
case "losed" :
_local3.gotoAndStop(3);
break;
case "won" :
_global.engine.playSfx("Poker result Win.wav", 0, _global.careerModel.userProgress.setting.soundFx);
_local3.gotoAndStop(2);
}
_local3.fl.display_txt.autoSize = true;
_local3.fl.display_txt.htmlText = __textArray[_local4].text;
_local3._x = 400 - (_local3._width / 2);
_local7 = _local7 + 55;
_local4++;
}
_local5._y = 250 - (_local5._height / 2);
}
function unlockAchievement(__achievementId) {
var _local4 = _global.model.conf.achievements[__achievementId].color;
var _local5 = popup1Window.createEmptyMovieClip("achievementLayer1", popup1Window.getNextHighestDepth());
var _local3 = popup1Window.createEmptyMovieClip("achievementLayer2", popup1Window.getNextHighestDepth());
ferryDust = new as.view.comsmetic.FerryDust(popup1Window.createEmptyMovieClip("ferryDust", popup1Window.getNextHighestDepth()));
ferryDust.lId = "particleCoin" + _local4;
_local3.attachMovie("coinGlowAnimation", "coinGlowAnimation", _local3.getNextHighestDepth());
_local3.coinGlowAnimation.coin.gotoAndStop(1 + __achievementId);
_local3.coinGlowAnimation._x = 400;
_local3.coinGlowAnimation._y = 300;
_local3.coinGlowAnimation._xscale = 20;
_local3.coinGlowAnimation._yscale = 20;
_global.delayer.callFunction(_global.engine, "playSfx", 0, 1, "CoinAward.wav", 0, _global.careerModel.userProgress.setting.soundFx);
_global.motion.slide(_local3.coinGlowAnimation, "_xscale", _global.motion.regular.Out, 100, 22);
_global.motion.slide(_local3.coinGlowAnimation, "_yscale", _global.motion.regular.Out, 100, 22);
_global.delayer.callFunction(this, "insertParticleCoin", 1, 100, _local4);
_global.delayer.callFunction(_global.motion, "slide", 160, 1, _local5, "_alpha", _global.motion.regular.Out, 0, 7);
_global.delayer.callFunction(_global.motion, "slide", 154, 1, _local3.coinGlowAnimation, "_xscale", _global.motion.regular.Out, 40, 14);
_global.delayer.callFunction(_global.motion, "slide", 154, 1, _local3.coinGlowAnimation, "_yscale", _global.motion.regular.Out, 40, 14);
_global.delayer.callFunction(_global.motion, "slide", 160, 1, _local3, "_alpha", _global.motion.regular.Out, 0, 7);
_global.delayer.callFunction(_local5, "removeMovieClip", 167, 1);
_global.delayer.callFunction(_local3, "removeMovieClip", 167, 1);
_global.delayer.callFunction(this, "animateCircleFerry", 2, 1);
return(250);
}
function animateCircleFerry() {
_global.delayer.callFunction(this, "showCircleFerry", 1, 15);
}
function showCircleFerry() {
return(null);
while (_local4 < 8) {
var _local2 = popup1Window.achievementLayer2.coinGlowAnimation.coin.circleFerryPos.ferryCircle;
var _local3 = {x:_local2.pos._x, y:_local2.pos._y};
_local2.localToGlobal(_local3);
_local2._rotation = _local2._rotation + 16;
var _local5 = ferryDust.insertParticle(Math.floor(_local3.x), Math.floor(_local3.y));
_local5.animation.gotoAndStop(1 + Math.floor(Math.random() * 20));
_local4++;
}
}
function insertParticleCoin(__color) {
var _local5 = 30 + ((Math.random() * 12) * 10);
var _local6 = popup1Window.achievementLayer1;
var _local3 = _local6.attachMovie("particleCoin" + __color, "paritcalCoin" + _local6.getNextHighestDepth(), _local6.getNextHighestDepth());
_local3._x = 0 + (Math.random() * 800);
_local3._y = -10;
var _local7 = 10 + ((Math.random() * 13) * 10);
_local3._xscale = _local5;
_local3._yscale = _local5;
var _local4 = Math.floor((((28 / _local5) * 100) + 56) / 3);
_global.motion.slide(_local3, "_y", (((Math.random() * 5) < 4) ? (_global.motion.none.Out) : (_global.motion.bounce.Out)), 600, _local4);
_global.delayer.callFunction(_local3.animation, "gotoAndStop", _local4 + 1, 1, 1 + Math.floor(Math.random() * 20));
_global.delayer.callFunction(_local3.animation2, "gotoAndStop", _local4 + 1, 1, 1 + Math.floor(Math.random() * 20));
}
function askUsersAction(__chipsRequired, __minimalBet) {
var _local3 = pokerModel.players[_global.userPlayer];
var _local5 = _local3.model.chipAmount;
if (Math.floor(Math.random() * 1.7)) {
_local3.view.performDecorationAction("tabFingersRepetiveInit", 0);
}
_global.delayer.callFunction(choiceNavigation, "popup", 3, 1, {currentCash:_local5, chipsRequired:__chipsRequired, minimalBet:__minimalBet});
_global.view.loader.DynamicTopMenu.removeLockDown();
}
function init(__iObj) {
_global.delayer.callFunction(_global.engine, "startAmbience", 2, 1, "Saloon");
voiceMaleArray = new Array("Male5", "Male6", "Gangster", "Indonesian", "Turkish", "Male1", "Male2", "Male3", "Male4", "Italian");
voiceFemaleArray = new Array("Female1", "Female2", "Female3", "Female4");
if (_global.main.version.demo == true) {
voiceMaleArray = new Array("Male6", "Gangster", "Indonesian", "Turkish", "Male4", "Italian");
voiceFemaleArray = new Array("Female2", "Female3", "Female4");
}
type = "poker";
_global.pokerView = this;
bmpLib = {};
bmpLib.chipShadow = flash.display.BitmapData.loadBitmap("$shadowBmp");
var _local3 = 0;
while (_local3 < conf.chipType.length) {
var _local4 = conf.chipType[_local3];
bmpLib["chip" + _local4] = flash.display.BitmapData.loadBitmap(("$" + _local4) + "Bmp");
_local3++;
}
bmpLib.blindBig = flash.display.BitmapData.loadBitmap("bigBlindBmp");
bmpLib.blindSmall = flash.display.BitmapData.loadBitmap("smallBlindBmp");
bmpLib.dealerButton = flash.display.BitmapData.loadBitmap("dealerButtonBmp");
bmpLib.dealerPants = flash.display.BitmapData.loadBitmap("dealerPantsBmp");
bmpLib.dealerBack = flash.display.BitmapData.loadBitmap("dealerBackBmp");
bmpLib.bgBmp = new flash.display.BitmapData(800, 600, true, 13421772);
playerInit = __iObj.player;
table = __iObj.table;
tableType = conf.table[table].type;
initialPlayerAmount = (playerAmount = __iObj.player.length);
pokerModel = _global.pokerModel;
pokerModel.type = subType;
var _local5 = "Backroom";
if (subType == "tournament") {
_local5 = "Saloon";
}
_global.engine.stopAmbience(0);
_global.engine.startAmbience(_local5);
var _local6 = {tournamentTableSanSaba:2, tournamentTableLampasas:4, tournamentTableLLano:3, tournamentTableBrady:1, tournamentTableMeridian:8, tournamentTableSanAntonio:4, tournamentTableElDorado:3, tournamentTableDallas:0, tournamentTableBeeville:4, tournamentTableFortStockton:6, tournamentTableBoston:4, tournamentTableBrownsville:9, tournamentTableElPaso:3};
if (_local6[(subType + "Table") + table] === undefined) {
_global.cardType = 0 + Math.floor(Math.random() * 8);
} else {
_global.cardType = _local6[(subType + "Table") + table];
}
}
function removeTournamentOverview() {
var _local3 = popup2Window.tournamentOverviewBg;
_global.motion.slide(_local3, "_alpha", _global.motion.none.Out, 0, 3);
_global.delayer.callFunction(popup2Window.tournamentOverviewBg, "removeMovieClip", 5, 1);
}
function showTournamentOverview() {
if (popup2Window.tournamentOverviewBg) {
return(null);
}
var _local10 = popup2Window.attachMovie("tournamentOverviewBg", "tournamentOverviewBg", popup2Window.getNextHighestDepth(), {_x:135, _y:40});
popup2Window.tournamentOverviewBg.placeWins._alpha = 0;
_local10._alpha = 90;
var _local5 = _global.pokerModel.getRankingArray();
var _local13 = 1;
var _local16 = ((_local5.length > 10) ? 10 : (_local5.length));
_local10.topText = _global.textDb.OverviewTopPA.split("[playerAmount]").join(_local16);
_local10.topText2 = _global.pokerModel.pokerSave.city + ((subType != "tournament") ? " cashgame" : " Saloon tournament");
_local10.topText3 = _global.textDb.OverviewPlayerLeft.split("[playerAmount1]").join(_local5.length).split("[playerAmount2]").join(_global.pokerModel.pokerSave.startPlayerAmount);
var _local9 = 0;
var _local4 = 0;
while (_local4 < _local16) {
if (_local5[_local4].name != undefined) {
var _local3 = _local10.attachMovie(("tournamentOverviewTab" + ((_local4 - _local9) % 2)) + "Animation", "tournamentOverviewTab0Animation" + _local10.getNextHighestDepth(), _local10.getNextHighestDepth(), {_x:45, _y:145 + ((_local4 - _local9) * 37)});
var _local7 = _global.careerModel.userProgress.setting.pokerSpeed + ((_local4 - _local9) * _global.careerModel.userProgress.setting.pokerSpeed);
if ((_local7 < 3) || (_local7 == undefined)) {
_local7 = 3;
}
_global.delayer.callFunction(_local3, "gotoAndPlay", _local7, 1, 2);
_local3.tab.nameTxt.text = _local5[_local4].name;
_local3.tab.chipAmountTxt.text = "$ " + _local5[_local4].chipAmount;
if (_global.textDb.OverviewTable.length > 6) {
var _local11 = new TextFormat();
_local11.size = 11;
_local3.tab.tableTxt.setNewTextFormat(_local11);
}
_local3.tab.tableTxt.text = (_global.textDb.OverviewTable + " ") + (_local5[_local4].table + 1);
_local3.tab.placeTxt.text = _local13;
if (_local5[_local4].hat == 30) {
_local3.tab.chipAmountTxt.textColor = (_local3.tab.nameTxt.textColor = (_local3.tab.tableTxt.textColor = (_local3.tab.placeTxt.textColor = 13922)));
var _local8 = new TextFormat();
_local8.size = 20;
_local3.tab.nameTxt.setTextFormat(_local8);
_local3.tab.placeTxt.setTextFormat(_local8);
_local3.tab.nameTxt._y = _local3.tab.nameTxt._y - 3;
_local3.tab.placeTxt._y = _local3.tab.placeTxt._y - 3;
}
if (_local5[_local4].hat) {
var _local12 = flash.display.BitmapData.loadBitmap(("hat" + _local5[_local4].hat) + "Bmp");
var _local6 = _local3.tab.createEmptyMovieClip("hatHolder", _local3.tab.getNextHighestDepth());
_local6._x = 234;
_local6._y = -2;
_local6.attachBitmap(_local12, _local6.getNextHighestDepth(), "auto", true);
_local6._xscale = 25;
_local6._yscale = 25;
}
if (_local5[_local4].chipAmount != _local5[_local4 + 1].chipAmount) {
_local13++;
}
} else {
_local9++;
}
_local4++;
}
popup2Window.tournamentOverviewBg.showPlId = Math.floor(Math.random() * 1000000);
if (subType == "tournament") {
showOverviewPlacePrice(popup2Window.tournamentOverviewBg.showPlId, 0);
}
}
function showOverviewPlacePrice(__id, __place) {
if (!_global.pokerModel.pokerSave.totalCash) {
return(null);
}
var _local3 = _global.model.conf.winPerc;
if (_global.pokerModel.pokerSave.startPlayerAmount < 9) {
_local3 = _global.model.conf.winPerc8orless;
}
if (_local3[__place] === undefined) {
__place = 0;
}
if ((!popup2Window.tournamentOverviewBg) || (popup2Window.tournamentOverviewBg.showPlId != __id)) {
return(null);
}
popup2Window.tournamentOverviewBg.placeWins.topText3 = _global.textDb.subjectWins.split("[subject]").join(_global.textDb[("coin" + __place) + "Descr"]).split("[independent]").join("$" + Math.floor((_global.pokerModel.pokerSave.totalCash / 100) * _local3[__place]));
_global.motion.slide(popup2Window.tournamentOverviewBg.placeWins, "_alpha", _global.motion.none.Out, 100, 5 * _global.careerModel.userProgress.setting.pokerSpeed);
_global.delayer.callFunction(_global.motion, "slide", 50 * _global.careerModel.userProgress.setting.pokerSpeed, 1, popup2Window.tournamentOverviewBg.placeWins, "_alpha", _global.motion.none.Out, 0, 5 * _global.careerModel.userProgress.setting.pokerSpeed);
_global.delayer.callFunction(this, "showOverviewPlacePrice", 55 * _global.careerModel.userProgress.setting.pokerSpeed, 1, popup2Window.tournamentOverviewBg.showPlId, __place + 1);
}
function resetRound() {
delete roundObj;
roundObj = {generateUpdatedPiles:0, returnedCards:[], foldedCards:[], foldedCardsCollected:0, showCards:[]};
_global.activeScreen.roundObj.showCards[_global.userPlayer] = "user";
tableCards = new Array();
var _local3 = 0;
while (_local3 < pokerModel.players.length) {
var _local4 = pokerModel.players[_local3].view;
_local4.cards = new Array();
_local4.pildeValueDisplay.removeMovieClip();
delete _local4.pildeValueDisplay;
_local3++;
}
}
function showLoadedGame() {
tableCards = new Array();
var _local6 = 0;
while (_local6 < _global.pokerModel.pokerSave.roundObj.tableCards.length) {
destinateTableCard(_global.pokerModel.pokerSave.roundObj.tableCards[_local6].cardNumber, conf.tabelCardPosition[_local6].x, conf.tabelCardPosition[_local6].y);
_local6++;
}
_local6 = 0;
while (_local6 < _global.pokerModel.pokerSave.filledSeats.length) {
var _local7 = _global.pokerModel.pokerSave.filledSeats[_local6];
var _local3 = pokerModel.players[_local7].view;
if (_global.pokerModel.pokerSave.roundObj.playersPlaying[_global.pokerModel.pokerSave.filledSeats[_local6]].playing) {
var _local4 = 0;
while (_local4 < 2) {
var _local8 = _global.pokerModel.pokerSave.roundObj.playerCard[_global.pokerModel.pokerSave.filledSeats[_local6]][_local4].cardNumber;
if (_global.userPlayer != _local7) {
_local8 = "back";
}
destinatePlayerCardDestinationReached(_local3, {_rotation:_local3.cardPostionRotation, _xscale:45, _yscale:45, _y:_local3.cardPostionY + (((_local3.cardYDistance * _local4) / 2) * ((_global.userPlayer == _local7) ? 2.5 : 1)), _x:_local3.cardPostionX + (((_local3.cardXDistance * _local4) / 2) * ((_global.userPlayer == _local7) ? 2.5 : 1)), typeId:_local8});
_local4++;
}
} else {
_global.pokerView.roundObj.returnedCards[_global.pokerModel.pokerSave.filledSeats[_local6]] = true;
}
_local6++;
}
var _local4 = 0;
while (_local4 < _global.pokerModel.pokerSave.roundObj.playersPlaying.length) {
var _local9 = pokerModel.players[_local4].model;
var _local12 = pokerModel.players[_local4].view;
if (_global.pokerModel.pokerSave.roundObj.playersPlaying[_local4].bet > 0) {
_local12.throwChips("left", _global.pokerModel.pokerSave.roundObj.playersPlaying[_local4].bet, _global.pokerModel.pokerSave.roundObj.playersPlaying[_local4].bet, 1);
}
var _local10 = 0;
var _local5 = 0;
while (_local5 < _local9.house.length) {
if (_local9.house[_local5].status == "betted") {
_local10++;
}
_local5++;
}
if (_local10 > 0) {
var _local18 = _global.pokerView.conf.keyPosition[_local4];
_global.pokerView.setKeys(_local4, _local9.house.length - _local10, _local18);
_local12.throwKeys("left", _local10, _global.pokerModel.pokerSave.roundObj.playersPlaying[_local4].bet);
}
_local4++;
}
_global.activeScreen.showNewRound(_global.pokerModel.pokerSave.playerDealing, _global.pokerModel.pokerSave.roundObj.smallBlind, _global.pokerModel.pokerSave.roundObj.bigBlind, _global.pokerModel.pokerSave.roundsStarted, _global.pokerModel.pokerSave.roundObj.smallBlindBet, _global.pokerModel.pokerSave.roundObj.bigBlindBet, "firstRound");
}
function renderTable() {
if ((_global.main.version.demo == true) && (subType == "cashgame")) {
table = "5";
}
bmpLib.bgBmp = new flash.display.BitmapData(800, 600, true, 13421772);
layerBg.removeMovieClip();
layerBg = _global.view.loader.createEmptyMovieClip("bg", 1);
bmpLib.bgBmp = flash.display.BitmapData.loadBitmap(((subType + "Table") + table) + "Bmp");
if (subType != "tournament") {
var _local4 = flash.display.BitmapData.loadBitmap("tableShadowSpot0");
bmpLib.bgBmp.copyPixels(_local4, new flash.geom.Rectangle(0, 0, 800, 600), new flash.geom.Point(0, 0), null, null, true);
_local4.dispose();
var _local3 = 0;
while (_local3 < pokerModel.pokerSave.filledSeats.length) {
if ((!(pokerModel.pokerSave.filledSeats[_local3] === undefined)) && (!(pokerModel.pokerSave.filledSeats[_local3] === false))) {
_local4 = flash.display.BitmapData.loadBitmap("tableShadowSpot" + (pokerModel.pokerSave.filledSeats[_local3] + 1));
bmpLib.bgBmp.copyPixels(_local4, new flash.geom.Rectangle(0, 0, 800, 600), new flash.geom.Point(0, 0), null, null, true);
_local4.dispose();
}
_local3++;
}
} else {
var _local3 = 0;
while (_local3 < pokerModel.pokerSave.filledSeats.length) {
if (!(pokerModel.pokerSave.filledSeats[_local3] === undefined)) {
var _local4 = flash.display.BitmapData.loadBitmap((("tableShadow" + tableType) + "Spot") + (pokerModel.pokerSave.filledSeats[_local3] + 1));
bmpLib.bgBmp.copyPixels(_local4, new flash.geom.Rectangle(0, 0, 800, 600), new flash.geom.Point(0, 0), null, null, true);
_local4.dispose();
}
_local3++;
}
var _local4 = flash.display.BitmapData.loadBitmap(("tableShadow" + tableType) + "Spot0");
bmpLib.bgBmp.copyPixels(_local4, new flash.geom.Rectangle(0, 0, 800, 600), new flash.geom.Point(0, 0), null, null, true);
_local4.dispose();
}
bmpLib.bgBmp.copyPixels(bmpLib.dealerPants, new flash.geom.Rectangle(0, 0, 66, 52), new flash.geom.Point(375, 420), null, null, true);
bmpLib.dealerPants.dispose();
layerBg.attachBitmap(bmpLib.bgBmp, layerBg.getNextHighestDepth());
potIndicator = layerBg.attachMovie("potIndicator", "potIndicator", layerBg.getNextHighestDepth());
potIndicator.potTxt.text = _global.textDb.pot.toUpperCase();
potIndicator._x = 28;
potIndicator._y = 535;
potIndicator.total = ((_global.pokerModel.pokerSave.roundObj.totalTableBet == undefined) ? 0 : (_global.pokerModel.pokerSave.roundObj.totalTableBet));
setTopMenu();
userModel = _global.pokerModel.players[_global.userPlayer].model;
_global.delayer.callFunction(this, "updateSteam", 5, 1);
}
function setTopMenu() {
_global.view.loader.DynamicTopMenu.removeMovieClip();
_global.view.loader.attachMovie("DynamicTopMenu", "DynamicTopMenu", _global.view.loader.getNextHighestDepth(), {_x:0, _y:0, currentOptions:["leave table", "Adjust speed", "Overview", "Instruction", "Options", "Quit"], parentClass:this});
}
function updateLanguage() {
setTopMenu();
potIndicator.potTxt.text = _global.textDb.pot;
}
function processTopMenuRoll(__action, __type) {
switch (__action) {
case "all" :
case "Overview" :
switch (__type) {
case "over" :
showTournamentOverview();
break;
case "out" :
removeTournamentOverview();
}
}
}
function processTopMenu(__action) {
switch (__action) {
case "Options" :
_global.model.activateMenu(new as.view.menu.MainSettingsMenu());
break;
case "leave table" :
_global.help.setUsed(17);
if (_global.careerModel.userProgress.currentPosition.eventType != "cashGame") {
_global.model.popupConfirm({title:_global.textDb.giveupNotify, target:this, func:"leavePokerGame"});
} else {
_global.model.popupConfirm({title:_global.textDb.leaveNotify, target:this, func:"leavePokerGameAtRoundFinished"});
}
break;
case "Adjust speed" :
_global.model.activateMenu(new as.view.menu.AdjustSpeedMenu());
break;
case "Quit" :
_global.model.popupConfirm({title:_global.textDb.saveNotify, target:this, func:"quit"});
break;
case "Instruction" :
_global.model.activateMenu(new as.view.menu.InstructionMenu());
var _local3 = _global.activeMenu.layerButton.attachMovie("DynamicTopMenu", "DynamicTopMenu2", _global.activeMenu.layerButton.getNextHighestDepth(), {lockedDown:true, preSelect:0, _x:-148, _y:-62, currentOptions:["Poker Hands", "Blinds", "Pre-flop", "Flop", "Turn & River", "Showdown"], parentClass:_global.activeMenu});
_local3.onRollOver();
}
}
function quit() {
delete _global.careerModel.userProgress.currentPosition.quickGame;
_global.engine.stopAmbience(0);
_global.engine.stopMusic(0);
_global.model.speed = 1;
_global.model.startIntro();
_global.model.createMainMenu();
}
function leavePokerGameAtRoundFinished() {
_global.pokerModel.pokerSave.roundObj.leavePokerGameAtRoundFinished = true;
}
function leavePokerGame() {
_global.pokerModel.finishPokerGame();
}
function showOptionalExtraPlayers() {
var _local3 = 0;
_local3 = _local3 + 200;
_global.delayer.callFunction(this, "reportViewFinish", _local3, 1, "roundFinished", 0);
}
function displayTableAssets() {
tableChips = new Array();
var _local3 = _global.view.loader;
layerBg = _local3.createEmptyMovieClip("bg", 1);
layerBgShadow = _local3.createEmptyMovieClip("shadow", 2);
layerChips = _local3.createEmptyMovieClip("Chips", 5);
layerCards = _local3.createEmptyMovieClip("cards", 3);
layerPlayerCards = _local3.createEmptyMovieClip("playercards", 4);
layerPlayerCardsTop = _local3.createEmptyMovieClip("playercardsTop", 7);
chipsPopup = _local3.createEmptyMovieClip("chipsPopup", 6);
layerPlayers = _local3.createEmptyMovieClip("players", 9);
popupWindow = _local3.createEmptyMovieClip("popupWindow", 10);
popup1Window = _local3.createEmptyMovieClip("popupWindow", 11);
popup2Window = _local3.createEmptyMovieClip("popup2Window", 12);
if (subType == "tournament") {
tournamentDisplay = popupWindow.attachMovie("tournamentDisplay", "tournamentDisplay", popupWindow.getNextHighestDepth(), {_x:700});
}
choiceNavigation = _local3.attachMovie("choiceNavigation", "choiceNavigation", 8, {_x:150, _y:600, _visible:false});
var _local5 = conf.dealerPosition;
layerPlayers.attachMovie("dealerShirt", "dealerShirt", layerPlayers.getNextHighestDepth(), {_x:_local5.x, _y:_local5.y - 10});
layerPlayers.dealerShirt._yscale = 30;
var _local4 = layerChips.createEmptyMovieClip("buttons", layerChips.getNextHighestDepth());
blindBig = _local4.createEmptyMovieClip("blindBig", _local4.getNextHighestDepth());
blindBig._xscale = 99;
blindBig._yscale = 99;
blindBig.attachBitmap(bmpLib.blindBig, blindBig.getNextHighestDepth());
blindBig._visible = false;
blindSmall = _local4.createEmptyMovieClip("blindSmall", _local4.getNextHighestDepth());
blindSmall._xscale = 99;
blindSmall._yscale = 99;
blindSmall.attachBitmap(bmpLib.blindSmall, blindSmall.getNextHighestDepth());
blindSmall._x = 30;
blindSmall._visible = false;
dealerButton = _local4.createEmptyMovieClip("dealerButton", _local4.getNextHighestDepth());
dealerButton.attachBitmap(bmpLib.dealerButton, dealerButton.getNextHighestDepth());
dealerButton._x = 60;
dealerButton._xscale = 99;
dealerButton._yscale = 99;
dealerButton._visible = false;
playerConf = new as.conf.poker.model.PlayerConf();
}
function setPlayer(__playerNumber, __mode) {
if (playerInit[__playerNumber] == undefined) {
return(undefined);
}
var _local7 = conf.playerPosition[__playerNumber];
var _local15 = conf.leaveParameters[__playerNumber];
var _local11 = conf.chipPosition[__playerNumber];
var _local8 = conf.cardPosition[__playerNumber];
var _local14 = conf.keyPosition[__playerNumber];
var _local13 = conf.buttonPosition[__playerNumber];
var _local12 = conf.popupPosition[__playerNumber];
var _local6 = conf.betPosition[__playerNumber];
setKeys(__playerNumber, playerInit[__playerNumber].house.length, _local14);
var _local5 = new Object();
var _local4 = "";
if (playerInit[__playerNumber].type == "User") {
_local5 = playerConf.user[playerInit[__playerNumber].id];
if (subType == "cashgame") {
__mode = "walk";
}
} else {
_local5 = playerConf.id[playerInit[__playerNumber].id];
if (_local5.gender == "male") {
if (voiceMaleArray.length > 0) {
var _local10 = Math.floor(Math.random() * voiceMaleArray.length);
_local4 = voiceMaleArray[_local10];
voiceMaleArray.splice(_local10, 1);
} else {
_local4 = "Gangster";
}
} else if (voiceFemaleArray.length > 0) {
var _local10 = Math.floor(Math.random() * voiceFemaleArray.length);
_local4 = voiceFemaleArray[_local10];
voiceFemaleArray.splice(_local10, 1);
} else {
_local4 = "Female2";
}
if ((playerInit[__playerNumber].name == _global.careerModel.conf.governorName) || (playerInit[__playerNumber].name == "Ron (San Saba) Dixie")) {
_local4 = "Governor";
}
}
var _local9 = layerPlayers.attachMovie("pokerPlayer", __playerNumber, layerPlayers.getNextHighestDepth(), {type:playerInit[__playerNumber].type, viewId:playerInit[__playerNumber].id, _x:_local7.x, _y:_local7.y, _rotation:_local7.rotation, hat:_local5.hat, voice:_local4, gender:_local5.gender, cardPostionX:_local8.x, cardPostionY:_local8.y, cardPostionRotation:_local8.rotation, cardXDistance:_local11.xDistance, cardYDistance:_local11.yDistance, playerNumber:__playerNumber, popupPostionX:_local12.x, popupPostionY:_local12.y, betPostionX:_local6.x, betPostionY:_local6.y, betPostionRotation:_local6.rotation, buttonPostionX:_local13.x, buttonPostionY:_local13.y, leaveParameters:_local15, rotateToKey:_local14.rotateToKey, entranceType:__mode, name:playerInit[__playerNumber].name});
_local9.addEventListener("tabFingersRepetiveEnd", as.core.Delegate.create(this, retryShowPlayersDecision));
return(_local9);
}
function setDealer() {
var _local2 = conf.dealerPosition;
var _local3 = playerConf.dealer;
dealer = layerPlayers.attachMovie("pokerDealer", initialPlayerAmount + 1, layerPlayers.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, _rotation:_local2.rotation, hat:_local3.hat, gender:_local3.gender});
}
function showChips(__playerNumber, __chipsAmount) {
layerChips["chips" + __playerNumber].removeMovieClip();
var _local2 = conf.chipPosition[__playerNumber];
var _local3 = layerChips.createEmptyMovieClip("chips" + __playerNumber, layerChips.getNextHighestDepth());
_local3._x = _local2.x;
_local3._y = _local2.y;
return(new as.poker.view.ChipsView({mov:_local3, type:"Tidy", xDistance:_local2.xDistance, yDistance:_local2.yDistance, chipsAmount:__chipsAmount, randomness:5, size:120}));
}
function showNewRound(__playerDealing, __smallBlind, __bigBlind, __roundsStarted, __smallBlindBet, __bigBlindBet, __force) {
if (lastRound == true) {
popupWindow.attachMovie("lastRoundDisplay", "lastRoundDisplay", popupWindow.getNextHighestDepth(), {_x:400, _y:224});
_global.delayer.callFunction(_global.motion, "slide", 40, 1, popupWindow.lastRoundDisplay, "_x", _global.motion.regular.InOut, 80, 8);
_global.delayer.callFunction(_global.motion, "slide", 40, 1, popupWindow.lastRoundDisplay, "_y", _global.motion.regular.InOut, 10, 8);
_global.delayer.callFunction(_global.motion, "slide", 40, 1, popupWindow.lastRoundDisplay, "_yscale", _global.motion.regular.InOut, 40, 8);
_global.delayer.callFunction(_global.motion, "slide", 40, 1, popupWindow.lastRoundDisplay, "_xscale", _global.motion.regular.InOut, 40, 8);
}
potIndicator.total = ((_global.pokerModel.pokerSave.roundObj.totalTableBet == undefined) ? 0 : (_global.pokerModel.pokerSave.roundObj.totalTableBet));
var _local16 = pokerModel.players[__playerDealing].view;
var _local13 = pokerModel.players[__bigBlind].view;
_local13.blindIsSufficient = true;
var _local14 = pokerModel.players[__smallBlind].view;
var _local9 = [{type:"dealerButton", player:pokerModel.players[__playerDealing].view}, {type:"blindSmall", player:pokerModel.players[__smallBlind].view}, {type:"blindBig", player:pokerModel.players[__bigBlind].view}];
roundObj.foldedCards = new Array();
var _local5 = 0;
while (_local5 < pokerModel.players.length) {
var _local7 = pokerModel.players[_local5].view;
_local7.gameObj = new Object();
_local7.gameObj.playing = true;
if (Math.floor(Math.random() * 2)) {
_local7.setFollowActivity(true);
}
_local5++;
}
var _local15 = 1;
if ((__roundsStarted == 1) || (__force == "firstRound")) {
dealerButton.person = _local16;
dealerButton._x = _local16.buttonPostionX - (dealerButton._width / 2);
dealerButton._y = _local16.buttonPostionY - (dealerButton._height / 2);
dealerButton._visible = true;
blindBig.person = _local13;
blindBig._x = _local13.buttonPostionX - (blindBig._width / 2);
blindBig._y = _local13.buttonPostionY - (blindBig._height / 2);
blindBig._visible = true;
blindSmall.person = _local14;
blindSmall._x = _local14.buttonPostionX - (blindSmall._width / 2);
blindSmall._y = _local14.buttonPostionY - (blindSmall._height / 2);
blindSmall._visible = true;
var _local4 = {x:blindSmall._x, y:blindSmall._y};
_local4 = validateSBposition(_local4);
blindSmall._x = _local4.x;
blindSmall._y = _local4.y;
updateBtnDepths();
} else {
_local5 = 0;
while (_local5 < _local9.length) {
var _local6 = 0 + Math.floor(Math.random() * 6);
var _local3 = this[_local9[_local5].type];
var _local8 = _local9[_local5].player;
_local3.person.performDecorationAction("moveButton", _local6);
_local3.person = _local8;
var _local4 = {x:_local8.buttonPostionX - (_local3._width / 2), y:_local8.buttonPostionY - (_local3._height / 2)};
if (_local9[_local5].type == "blindSmall") {
_local4 = validateSBposition(_local4);
}
var _local10 = as.Gf.returnDistance(_local3._x, _local4.x) + as.Gf.returnDistance(_local3._y, _local4.y);
_global.delayer.callFunction(_global.motion, "slide", 14 + _local6, 1, _local3, "_x", _global.motion.regular.Out, _local4.x, Math.floor(_local10 / 10));
_global.delayer.callFunction(_global.motion, "slide", 14 + _local6, 1, _local3, "_y", _global.motion.regular.Out, _local4.y, Math.floor(_local10 / 10));
_global.delayer.callFunction(this, "updateBtnDepths", 14 + _local6, 1);
_local5++;
}
_local15 = _local15 + 25;
}
if (__force != "firstRound") {
_global.delayer.callFunction(_local14, "performDecorationAction", _local15 + ((__smallBlind == _global.userPlayer) ? 50 : 0), 1, "placeInitialBet", 0, {amount:__smallBlindBet, type:"small"});
_global.delayer.callFunction(_local13, "performDecorationAction", (_local15 + Math.floor(Math.random() * 10)) + ((__bigBlind == _global.userPlayer) ? 50 : 0), 1, "placeInitialBet", 0, {amount:__bigBlindBet, type:"big"});
}
_global.delayer.callFunction(this, "updateRanking", 1, 1);
return(_local15);
}
function updateRanking() {
var _local3 = _global.pokerModel.getRankingArray();
var _local4 = 1;
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].view) {
_local3[_local2].view.ranking = _local4;
if (_local3[_local2].chipAmount != _local3[_local2 + 1].chipAmount) {
_local4++;
}
}
_local2++;
}
}
function updateBtnDepths() {
if ((blindSmall.getDepth() < dealerButton.getDepth()) && (blindSmall._y > dealerButton._y)) {
var _local2 = blindSmall.getDepth();
var _local3 = dealerButton.getDepth();
blindSmall.swapDepths(blindSmall._parent.getNextHighestDepth());
dealerButton.swapDepths(_local2);
blindSmall.swapDepths(_local3);
}
}
function validateSBposition(pObj) {
if (dealerButton.person == blindSmall.person) {
var _local7 = {tournament:[{x:190}, {y:200}, {}, {}, {x:450}, {x:550}, {}, {x:500}], cash:[{y:190}, {y:200}]};
var _local2 = _local7[((subType == "tournament") ? (subType) : "cash")][dealerButton.person.playerNumber];
var _local4 = (_local2.x ? (_local2.x) : 400) - pObj.x;
var _local3 = (_local2.y ? (_local2.y) : 300) - pObj.y;
var _local6 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
pObj.y = pObj.y + (20 * (_local3 / _local6));
pObj.x = pObj.x + (20 * (_local4 / _local6));
}
return(pObj);
}
function addTableValue(__mc, __type) {
tableChips.push({mc:__mc, type:__type});
}
function showShowOrHideOption() {
var _local5 = [{t:"showCards"}, {t:"hideCards"}];
var _local8 = [];
var _local3 = 0;
while (_local3 < _local5.length) {
var _local4 = popup2Window.attachMovie("openCardBtn", _local5[_local3].t, popup2Window.getNextHighestDepth(), {_x:330 + (_local3 * 160), _y:600});
_global.motion.slide(_local4, "_y", _global.motion.regular.Out, 550, 7);
_local4.hit_mc.bg.gotoAndStop(2 + _local3);
_local4.hit_mc.text_mc.action_txt_txt.autoSize = "center";
_local4.hit_mc.text_mc.action_txt = _global.textDb[_local5[_local3].t];
_local4.hit_mc.text_mc._width = 120;
_local8.push(_local4);
_local3++;
}
_local8[0].hit_mc.onPress = function () {
delete _global.activeScreen.roundObj.showCards[_global.userPlayer];
var _local2 = _global.pokerModel.players[_global.userPlayer].view.cards;
_local2[0].gotoAndStop("back");
_local2[1].gotoAndStop("back");
_global.pokerModel.devideChips([{id:_global.userPlayer, mode:"show"}]);
_global.activeScreen.hideShowOrHideOption();
};
_local8[1].hit_mc.onPress = function () {
var _local2 = _global.pokerModel.players[_global.userPlayer].view.cards;
_local2[0].gotoAndStop("back");
_local2[1].gotoAndStop("back");
_global.pokerModel.devideChips([{id:_global.userPlayer, mode:"hide"}]);
_global.activeScreen.hideShowOrHideOption();
};
_global.delayer.callFunction(_global.help, "request", 10 * _global.careerModel.userProgress.setting.pokerSpeed, 1, {id:2, x:410, y:550});
}
function hideShowOrHideOption() {
var _local6 = ["showCards", "hideCards"];
var _local7 = Math.floor(Math.random() * 2);
var _local3 = 0;
while (_local3 < _local6.length) {
var _local5 = ((_local7 == _local3) ? 0 : 4);
var _local4 = popup2Window[_local6[_local3]];
_global.delayer.callFunction(_global.motion, "slide", _local5 + 0, 1, _local4, "_y", _global.motion.regular.Out, 600, 7);
_global.delayer.callFunction(_local4, "removeMovieClip", _local5 + 8, 1);
delete _local4.hit_mc.onPress;
_local3++;
}
}
function showCards(__showCards) {
var _local6 = 0;
var _local3 = 0;
while (_local3 < __showCards.length) {
if (roundObj.showCards[__showCards[_local3].id] == "user") {
roundObj.showCards[__showCards[_local3].id] = true;
}
if (!roundObj.showCards[__showCards[_local3].id]) {
var _local5 = _global.pokerModel.players[__showCards[_local3].id].view;
switch (__showCards[_local3].mode) {
case "show" :
_global.delayer.callFunction(_local5, "performDecorationAction", (_local6 + 10) + Math.floor(Math.random() * 5), 1, "turnCards", 0);
break;
case "hide" :
_global.delayer.callFunction(_local5, "performDecorationAction", (_local6 + 10) + Math.floor(Math.random() * 5), 1, "returncards", 0);
}
_local6 = _local6 + 30;
}
_local3++;
}
return(_local6);
}
function addToRemoveIngamePlayerStateHintsList(__ingamePlayerStateHints, __playerId) {
removeIngamePlayerStateHints[__ingamePlayerStateHints].push(__playerId);
}
function removeStatesFromArray(__removeState) {
var _local3 = 0;
while (_local3 < _global.pokerModel.players.length) {
if ((!(__removeState.inArray(_global.pokerModel.players[_local3].view.status) === false)) || (__removeState[0] == "All")) {
if (!(roundObj.showCards[_local3] === true)) {
_global.pokerModel.players[_local3].view.status = undefined;
}
}
_local3++;
}
_global.pokerView.updatePileValueDisplaysFO();
}
function removeTheIngamePlayerStateHints(__ingamePlayerStateHints) {
while (0 < removeIngamePlayerStateHints[__ingamePlayerStateHints].length) {
var _local2 = pokerModel.players[removeIngamePlayerStateHints[__ingamePlayerStateHints].pop()].view;
_local2.hideIngamePlayerStateHint(__ingamePlayerStateHints);
}
}
function returnLastPlayerCards() {
var _local3 = 0;
while (_local3 < pokerModel.players.length) {
_global.delayer.callFunction(pokerModel.players[_local3].view, "performDecorationAction", 0 + Math.floor(Math.random() * 13), 1, "returncards", 0);
_local3++;
}
}
function showOptionalLosers(__leavers, __newbees) {
var _local7 = 120;
var _local9 = false;
var _local10 = 0;
var _local11 = 0;
var _local5 = 0;
while (_local5 < __leavers.length) {
var _local4 = __leavers[_local5].view;
_global.delayer.callFunction(_local4, "performDecorationAction", _local7 + (_local5 * 20), 1, "returncards", 0);
if ((__leavers[_local5].reason == "busted") && (__leavers[_local5].model.playerNumber != _global.userPlayer)) {
if (_global.pokerModel.pokerSave.roundObj.playersPlaying[__leavers[_local5].model.playerNumber].bet > _global.pokerModel.pokerSave.roundObj.playersPlaying[_global.userPlayer].bet) {
_local11++;
}
}
if ((__leavers[_local5].model.playerNumber == _global.userPlayer) && (__leavers[_local5].reason != "choice")) {
_local9 = true;
_local10 = _local5;
}
_local5++;
}
if (_local9) {
_global.delayer.callFunction(_global.pokerModel, "finishPokerGame", _local7 + (_local10 * 20), 1, {playersDidBetter:_local11});
}
_local7 = _local7 + 30;
_local5 = 0;
while (_local5 < __leavers.length) {
var _local4 = __leavers[_local5].view;
var _local6 = 0;
if ((((dealerButton.person == _local4) || (blindBig.person == _local4)) || (blindSmall.person == _local4)) && (as.Gf.inArray(__leavers[_local5].position, __newbees) === false)) {
_local6 = _local6 + 130;
}
if (_local4.name == _global.careerModel.conf.governorName) {
_local6 = _local6 + 250;
}
_global.delayer.callFunction(_local4, "leaveGame", (_local7 + _local6) + (_local5 * 20), 1, __leavers[_local5].reason);
_local5++;
}
_local5 = __leavers.length;
while (_local5 >= 0) {
pokerModel.players[__leavers[_local5]] = undefined;
_local5--;
}
if (__newbees.length > 0) {
_local7 = _local7 + 60;
}
_local5 = 0;
while (_local5 < __newbees.length) {
_global.delayer.callFunction(pokerModel, "addPlayerRequest", _local7, 1, __newbees[_local5]);
_local7 = _local7 + 40;
_local5++;
}
return(_local7 - 120);
}
function clearLastCards() {
_global.delayer.callFunction(dealer, "playArms", 0, 1, "pile", "both");
_global.delayer.callFunction(_global.motion, "slide", 8, 1, dealer.arms_mc, "_y", _global.motion.regular.In, -55, 7);
_global.delayer.callFunction(_global.motion, "slide", 8, 1, dealer.hat_mc, "_y", _global.motion.regular.In, 12, 5);
var _local4 = 0;
while (_local4 < roundObj.foldedCards.length) {
var _local3 = roundObj.foldedCards[_local4];
if (_local3) {
_global.delayer.callFunction(_global.motion, "slide", 8, 1, _local3, "_x", _global.motion.regular.In, _local3._x, 6);
_global.delayer.callFunction(_global.motion, "slide", 8, 1, _local3, "_y", _global.motion.regular.In, _local3._y + 50, 6);
_global.delayer.callFunction(_local3, "removeMovieClip", 15, 1);
}
_local4++;
}
_global.delayer.callFunction(_global.motion, "slide", 20, 1, dealer, "_y", _global.motion.regular.Out, dealer.initialY - 30, 8);
_global.delayer.callFunction(_global.motion, "slide", 24, 1, dealer.arms_mc, "_y", _global.motion.regular.In, 0, 3);
_global.delayer.callFunction(_global.motion, "slide", 20, 1, dealer.hat_mc, "_y", _global.motion.regular.In, 0, 8);
_global.delayer.callFunction(dealer.arms_mc, "hideMe", 20, 1);
_global.delayer.callFunction(dealer, "playArms", 24, 1, "pileCompleted", "both");
}
function devidePots(__potArray) {
var _local3 = 0;
while (_local3 < __potArray.length) {
var _local7 = layerChips["chipsTotal" + _local3];
var _local4 = __potArray[_local3].id;
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _local7, "_x", _global.motion.regular.In, layerChips["chips" + _local4]._x, 9);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _local7, "_y", _global.motion.regular.In, layerChips["chips" + _local4]._y, 9);
_global.delayer.callFunction(_local7.pildeValueDisplay, "removeMovieClip", 3, 1);
_global.delayer.callFunction(_local7, "removeMovieClip", 8, 1);
_global.delayer.callFunction(_global.pokerModel.players[_local4].view, "showChips", 8, 1, _global.pokerModel.players[_local4].model.chipAmount);
var _local6 = 0;
var _local5 = conf.keyPosition[_local4];
while (layerBgShadow[(("key" + _local3) + "-") + _local6]) {
_local6++;
}
if (!(_local6 === _global.pokerModel.players[_local4].model.house.length)) {
_local6 = 0;
while (layerBgShadow[(("key" + (20 + _local3)) + "-") + _local6]) {
_local7 = layerBgShadow[(("key" + (20 + _local3)) + "-") + _local6];
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _local7, "_x", _global.motion.regular.In, _local5.x, 9);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _local7, "_y", _global.motion.regular.In, _local5.y, 9);
_local6++;
}
}
_local7.pildeValueDisplay._visible = false;
_local3++;
}
_local3 = 0;
while (_local3 < _global.pokerModel.players.length) {
var _local6 = 0;
while (var _local7 = layerBgShadow[(("key" + (20 + _local3)) + "-") + _local6] , _local7) {
_global.delayer.callFunction(_local7, "removeMovieClip", 8, 1);
_local6++;
}
_global.delayer.callFunction(_global.pokerModel.players[_local3].view, "showKeys", 8, 1, _global.pokerModel.players[_local3].model.house.length);
_local3++;
}
}
function hidePlayerKeys(__playerId) {
setKeys(__playerId, 0);
}
function showPots(__potArray) {
var _local12 = 0;
var _local11 = 0;
if (__potArray.length > 1) {
var _local3 = 0;
while (_local3 < __potArray.length) {
if (__potArray[_local3].addChips > __potArray[_local3].betted) {
_local12++;
_local11 = __potArray[_local3].addChips;
}
var _local5 = conf.chipPosition[__potArray[_local3].id];
var _local13 = layerChips.createEmptyMovieClip("chipsTotal" + _local3, layerChips.getNextHighestDepth());
var _local7 = ((conf.chipPotPosition.x * 5) + (_local5.x * 3)) / 8;
var _local6 = 40 + (((conf.chipPotPosition.y * 5) + (_local5.y * 3)) / 8);
var _local9 = ((conf.chipPotPosition.x * 4) + (_local5.x * 4)) / 8;
var _local8 = 30 + (((conf.chipPotPosition.y * 4) + (_local5.y * 4)) / 8);
_local13._x = conf.chipPotPosition.x;
_local13._y = conf.chipPotPosition.y;
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _local13, "_x", _global.motion.regular.Out, _local7 - 60, 4);
_global.delayer.callFunction(_global.motion, "slide", 0, 1, _local13, "_y", _global.motion.regular.Out, _local6 - 60, 4);
var _local15 = new as.poker.view.ChipsView({mov:_local13, type:"Tidy", xDistance:_local5.xDistance, yDistance:_local5.yDistance, chipsAmount:__potArray[_local3].addChips, randomness:5, size:120, colAmount:5});
_local13.pildeValueDisplay = _global.activeScreen.chipsPopup.attachMovie("pileValueDisplay", "pileValueDisplayPot" + _global.activeScreen.chipsPopup.getNextHighestDepth(), _global.activeScreen.chipsPopup.getNextHighestDepth(), {_x:_local7, _y:_local6});
_local13.pildeValueDisplay.color = 1;
_local13.pildeValueDisplay._alpha = 80;
_local13.pildeValueDisplay.value = __potArray[_local3].addChips;
setKeys(20 + _local3, __potArray[_local3].houseAmount, {x:_local9, y:_local8, rotation:0, rotationspacing:360 / __potArray[_local3].houseAmount});
_local3++;
}
} else {
_local12++;
_local11 = __potArray[0].addChips;
var _local13 = layerChips.createEmptyMovieClip("chipsTotal0", layerChips.getNextHighestDepth());
_local13._x = conf.chipPotPosition.x;
_local13._y = conf.chipPotPosition.y;
var _local15 = new as.poker.view.ChipsView({mov:_local13, type:"Tidy", xDistance:16, yDistance:0, chipsAmount:__potArray[0].addChips, randomness:5, size:120});
_local13.pildeValueDisplay = _global.activeScreen.chipsPopup.attachMovie("pileValueDisplay", "pileValueDisplayPot", _global.activeScreen.chipsPopup.getNextHighestDepth(), {_x:conf.chipPotPosition.x, _y:conf.chipPotPosition.y + 10, color:1, value:__potArray[0].addChips, _alpha:80});
setKeys(20, __potArray[0].houseAmount, {x:conf.chipPotPosition.x, y:conf.chipPotPosition.y + 50, rotation:0, rotationspacing:360 / __potArray[0].houseAmount});
}
if (_local12 == 1) {
_global.engine.dealerVoice(_local11, "WINNER");
} else {
_global.engine.dealerVoice(0, "SPLIT");
}
}
function setKeys(__playerId, __amount, __position) {
var _local3 = 0;
var _local6 = [];
while (layerBgShadow[(("key" + __playerId) + "-") + _local3]) {
_local6[_local3] = layerBgShadow[(("key" + __playerId) + "-") + _local3]._rotation;
layerBgShadow[(("key" + __playerId) + "-") + _local3].removeMovieClip();
_local3++;
}
var _local8 = (__position.rotationspacing ? (__position.rotationspacing) : 20);
var _local2 = 0;
while (_local2 < __amount) {
var _local7 = layerBgShadow.attachMovie("keyPokerTable", (("key" + __playerId) + "-") + _local2, layerBgShadow.getNextHighestDepth(), {_x:__position.x, _y:__position.y, _rotation:(__position.rotation + (_local2 * _local8)) + Math.floor(Math.random() * (_local8 / 1.4))});
if (!(_local6[_local2] === undefined)) {
_local7._rotation = _local6[_local2];
}
_local2++;
}
}
function showKeys(__playerId, __amount) {
var _local2 = conf.keyPosition[__playerId];
setKeys(__playerId, __amount, _local2);
}
function generateUpdatedPileValueDisplays() {
roundObj.generateUpdatedPiles++;
var _local3 = new Array();
var _local2 = 0;
while (_local2 < pokerModel.players.length) {
if (!pokerModel.pokerSave.roundObj.playersPlaying[_local2].playing) {
_local3.push({playerId:_local2, frameNumber:3});
} else if (pokerModel.players[_local2].model.chipAmount == 0) {
_local3.push({playerId:_local2, frameNumber:4});
} else {
_local3.push({playerId:_local2, frameNumber:((pokerModel.pokerSave.roundObj.playersPlaying[_local2].bet != pokerModel.pokerSave.roundObj.totalHighestPlayerBet) ? 2 : 1)});
}
_local2++;
}
return({id:roundObj.generateUpdatedPiles, display:_local3});
}
function updatePileValueDisplaysFO(__pileObj) {
var _local3 = 0;
while (_local3 < pokerModel.players.length) {
_global.pokerModel.players[_local3].view.updatePildeValueDisplayColor();
_local3++;
}
}
function retryShowPlayersDecision(__EObj) {
if (storedPlayerDec && (__EObj.playerNumber == storedPlayerDec.playerIndex)) {
showPlayersDecision(storedPlayerDec.playerIndex, storedPlayerDec.action, storedPlayerDec.chipAmount, storedPlayerDec.houseObj);
delete storedPlayerDec;
}
}
}
Symbol 3670 MovieClip [__Packages.as.view.menu.AdjustSpeedMenu] Frame 0
class as.view.menu.AdjustSpeedMenu extends as.view.menu.Menu
{
var conf, showMenu, selectRadioOption;
function AdjustSpeedMenu () {
super();
conf = {bgString:"menuAdjustSpeed", position:{x:222, y:230}, options:["Ok"], button:{startX:105, startY:110, colAmount:2, xoffset:160, yoffset:40}, alternativeButton:[{linkage:"transOptionButton", x:94, y:53, height:50, width:30, type:"invisibleHit", name:"Speed1"}, {linkage:"transOptionButton", x:234, y:53, height:50, width:30, type:"invisibleHit", name:"Speed2"}], radioOptions:[[{title:"Card_0", x:96, y:82}, {x:235, y:82, title:"Card_1"}]]};
}
function initMenu() {
showMenu("adjustspeed");
if (_global.careerModel.userProgress.setting.pokerSpeed == 2) {
selectRadioOption(0, 1);
}
}
function processSpeed1() {
selectRadioOption(0, 0);
_global.careerModel.userProgress.setting.pokerSpeed = 1;
return(true);
}
function processSpeed2() {
selectRadioOption(0, 1);
_global.careerModel.userProgress.setting.pokerSpeed = 2;
return(true);
}
function processOk() {
_global.model.adjustSpeed(_global.careerModel.userProgress.setting.pokerSpeed);
_global.view.menuLoader.removeMovieClip();
return(true);
}
}
Symbol 3671 MovieClip [__Packages.as.view.menu.InstructionMenu] Frame 0
class as.view.menu.InstructionMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg;
function InstructionMenu () {
super();
conf = {bgString:"menuInstructionBg", position:{x:147, y:62}, options:["Close"], button:{startX:190, startY:470, colAmount:2, xoffset:160, yoffset:40}};
}
function initMenu() {
showMenu("Instruction");
}
function processTopMenu(__action) {
showSubject(__action.split(" ").join(""));
}
function boldWithSpaces(__text) {
return(("<b>" + __text.split("[...]").join(" ")) + "</b>");
}
function showSubject(__subject) {
layerBg.menuMainBg.gotoAndStop(__subject);
switch (__subject) {
case "Blinds" :
layerBg.menuMainBg.t1.t_txt.autoSize = true;
layerBg.menuMainBg.t1.t_txt.wordWrap = true;
layerBg.menuMainBg.t2.t_txt.autoSize = true;
layerBg.menuMainBg.t2.t_txt.wordWrap = true;
layerBg.menuMainBg.t3.t_txt.autoSize = true;
layerBg.menuMainBg.t3.t_txt.wordWrap = true;
layerBg.menuMainBg.t1.t_txt.htmlText = boldWithSpaces(_global.textDb.InstructionButton);
layerBg.menuMainBg.t2.t_txt.htmlText = boldWithSpaces(_global.textDb.InstructionSmBlind);
layerBg.menuMainBg.t3.t_txt.htmlText = boldWithSpaces(_global.textDb.InstructionBgBlind);
layerBg.menuMainBg.t2._y = (14 + layerBg.menuMainBg.t1._y) + layerBg.menuMainBg.t1._height;
layerBg.menuMainBg.t3._y = (14 + layerBg.menuMainBg.t2._y) + layerBg.menuMainBg.t2._height;
break;
case "PokerHands" :
var _local8 = [{r:5, c:[35, 36, 37, 38, 39], t:"Royal Flush"}, {r:5, c:[20, 21, 22, 23, 24], t:"Straight Flush"}, {r:4, c:[15, 2, 28, 41, 37], t:"Four of a Kind"}, {r:5, c:[15, 2, 28, 6, 19], t:"Full House"}, {r:5, c:[40, 48, 49, 50, 44], t:"Flush"}, {r:5, c:[35, 49, 37, 25, 13], t:"Straight"}, {r:3, c:[19, 6, 32, 35, 13], t:"Three of a Kind"}, {r:4, c:[15, 41, 13, 39, 22], t:"Two pair"}, {r:2, c:[50, 37, 21, 39, 22], t:"Pair"}, {r:1, c:[12, 1, 10, 3, 14], t:"High card"}];
var _local4 = 0;
while (_local4 < _local8.length) {
layerBg.menuMainBg["h" + _local4].gotoAndStop(_local8[_local4].r);
layerBg.menuMainBg["h" + _local4].title.text = ((1 + _local4) + " ") + _local8[_local4].t;
var _local9 = _local4 * 2;
var _local5 = 0;
while (_local5 < _local8[_local4].c.length) {
var _local3;
if ((_local5 < _local8[_local4].r) && (_local8[_local4].r != 1)) {
_local3 = layerBg.menuMainBg["h" + _local4].groupCard["c" + _local5];
} else {
_local3 = layerBg.menuMainBg["h" + _local4]["c" + _local5];
}
_local3.typeId = _local8[_local4].c[_local5];
var _local7 = 2 - _local5;
var _local6 = 2 - _local5;
if (_local6 < 0) {
_local6 = -_local6;
}
_local3._x = _local3._x + (_local7 * 24);
_local3._rotation = _local3._rotation + (_local7 * 9);
_local3._y = _local3._y - (-4 + (_local6 * 3));
_global.delayer.callFunction(_global.motion, "slide", _local9, 1, _local3, "_x", _global.motion.regular.Out, _local3._x - (_local7 * 24), 10 * _global.careerModel.userProgress.setting.pokerSpeed);
_global.delayer.callFunction(_global.motion, "slide", _local9, 1, _local3, "_rotation", _global.motion.regular.Out, _local3._rotation - (_local7 * 9), 10 * _global.careerModel.userProgress.setting.pokerSpeed);
_global.delayer.callFunction(_global.motion, "slide", _local9, 1, _local3, "_y", _global.motion.regular.Out, (_local3._y + (_local6 * 3)) - 4, 10 * _global.careerModel.userProgress.setting.pokerSpeed);
_local5++;
}
_local4++;
}
layerBg.menuMainBg.t0_txt.htmlText = _global.textDb.InstructionHandranking;
break;
case "Pre-flop" :
layerBg.menuMainBg.t1_txt.htmlText = boldWithSpaces(_global.textDb.InstructionPreFlop);
break;
case "Flop" :
layerBg.menuMainBg.t1_txt.htmlText = boldWithSpaces(_global.textDb.InstructionFlop);
break;
case "Turn&River" :
layerBg.menuMainBg.t1.t_txt.autoSize = true;
layerBg.menuMainBg.t1.t_txt.wordWrap = true;
layerBg.menuMainBg.t2.t_txt.autoSize = true;
layerBg.menuMainBg.t2.t_txt.wordWrap = true;
layerBg.menuMainBg.t1.t_txt.htmlText = boldWithSpaces(_global.textDb.InstructionTurn);
layerBg.menuMainBg.t2.t_txt.htmlText = boldWithSpaces(_global.textDb.InstructionRiver);
layerBg.menuMainBg.t2._y = (14 + layerBg.menuMainBg.t1._y) + layerBg.menuMainBg.t1._height;
break;
case "Showdown" :
layerBg.menuMainBg.t1_txt.htmlText = boldWithSpaces(_global.textDb.InstructionShowdown);
}
}
function processClose() {
_global.view.resetMenu();
return(true);
}
}
Symbol 3672 MovieClip [__Packages.as.poker.view.PokerView] Frame 0
class as.poker.view.PokerView extends as.poker.view.pokerViewBase
{
var removeIngamePlayerStateHints, conf, pokerModel, dealer, showCards, roundObj, tableChips, showOptionalLosers, generateUpdatedPileValueDisplays, storedPlayerDec;
function PokerView () {
super();
}
function initScreen() {
removeIngamePlayerStateHints = {};
var _local2 = 0;
while (_local2 < conf.ingamePlayerStateHint.length) {
removeIngamePlayerStateHints[conf.ingamePlayerStateHint[_local2]] = [];
_local2++;
}
pokerModel.init();
}
function showWinner(__winArray, __leavers, __newbees, __showCards, __winners) {
dealer.lookForward();
var _local3 = 0;
var _local32 = false;
_local3 = _local3 + showCards(__showCards);
if ((roundObj.foldedCardsCollected < roundObj.foldedCards.length) && (_global.activeScreen.tableCards.length > 0)) {
dealer.sortFoldedCards();
_local3 = _local3 + 18;
}
var _local7 = 0;
while (_local7 < tableChips.length) {
switch (tableChips[_local7].type) {
case "chips" :
tableChips[_local7].mc.mov._rotation = 0;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, tableChips[_local7].mc.mov._parent, "_x", _global.motion.regular.In, conf.chipPotPosition.x, 9);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, tableChips[_local7].mc.mov._parent, "_y", _global.motion.regular.In, conf.chipPotPosition.y, 9);
_global.delayer.callFunction(tableChips[_local7].mc.mov._parent, "removeMovieClip", _local3 + 8, 1);
break;
case "keys" :
tableChips[_local7].mc.mov._rotation = 0;
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, tableChips[_local7].mc.mov, "_x", _global.motion.regular.In, conf.chipPotPosition.x, 9);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, tableChips[_local7].mc.mov, "_y", _global.motion.regular.In, conf.chipPotPosition.y + 50, 9);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, tableChips[_local7].mc.mov, "_rotation", _global.motion.regular.In, 0, 9);
_global.delayer.callFunction(tableChips[_local7].mc.mov, "removeMovieClip", _local3 + 6, 1);
}
_local7++;
}
_local7 = 0;
while (_local7 < pokerModel.players.length) {
var _local11 = pokerModel.players[_local7].view;
var _local21 = 7 + (Math.floor(Math.random() * 20) * _global.careerModel.userProgress.setting.pokerSpeed);
if (_local11.followActivity) {
_local11.lookForward(_local21);
}
_global.delayer.callFunction(_local11, "setFollowActivity", _local21, 1, false);
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, _local11.pildeValueDisplay, "_alpha", _global.motion.none.Out, 0, 5);
_global.delayer.callFunction(_local11.pildeValueDisplay, "removeMovieClip", _local3 + 6, 1);
_local7++;
}
_local7 = 0;
while (_local7 < __leavers.length) {
var _local18 = __leavers[_local7].view;
if (__leavers[_local7].reason == "busted") {
_global.delayer.callFunction(_local18, "showIngamePlayerStateHint", _local3, 1, "Busted");
}
_global.delayer.callFunction(_global.motion, "slide", _local3, 1, _local18.pildeValueDisplay, "_alpha", _global.motion.none.Out, 0, 5);
_global.delayer.callFunction(_local18.pildeValueDisplay, "removeMovieClip", _local3 + 6, 1);
if (__leavers[_local7].reason == "switch") {
_local32 = true;
}
_local7++;
}
_global.delayer.callFunction(this, "showPots", _local3 + 8, 1, __winArray);
var _local26 = 0;
var _local27 = 0;
var _local35 = false;
var _local28 = 0;
var _local33 = new Array();
var _local25 = new Array();
var _local13 = false;
_local7 = 0;
while (_local7 < __winArray.length) {
_local13 = __winArray[_local7].foundHandCards;
var _local22 = _local13.diffNumber;
var _local23 = _local13.handCardAmount;
var _local31 = _local13.length;
var _local8 = 0;
var _local6 = 0;
while (_local6 < _local31) {
_local8 = _local6 + 1;
if (_local8 > _local23) {
if (_local8 > _local22) {
break;
}
}
var _local9 = _local13[_local6];
var _local15 = _local9.cardValue;
var _local14 = _local9.cardColor;
_local25.push((_local15 - 1) + (_local14 * 13));
_local6++;
}
if (!(__winners.inArray(__winArray[_local7].id) === false)) {
_local33.push(__winArray[_local7].id);
}
_local7++;
}
if (_local25.length > 0) {
_global.delayer.callFunction(this, "findAndHighlightCard", _local3 + 5, 1, _local25, _local33, 0, __leavers);
}
_global.delayer.callFunction(this, "updateSteam", _local3 + 5, 1);
if (_local13) {
_local35 = true;
_local3 = _local3 + (80 * _global.careerModel.userProgress.setting.pokerSpeed);
_local28 = Math.floor((80 * _global.careerModel.userProgress.setting.pokerSpeed) / 3);
}
_local7 = 0;
while (_local7 < __winArray.length) {
var _local12 = Math.floor(Math.random() * 8);
if (_local12 > _local27) {
_local27 = _local12;
}
var _local16 = pokerModel.players[__winArray[_local7].id].view;
var _local17 = 0;
var _local19 = 0;
var _local4 = 0;
while (_local4 < _global.pokerModel.playerAmount) {
if ((_global.pokerModel.players[_local4].model.chipAmount != undefined) && (_local4 != __winArray[_local4].id)) {
_local19 = _local19 + _global.pokerModel.players[_local4].model.chipAmount;
_local17++;
}
_local4++;
}
var _local24 = Math.floor(_local19 / _local17);
var _local10 = 0;
if (__winArray[_local7].addChips > __winArray[_local7].betted) {
_local10 = Math.ceil(((__winArray[_local7].addChips - __winArray[_local7].betted) / (_local24 + (((pokerModel.players[__winArray[_local7].id].model.chipAmount - __winArray[_local7].betted) * 3) / 4))) * 5);
}
if (_local10 > 5) {
_local10 = 5;
}
if (_local10 == 5) {
_global.engine.playSfx("SaloonApplause.wav", 0, _global.careerModel.userProgress.setting.soundFx);
}
if (_local10 > 0) {
_local26 = _local16.performDecorationAction("win", ((_local3 + 8) + _local12) - _local28, {amount:100, repeatAmount:_local10});
}
_global.delayer.callFunction(_local16, "performDecorationAction", ((_local3 - 2) + _local12) - _local28, 1, "leanBack", 0, {leanDelay:50});
_global.delayer.callFunction(_local16, "performDecorationAction", ((_local3 + _local26) + (25 + (__winArray.length * 25))) + _local12, 1, "returncards", 0);
_local7++;
}
if (_local35 == true) {
}
_local3 = _local3 + ((_local26 + _local27) + (25 + (__winArray.length * 25)));
if (_global.activeScreen.tableCards.length > 0) {
_global.delayer.callFunction(dealer, "sortTableCards", _local3, 1, 1);
_local3 = _local3 + 13;
}
if ((__newbees.length > 0) || (_local32)) {
_global.delayer.callFunction(_global.pokerView, "showGameTextSequence", 130, 1, [{text:_global.textDb.movingPlayers, type:"tableMove"}], "movePlayers");
_global.delayer.callFunction(_global.pokerView, "removeGameTextSequence", 300, 1, "movePlayers");
}
if ((__leavers.length > 0) || (__newbees.length > 0)) {
_local3 = _local3 + showOptionalLosers(__leavers, __newbees);
}
_global.delayer.callFunction(this, "removeHighLights", _local3, 1);
_global.delayer.callFunction(this, "returnLastPlayerCards", _local3, 1);
_local3 = _local3 + 20;
_global.delayer.callFunction(this, "devidePots", _local3, 1, __winArray);
_local3 = _local3 + 39;
_global.delayer.callFunction(this, "clearLastCards", _local3, 1);
_local3 = _local3 + _global.pokerModel.unLockAchievements(_local3);
_global.delayer.callFunction(this, "removeTheIngamePlayerStateHints", _local3 + 1, 1, "Lucky");
_global.delayer.callFunction(this, "reportViewFinish", _local3 + 1, 1, "winner", 0);
if (_global.pokerModel.skipping) {
_global.model.adjustSpeed(_global.careerModel.userProgress.setting.pokerSpeed);
}
return(_local3);
}
function removeHighLights() {
var _local2 = 0;
while (_local2 < roundObj.highlightedCards.length) {
roundObj.highlightedCards[_local2].glow.gotoAndStop(1);
_local2++;
}
}
function findAndHighlightCard(__cardInHand, __users, __delay, __leavers) {
var _local7;
var _local13;
var _local4;
var _local11;
var _local6;
var _local8;
_local7 = __delay;
roundObj.highlightedCards = new Array();
_local13 = __users.length;
_local8 = new Array();
_local11 = 0;
while (_local11 < _local13) {
_local6 = __users[_local11];
_local4 = pokerModel.players[_local6].view;
if (_local4 == undefined) {
var _local5 = 0;
while (_local5 < __leavers.length) {
if (__leavers[_local5].view.playerNumber == _local6) {
_local4 = __leavers[_local5].view;
}
_local5++;
}
}
var _local3 = 0;
while (_local3 < _local4.cards.length) {
if (!(__cardInHand.inArray(_local4.cards[_local3]._currentframe) === false)) {
_local4.cards[_local3].swapDepths(_local4.cards[_local3]._parent.getNextHighestDepth());
_global.delayer.callFunction(_local4.cards[_local3].glow, "gotoAndPlay", _local7, 1, ((_local6 == _global.userPlayer) ? 53 : 20));
roundObj.highlightedCards.push(_local4.cards[_local3]);
_local7 = _local7 + 3;
} else if (_local4.cards[_local3]._currentframe == 53) {
trace("bug report pokerview 2334324" + __cardInHand);
trace("bug report pokerview 2334324" + __users);
trace("bug report pokerview 2334324");
}
_local3++;
}
_local3 = 0;
for ( ; _local3 < _global.activeScreen.tableCards.length ; _local3++) {
if (_local8[_local3]) {
if (!(_local6 === _global.userPlayer)) {
continue;
}
} else if (!(__cardInHand.inArray(_global.activeScreen.tableCards[_local3]._currentframe) === false)) {
_global.activeScreen.tableCards[_local3].swapDepths(_global.activeScreen.tableCards[_local3]._parent.getNextHighestDepth());
_global.delayer.callFunction(_global.activeScreen.tableCards[_local3].glow, "gotoAndPlay", _local7, 1, ((_local6 == _global.userPlayer) ? 53 : 20));
roundObj.highlightedCards.push(_global.activeScreen.tableCards[_local3]);
_local8[_local3] = true;
if (!_local8[_local3]) {
_local7 = _local7 + 3;
}
}
}
_local11++;
}
}
function reportViewFinish(__mode, __source) {
if (_global.help.view.currentlyDisplayed()) {
_global.delayer.callFunction(this, "reportViewFinish", 10, 1, __mode, __source);
return(null);
}
_global.pokerModel.reportViewFinish(__mode);
}
function dealPlayers(__state, __players) {
_global.delayer.callFunction(dealer.arms_mc, "showMe", 10, 1);
_global.delayer.callFunction(dealer, "dealPlayers", 0, 1, __state, __players);
}
function dealState(__state, __card_array) {
var _local5 = 0;
if (roundObj.foldedCardsCollected < roundObj.foldedCards.length) {
dealer.sortFoldedCards();
_local5 = _local5 + 18;
var _local4 = 0;
while (_local4 < pokerModel.players.length) {
var _local3 = pokerModel.players[_local4].view;
if (Math.floor(Math.random() * 1.2)) {
_local3.setFollowActivity((_local3.followActivity ? false : true));
}
if (_local3.followActivity) {
_global.delayer.callFunction(_local3, "lookForward", 10, 1, 6 + (Math.floor(Math.random() * 10) * _global.careerModel.userProgress.setting.pokerSpeed));
}
_local4++;
}
}
_local5 = _local5 + 3;
_global.delayer.callFunction(dealer, "dealTable", _local5, 1, __state, __card_array);
}
function updateSteam() {
var _local2 = 0;
while (_local2 < pokerModel.players.length) {
pokerModel.players[_local2].view.updateSteam();
_local2++;
}
}
function showPlayersDecisionRequest(__playerIndex, __action, __chipAmount, __houseObj) {
var _local4 = pokerModel.players[__playerIndex].view;
if (((!_local4.tapping) && (__playerIndex != _global.userPlayer)) && (_global.pokerModel.pokerSave.roundObj.playersPlaying[_global.userPlayer].playing)) {
var _local5 = false;
if ((__action == "fold") && (_global.pokerModel.pokerSave.roundObj.playersPlaying[__playerIndex].bet > (_global.pokerModel.pokerSave.roundObj.relevantBet * 5))) {
_local5 = true;
} else if (__chipAmount > (_global.pokerModel.pokerSave.roundObj.relevantBet * 3.5)) {
_local5 = true;
} else if (Math.floor(Math.random() * 1.02)) {
_local5 = true;
}
if (_local5 && (Math.floor(Math.random() * 2))) {
if (Math.floor(Math.random() * 1.9) && (pokerModel.players[__playerIndex].model.chipAmount > 30)) {
_local4.performDecorationAction("waitSpecial1", 0, {hand:"right"});
_global.delayer.callFunction(this, "showPlayersDecision", 127 + (37 * _global.careerModel.userProgress.setting.pokerSpeed), 1, __playerIndex, __action, __chipAmount, __houseObj);
} else {
_local4.performDecorationAction("tabFingersRepetiveInit", 0);
_global.delayer.callFunction(this, "showPlayersDecisionRequest", 25 + (Math.floor(Math.random() * 70) * _global.careerModel.userProgress.setting.pokerSpeed), 1, __playerIndex, __action, __chipAmount, __houseObj);
}
return(null);
}
}
var _local9 = generateUpdatedPileValueDisplays();
if (_local4.tapping) {
_local4.tapping = false;
storedPlayerDec = {playerIndex:__playerIndex, action:__action, chipAmount:__chipAmount, houseObj:__houseObj, updatePileValueDisplay:_local9};
} else {
showPlayersDecision(__playerIndex, __action, __chipAmount, __houseObj, _local9);
}
}
function showPlayersDecision(__playerIndex, __action, __chipAmount, __houseObj, __updatePileValueDisplay) {
var _local4 = pokerModel.players[__playerIndex].view;
dealer.rotateHeadToPosition(_local4.initialX, _local4.initialY, 7 + (Math.floor(Math.random() * 2) * _global.careerModel.userProgress.setting.pokerSpeed));
var _local5 = 0;
while (_local5 < pokerModel.players.length) {
var _local3 = pokerModel.players[_local5].view;
if (_local3.followActivity) {
if (_local4 != _local3) {
_local3.rotateHeadToPosition(_local4.initialX, _local4.initialY, 7 + (Math.floor(Math.random() * 20) * _global.careerModel.userProgress.setting.pokerSpeed));
} else {
_local3.lookForward(10 * _global.careerModel.userProgress.setting.pokerSpeed);
}
}
_local5++;
}
if (_global.userPlayer == __playerIndex) {
delete _local4.memory.lookAtCards;
}
var _local6 = 0;
if (_local4.memory.lookAtCards == "openCards") {
} else if ((_local4.memory.lookAtCards == "beforeDecision") || ((_global.userPlayer != __playerIndex) && (Math.floor(Math.random() * 1.08)))) {
_local6 = _local6 + Math.floor(Math.random() * 10);
_global.delayer.callFunction(_local4, "performDecorationAction", _local6, 1, "lookAtCards");
_local6 = _local6 + 60;
delete _local4.memory.lookAtCards;
}
switch (__action) {
case "check" :
_global.delayer.callFunction(_local4, "performDecorationAction", _local6, 1, "check", 0);
_local6 = _local6 + 20;
break;
case "bet" :
case "call" :
case "allin" :
case "raise" :
var _local7 = __chipAmount;
if (_local7 > 0) {
_global.delayer.callFunction(_local4, "performDecorationAction", _local6, 1, __action, 0, {updatePileValueDisplay:__updatePileValueDisplay, amount:_local7});
_local6 = _local6 + 23;
}
if (__houseObj.house.length > 0) {
_local6 = _local6 + 20;
_global.delayer.callFunction(_local4, "performDecorationAction", _local6, 1, "betHouses", 0, {updatePileValueDisplay:__updatePileValueDisplay, amount:__houseObj.house.length, value:__houseObj.value, houseBetType:__action});
_local6 = _local6 + 35;
}
break;
case "fold" :
_global.delayer.callFunction(_local4, "performDecorationAction", _local6, 1, "fold", 0, {updatePileValueDisplay:__updatePileValueDisplay});
_local6 = _local6 + 20;
}
_global.delayer.callFunction(this, "reportViewFinish", _local6, 1, "playerDecision", 0);
}
}
Symbol 3673 MovieClip [__Packages.as.poker.view.PokerTournamentView] Frame 0
class as.poker.view.PokerTournamentView extends as.poker.view.PokerView
{
var subType, conf, init;
function PokerTournamentView (__iObj) {
super();
subType = "tournament";
conf = new as.conf.poker.view.PokerTournamentconf();
init(__iObj);
}
}
Symbol 3674 MovieClip [__Packages.as.poker.view.PokerCashgameView] Frame 0
class as.poker.view.PokerCashgameView extends as.poker.view.PokerView
{
var subType, conf, init;
function PokerCashgameView (__iObj) {
super();
subType = "cashgame";
conf = new as.conf.poker.view.PokerCashGameconf();
init(__iObj);
}
}
Symbol 3675 MovieClip [__Packages.as.conf.poker.view.PokerCashGameconf] Frame 0
class as.conf.poker.view.PokerCashGameconf extends as.conf.poker.view.PokerGameconf
{
var dealerPosition, foldedCardPosition, chipPotPosition, playerPosition, leaveParameters, chipPosition, cardPosition, buttonPosition, keyPosition, popupPosition, betPosition, tableCardPositions, tabelCardPosition;
function PokerCashGameconf () {
super();
dealerPosition = {x:410, y:460, rotation:180};
foldedCardPosition = {x:400, y:360, rotation:0};
chipPotPosition = {x:400, y:240};
playerPosition = [{x:148, y:335, rotation:-110}, {x:193, y:132, rotation:-45}, {x:390, y:65, rotation:0}, {x:615, y:132, rotation:45}, {x:646, y:337, rotation:110}];
leaveParameters = [{leaveX:148, leaveY:272, leaveDestinationX:-80, leaveDestinationY:272, leaveRotation:-270}, {leaveX:148, leaveY:212, leaveDestinationX:-80, leaveDestinationY:212, leaveRotation:90}, {leaveX:320, leaveY:100, leaveDestinationX:320, leaveDestinationY:-80, leaveRotation:180}, {leaveX:645, leaveY:212, leaveDestinationX:880, leaveDestinationY:212, leaveRotation:-90}, {leaveX:645, leaveY:272, leaveDestinationX:880, leaveDestinationY:272, leaveRotation:270}];
chipPosition = [{x:207, y:303, xDistance:-4, yDistance:-16}, {x:230, y:175, xDistance:13, yDistance:-12}, {x:383, y:128, xDistance:17, yDistance:0}, {x:563, y:173, xDistance:12, yDistance:11}, {x:594, y:305, xDistance:-3, yDistance:14}];
cardPosition = [{x:252, y:303, rotation:75}, {x:265, y:210, rotation:-45}, {x:386, y:172, rotation:0}, {x:535, y:207, rotation:45}, {x:545, y:293, rotation:-65}];
buttonPosition = [{x:245, y:265, rotation:75}, {x:292, y:178, rotation:-45}, {x:432, y:168, rotation:0}, {x:575, y:235, rotation:45}, {x:539, y:333, rotation:-75}];
keyPosition = [{x:261, y:334, rotation:45, rotateToKey:12}, {x:235, y:234, rotation:105, rotateToKey:19}, {x:330, y:154, rotation:180, rotateToKey:25}, {x:520, y:144, rotation:-150, rotateToKey:25}, {x:590, y:260, rotation:-80, rotateToKey:27}];
popupPosition = [{x:151, y:234}, {x:160, y:30}, {x:350, y:30}, {x:580, y:30}, {x:580, y:234}];
betPosition = [{x:280, y:358, rotation:37}, {x:310, y:245, rotation:5}, {x:386, y:220, rotation:0}, {x:496, y:246, rotation:-5}, {x:508, y:358, rotation:-37}];
tableCardPositions = {x:333, y:296, xOffset:32};
tabelCardPosition = new Array();
var _local3 = 0;
while (_local3 < 5) {
tabelCardPosition[_local3] = {x:tableCardPositions.x + (tableCardPositions.xOffset * _local3), y:tableCardPositions.y};
_local3++;
}
}
}
Symbol 3676 MovieClip [__Packages.as.poker.model.PlayerModel] Frame 0
class as.poker.model.PlayerModel
{
var playerView, pokerModel, playerNumber, chipAmount, house, lastRoundAsked, lastStateAsked, allowTrace, conf, pokerLevel, styleId, negLevel, negLevelPerc, winFeel, otherChanceFeel, possCat, oppDiff, oppDiffPerc, chanceCat, cat;
function PlayerModel (__iObj) {
playerView = __iObj.playerView;
pokerModel = __iObj.pokerModel;
playerNumber = __iObj.playerNumber;
chipAmount = __iObj.chipAmount;
playerView.showChips(chipAmount);
house = __iObj.house;
lastRoundAsked = -1;
lastStateAsked = "";
allowTrace = true;
var _var;
_var = as.conf.poker.model.character.Char_thight_a;
_var = as.conf.poker.model.character.Char_loose_a;
_var = as.conf.poker.model.character.Char_thight_p;
_var = as.conf.poker.model.character.Char_loose_p;
var character;
if (!__iObj.level) {
__iObj.level = 0;
}
if (!__iObj.styleId) {
__iObj.styleId = 0;
}
if (__iObj.styleId >= pokerModel.playersChar.length) {
__iObj.styleId = 0;
}
character = pokerModel.playersChar[__iObj.styleId];
if (!character) {
character = "thight_a";
}
var configPath = eval ("as.conf.poker.model.character.Char_" + character);
conf = new configPath(__iObj.level);
_global.devTrace((((playerNumber + " character=") + character) + ", level=") + __iObj.level, "D");
pokerLevel = __iObj.level;
styleId = __iObj.styleId;
negLevel = 10 - pokerLevel;
negLevelPerc = Math.round((negLevel * 100) / 10);
delete playerView.house;
}
function doTrace(__toTrace) {
if (!allowTrace) {
return(undefined);
}
if (!(playerNumber === _global.userPlayer)) {
return(undefined);
}
_global.devTrace("" + __toTrace, "D");
}
function debug_decide(__fullTrace) {
_global.chanceCalculator.getDebugInfo(playerNumber, __fullTrace);
doTrace("------------debug_decide END--------this.playerNumber=" + playerNumber);
}
function decide(__chipsNeededToCall) {
var _local24;
var _local33;
var _local19;
var _local13;
var _local41;
var _local40;
var _local39;
var _local12;
var _local15;
var _local10;
var _local17;
var _local4;
var _local8;
var _local38;
var _local5;
var _local34;
var _local31;
doTrace(((("--------------------playerNumber=" + playerNumber) + "--------__chipsNeededToCall=") + __chipsNeededToCall) + "---------------");
_global.devTrace(playerNumber + " decide-----------", "D");
if (!__chipsNeededToCall) {
__chipsNeededToCall = 0;
}
var _local21 = Number(chipAmount);
if (__chipsNeededToCall > _local21) {
__chipsNeededToCall = _local21;
}
_local15 = pokerModel.pokerSave.roundObj;
_local10 = _local15.state;
_local12 = getGeneralInfoObj(__chipsNeededToCall, _local10);
var _local6 = 0;
var _local7 = new Array();
if (!(lastStateAsked === pokerModel.pokerSave.roundObj.state)) {
_local24 = true;
} else if (!(lastRoundAsked === pokerModel.pokerSave.roundsStarted)) {
_local24 = true;
}
lastStateAsked = pokerModel.pokerSave.roundObj.state;
lastRoundAsked = pokerModel.pokerSave.roundsStarted;
if (_local24) {
if (!_local15.turnObj.actions_array[playerNumber].chance_array) {
_local15.turnObj.actions_array[playerNumber].chance_array = _global.chanceCalculator.getInfo(playerNumber);
}
_local33 = _local15.turnObj.actions_array[playerNumber].chance_array;
_local19 = processRanking(_local33);
_local13 = _local19.feelObj;
winFeel = _local13.winFeelPerc;
otherChanceFeel = _local13.otherChanceFeelPerc;
possCat = _local19.possCat;
oppDiff = _local13.oppDiff;
oppDiffPerc = _local13.oppDiffPerc;
chanceCat = processWinFeel(_local13.winFeelPerc, _local10);
cat = combineFeelAndPossibility(chanceCat, _local19.possCat, _local10);
}
_local17 = __chipsNeededToCall;
if (_local17 > chipAmount) {
_local17 = chipAmount;
}
_local38 = "check";
_local5 = 0;
if (__chipsNeededToCall) {
_local34 = decideToCall(_local12, _local10);
if (_local34) {
_local38 = "call";
_local5 = _local17;
_local12.toSpend = _local12.toSpend - _local17;
} else {
_local38 = "fold";
}
} else {
doTrace("--Debug, can check");
}
if (!(_local38 === "fold")) {
_local31 = decideToRaise(_local12, _local10);
if (_local31) {
var _local30 = getRaiseAmount(_local12, _local10);
if (_local30 > 0) {
_local38 = "raise";
_local5 = _local5 + _local30;
}
}
}
if (!(_local38 === "raise")) {
var _local20 = decideToBluffRaise(_local12, _local10);
if (_local20 > __chipsNeededToCall) {
_global.devTrace("\t\tBluffRaise with " + _local20, "D");
_local38 = "raise";
_local5 = _local20;
}
}
var _local18 = false;
var _local11 = false;
if (_local38 == "raise") {
_local18 = true;
if ((cat >= 8.5) && (!(_local10 === "preflop"))) {
_local11 = true;
}
} else if (_local38 == "call") {
if ((chipAmount - _local5) <= 0) {
if (decideToRaise(_local12, _local10)) {
_local18 = true;
}
}
}
if (_local18) {
_local4 = 0;
_local8 = house.length;
var _local3 = 0;
while (_local3 < _local8) {
if (house[_local3].status == "possession") {
_local4 = house[_local3].value;
if (_local5 >= _local4) {
if (!_local11) {
_local5 = _local5 - _local4;
}
_local6 = _local6 + _local4;
_local7.push(_local3);
}
}
_local3++;
}
}
var _local16 = Number(chipAmount);
var _local26 = (_local5 * 100) / _local16;
if (_local26 > 95) {
_global.devTrace(((playerNumber + "---was bout to bet ") + _local26) + " percentage of his stack, so overwrite to All-in---", "D");
_local5 = _local16;
if ((_local5 + _local6) > __chipsNeededToCall) {
_local38 = "raise";
}
}
if (_local38 == "raise") {
if (_local5 < _local16) {
var _local14 = pokerModel.pokerSave.roundObj.turnObj.minimalBet;
if (!_local14) {
_local14 = 0;
}
var _local25 = _local5 + _local6;
var _local28 = _local25 - __chipsNeededToCall;
if (_local28 < _local14) {
var _local29 = _local14 - _local28;
var _local22 = _local16 - _local5;
var _local23 = ((_local22 < _local29) ? (_local22) : (_local29));
var _local32 = (_local23 * 100) / _local25;
if (_local32 <= 10) {
_local5 = _local5 + _local23;
} else {
_local5 = __chipsNeededToCall;
_local38 = ((__chipsNeededToCall == 0) ? "check" : "call");
_local6 = 0;
_local7 = new Array();
}
}
}
}
if (_local38 == "raise") {
var _local27 = pokerModel.CheckIfRaiseCanBeAllin(playerNumber, _local5 + _local6);
_global.devTrace((playerNumber + " decide canGoAllIn=") + _local27, "D");
if (_local27) {
_local6 = 0;
_local7 = new Array();
_local8 = house.length;
var _local3 = 0;
while (_local3 < _local8) {
if (house[_local3].status == "possession") {
_local4 = house[_local3].value;
_local6 = _local6 + _local4;
_local7.push(_local3);
}
_local3++;
}
_local5 = Number(chipAmount);
}
}
if (_local38 == "fold") {
_local5 = 0;
_local6 = 0;
_local7 = new Array();
}
_global.devTrace((((((((playerNumber + " decide action=") + _local38) + ", addChips=") + _local5) + ", addHouseValue=") + _local6) + ", addHouse=") + _local7, "D");
return({action:_local38, addChips:_local5, houseObj:{value:_local6, house:_local7}});
}
function decideShowOrHideCard() {
if (Math.round(Math.random() * 10) > 3) {
return(false);
}
return(true);
}
function getGeneralInfoObj(__chipsNeededToCall, __stateKind) {
var _local3;
var _local4;
var _local8;
_local4 = pokerModel.pokerSave.roundObj;
_local3 = new Object();
_local3.bigBlindBet = ((_local4.relevantBet < _local4.bigBlindBet) ? (_local4.bigBlindBet) : (_local4.relevantBet));
_local3.toCall = __chipsNeededToCall;
_local3.toSpend = Number(chipAmount);
_local3.blindAmountToCall = Math.round(_local3.toCall / _local3.bigBlindBet);
_local3.playersRaisedInTurn = _local4.turnObj.playersRaised;
_local3.playersTotal = pokerModel.pokerSave.filledSeats.length;
_local3.playersStillPlaying = _local4.playersPlayingAmount;
_local3.playersAmount_aHead = pokerModel.getAmountPlayersAhead(playerNumber);
_global.devTrace((playerNumber + ", infoObj.playersAmount_aHead=") + _local3.playersAmount_aHead, "D");
_local3.playersAmountBeforeMe = (_local3.playersStillPlaying - 1) - _local3.playersAmount_aHead;
_local3.ownTurnBet = _local4.turnObj.actions_array[playerNumber].bet;
_local3.ownTotalRoundBet = _local4.playersPlaying[playerNumber].bet;
_local3.inAfterCall = _local3.ownTotalRoundBet + __chipsNeededToCall;
_local3.ownTotalValueOnTable = _local3.ownTotalRoundBet + __chipsNeededToCall;
_local3.totalTableBet = _local4.totalTableBet;
_local3.profitOnTable = _local4.totalTableBet - _local3.ownTotalRoundBet;
_local3.investPerc = ((_local3.totalTableBet + __chipsNeededToCall) * 100) / _local3.ownTotalValueOnTable;
if ((!__chipsNeededToCall) || (!_local3.ownTotalRoundBet)) {
_local3.percToCall = 0;
} else {
_local3.percToCall = Math.round((_local3.toCall * 100) / _local3.ownTotalRoundBet);
if (_local3.toSpend < _local3.bigBlindBet) {
if (_local3.percToCall > 50) {
_local3.percToCall = 50;
}
}
}
_local3.raisedThisTurn = _local4.turnObj.actions_array[playerNumber].timesRaisedInTurn;
_local3.ranking_baToCall = rankBaToCall(_local3.blindAmountToCall, __stateKind);
_local3.ranking_position = rankPosition(_local3.playersAmount_aHead, _local3.playersStillPlaying - 1);
_local3.ranking_stillPlaying = rankStillPlaying(_local3.playersStillPlaying - 1, _local3.playersTotal - 1);
_local3.ranking_alreadyEnoughIn = rankAlreadyEnoughIn(Math.round(_local3.inAfterCall / _local3.bigBlindBet), __stateKind);
_local3.ranking_alreadyRaised = rankAlreadyRaised(_local3.raisedThisTurn);
_local3.ranking_state = rankState(__stateKind);
_local3.ranking_history_raise = rankHistoryRaise(_local3.playersStillPlaying - 1, __stateKind);
var _local7 = pokerModel.pokerSave.playerBehavior[playerNumber].irritation;
_local3.steamyInflPerc = 0;
if (_local7 >= conf.steamyObj.steamyLevel) {
_local3.steamyInflPerc = 80;
if (_local7 >= conf.steamyObj.tiltLevel) {
_local3.steamyInflPerc = 100;
}
}
return(_local3);
}
function lookupRankingInArray(__value, __lookup_array) {
var _local3;
var _local1;
var _local2;
_local3 = __lookup_array.length;
_local2 = 0;
_local1 = 0;
while (_local1 < _local3) {
if (__value > __lookup_array[_local1]) {
_local2 = _local1;
} else {
break;
}
_local1++;
}
return(_local2);
}
function rankBaToCall(__blindAmountToCall, __stateKind) {
var _local3;
var _local6;
var _local2;
_local3 = conf["rank_" + __stateKind].ranking_baToCall_array;
_local2 = 10 - lookupRankingInArray(__blindAmountToCall, _local3);
return(_local2);
}
function rankPosition(__playersHead, __playersTotal) {
var _local2;
var _local1;
_local2 = (__playersHead * 10) / __playersTotal;
_local1 = 10 - _local2;
return(_local1);
}
function rankStillPlaying(__stillPlaying, __playersTotal) {
var _local2;
var _local1;
_local2 = (__stillPlaying * 10) / __playersTotal;
_local1 = 10 - _local2;
return(_local1);
}
function rankState(__state) {
var _local2;
_local2 = conf.ranking_state_obj[__state];
return(_local2);
}
function rankHistoryRaise(__stillPlaying, __state) {
var _local3;
var _local4;
var _local6;
var _local2;
var _local5;
var _local7;
_local2 = pokerModel.getAmountRaisedInfo(playerNumber);
_local7 = _local2.timesRaisedInTurn / __stillPlaying;
_local5 = _local2.timesRaised / __stillPlaying;
_local4 = 10 - lookupRankingInArray(_local7, conf["rank_" + __state].hist_raiseTurn_array);
_local6 = 10 - lookupRankingInArray(_local5, conf["rank_" + __state].hist_raiseRound_array);
_local3 = (_local4 + _local6) / 2;
return(_local3);
}
function rankAlreadyEnoughIn(__baInAfterCall, __stateKind) {
var _local2;
_local2 = 10 - lookupRankingInArray(__baInAfterCall, conf["rank_" + __stateKind].alreadyEnoughIn_array);
return(_local2);
}
function rankAlreadyRaised(__amountRaisedThisTurn) {
if (!__amountRaisedThisTurn) {
return(undefined);
}
return(3);
}
function processRanking(__ranking_array) {
var _local4;
var _local3;
var _local6;
var _local5;
_local4 = $processRankingToFeel(__ranking_array[0]);
_local3 = $processRankingToPossibility(__ranking_array[__ranking_array.length - 1]);
return({feelObj:_local4, possCat:_local3});
}
function $processRankingToFeel(__rankingObj) {
var _local3;
var _local2;
var _local5;
var _local10;
var _local9;
var _local4;
var _local6;
_local3 = __rankingObj.ownRanking;
_local2 = __rankingObj.otherRanking;
_local5 = __rankingObj.otherHigh;
_local10 = 100 - ((_local5 * 100) / _local2);
_local9 = (_local2 * 100) / _local3;
_local4 = _local3 - _local2;
_local6 = (_local3 * 100) / _local2;
doTrace((((("\t\townRanking=" + _local3) + ", otherRanking=") + _local2) + ", otherHigh=") + _local5);
doTrace((("\t\twinFeelPerc=" + _local10) + ", otherChanceFeelPerc=") + _local9);
doTrace((("\t\topportunityDiff=" + _local4) + ", opportunityDiffPerc=") + _local6);
return({winFeelPerc:_local10, otherChanceFeelPerc:_local9, oppDiff:_local4, oppDiffPerc:_local6});
}
function processWinFeel(__winFeel, __stateKind) {
var _local4;
var _local5;
var _local3;
var _local2;
_local4 = conf["rank_" + __stateKind].ranking_feel_array;
_local5 = _local4.length;
_local3 = 0;
_local2 = 0;
while (_local2 < _local5) {
if (__winFeel > _local4[_local2]) {
_local3 = _local2;
} else {
break;
}
_local2++;
}
doTrace((("\t\t__winFeel=" + __winFeel) + ", winChanceCat=") + _local3);
return(_local3);
}
function $processRankingToPossibility(__rankingObj) {
var _local5;
var _local4;
var _local6;
var _local3;
var _local2;
_local5 = __rankingObj.ownRanking;
_local4 = conf.rankingToPossibility_array;
_local6 = _local4.length;
_local3 = 0;
_local2 = 0;
while (_local2 < _local6) {
if (_local5 > _local4[_local2]) {
_local3 = _local2;
} else {
break;
}
_local2++;
}
doTrace((("\t\townRanking=" + _local5) + ", possCat=") + _local3);
return(_local3);
}
function combineFeelAndPossibility(__feelCat, __possCat, __stateKind) {
var _local6;
var _local5;
var _local3;
var _local2;
var _local4;
_local6 = conf[("feelAndPoss_" + __stateKind) + "_array"];
_local4 = 0;
_local3 = 0;
_local2 = _local6[0];
if (!_local2) {
_local2 = 0;
}
_local4 = _local4 + _local2;
_local3 = _local3 + (_local2 * __feelCat);
_local2 = _local6[1];
if (!_local2) {
_local2 = 0;
}
_local4 = _local4 + _local2;
_local3 = _local3 + (_local2 * __possCat);
_local5 = Math.ceil(_local3 / _local4);
doTrace((((("\t\t__feelCat=" + __feelCat) + ", __possCat=") + __possCat) + ", cat=") + _local5);
return(_local5);
}
function decideToCall(__infoObj, __stateKind) {
var _local6;
var _local22;
var _local13;
var _local18;
var _local3;
var _local12;
var _local19;
var _local23;
var _local10;
var _local11;
var _local8;
var _local5;
var _local9;
var _local7;
var _local17;
var _local16;
var _local14 = Number(chipAmount);
var _local20 = (__infoObj.ownTotalRoundBet * 100) / (__infoObj.ownTotalRoundBet + _local14);
if (_local20 > 85) {
return(true);
}
if ((__infoObj.ownTotalRoundBet > 0) && (_local14 < __infoObj.bigBlindBet)) {
return(true);
}
_local22 = (__infoObj.blindAmountToCall * 100) / 12;
_local13 = (conf.callLimitInfluence * conf.callLimit) / 100;
_local18 = (_local22 * _local13) / 100;
_local3 = (conf.callLimit - (_local13 / 2)) + _local18;
if (_local3 > 8) {
_local3 = 8;
}
if (__infoObj.steamyInflPerc > 0) {
var _local24 = (__infoObj.steamyInflPerc * conf.steamyObj.InflMax_call) / 100;
_local3 = _local3 - _local24;
}
if ((__infoObj.playersRaisedInTurn > 0) || (__stateKind == "preflop")) {
_local12 = pokerModel.getMemoryInfo(playerNumber);
if (_local12) {
_local19 = _local12.average;
_local23 = _local12.averageAsked;
if (__infoObj.playersRaisedInTurn > 0) {
_local17 = conf.mem_reli;
_local16 = conf.maxMem;
} else {
_local17 = conf.mem_reli_noRaise;
_local16 = conf.maxMem_noRaise;
}
_local10 = (_local23 * 100) / conf.mem_reli;
if (_local10 > 100) {
_local10 = 100;
}
_local11 = (_local10 * _local16) / 100;
_local8 = Math.round(20 - _local19);
_local7 = _local3;
if (_local8 > 0) {
_local5 = (_local8 * 100) / 30;
if (_local5 > 100) {
_local5 = 100;
}
_local9 = (_local5 * _local11) / 100;
_local3 = _local3 - _local9;
} else if (__infoObj.playersRaisedInTurn > 0) {
_local8 = _local8 * -1;
_local11 = _local11 / 2;
_local5 = (_local8 * 100) / 30;
if (_local5 > 100) {
_local5 = 100;
}
_local9 = (_local5 * _local11) / 100;
_local3 = _local3 + _local9;
}
}
}
if (_local3 > 8) {
_local3 = 8;
} else if (_local3 < 0) {
_local3 = 0;
}
_local6 = decideBalanceAverage(__infoObj, conf.decideConf[("decision_balance_" + __stateKind) + "_obj"], "toCall");
_global.devTrace((((((playerNumber + " decideToCall , limit=") + _local3) + ", this.conf.callLimit=") + conf.callLimit) + ", decideToCallRanking=") + _local6, "D");
if (((_local6 >= _local3) && (_local6 < _local7)) && (!(_local7 === undefined))) {
_global.devTrace(("***" + playerNumber) + " WILL CALL DUE TO MEMORY TELLING ME NOT TO BELIEVE RAISER", "D");
} else if (((_local6 < _local3) && (_local6 >= _local7)) && (!(_local7 === undefined))) {
_global.devTrace(("***" + playerNumber) + " WILL NOT CALL ANYMORE DUE TO MEMORY TELLING ME TO BELIEVE RAISER", "D");
}
if (_local6 >= _local3) {
return(true);
}
var _local15 = decideToBluffCall(__infoObj, __stateKind, _local6);
if (_local15) {
_global.devTrace(((playerNumber + " --\t decideToBluffCall = ") + _local15) + " --", "D");
return(true);
}
return(false);
}
function decideToBluffCall(__infoObj, __stateKind, __toCallRanking) {
if (__infoObj.investPerc < 110) {
return(false);
}
if (__infoObj.percToCall >= 400) {
return(false);
}
var _local3 = conf.bluffCallLimit;
if (__infoObj.playersStillPlaying > 3) {
_local3 = _local3 + ((_local3 / 12) * (__infoObj.playersStillPlaying - 3));
}
if (__infoObj.investPerc >= 140) {
var _local9 = 1.7;
var _local10 = (__infoObj.percToCall * 100) / 350;
var _local7 = (_local10 * _local9) / 100;
_local3 = _local3 + _local7;
}
var _local5 = Math.round((__infoObj.toCall * 100) / Number(chipAmount));
if (_local5 <= 20) {
var _local11 = 1.4;
var _local8 = 100 - ((_local5 * 100) / 20);
var _local6 = (_local8 * _local11) / 100;
_global.devTrace((((((((playerNumber + " decideToBluffCall percOfStack=") + _local5) + ", catLimit=") + _local3) + ", new catLimit=") + (_local3 - _local6)) + ", this.cat=") + cat, "D");
_local3 = _local3 - _local6;
}
if (cat <= _local3) {
if ((__stateKind == "river") && (possCat > 6)) {
} else {
return(false);
}
}
_global.devTrace((((((((((playerNumber + " decideToBluffCall investPerc=") + __infoObj.investPerc) + ", percToCall=") + __infoObj.percToCall) + ", cat=") + cat) + ", possCat=") + possCat) + ", catLimit=") + _local3, "D");
return(true);
}
function decideToRaise(__infoObj, __stateKind, __force) {
var _local3;
var _local5;
var _local8;
if ((!__infoObj.toSpend) && (!__force)) {
return(false);
}
_local3 = decideBalanceAverage(__infoObj, conf.decideConf[("decision_balance__raise_" + __stateKind) + "_obj"], "toRaise");
_local5 = conf.decideConf[("decision_balance__raise_" + __stateKind) + "_obj"].decideToRaiseAim;
_local8 = calculateSlowPlay(_local3, _local5, __stateKind, __infoObj);
_local3 = _local3 - _local8;
if (_local3 <= 0) {
_local3 = 0;
}
__infoObj.decideToRaiseRanking = _local3;
if (__infoObj.ranking_alreadyRaised) {
var _local6 = _local3 * (__infoObj.ranking_alreadyRaised / 10);
doTrace((("decideToRaise correction=" + _local6) + ", decideToRaiseRanking=") + _local3);
_global.devTrace((((playerNumber + " decideToRaise , correction=") + _local6) + ", decideToRaiseRanking=") + _local3, "D");
_local3 = _local3 - _local6;
if (_local3 < 0) {
_local3 = 0;
}
} else {
_global.devTrace((((playerNumber + " decideToRaise, aim=") + _local5) + ", decideToRaiseRanking=") + _local3, "D");
}
if (__infoObj.steamyInflPerc > 0) {
var _local7 = (__infoObj.steamyInflPerc * conf.steamyObj.InflMax_raise) / 100;
_global.devTrace((((((playerNumber + " decideToRaise STEAMY, steamyInfl=") + _local7) + ", decideToRaiseRanking=") + _local3) + ", NEW decideToRaiseRanking=") + (_local3 + _local7), "D");
_local3 = _local3 + _local7;
}
if (_local3 >= _local5) {
return(true);
}
return(false);
}
function getRaiseAmount(__infoObj, __stateKind) {
var _local4;
var _local5;
var _local8;
var _local11;
var _local7;
var _local6;
var _local3;
_local4 = Math.round(__infoObj.decideToRaiseRanking);
_local5 = conf[("raiseAmountMin_" + __stateKind) + "_array"][_local4];
_local8 = conf[("raiseAmountMax_" + __stateKind) + "_array"][_local4];
_local7 = _local8 - _local5;
_local6 = Math.random() * _local7;
_local3 = Math.round(((_local5 + _local6) * __infoObj.bigBlindBet) / 10) * 10;
_global.devTrace("ratio=" + (1 + (((100 - negLevelPerc) * 0.4) / 100)), "D");
_local3 = Math.round(_local3 * (1 + (((100 - negLevelPerc) * 0.4) / 100)));
doTrace((((((((((("getRaiseAmount amount=" + _local3) + ", ranking=") + _local4) + ", min=") + _local5) + ", max=") + _local8) + ", diff=") + _local7) + ", randomAmount=") + _local6);
if (_local3 <= 0) {
_local3 = 0;
}
return(_local3);
}
function decideToBluffRaise(__infoObj, __stateKind) {
var _local10;
var _local9;
var _local3;
var _local8;
var _local4;
var _local6;
_local9 = 0;
_local3 = 0;
_local8 = pokerModel.pokerSave.roundObj.turnObj;
_local4 = _local8.actions_array[playerNumber];
if ((_local4.bluff == "probe") || (_local4.bluff == "steal")) {
_global.devTrace("DEBUG, Already bluffed so don't bluff anymore(for now)", "D");
return(0);
}
if (_local4.slowPlay) {
_global.devTrace("DEBUG, Already slowplayed so don't bluff anymore(for now)", "D");
return(0);
}
if ((chanceCat >= 7) && (otherChanceFeel > 150)) {
_local4.bluff = "probe";
_local3 = 2;
_global.devTrace(("\t\tdecideToBluffRaise ranking=" + _local3) + ", Probe bet", "D");
} else if ((((oppDiff < 0) && (chanceCat >= 5)) && (otherChanceFeel < 160)) && (!(_local4.bluff === "badFuture"))) {
_local4.bluff = "badFuture";
if (oppDiff > -8) {
_local3 = 1 + Math.round(Math.random() * 2);
} else {
_local3 = 3 + Math.round(Math.random() * 3);
}
_global.devTrace(("\t\tdecideToBluffRaise ranking=" + _local3) + ", Bad future", "D");
} else if ((possCat > 8) && (chanceCat <= 6)) {
_local4.bluff = "goodFuture";
_local3 = 2 + Math.round(Math.random() * 2);
_global.devTrace(("\t\tdecideToBluffRaise ranking=" + _local3) + ", Good future", "D");
} else if (((!_local8.playersRaised) && (cat >= 5)) && (__infoObj.playersAmount_aHead <= (-1 + Math.round(Math.random() * 4)))) {
_local6 = Math.round(Math.random() * 10);
if (_local6 <= conf.bluffConfig.stealMax) {
_local4.bluff = "steal";
_local3 = 1 + Math.round(Math.random() * 3);
_global.devTrace((("\t\tdecideToBluffRaise ranking=" + _local3) + ", Steal.. stealMax=") + conf.bluffConfig.stealMax, "D");
} else if (__infoObj.investPerc >= 240) {
_local4.bluff = "steal";
_local3 = 2 + Math.round(Math.random() * 3);
_global.devTrace((("\t\tdecideToBluffRaise ranking=" + _local3) + ", Steal is worth it: invest=") + __infoObj.investPerc, "D");
} else {
_global.devTrace("\t\tdecideToBluffRaise skipping Steal this time. this.conf.bluffConfig.stealMax=" + conf.bluffConfig.stealMax, "D");
}
} else if ((((oppDiffPerc > 44) && (otherChanceFeel < 500)) && (otherChanceFeel >= 200)) && (_local8.playersRaised < 2)) {
_local6 = Math.round(Math.random() * 10);
var _local7 = conf.bluffConfig.fakeMax;
if (__infoObj.steamyInflPerc >= 80) {
_local7 = _local7 + 1;
}
if (__infoObj.steamyInflPerc == 100) {
_local7 = _local7 + 1;
}
if (_local6 <= _local7) {
_local4.bluff = "faking higher card";
_local3 = 2 + Math.round(Math.random() * 4);
}
}
if (_local3 > 0) {
_local9 = getBluffRaiseAmount(__infoObj, __stateKind, _local3);
}
return(_local9);
}
function getBluffRaiseAmount(__infoObj, __stateKind, __bluffRanking) {
var _local4;
var _local7;
var _local10;
var _local6;
var _local5;
var _local2;
__bluffRanking = Math.round(__bluffRanking);
_local4 = conf.bluffConfig.raiseMin[__stateKind][__bluffRanking];
_local7 = conf.bluffConfig.raiseMax[__stateKind][__bluffRanking];
_local6 = _local7 - _local4;
_local5 = Math.random() * _local6;
_local2 = Math.round(((_local4 + _local5) * __infoObj.bigBlindBet) / 10) * 10;
doTrace((((((((((("getBluffRaiseAmount amount=" + _local2) + ", __bluffRanking=") + __bluffRanking) + ", min=") + _local4) + ", max=") + _local7) + ", diff=") + _local6) + ", randomAmount=") + _local5);
if (_local2 <= 0) {
_local2 = 0;
}
return(_local2);
}
function decideBalanceAverage(__infoObj, __balanceObj, __debugName) {
var _local13;
var _local9;
var _local6;
var _local3;
var _local2;
var _local7;
var _local4;
var _local12;
var _local14;
var _local10;
var _local11;
_local13 = 10 - cat;
_local9 = (_local13 * 5) / 10;
if (_local9 <= 0) {
return(10);
}
_local6 = 0;
_local7 = 0;
for (_local3 in __balanceObj) {
_local4 = __infoObj[_local3];
if (_local4 == undefined) {
continue;
}
_local2 = __balanceObj[_local3];
_local7 = _local7 + (_local4 * _local2);
_local6 = _local6 + _local2;
}
if (!_local6) {
return(cat);
}
_local12 = _local7 / _local6;
_local14 = (_local12 * 100) / 10;
_local10 = (-1 * (_local9 / 2)) + ((_local14 * _local9) / 100);
_local10 = Math.round(_local10 * 100) / 100;
_local11 = cat + _local10;
if (_local11 < 0) {
_local11 = 0;
}
return(_local11);
}
function calculateSlowPlay(__raiseRanking, __aim, __state, __infoObj) {
if (cat < 7) {
return(0);
}
if (winFeel < otherChanceFeel) {
return(0);
}
if (possCat < 6) {
return(0);
}
if (oppDiffPerc < 100) {
return(0);
}
var _local2 = 2;
if (__state == "river") {
_local2 = 0;
if (__infoObj.playersAmount_aHead == 0) {
return(0);
}
}
_local2 = _local2 + Math.round(Math.random() * 2);
doTrace((((("\tcalculateSlowPlay this.cat=" + cat) + ", this.winFeel=") + winFeel) + ", this.otherChanceFeel=") + otherChanceFeel);
doTrace((((("\tcalculateSlowPlay this.possCat=" + possCat) + ", this.oppDiffPerc=") + oppDiffPerc) + ", __state=") + __state);
doTrace((("\tcalculateSlowPlay __raiseRanking=" + __raiseRanking) + " penalty=") + _local2);
pokerModel.pokerSave.roundObj.turnObj.actions_array[playerNumber].slowPlay = true;
return(_local2);
}
function addSteamy(__badBeat) {
var _local4;
var _local9;
var _local10;
var _local7;
var _local8;
var _local3;
var _local5;
var _local6;
if (playerNumber == _global.userPlayer) {
return(undefined);
}
_local4 = pokerModel.pokerSave.roundObj;
_local9 = ((_local4.relevantBet < _local4.bigBlindBet) ? (_local4.bigBlindBet) : (_local4.relevantBet));
_local10 = Math.round(_local4.playersPlaying[playerNumber].bet / _local9);
_local7 = (__badBeat ? (conf.steamyObj.maxBaBadBeat) : (conf.steamyObj.maxBa));
_local8 = (_local10 * 100) / _local7;
_local3 = Math.round(_local8 / conf.steamyObj.stepDevider);
_global.devTrace((((((playerNumber + " addSteamy, stepAmount =") + _local3) + ", maxBa=") + _local7) + ", perc=") + _local8, "D");
if (!_local3) {
_local3 = 0.5;
}
_local5 = pokerModel.pokerSave.playerBehavior[playerNumber];
if (__badBeat) {
_local6 = _local3 * conf.steamyObj.step;
} else {
_local6 = _local3 * conf.steamyObj.stepBadBeat;
}
_local5.irritation = _local5.irritation + _local6;
if (_local5.irritation > 100) {
_local5.irritation = 100;
}
_global.devTrace(((((((playerNumber + " addSteamy, stepAmount=") + _local3) + ", toAdd=") + _local6) + ", new steamy=") + _local5.irritation) + ", >>>>>>>>>>>>>>>>>>>>>", "D");
}
function reduceSteamy(__goodCall) {
var _local3;
var _local5;
var _local4;
var _local7;
var _local6;
if (playerNumber == _global.userPlayer) {
return(undefined);
}
_local3 = pokerModel.pokerSave.playerBehavior[playerNumber];
if (!_local3.irritation) {
return(undefined);
}
if (__goodCall) {
_local4 = pokerModel.pokerSave.roundObj;
_local7 = ((_local4.relevantBet < _local4.bigBlindBet) ? (_local4.bigBlindBet) : (_local4.relevantBet));
_local6 = Math.round(_local4.playersPlaying[playerNumber].bet / _local7);
if (!_local6) {
return(undefined);
}
if (_local6 > 3) {
_local6 = 3;
}
_local5 = conf.steamyObj.reductionGoodCall * _local6;
} else {
_local5 = conf.steamyObj.reduction;
}
if (_local3.irritation > conf.steamyObj.steamyLevel) {
_local5 = _local5 * conf.steamyObj.reductionRatioWhenSteamed;
}
_local3.irritation = _local3.irritation - _local5;
if (_local3.irritation < 0) {
_local3.irritation = 0;
}
_global.devTrace((((playerNumber + " reduceSteamy, new irritation=") + _local3.irritation) + ", reduction was =") + _local5, "D");
}
}
Symbol 3677 MovieClip [__Packages.as.conf.poker.model.character.Char_thight_a] Frame 0
class as.conf.poker.model.character.Char_thight_a
{
var callLimit, callLimitInfluence, bluffCallLimit, rankingToPossibility_array, feelAndPoss_preflop_array, feelAndPoss_flop_array, feelAndPoss_turn_array, feelAndPoss_river_array, raiseAmountMin_preflop_array, raiseAmountMin_flop_array, raiseAmountMin_turn_array, raiseAmountMin_river_array, raiseAmountMax_preflop_array, raiseAmountMax_flop_array, raiseAmountMax_turn_array, raiseAmountMax_river_array, bluffConfig, ranking_state_obj, rank_preflop, rank_flop, rank_turn, rank_river, decideConf, slowPlay_obj, steamyObj, maxMem, mem_reli, mem_reli_noRaise, maxMem_noRaise;
function Char_thight_a (__level) {
if (!__level) {
__level = 0;
}
var _local4 = 10 - __level;
var _local2 = Math.round((_local4 * 100) / 10);
callLimit = 4.6 - (Math.round(((_local2 * 0.2) / 100) * 10) / 10);
callLimitInfluence = 20;
bluffCallLimit = 3;
rankingToPossibility_array = [20, 23, 28, 32, 36, 40, 42, 44, 46, 48, 50];
feelAndPoss_preflop_array = [1, 9];
feelAndPoss_flop_array = [5, 5];
feelAndPoss_turn_array = [7, 3];
feelAndPoss_river_array = [9, 0];
raiseAmountMin_preflop_array = [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2];
raiseAmountMin_flop_array = [0, 0, 0, 0, 0, 0, 1, 1.5, 2, 2.5, 2];
raiseAmountMin_turn_array = [0, 0, 0, 0, 0, 1, 1.5, 1.5, 2, 2, 2.5];
raiseAmountMin_river_array = [0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 6];
raiseAmountMax_preflop_array = [0, 0, 0, 0, 0, 0, 3, 6, 7, 13, 15];
raiseAmountMax_flop_array = [0, 0, 0, 0, 0, 0, 4, 7, 7, 10, 13];
raiseAmountMax_turn_array = [0, 0, 0, 0, 1, 5, 6.5, 8, 8, 10, 25];
raiseAmountMax_river_array = [0, 0, 0, 0, 2, 5, 10, 12, 20, 25, 30];
bluffConfig = new Object();
bluffConfig.raiseMin = new Object();
bluffConfig.raiseMax = new Object();
bluffConfig.raiseMin.preflop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 4];
bluffConfig.raiseMax.preflop = [1, 3, 6, 6, 6, 7, 8, 9, 20, 25];
bluffConfig.raiseMin.flop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.flop = [1, 4, 3, 4, 3, 4, 5, 6, 23, 25];
bluffConfig.raiseMin.turn = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.turn = [1, 3, 2, 2, 3, 4, 5, 6, 23, 25];
bluffConfig.raiseMin.river = [0, 0, 0.5, 1, 2, 2, 2.5, 3, 3, 5];
bluffConfig.raiseMax.river = [1, 3, 2, 2, 3, 4, 5, 6, 26, 30];
bluffConfig.stealMaxConfig = 5;
bluffConfig.stealMax = Math.round(Math.random() * bluffConfig.stealMaxConfig) + 4;
bluffConfig.fakeMaxConfig = 5;
bluffConfig.fakeMax = Math.round(Math.random() * bluffConfig.fakeMaxConfig) + 4;
ranking_state_obj = {preflop:3, flop:5, turn:7, river:8};
rank_preflop = new Object();
rank_flop = new Object();
rank_turn = new Object();
rank_river = new Object();
rank_preflop.ranking_feel_array = [0, 2, 5, 10, 15, 20, 25, 34, 50, 75, 85];
rank_flop.ranking_feel_array = [0, 6, 28, 35, 40, 45, 55, 65, 70, 80, 95];
rank_turn.ranking_feel_array = [0, 10, 15, 30, 42, 50, 64, 73, 82, 90, 95];
rank_river.ranking_feel_array = [0, 10, 15, 30, 42, 55, 60, 64, 73, 82, 90];
rank_preflop.ranking_baToCall_array = [0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8];
rank_flop.ranking_baToCall_array = [0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
rank_turn.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_river.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_preflop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_flop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_turn.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_river.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_preflop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_flop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_turn.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_river.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_preflop.alreadyEnoughIn_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_flop.alreadyEnoughIn_array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
rank_turn.alreadyEnoughIn_array = [2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18];
rank_river.alreadyEnoughIn_array = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 20];
decideConf = new Object();
decideConf.decision_balance_preflop_obj = {ranking_baToCall:14, ranking_position:3, ranking_stillPlaying:2};
decideConf.decision_balance_flop_obj = {ranking_baToCall:6, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_turn_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_river_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:4};
decideConf.decision_balance__raise_preflop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:5, ranking_stillPlaying:4, ranking_state:10, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_flop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_turn_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_river_obj = {decideToRaiseAim:6.4, ranking_baToCall:6, ranking_position:4, ranking_stillPlaying:4, ranking_state:5, ranking_history_raise:4, ranking_alreadyEnoughIn:2};
slowPlay_obj = {preflop:8, flop:7, turn:5, river:1};
steamyObj = new Object();
steamyObj.steamyLevel = 60 - Math.round((_local2 * 20) / 100);
steamyObj.tiltLevel = 80 - Math.round((_local2 * 18) / 100);
steamyObj.step = 6 + Math.round((_local2 * 15) / 100);
steamyObj.maxBa = 15 - Math.round((_local2 * 11) / 100);
steamyObj.reduction = 8 - Math.round((_local2 * 5) / 100);
steamyObj.reductionGoodCall = 5 - Math.round((_local2 * 3) / 100);
steamyObj.reductionRatioWhenSteamed = 7;
steamyObj.stepBadBeat = 5 + Math.round((_local2 * 4) / 100);
steamyObj.maxBaBadBeat = 20 - Math.round((_local2 * 6) / 100);
steamyObj.steamyDiffMax = 100 - steamyObj.steamyLevel;
steamyObj.stepDevider = 10 - Math.round((_local2 * 5) / 100);
steamyObj.InflMax_call = 0.8 + Math.round((_local2 * 0.5) / 100);
steamyObj.InflMax_raise = 1.2 + Math.round((_local2 * 0.9) / 100);
maxMem = 2.5 - ((_local2 * 1) / 100);
mem_reli = 15;
mem_reli_noRaise = 1;
maxMem_noRaise = 3;
}
}
Symbol 3678 MovieClip [__Packages.as.conf.poker.model.character.Char_loose_a] Frame 0
class as.conf.poker.model.character.Char_loose_a
{
var callLimit, callLimitInfluence, bluffCallLimit, rankingToPossibility_array, feelAndPoss_preflop_array, feelAndPoss_flop_array, feelAndPoss_turn_array, feelAndPoss_river_array, raiseAmountMin_preflop_array, raiseAmountMin_flop_array, raiseAmountMin_turn_array, raiseAmountMin_river_array, raiseAmountMax_preflop_array, raiseAmountMax_flop_array, raiseAmountMax_turn_array, raiseAmountMax_river_array, bluffConfig, ranking_state_obj, rank_preflop, rank_flop, rank_turn, rank_river, decideConf, slowPlay_obj, steamyObj, maxMem, mem_reli, mem_reli_noRaise, maxMem_noRaise;
function Char_loose_a (__level) {
if (!__level) {
__level = 0;
}
var _local4 = 10 - __level;
var _local2 = Math.round((_local4 * 100) / 10);
callLimit = 4.2 - (Math.round(((_local2 * 0.3) / 100) * 10) / 10);
callLimitInfluence = 20;
bluffCallLimit = 2.8;
rankingToPossibility_array = [15, 20, 23, 28, 32, 36, 40, 42, 44, 46, 48, 50];
feelAndPoss_preflop_array = [1, 9];
feelAndPoss_flop_array = [5, 5];
feelAndPoss_turn_array = [7, 3];
feelAndPoss_river_array = [9, 0];
raiseAmountMin_preflop_array = [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2];
raiseAmountMin_flop_array = [0, 0, 0, 0, 0, 0, 1, 1.5, 2, 2.5, 2];
raiseAmountMin_turn_array = [0, 0, 0, 0, 0, 1, 1.5, 1.5, 2, 2, 2.5];
raiseAmountMin_river_array = [0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3.5];
raiseAmountMax_preflop_array = [0, 0, 0, 0, 0, 0, 1, 2, 3, 3.5, 4];
raiseAmountMax_flop_array = [0, 0, 0, 0, 0, 0, 2, 2.5, 3, 3.5, 5];
raiseAmountMax_turn_array = [0, 0, 0, 0, 1, 2, 2.5, 3, 3.5, 4, 6];
raiseAmountMax_river_array = [0, 0, 0, 0, 2, 2.5, 3, 4, 5, 6, 10];
bluffConfig = new Object();
bluffConfig.raiseMin = new Object();
bluffConfig.raiseMax = new Object();
bluffConfig.raiseMin.preflop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 4];
bluffConfig.raiseMax.preflop = [1, 1.5, 2, 2, 3, 4, 5, 6, 7, 8];
bluffConfig.raiseMin.flop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.flop = [1, 2, 3, 4, 3, 4, 5, 6, 7, 8];
bluffConfig.raiseMin.turn = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.turn = [1, 1.5, 2, 2, 3, 4, 5, 6, 7, 8];
bluffConfig.raiseMin.river = [0, 0, 0.5, 1, 2, 2, 2.5, 3, 3, 3];
bluffConfig.raiseMax.river = [1, 1.5, 2, 2, 3, 4, 5, 6, 7, 8];
bluffConfig.stealMaxConfig = 6;
bluffConfig.stealMax = Math.round(Math.random() * bluffConfig.stealMaxConfig) + 3;
bluffConfig.fakeMaxConfig = 6;
bluffConfig.fakeMax = Math.round(Math.random() * bluffConfig.fakeMaxConfig) + 3;
ranking_state_obj = {preflop:3, flop:5, turn:7, river:8};
rank_preflop = new Object();
rank_flop = new Object();
rank_turn = new Object();
rank_river = new Object();
rank_preflop.ranking_feel_array = [0, 2, 5, 10, 15, 20, 25, 34, 50, 75, 85];
rank_flop.ranking_feel_array = [0, 6, 28, 35, 40, 45, 55, 65, 70, 80, 95];
rank_turn.ranking_feel_array = [0, 10, 15, 30, 42, 50, 64, 73, 82, 90, 95];
rank_river.ranking_feel_array = [0, 10, 15, 30, 42, 55, 60, 64, 73, 82, 90];
rank_preflop.ranking_baToCall_array = [0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8];
rank_flop.ranking_baToCall_array = [0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
rank_turn.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_river.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_preflop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_flop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_turn.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_river.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_preflop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_flop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_turn.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_river.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_preflop.alreadyEnoughIn_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_flop.alreadyEnoughIn_array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
rank_turn.alreadyEnoughIn_array = [2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18];
rank_river.alreadyEnoughIn_array = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 20];
decideConf = new Object();
decideConf.decision_balance_preflop_obj = {ranking_baToCall:14, ranking_position:3, ranking_stillPlaying:2};
decideConf.decision_balance_flop_obj = {ranking_baToCall:6, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_turn_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_river_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:4};
decideConf.decision_balance__raise_preflop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:5, ranking_stillPlaying:4, ranking_state:10, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_flop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_turn_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_river_obj = {decideToRaiseAim:6.4, ranking_baToCall:6, ranking_position:4, ranking_stillPlaying:4, ranking_state:5, ranking_history_raise:4, ranking_alreadyEnoughIn:2};
slowPlay_obj = {preflop:6, flop:4, turn:3, river:1};
steamyObj = new Object();
steamyObj.steamyLevel = 60 - Math.round((_local2 * 20) / 100);
steamyObj.tiltLevel = 80 - Math.round((_local2 * 18) / 100);
steamyObj.step = 6 + Math.round((_local2 * 15) / 100);
steamyObj.maxBa = 15 - Math.round((_local2 * 11) / 100);
steamyObj.reduction = 8 - Math.round((_local2 * 4) / 100);
steamyObj.reductionGoodCall = 5 - Math.round((_local2 * 3) / 100);
steamyObj.reductionRatioWhenSteamed = 7;
steamyObj.stepBadBeat = 5 + Math.round((_local2 * 4) / 100);
steamyObj.maxBaBadBeat = 20 - Math.round((_local2 * 6) / 100);
steamyObj.steamyDiffMax = 100 - steamyObj.steamyLevel;
steamyObj.stepDevider = 10 - Math.round((_local2 * 5) / 100);
steamyObj.InflMax_call = 0.8 + Math.round((_local2 * 0.5) / 100);
steamyObj.InflMax_raise = 1.2 + Math.round((_local2 * 0.9) / 100);
maxMem = 2.5 - ((_local2 * 1) / 100);
mem_reli = 15;
mem_reli_noRaise = 5;
maxMem_noRaise = 3;
}
}
Symbol 3679 MovieClip [__Packages.as.conf.poker.model.character.Char_thight_p] Frame 0
class as.conf.poker.model.character.Char_thight_p
{
var callLimit, callLimitInfluence, bluffCallLimit, rankingToPossibility_array, feelAndPoss_preflop_array, feelAndPoss_flop_array, feelAndPoss_turn_array, feelAndPoss_river_array, raiseAmountMin_preflop_array, raiseAmountMin_flop_array, raiseAmountMin_turn_array, raiseAmountMin_river_array, raiseAmountMax_preflop_array, raiseAmountMax_flop_array, raiseAmountMax_turn_array, raiseAmountMax_river_array, bluffConfig, ranking_state_obj, rank_preflop, rank_flop, rank_turn, rank_river, decideConf, slowPlay_obj, steamyObj, maxMem, mem_reli, mem_reli_noRaise, maxMem_noRaise;
function Char_thight_p (__level) {
if (!__level) {
__level = 0;
}
var _local4 = 10 - __level;
var _local2 = Math.round((_local4 * 100) / 10);
callLimit = 4.9 - (Math.round(((_local2 * 0.3) / 100) * 10) / 10);
callLimitInfluence = 20;
bluffCallLimit = 3.3;
rankingToPossibility_array = [20, 23, 28, 32, 36, 40, 42, 44, 46, 48, 50];
feelAndPoss_preflop_array = [1, 9];
feelAndPoss_flop_array = [5, 5];
feelAndPoss_turn_array = [7, 3];
feelAndPoss_river_array = [9, 0];
raiseAmountMin_preflop_array = [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2];
raiseAmountMin_flop_array = [0, 0, 0, 0, 0, 0, 1, 1.5, 2, 2.5, 2];
raiseAmountMin_turn_array = [0, 0, 0, 0, 0, 1, 1.5, 1.5, 2, 2, 2.5];
raiseAmountMin_river_array = [0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 6];
raiseAmountMax_preflop_array = [0, 0, 0, 0, 0, 0, 3, 6, 7, 13, 15];
raiseAmountMax_flop_array = [0, 0, 0, 0, 0, 0, 4, 7, 7, 10, 13];
raiseAmountMax_turn_array = [0, 0, 0, 0, 1, 5, 6.5, 8, 8, 10, 25];
raiseAmountMax_river_array = [0, 0, 0, 0, 2, 5, 8, 10, 15, 20, 30];
bluffConfig = new Object();
bluffConfig.raiseMin = new Object();
bluffConfig.raiseMax = new Object();
bluffConfig.raiseMin.preflop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 4];
bluffConfig.raiseMax.preflop = [1, 3, 6, 6, 6, 7, 8, 9, 20, 25];
bluffConfig.raiseMin.flop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.flop = [1, 4, 3, 4, 3, 4, 5, 6, 23, 25];
bluffConfig.raiseMin.turn = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.turn = [1, 3, 2, 2, 3, 4, 5, 6, 23, 25];
bluffConfig.raiseMin.river = [0, 0, 0.5, 1, 2, 2, 2.5, 3, 3, 5];
bluffConfig.raiseMax.river = [1, 3, 2, 2, 3, 4, 5, 6, 26, 30];
bluffConfig.stealMaxConfig = 2;
bluffConfig.stealMax = Math.round(Math.random() * bluffConfig.stealMaxConfig) + 1;
bluffConfig.fakeMaxConfig = 3;
bluffConfig.fakeMax = Math.round(Math.random() * bluffConfig.fakeMaxConfig) + 1;
ranking_state_obj = {preflop:3, flop:5, turn:7, river:8};
rank_preflop = new Object();
rank_flop = new Object();
rank_turn = new Object();
rank_river = new Object();
rank_preflop.ranking_feel_array = [0, 2, 5, 10, 15, 20, 25, 34, 50, 75, 85];
rank_flop.ranking_feel_array = [0, 6, 28, 35, 40, 45, 55, 65, 70, 80, 95];
rank_turn.ranking_feel_array = [0, 10, 15, 30, 42, 50, 64, 73, 82, 90, 95];
rank_river.ranking_feel_array = [0, 10, 15, 30, 42, 55, 60, 64, 73, 82, 90];
rank_preflop.ranking_baToCall_array = [0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8];
rank_flop.ranking_baToCall_array = [0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
rank_turn.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_river.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_preflop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_flop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_turn.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_river.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_preflop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_flop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_turn.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_river.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_preflop.alreadyEnoughIn_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_flop.alreadyEnoughIn_array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
rank_turn.alreadyEnoughIn_array = [2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18];
rank_river.alreadyEnoughIn_array = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 20];
decideConf = new Object();
decideConf.decision_balance_preflop_obj = {ranking_baToCall:14, ranking_position:3, ranking_stillPlaying:2};
decideConf.decision_balance_flop_obj = {ranking_baToCall:6, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_turn_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_river_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:4};
decideConf.decision_balance__raise_preflop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:5, ranking_stillPlaying:4, ranking_state:10, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_flop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_turn_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_river_obj = {decideToRaiseAim:6.4, ranking_baToCall:6, ranking_position:4, ranking_stillPlaying:4, ranking_state:5, ranking_history_raise:4, ranking_alreadyEnoughIn:2};
slowPlay_obj = {preflop:8, flop:7, turn:5, river:1};
steamyObj = new Object();
steamyObj.steamyLevel = 60 - Math.round((_local2 * 20) / 100);
steamyObj.tiltLevel = 80 - Math.round((_local2 * 18) / 100);
steamyObj.step = 6 + Math.round((_local2 * 15) / 100);
steamyObj.maxBa = 15 - Math.round((_local2 * 11) / 100);
steamyObj.reduction = 8 - Math.round((_local2 * 4) / 100);
steamyObj.reductionGoodCall = 5 - Math.round((_local2 * 3) / 100);
steamyObj.reductionRatioWhenSteamed = 7;
steamyObj.stepBadBeat = 5 + Math.round((_local2 * 4) / 100);
steamyObj.maxBaBadBeat = 20 - Math.round((_local2 * 6) / 100);
steamyObj.steamyDiffMax = 100 - steamyObj.steamyLevel;
steamyObj.stepDevider = 10 - Math.round((_local2 * 5) / 100);
steamyObj.InflMax_call = 0.8 + Math.round((_local2 * 0.5) / 100);
steamyObj.InflMax_raise = 1.2 + Math.round((_local2 * 0.9) / 100);
maxMem = 2.5 - ((_local2 * 1) / 100);
mem_reli = 15;
mem_reli_noRaise = 1;
maxMem_noRaise = 3;
}
}
Symbol 3680 MovieClip [__Packages.as.conf.poker.model.character.Char_loose_p] Frame 0
class as.conf.poker.model.character.Char_loose_p
{
var callLimit, callLimitInfluence, bluffCallLimit, rankingToPossibility_array, feelAndPoss_preflop_array, feelAndPoss_flop_array, feelAndPoss_turn_array, feelAndPoss_river_array, raiseAmountMin_preflop_array, raiseAmountMin_flop_array, raiseAmountMin_turn_array, raiseAmountMin_river_array, raiseAmountMax_preflop_array, raiseAmountMax_flop_array, raiseAmountMax_turn_array, raiseAmountMax_river_array, bluffConfig, ranking_state_obj, rank_preflop, rank_flop, rank_turn, rank_river, decideConf, slowPlay_obj, steamyObj, maxMem, mem_reli, mem_reli_noRaise, maxMem_noRaise;
function Char_loose_p (__level) {
if (!__level) {
__level = 0;
}
var _local4 = 10 - __level;
var _local2 = Math.round((_local4 * 100) / 10);
callLimit = 4.4 - (Math.round(((_local2 * 0.2) / 100) * 10) / 10);
callLimitInfluence = 25;
bluffCallLimit = 2.9;
rankingToPossibility_array = [20, 23, 28, 32, 36, 40, 42, 44, 46, 48, 50];
feelAndPoss_preflop_array = [1, 9];
feelAndPoss_flop_array = [5, 5];
feelAndPoss_turn_array = [7, 3];
feelAndPoss_river_array = [9, 0];
raiseAmountMin_preflop_array = [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2];
raiseAmountMin_flop_array = [0, 0, 0, 0, 0, 0, 1, 1.5, 2, 2.5, 2];
raiseAmountMin_turn_array = [0, 0, 0, 0, 0, 1, 1.5, 1.5, 2, 2, 2.5];
raiseAmountMin_river_array = [0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3.5];
raiseAmountMax_preflop_array = [0, 0, 0, 0, 0, 0, 1, 2, 3, 3.5, 4];
raiseAmountMax_flop_array = [0, 0, 0, 0, 0, 0, 2, 2.5, 3, 3.5, 5];
raiseAmountMax_turn_array = [0, 0, 0, 0, 1, 2, 2.5, 3, 3.5, 4, 6];
raiseAmountMax_river_array = [0, 0, 0, 0, 2, 2.5, 3, 4, 5, 6, 10];
bluffConfig = new Object();
bluffConfig.raiseMin = new Object();
bluffConfig.raiseMax = new Object();
bluffConfig.raiseMin.preflop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 4];
bluffConfig.raiseMax.preflop = [1, 1.5, 2, 2, 3, 4, 5, 6, 7, 8];
bluffConfig.raiseMin.flop = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.flop = [1, 2, 3, 4, 3, 4, 5, 6, 7, 8];
bluffConfig.raiseMin.turn = [0, 0, 0.5, 1, 2, 2, 2.5, 2, 3, 3];
bluffConfig.raiseMax.turn = [1, 1.5, 2, 2, 3, 4, 5, 6, 7, 8];
bluffConfig.raiseMin.river = [0, 0, 0.5, 1, 2, 2, 2.5, 3, 3, 3];
bluffConfig.raiseMax.river = [1, 1.5, 2, 2, 3, 4, 5, 6, 7, 8];
bluffConfig.stealMaxConfig = 2;
bluffConfig.stealMax = Math.round(Math.random() * bluffConfig.stealMaxConfig) + 1;
bluffConfig.fakeMaxConfig = 3;
bluffConfig.fakeMax = Math.round(Math.random() * bluffConfig.fakeMaxConfig) + 1;
ranking_state_obj = {preflop:3, flop:5, turn:7, river:8};
rank_preflop = new Object();
rank_flop = new Object();
rank_turn = new Object();
rank_river = new Object();
rank_preflop.ranking_feel_array = [0, 2, 5, 10, 15, 20, 25, 34, 50, 75, 85];
rank_flop.ranking_feel_array = [0, 6, 28, 35, 40, 45, 55, 65, 70, 80, 95];
rank_turn.ranking_feel_array = [0, 10, 15, 30, 42, 50, 64, 73, 82, 90, 95];
rank_river.ranking_feel_array = [0, 10, 15, 30, 42, 55, 60, 64, 73, 82, 90];
rank_preflop.ranking_baToCall_array = [0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8];
rank_flop.ranking_baToCall_array = [0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
rank_turn.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_river.ranking_baToCall_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_preflop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_flop.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_turn.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_river.hist_raiseTurn_array = [0, 0, 0, 0.1, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7];
rank_preflop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_flop.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_turn.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_river.hist_raiseRound_array = [0, 0, 0, 0.1, 0.25, 0.5, 0.6, 0.7, 0.5, 0.6, 0.7];
rank_preflop.alreadyEnoughIn_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
rank_flop.alreadyEnoughIn_array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
rank_turn.alreadyEnoughIn_array = [2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18];
rank_river.alreadyEnoughIn_array = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 20];
decideConf = new Object();
decideConf.decision_balance_preflop_obj = {ranking_baToCall:14, ranking_position:3, ranking_stillPlaying:2};
decideConf.decision_balance_flop_obj = {ranking_baToCall:6, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_turn_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:3};
decideConf.decision_balance_river_obj = {ranking_baToCall:5, ranking_position:3, ranking_stillPlaying:4};
decideConf.decision_balance__raise_preflop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:5, ranking_stillPlaying:4, ranking_state:10, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_flop_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_turn_obj = {decideToRaiseAim:6.4, ranking_baToCall:5, ranking_position:4, ranking_stillPlaying:4, ranking_state:4, ranking_history_raise:3, ranking_alreadyEnoughIn:3};
decideConf.decision_balance__raise_river_obj = {decideToRaiseAim:6.4, ranking_baToCall:6, ranking_position:4, ranking_stillPlaying:4, ranking_state:5, ranking_history_raise:4, ranking_alreadyEnoughIn:2};
slowPlay_obj = {preflop:6, flop:4, turn:3, river:1};
steamyObj = new Object();
steamyObj.steamyLevel = 60 - Math.round((_local2 * 20) / 100);
steamyObj.tiltLevel = 80 - Math.round((_local2 * 18) / 100);
steamyObj.step = 6 + Math.round((_local2 * 15) / 100);
steamyObj.maxBa = 15 - Math.round((_local2 * 11) / 100);
steamyObj.reduction = 8 - Math.round((_local2 * 4) / 100);
steamyObj.reductionGoodCall = 5 - Math.round((_local2 * 3) / 100);
steamyObj.reductionRatioWhenSteamed = 7;
steamyObj.stepBadBeat = 5 + Math.round((_local2 * 4) / 100);
steamyObj.maxBaBadBeat = 20 - Math.round((_local2 * 6) / 100);
steamyObj.steamyDiffMax = 100 - steamyObj.steamyLevel;
steamyObj.stepDevider = 10 - Math.round((_local2 * 5) / 100);
steamyObj.InflMax_call = 0.8 + Math.round((_local2 * 0.5) / 100);
steamyObj.InflMax_raise = 1.2 + Math.round((_local2 * 0.9) / 100);
maxMem = 2.5 - ((_local2 * 1) / 100);
mem_reli = 15;
mem_reli_noRaise = 5;
maxMem_noRaise = 3;
}
}
Symbol 3681 MovieClip [__Packages.as.poker.model.PokerModel] Frame 0
class as.poker.model.PokerModel extends as.poker.model.PokerModelBase
{
var pokerSave, players, setPlayerDealing, getEndFixForNum, unLockAchievements, playerAmount, getWinnersFromCards, returnPlayerCards, returnTableCards, fixedCards, setPlayerModel, dealer;
function PokerModel () {
super();
}
function getRankingArray() {
_global.pokerModel.setFilledSeats();
var _local7;
var _local3;
var _local8;
_local7 = new Array();
var _local4 = 0;
while (_local4 < pokerSave.otherTable.length) {
var _local5 = 0;
while (_local5 < pokerSave.otherTable[_local4].players.length) {
_local3 = pokerSave.otherTable[_local4].players[_local5];
_local7.push({name:_local3.name, chipAmount:_local3.chipAmount, table:1 + _local4});
_local5++;
}
_local4++;
}
var _local6 = 0;
while (_local6 < pokerSave.filledSeats.length) {
_local3 = players[pokerSave.filledSeats[_local6]];
_local8 = _local3.model.chipAmount;
if (!pokerSave.roundObj.finished) {
_local8 = _local8 + pokerSave.roundObj.playersPlaying[_local3.model.playerNumber].bettedChips;
}
_local7.push({view:_local3.view, hat:_local3.view.hat, name:_local3.view.name, chipAmount:_local8, table:0});
_local6++;
}
_local7.sortOn("chipAmount", Array.DESCENDING | Array.NUMERIC);
return(_local7);
}
function init() {
_global.activeScreen.displayTableAssets();
initPlayers();
setPlayerDealing(((pokerSave.tableType == "tournament") ? (Math.floor(Math.random() * 8)) : (Math.floor(Math.random() * 5))));
pokerSave.roundsStarted = 0;
}
function finishPokerGame(__fObj) {
if (!pokerSave.totalCash) {
return(null);
}
var _local25 = 0;
var _local28 = 0;
var _local9 = 0;
var _local7 = [];
var _local31 = {lose:[], won:[], balance:0};
var _local27 = "";
var _local33 = pokerSave.totalCash;
var _local13 = _global.activeScreen.userModel;
var _local19 = _global.careerModel.userProgress.currentPosition.eventType;
if (_global.careerModel.userProgress.currentPosition.quickGame) {
_local19 = "tournament";
}
switch (_local19) {
case "cashGame" :
var _local14 = _global.careerModel.getCityConfig(_global.careerModel.conf.city[_global.careerModel.userProgress.currentPosition.townId].title);
var _local10 = _local13.house;
var _local3 = [];
var _local4 = [];
var _local6 = 0;
while (_local6 < _local10.length) {
_local3.push(_local10[_local6].id);
_local6++;
}
_local6 = 0;
while (_local6 < _global.careerModel.userProgress.possession.house.length) {
var _local5 = _global.careerModel.userProgress.possession.house[_local6];
if ((!(_local14.propertyId.inArray(_local5) === false)) && (_global.careerModel.conf.propertySpec[_local5].lockcashgame != true)) {
_local4.push(_local5);
}
_local6++;
}
var _local34 = {won:[], lose:[]};
_local6 = 0;
while (_local6 < _local4.length) {
if (_local3.inArray(_local4[_local6]) === false) {
_local31.lose.push(_local4[_local6]);
_local31.balance = _local31.balance - _global.careerModel.getHouseValueFromId(_local4[_local6]);
}
_local6++;
}
_local6 = 0;
while (_local6 < _local3.length) {
if (_local4.inArray(_local3[_local6]) === false) {
_local31.won.push(_local3[_local6]);
_local31.balance = _local31.balance + _global.careerModel.getHouseValueFromId(_local3[_local6]);
}
_local6++;
}
_local28 = pokerSave.filledSeats.length;
if (_local13.chipAmount == undefined) {
_local9 = -pokerSave.totalCash;
} else {
_local9 = _local13.chipAmount - pokerSave.totalCash;
}
_local7 = [];
if ((_local9 + _local31.balance) > 0) {
_local7.push({text:_global.textDb.toCongratulations + "...", type:"won"});
} else if ((_local9 + _local31.balance) < 0) {
_local7.push({text:_global.textDb.toBad + "...", type:"losed"});
}
var _local17 = "";
var _local32 = [];
if (_local9 > 0) {
_local17 = "won";
_local7.push({text:_global.textDb.youWon.split("[whatIsChanged]").join("$" + _local9)});
} else {
_local17 = "losed";
var _local21 = pokerSave.totalCash - _local13.chipAmount;
if (_local13.chipAmount == undefined) {
_local21 = pokerSave.totalCash;
}
_local7.push({text:_global.textDb.youLost.split("[whatIsChanged]").join("$" + _local21)});
}
if (_local31.lose.length > 0) {
var _local15 = "";
if (_local17 == "losed") {
_local15 = _global.textDb.extraChange;
} else {
_local15 = _global.textDb.youLost;
}
var _local22 = _local31.lose.length;
_local15 = _local15.split("[whatIsChanged]").join(((_local22 > 1) ? (_global.textDb.multipleHouses.split("[amount]").join(_local22)) : (_global.textDb.oneHouse)));
_local7.push({text:_local15});
}
if (_local31.won.length > 0) {
var _local15 = "";
if (_local17 == "won") {
_local15 = _global.textDb.extraChange;
} else {
_local15 = _global.textDb.youWon;
}
var _local20 = _local31.won.length;
_local15 = _local15.split("[whatIsChanged]").join(((_local20 > 1) ? (_global.textDb.multipleHouses.split("[amount]").join(_local20)) : (_global.textDb.oneHouse)));
_local7.push({text:_local15});
}
_local27 = ((_local9 > 0) ? "won" : (((_local9 == 0) ? "tie" : "losed")));
break;
case "transport" :
if ((_local13.chipAmount / 2) == pokerSave.totalCash) {
_local27 = "won";
_local28 = 1;
_local9 = 0;
if (_global.careerModel.userProgress.currentPosition.governorCashgame == true) {
_global.engine.playSfx("governorPlayerWin", 0, 100);
_local7.push({text:_global.textDb.toCongratulations, type:"won"});
_local7.push({text:_global.textDb.youWonGovernor});
} else {
_local7.push({text:_global.textDb.toCongratulations, type:"won"});
_local7.push({text:_global.textDb.youWonA.split("[whatIsChanged]").join(_global.textDb["Transport" + _global.careerModel.conf.transport[_global.careerModel.userProgress.possession.transport + 1]].toLowerCase())});
}
} else {
if ((_global.careerModel.userProgress.currentPosition.governorCashgame == true) || (_global.careerModel.userProgress.currentPosition.townId == 0)) {
_global.engine.playSfx("governorPlayerLose", 0, 100);
}
_local27 = "losed";
_local28 = 2;
_local9 = _local9 - pokerSave.totalCash;
_local7.push({text:_global.textDb.toBad, type:"losed"});
}
break;
default :
_global.pokerModel.setFilledSeats();
var _local16 = _global.model.conf.winPerc;
if (pokerSave.startPlayerAmount < 9) {
_local16 = _global.model.conf.winPerc8orless;
}
_local33 = pokerSave.totalCash / pokerSave.startPlayerAmount;
if (!(pokerSave.playerPlace === undefined)) {
_local28 = pokerSave.playerPlace;
} else {
_local28 = pokerSave.filledSeats.length;
if (pokerSave.filledSeats.inArray(_global.userPlayer) === false) {
_local28 = _local28 + 1;
}
_local6 = 0;
while (_local6 < pokerSave.otherTable.length) {
_local28 = _local28 + pokerSave.otherTable[_local6].players.length;
_local6++;
}
if (__fObj.place) {
_local28 = __fObj.place;
}
if (__fObj.playersDidBetter) {
_local28 = _local28 + __fObj.playersDidBetter;
}
}
if ((_local28 <= 6) && (_local16[_local28 - 1])) {
pokerSave.roundObj.achievement.push(_local28 - 1);
}
if (_local16[_local28 - 1]) {
_local9 = Math.floor((pokerSave.totalCash / 100) * _local16[_local28 - 1]);
if (_local28 == 1) {
_local7.push({text:_global.textDb.toAmazing + "!!! ", type:"won"});
} else {
_local7.push({text:_global.textDb.toCongratulations + ", ", type:"won"});
}
_local7[0].text = _local7[0].text + ((_global.textDb[("e" + _local28) + "e"] + " ") + _global.textDb.place);
_local7.push({text:_global.textDb.youWon.split("[whatIsChanged]").join(_local9 + "$")});
} else {
var _local37 = [];
var _local11 = _local28.toString();
var _local12 = [];
var _local8 = 0;
while (_local11.charAt(_local8)) {
_local12.push("p" + _local11.charAt(_local8));
_local8++;
}
_local12.push(getEndFixForNum(_local28));
_local12.push("space");
_local12.push("place");
_local7.push({text:_global.textDb.toBad + ", ", type:"losed"});
_local7[0].text = _local7[0].text + ((_global.textDb.eedefault.split("[amount]").join(_local28) + " ") + _global.textDb.place);
_local9 = 0;
}
_local27 = ((_local9 > 0) ? "won" : "losed");
}
delete pokerSave.totalCash;
delete pokerSave.userModel;
var _local23 = unLockAchievements(0);
_global.delayer.callFunction(_global.pokerView, "showGameTextSequence", _local23 + 0, 1, _local7, "winOrLose");
_global.model.adjustSpeed(_global.careerModel.userProgress.setting.pokerSpeed);
var _local18 = (_local23 + _local25) + (200 * _global.careerModel.userProgress.setting.pokerSpeed);
_global.delayer.callFunction(_global.engine, "stopAmbience", _local18 - 2, 1, 0);
_global.delayer.callFunction(_global.model, "finishPokerGame", _local18, 1, {houseChange:_local31, place:_local28, result:_local27, won:_local9, roundsPlayed:pokerSave.roundsStarted, buyin:_local33});
}
function processToMemory(__playerId, __action) {
var _local2;
var _local3;
_local2 = pokerSave.memory[__playerId];
_local2.total[__action]++;
_local2.total.total++;
_local3 = _local2[pokerSave.roundObj.state];
_local3[__action]++;
_local3.total++;
}
function getMemoryInfo(__excludedPlayer) {
var _local11;
var _local2;
var _local7;
var _local14;
var _local3;
var _local4;
var _local6;
var _local10;
var _local5;
var _local12;
var _local9;
_local11 = new Object();
_local12 = 0;
_local9 = 0;
_local14 = 0;
_local4 = pokerSave.roundObj;
_local10 = pokerSave.roundObj.state;
_local2 = __excludedPlayer + 1;
while (!(_local2 === __excludedPlayer)) {
if (_local2 >= playerAmount) {
if (!_local7) {
_local2 = 0;
_local7 = true;
} else {
break;
}
}
if (players[_local2]) {
_local6 = _local4.playersPlaying[_local2];
_local3 = false;
if (_local6.allIn) {
_local3 = true;
} else if (_local4.turnObj.actions_array[_local2].asked == false) {
_local3 = false;
} else if (_local4.turnObj.actions_array[_local2].bet >= _local4.turnObj.highestBet) {
_local3 = true;
}
if (_local3) {
_local5 = calculateAverageRaised(_local2, _local10);
if (_local5.total < 5) {
} else {
_local12 = _local12 + _local5.perc;
_local9 = _local9 + _local5.total;
_local14++;
}
}
}
_local2++;
}
if (!_local14) {
return(false);
}
_local12 = _local12 / _local14;
_local9 = _local9 / _local14;
if (!_local14) {
return(false);
}
return({average:_local12, averageAsked:_local9, amount:_local14});
}
function calculateAverageRaised(__playerId, __state) {
var _local4;
var _local2;
var _local6;
var _local3;
var _local5;
var _local7;
_local4 = pokerSave.memory[__playerId];
_local2 = _local4[__state];
_local6 = _local2.total;
_local3 = _local2.reRaised;
_local5 = _local2.raised + _local3;
_local7 = Math.round((_local5 * 100) / _local6);
return({perc:_local7, total:_local6});
}
function getShowCard_array() {
var _local5;
var _local13;
var _local6;
var _local12;
var _local2;
var _local8;
var _local14;
var _local4;
var _local15;
var _local7;
var _local11;
var _local3;
_local5 = pokerSave.roundObj.turnObj.highestBetOwner;
_local13 = pokerSave.roundObj.turnObj.highestBet;
_local6 = [{id:_local5, mode:"show"}];
_local7 = new Array();
_local7[_local5] = true;
_local12 = 0;
_local2 = _local5 + 1;
while (!(_local2 === _local5)) {
if (_local2 >= playerAmount) {
if (!_local8) {
_local2 = 0;
_local8 = true;
} else {
break;
}
}
_local4 = pokerSave.roundObj.playersPlaying[_local2];
if (_local4.playing) {
if (_local4.bet >= _local13) {
_local7[_local2] = true;
_local6.push({id:_local2, mode:"show"});
}
}
_local2++;
}
_local11 = pokerSave.roundObj.playersAllIn_array;
_local12 = _local11.length;
_local2 = _local12 - 1;
while (_local2 >= 0) {
_local3 = _local11[_local2];
if (_local7[_local3]) {
} else {
_local6.push({id:_local3, mode:"show"});
}
_local2--;
}
return(_local6);
}
function checkForIrritation(__showCards) {
var _local19;
var _local8;
var _local2;
var _local4;
var _local17;
var _local7;
var _local12;
var _local21;
var _local14;
var _local3;
var _local10;
var _local9;
var _local5;
var _local11;
var _local16;
var _local18;
var _local22;
var _local6;
var _local15;
var _local20;
if ((!__showCards) || (!__showCards.length)) {
return(undefined);
}
_local19 = __showCards.length;
_local8 = new Array();
_local2 = 0;
while (_local2 < _local19) {
if (__showCards[_local2].mode == "show") {
if (__showCards[_local2].id == undefined) {
} else {
_local8.push(__showCards[_local2].id);
}
}
_local2++;
}
_local17 = _local8.length;
if (!_local17) {
return(undefined);
}
_local7 = new Array();
_local12 = getWinnersFromCards(true);
_local21 = _local12.length;
_local2 = 0;
while (_local2 < _local21) {
_local14 = _local12[_local2].length;
_local4 = 0;
while (_local4 < _local14) {
_local3 = _local12[_local2][_local4];
_local7[_local3] = _local2;
_local4++;
}
_local2++;
}
_local11 = pokerSave.roundObj.turnObj.winner[0];
_local16 = _local11.length;
_local18 = new Array();
_local2 = 0;
while (_local2 < _local16) {
_local18[_local11[_local2]] = true;
_local2++;
}
_local22 = pokerSave.filledSeats.length;
_local2 = 0;
while (_local2 < _local22) {
_local3 = pokerSave.filledSeats[_local2];
if (!(_local8.inArray(_local3) === false)) {
} else {
_local9 = _local7[_local3];
if (_local18[_local3]) {
players[_local3].model.reduceSteamy(true);
} else if (_local9 == undefined) {
} else {
_local10 = true;
_local4 = 0;
while (_local4 < _local17) {
_local6 = _local8[_local4];
if (_local6 == _local3) {
} else {
_local5 = _local7[_local6];
if ((!(_local5 === undefined)) && (_local9 > _local5)) {
_local10 = false;
break;
}
}
_local4++;
}
if (_local10) {
players[_local3].model.addSteamy();
} else {
players[_local3].model.reduceSteamy(true);
}
}
}
_local2++;
}
_local15 = pokerSave.roundObj.winnersToBe[0];
if (_local15) {
_local11 = pokerSave.roundObj.turnObj.winner[0];
_local20 = _local15.length;
_local16 = _local11.length;
_local2 = 0;
while (_local2 < _local20) {
_local3 = _local15[_local2];
if (_local11.inArray(_local3) === false) {
players[_local3].view.showBadBeat(0);
players[_local3].model.addSteamy(true);
}
_local2++;
}
_local2 = 0;
while (_local2 < _local16) {
_local3 = _local11[_local2];
if (_local15.inArray(_local3) === false) {
players[_local3].view.showLucky(0);
players[_local3].model.reduceSteamy(true);
}
_local2++;
}
}
}
function reduceSteamy() {
var _local4;
var _local2;
var _local3;
_local4 = pokerSave.filledSeats.length;
_local2 = 0;
while (_local2 < _local4) {
_local3 = pokerSave.filledSeats[_local2];
players[_local3].model.reduceSteamy();
_local2++;
}
}
function checkForBluffAward() {
var _local8;
var _local6;
var _local10;
var _local12;
var _local11;
var _local9;
var _local3;
var _local5;
var _local4;
var _local7;
_local8 = _global.userPlayer;
_local6 = returnPlayerCards(_local8);
_local10 = returnTableCards();
_local12 = _local6.concat(_local10);
_local11 = _global.chanceCalculator.$getBestHand(_local12, _local6);
_local9 = _local11.foundHand;
if ((_local9[0] == 0) && (!(_local9[0] === undefined))) {
_local3 = pokerSave.roundObj;
_local5 = _local3.turnObj;
_local4 = _local5.highestBet - _local5.previousHighestBet;
if ((!_local4) || (_local4 < 0)) {
return(undefined);
}
_local7 = ((_local3.relevantBet < _local3.bigBlindBet) ? (_local3.bigBlindBet) : (_local3.relevantBet));
if ((_local4 / _local7) > 3) {
var _local13 = _local3.totalTableBet - _local3.playersPlaying[_local8].bet;
if ((_local13 / _local7) > 5) {
_global.devTrace("pokerModel checkForBluffAward bluffAward activated", "D");
pokerSave.roundObj.achievement.push(15);
}
}
}
}
function CheckIfRaiseCanBeAllin(__ownIndex, __betToAdd) {
var _local11;
var _local12;
var _local6;
var _local2;
var _local13;
var _local3;
var _local9;
var _local10;
var _local7;
var _local4;
var _local5;
var _local8;
_local11 = pokerSave.roundObj;
_local12 = _local11.playersPlaying[__ownIndex].bet + __betToAdd;
_local13 = pokerSave.filledSeats.length;
_local6 = 0;
while (_local6 < _local13) {
_local3 = pokerSave.filledSeats[_local6];
if (_local3 == __ownIndex) {
} else if (pokerSave.roundObj.playersPlaying[_local3].playing) {
_local9 = _local11.playersPlaying[_local3].bet;
_local10 = players[_local3].model.chipAmount;
_local7 = 0;
_local4 = players[_local3].model.house;
_local5 = _local4.length;
if (_local5 > 0) {
_local2 = _local5 - 1;
while (_local2 >= 0) {
if (_local4[_local2].status == "possession") {
_local7 = _local7 + _local4[_local2].value;
}
_local2--;
}
}
_local8 = (_local9 + _local10) + _local5;
if (_local8 > _local12) {
return(false);
}
}
_local6++;
}
return(true);
}
function spliceFixedCard(__cardNumber) {
var _local8;
var _local7;
var _local10;
var _local11;
var _local2;
var _local5;
var _local6;
var _local3;
var _local4;
_local8 = pokerSave.roundObj.deck.length;
_local7 = undefined;
if (!(__cardNumber === undefined)) {
_local2 = 0;
while (_local2 < _local8) {
if (pokerSave.roundObj.deck[_local2].cardNumber == __cardNumber) {
_local7 = _local2;
break;
}
_local2++;
}
}
if (!(_local7 === undefined)) {
_local10 = pokerSave.roundObj.deck.splice(_local7, 1);
} else {
_local5 = false;
_local6 = fixedCards.length;
do {
while (!_local5) {
_local3 = Math.floor(Math.random() * pokerSave.roundObj.deck.length);
_local4 = false;
_local2 = 0;
while (_local2 < _local6) {
if (!fixedCards[_local2].length) {
} else if (fixedCards[_local2].inArray(_local3) === false) {
} else {
_local4 = true;
break;
}
_local2++;
}
if (!_local4) {
if (fixedCards.table.length >= 1) {
} while (!(fixedCards.table.inArray(_local3) === false));
}
_local5 = true;
}
}
_local10 = pokerSave.roundObj.deck.splice(_local3, 1);
}
_local11 = _local10[0];
return(_local11);
}
function generateLosers() {
var _local8 = [];
pokerSave.roundObj.losers = [];
var _local3 = 0;
while (_local3 < playerAmount) {
if (players[_local3].model.chipAmount == 0) {
if (_local3 == _global.userPlayer) {
pokerSave.roundObj.playerBusted = true;
}
_local8.push({reason:"busted", model:players[_local3].model, view:players[_local3].view, position:_local3});
players[_local3] = undefined;
}
_local3++;
}
return(_local8);
}
function initPlayers() {
var _local3;
var _local4;
var _local6 = new as.conf.poker.model.PlayerConf();
players = new Array();
_local3 = 0;
while (_local3 < playerAmount) {
var _local5 = (_global.careerModel.userProgress.currentPosition.pokerGame.players[_local3].chipAmount > 0) || (_global.careerModel.userProgress.currentPosition.pokerGame.roundObj.playersPlaying[_local3].bet > 0);
if (((!_global.careerModel.userProgress.currentPosition.pokerGame) || (_global.careerModel.userProgress.currentPosition.quickGame)) || ((_global.careerModel.userProgress.currentPosition.pokerGame.players[_local3].chipAmount > 0) || (_global.careerModel.userProgress.currentPosition.pokerGame.roundObj.playersPlaying[_local3].bet > 0))) {
_local4 = new Object();
_local4.view = _global.activeScreen.setPlayer(_local3, "snap");
if (_local4.view != undefined) {
_local4.model = setPlayerModel(_local4.view, _local3);
if (_global.userPlayer == _local3) {
_global.activeScreen.choiceNavigation.player = _local4.model;
}
players.push(_local4);
} else {
players.push(undefined);
}
} else {
players.push(undefined);
}
_local3++;
}
dealer = _global.activeScreen.setDealer(_local3);
}
}
Symbol 3682 MovieClip [__Packages.as.view.menu.DefaultConfirm] Frame 0
class as.view.menu.DefaultConfirm extends as.view.menu.Menu
{
var popupObj, conf, showMenu, layerBg, menuLoad;
function DefaultConfirm (__popupObj) {
super();
popupObj = __popupObj;
conf = {bgString:"menuConfirmBack", position:{x:222, y:280}, options:["Ok", "Cancel"], button:{startX:24, startY:92, colAmount:2, xoffset:160, yoffset:40}};
if (__popupObj.noCancel) {
conf.options.pop();
conf.button.startX = conf.button.startX + 80;
}
}
function initMenu() {
showMenu("Main");
layerBg.menuMainBg.title_txt.htmlText = popupObj.title;
menuLoad.baseClass = this;
if (popupObj.catchPress) {
menuLoad.onPress = function () {
this.baseClass.processOk();
};
menuLoad.useHandCursor = false;
}
}
function processOk() {
popupObj.target[popupObj.func]();
_global.view.resetConfirm();
return(true);
}
function processCancel() {
_global.view.resetConfirm();
return(true);
}
}
Symbol 3683 MovieClip [__Packages.as.career.view.governorScreen] Frame 0
class as.career.view.governorScreen
{
var menuLoad, layerButton, animation, scoreBfr;
function governorScreen () {
}
function initScreen() {
menuLoad = _global.view.menuLoader;
layerButton = menuLoad.createEmptyMovieClip("btn" + menuLoad.getNextHighestDepth(), menuLoad.getNextHighestDepth());
animation = _global.view.loader.attachMovie("governorScreen", "governorScreen", _global.view.loader.getNextHighestDepth(), {_x:0, _y:0});
score = (0);
_global.motion.slide(this, "score", _global.motion.strong.In, _global.careerModel.userProgress.achievement.score, 60);
var _local3;
if (_global.highscoreType && (_global.h_id)) {
_local3 = layerButton.attachMovie("defaultButton", "buttonHs", layerButton.getNextHighestDepth(), {_x:458, _y:442});
_local3.nameS = "Highscore";
_local3.menu = this;
}
_local3 = layerButton.attachMovie("defaultButton", "buttonMm", layerButton.getNextHighestDepth(), {_x:458, _y:482});
_local3.nameS = "close";
_local3.menu = this;
}
function set score(t) {
scoreBfr = t;
animation.score_txt.text = Math.floor(t);
//return(score);
}
function get score() {
return(scoreBfr);
}
function select(__mode) {
switch (__mode) {
case "close" :
delete _global.sc;
delete _global.resetSave;
delete _global.resetSave;
delete _global.selectPerson;
delete _global.soundOff;
_global.model.resetPlayer();
_global.main.reset();
_global.model.startIntro();
break;
case "Highscore" :
layerButton.buttonHs._visible = false;
_global.view.showHighscore("submit");
}
}
}
Symbol 3684 MovieClip [__Packages.as.view.menu.CareerPropertiesMenu] Frame 0
class as.view.menu.CareerPropertiesMenu extends as.view.menu.Menu
{
var conf, showMenu, layerBg, selectRadioOption, layerButton, radioOptions;
function CareerPropertiesMenu () {
super();
conf = new as.conf.view.CareerPropertiesMenuconf();
}
function initMenu() {
showMenu("CareerProperties");
layerBg.menuMainBg.easy_txt.text = _global.textDb.Easy;
layerBg.menuMainBg.medium_txt.text = _global.textDb.Medium;
layerBg.menuMainBg.hard_txt.text = _global.textDb.Hard;
layerBg.menuMainBg.badPlayer_txt.text = _global.textDb.EasyDescription;
layerBg.menuMainBg.averagePlayer_txt.text = _global.textDb.MediumDescription;
layerBg.menuMainBg.bestPlayer_txt.text = _global.textDb.HardDescription;
}
function processEasy() {
selectRadioOption(1, 0);
return(true);
}
function processMedium() {
selectRadioOption(1, 1);
return(true);
}
function processHard() {
selectRadioOption(1, 2);
return(true);
}
function processMale() {
selectRadioOption(0, 1);
return(true);
}
function processFemale() {
selectRadioOption(0, 0);
return(true);
}
function processOk() {
_global.careerModel.setUserProperties({gender:conf.radioOptions[0][radioOptions[0]].title, difficulty:conf.radioOptions[1][radioOptions[1]].title, userName:layerButton.buttonUserName.title});
return(true);
}
function processCancel() {
_global.model.createMainMenu();
return(true);
}
function btnsSet() {
layerButton.buttonOk.swapDepths(layerButton.getNextHighestDepth());
}
}
Symbol 3685 MovieClip [__Packages.as.conf.view.CareerPropertiesMenuconf] Frame 0
class as.conf.view.CareerPropertiesMenuconf extends as.conf.view.Menuconf
{
var options, button, bgString, alternativeButton, radioOptions, position, autoSelect;
function CareerPropertiesMenuconf () {
super();
options = new Array("Cancel", "Ok");
button = {startX:24, startY:302, colAmount:2, xoffset:160, yoffset:40};
bgString = "menuCareerPropSeqBg";
alternativeButton = [{linkage:"transOptionButton", x:34, y:80, height:65, width:110, type:"invisibleHit", name:"Easy"}, {linkage:"transOptionButton", x:34, y:150, height:65, width:110, type:"invisibleHit", name:"Medium"}, {linkage:"transOptionButton", x:34, y:220, height:65, width:110, type:"invisibleHit", name:"Hard"}];
radioOptions = [[], [{title:"Easy", x:29, y:90}, {title:"Medium", x:29, y:160}, {title:"Hard", x:29, y:230}]];
position = {x:222, y:80};
autoSelect = ["Easy"];
if (_global.sc) {
autoSelect.push("Ok");
}
}
}
Symbol 3686 MovieClip [__Packages.as.model.Help] Frame 0
class as.model.Help
{
var view, conf;
function Help () {
view = new as.view.Help();
conf = new as.conf.Helpconf();
}
function request(__rObj) {
if (!(_global.careerModel.userProgress.possession.helpShown.inArray(__rObj.id) === false)) {
return(false);
}
if ((!_global.careerModel.userProgress.setting.help) && (!conf.helpMessages[__rObj.id].forceShow)) {
return(false);
}
if (view.currentlyDisplayed() || (_global.activeMenu.menuName == "Achievement")) {
_global.delayer.callFunction(this, "request", 5, 1, __rObj);
return(false);
}
if (_global.sc) {
if (!conf.helpMessages[__rObj.id].blockBlock) {
_global.careerModel.userProgress.possession.helpShown.push(__rObj.id);
}
}
switch (__rObj.id) {
case 9 :
case 10 :
_global.view.loader.DynamicTopMenu.lockedDown = true;
_global.view.loader.DynamicTopMenu.lockDown();
}
__rObj.title = conf.helpMessages[__rObj.id].title;
__rObj.content = conf.helpMessages[__rObj.id].content;
for (var _local4 in __rObj.replaceContent) {
__rObj.content = __rObj.content.split(("[" + _local4) + "]").join(__rObj.replaceContent[_local4]);
}
__rObj.size = conf.helpMessages[__rObj.id].size;
__rObj.circle = conf.helpMessages[__rObj.id].circle;
view.show(__rObj);
return(true);
}
function toggleHelp(__mode) {
_global.careerModel.userProgress.setting.help = false;
}
function setUsed(__id) {
if (_global.careerModel.userProgress.possession.helpShown.inArray(__id) === false) {
if (!conf.helpMessages[__id].blockBlock) {
_global.careerModel.userProgress.possession.helpShown.push(__id);
}
}
switch (__id) {
case 8 :
_global.careerModel.setGameOver();
break;
case 9 :
if (_global.careerModel.userProgress.possession.helpShown.inArray(10) === false) {
_global.careerModel.userProgress.possession.helpShown.push(10);
}
break;
case 10 :
if (!(_global.careerModel.userProgress.possession.helpShown.inArray(9) === false)) {
break;
}
_global.careerModel.userProgress.possession.helpShown.push(9);
}
}
function removeUsed(__id) {
var _local2 = _global.careerModel.userProgress.possession.helpShown.inArray(__id);
if (!(_local2 === false)) {
_global.careerModel.userProgress.possession.helpShown.splice(_local2, 1);
}
}
}
Symbol 3687 MovieClip [__Packages.as.view.Help] Frame 0
class as.view.Help
{
var currentId, helpMain, textLoader, toggleMc;
function Help () {
}
function show(__sObj) {
currentId = __sObj.id;
helpMain = _global.view.help.attachMovie("helpMain" + __sObj.circle, "helpMain", 1, {_x:400, _y:300});
_global.motion.slide(helpMain, "_x", _global.motion.regular.Out, __sObj.x, 6 * _global.model.speed);
_global.motion.slide(helpMain, "_y", _global.motion.regular.Out, __sObj.y, 6 * _global.model.speed);
_global.engine.playSfx("Hint pop up.wav", 0, _global.careerModel.userProgress.setting.soundFx);
_global.delayer.callFunction(this, "showText", 10 * _global.model.speed, 1, __sObj);
roundAn1 = (1);
roundAn2 = (1);
_global.motion.slide(this, "roundAn1", _global.motion.none.Out, 40, 8 * _global.model.speed);
_global.motion.slide(this, "roundAn2", _global.motion.strong.Out, __sObj.size, 18 * _global.model.speed);
if (_global.model.speed > 5) {
select();
}
}
function currentlyDisplayed() {
if (helpMain) {
return(true);
}
return(false);
}
function set roundAn1(t) {
helpMain.roundAnimation.gotoAndStop(Math.ceil(t));
//return(roundAn1);
}
function get roundAn1() {
return(helpMain.roundAnimation._currentframe);
}
function set roundAn2(t) {
helpMain.roundAnimation.circle.animation.gotoAndStop(Math.ceil(t));
//return(roundAn2);
}
function get roundAn2() {
return(helpMain.roundAnimation.circle.animation._currentframe);
}
function showText(__sObj) {
var _local15;
var _local11;
var _local9;
var _local8;
_local15 = "bottom";
_local11 = "textHelpHolderHorizontal";
_local9 = -255;
_local8 = 67 + ((40 - __sObj.size) * 4.3);
if (__sObj.circle == 1) {
_local8 = _local8 - (20 + ((40 - __sObj.size) * 1.5));
}
if (__sObj.y > 300) {
_local15 = "top";
_local11 = "textHelpHolderHorizontalTop";
_local9 = -255;
_local8 = -236 - ((40 - __sObj.size) * 4.3);
if (__sObj.circle == 1) {
_local8 = _local8 + (20 + ((40 - __sObj.size) * 1.5));
}
}
if (__sObj.x > 450) {
_local9 = -255 - (__sObj.x - 450);
}
if (__sObj.x < 350) {
_local9 = -255 + (350 - __sObj.x);
}
var _local4 = textLoader.attachMovie(_local11, "textHelpHolder", 1, {_x:_local9, _y:_local8});
setText(__sObj);
_global.delayer.callFunction(this, "setText", 4 * _global.model.speed, 1, __sObj);
_global.delayer.callFunction(this, "setText", 8 * _global.model.speed, 1, __sObj);
switch (__sObj.id) {
case 0 :
var _local5 = 0;
var _local12 = 0;
switch (_global.careerModel.userProgress.setting.Language) {
case "Nl" :
_local5 = _local5 + 30;
break;
case "Fr" :
_local5 = _local5 - 206;
_local12 = _local12 + 25;
break;
case "De" :
_local5 = _local5 + 76;
break;
case "It" :
_local5 = _local5 + 130;
break;
case "En" :
case "Us" :
case "Gb" :
_local5 = _local5 + 44;
break;
case "Es" :
_local5 = _local5 + 94;
}
_local4 = textLoader.textHelpHolder.attachMovie("CityAttentionMark", "CityAttentionMark", textLoader.textHelpHolder.getNextHighestDepth(), {_x:377 + _local5, _y:136 + _local12, _xscale:90});
_local4.gotoAndStop(1);
break;
case 1 :
var _local17 = textLoader.textHelpHolder.attachMovie("ingamePlayerStateHint", "ingamePlayerStateHint", textLoader.textHelpHolder.getNextHighestDepth(), {_x:290, _y:136});
break;
case 3 :
case 6 :
case 14 :
case 15 :
var _local10 = _global.careerModel.userProgress.possession.transport;
if (__sObj.id == 3) {
_local10 = __sObj.ring - 1;
}
var _local13 = [215, 228, 229, 223, 173];
var _local14 = [0, 40, 36, 0, -17];
_local4 = textLoader.textHelpHolder.attachMovie("cityCrowdMan", "cityCrowdMan", textLoader.textHelpHolder.getNextHighestDepth(), {_x:270 - _local14[_local10], _y:140, _xscale:90});
_local4.gotoAndStop(_local13[_local10]);
_local4.item.block = true;
_local4.hideMe();
_global.delayer.callFunction(_local4, "showMe", 3 * _global.model.speed, 1);
break;
case 12 :
_local5 = 0;
_local12 = 0;
var _local6 = 0;
var _local7 = 0;
switch (_global.careerModel.userProgress.setting.Language) {
case "Nl" :
break;
case "Fr" :
_local5 = _local5 + 140;
_local6 = _local6 - 320;
_local7 = _local7 + 20;
break;
case "De" :
_local5 = _local5 + 6;
_local6 = _local6 + 79;
break;
case "It" :
_local5 = _local5 + 95;
_local6 = _local6 - 315;
_local7 = _local7 + 20;
break;
case "Es" :
_local5 = _local5 + 54;
_local6 = _local6 + 124;
}
if (_global.careerModel.userProgress.setting.Language == "Nl") {
_local5 = _local5 + 285;
_local12 = _local12 - 20;
}
_local4 = textLoader.textHelpHolder.attachMovie("pokerHouseBet", "pokerHouseBet", textLoader.textHelpHolder.getNextHighestDepth(), {_x:225 + _local5, _y:66 + _local12, _xscale:70, _yscale:70, block:true});
if (_global.careerModel.userProgress.setting.Language == "Nl") {
_local6 = _local6 - 75;
_local7 = _local7 + 6;
}
_local4 = textLoader.textHelpHolder.attachMovie("keyPokerTable", "keyPokerTable", textLoader.textHelpHolder.getNextHighestDepth(), {_x:415 + _local6, _y:72 + _local7, _xscale:100, _yscale:80, _rotation:10});
break;
case 16 :
_global.activeScreen.cityMov.property1.onRollOver();
}
toggleMc = textLoader.textHelpHolder.attachMovie("menuSelectingDot", "menuSelectingDot", textLoader.textHelpHolder.getNextHighestDepth(), {_x:541, _y:183, _xscale:90});
toggleMc._visible = false;
}
function toggle() {
toggleMc._visible = (toggleMc._visible ? false : true);
}
function select(__type) {
_global.help.setUsed(currentId);
if (toggleMc._visible == true) {
_global.help.toggleHelp(false);
}
helpMain.removeMovieClip();
delete helpMain;
switch (currentId) {
case 11 :
_global.pokerModel.startNewRound();
break;
case 16 :
_global.activeScreen.cityMov.property1.onRollOut();
break;
case 17 :
_global.pokerModel.startNewRound();
}
}
function setText(__sObj) {
textLoader.textHelpHolder.toggle.hideHelp_txt.text = _global.textDb.hideAllHelp;
textLoader.textHelpHolder.close.nameS = "close";
textLoader.textHelpHolder.close.menu = this;
textLoader.textHelpHolder.toggle.baseClass = this;
textLoader.textHelpHolder.toggle.onPress = function () {
this.baseClass.toggle();
};
var _local3 = textLoader.textHelpHolder;
_local3.textMc.title_txt.text = __sObj.title;
_local3.textMc.content_txt.htmlText = __sObj.content.split("[...]").join(" ");
}
}
Symbol 3688 MovieClip [__Packages.as.conf.Helpconf] Frame 0
class as.conf.Helpconf
{
var helpMessages;
function Helpconf () {
helpMessages = [{circle:0, size:40, title:_global.textDb.HelpWelcomeTitle, content:_global.textDb.HelpWelcomeText}, {circle:0, size:28, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpSteamyTitle, content:_global.textDb.HelpSteamyText}, {circle:1, size:25, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpShowHideCTitle, content:_global.textDb.HelpShowHideCText}, {blockBlock:true, circle:0, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpTransportNATitle, content:_global.textDb.HelpTransportNAText}, {circle:0, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpFirstCashgameTitle, content:_global.textDb.HelpCashgameText}, {circle:0, size:28, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpFirstBoughtHTitle, content:_global.textDb.HelpFirstBoughtHText}, {circle:0, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpTransportTitle, content:_global.textDb.HelpTransportText}, {circle:1, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpSellHouseTitle, content:_global.textDb.HelpSellHouseText}, {forceShow:true, circle:1, size:40, title:_global.textDb.HelpGameoverTitle, content:_global.textDb.HelpGameoverText}, {circle:1, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpNextgameWonTitle, content:_global.textDb.HelpNextgameWonText}, {circle:1, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpNextgameTitle, content:_global.textDb.HelpNextgameText}, {circle:0, size:32, title:_global.textDb.HelpWelcomeSaloonTitle, content:_global.textDb.HelpWelcomeSaloonText}, {circle:0, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpBettingHousesTitle, content:_global.textDb.HelpBettingHousesText}, {circle:0, size:28, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpButtonRaiseTitle, content:_global.textDb.HelpButtonRaiseText}, {circle:0, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpTransport2Title, content:_global.textDb.HelpTransport2Text}, {circle:0, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpGovernorgameTitle, content:_global.textDb.HelpGovernorgameText}, {circle:0, size:25, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpBuyHouseTitle, content:_global.textDb.HelpBuyHouseText}, {circle:1, size:40, title:(_global.textDb.HelpTip + ": ") + _global.textDb.HelpLeaveCashgameTitle, content:_global.textDb.HelpLeaveCashgameText}];
}
}
Symbol 3689 MovieClip [__Packages.as.Presenter] Frame 0
class as.Presenter
{
var conf;
function Presenter () {
_global.presenter = this;
conf = new as.conf.Presenterconf();
}
function startGame() {
}
function update() {
if ((!_global.model.pause) && (!_global.model.animation)) {
_global.view.update();
}
}
}
Symbol 3690 MovieClip [__Packages.as.conf.Presenterconf] Frame 0
class as.conf.Presenterconf
{
function Presenterconf () {
}
}
Symbol 3691 MovieClip [__Packages.as.conf.Language.Enconf] Frame 0
class as.conf.Language.Enconf
{
function Enconf () {
}
static var ok = "Ok";
static var play = "Play";
static var quickpoker = "Quick Poker";
static var highscore = "High Score";
static var options = "Options";
static var help = "Help";
static var moregames = "More Games";
static var highscores = "Highscores";
static var getfullversion = "Premium version";
static var otherplayer = "Other Player";
static var Easy = "Easy";
static var Medium = "Medium";
static var Hard = "Hard";
static var mapoftexas = "Map of Texas";
static var nextday = "Next day";
static var statistics = "Statistics";
static var rewards = "Rewards";
static var menurewards = "Rewards";
static var quit = "Quit";
static var texasmap = "Map of Texas";
static var close = "Close";
static var leavetable = "Leave Table";
static var adjustspeed = "Adjust Speed";
static var menuadjustspeed = "Adjust Speed";
static var overview = "Overview";
static var pause = "Pause";
static var instruction = "Instructions";
static var pokerhands = "Poker Hands";
static var blinds = "Blinds";
static var preflop = "Pre-flop";
static var flop = "Flop";
static var turnriver = "Turn & River";
static var showdown = "Showdown";
static var loadbtn = "Load";
static var deletebtn = "Delete";
static var newbtn = "New";
static var skip = "Skip";
static var fullscreen = "Fullscreen";
static var window = "Window";
static var hideAllHelp = "Hide all tips";
static var menuCareerProperties = "Difficulty menu";
static var menuInstruction = "Instructions";
static var menuMain = "Main menu";
static var menuMainSettings = "Options";
static var menuStatistics = "Statistics";
static var menuNextday = "Completed day";
static var Day = "Day:";
static var Cash = "Cash:";
static var Cities = "Cities:";
static var Houses = "Houses:";
static var gamesPlayed = "Games Played:";
static var Reputation = "Your reputation:";
static var HelpTip = "Tip";
static var HelpTransportTitle = "Transport Game";
static var HelpTransportText = "You've just got an offer from <b>Ron (San Saba) Dixie</b> to play for a <b>Horse</b>, this is your opportunity to leave town.<br>But be careful, <B>Ron (San Saba) Dixie</b> is known to be the <b>best player</b> in San Saba.";
static var HelpWelcomeTitle = "Welcome to: Governor of Poker";
static var HelpWelcomeText = "You are now in your hometown San Saba. You want to become the <B>Governor of Poker</b>, to achieve this goal you have to start by winning every home in San Saba! Take them down city by city, town by town. When you have all of Texas, you have to face your final opponent.<br><br>When you're ready to try to win some money, click on the [...] icon to start playing a <B>tournament</b>.";
static var HelpSteamyTitle = "Steamed";
static var HelpSteamyText = "A player at your table is <b>steamed</b>, it's more likely now that <B>this player will make mistakes</b>.";
static var HelpShowHideCTitle = "Hide or Show cards";
static var HelpShowHideCText = "When you have the option to <b>hide</b> or <b>show</b> your cards be sure to make the right choice.<br>When you decide to show your cards after you bluffed, you might cause other players to become <b>Steamy or on Tilt</b>. This will affect their future poker decisions. Watch the on Tilt and Steamy signals. They will help you better judge a player.<br>Don't show your cards if you don't want other players to know you poker style!";
static var HelpTransportNATitle = "Transportation not available";
static var HelpTransportNAText = "When you want to travel from [currentTown] to [destinationTown] you will need a [transportNeeded].<br>You can win a [transportNeeded] when you've won every town in the region [ring]: [cityNames].";
static var HelpFirstCashgameTitle = "Cash game";
static var HelpCashgameText = "Congratulations, you've just been <B>invited</b> to your <B>first cash game</b>.<br><br>Cash games are similar to tournaments but with a few exceptions:<br> \u2022 You can <B>leave</b> a cash game after <b>each round</b>.<br> \u2022 You can <b>wager</b> and <b>win houses</b>.<br> \u2022 You need a <b>reputation</b> to get invited.</b>";
static var HelpFirstBoughtHTitle = "You bought your first house";
static var HelpFirstBoughtHText = "Great job buying your <b>first house</b>.<br>The house you bought will give you an income of <b>$[profit] every week!</b> Buying houses is good for your reputation and they are essential in achieving your goals.<br>You will <B>own San Saba</b> once you have bought <b>all the houses</b> in the town. When you own San Saba you get the chance to wager on a horse and leave town.";
static var HelpSellHouseTitle = "Sell a house";
static var HelpSellHouseText = "You need to sell a house because every tournament in Texas requires you to have a <B>minimum</b> of <B>$[minimum]</b> in cash to participate. You currently have <b>$[currentCash]</b>.<br>Move your mouse over a house you own, you'll see it has a blue roof. Press Yes to sell that house.";
static var HelpGameoverTitle = "Game over";
static var HelpGameoverText = "Too bad, on [day] you don't have enough money to play in any tournaments held in Texas.<br>You have <b>$[currentCash]</b> and you need at least <B>$[minimum]</b>.";
static var HelpNextgameWonTitle = "Next day";
static var HelpNextgameWonText = "Good game. Today, you won $[pokerBalance], but there are <b>no tournaments left</b> to be played in San Saba today. It might be best to call it a day and get ready for another day of poker.<br>When you're ready click on the \"<b>Next day</b>\" button. New poker games will be available tomorrow.";
static var HelpNextgameTitle = "Next day";
static var HelpNextgameText = "Today there are <b>no tournaments left</b> to be played in San Saba so it might be best to call it a day and get ready for another day of poker.<br>When you're ready click on the button \"<b>Next day</b>\" and new poker games will be available.";
static var HelpBettingHousesTitle = "Betting houses";
static var HelpBettingHousesText = "In cash games there is the option to wager houses.<br>Just select a house symbol [...] , press Raise and a key [...] will be thrown on the table representing the selected house.<br>When a house is wagered in a poker game it is worth 90% of its market value.";
static var HelpWelcomeSaloonTitle = "Welcome to: Bob's Saloon tournament";
static var HelpWelcomeSaloonText = "Welcome to Bob's Saloon, <B>8 players</b> are ready to compete in a poker tournament where the prizes are as follows:<br> \u2022 <b>1st\t</b>place wins <b>$ [1prize]</b><br> \u2022 <b>2nd\t</b>place wins <b>$ [2prize]</b><br> \u2022 <b>3rd\t</b>place wins <b>$ [3prize]</b><br>For poker instructions click on <b>Instructions</b> at the top of the screen.";
static var HelpButtonRaiseTitle = "Raise button";
static var HelpButtonRaiseText = "'Sitting on the Dealer button' puts you in the strongest position for that round. You get to decide what to do as the last bettor and gives you an edge over the other players. Before the Flop, the Small and Big Blinds have to decide what to do after you. After the Flop you'll get to see how much they bet or if they check.<br>Too many button raises will be noticed. But hitting a pair of Aces on the button after five button raises can be a gift from heaven.";
static var HelpTransport2Title = "Transport game";
static var HelpTransport2Text = "You've just got an offer from <b>[competitor]</b> to play for a <b>[transportType]</b>.<br>Good luck, <B>[competitor]</b> is known to be the <b>best player</b> in [townName].";
static var HelpGovernorgameTitle = "Governor of Poker game";
static var HelpGovernorgameText = "<B>The Governor of Texas</b> is extremely impressed with your achievements. He has invited you to a poker game.<br>There is no player in Texas better than the Governor; will you become <b>the new Governor</b>?";
static var HelpBuyHouseTitle = "Buy a house";
static var HelpBuyHouseText = "Try <b>buying a house</b>, move your cursor over a house and click on <b>\"Yes\"</b> where it says: <b>\"Buy property\"</b>.<br>When you own a house you will <b>earn money</b> just by renting it out.";
static var HelpLeaveCashgameTitle = "Leave table";
static var HelpLeaveCashgameText = "When playing a cash game you can leave after every round, just click on the <B>\"Leave table\"</b> button at <b>any time</b>.<br>You will not lose any money you haven't wagered.";
static var HelpRandomMessageText = ["[greeting] [playerName], I want to remind you that when a poker player has town name in their name then that player is the best in that town.", "[greeting] [playerName], Nice day isn't it?", "[greeting] [playerName], <br>Can you lend me some money?", "[greeting] [playerName], It\u2019s easier to bluff one opponent than it is to bluff two.", "[greeting] [playerName], In a tournament when you are in the late position on an average chip, go for a squeeze play and move all in with an average hand.", "[greeting] [playerName], Are you that new player that everybody is talking about?", "[greeting] [playerName], Have you seen my pig?", "[greeting] [playerName], Have you seen my horse?", "[greeting] [playerName], There are tight players and loose players and many in between. Try to see who is who in a tournament!", "[greeting] [playerName], In a tournament, try not to let your chip count get too low. You need to have at least 10 times the big blind to have a healthy stack.", "[greeting] [playerName], Push with every average hand when you are very low on chips. Because your cards have more value at that point.", "[greeting] [playerName], Bluffing a tight player is easier than bluffing a loose player. But when a tight player calls you are probably beat.", "[greeting] [playerName], showing a bluff can get players steamy. Showing more bluffs will put them on tilt.", "[greeting] [playerName], Did you get some new boots?", "[greeting] [playerName], Did you know that the Governor of Texas is a notorious poker player.", "[greeting] [playerName], All the best players in the world should compete in one huge tournament.", "[greeting] [playerName], I predict that one day we will all watch poker players on shining boxes that show moving images.", "[greeting] [playerName], To win a poker game all you need is a chip and a chair.", "[greeting] [playerName], Do you only play poker or do you also have a job?", "[greeting] [playerName], As a poker player you must be able to lie very well. Therefore, I never trust a poker player.", "[greeting] [playerName], When you are sure that you have the absolute best hand and you have more than one caller, keep your bet low enough to make them call.", "[greeting] [playerName], Make as much money as possible when winning a hand and lose as little as you can when losing a hand.", "[greeting] [playerName], The toughest players to play against are the unpredictable ones.", "[greeting] [playerName], You could call a small bet on the river sometimes even when you know that you are loosing. This will give you information on that players playing style.", "[greeting] [playerName], More often big hands win you a smaller amount than a small hand that flops big.", "[greeting] [playerName], Try not to go broke on a drawing hand. That is something a gambler would do.", "[greeting] [playerName], Patience is a virtue in poker.", "[greeting] [playerName], Consider raising rather than calling.", "[greeting] [playerName], Can you teach me to play poker sometime?", "[greeting] [playerName], Texas is big but with the right transportation you can go everywhere.", "[greeting] [playerName], Poker is a game of some luck, some skill, risk management, decent behavior, style, image and accepted deceit.", "[greeting] [playerName], If you can\u2019t find a donkey or a fish at the poker table... It\u2019s probably you!", "[greeting] [playerName], Poker is game that unites all kinds of players. Regardless of heritage.", "[greeting] [playerName], Remember this: Chips in a tournament have more value than chips in a cash game. In a tournament a fold is more often the correct play."];
static var SSHintNoEvent = "There aren't any poker games, go to bed and start a <b>next day</b>.";
static var SSfirstTournament = "Interested in playing in a <B>poker tournament</b>?<br>You can go to the <B>Saloon</b> and play right now!";
static var SSfirstCashgame = "I heard you were invited to a <B>cash game</b>!<br>I wasn't. My <B>reputation</b> isn't good enough.";
static var SSfirstTransport = "If you want to leave town to play some serious poker, you can play for a <B>horse</b> at the <B>stable</b>!";
static var transportWon = "Lucky you, with your new [transporttype] you can reache <B>3 new cities</b>. Look at your <b>map of Texas</b> for directions.";
static var transportLosed = "You lost your money and you still don't have any transportation, come back <b>tomorrow</b>!";
static var waysToEarn = "Try playing somewhere else first or earn money by <b>selling a house</b>.<br>Come back when you have at least <B>$[participationCash]</b>.";
static var playTournament = "A <B><font color=\"#000000\">poker tournament</font></b> is starting inside, would you like to play?<br>The buy in is <B><font color=\"#000000\">$[buyIn]</font></b>.";
static var playCashgame = "Fancy a game of poker? A couple of the locals are playing a <b>cash game</b>. The minimum cash you will need is <b>$[entryCash]</b>.";
static var playTransport = "Isn't it time for you to leave town? I've got a <B>[transporttype]</b> for you,<br> I know you like poker I'll play you for it, the buy in will be <B>$[price]</b>.";
static var playCashgameWon = "Nice job [playerName], you won <B>$[balance]</b> inside!<br>Your <B>reputation</b> is growing.";
static var playCashgameLosed = "Bad luck losing that <b>$[balance]</b>!";
static var playCashgameTie = "You didn't win or lose money, you only lost time.";
static var playTournamentWon = "Nice job [playerName], i heard you won <B>$[balance]</b> inside!<br>Your <B>reputation</b> is growing. Y'all come back now, you hear?";
static var playTournamentLosed = "Bad luck losing that <b>$[balance]</b>!<br><br>Come back tomorrow, there will be a new tournament played here.";
static var playTransportWon = "Lucky you, with your new [transporttype] you can reach <B>3 new cities</b>.";
static var playTransportLosed = "You lost your money and you still don't have a <B>[transporttype]</b>, come back <b>tomorrow</b>!";
static var playTournamentMoney = "A <B><font color=\"#000000\">pokertournament</font></b> is starting inside, too bad you don't have enough money to play.<br>";
static var playCashgameMoney = "You were invited to a cash game but <b>you don't have enough money</b> to play.<br>";
static var playTransportMoney = "I've got a <B>[transporttype]</b> for you,<br> I know you like poker so I'll play you for it. It will only cost you more than you currently have in cash.<br>";
static var greetingmorning = "Good morning";
static var greetingday = "Good day";
static var greetingevening = "Good evening";
static var greetingnight = "Good night";
static var greetingRandom = ["Hi", "Howdy", "Howdy", "Hi ya", "Hello", "Hey", "Hi hi"];
static var fillName = "Enter your name:";
static var selectGender = "Select gender:";
static var cancel = "Cancel";
static var EasyDescription = "I'm a beginner.";
static var MediumDescription = "I know how to play poker!";
static var HardDescription = "I'm the king of poker!";
static var InstructionButton = "[...]In Texas Hold'em, there is \"the button\" that shows which<br>[...]player has the dealer position for the current hand.";
static var InstructionSmBlind = "[...]Before the hand begins, the player to the left of the Dealer<br>[...]button bets the \"Small Blind\" without having seen any cards within that hand, a small bet. The betting goes clockwise";
static var InstructionBgBlind = "[...]The player to the left of the Small Blind posts the \"Big Blind\",<br>[...]this bet is double the Small Blind. These bets must be done without seeing any cards. This will make each hand worth playing if you have decent cards. Now each player is dealt his or her two cards, these are the \"Hole\" cards.";
static var InstructionPreFlop = "Every player has the option to play his or her hand by calling or raising the Big Blind after seeing the strength of their first two cards. Raising the Big Blind will be done with minimum of a full bet. Normal betting actions in Hold'em are Bet, Call or Raise. The preceding action always determines the options for the next player.<br>When there is no bet, the options are Check, Bet or Fold.<br>When a bet is made the options are Call, Raise or Fold.<br>Each poker player always has the option to fold. To Call is to bet the same amount as the previous player. To raise is betting the amount already bet and then increasing that bet. Raising means at least doublimg the previous amount.";
static var InstructionFlop = "The \"Flop\" is three cards face up on the table. These are also called \"Community\" cards. \"Hole\" cards are the cards dealt to each player at the beginning of each round. All players must combine the two \"Hole\" cards with three of the Community cards to make the best poker combination possible. It's up to a player to decide whether they think that they have a better hand than the rest of the table. Betting begins with the player immediately to the left of the Big Blind. All bets and raises occur in small bets. The betting, calling, raising and folding continues until the only players that are left are those who want to match the betted amount (the pot) or when everyone but one player has folded.<br><br>Tournaments may vary in price and cash table stakes may vary in amount.";
static var InstructionTurn = "When the betting is done, the \"Turn\" is dealt on the table. Again face up! The Turn is Community card number four in Texas Hold'em. The betting repeats and starts with the player directly left of the Dealer button.";
static var InstructionRiver = "When the betting is done for the Turn round, the \"River\" card is dealt. Again this card will be face up on the table. The River is the fifth and last Community card in a Texas Hold\u2019em. Betting starts with the player directly to the left of the Dealer button. A betting round follows. This is the same betting action as after the Turn.";
static var InstructionShowdown = "At the end of the final betting round, and if there is more than one remaining poker player, the last bettor or raiser shows his or her cards first. If there was no bet on the final round, the player immediately clockwise to the button shows his or her cards first. Two hole cards combined with four or three community cards make the hand. The player with the best five-card hand wins the pot. The poker pot will be split between the winning players that have equal best hands, this is called a \"split pot.\" Texas Hold'em card suits are Diamonds, Hearts, Spades and Clubs and all have the same value. After the pot value is paid to a player, a new round is ready to be played. The Dealer button moves clockwise to the next player. New Hole cards are dealt to the players that are remaining in the game.";
static var InstructionHandranking = "Hand rankings in Texas Hold'em";
static var OverviewTopPA = "Top [playerAmount] players";
static var OverviewPlayerLeft = "[playerAmount1] of the [playerAmount2] players left";
static var OverviewTable = "Table";
static var TransportFoot = "Foot";
static var TransportHorse = "Horse";
static var TransportWagon = "Wagon";
static var TransportCarriage = "Carriage";
static var TransportCar = "Car";
static var PlayerStateChips = "Chips";
static var PlayerStateBet = "Bet";
static var PlayerStateRank = "Rank";
static var PlayerStateState = "State";
static var PlayerStateMood = "Mood";
static var PlayerStateTilt = "On Tilt";
static var PlayerStateSteamy = "Steamy";
static var Stranger = "Stranger";
static var toBad = "Too bad";
static var toCongratulations = "Congratulations";
static var toAmazing = "Amazing";
static var youLost = "You lost [whatIsChanged]";
static var extraChange = "and [whatIsChanged]";
static var youWon = "You won [whatIsChanged]";
static var youWonA = "You won a [whatIsChanged]";
static var oneHouse = "1 house";
static var multipleHouses = "[amount] houses";
static var movingPlayers = "Moving players to other tables";
static var e1e = "1st";
static var e2e = "2nd";
static var e3e = "3rd";
static var e4e = "4th";
static var e5e = "5th";
static var e6e = "6th";
static var eedefault = "[amount]th";
static var place = "place";
static var saveNotify = "Your current progress will be saved, do you want to Quit?";
static var giveupNotify = "Are you sure you want to give up and leave?";
static var leaveNotify = "When the current round is finished you can leave the game.";
static var deleteCareerConformation = "Are you sure you want to delete the saved career: [careerName]?";
static var worthOfHouses = "[150]$ worth of houses";
static var totalProfit = "Which comes to a <b>profit</b> of [whatIsChanged]$.";
static var totalLoss = "Which comes to a <b>loss</b> of [whatIsChanged]$.";
static var comeBackLater = "I reckon you'll come back later.";
static var And = "and";
static var quitConfirm = "Are you sure you want to quit Governor of Poker?";
static var focusConfirm = "<B>Game paused</b>\n Click on the <b>Ok</b> button to restart.";
static var coin0Hint = "When you want to call... Consider raising! It gives you 2 chances to win the pot.";
static var coin1Hint = "Keep your opponents guessing! Always mix up your playing style.";
static var coin2Hint = "Raising the same amount every time, will puzzle your opponent!";
static var coin3Hint = "Raising different amounts every time, will puzzle your opponent!";
static var coin4Hint = "Slow playing a big hand is fine. Slow playing an average hand is dangerous.";
static var coin5Hint = "In the late position, it might be very rewarding to just call with aces.";
static var coin6Hint = "Although Ace-Ace is the best starting hand, it's still just a pair.";
static var coin7Hint = "Be prepared to fold Ace-Ace or King-King when you feel sure that you are beaten.";
static var coin8Hint = "In some situations any hand might be too good to fold, it will result in an automatic call.";
static var coin9Hint = "Go all in with the best hand!";
static var coin10Hint = "Getting Steamy after a bad hand will cost you more money!";
static var coin11Hint = "You'll probably bust if you go on Tilt!";
static var coin12Hint = "All in works every time except for the last time.";
static var coin13Hint = "Beware when raising on a short stack. You might end up risking more money!";
static var coin14Hint = "Calling short stack pushes can be very profitable!";
static var coin15Hint = "Calling with average hands will make you loose in the long run.";
static var coin16Hint = "A player with their hometown as a nickname is probably the best player of that town.";
static var coin17Hint = "A player that bets strong is usually weak and a player that bets weak is usually strong.";
static var coin18Hint = "Ace-Ace is the strongest against one opponent.";
static var coin19Hint = "When you have a three of a kind, beware of the three flush cards on the table.";
static var coin20Hint = "When you have a flush, beware of a pair on the table or a higher flush.";
static var coin21Hint = "Never let emotion override your reason";
static var coin22Hint = "The best thing to do when you are tilting is to take a short break.";
static var coin23Hint = "A very small bet on the River is always suspicious.";
static var coin0Descr = "1st Place";
static var coin1Descr = "2nd Place";
static var coin2Descr = "3rd Place";
static var coin3Descr = "4th Place";
static var coin4Descr = "5th Place";
static var coin5Descr = "6th Place";
static var subjectWins = "[subject] wins [independent]";
static var coin6Descr = "All-in before Flop";
static var coin7Descr = "All-in after Flop";
static var coin8Descr = "All-in after Turn";
static var coin9Descr = "All-in after River";
static var coin10Descr = "All-in vs 1 player";
static var coin11Descr = "All-in vs 2 players";
static var coin12Descr = "All-in vs 3 players";
static var coin13Descr = "Bust 1 player";
static var coin14Descr = "Bust 2 players";
static var coin15Descr = "Bluff and win";
static var coin16Descr = "Beat a Pair";
static var coin17Descr = "Beat a 2 Pair";
static var coin18Descr = "Beat Three of a kind";
static var coin19Descr = "Beat a Straight";
static var coin20Descr = "Beat a Flush";
static var coin21Descr = "Beat a Full House";
static var coin22Descr = "Beat Four of a kind";
static var coin23Descr = "Beat a Straight Flush";
static var langSelect = "Language selection";
static var screenModeSelect = "Screen mode";
static var Newtown = "New town";
static var Newtowns = "New towns";
static var Newtransport = "New transportation";
static var Transport = "Transportation";
static var Pokergameearnings = "Poker game earnings";
static var Houseearnings = "House earnings";
static var Propertybought = "Property bought";
static var Propertiesbought = "Properties bought";
static var Properties = "Properties";
static var Rewardearned = "Reward earned";
static var Rewardsearned = "Rewards earned";
static var BFV_PremiumVersion = "Get the Premium version of the Governor of Poker";
static var BFV_PremiumContains = "The Governor of Poker Premium features:";
static var BFV_PremiumConList1 = "13 cities in Texas.";
static var BFV_PremiumConList2 = "Each city has more buildings and better players than the preceding one.";
static var BFV_PremiumConList3 = "Over 100 computer opponents.";
static var BFV_PremiumConList4 = "All the transportation you need to get to any city in Texas.";
static var BFV_PremiumConList5 = "Lots of poker tips that you can win.";
static var BFV_PremiumConList6 = "Very good AI that has a realistic memory.";
static var BFV_PremiumConList7 = "Well-known cities like Dallas and El Paso.";
static var BFV_PremiumConList8 = "Tournaments of different sizes.";
static var BFV_PremiumConList9 = "Cash tables from easy to very hard.";
static var BFV_PremiumConList10 = "Many table styles and rooms.";
static var BFV_PremiumConList11 = "A chance to become the Governor of Poker and get a Hold of Texas.";
static var BFV_PremiumSlogan = "GET THE PREMIUM VERSION AND START PLAYING!";
static var BFV_ClickDownload = "Click to download!";
static var BFV_Download = "Download";
static var BFV_PremiumGame = "THE GOVERNOR OF POKER";
static var BFV_PremiumPrise = "Only [prize]";
static var youWonGovernor = "You are the new\nGovernor of Texas!!!!";
static var notEnoughMon = "Not enough money to buy this house.";
static var yes = "Yes";
static var no = "No";
static var buyProp = "Buy property?";
static var owner = "Owner";
static var value = "Value";
static var income = "Income";
static var sellProp = "Sell property?";
static var difficulty = "Difficulty";
static var playeramount = "Player amount";
static var city = "City";
static var menuquickGame = "Quick game menu";
static var pot = "Pot";
static var tournament = "Tournament";
static var showCards = "Show cards";
static var hideCards = "Hide cards";
static var weekly = "Weekly";
static var governorTransportWon = "Great job, you deserve to be the <B>governor of Texas</B> [playerName]. You're the best pokerplayer i've ever seen";
static var governorTransportLosed = "You did well but El paso is mine because i'm the best pokerplayer texas has ever known. Good luck trying to win back what you've just losed.";
static var governorTransportInvitation = "[greeting] [playerName],<br>so you won my home town and my own house by playing poker!<br>Do you have the guts to play against me?<br>If you win you will become <b>governor of whole texas</b>.<br>If you lose you will give me<br><B>all the houses in El Paso</b>.";
static var Score = "Score";
static var togglePauseOption = "Automatic pause";
}
Symbol 3692 MovieClip [__Packages.as.conf.Language.Nlconf] Frame 0
class as.conf.Language.Nlconf
{
function Nlconf () {
}
static var ok = "Ok\u00E9";
static var play = "Speel";
static var quickpoker = "Snel spel";
static var highscore = "High Score";
static var options = "Opties";
static var help = "Help";
static var moregames = "Meer spellen";
static var highscores = "Highscores";
static var getfullversion = "Premium versie";
static var otherplayer = "Andere speler";
static var Easy = "Makkelijk";
static var Medium = "Uitdagend";
static var Hard = "Moeilijk";
static var mapoftexas = "Map Texas";
static var nextday = "Volgende dag";
static var statistics = "Statistieken";
static var rewards = "Beloningen";
static var menurewards = "Beloningen";
static var quit = "Afsluiten";
static var texasmap = "TexasMap";
static var close = "Sluit";
static var leavetable = "Verlaat tafel";
static var adjustspeed = "Snelheid";
static var menuadjustspeed = "Snelheid";
static var overview = "Spelerslijst";
static var pause = "Pauze";
static var instruction = "Instructies";
static var pokerhands = "Poker Handen";
static var blinds = "Blinds";
static var preflop = "Pre-flop";
static var flop = "Flop";
static var turnriver = "Turn & River";
static var showdown = "Showdown";
static var loadbtn = "Laad";
static var deletebtn = "Verwijder";
static var newbtn = "Nieuw";
static var skip = "Ga door";
static var fullscreen = "Volledig scherm";
static var window = "Venster";
static var hideAllHelp = "Verberg alle tips";
static var menuCareerProperties = "Moeilijkheids menu";
static var menuMain = "Hoofd menu";
static var menuInstruction = "Instructies";
static var menuMainSettings = "Opties";
static var menuStatistics = "Statistieken";
static var menuNextday = "Afgeronde dag";
static var Day = "Dag:";
static var Cash = "Geld:";
static var Cities = "Steden:";
static var Houses = "Huizen:";
static var gamesPlayed = "Gespeelde spellen:";
static var Reputation = "Jouw reputatie";
static var HelpTip = "Tip";
static var HelpTransportTitle = "Transport spel";
static var HelpTransportText = "Je hebt zojuist een aanbod gekregen van <b>Ron (San Saba) Dixie</b> om te spelen voor een <b>paard</b>, dit is jouw kans om de stad te verlaten.<br>Wees alleen voorzichtig, <B>Ron (San Saba) Dixie</b> schijnt de <b>beste speler</b> te zijn van San Saba.";
static var HelpWelcomeTitle = "Welkom bij: Governor of Poker";
static var HelpWelcomeText = "Je bent nu in je woonplaats San saba. Jij wil de <B>Governor of Poker</b> worden, Om dit te bereiken is het nodig om alle huizen in San Saba te winnen! Wanneer je van elke stad in Texas alle huizen hebt gewonnen, krijg je de mogelijkheid je laatste tegenstander te verslaan.<br><br>Ben je er klaar voor om geld te winnen? Klik dan op het[...] symbool.";
static var HelpSteamyTitle = "Stomend";
static var HelpSteamyText = "Er is een speler aan jouw tafel aan het <b>stomen</b>, deze speler zal nu veel <b>eerder fouten maken.</b> Probeer hem uit de tent te lokken.";
static var HelpShowHideCTitle = "Toon of verberg kaarten";
static var HelpShowHideCText = "Wanneer je de optie krijgt je kaarten te <b>tonen</b> of <b>verbergen</b>, maak dan de juiste keuze.<br>Wanneer je na een bluf je kaarten toont zorg je er misschien voor dat een andere speler gaat <b>stomen of koken</b>. Dit heeft invloed op hun verdere poker beslissingen. Let goed op de stoom of kook signalen, het kan je helpen om spelers beter in te schatten.<br>Laat je kaarten niet zien als je niet wilt dat andere spelers jouw pokerstijl mogen weten!";
static var HelpTransportNATitle = "Transport niet aanwezig";
static var HelpTransportNAText = "Wanneer je wilt reizen van [currentTown] naar [destinationTown] heb je een [transportNeeded] nodig.<br>Dit transportmiddel kun je winnen wanneer je elke stad binnen de ring [ring]: [cityNames] gewonnen hebt.";
static var HelpFirstCashgameTitle = "Cashgame";
static var HelpCashgameText = "Gefeliciteerd, je bent zojuist <B>uitgenodigd</b> voor jouw <B>eerste cashgame</b>.<br><br>Cashgames zijn vergelijkbaar met toernooien op een paar uitzonderingen na:<br> \u2022 Je kunt een cashgame <b>na elke ronde verlaten</b>.<br> \u2022 Je kunt <b>huizen inzetten en verliezen</b>.<br> \u2022 Om mee te doen heb je <b>reputatie</b> nodig.</b>";
static var HelpFirstBoughtHTitle = "Aanschaf eerste huis";
static var HelpFirstBoughtHText = "Geweldig! Je hebt je <b>eerste huis</b> gekocht.<br>Aan het gekochte huis verdien je elke week <b>$[profit]</b>! Huizen kopen is goed voor je reputatie en belangrijk voor het behalen van je doelstellingen.<br>Wanneer je <b>alle huizen</b> in San Saba hebt gekocht is <B>San Saba van jou</b>! Op dat moment krijg je de kans een paard te winnen en met dat paard de stad te verlaten.";
static var HelpSellHouseTitle = "Verkopen van een huis";
static var HelpSellHouseText = "Het is nodig een huis te verkopen omdat je voor elk toernooi in texas <B>minimaal $[minimum]</b> nodig hebt om mee te doen. Op dit moment heb je <b>$[currentCash]</b>.<br>Beweeg je muis over een huis dat in jouw bezit is. Een huis met een blauw dak. Klik op ja om het huis te verkopen.";
static var HelpGameoverTitle = "Game over";
static var HelpGameoverText = "Helaas, op dag [day] heb je niet genoeg geld meer om mee te doen aan een toernooi in Texas.<br>Je hebt <b>$[currentCash]</b> terwijl je <B>$[minimum]</b> nodig hebt.";
static var HelpNextgameWonTitle = "Volgende dag";
static var HelpNextgameWonText = "Goed gedaan. Vandaag heb je $[pokerBalance] gewonnen, er zijn <b>geen toernooien meer</b> in San Saba. Waarschijnlijk is het verstandig om te gaan slapen. Klik op de \"<B>volgende dag</b>\" knop.<br>Morgen zijn er weer nieuwe toernooien waar je aan mee kunt doen.";
static var HelpNextgameTitle = "Volgende dag";
static var HelpNextgameText = "Vandaag zijn er <b>geen toernooien</b> meer in San Saba. Waarschijnlijk is het verstandig om te gaan slapen. Klik op de \"<B>volgende dag</b>\" knop<br>Morgen zijn er weer nieuwe toernooien waar je aan mee kunt doen.";
static var HelpBettingHousesTitle = "Spelen om huizen";
static var HelpBettingHousesText = "In cashgames kun je huizen inzetten, zodra je op een huis symbool klikt [...] en vervolgens op raise, dan zal er een sleutel [...] op de tafel gegooid worden die een huis vertegenwoordigd.<br>Wanneer er om een huis wordt gespeeld in een pokerspel, dan is de waarde van dat huis 90% van de marktwaarde.";
static var HelpWelcomeSaloonTitle = "Welkom bij: Bob's Saloon toernooi";
static var HelpWelcomeSaloonText = "Welkom bij: Bob's Saloon toernooi, <B>8 spelers</b> zijn klaar om te strijden in een Pokertoernooi met de volgende prijzen:<br> \u2022 <b>1e\t</b>plaats wint <b>$ [1prize]</b><br> \u2022 <b>2e\t</b>plaats wint <b>$ [2prize]</b><br> \u2022 <b>3e\t</b>plaats wint <b>$ [3prize]</b><br>Klik voor poker instructies op het menu-item bovenin het scherm genaamd \"Instructies\".";
static var HelpButtonRaiseTitle = "Button raise";
static var HelpButtonRaiseText = "Het hebben van de Dealer button betekent dat je de sterkste positie hebt gedurende die ronde. Jij mag beslissen wat te doen na de laatste inzet. Dit houdt in dat je in het voordeel bent ten opzichte van de andere spelers. Voor de flop moeten de kleine en grote blind na jouw actie beslissen wat ze doen. Na de flop krijg je te zien hoeveel de overige spelers inzetten en of ze checken.<br>Veel button raises worden herkend. Het krijgen van 2 azen wanneer je de button hebt kan een geschenk uit de hemel zijn nadat er al 5 buttonraises zijn geweest.";
static var HelpTransport2Title = "Transportspel";
static var HelpTransport2Text = "Je hebt zojuist een aanbod van <b>[competitor]</b> gekregen om te spelen voor een <b>[transportType]</b>.<br>Veel succes, het is algemeen bekend dat <B>[competitor]</b> de <b>beste speler</b> is in [townName].";
static var HelpGovernorgameTitle = "Governor of Poker spel";
static var HelpGovernorgameText = "<B>De Gouverneur van Texas</b> is zeer onder de indruk van jouw prestaties. Hij heeft je uitgenodigd voor een pokerspel.<br>Er bestaat geen betere speler dan de Gouverneur, wordt jij de <b>nieuwe Gouverneur</b>?";
static var HelpBuyHouseTitle = "Kopen van een huis";
static var HelpBuyHouseText = "Probeer <b>een huis te kopen</b>, beweeg je cursor over een huis en klik op <b>\"Ja\"</b> waar er: <b>\"Koop huis\"</b> staat.<br>Wanneer je een huis in je bezit hebt <b>verdien je geld</b> uit huurinkomsten.";
static var HelpLeaveCashgameTitle = "Verlaat tafel";
static var HelpLeaveCashgameText = "Wanneer je een cashgame speelt kun je deze na elke ronde verlaten, klik <b> op elk moment</b> op de <B>\"Verlaat tafel\"</b> knop.<br>Je zult geen geld verliezen dat niet is ingezet.";
static var HelpRandomMessageText = ["[greeting] [playerName], mag ik je eraan herinneren dat als een speler de naam van een stad in zijn naam heeft is dat de beste speler van die stad.", "[greeting] [playerName], mooi weer vind je niet?", "[greeting] [playerName], <br>kun je me wat geld lenen?", "[greeting] [playerName], het is makkelijker om te bluffen tegenover 1 speler dan tegenover 2 spelers.", "[greeting] [playerName], als je in late positie zit en er is eerder verhoogd. Dan kun je overwegen om alles in te zetten met een iets meer dan de gemiddelde hoeveelheid chips. ", "[greeting] [playerName], ben jij die speler waar iedereen het over heeft?", "[greeting] [playerName], heb jij mijn varken gezien?", "[greeting] [playerName], heb jij mijn paard gezien?", "[greeting] [playerName], er zijn spelers die \u201Ctight\u201D spelen en spelers die \u201Cloose\u201D spelen en veel die daar tussenin zitten. Probeer op tijd te zien welk karakter de spelers hebben bij een toernooi!", "[greeting] [playerName], zorg ervoor dat je niet te weinig chips krijgt in een toernooi. Voor een gezonde stapel chips is minstens 10 keer de grote blind nodig.", "[greeting] [playerName], speel elke gemiddelde hand wanneer je weinig chips hebt. Je kaarten zijn dan namelijk meer waard.", "[greeting] [playerName], het eruit bluffen van een \"tight player\" is makkelijker dan het eruit bluffen van een \"loose player\". Maar wanneer een \"tight player\" mee gaat met de bluf ben je waarschijnlijk verslagen.", "[greeting] [playerName], het tonen van een bluf kan een speler laten <b>stomen</b>. Meerdere blufs tonen kan ze laten <B>koken</b>.", "[greeting] [playerName], heb je nieuwe laarzen?", "[greeting] [playerName], wist je dat de <B>gouverneur van Texas</b> een <b>beruchte pokerspeler</b> is?", "[greeting] [playerName], alle spelers in de wereld zouden aan een groot toernooi mee moeten kunnen doen.", "[greeting] [playerName], ik voorspel dat op een dag alle spelers in de wereld te zien zijn op een toverdoos die bewegende beelden toont.", "[greeting] [playerName], het enige dat je nodig hebt om te winnen in een pokerspel is een paar chips en een stoel.", "[greeting] [playerName], speel je altijd poker of heb je ook een baan?", "[greeting] [playerName], als pokerspeler moet je goed kunnen liegen. Daarom vertrouw ik ook nooit een pokerspeler.", "[greeting] [playerName], wanneer je er zeker van bent dat je de beste hand hebt en er zijn nog andere spelers in het spel, zet dan zo weinig in dat alle spelers wel mee moeten.", "[greeting] [playerName], klinkt logisch, maar: win zoveel mogelijk wanneer je een hand wint en verlies zo weinig mogelijk wanneer je een hand verliest.", "[greeting] [playerName], de moeilijkste spelers om tegen te spelen zijn ook de meest onvoorspelbare spelers.", "[greeting] [playerName], soms kun je het beste met een kleine inzet mee gaan wanneer je op de river zit, ook al weet je dat je verliest zodat je de kaarten kan zien van de tegenspeler en te leren wat zijn pokerstijl is.", "[greeting] [playerName], vaak win je minder met grote handen dan met kleine handen, die op de flop grote handen worden.", "[greeting] [playerName], probeer niet alles op het spel te zetten wanneer je een hand nog niet gemaakt hebt. Dat is wat een gokker zou doen.", "[greeting] [playerName], geduld is een schone zaak in poker.", "[greeting] [playerName], geef de voorkeur aan raisen in plaats van callen.", "[greeting] [playerName], kan je me leren hoe ik poker moet spelen?", "[greeting] [playerName], Texas is groot maar met het juiste transport kun je overal komen.", "[greeting] [playerName], poker is een spel van geluk, behendigheid, goed inschatten van risico's, gecontroleerd gedrag, vallen opzetten en misleiding.", "[greeting] [playerName], als je aan een tafel geen \"ezel\" of een \"domoor\" kan vinden. Ben jij het waarschijnlijk!", "[greeting] [playerName], poker is een spel dat alle soorten spelers verenigd. Onafhankelijk van afkomst.", "[greeting] [playerName], onthoud het volgende: Chips hebben in een toernooi meer waarde dan chips in een cashgame. In een toernooi is het eerder een goede keuze om te folden."];
static var SSHintNoEvent = "er wordt geen poker meer gespeeld in de stad, als ik jou was zou ik gaan slapen en de <b>volgende dag</b> weer verder spelen.";
static var SSfirstTournament = "Ben je ge\u00EFnteresseerd in het spelen van een <B>pokertoernooi</b>?<br>Als je nu naar de <B>Saloon</b> gaat kun je direct spelen!";
static var SSfirstCashgame = "Ik heb gehoord dat je uitgenodigd was voor een <B>cashgame</b>!<br>Ik niet, <b>mijn reputatie</b> was niet voldoende.";
static var SSfirstTransport = "Als je de stad wilt verlaten om serieus poker te spelen kun je voor een <B>paard</b> spelen bij de <B>transport</b> winkel!";
static var transportWon = "Geluksvogel, met je nieuwe [transporttype] kan je <B>3 nieuwe steden</b> bereiken. Bekijk de <b>kaart van texas</b> om je te verplaatsen.";
static var transportLosed = "Ik heb geld van je gewonnen en je hebt nog steeds geen transport, kom de <b>volgende dag</b> weer terug!";
static var waysToEarn = "Probeer ergens anders te spelen of verdien geld door het <b>verkopen van een huis</b>.<br>kom terug wanneer je minimaal <B>$[participationCash]</b> hebt.";
static var playTournament = "Een <B><font color=\"#000000\">pokertoernooi</font></b> begint binnen. Wil je meespelen?<br>Het inkoop bedrag is <B><font color=\"#000000\">$[buyIn]</font></b>.";
static var playCashgame = "Heb je zin in een pokerspel? Een paar mensen uit de stad zijn bezig met een <b>cashgame</b>. Het minimale bedrag dat je nodig hebt om mee te doen is <b>$[entryCash]</b>.";
static var playTransport = "ben je er aan toe om de stad te verlaten?<br>Ik heb een <B>[transporttype]</b> voor jou,<br> Ik weet dat je van poker houdt dus wil ik er voor spelen, het inkopen kost je <B>$[price]</b>.";
static var playCashgameWon = "Goed gedaan [playerName], je hebt zojuist <B>$[balance]</b> gewonnen!<br>Je <B>reputatie</b> is aan het groeien.";
static var playCashgameLosed = "Wat een pech dat je <b>$[balance]</b> verloren hebt.";
static var playCashgameTie = "Je hebt geen geld verloren en geen geld gewonnen, je hebt alleen tijd verloren.";
static var playTournamentWon = "Mooi gedaan [playerName], ik heb gehoord dat je binnen <B>$[balance]</b> hebt gewonnen!<br>Je <B>reputatie</b> is aan het groeien. Kom je gauw weer eens terug?";
static var playTournamentLosed = "Zonde dat je <b>$[balance]</b> hebt verloren<br><br>Kom morgen terug, dan wordt er hier een nieuw toernooi gespeeld.";
static var playTransportWon = "Wat een geluk voor jou, met je nieuwe [transporttype] heb je toegang tot <B>3 nieuwe steden</b>.";
static var playTransportLosed = "Je hebt je geld verloren en je hebt nog steeds geen <B>[transporttype]</b>, kom de <b>volgende dag</b> weer terug!";
static var playTournamentMoney = "Er wordt binnen een <B><font color=\"#000000\">pokertoernooi</font></b> gespeeld, jammer voor jou dat je niet genoeg geld hebt.<br>";
static var playCashgameMoney = "Je bent uitgenodigd voor een cashgame maar helaas <b>heb je niet voldoende geld</b> om mee te doen.<br>";
static var playTransportMoney = "Ik heb een <B>[transporttype]</b> voor jou,<br> omdat ik weet dat je van poker houdt wil ik ervoor spelen, het zal je alleen meer geld kosten dan je nu hebt.<br>";
static var greetingmorning = "Goedemorgen";
static var greetingday = "Goedendag";
static var greetingevening = "Goedenavond";
static var greetingnight = "Goedenacht";
static var greetingRandom = ["Hoi", "Howdy", "Howdy", "Hee", "Hallo", "Hey", "Hi hi"];
static var fillName = "Vul hier je naam in:";
static var selectGender = "Selecteer je geslacht:";
static var cancel = "Annuleer";
static var EasyDescription = "Ik ben een beginner.";
static var MediumDescription = "Ik weet hoe poker gespeeld moet worden!";
static var HardDescription = "Ik ben de beste!";
static var InstructionButton = "[...]In Texas Holdem is er \"de button\", deze laat zien wie<br>[...]de dealer positie heeft voor de huidige hand.";
static var InstructionSmBlind = "[...]Voordat een hand begint krijgt de speler,<br>[...]met de klok mee direct links naast de dealer-positie, een verplichte kleine inzet: de kleine blind. Zonder dat de kaarten gezien zijn.";
static var InstructionBgBlind = "[...]De speler links van de kleine blind doet een grote blinde inzet,<br>[...]dit is het dubbele van de kleine blind. En ook weer verplicht voordat je de kaarten hebt gezien. Door deze verplichte inzet is er bijna altijd actie in het spel. Helemaal als de blinde inzetten omhoog gaan.";
static var InstructionPreFlop = "Iedere speler heeft de keuze om mee te gaan met een hand, de inzet te verhogen met minimaal de grootte van de grote blind nadat ze de sterkte van hun eigen kaart hebben gezien. Normaal inzetten gebeurt met \"bet\" , \"call\" of \"raise\". \"Bet\" is inzetten. \"Call\" is meegaan en die inzet evenaren. \"Raise\" is de vorige inzet verdubbelen. Iedere gemaakte actie bepaald de aard van de volgende acties. Als er niet is ingezet dan zijn de opties: \"check\" (meegaan zonder nieuwe inzet), \"bet\" (het plaatsen van een nieuwe inzet) of \"fold\" dat is passen. Als er wel is ingezet dan zijn de opties: \"Call\" (de inzet evenaren), \"raise\" (de vorige inzet minimaal verdubbelen) en \"Fold\" (passen).";
static var InstructionFlop = "De \"flop\" zijn drie kaarten open op tafel. Dit zijn gemeenschappelijke kaarten. Je hand zijn de twee kaarten die je krijgt aan het begin van een ronde. Iedere speler moet kijken of zijn hand de best mogelijke vijf kaart-combinatie kan maken met de gemeenschappelijke kaarten. Het is aan iedere speler of hij of zij denkt dat haar of zijn hand beter is dan die van de tegenstander. Inzetten begint direct links van de grote blind met de klok mee. Alle inzetten gebeuren met kleine hoeveelheden van minimaal de waarde van de grote blind. Het verhogen van de inzetten, of het meegaan duurt zo lang het nodig is om te besluiten mee te gaan (er blijft altijd 1 speler over), of om te passen.<br><br>Toernooien vari\u00EBren in de hoogte van het inkoop bedrag en \"Cashgames\" of \u201Cgeldtafels\u201D vari\u00EBren in de hoogte van het in te leggen bedrag";
static var InstructionTurn = "Als er na de \"flop\" is ingezet dan volgt \"The turn\", dat is de vierde gemeenschappelijke kaart in Texas Hold'em. Er volgt opnieuw een inzet ronde en die begint met de speler direct links van de Dealer positie. Nu ook weer met de klok mee gekeken. ";
static var InstructionRiver = "Als het inzetten is gedaan, dan volgt de laatste gemeenschappelijke kaart, \"The river\". Deze komt ook weer open te liggen op tafel. \"The river\" is de vijfde open kaart op tafel. De laatste inzet ronde begint met de klok mee gekeken direct links van de \"dealer\" positie. Deze wedronde heeft dezelfde volgorde als de wedronde na de \"turn\".";
static var InstructionShowdown = "Als er na de laatste inzet ronde twee of meer spelers over zijn gebleven, dan moet iedereen in volgorde zijn kaarten laten zien. De persoon die als laatste heeft ingezet moet de kaarten het eerst laten zien. Als er in de laatste ronde niet is ingezet dan laat de speler direct links naast de \"dealer\" positie als eerste de kaarten zien. De twee kaarten in je hand samen met de vijf gemeenschappelijke kaarten moeten een nieuwe vijf kaart combinatie maken. De speler met de beste combinatie wint de pot. De pot wordt gedeeld als twee of meer spelers een hand combinatie hebben met gelijkwaardige sterkte. Texas Hold'em kaartsymbolen , harten, ruiten, klaveren en schoppen verschillen niet in waarde. Nadat de chips naar de winnende speler zijn gegaan volgt er een nieuwe ronde. De \"dealer button\" schuift een speler, met de klok mee, op. Alle overgebleven spelers krijgen opnieuw kaarten toebedeeld";
static var InstructionHandranking = "De Hand combinatie-waarde in Texas Holdem";
static var OverviewTopPA = "Top [playerAmount] spelers";
static var OverviewPlayerLeft = "[playerAmount1] van de [playerAmount2] spelers over";
static var OverviewTable = "Tafel";
static var TransportFoot = "Voet";
static var TransportHorse = "Paard";
static var TransportWagon = "Wagen";
static var TransportCarriage = "Rijtuig";
static var TransportCar = "Auto";
static var PlayerStateChips = "Chips";
static var PlayerStateBet = "Inzet";
static var PlayerStateRank = "Plaats";
static var PlayerStateState = "Status";
static var PlayerStateMood = "Stemming";
static var PlayerStateTilt = "Kokend";
static var PlayerStateSteamy = "Stomend";
static var Stranger = "Vreemdeling";
static var toBad = "Jammer";
static var toCongratulations = "Gefeliciteerd";
static var toAmazing = "Waanzinnig";
static var youLost = "Je hebt [whatIsChanged] verloren";
static var extraChange = "en [whatIsChanged]";
static var youWon = "Je hebt [whatIsChanged] gewonnen";
static var youWonA = "Je hebt een [whatIsChanged] gewonnen!!";
static var youWonGovernor = "Je bent de nieuwe\nGouverneur van Texas!!!!";
static var oneHouse = "1 huis";
static var multipleHouses = "[amount] huizen";
static var movingPlayers = "Spelers worden verplaatst naar andere tafels";
static var e1e = "1e";
static var e2e = "2e";
static var e3e = "3e";
static var e4e = "4e";
static var e5e = "5e";
static var e6e = "6e";
static var eedefault = "[amount]e";
static var place = "plaats";
static var saveNotify = "Je huidige spel wordt bewaard, wil je afsluiten?";
static var giveupNotify = "Weet je zeker dat je op wilt geven?";
static var leaveNotify = "Wanneer de huidige ronde is afgelopen verlaat je het spel.";
static var deleteCareerConformation = "Weet je zeker dat je de bewaarde carri\u00E8re [careerName] wilt verwijderen?";
static var worthOfHouses = "[150]$ aan huis-waarde";
static var totalProfit = "Wat op een <b>winst</b> komt van [whatIsChanged]$.";
static var totalLoss = "Wat op een <b>verlies</b> komt van [whatIsChanged]$.";
static var comeBackLater = "Kom je gauw weer terug?";
static var And = "en";
static var quitConfirm = "Weet je zeker dat je Governor of poker wilt verlaten?";
static var focusConfirm = "<B>Spel gepauzeerd</b>\n Klik op de <B>Ok</b> knop om verder te gaan.";
static var coin0Hint = "Overweeg een \"raise\" in plaats van een \"call\" dit geeft je twee kansen op winst.";
static var coin1Hint = "Laat je tegenstander raden naar je tactiek, verander je tactiek dus vaak.";
static var coin2Hint = "\"Raisen met iedere keer dezelfde hoeveelheid maakt je moeilijk inschatbaar voor je tegenstander!";
static var coin3Hint = "\"Raisen\" met verschillende inzet zorgt ook voor verwarring!";
static var coin4Hint = "Inzet vertraging met een sterke hand kan goed zijn maar met een zwakkere hand is het gevaarlijk!";
static var coin5Hint = "Als je in late positie gewoon meegaat met twee azen zonder te verhogen kan het verrassend veel geld opleveren.";
static var coin6Hint = "Ook al is AAS, AAS de beste start hand het is en blijft gewoon een paar";
static var coin7Hint = "Wees bereid AAS, AAS of KONING, KONING te passen als je weet dat de ander beter heeft.";
static var coin8Hint = "In sommige situaties is je hand te sterk om te passen.";
static var coin9Hint = "Zet pas alles in met de beste hand op dat moment.";
static var coin10Hint = "Teleurstelling na een ongelukkig verlies zorgt vaak voor meer verlies.";
static var coin11Hint = "Boos worden zorgt er vaak voor dat je blut raakt!";
static var coin12Hint = "Alles inzetten werkt iedere keer behalve de laatste keer!";
static var coin13Hint = "Pas op als je iemand met weinig chips verhoogt, je kunt zo meer verliezen dan je eigenlijk wilt!";
static var coin14Hint = "Meegaan met iemand die wel moet spelen vanwege geldnood kan erg winstgevend zijn!";
static var coin15Hint = "Meegaan met gemiddelde handen zorgt voor verlies op de lange termijn.";
static var coin16Hint = "Een speler met de naam van zijn stad als bijnaam is waarschijnlijk de sterkste speler in die stad.";
static var coin17Hint = "Een speler die veel inzet is meestal zwak en een speler die weinig inzet is meestal sterk. ";
static var coin18Hint = "AAS, AAS is het sterkst tegen \u00E9\u00E9n tegenstander";
static var coin19Hint = "Als je \u201Cthree of a kind\u201D hebt kijk dan of er geen straat of flush mogelijk is.";
static var coin20Hint = "Als je een flush hebt kijk dan of er geen paar op tafel ligt of een hogere flush.";
static var coin21Hint = "Laat emoties niet je verstand vertroebelen!";
static var coin22Hint = "Als je overstuur bent geraakt neem dan even afstand van het spelletje.";
static var coin23Hint = "Een kleine inzet na de \"river\" is altijd verdacht!";
static var coin0Descr = "1e plaats";
static var coin1Descr = "2e plaats";
static var coin2Descr = "3e plaats";
static var coin3Descr = "4e plaats";
static var coin4Descr = "5e plaats";
static var coin5Descr = "6e plaats";
static var subjectWins = "[subject] wint [independent]";
static var coin6Descr = "All-in before Flop";
static var coin7Descr = "All-in after Flop";
static var coin8Descr = "All-in after Turn";
static var coin9Descr = "All-in after River";
static var coin10Descr = "All-in vs 1 player";
static var coin11Descr = "All-in vs 2 players";
static var coin12Descr = "All-in vs 3 players";
static var coin13Descr = "Bust 1 player";
static var coin14Descr = "Bust 2 players";
static var coin15Descr = "Bluff and win";
static var coin16Descr = "Beat a Pair";
static var coin17Descr = "Beat a 2 Pair";
static var coin18Descr = "Beat Trips";
static var coin19Descr = "Beat a Straight";
static var coin20Descr = "Beat a Flush";
static var coin21Descr = "Beat a FullHouse";
static var coin22Descr = "Beat Quads";
static var coin23Descr = "Beat a Straight Flush";
static var langSelect = "Taal selectie";
static var screenModeSelect = "Schermgrootte";
static var Newtown = "Nieuwe stad";
static var Newtowns = "Nieuwe steden";
static var Newtransport = "Nieuw transport";
static var Transport = "Transport";
static var Pokergameearnings = "Poker opbrengsten";
static var Houseearnings = "Huis opbrengsten";
static var Propertybought = "Huis gekocht";
static var Propertiesbought = "Huizen gekocht";
static var Properties = "Huizen";
static var Rewardearned = "Beloning verdiend";
static var Rewardsearned = "Beloningen verdiend";
static var BFV_PremiumVersion = "Neem de Premium versie van The Governor of Poker";
static var BFV_PremiumContains = "De Governor of poker Premium bevat:";
static var BFV_PremiumConList1 = "13 steden in Texas.";
static var BFV_PremiumConList2 = "Elke stad heeft meer gebouwen en betere spelers dan de vorige stad.";
static var BFV_PremiumConList3 = "Meer dan 100 computer tegenstanders.";
static var BFV_PremiumConList4 = "Alle tranport die je nodig hebt om in elke stad te komen van Texas.";
static var BFV_PremiumConList5 = "Veel poker tips die je kunt winnen.";
static var BFV_PremiumConList6 = "Hele goede AI met een realistisch geheugen.";
static var BFV_PremiumConList7 = "Beroemde steden zoals Dallas en El Paso.";
static var BFV_PremiumConList8 = "Toernooien van verschillende grotes.";
static var BFV_PremiumConList9 = "Cash tafels vari\u00EBrend van makkelijk tot erg moeilijk.";
static var BFV_PremiumConList10 = "Veel tafelstijlen en kamers.";
static var BFV_PremiumConList11 = "Een kans om de Gouverneur van Poker te worden en een greep te krijgen op Texas.";
static var BFV_PremiumSlogan = "NEEM DE PREMIUM VERSIE EN BEGIN MET SPELEN!";
static var BFV_ClickDownload = "Klik om te downloaden!";
static var BFV_Download = "Download";
static var BFV_PremiumGame = "THE GOVERNOR OF POKER";
static var BFV_PremiumPrise = "Voor maar [prise]";
static var notEnoughMon = "Niet voldoende geld om een huis te kopen.";
static var yes = "Ja";
static var no = "Nee";
static var buyProp = "Koop huis?";
static var owner = "Eigenaar";
static var value = "Waarde";
static var income = "Inkomen";
static var sellProp = "Verkoop huis?";
static var difficulty = "Moeilijkheid";
static var playeramount = "Spelers aantal";
static var city = "Stad";
static var menuquickGame = "Snel spel menu";
static var pot = "Pot";
static var tournament = "Toernooi";
static var showCards = "Toon kaarten";
static var hideCards = "Verberg kaarten";
static var weekly = "Wekelijks";
static var governorTransportWon = "Ongelooflijk, je verdient het om <B>Gouverneur van Texas</B> te zijn [playerName]. Je bent de allerbeste pokerspeler die ik gezien heb!";
static var governorTransportLosed = "Je hebt het goed gedaan maar El paso is van omdat ik de beste pokerspeler van Texas ben. Je zal veel geluk nodig hebben om wat je verloren hebt weer terug te winnen.";
static var governorTransportInvitation = "[greeting] [playerName],<br>dus je hebt mijn geboortestad en mijn eigen huis gewonnen!<br>Heb je ook het lef om tegen mij te spelen?<br>Als je wint wordt je <b>Gouverneur van heel Texas</b>.<br>Als je verliest geef je mij<br><B>alle huizen in El Paso</b>.";
static var Score = "Score";
static var togglePauseOption = "Automatische pauze";
}
Symbol 3693 MovieClip [__Packages.as.conf.Language.Deconf] Frame 0
class as.conf.Language.Deconf
{
function Deconf () {
}
static var ok = "Ok";
static var play = "Spielen";
static var quickpoker = "Schnell Poker";
static var highscore = "Bestenliste";
static var options = "Optionen";
static var help = "Hilfe";
static var moregames = "Mehr Spiele";
static var highscores = "Highscores";
static var getfullversion = "Premium Version";
static var otherplayer = "Anderer Spieler";
static var Easy = "Leicht";
static var Medium = "Mittel";
static var Hard = "Schwierig";
static var mapoftexas = "Karte von Texas";
static var nextday = "N\u00E4chster Tag";
static var statistics = "Statistik";
static var rewards = "Pr\u00E4mien";
static var menurewards = "Pr\u00E4mien";
static var quit = "Verlassen";
static var texasmap = "Karte von Texas";
static var close = "Schliessen";
static var leavetable = "Tisch verlassen";
static var adjustspeed = "Geschwindigkeit";
static var menuadjustspeed = "Geschwindigkeit anpassen";
static var overview = "\u00DCberblick";
static var pause = "Pause";
static var instruction = "Anleitung";
static var pokerhands = "Pokerh\u00E4nde";
static var blinds = "Blinds";
static var preflop = "Pre-Flop";
static var flop = "Flop";
static var turnriver = "Turn & River";
static var showdown = "Showdown";
static var loadbtn = "Laden";
static var deletebtn = "L\u00F6schen";
static var newbtn = "Neu";
static var skip = "\u00DCberspringen";
static var fullscreen = "Vollbild";
static var window = "Fenster";
static var hideAllHelp = "Alle Tipps verstecken";
static var menuCareerProperties = "Schwierigkeitsgrad";
static var menuInstruction = "Anleitung";
static var menuMain = "Hauptmen\u00FC";
static var menuMainSettings = "Optionen";
static var menuStatistics = "Statistik";
static var menuNextday = "Tag geschafft";
static var Day = "Tag:";
static var Cash = "Bargeld:";
static var Cities = "St\u00E4dte:";
static var Houses = "H\u00E4user:";
static var gamesPlayed = "Gespielte Spiele:";
static var Reputation = "Dein Ansehen:";
static var HelpTip = "Tipp";
static var HelpTransportTitle = "Spiel um ein Transportmittel";
static var HelpTransportText = "Du hast ein Angebot von <b>Ron (San Saba) Dixie</b> bekommen um ein <b>Pferd</b> zu spielen. Das ist deine Gelegenheit, die Stadt zu verlassen.<br>Aber sei vorsichtig, <b>Ron (San Saba) Dixie</b> hat den Ruf, der <b>beste Spieler</b> in San Saba zu sein.";
static var HelpWelcomeTitle = "Willkommen zu: Governor of Poker";
static var HelpWelcomeText = "Du bist in deiner Heimatstadt San Saba. Du willst <b>Governor of Poker</b> werden. Um dieses Ziel zu erreichen, musst du zuerst jedes Heimspiel in San Saba gewinnen! Schlage alle, Dorf f\u00FCr Dorf, Stadt f\u00FCr Stadt. Wenn du ganz Texas besiegt hast, trittst du deinem letzten Gegner gegen\u00FCber.<br><br>Wenn du bereit bist, ein bisschen Geld zu verdienen, klicke auf [...] um ein <b>Turnier</b> zu beginnen.";
static var HelpSteamyTitle = "Sauer";
static var HelpSteamyText = "Ein Spieler an deinem Tisch ist <b>sauer</b>, es ist gut m\u00F6glich, dass <b>dieser Spieler Fehler machen wird</b>.";
static var HelpShowHideCTitle = "Karten zeigen oder verdecken";
static var HelpShowHideCText = "Wenn du die M\u00F6glichkeit hast, deine Karten zu <b>verdecken</b> oder zu <b>zeigen</b>, dann treffe die richtige Entscheidung.<br>Wenn du dich entscheidest, deine Karten zu zeigen, nachdem du geblufft hast, bringst du m\u00F6glicherweise andere Spieler dazu, <b>sauer zu werden oder auszuflippen</b>. Dies wird ihre zuk\u00FCnftigen Pokerentscheidungen beeinflussen. Achte auf die Signale. Sie werden dir helfen, einen Spieler besser einzusch\u00E4tzen.<br>Verdecke deine Karten, wenn du nicht willst, dass die anderen Spieler deinen Pokerstil kennen!";
static var HelpTransportNATitle = "Transport nicht verf\u00FCgbar";
static var HelpTransportNAText = "Wenn du von [currentTown] nach [destinationTown] reisen willst, brauchst du einen [transportNeeded].<br>Du kannst einen [transportNeeded] gewinnen, indem du in jeder Stadt der Region [ring]: [cityNames] gewinnst.";
static var HelpFirstCashgameTitle = "Geldspiel";
static var HelpCashgameText = "Gl\u00FCckwunsch, du wurdest zu deinem <b>ersten Geldspiel</b> <b>eingeladen</b>.<br><br>Geldspiele sind \u00E4hnlich wie Turniere mit wenigen Ausnahmen:<br>\t \u2022 Du kannst <b>nach jeder Runde</b> ein Geldspiel <b>verlassen</b>.<br>\t \u2022 Du kannst <b>H\u00E4user setzen</b> und <b>gewinnen</b>.<br>\t \u2022 Du brauchst ein hohes <b>Ansehen</b>, um eingeladen zu werden.</b>";
static var HelpFirstBoughtHTitle = "Du hast dein erstes Haus gekauft";
static var HelpFirstBoughtHText = "Tolle Leistung, dir dein <b>erstes Haus</b> zu kaufen.<br>Das gekaufte Haus bringt dir ein Einkommen von <b>$[profit] pro Woche!</b> H\u00E4user zu kaufen ist gut f\u00FCr dein Ansehen und es ist unerl\u00E4sslich, um dein Ziel zu erreichen.<br>Dir wird <b>San Saba geh\u00F6ren</b>, sobald du <b>alle H\u00E4user</b> in der Stadt gekauft hast. Wenn dir San Saba geh\u00F6rt, hast du die M\u00F6glichkeit, um ein Pferd zu spielen und die Stadt zu verlassen.";
static var HelpSellHouseTitle = "Ein Haus verkaufen";
static var HelpSellHouseText = "Du musst ein Haus verkaufen, weil du f\u00FCr jedes Turnier in Texas ein <b>Minimum</b> von <b>$[minimum]</b> an Bargeld brauchst, um daran teilzunehmen. Du besitzt zur Zeit <b>$[currentCash]</b>.<br>Bewege deine Maus \u00FCber eins der H\u00E4user mit blauem Dach. Klicke anschliessend \"Ja\" um das Haus zu verkaufen.";
static var HelpGameoverTitle = "Spiel zu Ende";
static var HelpGameoverText = "Was f\u00FCr ein Pech, am [day] hast du nicht genug Geld, um an irgendeinem Turnier in Texas teilzunehmen.<br>Du hast <b>$[currentCash]</b> und brauchst mindestens <b>$[minimum]</b>.";
static var HelpNextgameWonTitle = "N\u00E4chster Tag";
static var HelpNextgameWonText = "Gutes Spiel. Du hast heute $[pokerBalance] gewonnen, aber heute werden <b>keine Turniere</b> mehr in San Saba gespielt. Es ist wohl am besten, Feierabend zu machen und sich auf einen weiteren Pokertag vorzubereiten.<br>Wenn du dazu bereit bist, klicke auf \"<b>N\u00E4chster Tag</b>\". Morgen werden neue Pokerspiele verf\u00FCgbar sein.";
static var HelpNextgameTitle = "N\u00E4chster Tag";
static var HelpNextgameText = "Heute werden <b>keine Turniere</b> mehr in San Saba gespielt. Es es wohl am besten, Feierabend zu machen und sich auf einen weiteren Pokertag vorzubereiten.<br>Wenn du dazu bereit bist, klicke auf \"<b>N\u00E4chster Tag</b>\" und neue Pokerspiele werden verf\u00FCgbar sein.";
static var HelpBettingHousesTitle = "H\u00E4userwetten";
static var HelpBettingHousesText = "In Geldspielen hat man die M\u00F6glichkeit um H\u00E4user zu wetten.<br>W\u00E4hle ein Haussymbol aus [...] , dr\u00FCcke Erh\u00F6hen und ein Schl\u00FCssel [...], der das ausgew\u00E4hlte Haus repr\u00E4sentiert, wird auf dem Tisch erscheinen.<br>Wenn ein Haus in einem Pokerspiel verwettet wird, ist es 90% seines Marktwerts wert.";
static var HelpWelcomeSaloonTitle = "Willkommen zu: Bobs Saloon Turnier";
static var HelpWelcomeSaloonText = "Willkommen zu Bobs Saloon, <b>8 Spieler</b> sind bereit in einem Poker Turnier gegeneinander anzutreten, wo es folgende Preise zu gewinnen gibt:<br>\t <b>1ter </b>Platz gewinnt <b>$ [1prize]</b><br>\t <b>2ter</b>Platz gewinnt <b>$ [2prize]</b><br>\t <b>3ter</b>Platz gewinnt <b>$ [3prize]</b><br>F\u00FCr die Poker Anleitung klicke auf <b>Anleitung</b> im oberen Balken.";
static var HelpButtonRaiseTitle = "Erh\u00F6hen Knopf";
static var HelpButtonRaiseText = "'Auf der Dealer Position zu sein' bringt dich in die st\u00E4rkste Position dieser Runde. Du entscheidest als letzter, was du tun willst und bekommst so einen Vorteil \u00FCber die anderen Spieler. Vor dem Flop und nach dir entscheiden Das Kleine und das Grosse Blind, was sie tun wollen. Nach dem Flop siehst du, wieviel sie einsetzen oder ob sie checken.<br>Zuviele Erh\u00F6hungen fallen auf.";
static var HelpTransport2Title = "Spiel um ein Transportmittel";
static var HelpTransport2Text = "Du hast gerade ein Angebot von <b>[competitor]</b> bekommen um ein <b>[transportType]</b> zu spielen.<br>Viel Gl\u00FCck, <b>[competitor]</b> ist daf\u00FCr bekannt, der <b>beste Spieler</b> in [townName] zu sein.";
static var HelpGovernorgameTitle = "Governor of Poker Spiel";
static var HelpGovernorgameText = "<b>Der Gouverneur von Texas</b> ist zutiefst beeindruckt von deinen Leistungen. Er hat dich zu einem Poker Spiel eingeladen.<br>Es gibt keinen besseren Spieler in Texas als der Gouverneur; wirst <b>du der neue Gouverneur</b> werden?";
static var HelpBuyHouseTitle = "Ein Haus kaufen";
static var HelpBuyHouseText = "Versuche, <b>ein Haus zu kaufen</b>. Bewege die Maus \u00FCber ein Haus und dr\u00FCcke auf <b>\"Ja\"</b> bei: <b>\"Anwesen kaufen\"</b>.<br>Wenn du ein Haus besitzt, kannst du <b>Geld verdienen</b>, indem du es vermietest.";
static var HelpLeaveCashgameTitle = "Tisch verlassen";
static var HelpLeaveCashgameText = "Wenn du ein Geldspiel spielst, kannst du das Spiel nach jeder Runde verlassen, indem du <b>wann immer du willst</b> auf <b>Spiel verlassen</b> klickst.<br>Du kannst das Geld, welches du noch nicht verspielt hast, behalten.";
static var HelpRandomMessageText = ["[greeting] [playerName], Ich will dich daran erinnern, dass wenn ein Poker Spieler einen St\u00E4dtenamen in seinem Namen tr\u00E4gt, er der Beste in dieser Stadt ist.", "[greeting] [playerName], Sch\u00F6ner Tag heute, nicht wahr?", "[greeting] [playerName], <br>Kannst du mir Geld leihen?", "[greeting] [playerName], Es ist einfacher einen Spieler zu bluffen, als zwei.", "[greeting] [playerName], Bist du in einer Runde als letzter mit deinem Spielzug dran und hast mittelm\u00E4ssig viele Chips, riskiere mit einem mittelm\u00E4ssigen Blatt all-in zu gehen.", "[greeting] [playerName], Bist du dieser neue Spieler, \u00FCber den jeder spricht?", "[greeting] [playerName], Hast du mein Schwein gesehen?", "[greeting] [playerName], Hast du mein Pferd gesehen?", "[greeting] [playerName], Es gibt vorsichtige und lockere Spieler. Versuche herauszufinden, wer wer ist in einem Turnier!", "[greeting] [playerName], Wenn du ein Turnier spielst, achte darauf, dass du immer genug Chips hast. Du brauchst mindestens 10 Mal das Grosse Blind, um einen vern\u00FCnftigen Stapel zu haben.", "[greeting] [playerName], Wenn du nur noch wenige Chips hast, versuche mit jedem mittelm\u00E4ssigen Blatt zu pushen, denn zu diesem Zeitpunkt haben deine Karten mehr Wert.", "[greeting] [playerName], Einen vorsichtigen Spieler zu bluffen ins einfacher als einen lockeren. Wenn jedoch ein vorsichtiger Spieler mitgeht, bist du wahrscheinlich geschlagen.", "[greeting] [playerName], Einen Bluff zu zeigen, kann die Gem\u00FCter der Spieler erhitzen. Mehr Bluffs zu zeigen, bringt sie zum ausflippen.", "[greeting] [playerName], Hast du dir ein paar neue Stiefel geleistet?", "[greeting] [playerName], Wusstest du, dass der Gouverneur von Texas ein ber\u00FCchtigter Poker Spieler ist?", "[greeting] [playerName], Alle der besten Spieler der Welt sollten an einem riesigen Turnier teilnehmen.", "[greeting] [playerName], Ich prophezeihe, dass wir eines Tages alle Poker Spiele in flimmernden Kisten mit bewegten Bildern sehen werden.", "[greeting] [playerName], Alles was du brauchst, um ein Poker Spiel zu gewinnen, sind ein Chip und ein Stuhl.", "[greeting] [playerName], Spielst du nur Poker oder hast du auch einen Job?", "[greeting] [playerName], Als Poker Spieler musst du gut l\u00FCgen k\u00F6nnen. Deswegen traue ich keinem Poker Spieler.", "[greeting] [playerName], Wenn du dir absolut sicher bist, dass du das beste Blatt hast und mehr als ein Spieler callt, halte deinen Einsatz gering, damit sie weiterhin callen.", "[greeting] [playerName], Verdiene so viel Geld wie m\u00F6glich, wenn du ein Blatt gewinnen kannst und verliere so wenig wie n\u00F6tig, wenn du eins verlierst.", "[greeting] [playerName], Die h\u00E4rtesten Gegner sind die Undurchschaubaren.", "[greeting] [playerName], Du k\u00F6nntest bei kleinem Einsatz manchmal auch dann callen, wenn alle Karten schon aufgedeckt sind und du mit Sicherheit verlierst. Es wird dir viel \u00FCber den Spielstil deines Gegners verraten.", "[greeting] [playerName], Ein gutes Blatt bringt dir oftmals weniger Geld als ein schlechteres mit einem guten Flop.", "[greeting] [playerName], Versuche nicht Pleite zu gehen, indem du auf gute Karten wartest. Das w\u00FCrde nur ein Gl\u00FCcksspieler tun.", "[greeting] [playerName], Geduld ist eine Tugend im Poker.", "[greeting] [playerName], Erw\u00E4ge zu erh\u00F6hen, anstatt einfach nur zu callen.", "[greeting] [playerName], Kannst du mir mal beibringen, wie man Poker spielt?", "[greeting] [playerName], Texas ist gross, aber mit dem richtigen Transportmittel kommst du \u00FCberall hin.", "[greeting] [playerName], Im Poker braucht man ein bisschen Gl\u00FCck, ein wenig K\u00F6nnen, Risiko Einsch\u00E4tzungsverm\u00F6gen, anst\u00E4ndiges Benehmen, Stil, gutes Image und ein bisschen Betr\u00FCgerei.", "[greeting] [playerName], Wenn du keiner Niete am Poker Tisch begegnest... Dann bist es wahrscheinlich du selbst!", "[greeting] [playerName], Poker ist ein Spiel, das alle Arten von Spielern vereint. Egal, woher sie kommen.", "[greeting] [playerName], Merk dir: Die Chips in einem Turnier haben mehr Wert als Chips in einem Geldspiel. In einem Turnier ist ein Fold oft der schlauere Spielzug."];
static var SSHintNoEvent = "Es gibt keine Pokerspiele mehr heute, geh ins Bett und spiel wieder am <b>n\u00E4chsten Tag</b>.";
static var SSfirstTournament = "Interesse an einem <b>Poker Turnier</b>?<br>Du kannst zum <b>Saloon</b> gehen und sofort spielen!";
static var SSfirstCashgame = "Ich habe geh\u00F6rt, du wurdest zu einem <b>Geldspiel</b> eingeladen!<br>Ich nicht. Mein <b>Ansehen</b> ist nicht hoch genug.";
static var SSfirstTransport = "Wenn du die Stadt verlassen willst, um richtigen Poker zu spielen, kannst du im <b>Stall</b> um ein <b>Pferd</b> spielen!";
static var transportWon = "Gl\u00FCckspilz, mit deinem neuen [transporttype] kannst du <b>3 neue St\u00E4dte</b> erreichen. Erkundige dich auf der <b>Karte von Texas</b> nach den Richtungen.";
static var transportLosed = "Du hast dein Geld verloren und hast noch immer kein Transportmittel, komm' <b>morgen</b> wieder!";
static var waysToEarn = "Versuche zuerst woanders zu spielen oder verdiene mehr Geld, indem du <b>ein Haus verkaufst</b>.<br>Komm zur\u00FCck, wenn du mindestens <b>$[participationCash]</b> hast.";
static var playTournament = "Hier findet ein <b><font color=\"#000000\">Poker Turnier</font></b> statt, willst du mitspielen?<br>Das Startgeld betr\u00E4gt <b><font color=\"#000000\">$[buyIn]</font></b>.";
static var playCashgame = "Lust auf eine Runde Poker? Einige Einheimische spielen ein <b>Geldspiel</b>. Das Minimum an Bargeld, das du brauchst, ist <b>$[entryCash]</b>.";
static var playTransport = "Wird es nicht Zeit f\u00FCr dich, die Stadt zu verlassen? Ich habe ein <b>[transporttype]</b> f\u00FCr dich.<br>\tIch weiss, dass du gerne Poker spielst. Lass uns also darum spielen. Das Startgeld betr\u00E4gt <b>$[price]</b>.";
static var playCashgameWon = "Toll gemacht [playerName], du hast <b>$[balance]</b> gewonnen!<br>Dein <b>Ansehen</b> w\u00E4chst.";
static var playCashgameLosed = "Pech gehabt, du hast <b>$[balance]</b> verloren!";
static var playCashgameTie = "Du hast weder Gewinn noch Verlust gemacht, aber daf\u00FCr jede Menge Zeit verloren.";
static var playTournamentWon = "Toll gemacht [playerName], ich habe geh\u00F6rt du hast <b>$[balance]</b> gewonnen!<br>Dein <b>Ansehen</b> w\u00E4chst. Du kommst doch wieder, oder?";
static var playTournamentLosed = "Pech gehabt, du hast <b>$[balance]</b> verloren!<br><br>Komm morgen zur\u00FCck, dann findet hier ein neues Turnier statt.";
static var playTransportWon = "Gl\u00FCckspilz, mit deinem neuen [transporttype] kannst du <b>3 neue St\u00E4dte</b> erreichen.";
static var playTransportLosed = "Du hast dein Geld verloren und hast noch immer kein <b>[transporttype]</b>, komm <b>morgen</b> wieder!";
static var playTournamentMoney = "Hier findet ein <b><font color=\"#000000\">Poker Turnier</font></b> statt, zu bl\u00F6d, dass du nicht genug Geld hast, um mitzuspielen.<br>";
static var playCashgameMoney = "Du wurdest zu einem Geldspiel eingeladen, aber <b>du hast nicht genug Geld</b> um mitzuspielen.<br>";
static var playTransportMoney = "Ich habe ein <b>[transporttype]</b> f\u00FCr dich.<br>\tIch weiss dass du gerne Poker spielst, also werde ich mit dir darum spielen. Es wird dich aber mehr kosten als das, was du momentan in bar hast.<br>";
static var greetingmorning = "Guten Morgen";
static var greetingday = "Guten Tag";
static var greetingevening = "Guten Abend";
static var greetingnight = "Gute Nacht";
static var greetingRandom = ["Hi", "Howdy", "Howdy", "Tach", "Hallo", "Hey", "Gr\u00FCss dich"];
static var fillName = "Trage deinen Namen ein";
static var selectGender = "W\u00E4hle dein Geschlecht:";
static var cancel = "Abbrechen";
static var EasyDescription = "Ich bin Anf\u00E4nger.";
static var MediumDescription = "Ich weiss, wie man Poker spielt!";
static var HardDescription = "Ich bin der K\u00F6nig des Poker!";
static var InstructionButton = "[...]Im Texas Hold'em, zeigt der \"Button\" an, welcher Spieler <br>[...]gerade in der Dealer Position ist.";
static var InstructionSmBlind = "[...]Bevor die Runde beginnt, setzt der Spieler zur Linken des<br>[...]Dealers das \"Kleine Blind\" (SB), einen kleinen Einsatz, ohne vorher die Karten gesehen zu haben. Die anderen Eins\u00E4tze folgen im Uhrzeigersinn";
static var InstructionBgBlind = "[...]Der Spieler zur Linken des Kleinen Blinds setzt das \"Grosse<br>[...]Blind\" (BB). DieserEinsatz ist doppelt so hoch wie das Kleine Blind. Die Eins\u00E4tze werden vor dem Aufdecken des Blatts gemacht. Damit lohnt es sich zu spielen, wenn du gute Karten hast. Jetzt werden den Spielern ihre zwei Karten ausgeteilt, die \"Hole\" Karten.";
static var InstructionPreFlop = "Jeder Spieler hat die M\u00F6glichkeit, sein Blatt zu spielen, indem er callt oder das Grosse Blind erh\u00F6ht, nachdem er den Wert seiner ersten beiden Karten gesehen hat. Um das Grosse Blind zu erh\u00F6hen, muss sein Wert mindestens verdoppelt werden. Normale Einsatz-Spielz\u00FCge im Texas Hold'em sind setzen, callen or erh\u00F6hen. Der vorhergegangene Spielzug bestimmt die M\u00F6glichkeiten f\u00FCr den n\u00E4chsten Spieler.<br>Wenn kein Einsatz gemacht wurde, gibt es die M\u00F6glichkeit zu checken, zu setzen oder zu passen.<br>Wenn gesetzt wurde, gibt es die M\u00F6glichkeit zu callen, zu erh\u00F6hen oder zu passen.<br>Jeder Poker Spieler hat immer die M\u00F6glichkeit zu passen. Callen bedeutet, den selben Betrag wie der vorhergehende Spieler zu setzen. Erh\u00F6hen bedeutet den schon gesetzten Betrag zu setzen und ihn dann um mindestens das Doppelte zu erh\u00F6hen.";
static var InstructionFlop = "Der \"Flop\" sind die drei Karten, die mit der Vorderseite nach oben auf den Tisch gespielt werden. Diese sind so genannte \"Gemeinschaftskarten\". \"Hole\" Karten nennt man die Karten, die am Anfang jeder neuen Poker Runde an die Spieler ausgeteilt werden. Alle Spieler m\u00FCssen die beiden \"Hole\" Karten mit drei der Gemeinschaftskarten kombinieren, um die bestm\u00F6gliche Poker Kombination zu erhalten. Es ist dem Spieler \u00FCberlassen, zu entscheiden, ob er glaubt, ein besseres Blatt als seine Mitspieler zu haben. Die Bietrunde beginnt mit dem Spieler zur Linken des Grossen Blinds. Alle Eins\u00E4tze und Erh\u00F6hungen erfolgen in kleinen Schritten. Setzen, callen, erh\u00F6hen und passen dauert so lange an, bis diejenigen Spieler \u00FCbrig bleiben, die um den Pott k\u00E4mpfen oder bis alle ausser einer ausgestiegen sind.<br><br>Turniere k\u00F6nnen sich in der Teilnahmegeb\u00FChr und Geldspiele im Start-Spielbetrag unterscheiden.";
static var InstructionTurn = "Wenn die Eins\u00E4tze gemacht wurden, wird die \"Turn\" Karte auf den Tisch gespielt. Wieder f\u00FCr alle sichtbar! Die \"Turn\" Karte ist die vierte Gemeinschaftskarte im Texas Hold'em. Die n\u00E4chste Bietrunde beginnt mit dem Spieler zur Linken der Dealer Position.";
static var InstructionRiver = "Wenn die Eins\u00E4tze in der Turn Runde gemacht wurden, wird die \"River\" Karte gespielt. Auch diese Karte liegt f\u00FCr alle sichtbar auf dem Tisch. Die River Karte ist die f\u00FCnfte und letzte Gemeinschaftskarte im Texas Hold'em. Die n\u00E4chste Bietrunde beginnt mit dem Spieler zur Linken der Dealer Position. Eine weitere Bietrunde erfolgt nach dem selbem Schema wie jene nach dem Turn";
static var InstructionShowdown = "Wenn am Ende der letzten Bietrunde noch mehr als ein Spieler \u00FCbrig bleibt, zeigt der Spieler, welcher als letzter gesetzt oder erh\u00F6ht hat, seine Karten als erster. Wenn in der letzten Runde nicht mehr gesetzt wurde, zeigen die Spieler von der Dealer Position im Uhrzeigersinn ausgehend ihre Karten zuerst. Die zwei Hole Karten kombiniert mit den drei Gemeinschaftskarten bilden das Blatt. Der Spieler mit den besten f\u00FCnf Karten gewinnt den Pott. Wenn zwei oder mehrere Spieler gleich gute Karten haben, wird der Pott zwischen ihnen aufgeteilt. Dies nennt man \"Split Pot\".\" Die Texas Hold'em Kartenfarben sind Pik, Herz, Karo und Kreuz und haben alle den selben Wert. Nachdem der Pott an einen oder mehrere Spieler ausgezahlt wurde, beginnt eine neue Pokerrunde. Die Dealer Position wird im Uhrzeigersinn weitergegeben. Neue Hole Karten werden an die \u00FCbrig gebliebenen Spieler ausgeteilt.";
static var InstructionHandranking = "Blatt Rangfolge im Texas Hold'em";
static var OverviewTopPA = "Die besten [playerAmount] Spieler";
static var OverviewPlayerLeft = "[playerAmount1] von [playerAmount2] Spielern \u00FCbrig";
static var OverviewTable = "Tisch";
static var TransportFoot = "Zu Fuss";
static var TransportHorse = "Pferd";
static var TransportWagon = "Waggon";
static var TransportCarriage = "Kutsche";
static var TransportCar = "Auto";
static var PlayerStateChips = "Chips";
static var PlayerStateBet = "Wetteinsatz";
static var PlayerStateRank = "Rang";
static var PlayerStateState = "Zustand";
static var PlayerStateMood = "Stimmung";
static var PlayerStateTilt = "Ausgeflippt";
static var PlayerStateSteamy = "Sauer";
static var Stranger = "Fremder";
static var toBad = "Was f\u00FCr ein Pech";
static var toCongratulations = "Gl\u00FCckwunsch";
static var toAmazing = "Wahnsinn";
static var youLost = "Du hast [whatIsChanged] verloren";
static var extraChange = "und [whatIsChanged]";
static var youWon = "Du hast [whatIsChanged] gewonnen";
static var youWonA = "Du hast ein [whatIsChanged] gewonnen";
static var oneHouse = "1 Haus";
static var multipleHouses = "[amount] H\u00E4user";
static var movingPlayers = "Spieler an andere Tische verschieben";
static var e1e = "1er";
static var e2e = "2ter";
static var e3e = "3ter";
static var e4e = "4ter";
static var e5e = "5ter";
static var e6e = "6ter";
static var eedefault = "[amount]ter";
static var place = "Platz";
static var saveNotify = "Dein Spielstand wird gespeichert, willst du das Spiel verlassen?";
static var giveupNotify = "Bist du sicher, dass du aufgeben willst?";
static var leaveNotify = "Wenn die Runde fertig gespielt ist, kannst du das Spiel verlassen.";
static var deleteCareerConformation = "Bist du sicher, dass du dein gespeichertes Spiel: [careerName] l\u00F6schen willst?";
static var worthOfHouses = "[150]$ H\u00E4userwert";
static var totalProfit = "Das macht einen <b>Gewinn</b> von [whatIsChanged]$.";
static var totalLoss = "Das macht einen <b>Verlust</b> von [whatIsChanged]$.";
static var comeBackLater = "Ich sch\u00E4tze, du kommst sp\u00E4ter zur\u00FCck.";
static var And = "und";
static var quitConfirm = "Bist du sicher, dass du \"Governor of Poker\" verlassen willst?";
static var focusConfirm = "<b>Spiel unterbrochen</b>\n Klicke auf <b>OK</b> um weiterzuspielen.";
static var coin0Hint = "Wenn du mitgehen willst... \u00FCberlege dir, zu erh\u00F6hen! Es gibt dir 2 Chancen den Pott zu gewinnen.";
static var coin1Hint = "Lass deine Gegner im Dunkeln! \u00C4ndere \u00F6fters deinen Spielstil.";
static var coin2Hint = "Indem du immer um den selben Betrag erh\u00F6hst, verwirrst du deinen Gegner!";
static var coin3Hint = "Indem du immer um einen anderen Betrag erh\u00F6hst, verwirrst du deinen Gegner!";
static var coin4Hint = "Slowplay mit einem guten Blatt ist in Ordnung. Slowplay mit einem mittelm\u00E4ssigen Blatt ist gef\u00E4hrlich.";
static var coin5Hint = "Wenn du als letzter in der Runde deinen Spielzug machst, k\u00F6nnte es sich lohnen zu callen, auch wenn du nur ein As hast.";
static var coin6Hint = "Obwohl As-As das beste Anfangsblatt ist, ist es trotzdem nur ein Paar.";
static var coin7Hint = "Sei dazu bereit, auch mit As-As oder K\u00F6nig-K\u00F6nig zu passen, wenn du das Gef\u00FChl hast, geschlagen zu werden.";
static var coin8Hint = "Es gibt Situationen, wo jedes Blatt zu gut ist, um zu passen, du wirst also automatisch callen.";
static var coin9Hint = "Gehe mit dem besten Blatt all-in!";
static var coin10Hint = "Dich wegen einem schlechten Blatt aufzuregen, kostet dich mehr Geld!";
static var coin11Hint = "Du bist so gut wie draussen, wenn du jetzt ausflippst!!";
static var coin12Hint = "All-in funktioniert immer, ausser in der letzten Runde.";
static var coin13Hint = "Sei vorsichtig, wenn du den Einsatz erh\u00F6hst, obwohl du selber nur noch wenig Geld hast. Du k\u00F6nntest zu viel riskieren!";
static var coin14Hint = "Mit einem Spieler, der fast keine Chips mehr hat, mitzugehn, kann sehr profitabel sein!";
static var coin15Hint = "Mit einem mittelm\u00E4ssigen Blatt zu callen, bringt dich langfristig zum verlieren.";
static var coin16Hint = "Ein Spieler, der seine Heimatstadt im Namen tr\u00E4gt, ist wahrscheinlich der beste Spieler in dieser Stadt.";
static var coin17Hint = "Ein Spieler, der viel setzt, ist meistens schwach und einer, der wenig setzt ist meistens stark.";
static var coin18Hint = "As-As ist die st\u00E4rkste Kombination gegen einen Gegner.";
static var coin19Hint = "Wenn du drei Gleiche hast, passe auf die m\u00F6glichen drei Flush Karten auf dem Tisch auf.";
static var coin20Hint = "Wenn du einen Flush hast, passe auf ein m\u00F6gliches Paar oder einen h\u00F6heren Flush auf dem Tisch auf.";
static var coin21Hint = "Lass deine Gef\u00FChle nie die Oberhand \u00FCber deine Vernunft gewinnen";
static var coin22Hint = "Wenn du am ausflippen bist, machst du am besten eine kurze Pause.";
static var coin23Hint = "Um einen sehr kleinen Betrag zu erh\u00F6hen, wenn alle Karten offen liegen, ist immer verd\u00E4chtig.";
static var coin0Descr = "1ter Platz";
static var coin1Descr = "2ter Platz";
static var coin2Descr = "3ter Platz";
static var coin3Descr = "4ter Platz";
static var coin4Descr = "5ter Platz";
static var coin5Descr = "6ter Platz";
static var subjectWins = "[subject] gewinnt [independent]";
static var coin6Descr = "All-in vor dem Flop";
static var coin7Descr = "All-in nach dem Flop";
static var coin8Descr = "All-in nach dem Turn";
static var coin9Descr = "All-in nach dem River";
static var coin10Descr = "All-in gegen 1 Spieler";
static var coin11Descr = "All-in gegen 2 Spieler";
static var coin12Descr = "All-in gegen 3 Spieler";
static var coin13Descr = "1 Spieler Pleite gemacht";
static var coin14Descr = "2 Spieler Pleite gemacht";
static var coin15Descr = "Geblufft und gewonnen";
static var coin16Descr = "Ein Paar geschlagen";
static var coin17Descr = "Ein 2 Paare geschlagen";
static var coin18Descr = "Drei Gleiche geschlagen";
static var coin19Descr = "Eine Strasse geschlagen";
static var coin20Descr = "Einen Flush geschlagen";
static var coin21Descr = "Ein Volles Haus geschlagen";
static var coin22Descr = "Vier Gleiche geschlagen";
static var coin23Descr = "Eine Strasse Flush geschlagen";
static var langSelect = "Sprachauswahl";
static var screenModeSelect = "Bildschirmmodus";
static var Newtown = "Neue Stadt";
static var Newtowns = "Neue St\u00E4dte";
static var Newtransport = "Neuer Transport";
static var Transport = "Transport";
static var Pokergameearnings = "Pokerspiel Ertr\u00E4ge";
static var Houseearnings = "Haus Ertr\u00E4ge";
static var Propertybought = "Gekauftes Anwesen";
static var Propertiesbought = "Gekaufte Anwesen";
static var Properties = "Anwesen";
static var Rewardearned = "erhaltene Belohnung";
static var Rewardsearned = "erhaltene Belohnungen";
static var BFV_PremiumVersion = "Kauf die Premium Version von Governor of Poker";
static var BFV_PremiumContains = "Governor of Poker Premium bietet:";
static var BFV_PremiumConList1 = "13 St\u00E4dte in Texas.";
static var BFV_PremiumConList2 = "Jede Stadt hat mehr Geb\u00E4ude und bessere Spieler als die vorhergehede.";
static var BFV_PremiumConList3 = "\u00DCber 100 Computergegner.";
static var BFV_PremiumConList4 = "Jegliches Transportmittel, das du brauchst, um zu einer Stadt in Texas zu gelangen.";
static var BFV_PremiumConList5 = "Viele Pokertipps, die du gewinnen kannst.";
static var BFV_PremiumConList6 = "Sehr gute KI mit realistischem Ged\u00E4chtnis.";
static var BFV_PremiumConList7 = "Bekannte St\u00E4dte wie Dallas und El Paso.";
static var BFV_PremiumConList8 = "Turniere verschiedener Gr\u00F6ssen.";
static var BFV_PremiumConList9 = "Geldtische von leicht bis sehr schwierig.";
static var BFV_PremiumConList10 = "Viele verschiedene Tischstile und Zimmerdesigns.";
static var BFV_PremiumConList11 = "Die Chance Governor of Poker zu werden und in den Besitz von Texas zu kommen.";
static var BFV_PremiumSlogan = "KAUFE DIE PREMIUM VERSION UND BEGINNE MIT DEM SPIELSPASS!";
static var BFV_ClickDownload = "Klicke zum downloaden!";
static var BFV_Download = "Download";
static var BFV_PremiumGame = "THE GOVERNOR OF POKER";
static var BFV_PremiumPrise = "Nur [prize]";
static var youWonGovernor = "Du bist der neue\nGouverneur von Texas!!!!";
static var notEnoughMon = "Nicht genug Geld um dieses Haus zu kaufen.";
static var yes = "Ja";
static var no = "Nein";
static var buyProp = "Anwesen kaufen?";
static var owner = "Besitzer";
static var value = "Wert";
static var income = "Einkommen";
static var sellProp = "Anwesen verkaufen?";
static var difficulty = "Schwierigkeit";
static var playeramount = "Anzahl Spieler";
static var city = "Stadt";
static var menuquickGame = "Schnell Spiel Men\u00FC";
static var pot = "Pott";
static var tournament = "Turnier";
static var showCards = "Karten zeigen";
static var hideCards = "Karten verdecken";
static var weekly = "W\u00F6chentlich";
static var governorTransportWon = "Toll gemacht, du verdienst den Titel <B>Gouverneur von Texas</B> [playerName]. Du bist der beste Pokerspieler, dem ich je begegnet bin";
static var governorTransportLosed = "Du warst nicht schlecht, aber El Paso geh\u00F6rt mir, weil ich der beste Pokerspieler bin, den Texas je gekannt hat. Viel Gl\u00FCck dabei, dein verspieltes Geld wieder zur\u00FCck zu gewinnen.";
static var governorTransportInvitation = "[greeting] [playerName],<br>du hast also mein eigenes Haus und meine gesamte Heimatstadt beim Poker spielen gewonnen!<br>Bist du Mann genug um gegen mich zu spielen?<br>Wenn du gewinnst, wirst du <b>Gouverneur von ganz Texas</b>.<br>Wenn du verlierst, bekomme ich von dir <br><b>alle H\u00E4user in El Paso</b>.";
static var Score = "Punktestand";
static var togglePauseOption = "Automatische Pause";
}
Symbol 3694 MovieClip [__Packages.as.conf.Language.Frconf] Frame 0
class as.conf.Language.Frconf
{
function Frconf () {
}
static var ok = "Ok";
static var play = "Jouer";
static var quickpoker = "Poker rapide";
static var highscore = "Score \u00E9lev\u00E9";
static var options = "Options";
static var help = "Aide";
static var moregames = "Autres parties";
static var highscores = "Highscores";
static var getfullversion = "Version Premium";
static var otherplayer = "Autre joueur";
static var Easy = "Facile";
static var Medium = "Moyen";
static var Hard = "Difficile";
static var mapoftexas = "Carte du Texas";
static var nextday = "Jour suivant";
static var statistics = "Statistiques";
static var rewards = "R\u00E9compenses";
static var menurewards = "R\u00E9compenses";
static var quit = "Quitter";
static var texasmap = "Carte du Texas";
static var close = "Fermer";
static var leavetable = "Quitter la table";
static var adjustspeed = "R\u00E9gler la vitesse";
static var menuadjustspeed = "R\u00E9gler la vitesse";
static var overview = "Vue d'ensemble";
static var pause = "Pause";
static var instruction = "Instructions";
static var pokerhands = "Mains du Poker";
static var blinds = "Blinds";
static var preflop = "Pr\u00E9flop";
static var flop = "Flop";
static var turnriver = "Tournant & Rivi\u00E8re";
static var showdown = "Abattage";
static var loadbtn = "Charger";
static var deletebtn = "Supprimer";
static var newbtn = "Nouveau";
static var skip = "Sauter";
static var fullscreen = "Plein \u00E9cran";
static var window = "Fen\u00EAtre";
static var hideAllHelp = "Cacher toutes les astuces";
static var menuCareerProperties = "Menu Difficult\u00E9";
static var menuInstruction = "Instructions";
static var menuMain = "Menu principal";
static var menuMainSettings = "Options";
static var menuStatistics = "Statistiques";
static var menuNextday = "Jour compl\u00E9t\u00E9";
static var Day = "Jour:";
static var Cash = "Cash:";
static var Cities = "Cit\u00E9s:";
static var Houses = "Maisons:";
static var gamesPlayed = "Parties jou\u00E9es:";
static var Reputation = "Votre r\u00E9putation:";
static var HelpTip = "Astuce";
static var HelpTransportTitle = "Partie de transport";
static var HelpTransportText = "Vous venez de recevoir de <b>Ron (San Saba) Dixie</b> une offre de jouer pour un <b>Cheval</b>; c'est une occasion pour vous de quitter la ville.<br>Mais attention! <B>Ron (San Saba) Dixie</b> est connu comme \u00E9tant le <b>meilleur joueur</b> de San Saba.";
static var HelpWelcomeTitle = "Bienvenue au jeu de Poker: The Governor of Poker";
static var HelpWelcomeText = "Vous vous trouvez maintenant dans votre ville d'origine, San Saba. Vous voulez devenir le <B>Governor of Poker</b>, et pour atteindre cet objectif, vous devez d'abord gagner toutes les maisons de San Saba! Gagnez village apr\u00E8s village, ville apr\u00E8s ville. Lorsque vous avez gagn\u00E9 tout le Texas, vous devez confronter votre dernier adversaire.<br>Lorsque vous \u00EAtes pr\u00EAt \u00E0 essayer de gagner un peu d'argent,<br>cliquez sur l'ic\u00F4ne [...] pour commencer \u00E0 jouer dans un <B>tournoi</b>.";
static var HelpSteamyTitle = "Steamed";
static var HelpSteamyText = "Un joueur de votre table est <b>Steamed</b>, il est donc fort probable que <B>ce joueur fera des fautes</b>.";
static var HelpShowHideCTitle = "Cacher ou d\u00E9voiler les cartes";
static var HelpShowHideCText = "Quand vous avez l'option de <b>cacher</b> ou de <b>d\u00E9voiler</b> vos cartes, assurez-vous de faire le choix appropi\u00E9.<br>Lorsque vous d\u00E9cidez de d\u00E9voiler vos cartes apr\u00E8s que quelqu'un ait bluff\u00E9, les autres joueurs peuvent devenir <b>Steamed ou On Tilt</b>. Cela affectera leurs d\u00E9cisions de jeu. Surveillez les signaux indiquant un \u00E9tat Steamed ou On Tilt. Ils vous permettront de mieux juger un joueur.<br>Ne d\u00E9voilez pas vos cartes si vous ne voulez pas que les autres joueurs connaissent votre style de jeu au poker!";
static var HelpTransportNATitle = "Transport non disponible";
static var HelpTransportNAText = "Lorsque vous voudrez voyager de [currentTown] \u00E0 [destinationTown], vous aurez besoin d'un transport [transportNeeded].<br>Vous pouvez gagner un transport [transportNeeded] une fois que vous aurez gagn\u00E9 toutes les villes de la r\u00E9gion [ring]: [cityNames].";
static var HelpFirstCashgameTitle = "Partie jou\u00E9e avec du cash";
static var HelpCashgameText = "Bravo! Vous venez d'\u00EAtre <B>invit\u00E9</b> \u00E0 votre <B>premi\u00E8re partie jou\u00E9e avec du cash</b>.<br><br>Les parties jou\u00E9es avec du cash sont similaires \u00E0 des tournois, except\u00E9 que:<br>\t \u2022 Vous pouvez <B>quitter</b> une partie jou\u00E9e avec du cash apr\u00E8s <b>chaque tour</b>.<br>\t \u2022 Vous pouvez <b>faire un pari</b> et <b>gagner des maisons</b>.<br>\t \u2022 Vous devez avoir une <b>r\u00E9putation</b> pour \u00EAtre invit\u00E9.</b>";
static var HelpFirstBoughtHTitle = "Vous avez achet\u00E9 votre premi\u00E8re maison";
static var HelpFirstBoughtHText = "C'est formidable d'avoir achet\u00E9 votre <b>premi\u00E8re maison</b>.<br>La maison vous apportera des revenus de <b>[profit]$ chaque semaine!</b> L'achat de maisons est bon pour votre r\u00E9putation, et cela est essentiel pour atteindre vos objectifs.<br>Vous serez <B>propri\u00E9taire de San Saba</b> une fois que vous aurez achet\u00E9 <b>toutes les maisons</b> de la ville. Une fois propri\u00E9taire de San Saba, vous aurez l'occasion de faire un pari sur un cheval et de quitter la ville.";
static var HelpSellHouseTitle = "Vendre une maison";
static var HelpSellHouseText = "Vous devez vendre une maison parce que, au Texas, vous devez avoir un <B>minimum</b> de <B>[minimum]$</b> en cash pour participer \u00E0 un tournoi. Vous poss\u00E9dez actuellement <b>[currentCash]$</b>.<br>D\u00E9placez votre souris au-dessus d'une maison dont vous \u00EAtes propri\u00E9taire, et vous verrez qu'elle a un toit bleu. Cliquez sur Oui pour vendre cette maison.";
static var HelpGameoverTitle = "Partie termin\u00E9e";
static var HelpGameoverText = "Dommage. \u00C0 ce jour, [day], vous n'avez pas assez d'argent pour participer \u00E0 un tournoi au Texas.<br>Vous poss\u00E9dez <b>[currentCash]$</b> et vous avez besoin d'au moins <B>[minimum]$</b>.";
static var HelpNextgameWonTitle = "Jour suivant";
static var HelpNextgameWonText = "Bonne partie. Aujourd'hui, vous avez gagn\u00E9 [pokerBalance]$, mais il ne reste <b>aucun tournoi</b> auquel participer aujourd'hui \u00E0 San Saba. Il vaut probablement mieux d'abandonner pour aujourd'hui et de vous pr\u00E9parer pour une autre journ\u00E9e de poker.<br>Lorsque vous \u00EAtes pr\u00EAt, cliquez sur le bouton \"<b>Jour suivant</b>\". De nouvelles parties de poker seront disponibles demain.";
static var HelpNextgameTitle = "Jour suivant";
static var HelpNextgameText = "Aujourd'hui, il ne reste <b>aucun tournoi</b> \u00E0 jouer dans San Saba, donc il vaut probablement mieux d'abandonner pour aujourd'hui et de vous pr\u00E9parer pour une autre journ\u00E9e de poker.<br>Lorsque vous \u00EAtes pr\u00EAt, cliquez sur le bouton \"<b>Jour suivant</b>\" et de nouvelles parties de poker seront disponibles.";
static var HelpBettingHousesTitle = "Parier des maisons";
static var HelpBettingHousesText = "Dans les parties jou\u00E9es avec du cash, vous avez l'option de parier des maisons.<br>S\u00E9lectionnez simplement un symb\u00F4le de maison [...] , cliquez sur Lever, et une cl\u00E9 [...] repr\u00E9sentant la maison s\u00E9lectionn\u00E9e sera jet\u00E9e sur la table.<br>Lordqu'un pari est mis sur une maison dans une partie de poker, la maison vaut 90% de sa valeur r\u00E9elle sur le march\u00E9.";
static var HelpWelcomeSaloonTitle = "Bienvenue au: tournoi de Bob's Saloon";
static var HelpWelcomeSaloonText = "Bienvenue au: tournoi de Bob's Saloon! <B>8 joueurs</b> sont pr\u00EAts \u00E0 s'affronter dans un tournoi o\u00F9 les prix sont les suivants:<br>\t \u2022 La <b>1e\t</b>place remporte <b>[1prize]$</b><br>\t \u2022 La <b>2e\t</b>place remporte <b>[2prize]$</b><br>\t \u2022 La <b>3\t</b>place remporte <b>[3prize]$</b><br>Pour des instructions sur le poker, cliquez sur <b>Instructions</b> en haut de l'\u00E9cran.";
static var HelpButtonRaiseTitle = "Bouton Lever";
static var HelpButtonRaiseText = "Lorsque vous \u00EAtes plac\u00E9 'sur le bouton du donneur', vous vous trouvez dans la position la plus forte pour ce tour. Vous pouvez d\u00E9cider de ce que vous devez faire en tant que dernier joueur \u00E0 parier, et cela vous donne un avantage sur les autres joueurs. Avant le Flop, la petite Blind et la grande Blind doivent d\u00E9cider quoi faire apr\u00E8s vous. Apr\u00E8s le Flop, vous pourrez voir combien ils ont mis\u00E9 et s'ils se sont couch\u00E9s.<br>S'il y a eu trop de lev\u00E9es, cela sera remarqu\u00E9. Mais sortir une paire d'As sur le bouton apr\u00E8s avoir lev\u00E9 cinq fois peut \u00EAtre un don du Ciel.";
static var HelpTransport2Title = "Partie de transport";
static var HelpTransport2Text = "Vous venez de recevoir une offre de <b>[competitor]</b> pour jouer pour un transport <b>[transportType]</b>.<br>Bonne chance! Le <B>[competitor]</b> est renomm\u00E9 pour \u00EAtre le <b>meilleur joueur</b> de [townName].";
static var HelpGovernorgameTitle = "Gouverneur du jeu de Poker";
static var HelpGovernorgameText = "<B>Le Gouverneur du Texas</b> est \u00E9merveill\u00E9 de vos accomplissements. Il vous invite \u00E0 une partie de poker.<br>Aucun autre joueur au Texas ne peut surpasser le Gouverneur; deviendrez-vous <b>le nouveau Gouverneur</b>?";
static var HelpBuyHouseTitle = "Acheter une maison";
static var HelpBuyHouseText = "Essayez d'<b>acheter une maison</b>, d\u00E9placez le curseur au-dessus d'une maison et cliquez sur <b>\"Oui\"</b> lorsque le message: <b>\"Achetez une propri\u00E9t\u00E9\"</b> appara\u00EEt.<br>Une fois que vous \u00EAtes propri\u00E9taire d'une maison, vous <b>gagnerez de l'argent</b> simplement en la louant.";
static var HelpLeaveCashgameTitle = "Quitter la table";
static var HelpLeaveCashgameText = "Lorsque vous jouez une partie avec du cash, vous pouvez quitter apr\u00E8s chaque tour; cliquez simplement sur le bouton <B>\"Quitter la table\"</b> \u00E0 <b>tout moment</b>.<br>Vous ne perdrez pas l'argent que vous n'avez pas mis\u00E9.";
static var HelpRandomMessageText = ["[greeting] [playerName], Je dois vous rappeler que lorsque le nom d'une ville est inclus dans le nom d'un joueur de poker, cela signifie qu'il s'agit du meilleur joueur de cette ville.", "[greeting] [playerName], Belle journ\u00E9e, n'est-ce pas?", "[greeting] [playerName], <br>Pouvez-vous me pr\u00EAter un peu d'argent?", "[greeting] [playerName], Il est plus facile de bluffer un seul adversaire que d'en bluffer deux.", "[greeting] [playerName], Dans un tournoi, quand vous \u00EAtes dans la derni\u00E8re position sur un jeton moyen, essayez un squeeze play et relancez tout avec une main moyenne.", "[greeting] [playerName], \u00CAtes-vous ce nouveau joueur dont tout le monde parle?", "[greeting] [playerName], Avez-vous vu mon cochon?", "[greeting] [playerName], Avez-vous vu mon cheval?", "[greeting] [playerName], Il y a des joueurs conservateurs et des joueurs agressifs, et beaucoup se situent entre les deux. Essayez de deviner le type des joueurs dans un tournoi!", "[greeting] [playerName], Dans un tournoi, essayez de ne pas laisser votre nombre de jetons devenir trop bas. Vous devez avoir au moins 10 fois le montant de la grosse Blind pour que ce soit une pile int\u00E9ressante.", "[greeting] [playerName], Forcez avec chaque main moyenne lorsque votre pile de jeton est tr\u00E8s basse. Parce que vos cartes ont plus de valeur \u00E0 ce niveau-l\u00E0.", "[greeting] [playerName], Il est plus facile de bluffer un joueur conservateur qu'un joueur agressif. Mais lorsqu'un joueur conservateur suit, vous \u00EAtes probablement battu.", "[greeting] [playerName], Montrer un bluff peut rendre les joueurs Steamed. Montrer encore plus de bluffs les met On Tilt.", "[greeting] [playerName], Avez-vous achet\u00E9 de nouvelles bottes?", "[greeting] [playerName], Saviez-vous que le Gouverneur du Texas est un joueur de poker renomm\u00E9?", "[greeting] [playerName], Tous les meilleurs joueurs de poker au monde devraient entrer en comp\u00E9tition dans un grand tournoi.", "[greeting] [playerName], Je pr\u00E9vois qu'un de ces jours nous regarderons des joueurs de poker jouer sur des bo\u00EEtes brillantes qui montrent des images qui bougent.", "[greeting] [playerName], Pour gagner une partie de poker, tout ce dont vous avez besoin c'est un jeton et une chaise.", "[greeting] [playerName], Jouez-vous seulement au poker ou bien avez-vous aussi un emploi?", "[greeting] [playerName], Un joueur de poker doit \u00EAtre capable de mentir tr\u00E8s bien. Je ne fais donc jamais confiance \u00E0 un joueur de poker.", "[greeting] [playerName], Lorsque vous \u00EAtes s\u00FBr d'avoir la meilleure main, et que plusieurs joueurs vous suivent, faites une mise assez basse pour qu'ils vous suivent.", "[greeting] [playerName], Ramassez autant d'argent que possible lorsque vous gagnez une main et perdez le moins d'argent possible lorsque vous perdez une main.", "[greeting] [playerName], Dans une partie, les adversaires les plus difficiles sont ceux qui sont impr\u00E9visibles.", "[greeting] [playerName], Vous pourriez suivre une petite mise sur la rivi\u00E8re, parfois m\u00EAme lorsque vous savez que vous perdez. Cela vous donnera des informations sur le style de jeu des joueurs.", "[greeting] [playerName], La plupart du temps, les bonnes mains vous font gagner un montant moins important qu'une mauvaise main qui flop de fa\u00E7on importante.", "[greeting] [playerName], Essayez de ne pas vous ruiner avec le tirage d'une main. C'est quelque chose qu'un preneur de risque ferait.", "[greeting] [playerName], La patience est une vertu dans le poker.", "[greeting] [playerName], Consid\u00E9rez de lever plut\u00F4t que de suivre.", "[greeting] [playerName], Pourriez-vous m'apprendre \u00E0 jouer au poker un de ces jours?", "[greeting] [playerName], Le Texas est grand mais avec le moyen de transport appropri\u00E9, vous pouvez allez o\u00F9 vous voulez.", "[greeting] [playerName], Le poker est un jeu qui demande un peu de chance, quelques comp\u00E9tences, une gestion des risques, un comportement d\u00E9cent, du style, une image et une acceptation de la tromperie.", "[greeting] [playerName], Si vous ne parvenez pas \u00E0 trouver un \u00E2ne ou un pigeon sur la table de poker... C'est parce que c'est probablement vous!", "[greeting] [playerName], Le poker est un jeu qui r\u00E9unit toutes sortes de joueurs. Quel que soit leur pays.", "[greeting] [playerName], Rappelez-vous de ceci: les jetons ont plus de valeur dans un tournoi que dans une partie jou\u00E9e avec du cash. Dans un tournoi, se coucher est souvent la meilleure fa\u00E7on de jouer."];
static var SSHintNoEvent = "Il n'y a plus aucune partie de poker. Allez donc dormir et commencez une nouvelle journ\u00E9e <b>demain</b>.";
static var SSfirstTournament = "Int\u00E9ress\u00E9 de participer \u00E0 un <B>tournoi de poker</b>?<br>Vous pouvez aller au <B>Saloon</b> et commencer \u00E0 jouer imm\u00E9diatement!";
static var SSfirstCashgame = "J'ai entendu dire que vous avez \u00E9t\u00E9 invit\u00E9 \u00E0 une <B>partie jou\u00E9e avec du cash</b>!<br>Non, je n'ai pas \u00E9t\u00E9 invit\u00E9. Ma <B>r\u00E9putation</b> n'est pas assez bonne.";
static var SSfirstTransport = "Si vous voulez quitter la ville pour pouvoir jouer s\u00E9rieusement au poker, vous pouvez parier un <B>cheval</b> de <B>l'\u00E9curie</b>!";
static var transportWon = "Que vous \u00EAtes chanceux! Avec votre nouveau transport [transporttype], vous pouvez atteindre <B>3 nouvelles villes</b>. Regardez sur votre <b>carte du Texas</b> pour un itin\u00E9raire.";
static var transportLosed = "Vous avez perdu votre argent et vous n'avez toujours pas de moyen de transport, revenez <b>demain</b>!";
static var waysToEarn = "Essayez d'abord de jouer ailleurs ou d'obtenir de l'argent en <b>vendant une maison</b>.<br>Revenez quand vous avez au moins <B>[participationCash]$</b>.";
static var playTournament = "Un <B><font color=\"#000000\">tournoi de poker</font></b> vient de d\u00E9buter \u00E0 l'int\u00E9rieur. Voulez-vous rejoindre la partie?<br>L'achat est <B><font color=\"#000000\">[buyIn]$</font></b>.";
static var playCashgame = "Vous avez envie de faire une partie de poker? Un groupe de gens du coin ont commenc\u00E9 une <b>partie jou\u00E9e avec du cash</b>. Le montant minimal de cash dont vous avez besoin est <b>[entryCash]$</b>.";
static var playTransport = "N'est-il pas temps pour vous de quitter la ville? J'ai un transport <B>[transporttype]</b> pour vous<br>. Je sais que vous aimez jouer au poker, je joue contre vous pour cet enjeu, l'achat sera <B>[price]$</b>.";
static var playCashgameWon = "Super, [playerName], vous avez gagn\u00E9 <B>[balance]$</b> \u00E0 l'int\u00E9rieur!<br>Votre <B>r\u00E9putation</b> se r\u00E9pand.";
static var playCashgameLosed = "Pas de chance, vous avez perdu <b>[balance]$</b>!";
static var playCashgameTie = "Vous n'avez ni gagn\u00E9 ni perdu de l'argent, vous avez seulement perdu du temps.";
static var playTournamentWon = "Super, [playerName], j'ai entendu dire que vous avez gagn\u00E9 <B>[balance]$</b> \u00E0 l'int\u00E9rieur!<br>Votre <B>r\u00E9putation</b> se r\u00E9pand. Revenez tous bien vite, compris?";
static var playTournamentLosed = "Pas de chance, vous avez perdu <b>[balance]$</b>!<br><br>Revenez demain, un nouveau tournoi se jouera ici demain.";
static var playTransportWon = "La chance vous a souri! Avec votre nouveau transport [transporttype], vous pouvez atteindre <B>3 nouvelles villes</b>.";
static var playTransportLosed = "Vous avez perdu votre argent et vous n'avez toujours pas de transport <B>[transporttype]</b>, revenez <b>demain</b>!";
static var playTournamentMoney = "Un <B><font color=\"#000000\">tournoi de poker</font></b> vient de d\u00E9buter \u00E0 l'int\u00E9rieur, malheureusement vous n'avez pas assez d'argent pour y participer.<br>";
static var playCashgameMoney = "Vous avez \u00E9t\u00E9 invit\u00E9 \u00E0 une partie jou\u00E9e avec du cash mais <b>vous n'avez pas assez d'argent pour </b>y participer.<br>";
static var playTransportMoney = "J'ai un transport <B>[transporttype]</b> pour vous<br>. Je sais que vous aimez jouer au poker, je joue contre vous pour cet enjeu. Mais \u00E7a va vous co\u00FBter plus cher que ce dont vous disposez actuellement en cash.<br>";
static var greetingmorning = "Bonjour";
static var greetingday = "Bonne journ\u00E9e";
static var greetingevening = "Bonsoir";
static var greetingnight = "Bonne nuit";
static var greetingRandom = ["Salut", "Hello", "Hello", "Salut \u00E0 vous", "H\u00E9\u00E9\u00E9\u00E9", "H\u00E9 h\u00E9", "Salut salut"];
static var fillName = "Entrez votre nom:";
static var selectGender = "S\u00E9lectionnez Homme ou Femme:";
static var cancel = "Annuler";
static var EasyDescription = "Je suis d\u00E9butant.";
static var MediumDescription = "Je sais jouer au poker!";
static var HardDescription = "Je suis un champion du poker!";
static var InstructionButton = "[...]Dans Texas Hold'em, \"le bouton\" indique le joueur<br>[...]qui a le r\u00F4le du donneur pour la main actuelle.";
static var InstructionSmBlind = "[...]Avant que la distribution ne commence, le joueur \u00E0 gauche du<br>[...]bouton Donneur paie la \"petite Blind\" sans avoir regard\u00E9 les cartes de cette main, c'est-\u00E0-dire une petite mise. Les mises se font dans le sens des aiguilles d'une montre";
static var InstructionBgBlind = "[...]Le joueur \u00E0 gauche de la petite Blind paie la \"grande Blind\",<br>[...]cette mise \u00E9tant le double de la petite Blind. Ces mises doivent se faire sans regarder les cartes. Cela rendra chaque main int\u00E9ressante \u00E0 jouer si vous avez des cartes d\u00E9centes. Maintenant deux cartes sont distribu\u00E9es \u00E0 chaque joueur, ce sont les cartes du \"Pot\".";
static var InstructionPreFlop = "Chaque joueur a l'option de jouer sa main en suivant ou en levant la grande Blind apr\u00E8s avoir vu la valeur de ses deux premi\u00E8res cartes. La lev\u00E9e de la grande Blind se fera avec au moins une mise compl\u00E8te. Les actions courantes dans Hold'em sont Miser, Suivre ou Lever. L'action d\u00E9termine toujours les options du joueur suivant.<br>Quand il n'y a pas de mise, les options sont Parole, Miser ou Se coucher.<br>Lorsqu'une mise est faite, les options sont Suivre, Lever ou Se coucher.<br>Chaque joueur de poker a toujours l'option de Se coucher. Suivre signifie parier le m\u00EAme montant que le joueur pr\u00E9c\u00E9dent. Lever signifie parier le montant d\u00E9j\u00E0 mis\u00E9 puis augmenter cette mise. Lever signifie au moins doubler le montant pr\u00E9c\u00E9dent.";
static var InstructionFlop = "Le \"Flop\" sont les trois cartes non cach\u00E9es pos\u00E9es sur la table. Elles sont aussi appel\u00E9es \"cartes de communaut\u00E9\". Les cartes du \"Pot\" sont les cartes distribu\u00E9es \u00E0 chaque joueur au d\u00E9but de chaque tour. Tous les joueurs doivent combiner les deux cartes du \"Hole\" (cartes faces cach\u00E9es) avec trois cartes de communaut\u00E9 pour obtenir la meilleure combinaison de poker possible. C'est \u00E0 chaque joueur de d\u00E9cider s'il pense avoir une meilleure main que celle des autres joueurs de la table. Les mises commencent avec le joueur situ\u00E9 directement \u00E0 gauche de la grande Blind. Toutes les mises et les relances se font en petits montants. Les actions de miser, de suivre, de lever et de se coucher continuent jusqu'\u00E0 ce que les seuls joueurs restants sont ceux qui veulent mettre le m\u00EAme montant que celui mis\u00E9 (le pot) ou lorsque tous les joueurs sauf un se sont couch\u00E9s.<br><br>Les tournois peuvent varier quant aux prix \u00E0 remporter, et les mises dans les parties jou\u00E9es avec du cash peuvent varier quant au montant.";
static var InstructionTurn = "Lorsque les paris sont termin\u00E9s, la carte \"Tournant\" est distribu\u00E9e sur la table. Carte non cach\u00E9e une fois de plus! Le Tournant est la carte num\u00E9ro quatre des cartes de communaut\u00E9 dans Texas Hold'em. Les paris reprennent et commencent avec le joueur situ\u00E9 directement \u00E0 gauche du bouton du Donneur.";
static var InstructionRiver = "Lorsque les paris sont termin\u00E9s pour le tour du \"Tournant\", la carte \"Rivi\u00E8re\" est distribu\u00E9e. De nouveau, cette carte sera plac\u00E9e non cach\u00E9e sur la table. La Rivi\u00E8re est la quatri\u00E8me et derni\u00E8re carte de communaut\u00E9 dans Texas Hold\u2019em. Les paris commencent avec le joueur situ\u00E9 directement \u00E0 gauche du bouton du Donneur. Un tour de mises suit. C'est la m\u00EAme action de parier que celle qui a lieu apr\u00E8s le Tournant.";
static var InstructionShowdown = "\u00C0 la fin du dernier tour de mises, et s'il reste plus d'un joueur de poker, le dernier \u00E0 miser ou \u00E0 lever d\u00E9voile ses cartes en premier. Si aucune mise n'a \u00E9t\u00E9 faite au dernier tour, le joueur directement \u00E0 c\u00F4t\u00E9 du bouton, dans le sens des aiguilles d'une montre, d\u00E9voile ses cartes en premier. Deux cartes Hole combin\u00E9es avec trois ou quatre cartes de communaut\u00E9 forment une main. Le joueur ayant la meilleure main \u00E0 cinq cartes gagne le pot. Le pot de poker sera divis\u00E9 entre les gagnants, cela est appel\u00E9 un \"pot partag\u00E9.\" Dans Texas Hold'em, les couleurs des cartes sont Carreau, Coeur, Pique et Tr\u00E8fle, et elles ont toutes la m\u00EAme valeur. Une fois le montant du pot pay\u00E9 \u00E0 un joueur, une nouvelle partie est pr\u00EAte \u00E0 commencer. Le bouton du donneur passe au joueur suivant, dans le sens horaire. De nouvelles cartes Hole sont distribu\u00E9es aux joueurs qui continuent \u00E0 participer au jeu.";
static var InstructionHandranking = "Valeurs des mains dans Texas Hold'em";
static var OverviewTopPA = "[playerAmount] meilleurs joueurs";
static var OverviewPlayerLeft = "[playerAmount1] des [playerAmount2] joueurs restants";
static var OverviewTable = "Table";
static var TransportFoot = "\u00C0 pied";
static var TransportHorse = "\u00C0 cheval";
static var TransportWagon = "En chariot";
static var TransportCarriage = "En diligence";
static var TransportCar = "En voiture";
static var PlayerStateChips = "Jetons";
static var PlayerStateBet = "Mise";
static var PlayerStateRank = "Rang";
static var PlayerStateState = "\u00C9tat";
static var PlayerStateMood = "Humeur";
static var PlayerStateTilt = "On Tilt";
static var PlayerStateSteamy = "Steamed";
static var Stranger = "\u00C9tranger";
static var toBad = "Pas de chance";
static var toCongratulations = "F\u00E9licitations";
static var toAmazing = "\u00C9tonnant";
static var youLost = "Vous avez perdu [whatIsChanged]";
static var extraChange = "et [whatIsChanged]";
static var youWon = "Vous avez gagn\u00E9 [whatIsChanged]";
static var youWonA = "Vous avez gagn\u00E9 un(e) [whatIsChanged]";
static var oneHouse = "1 maison";
static var multipleHouses = "[amount] maisons";
static var movingPlayers = "Envoyer les joueurs \u00E0 d'autres tables";
static var e1e = "1e";
static var e2e = "2e";
static var e3e = "3e";
static var e4e = "4e";
static var e5e = "5e";
static var e6e = "6e";
static var eedefault = "[amount]e";
static var place = "place";
static var saveNotify = "Votre progression actuelle sera sauvegard\u00E9e. Voulez-vous quitter?";
static var giveupNotify = "\u00CAtes-vous s\u00FBr de vouloir abandonner et partir?";
static var leaveNotify = "Une fois le tour actuel termin\u00E9, vous pouvez quitter la partie.";
static var deleteCareerConformation = "\u00CAtes-vous s\u00FBr de vouloir supprimer la carri\u00E8re sauvegard\u00E9e: [careerName]?";
static var worthOfHouses = "[150]$ en maisons";
static var totalProfit = "Ce qui donne un <b>profit</b> de [whatIsChanged]$.";
static var totalLoss = "Ce qui donne une <b>perte</b> de [whatIsChanged]$.";
static var comeBackLater = "Je suppose que vous reviendrez plus tard.";
static var And = "et";
static var quitConfirm = "\u00CAtes-vous s\u00FBr de vouloir abandonner le r\u00F4le de Governor of Poker?";
static var focusConfirm = "<B>Partie en pause</b>\n Cliquez sur le bouton <b>Ok</b> pour reprendre.";
static var coin0Hint = "Quand vous voulez suivre... Prenez en consid\u00E9ration de lever! Cela vous donne 2 chances de gagner le pot.";
static var coin1Hint = "Laissez vos adversaires deviner! Brouillez toujours votre style de jeu.";
static var coin2Hint = "Si vous levez le m\u00EAme montant \u00E0 chaque fois, cela va rendre votre adversaire perplexe!";
static var coin3Hint = "Si vous levez des montants diff\u00E9rents \u00E0 chaque fois, cela va rendre votre adversaire perplexe!";
static var coin4Hint = "Jouer une bonne main lentement est OK. Jouer une main m\u00E9diocre lentement est dangereux.";
static var coin5Hint = "Dans la derni\u00E8re position, cela peut \u00EAtre tr\u00E8s avantageux de suivre avec des as.";
static var coin6Hint = "Bien que la combinaison As-As est la meilleure main au commencement, c'est seulement une paire.";
static var coin7Hint = "Soyez pr\u00EAt \u00E0 vous coucher pour As-As ou Roi-Roi lorsque vous \u00EAtes s\u00FBr que vous \u00EAtes battu.";
static var coin8Hint = "Dans certaines situations, une main peut \u00EAtre trop bonne pour se coucher; dans ce cas, il faut suivre automatiquement.";
static var coin9Hint = "Faites tapis avec la meilleure main!";
static var coin10Hint = "\u00CAtre Steamed apr\u00E8s une mauvaise main ne peut que vous co\u00FBter encore plus d'argent!";
static var coin11Hint = "Vous aimerez d\u00E9couvrir si vous \u00EAtes On Tilt!";
static var coin12Hint = "Faire tapis marche bien \u00E0 chaque fois sauf la derni\u00E8re fois.";
static var coin13Hint = "Attention lorsque vous levez avec une petite pile. Vous pourriez en arriver \u00E0 risquer plus d'argent!";
static var coin14Hint = "Suivre avec une petite pile peut \u00EAtre tr\u00E8s fructueux!";
static var coin15Hint = "Suivre avec des mains de peu de valeur vous fera perdre sur le long terme.";
static var coin16Hint = "Un joueur avec le nom de sa ville d'origine comme surnom est probablement le meilleur joueur de cette ville.";
static var coin17Hint = "Un joueur qui place des grosses mises est g\u00E9n\u00E9ralement faible tandis qu'un joueur qui place de petites mises est g\u00E9n\u00E9ralement fort.";
static var coin18Hint = "As-As est la valeur la plus forte contre un seul adversaire.";
static var coin19Hint = "Lorsque vous avez un brelan, prenez garde aux trois cartes couleurs sur la table.";
static var coin20Hint = "Quand vous avez une couleur, prenez garde \u00E0 une paire ou a une couleur plus forte.";
static var coin21Hint = "Ne laissez jamais les \u00E9motions contr\u00F4ler votre raisonnement.";
static var coin22Hint = "Ce qu'il y a de mieux \u00E0 faire lorsque vous \u00EAtes On Tilt, c'est de faire une courte pause.";
static var coin23Hint = "Une tr\u00E8s petite mise sur une rivi\u00E8re \u00E9veille toujours le soup\u00E7on.";
static var coin0Descr = "1e Place";
static var coin1Descr = "2e Place";
static var coin2Descr = "3e Place";
static var coin3Descr = "4e Place";
static var coin4Descr = "5e Place";
static var coin5Descr = "6e Place";
static var subjectWins = "[subject] gagne [independent]";
static var coin6Descr = "Faites tapis avant le Flop";
static var coin7Descr = "Faites tapis apr\u00E8s le Flop";
static var coin8Descr = "Faites tapis apr\u00E8s le Tournant";
static var coin9Descr = "Faites tapis apr\u00E8s la Rivi\u00E8re";
static var coin10Descr = "Faites tapis contre 1 joueur";
static var coin11Descr = "Faites tapis contre 2 joueurs";
static var coin12Descr = "Faites tapis contre 3 joueurs";
static var coin13Descr = "D\u00E9couvrez 1 joueur";
static var coin14Descr = "D\u00E9couvrez 2 joueurs";
static var coin15Descr = "Bluffez et gagnez";
static var coin16Descr = "Battez 1 paire";
static var coin17Descr = "Battez une double paire";
static var coin18Descr = "Battez un brelan";
static var coin19Descr = "Battez une quinte";
static var coin20Descr = "Battez une couleur";
static var coin21Descr = "Battez une main pleine";
static var coin22Descr = "Battez un carr\u00E9";
static var coin23Descr = "Battez une quinte flush";
static var langSelect = "S\u00E9lection de la langue";
static var screenModeSelect = "Mode \u00C9cran";
static var Newtown = "Nouvelle ville";
static var Newtowns = "Nouvelles villes";
static var Newtransport = "Nouveau transport";
static var Transport = "Transport";
static var Pokergameearnings = "Gains de la partie de poker";
static var Houseearnings = "Gain de maisons";
static var Propertybought = "Propri\u00E9t\u00E9 achet\u00E9e";
static var Propertiesbought = "Propri\u00E9t\u00E9s achet\u00E9es";
static var Properties = "Propri\u00E9t\u00E9s";
static var Rewardearned = "R\u00E9compense gagn\u00E9e";
static var Rewardsearned = "R\u00E9compense gagn\u00E9es";
static var BFV_PremiumVersion = "Procurez-vous la version Premium de Governor of Poker";
static var BFV_PremiumContains = "Fonctionnalit\u00E9s du jeu Governor of Poker Premium:";
static var BFV_PremiumConList1 = "13 villes au Texas.";
static var BFV_PremiumConList2 = "Chaque ville a davantage de b\u00E2timents et de meilleurs joueurs que la pr\u00E9c\u00E9dente.";
static var BFV_PremiumConList3 = "Plus de 100 adversaires sur ordinateur.";
static var BFV_PremiumConList4 = "Tous les moyens de transport dont vous avez besoin pour vous rendre \u00E0 n'importe quelle ville du Texas.";
static var BFV_PremiumConList5 = "De nombreuses astuces de poker pour vous aider \u00E0 gagner.";
static var BFV_PremiumConList6 = "Excellent AI avec une m\u00E9moire r\u00E9aliste.";
static var BFV_PremiumConList7 = "Des villes bien connues, comme Dallas et El Paso.";
static var BFV_PremiumConList8 = "Des tournois de diff\u00E9rentes importances.";
static var BFV_PremiumConList9 = "Des tables de parties avec cash, d'un niveau facile \u00E0 tr\u00E8s difficile.";
static var BFV_PremiumConList10 = "De nombreux styles de tables et de salles.";
static var BFV_PremiumConList11 = "La chance de devenir le Governor of Poker et de tenir le Texas.";
static var BFV_PremiumSlogan = "PROCUREZ-VOUS LA VERSION PREMIUM ET COMMENCEZ \u00C0 JOUER!";
static var BFV_ClickDownload = "Cliquez pour t\u00E9l\u00E9charger!";
static var BFV_Download = "T\u00E9l\u00E9charger";
static var BFV_PremiumGame = "THE GOVERNOR OF POKER";
static var BFV_PremiumPrise = "Seulement [prize]";
static var youWonGovernor = "Vous \u00EAtes le nouveau\nGouverneur du Texas!!!!";
static var notEnoughMon = "Pas assez d'argent pour acheter cette maison.";
static var yes = "Oui";
static var no = "Non";
static var buyProp = "Acheter la propri\u00E9t\u00E9?";
static var owner = "Propri\u00E9taire";
static var value = "Valeur";
static var income = "Revenus";
static var sellProp = "Vendre la propri\u00E9t\u00E9?";
static var difficulty = "Difficult\u00E9";
static var playeramount = "Montant du joueur";
static var city = "Cit\u00E9";
static var menuquickGame = "Menu du jeu rapide";
static var pot = "Pot";
static var tournament = "Tournoi";
static var showCards = "Montrer les cartes";
static var hideCards = "Cacher les cartes";
static var weekly = "Par semaine";
static var governorTransportWon = "Excellent travail! Vous m\u00E9ritez de devenir le <B>Gouverneur du Texas</B>, [playerName]. Vous \u00EAtes le meilleur joueur de poker que je connais.";
static var governorTransportLosed = "Vous vous \u00EAtes bien d\u00E9fendu, mais El Paso m'appartient parce que je suis le meilleur joueur de poker dans l'histoire du Texas. Bonne chance lorsque vous essaierez de regagner ce que vous venez de perdre.";
static var governorTransportInvitation = "[greeting] [playerName],<br>Bon alors, vous avez gagn\u00E9 ma ville natale et ma propre maison en jouant au poker!<br>Avez-vous le courage de jouer contre moi?<br>Si vous gagnez, vous deviendrez <b>gouverneur de tout le Texas</b>.<br>Mais si vous perdez, vous devrez me donner<br><B>toutes les maisons d'El Paso</b>.";
static var Score = "Score";
static var togglePauseOption = "Pause automatique";
}
Symbol 3695 MovieClip [__Packages.as.conf.Language.Esconf] Frame 0
class as.conf.Language.Esconf
{
function Esconf () {
}
static var ok = "Aceptar";
static var play = "Jugar";
static var quickpoker = "Poker r\u00E1pido";
static var highscore = "R\u00E9cords";
static var options = "Opciones";
static var help = "Ayuda";
static var moregames = "M\u00E1s juegos";
static var highscores = "Highscores";
static var getfullversion = "Versi\u00F3n premium";
static var otherplayer = "Cambiar jugador";
static var Easy = "F\u00E1cil";
static var Medium = "Medio";
static var Hard = "Dif\u00EDcil";
static var mapoftexas = "Mapa de Texas";
static var nextday = "D\u00EDa siguiente";
static var statistics = "Estad\u00EDsticas";
static var rewards = "Premios";
static var menurewards = "Premios";
static var quit = "Salir";
static var texasmap = "Mapa de Texas";
static var close = "Cerrar";
static var leavetable = "Abandonar mesa";
static var adjustspeed = "Ajustar rapidez";
static var menuadjustspeed = "Ajustar la rapidez";
static var overview = "Visi\u00F3n global";
static var pause = "Pausa";
static var instruction = "Instrucciones";
static var pokerhands = "Manos de Poker";
static var blinds = "Apuestas ciegas";
static var preflop = "Pre-flop";
static var flop = "Flop";
static var turnriver = "Turn & River";
static var showdown = "Showdown";
static var loadbtn = "Cargar";
static var deletebtn = "Borrar";
static var newbtn = "Nuevo";
static var skip = "Saltar";
static var fullscreen = "Pantalla completa";
static var window = "Ventana";
static var hideAllHelp = "Ocultar consejos";
static var menuCareerProperties = "Men\u00FA de dificultad";
static var menuInstruction = "Instrucciones";
static var menuMain = "Men\u00FA principal";
static var menuMainSettings = "Opciones";
static var menuStatistics = "Estad\u00EDsticas";
static var menuNextday = "D\u00EDa finalizado";
static var Day = "D\u00EDa:";
static var Cash = "Dinero:";
static var Cities = "Ciudades:";
static var Houses = "Casas:";
static var gamesPlayed = "Partidas jugadas:";
static var Reputation = "Reputaci\u00F3n:";
static var HelpTip = "Consejo";
static var HelpTransportTitle = "Partida de transporte";
static var HelpTransportText = "Ron Dixie San Saba te ha ofrecido <b>jugar para</b> ganar <b>un caballo</b>. Es tu oportunidad para marcharte del pueblo.<br>Pero ten cuidado, <B>Ron Dixie San Saba </b> tiene fama de ser el <b>mejor jugador</b> de San Saba.";
static var HelpWelcomeTitle = "Bienvenido a: The Governor of Poker";
static var HelpWelcomeText = "Est\u00E1s en tu pueblo natal, San Saba. Quieres convertirte en el <B>Governor of Poker</b>, y para ello debes empezar ganando todas las casas de San Saba. Cons\u00EDguelo ciudad a ciudad, pueblo a pueblo. Cuando tengas todo Texas, tendr\u00E1s que enfrentarte a tu \u00FAltimo rival.<br><br>Cuando est\u00E9s listo para ganar algo de dinero, haz clic en el icono [...] para empezar el <B>campeonato</b>.";
static var HelpSteamyTitle = "Mosqueado";
static var HelpSteamyText = "Un jugador de la mesa est\u00E1 <b>mosqueado</b>; ahora es m\u00E1s probable que <B>cometa alg\u00FAn error</b>.";
static var HelpShowHideCTitle = "Ocultar o mostrar cartas";
static var HelpShowHideCText = "Cuando tengas la opci\u00F3n de <b>ocultar</b> o <b>mostrar</b> tus cartas, aseg\u00FArate de tomar la decisi\u00F3n adecuada.<br>Si decides mostrar tus cartas despu\u00E9s de un farol, puede que los dem\u00E1s jugadores <b>se mosqueen o se irriten</b>, lo cual puede influir en sus pr\u00F3ximas decisiones. F\u00EDjate bien en los signos de mosqueo e irritaci\u00F3n, te ayudar\u00E1n a juzgar mejor a los jugadores. <br>\u00A1No muestres tus cartas si no quieres que los dem\u00E1s jugadores adivinen tu estilo de juego!";
static var HelpTransportNATitle = "Transporte no disponible";
static var HelpTransportNAText = "Si quieres viajar de [currentTown] a [destinationTown] necesitas un [transportNeeded]. <br>Puedes conseguirlo cuando hayas ganado todos los pueblos de la regi\u00F3n [ring]: [cityNames].";
static var HelpFirstCashgameTitle = "Partida con dinero";
static var HelpCashgameText = "Enhorabuena, te acaban de <B>invitar</b> a jugar tu <B>primera partida con dinero</b>.<br><br>Las partidas con dinero son parecidas a los campeonatos pero con algunas excepciones:<br> \u2022 Puedes <B>abandonar</b> la partida despu\u00E9s de <b>cada ronda</b>.<br> \u2022 Puedes <b>apostar</b> y <b>ganar casas</b>.<br> \u2022 Necesitas tener cierta <b>reputaci\u00F3n</b> para que te inviten.</b>";
static var HelpFirstBoughtHTitle = "Te has comprado tu primera casa";
static var HelpFirstBoughtHText = "Has hecho muy bien comprando tu <b>primera casa</b>;<br>te reportar\u00E1 unos beneficios de <b>$[profit] a la semana.</b> Comprar casas es bueno para tu reputaci\u00F3n y son esenciales para conseguir tus objetivos.<br> <B>San Saba te pertenecer\u00E1</b> cuando hayas comprado <b>todas las casas</b> del pueblo; entonces tendr\u00E1s la oportunidad de apostar por un caballo y marcharte.";
static var HelpSellHouseTitle = "Vender una casa";
static var HelpSellHouseText = "Tienes que vender una casa porque para participar en cada campeonato de Texas necesitas un <B>m\u00EDnimo</b> de <B>$[minimum]</b> en efectivo. En estos momentos tienes <b>$[currentCash]</b>.<br>Coloca el rat\u00F3n sobre una de las casas que te pertenezcan (ver\u00E1s que tiene el tejado azul) y pulsa S\u00ED para venderla.";
static var HelpGameoverTitle = "Fin de la partida";
static var HelpGameoverText = "Es una pena, pero el [day] no tienes bastante dinero para jugar ning\u00FAn campeonato de Texas.<br>Tienes <b>$[currentCash]</b>, y necesitas por lo menos <B>$[minimum]</b>.";
static var HelpNextgameWonTitle = "D\u00EDa siguiente";
static var HelpNextgameWonText = "Buena partida. Has ganado $[pokerBalance], pero por hoy ya no queda <b>ning\u00FAn campeonato</b> por jugar en San Saba. Ser\u00E1 mejor que lo dejes por hoy y te prepares para jugar otro d\u00EDa.<br>Cuando est\u00E9s listo, haz clic en el bot\u00F3n \"<b>D\u00EDa siguiente</b>\". Ma\u00F1ana podr\u00E1s jugar m\u00E1s partidas de Poker.";
static var HelpNextgameTitle = "D\u00EDa siguiente";
static var HelpNextgameText = "Por hoy ya no queda <b>ning\u00FAn campeonato</b> por jugar en San Saba, as\u00ED que ser\u00E1 mejor que lo dejes por hoy y te prepares para jugar otro d\u00EDa.<br>Cuando est\u00E9s listo, haz clic en el bot\u00F3n \"<b>D\u00EDa siguiente</b>\" y podr\u00E1s jugar m\u00E1s partidas.";
static var HelpBettingHousesTitle = "Apostar casas";
static var HelpBettingHousesText = "En las partidas con dinero existe la posibilidad de apostar casas.<br>Selecciona el s\u00EDmbolo de una casa [...] , pulsa Subir y se lanzar\u00E1 una llave [...] sobre la mesa, que representa la casa elegida.<br>Cuando se apuesta una casa, vale el 90% de su valor en el mercado.";
static var HelpWelcomeSaloonTitle = "Bienvenido a: el campeonato del Sal\u00F3n de Bob";
static var HelpWelcomeSaloonText = "Bienvenido al Sal\u00F3n de Bob. <B>8 jugadores</b> est\u00E1n listos para competir en un campeonato de Poker, cuyos premios son los siguientes:<br> \u2022 <b>El 1\u00BA\t</b>puesto gana <b>$ [1prize]</b><br> \u2022 <b>El 2\u00BA\t</b>puesto gana <b>$ [2prize]</b><br> \u2022 <b>El 3\u00BA\t</b>puesto gana <b>$ [3prize]</b><br>Si deseas ver las instrucciones del juego haz clic en <b>Instrucciones</b>, situado en la parte superior de la pantalla.";
static var HelpButtonRaiseTitle = "Bot\u00F3n de subir";
static var HelpButtonRaiseText = "'Cuando te toque ser el repartidor, estar\u00E1s en la mejor posici\u00F3n de la mano, puesto que ser\u00E1s el \u00FAltimo en apostar y tendr\u00E1s m\u00E1s informaci\u00F3n de los dem\u00E1s jugadores. Antes de darle la vuelta a las tres primeras cartas, las apuestas ciegas (tanto la peque\u00F1a como la grande) deben decidir qu\u00E9 hacer despu\u00E9s que t\u00FA. Despu\u00E9s de darle la vuelta a las cartas, podr\u00E1s ver lo que apuestan o si pasan. Si subes muchas veces, llamar\u00E1s mucho la atenci\u00F3n, pero si consigues dos ases despu\u00E9s de cinco subidas puedes llevarte un buen montoncito.";
static var HelpTransport2Title = "Partida de transporte";
static var HelpTransport2Text = "<b>[competitor]</b> te ha ofrecido jugar para ganar un <b>[transportType]</b>.<br>Buena suerte; <B>[competitor]</b> tiene fama de ser el <b>mejor jugador</b> de [townName].";
static var HelpGovernorgameTitle = "The Governor of Poker";
static var HelpGovernorgameText = "<B>El jefe de Texas</b> est\u00E1 muy impresionado con tus logros y te ha invitado a jugar una partida de Poker.<br>Es el mejor jugador de Texas; \u00BFser\u00E1s t\u00FA <b>el pr\u00F3ximo jefe</b>?";
static var HelpBuyHouseTitle = "Comprar una casa";
static var HelpBuyHouseText = "Intenta <b>comprar una casa</b> colocando el cursor sobre una de ellas y pulsando <b>\"S\u00ED\"</b> donde dice: <b>\"Comprar una propiedad\"</b>.<br>Cuando tengas una casa, podr\u00E1s <b>ganar dinero</b> alquil\u00E1ndola.";
static var HelpLeaveCashgameTitle = "Abandonar la mesa";
static var HelpLeaveCashgameText = "Cuando juegas una partida con dinero, puedes abandonarla despu\u00E9s de cada mano con solo hacer clic en <B>\"Abandonar la mesa\"</b> <b>en cualquier momento</b>,<br> y no pierdes el dinero que no has apostado.";
static var HelpRandomMessageText = ["[greeting] [playerName], te recuerdo que cuando un jugador tiene de apodo el nombre de una ciudad quiere decir que es el mejor de dicha ciudad.", "[greeting] [playerName], qu\u00E9 buen d\u00EDa hace, \u00BFverdad?", "[greeting] [playerName], <br>\u00BFpuedes prestarme dinero?", "[greeting] [playerName], es m\u00E1s f\u00E1cil ir de farol con un solo jugador que con dos.", "[greeting] [playerName], en un campeonato, eres el \u00FAltimo\u00A0a la hora de hacer tu apuesta, y tienes una cantidad promedio de fichas con respecto a los otros jugadores, debes arriesgar y apostar todo con unas cartas normales.", "[greeting] [playerName], \u00BFeres el nuevo jugador del que todo el mundo habla?", "[greeting] [playerName], \u00BFhas visto mi cerdo?", "[greeting] [playerName], \u00BFhas visto mi caballo?", "[greeting] [playerName], en un campeonato hay jugadores buenos y malos, y muchos regulares. \u00A1Intenta adivinar qui\u00E9n es qui\u00E9n!", "[greeting] [playerName], en un campeonato, intenta no quedarte con muy pocas fichas. Para ir bien, debes tener como m\u00EDnimo 10 veces la cantidad de la apuesta ciega grande.", "[greeting] [playerName], cuando tengas pocas fichas, apuesta si tienes unas cartas normales, porque en aquel momento valen m\u00E1s.", "[greeting] [playerName], ir de farol con un jugador bueno es m\u00E1s f\u00E1cil que con uno malo, pero si el bueno va, lo m\u00E1s seguro es que pierdas.", "[greeting] [playerName], si muestras un farol, los jugadores se mosquean; si muestras m\u00E1s faroles, acabar\u00E1n irrit\u00E1ndose.", "[greeting] [playerName], \u00BFtienes botas nuevas?", "[greeting] [playerName], \u00BFsab\u00EDas que el gobernador de Texas es un jugador de Poker con mucha fama?", "[greeting] [playerName], los mejores jugadores del mundo deber\u00EDan competir en un gran campeonato.", "[greeting] [playerName], yo creo que alg\u00FAn d\u00EDa veremos jugar partidas de Poker a trav\u00E9s de unos aparatos que proyecten im\u00E1genes en movimiento.", "[greeting] [playerName], para ganar una partida de Poker solo necesitas una ficha y una silla.", "[greeting] [playerName], \u00BFte dedicas solo a jugar al Poker o a alguna otra cosa?", "[greeting] [playerName], los jugadores de Poker deben saber mentir muy bien. Por eso no me f\u00EDo nunca de ninguno.", "[greeting] [playerName], cuando est\u00E9s absolutamente seguro de que tienes la mejor mano y a\u00FAn queda m\u00E1s de un jugador por apostar, mant\u00E9n tu apuesta baja para conseguir que vayan.", "[greeting] [playerName], gana tanto dinero como puedas al ganar una mano y pierde lo m\u00EDnimo cuando la pierdas.", "[greeting] [playerName], los jugadores m\u00E1s duros siempre son los imprevisibles.", "[greeting] [playerName], en la \u00FAltima ronda de apuestas, puedes apostar una peque\u00F1a cantidad aunque sepas que vas a perder para observar el estilo de juego de los dem\u00E1s jugadores.", "[greeting] [playerName], es m\u00E1s frecuente conseguir cantidades m\u00E1s peque\u00F1as cuando tienes buenas cartas que conseguir una gran cantidad con una mano m\u00E1s floja.", "[greeting] [playerName], intenta no arruinarte con una mano que necesita mejorar para ganar. Eso es lo que har\u00EDa un mal jugador.", "[greeting] [playerName], la paciencia es una virtud en el Poker.", "[greeting] [playerName], intenta subir m\u00E1s que igualar.", "[greeting] [playerName], \u00BFpuedes ense\u00F1arme a jugar al Poker?", "[greeting] [playerName], Texas es muy grande, pero con el transporte adecuado puedes ir a todas partes.", "[greeting] [playerName], el Poker es un juego donde intervienen la suerte, la habilidad, el saber arriesgar, el buen comportamiento, el estilo, la imagen y el enga\u00F1o.", "[greeting] [playerName], si no encuentras ning\u00FAn mal jugador en la mesa... es que probablemente seas t\u00FA.", "[greeting] [playerName], el Poker es un juego que re\u00FAne jugadores de toda clase y procedencia.", "[greeting] [playerName], recuerda que las fichas de un campeonato tienen m\u00E1s valor que las de una partida con dinero, y que en los campeonatos muchas veces lo mejor es no ir."];
static var SSHintNoEvent = "No queda ninguna partida por jugar. Vete a dormir y ve al <b>d\u00EDa siguiente</b>.";
static var SSfirstTournament = "\u00BFTe interesa jugar un <B>campeonato de Poker</b>?<br>Puedes ir al <B>sal\u00F3n</b> y empezar a jugar ahora mismo.";
static var SSfirstCashgame = "He o\u00EDdo que te han invitado a jugar <B>una partida con dinero</b>!<br>A m\u00ED no, no tengo la suficiente <B>reputaci\u00F3n</b>.";
static var SSfirstTransport = "Si quieres irte del pueblo para jugar una partida de verdad, ju\u00E9gate un <B>caballo</b> en el <B>establo</b>!";
static var transportWon = "Qu\u00E9 suerte, con el [transporttype] puedes llegar a <B>3 nuevas ciudades</b>. Mira el <b>mapa de Texas</b> para averiguar c\u00F3mo llegar.";
static var transportLosed = "Has perdido todo el dinero y a\u00FAn no tienes ning\u00FAn medio de transporte. \u00A1Vuelve <b>ma\u00F1ana</b>!";
static var waysToEarn = "Intenta jugar en alg\u00FAn otro sitio primero o consigue dinero <b>vendiendo una casa</b>.<br>Vuelve cuando tengas por lo menos <B>$[participationCash]</b>.";
static var playTournament = "Ah\u00ED dentro va a empezar un <B><font color=\"#000000\">campeonato de Poker</font></b>. \u00BFQuieres jugar?<br>La entrada cuesta <B><font color=\"#000000\">$[buyIn]</font></b>.";
static var playCashgame = "\u00BFTe apetece jugar? Un par de vecinos van a jugar una <b>partida con dinero</b>. El m\u00EDnimo que necesitas es <b>$[entryCash]</b>.";
static var playTransport = "\u00BFNo crees que es hora de irte del pueblo? Tengo un <B>[transporttype]</b> para ti.<br> S\u00E9 que te gusta el Poker. Te lo apuesto, la entrada es de <B>$[price]</b>.";
static var playCashgameWon = "Lo has hecho muy bien, [playerName], has ganado <B>$[balance]</b>. <br>Tu <B>reputaci\u00F3n</b> va creciendo.";
static var playCashgameLosed = "\u00A1Qu\u00E9 mala suerte que hayas perdido <b>$[balance]</b>!";
static var playCashgameTie = "Ni has perdido ni has ganado dinero, simplemente has perdido el tiemp.";
static var playTournamentWon = "Bien hecho, [playerName], he o\u00EDdo que has ganado <B>$[balance]</b>.<br>Tu <B>reputaci\u00F3n</b> va creciendo. Volved todos, \u00BFme o\u00EDs?";
static var playTournamentLosed = "\u00A1Qu\u00E9 mala suerte que hayas perdido <b>$[balance]</b><br><br>Vuelve ma\u00F1ana, habr\u00E1 otro campeonato.";
static var playTransportWon = "Qu\u00E9 suerte, con el [transporttype] puedes llegar a <B>3 nuevas ciudades</b>.";
static var playTransportLosed = "Has perdido todo el dinero y a\u00FAn no tienes ning\u00FAn medio de transporte. \u00A1Vuelve <b>ma\u00F1ana</b>!";
static var playTournamentMoney = "Ah\u00ED dentro va a empezar un<B><font color=\"#000000\">campeonato de Poker</font></b>; qu\u00E9 pena que no tengas suficiente dinero para jugar.<br>";
static var playCashgameMoney = "Te han invitado a jugar una partida con dinero pero <b>no tienes suficientes fondos</b> para jugar.<br>";
static var playTransportMoney = "Tengo un <B>[transporttype]</b> para ti. <br> S\u00E9 que te gusta el Poker. Te lo apuesto; solo que te costar\u00E1 m\u00E1s de lo que tienes ahora.<br>";
static var greetingmorning = "Buenos d\u00EDas";
static var greetingday = "Buenos d\u00EDas";
static var greetingevening = "Buenas tardes";
static var greetingnight = "Buenas noches";
static var greetingRandom = ["Hola", "Qu\u00E9 tal", "Qu\u00E9 tal", "Buenas", "Hola", "\u00A1Eh!", "Hola hola"];
static var fillName = "Escribe tu nombre:";
static var selectGender = "Selecciona un sexo:";
static var cancel = "Cancelar";
static var EasyDescription = "Soy principiante.";
static var MediumDescription = "Ya s\u00E9 jugar al Poker.";
static var HardDescription = "\u00A1Soy el Governor of Poker!";
static var InstructionButton = "[...]En Texas Hold'em, hay un boton que se\u00F1ala qu\u00E9 jugador<br>[...]es el repartidor de la mano en juego.";
static var InstructionSmBlind = "[...]Antes de que empiece la mano, el jugador a la izquierda del<br>[...]repartidor hace la \"apuesta ciega peque\u00F1a\", sin haber visto ninguna carta, y las apuestas siguen en el sentido de las agujas del reloj.";
static var InstructionBgBlind = "[...]El jugador a la izquierda del que hace la apuesta ciega<br>[...]peque\u00F1a hace la \"apuesta ciega grande\", que es el doble de la peque\u00F1a. Estas apuestas se hacen antes de ver ninguna carta, y as\u00ED se consigue que valga la pena jugar si tienes unas cartas decentes. Luego se reparten dos cartas, llamadas \"cartas de mano\", a cada jugador.";
static var InstructionPreFlop = "Cada jugador tiene la opci\u00F3n de jugar su mano yendo o subiendo la apuesta ciega grande despu\u00E9s de ver lo buenas que son sus dos cartas. La ciega grande se sube con un m\u00EDnimo de una apuesta completa. Las posibilidades de Hold'em son apostar, ir o subir. La decisi\u00F3n del jugador anterior determina las opciones del siguiente jugador.<br>Cuando no hay apuesta, las opciones son pasar, apostar o no ir.<br>Cuando alguien apuesta, las opciones son ir, subir o no ir.<br>Todos los jugadores tienen siempre la opci\u00F3n de no ir. \"Ir\" es apostar la misma cantidad que el jugador anterior. \"Subir\" es igualar y aumentar la apuesta. Al subir se tiene que como m\u00EDnimo doblar la cantidad anterior.";
static var InstructionFlop = "Las tres cartas puestas sobre el tablero se llaman \"cartas comunitarias\". Las cartas \u0093de mano\u0094 son las que se reparte a cada jugador al principio de cada ronda. Los jugadores deben combinar las dos cartas de mano con las tres comunitarias para hacer la mejor combinaci\u00F3n posible. Cada jugador decide si cree que tiene la mejor mano de la mesa. Las apuestas empiezan con el jugador situado a la izquierda del que hace la ciega grande. Todas las apuestas y subidas se hacen con peque\u00F1as cantidades. Los jugadores siguen apostando, yendo, subiendo y no yendo hasta que los \u00FAnicos que quedan son los que quieren igualar la cantidad apostada (el bote) o cuando todos menos uno no van.<br><br>Los precios de los campeonatos var\u00EDan, as\u00ED como las cantidades en juego.";
static var InstructionTurn = "Cuando se han hecho las apuestas, se saca la cuarta carta comunitaria, y se pone cara arriba sobre la mesa. Siguen las apuestas, esta vez empezando con el jugador situado a la izquierda del repartidor.";
static var InstructionRiver = "Una vez hechas las apuestas de la cuarta carta, se saca la quinta y \u00FAltima carta, tambi\u00E9n boca arriba. La ronda de apuestas comienza con el jugador situado a la izquierda del repartidor, siguiendo las mismas pautas que con la cuarta carta.";
static var InstructionShowdown = "Al final de la ronda de apuestas, y si queda m\u00E1s de un jugador, el \u00FAltimo en apostar o subir es el primero en mostrar sus cartas. Si no ha habido ninguna apuesta, el primero en mostrarlas es el jugador situado a la izquierda del repartidor. La mano la componen las dos cartas de mano combinadas con tres o cuatro cartas comunitarias. El que tenga la mejor mano gana el bote. Si hay dos jugadores con cartas igual de buenas, el bote se reparte entre ambos; es lo que se llama un \"bote compartido\". Los palos son diamantes, corazones, picas y tr\u00E9boloes, y todos tienen el mismo valor. Una vez se le da el bote al ganador, empieza la siguiente ronda. El bot\u00F3n del repartidor se mueve en el sentido de las agujas del reloj al siguiente jugador y se reparten nuevas cartas de mano a los jugadores que quedan en la partida.";
static var InstructionHandranking = "Valor de las manos en Texas Hold'em";
static var OverviewTopPA = "Mejores [playerAmount] jugadores";
static var OverviewPlayerLeft = "Quedan [playerAmount1] de [playerAmount2] jugadores";
static var OverviewTable = "Tablero";
static var TransportFoot = "A pie";
static var TransportHorse = "Caballo";
static var TransportWagon = "Carro";
static var TransportCarriage = "Carruaje";
static var TransportCar = "Coche";
static var PlayerStateChips = "Fichas";
static var PlayerStateBet = "Apuesta";
static var PlayerStateRank = "Posici\u00F3n";
static var PlayerStateState = "Estado";
static var PlayerStateMood = "Humor";
static var PlayerStateTilt = "Irritado";
static var PlayerStateSteamy = "Mosqueado";
static var Stranger = "Forastero";
static var toBad = "Qu\u00E9 pena";
static var toCongratulations = "Enhorabuena";
static var toAmazing = "Sorprendente";
static var youLost = "Has perdido [whatIsChanged]";
static var extraChange = "y [whatIsChanged]";
static var youWon = "Has ganado [whatIsChanged]";
static var youWonA = "Has ganado [whatIsChanged]";
static var oneHouse = "1 casa";
static var multipleHouses = "[amount] casas";
static var movingPlayers = "Mover los jugadores a otras mesas";
static var e1e = "1\u00AA";
static var e2e = "2\u00AA";
static var e3e = "3\u00AA";
static var e4e = "4\u00AA";
static var e5e = "5\u00AA";
static var e6e = "6\u00AA";
static var eedefault = "[amount]\u00AA";
static var place = "posici\u00F3n";
static var saveNotify = "Se guardar\u00E1 la partida. \u00BFQuieres salir?";
static var giveupNotify = "\u00BFEst\u00E1s seguro de que quieres rendirte y abandonar la partida?";
static var leaveNotify = "Cuando termine la ronda, puedes abandonar la partida.";
static var deleteCareerConformation = "\u00BFEst\u00E1s seguro de que quieres borrar tu trayectoria: [careerName]?";
static var worthOfHouses = "[150]$ en casas";
static var totalProfit = "Que suma unos <b>beneficios</b> de [whatIsChanged]$.";
static var totalLoss = "Que suma unas <b>p\u00E9rdidas</b> de [whatIsChanged]$.";
static var comeBackLater = "Me imagino que volver\u00E1s m\u00E1s tarde.";
static var And = "y";
static var quitConfirm = "\u00BFEst\u00E1s seguro de que quieres salir de Governor of Poker?";
static var focusConfirm = "<B>Juego detenido</b>\n Haz clic en <b>Aceptar</b> para retomar la partida.";
static var coin0Hint = "Si quieres ir, puede que sea mejor subir; tienes el doble de posibilidades de ganar el bote.";
static var coin1Hint = "Marea a tus adversarios mezclando tu estilo de juego.";
static var coin2Hint = "Si subes la apuesta cada vez, desconcertar\u00E1s a tu adversario.";
static var coin3Hint = "Si cada vez subes una cantidad diferente, desconcertar\u00E1s a tu adversario!";
static var coin4Hint = "Jugar pausadamente cuando se tiene una buena mano est\u00E1 bien, pero cuando se tienen unas cartas normales, es peligroso.";
static var coin5Hint = "Si est\u00E1s en la \u00FAltima posici\u00F3n, puedes llevarte un buen bote si vas con ases.";
static var coin6Hint = "Aunque una pareja de ases sea la mejor mano para empezar, no deja de ser una pareja.";
static var coin7Hint = "Aunque tengas una pareja de ases o de reyes, si tienes la sensaci\u00F3n de que vas a perder, no vayas.";
static var coin8Hint = "En algunas situaciones, si una mano es demasiado buena para no ir, entonces hay que ir.";
static var coin9Hint = "Si tienes la mejor mano, apu\u00E9stalo todo";
static var coin10Hint = "Si te mosqueas despu\u00E9s de una mala mano, te costar\u00E1 m\u00E1s dinero!";
static var coin11Hint = "\u00A1Si te irritas es peor!";
static var coin12Hint = "Apostarlo todo funciona siempre excepto en la \u00FAltima.";
static var coin13Hint = "Ten cuidado cuando haya una pila peque\u00F1a de fichas y subas; puede que acabes arriesgando m\u00E1s dinero!";
static var coin14Hint = "Ir con peque\u00F1as cantidades de fichas puede ser muy provechoso!";
static var coin15Hint = "Si vas con cartas normales, a la larga perder\u00E1s.";
static var coin16Hint = "El jugador que tiene como apodo el nombre de su pueblo es probablemente el mejor del pueblo.";
static var coin17Hint = "Los jugadores que apuestan mucho suelen ser d\u00E9biles y los que apuestan poco suelen ser fuertes.";
static var coin18Hint = "La pareja de ases es la mano m\u00E1s alta frente a un adversario.";
static var coin19Hint = "Cuando tengas un tr\u00EDo, ten cuidado con las tres cartas del mismo color del tablero.";
static var coin20Hint = "Cuando tengas color, ten cuidado con las parejas que pueda haber en la mesa o con los colores m\u00E1s altos.";
static var coin21Hint = "Nunca te dejes llevar por tus emociones.";
static var coin22Hint = "Lo mejor que puedes hacer cuando est\u00E9s irritado es tomarte un descanso.";
static var coin23Hint = "Apostar poco en la quinta carta siempre es sospechoso.";
static var coin0Descr = "1\u00AA posici\u00F3n";
static var coin1Descr = "2\u00AA posici\u00F3n";
static var coin2Descr = "3\u00AA posici\u00F3n";
static var coin3Descr = "4\u00AA posici\u00F3n";
static var coin4Descr = "5\u00AA posici\u00F3n";
static var coin5Descr = "6\u00AA posici\u00F3n";
static var subjectWins = "[subject] gana a [independent]";
static var coin6Descr = "Jugarlo todo antes de las tres cartas";
static var coin7Descr = "Jugarlo todo despu\u00E9s de las tres cartas";
static var coin8Descr = "Jugarlo todo despu\u00E9s de la cuarta";
static var coin9Descr = "Jugarlo todo despu\u00E9s de la quinta";
static var coin10Descr = "Jugarlo todo frente a 1 jugador";
static var coin11Descr = "Jugarlo todo frente a 2 jugadores";
static var coin12Descr = "Jugarlo todo frente a 3 jugadores";
static var coin13Descr = "Arruinar a 1 jugador";
static var coin14Descr = "Arruinar a 2 jugadores";
static var coin15Descr = "Echarse un farol y ganar";
static var coin16Descr = "Superar una pareja";
static var coin17Descr = "Superar dos parejas";
static var coin18Descr = "Superar un tr\u00EDo";
static var coin19Descr = "Superar una escalera";
static var coin20Descr = "Superar un color";
static var coin21Descr = "Superar un full";
static var coin22Descr = "Superar un Poker";
static var coin23Descr = "Superar una escalera de color";
static var langSelect = "Elecci\u00F3n de idioma";
static var screenModeSelect = "Modo de pantalla";
static var Newtown = "Pueblo nuevo";
static var Newtowns = "Pueblos nuevos";
static var Newtransport = "Transporte nuevo";
static var Transport = "Transporte";
static var Pokergameearnings = "Ganancias del Poker";
static var Houseearnings = "Casas ganadas";
static var Propertybought = "Propiedad comprada";
static var Propertiesbought = "Propiedades compradas";
static var Properties = "Propiedades";
static var Rewardearned = "Premio ganado";
static var Rewardsearned = "Premios ganados";
static var BFV_PremiumVersion = "Consigue la versi\u00F3n Premium de Governor of Poker";
static var BFV_PremiumContains = "Caracter\u00EDsticas de la versi\u00F3n Premium:";
static var BFV_PremiumConList1 = "13 ciudades de Texas.";
static var BFV_PremiumConList2 = "Cada ciudad tiene m\u00E1s edificios y mejores jugadores que la anterior.";
static var BFV_PremiumConList3 = "M\u00E1s de 100 adversarios.";
static var BFV_PremiumConList4 = "Todos los transportes que necesitas para llegar a cualquier ciudad de Texas.";
static var BFV_PremiumConList5 = "Consejos que puedes ganar.";
static var BFV_PremiumConList6 = "Excelente inteligencia artificial que tiene muy buena memoria.";
static var BFV_PremiumConList7 = "Ciudades famosas, como Dallas o El Paso.";
static var BFV_PremiumConList8 = "Campeonatos de diferente magnitud.";
static var BFV_PremiumConList9 = "Partidas desde f\u00E1ciles a muy dif\u00EDciles.";
static var BFV_PremiumConList10 = "Muchos estilos de tableros y salas.";
static var BFV_PremiumConList11 = "La oportunidad de convertirte en jefe del Poker y hacerte due\u00F1o de Texas.";
static var BFV_PremiumSlogan = "\u00A1CONSIGUE LA VERSI\u00D3N PREMIUM Y EMPIEZA A JUGAR!";
static var BFV_ClickDownload = "Haz clic para descargarla";
static var BFV_Download = "Descargar";
static var BFV_PremiumGame = "THE GOVERNOR OF POKER";
static var BFV_PremiumPrise = "Solo [prize]";
static var youWonGovernor = "\u00A1Eres el nuevo \nGobernador de Texas!";
static var notEnoughMon = "No hay bastante dinero para comprar esta casa";
static var yes = "S\u00ED";
static var no = "No";
static var buyProp = "\u00BFComprar una propiedad?";
static var owner = "Propietario";
static var value = "Valor";
static var income = "Beneficio";
static var sellProp = "\u00BFVender una propiedad?";
static var difficulty = "Dificultad";
static var playeramount = "Cantidad jugador";
static var city = "Ciudad";
static var menuquickGame = "Men\u00FA partida r\u00E1pida";
static var pot = "Bote";
static var tournament = "Campeonato";
static var showCards = "Mostrar cartas";
static var hideCards = "Ocultar cartas";
static var weekly = "Semanalmente";
static var governorTransportWon = "Por tu buen juego mereces ser el <B>gobernador de Texas</B>, [playerName]. Eres el mejor jugador de p\u00F3quer que conozco";
static var governorTransportLosed = "Lo has hecho bien pero El paso es m\u00EDo porque soy el mejor jugador de p\u00F3quer que ha habido jam\u00E1s en Texas. A ver si tienes suerte y vuelves a ganar lo que has perdido.";
static var governorTransportInvitation = "[greeting] [playerName],<br>te has ganado mi pueblo y mi propia casa jugando al p\u00F3quer.<br>\u00BFTe atreves a jugar contra m\u00ED?<br>Si ganas, te convertir\u00E1s en el <b>gobernador de todo Texas</b>.<br>Si pierdes, me dar\u00E1s<br><B>todas las casas de El Paso</b>.";
static var Score = "Puntos";
static var togglePauseOption = "Pausa autom\u00E1tica";
}
Symbol 3696 MovieClip [__Packages.as.conf.Language.Itconf] Frame 0
class as.conf.Language.Itconf
{
function Itconf () {
}
static var ok = "Ok";
static var play = "Gioca";
static var quickpoker = "Partita veloce";
static var highscore = "Punteggi";
static var options = "Impostazioni";
static var help = "Aiuto";
static var moregames = "Altri giochi";
static var highscores = "Highscores";
static var getfullversion = "Versione premium";
static var otherplayer = "Altro giocatore";
static var Easy = "Facile";
static var Medium = "Medio";
static var Hard = "Difficile";
static var mapoftexas = "Mappa del Texas";
static var nextday = "Giorno Dopo";
static var statistics = "Statistiche";
static var rewards = "Premi";
static var menurewards = "Premi";
static var quit = "Esci";
static var texasmap = "Mappa del Texas";
static var close = "Chiudi";
static var leavetable = "Lascia Tavolo";
static var adjustspeed = "Velocit\u00E0";
static var menuadjustspeed = "Velocit\u00E0";
static var overview = "Classifica";
static var pause = "Pausa";
static var instruction = "Istruzioni";
static var pokerhands = "Mani";
static var blinds = "Bui";
static var preflop = "Pre-Flop";
static var flop = "Flop";
static var turnriver = "Turn e River";
static var showdown = "Showdown";
static var loadbtn = "Carica";
static var deletebtn = "Elimina";
static var newbtn = "Nuovo";
static var skip = "Salta";
static var fullscreen = "Schermo intero";
static var window = "Finestra";
static var hideAllHelp = "Non mostrare i suggerimenti";
static var menuCareerProperties = "Difficolt\u00E0";
static var menuInstruction = "Istruzioni";
static var menuMain = "Men\u00F9 principale";
static var menuMainSettings = "Impostazioni";
static var menuStatistics = "Statistiche";
static var menuNextday = "Giornata terminata";
static var Day = "Giorno:";
static var Cash = "Contante:";
static var Cities = "Citt\u00E0:";
static var Houses = "Edifici:";
static var gamesPlayed = "Partite giocate:";
static var Reputation = "Reputazione:";
static var HelpTip = "Suggerimento";
static var HelpTransportTitle = "Partita per il Trasporto";
static var HelpTransportText = "<b>Ron (San Saba) Dixie</b> ha appena messo in gioco un <b>Cavallo</b>, \u00E8 la tua occasione per lasciare la citt\u00E0. Si prudente <b>Ron (San Saba) Dixie</b> \u00E8 noto come il <b>miglior giocatore</b> di San Saba.";
static var HelpWelcomeTitle = "Benvenuto a: Governor of Poker";
static var HelpWelcomeText = "Ti trovi a San Saba, la tua citt\u00E0 natale. Vuoi diventare il <b>Governor of Poker</b>, per diventarlo devi cominciare appropriandoti di ogni edificio a San Saba! Fatti strada, un paese dopo l'altro, una citt\u00E0 dopo l'altra. Una volta che tutto il Texas sar\u00E0 in tuo possesso, dovrai affrontare il tuo ultimo avversario.<br><br>Non appena sei pronto a guadagnare un po' di soldi, fai clic sul simbolo [...] per prendere parte ad un <b>torneo</b>.";
static var HelpSteamyTitle = "Agitato";
static var HelpSteamyText = "Un giocatore avversario \u00E8 <b>agitato</b>, cos\u00EC aumenta la possibilit\u00E0 che <b>questo giocatore faccia degli errori</b>.";
static var HelpShowHideCTitle = "Mostra o Nascondi le tue carte";
static var HelpShowHideCText = "Rifletti bene quando decidi di <b>mostrare</b> o <b>nascondere</b> le tue carte.<br>Se mostri le carte dopo aver bluffato, \u00E8 possibile che i giocatori avversari diventino <b>Agitati</b> o che facciano<b>Tilt</b>. Ci\u00F2 comprometter\u00E0 le loro mosse successive. Fai attenzione ai segnali di tilt e di agitazione. Ti aiuteranno ad analizzare gli avversari.<br>Se non desideri che gli avversari si facciano un'idea del tuo gioco, \u00E8 meglio non mostrare le carte!";
static var HelpTransportNATitle = "Mezzo di trasporto non disponibile";
static var HelpTransportNAText = "Non puoi viaggiare da [currentTown] a [destinationTown] senza un [transportNeeded].<br>Per vincere un [transportNeeded] devi acquisire ogni citt\u00E0 della regione [ring]: [cityNames].";
static var HelpFirstCashgameTitle = "Partita a soldi";
static var HelpCashgameText = "Congratulazioni, hai appena ricevuto un <b>invito</b> alla tua <b>prima partita a soldi</b>.<br><br>Le partite a soldi sono simili ai tornei, salvo alcune eccezioni:<br> \u2022 Puoi <b>abbandonare</b> una partita a soldi dopo <b>ogni giro</b>.<br> \u2022 Puoi <b>scommettere</b> e <b>vincere case</b>.<br> \u2022 Una buona <b>reputazione</b> \u00E8 indispensabile per ricevere un invito.</b>";
static var HelpFirstBoughtHTitle = "Hai appena acquistato il tuo primo edificio";
static var HelpFirstBoughtHText = "Ottimo lavoro, l'acquisto del tuo <b>primo edificio</b>.<br>L'edificio che hai appena comprato ha una rendita di <b>$[profit] a settimana!</b> L'acquisto di immobili fa crescere la tua reputazione ed \u00E8 essenziale nel raggiungimento dei tuoi obbiettivi.<br>Diventerai il <b>proprietario di San Saba</b> dopo aver acquistato <b>tutti gli edifici</b> della citt\u00E0. Una volta in possesso della citt\u00E0, potrai giocare per un cavallo e viaggiare altrove.";
static var HelpSellHouseTitle = "Vendi un edificio";
static var HelpSellHouseText = "Sei obbligato a vendere un edificio perch\u00E8 nel Texas la quota di partecipazione va pagata in contanti e a te serve un <b>minimo</b> di <b>$[minimum]</b> in contanti per partecipare. Al momento disponi di <b>$[currentCash]</b>.<br>Muovi il cursore del mouse sui tuoi immobili, si riconoscono dal tetto blu. Clicca su \"Si\" per vendere un edificio.";
static var HelpGameoverTitle = "Hai Perso";
static var HelpGameoverText = "Che sfortuna, il [day] non hai pi\u00F9 denaro a sufficienza per partecipare ad un qualunque torneo texano.<br>Hai <b>$[currentCash]</b> e te ne servono <b>$[minimum]</b>.";
static var HelpNextgameWonTitle = "Giornata successiva";
static var HelpNextgameWonText = "Hai giocato bene. Oggi hai vinto $[pokerBalance], purtroppo per oggi <b>non ci sono pi\u00F9 tornei</b> a San Saba. Meglio andare a letto e prepararsi per una nuova giornata di poker.<br>Quando lo desideri, clicca su \"<b>Giorno dopo</b>\". Ulteriori partite saranno disponibili domani.";
static var HelpNextgameTitle = "Giornata successiva";
static var HelpNextgameText = "<b>Non ci sono pi\u00F9 tornei aperti</b> a San Saba, meglio andare a letto e prepararsi per una nuova giornata di poker.<br>Quando lo desideri, clicca su \"<b>Giorno dopo</b>\". Ulteriori partite saranno disponibili domani.";
static var HelpBettingHousesTitle = "Scommettere immobili";
static var HelpBettingHousesText = "Nelle partite a soldi si ha la possibilit\u00E0 di puntare immobili.<br>Basta selezionare il simbolo di un edificio [...] , premere \"rilancia\" e una chiave [...] voler\u00E0 sul piatto, come simbolo della posta in gioco.<br>Un edificio messo in gioco durante una partita, vale il 90% del suo valore effettivo di mercato.";
static var HelpWelcomeSaloonTitle = "Benvenuti al: Torneo del Saloon di Bob";
static var HelpWelcomeSaloonText = "Benvenuti al Torneo del Saloon di Bob, <b>8 giocatori</b> sono pronti a sfidarsi in un avvincente torneo di poker aspirando ai seguanti premi:<br> \u2022 Il <b>1\u00B0</b> posto vince <b>$ [1prize]</b><br> \u2022 Il <b>2\u00B0</b> posto vince <b>$ [2prize]</b><br> \u2022 Il <b>3\u00B0</b> posto vince <b>$ [3prize]</b><br>Per una scala dei punteggi possibili fai clic su <b>Istruzioni</b> in cima allo schermo.";
static var HelpButtonRaiseTitle = "Il bottone Rilancia";
static var HelpButtonRaiseText = "'Il bottone del Mazziere' ti mette in una posizione di favore. Essendo l'ultima persona a puntare nel giro hai un vantaggio su tutti gli altri avversari. Prima del Flop, Il Buio piccolo (SB - Small Blind) e il Buio grande (BB - Big Blind) devono decidere cosa fare dopo di te. Dopo il Flop, potrai vedere quanto puntano o se bussano.<br>Rilanciando frequentemente si attira l'attenzione. Ma rilanciare su una coppia d'assi dopo aver gi\u00E0 rilanciato 5 volte pu\u00F2 diventare una manna dal cielo.";
static var HelpTransport2Title = "Mezzo di trasporto";
static var HelpTransport2Text = "<b>[competitor]</b> ti ha appena offerto di giocare per un <b>[transportType]</b>.<br>In bocca al lupo, <b>[competitor]</b> \u00E8 <b>l'avversario pi\u00F9 temibile</b> a [townName].";
static var HelpGovernorgameTitle = "Governor of Poker";
static var HelpGovernorgameText = "<b>Il Governatore del Texas</b> \u00E8 impressionato dai tuoi successi. Hai appena ricevuto un invito a giocare.<br>Il governatore gode della fama di miglior giocatore di tutto il Texas; sarai in grado di vincere e diventare il<b>nuovo Governatore</b>?";
static var HelpBuyHouseTitle = "Compra un edificio";
static var HelpBuyHouseText = "Prova a <b>comprare un edificio</b>, sposta il cursore del mouse su un edificio e fai clic su<b>\"Si\"</b> dove leggi: <b>\"Acquista\"</b>.<br>Quando possiedi immobili <b>guadagni denaro</b> semplicemente affittandoli.";
static var HelpLeaveCashgameTitle = "Abbandona il tavolo";
static var HelpLeaveCashgameText = "Puoi abbandonare una partita a soldi dopo ogni mano, basta fare clic <b>in qualsiasi momento</b> sul bottone <b>\"Lascia Tavolo\"</b>.<br>Non perderai niente che tu non abbia gi\u00E0 puntato.";
static var HelpRandomMessageText = ["[greeting] [playerName], ricordati che quando un giocatore di poker porta nel suo nome il nome della sua citt\u00E0 ... si tratta del miglior giocatore della citt\u00E0.", "[greeting] [playerName], non \u00E8 una giornata meravigliosa?", "[greeting] [playerName], <br>mi puoi prestare un po' di soldi?", "[greeting] [playerName], \u00E8 pi\u00F9 facile bluffare contro un avversario che contro due.", "[greeting] [playerName], quando giochi in un torneo, se sei uno degli ultimi a puntare per un piatto decente, e hai una mano decente ... vale la pena di rischiare un all-in.", "[greeting] [playerName], sei tu il nuovo giocatore di cui tutti parlano?", "[greeting] [playerName], hai mica visto il mio maiale?", "[greeting] [playerName], hai mica visto il mio cavallo?", "[greeting] [playerName], ci sono giocatori prudenti e giocatori audaci, e un sacco di variazioni tra questi du estremi. Cerca di analizzare i tuoi avversari!", "[greeting] [playerName], quando giochi in un torneo, fai sempre attenzione che i tuoi gettoni non diminuiscano troppo in fretta. Solo se possiedi dieci volte il valore del Buio grande (BB) puoi stare tranquillo.", "[greeting] [playerName], quando hai pochi gettoni, forza il gioco ogni volta che ricevi una mano decente. In questo momento le tue carte hanno ancora un valore superiore.", "[greeting] [playerName], bluffare contro un giocatore prudente \u00E8 pi\u00F9 facile che bluffare contro un giocatore audace. Ma quando und giocatore prudente decide di coprire la tua puntata, potrebbe rivelarsi un' esperienza molto amara.", "[greeting] [playerName], mostrare le carte dopo aver bluffato fa agitare gli avversari. Mostrando sempre pi\u00F9 bluff li si fa andare in Tilt.", "[greeting] [playerName], che begli stivali! ...nuovi?", "[greeting] [playerName], hai gi\u00E0 sentito che il Governnatore del Texas \u00E8 un noto giocatore di poker?", "[greeting] [playerName], sarebbe fantastico se qualcuno organizzasse und grande Torneo, in cui tutti i migliori giocatori del mondo si possano affrontare.", "[greeting] [playerName], ho la visione di un futuro in cui noi tutti potremo guardare gente giocare a poker attraverso scatole luminose che mostrano immagini in movimento.", "[greeting] [playerName], tutto ci\u00F2 che serve per vincere una partita di poker sono una sedia ed un gettone.", "[greeting] [playerName], giochi solo a poker o hai anche un mestiere?", "[greeting] [playerName], per essere un buon giocatore di poker devi saper mentire come un attore. Questo \u00E8 il motivo per cui non mi fido di voi giocatori di poker.", "[greeting] [playerName], quando sei sicuro di aver una mano imbattibile e c'\u00E8 pi\u00F9 di una avversario che copre, tieni le puntate basse per far si che continuino a coprire.", "[greeting] [playerName], cerca di vincere il pi\u00F9 possibile quando vinci una mano e di perdere il meno possibile in caso contrario.", "[greeting] [playerName], gli avversari imprevedibili sono anche i pi\u00F9 temibili.", "[greeting] [playerName], alle volte vale la pena di fare una piccola puntata dopo il River anche quando sai che perderai. Cos\u00EC puoi vedere le carte degli avversari e studiare la loro strategia.", "[greeting] [playerName], spesso vinci di meno con una buona mano iniziale, che con una mano non troppo buona che migliora notevolmente dopo il Flop.", "[greeting] [playerName], cerca di non fare bancarotta aspettando di ricevere carte decenti. Cos\u00EC giocano solo i giocatori d'azzardo.", "[greeting] [playerName], la pazienza \u00E8 una delle virt\u00F9 nel poker.", "[greeting] [playerName], spesso vale la pena di rilanciare invece di coprire.", "[greeting] [playerName], mi insegneresti a giocare a poker?", "[greeting] [playerName], il Texas \u00E8 molto grande, ma con il giusto mezzo di trasporto arriverai ovunque.", "[greeting] [playerName], il poker \u00E8 und gioco di fortuna, abilit\u00E0, calcolo dei rischi, correttezza, stile, immagine e un minimo di truffa.", "[greeting] [playerName], se al tavolo da gioco non trovi un \"pollo\" ... molto probabilmente sei tu lo scarso!", "[greeting] [playerName], il poker \u00E8 un gioco che unisce giocatori di ogni tipo. Indipendentemente dalle loro origini.", "[greeting] [playerName], ricorda: nei tornei i gettoni hanno pi\u00F9 valore che nelle partite a soldi. Passare in un torneo \u00E8 molto spesso la decisione migliore."];
static var SSHintNoEvent = "Non ci sono partite aperte, vai a dormire e inizia una <b>nuova giornata</b>.";
static var SSfirstTournament = "Ti interessa prender parte ad und<b>torneo di poker</b>?<br>Vai al <b>Saloon</b> e comincia subito a giocare!";
static var SSfirstCashgame = "Si racconta che sei stato invitato ad una <b>partita a soldi</b>!<br>Io purtroppo no. La mia <b>reputazione</b> non \u00E8 ancora sufficiente.";
static var SSfirstTransport = "Sei vuoi lasciare la citt\u00E0 per andare a giocare il vero poker, puoi giocare per un <b>cavallo</b> alla <b>stalla</b>!";
static var transportWon = "Che fortuna! Con il tuo nuovo [transporttype] puoi raggiungere <b>3 nuove citt\u00E0</b>. Dai un occhiata alla <b>mappa del Texas</b> per vedere dove sono.";
static var transportLosed = "Hai perso i tuoi soldi e non hai ancora neanche beccato il tuo mezzo di trasporto, ripassa <b>domani</b>!";
static var waysToEarn = "Prova a giocare altrove o procurati un po' di contante <b>vendendo un edificio</b>.<br>Torna quando hai racimolato <b>$[participationCash]</b>.";
static var playTournament = "Un <b><font color=\"#000000\">torneo di poker</font></b> sta per cominciare qui alle mie spalle, vuoi partecipare?<br>Il buy-in \u00E8 di <b><font color=\"#000000\">$[buyIn]</font></b>.";
static var playCashgame = "Che ne dici di una partitina? Un paio di persone del posto stanno per giocare una <b>partita a soldi</b>. La posta minima per patecipare \u00E8 di <b>$[entryCash]</b>.";
static var playTransport = "Non pensi che sia arrivato il momento di lasciare la citt\u00E0? Ho un <b>[transporttype]</b> per te,<br> so anche che ti piace il poker e ti sfido, il buy-in \u00E8 di <b>$[price]</b>.";
static var playCashgameWon = "Ben fatto [playerName], hai appena vinto <b>$[balance]</b>!<br>La tua <b>reputazione</b> cresce.";
static var playCashgameLosed = "Che sfortuna quei <b>$[balance]</b>!";
static var playCashgameTie = "Non hai vinto ne perso denaro, ...ma un sacco di tempo.";
static var playTournamentWon = "Ben fatto [playerName], ho sentito che hai appena vinto <b>$[balance]</b>!<br>La tua <b>reputazione</b> cresce. Torna a giocare da noi mi raccomando!";
static var playTournamentLosed = "Che sfortuna quei <b>$[balance]</b>!<br><br>Ritenta la tua fortuna domani, ci sar\u00E0 un nuovo torneo.";
static var playTransportWon = "Che fortuna, con un [transporttype] puoi raggiungere <b>3 nuove citt\u00E0</b>.";
static var playTransportLosed = "Hai perso la tua posta e non hai vinto un <b>[transporttype]</b>, riprova <b>domani</b>!";
static var playTournamentMoney = "Un <b><font color=\"#000000\">torneo di poker</font></b> sta per cominciare alle mie spalle, ... una sfortuna che tu non te lo possa permettere.<br>";
static var playCashgameMoney = "Hai ricevuto l'invito ad una partita a soldi, ma <b>non hai contante a sufficienza</b> per partecipare.<br>";
static var playTransportMoney = "Ho un <b>[transporttype]</b> per te,<br> so anche che ti piace il poker e ti sfido. Solo non hai contante sufficente per andare al tavolo.<br>";
static var greetingmorning = "Buongiorno";
static var greetingday = "Buona giornata";
static var greetingevening = "Buonasera";
static var greetingnight = "Buonanotte";
static var greetingRandom = ["Ciao", "Ti saluto", "Hei", "Hi ya", "U\u00E8", "Hola", "Howdy", "Howdy", "Salute a te"];
static var fillName = "Immetti il tuo nome:";
static var selectGender = "Scegli un personaggio:";
static var cancel = "Annulla";
static var EasyDescription = "Sono un principiante.";
static var MediumDescription = "So come si gioca a poker!";
static var HardDescription = "Sono un giocatore professionista!";
static var InstructionButton = "[...]Nel Poker Texas Hold'em, c'\u00E8 il \"bottone mazziere\" che mostra<br>[...]quale giocatoresi trova nella posizione del mazziere per la mano in corso.";
static var InstructionSmBlind = "[...]Prima che la mano cominci il giocatore a sinistra del mazziere <br>[...]punta il \u201CPiccolo Buio\u201D (SB - Small Blind) senza aver visto le sue carte, una piccola puntata. Si prosegue in senso orario con le puntate";
static var InstructionBgBlind = "[...] Il giocatore a sinistra del piccolo buio punta il \u201Cgrande buio\u201D<br>[...](BB - Big Blind), questa puntata \u00E8 il doppio del piccolo buio. Queste puntate come dice il nome vengono fatte senza aver visto le carte. Questo aiuta a non andartene a mani vuote se hai carte decenti. Il mazziere distribuisce adesso 2 carte a persona, queste sono le carte \u201Ccoperte\u201D.";
static var InstructionPreFlop = "Ogni giocatore pu\u00F2 adesso guardare le proprie carte e decidere se coprire o rilanciare il grande buio. La puntata minima per rilanciare il grande buio \u00E8 il raddoppio. Nel Texas Hold'em si pu\u00F2 Puntare, Coprire o Rilanciare. Una di questa azioni decide le possibilit\u00E0 per il prossimo giocatore.<br>Se non \u00E8 stata ancora effettuata alcuna puntata, le opzioni sono Bussare, Puntare o Passare.<br>Se una puntata ha avuto luogo, si pu\u00F2 Coprire, Rilanciare o Passare.<br>Ogni giocatore pu\u00F2 passare in qualunque momento. Coprire significa puntare ci\u00F2 che il giocatore precedente ha puntato. Rilanciare significa coprire e aumentare la puntata incrementandone il valore. Il rilancio minimo \u00E8 il doppio della puntata precedente.";
static var InstructionFlop = "Il \u201CFlop\u201D \u00E8 quando il mazziere scopre 3 carte in mezzo al tavolo. Queste si chiamano carte \u201Cscoperte\u201D o \u201Ccomuni\u201D. Le carte \u201Ccoperte\u201D sono quelle che ogni giocatore riceve all'inzio della mano. Ogni giocatore deve combinare le sue carte coperte con quelle comuni per raggiungere il miglior punteggio possible. Ogni giocatore decide per se secondo il suo parere sulla qualit\u00E0 della sua mano. Il giocatore alla sinistra del grande buio comincia a puntare. Tutti I giocatori a turno puntano, coprono, rilanciano o eventualmente passano, finch\u00E8 resta solo un giocatore, oppure finch\u00E8 gli unici giocatori rimasti sono quelli che si contendono l'ambito piatto.<br><br>I tornei differiscono nella quota di partecipazione, la partite a soldi nella quantit\u00E0 di gettoni da cambiare per partecipare.";
static var InstructionTurn = "Quando I giocatori hanno finito di puntare, il \"Turn\", una nuova carta, viene posta scoperta sul tavolo. Il Turn \u00E8 la quarta carta comune nel Texas Hold'em. I giocatori tornano a puntare e comincia il giocatore seduto a sinistra della pedina mazziere.";
static var InstructionRiver = "Quando le puntate per il giro \u201CTurn\u201D sono terminate, il mazziere pone la carta \u201CRiver\u201D sul tavolo, ache questa scoperta. Il River \u00E8 la quinta e ultima carta commune del Texas Hold'em. Come per il \u201CRound\u201D, i giocatori tornano a puntare e il giocatore seduto a sinistra della pedina mazziere comincia.";
static var InstructionShowdown = "Al termine dell' ultimo giro di puntate, se pi\u00F9 di un giocatore \u00E8 rimasto in gioco, l'ultimo giocatore che ha puntato o rilanciato mostra per primo la sua mano. Se nell/\u2019ultima mano hanno bussato tutti, comincia a svoltare le carte il giocatore alla sinistra del \u201Cbottone mazziere\u201D e poi gli altri in senso orario. Le due carte coperte in combinazione con 3 o 4 delle carte comuni formano la mano. Il giocatore con le 5 carte migliori vince il piatto. A parit\u00E0 di mano I vincitori si dividono il piatto, Questa situazione viene chiamata \"split pot.\" I semi di gioco del Texas Hold'em sono Quadri, Cuori, Picche e Fiori e hanno tutti lo stesso valore. Dopo che un giocatore ha raccolto il piatto il gioco prosegue con una nuova mano. Il \u201Cbottone mazziere\u201D va al giocatore successivo in senso orario e I giocatori ancora al tavolo ricevono nuove carte.";
static var InstructionHandranking = "Punteggi del Texas Hold'em Poker";
static var OverviewTopPA = "I migliori [playerAmount] giocatori";
static var OverviewPlayerLeft = "[playerAmount1] giocatori di [playerAmount2] rimasti";
static var OverviewTable = "Tavolo";
static var TransportFoot = "A piedi";
static var TransportHorse = "Cavallo";
static var TransportWagon = "Carro";
static var TransportCarriage = "Carro diligenza";
static var TransportCar = "Auto";
static var PlayerStateChips = "Gettoni";
static var PlayerStateBet = "Punta";
static var PlayerStateRank = "Rango";
static var PlayerStateState = "Stato";
static var PlayerStateMood = "Umore";
static var PlayerStateTilt = "In Tilt";
static var PlayerStateSteamy = "Agitato";
static var Stranger = "Straniero";
static var toBad = "Che peccato!";
static var toCongratulations = "Congratulazioni";
static var toAmazing = "Incredibile!";
static var youLost = "Hai perso [whatIsChanged]";
static var extraChange = "e [whatIsChanged]";
static var youWon = "Hai vinto [whatIsChanged]";
static var youWonA = "Hai vinto un [whatIsChanged]";
static var oneHouse = "1 edificio";
static var multipleHouses = "[amount] edificio";
static var movingPlayers = "Muove i giocatori ad un altro tavolo";
static var e1e = "1\u00B0";
static var e2e = "2\u00B0";
static var e3e = "3\u00B0";
static var e4e = "4\u00B0";
static var e5e = "5\u00B0";
static var e6e = "6\u00B0";
static var eedefault = "[amount]\u00B0";
static var place = "posto";
static var saveNotify = "Il tuo avanzamento nel gioco verr\u00E0 salvato, desideri uscire?";
static var giveupNotify = "Vuoi davvero lasciare il gioco ?";
static var leaveNotify = "Al termine di questa mano puoi abbandonare la partita.";
static var deleteCareerConformation = "Sei sicuro/a di voler cancellare la carriera di: [careerName]?";
static var worthOfHouses = "[150]$ valore degli edifici";
static var totalProfit = "Che significa un <b>profitto</b> di [whatIsChanged]$.";
static var totalLoss = "Che significa una <b>perdita</b> di [whatIsChanged]$.";
static var comeBackLater = "Consiglio di ripassare pi\u00F9 tardi.";
static var And = "e";
static var quitConfirm = "Sei sicuro/a di voler terminare 'Governor of Poker'?";
static var focusConfirm = "<b>Gioco in pausa</b>\n Fai clic su<b>Ok</b> per riprendere.";
static var coin0Hint = "Rifletti sempre quando stai per coprire, se non vale la pena di rilanciare! Ti da 2 possibilit\u00E0 di vincere il piatto.";
static var coin1Hint = "Non lasciare che gli avversari intravedano la tua stategia di gioco! Cambia costantemente il tuo stile.";
static var coin2Hint = "Rilanciando sempre la stessa somma, confonderai i tuoi avversari!";
static var coin3Hint = "Rilanciando ogni volta una somma diversa, confonderai i tuoi avversari!";
static var coin4Hint = "Puntare basso su una mano alta va bene. Puntare basso su una mano discreta \u00E8 pericoloso.";
static var coin5Hint = "Se sei uno degli ultimi a giocare, vale la pana di coprire anche se hai solo un asso in mano.";
static var coin6Hint = "Anche se una coppia d'assi \u00E8 la migliore apertura, trattasi sempre e solo di una coppia.";
static var coin7Hint = "Non indugiare a passare, nonostante una coppia d'assi o di K, quando hai la sensazione di poter perdere.";
static var coin8Hint = "In alcune situazioni la tua mano \u00E8 troppo buona per passare, nel caso la chiamata avviene automaticamante.";
static var coin9Hint = "Punta un all-in quando sei sicuro di avere la mano migliore!";
static var coin10Hint = "Se ti agiti dopo una giocata sfortunata rischi di rovinare il gioco!";
static var coin11Hint = "Se vai in Tilt rishi di perdere tutto!";
static var coin12Hint = "Un all-in funziona sempre ... solo l'ultima volta no.";
static var coin13Hint = "Fai attenzione a rilanciare quando hai pochi gettoni. Rischi di perderne ancora di pi\u00F9!";
static var coin14Hint = "Coprire le puntate di avversari che hanno quasi terminato i loro gettoni pu\u00F2 essere una decisione molto proficua!";
static var coin15Hint = "Coprire sempre quando si ha solo una mano discreta, si rivela spesso una cattiva strategia a lungo termine.";
static var coin16Hint = "Un giocatore che ha il nome della sua citt\u00E0 come soprannome, \u00E8 di solito il miglior giocatore in citt\u00E0.";
static var coin17Hint = "Un giocatore che punta molto \u00E8 di solito debole e uno che punta poco \u00E8 di solito forte.";
static var coin18Hint = "Quando giochi contro un solo avversario la coppia d'assi \u00E8 la migliore apertura possibile.";
static var coin19Hint = "Quando hai un tris, fai attenzione ai 3/5 di colore sul tavolo.";
static var coin20Hint = "Quando hai colore, fai attenzione alle coppie sul tavolo o che nessuno abbia un colore superiore.";
static var coin21Hint = "Non permettere mai che le tue emozioni offuschino la tua ragione";
static var coin22Hint = "La cosa migliore quando stai andando in Tilt \u00E8 di fare una breve pausa.";
static var coin23Hint = "Se dopo il River punti basso, desti solo sospetti.";
static var coin0Descr = "1\u00B0 Posto";
static var coin1Descr = "2\u00B0 Posto";
static var coin2Descr = "3\u00B0 Posto";
static var coin3Descr = "4\u00B0 Posto";
static var coin4Descr = "5\u00B0 Posto";
static var coin5Descr = "6\u00B0 Posto";
static var subjectWins = "[subject] vince [independent]";
static var coin6Descr = "All-in prima del Flop";
static var coin7Descr = "All-in dopo il Flop";
static var coin8Descr = "All-in dopo il Turn";
static var coin9Descr = "All-in dopo il River";
static var coin10Descr = "All-in contro 1 giocatore";
static var coin11Descr = "All-in contro 2 giocatori";
static var coin12Descr = "All-in contro 2 giocatori";
static var coin13Descr = "1 giocatore rovinato";
static var coin14Descr = "2 giocatori rovinati";
static var coin15Descr = "Bluffa e vinci";
static var coin16Descr = "Batti una Coppia";
static var coin17Descr = "Batti una Doppia Coppia";
static var coin18Descr = "Batti un Tris";
static var coin19Descr = "Batti una Scala";
static var coin20Descr = "Batti Colore";
static var coin21Descr = "Batti un Full";
static var coin22Descr = "Batti un Poker";
static var coin23Descr = "Batti una scala a Colore";
static var langSelect = "Selezione Linguaggio";
static var screenModeSelect = "Modalit\u00E0 video";
static var Newtown = "Nuova citt\u00E0";
static var Newtowns = "Nuove citt\u00E0";
static var Newtransport = "Nuovo mezzo di trasporto";
static var Transport = "Trasporto";
static var Pokergameearnings = "Guadagni in gioco";
static var Houseearnings = "Guadagni immobiliari";
static var Propertybought = "Propiet\u00E0 acquisita";
static var Propertiesbought = "Propiet\u00E0 acquisite";
static var Properties = "Propiet\u00E0";
static var Rewardearned = "Premio vinto";
static var Rewardsearned = "Premii vinti";
static var BFV_PremiumVersion = "Prova la versione Premium di 'Governor of Poker'";
static var BFV_PremiumContains = "Funzionalit\u00E0 della versione Premium:";
static var BFV_PremiumConList1 = "13 citt\u00E0 Texane.";
static var BFV_PremiumConList2 = "In ogni nuova citt\u00E0 troveri pi\u00F9 edifici e avversari sempre migliori.";
static var BFV_PremiumConList3 = "Pi\u00F9 di 100 avversari.";
static var BFV_PremiumConList4 = "Tutti i mezzi di trasporto che ti serviranno per attraversare il Texas.";
static var BFV_PremiumConList5 = "Un sacco di consigli per migliorare il tuo gioco.";
static var BFV_PremiumConList6 = "Un' incredibilie Intelligenza Artificiale che governa i tuoi avversari.";
static var BFV_PremiumConList7 = "Citt\u00E0 famose come Dallas e El Paso.";
static var BFV_PremiumConList8 = "Tornei di diversa entit\u00E0.";
static var BFV_PremiumConList9 = "Tavoli da gioco per ogni gusto e difficolt\u00E0.";
static var BFV_PremiumConList10 = "Un sacco di design diversi per le sale e le carte da gioco.";
static var BFV_PremiumConList11 = "La possibilit\u00E0 di diventare il Governor of Poker e di impadronirti del Texas.";
static var BFV_PremiumSlogan = "GIOCA ADESSO LA VERSIONE PREMIUM!";
static var BFV_ClickDownload = "Fai clic per scaricare!";
static var BFV_Download = "Scarica";
static var BFV_PremiumGame = "THE GOVERNOR OF POKER";
static var BFV_PremiumPrise = "Solo [prize]";
static var youWonGovernor = "Sei il nuovo\nGovernatore del Texas!!!!";
static var notEnoughMon = "Non hai abbastanza denaro per acquistare quest'edificio.";
static var yes = "Si";
static var no = "No";
static var buyProp = "Acquista edificio?";
static var owner = "Proprietario";
static var value = "Valore";
static var income = "Rendita";
static var sellProp = "Vendi edificio?";
static var difficulty = "Difficolt\u00E0";
static var playeramount = "Numero di giocatori";
static var city = "Citt\u00E1";
static var menuquickGame = "Men\u00F9 partita veloce";
static var pot = "Piatto";
static var tournament = "Torneo";
static var showCards = "Mostra carte";
static var hideCards = "Nascondi carte";
static var weekly = "Settimanalmente";
static var governorTransportWon = "Ben fatto, [playerName]! Meriti davvero di essere il <B>governatore del Texas</B>. Sei il miglior giocatore di Poker che io abbia mai incontrato";
static var governorTransportLosed = "Niente male, ma El Paso mi apprtiene perch\u00E8 sono il iglior giocatore di poker di tutto il Texas. In bocca al lupo, ti auguro di rivincere tutto quello che hai appena perso.";
static var governorTransportInvitation = "[greeting] [playerName],<br>mi hai portato via la casa e tutta la citt\u00E0 con la tua abilit\u00E0 nel Poker!<br>Hai anche il fegato di sfidarmi?<br>Se vinci, diventerai il nuovo<b>governatore del Texas</b>.<br>Ma se perdi, dovrai cedermi <b>tutte le tue Propriet\u00E0</b> qui a<br><b>El Paso</b>.";
static var Score = "Punteggio";
static var togglePauseOption = "Pausa automatica";
}
Instance of Symbol 143 MovieClip in Symbol 152 MovieClip [YoudaPreloader] Frame 1
onClipEvent (load) {
this._width = _global.stage_w;
this._height = _global.stage_h;
var point = {x:0, y:0};
this._parent.globalToLocal(point);
this._x = point.x;
this._y = point.y;
}
Symbol 152 MovieClip [YoudaPreloader] Frame 2
var loaded = 0;
this.onEnterFrame = function () {
if (_root.getBytesTotal() < 20) {
return(undefined);
}
loaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded == 100) {
loaded = undefined;
this.onEnterFrame = undefined;
play();
} else {
this.youdapreloader.percentloaded_bar_mc._xscale = loaded;
this.youdapreloader.loaded_txt.text = loaded + "%";
this.youdapreloader._visible = true;
stop();
}
};
stop();
Instance of Symbol 151 MovieClip "youdapreloader" in Symbol 152 MovieClip [YoudaPreloader] Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 152 MovieClip [YoudaPreloader] Frame 6
_global.playNext();
stop();
Symbol 160 MovieClip Frame 1
if (!color1) {
color1 = 1;
}
if (!color2) {
color2 = 2;
}
if (!color3) {
color3 = 3;
}
var tempColor1 = color1;
color1 = color2;
color2 = color3;
color3 = tempColor1;
this.chip1.gotoAndStop(color1);
this.chip2.gotoAndStop(color2);
Symbol 160 MovieClip Frame 9
this.chip2.gotoAndStop(color1);
this.chip1.gotoAndStop(color2);
Symbol 181 MovieClip [languageOption] Frame 1
#initclip 299
Object.registerClass("languageOption", as.view.menu.OptionButton);
#endinitclip
Symbol 191 MovieClip [potIndicator] Frame 1
#initclip 170
Object.registerClass("potIndicator", as.view.menu.Indicator);
#endinitclip
Symbol 194 MovieClip Frame 1
this.hit.onPress = function () {
};
this.hit.useHandCursor = false;
Symbol 201 MovieClip [rewardCoins] Frame 1
stop();
Symbol 222 MovieClip [tournamentOverviewTab1Animation] Frame 1
stop();
Symbol 222 MovieClip [tournamentOverviewTab1Animation] Frame 5
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 232 MovieClip [tournamentOverviewTab0Animation] Frame 1
stop();
Symbol 232 MovieClip [tournamentOverviewTab0Animation] Frame 5
stop();
Symbol 242 MovieClip Frame 1
this.gotoAndStop(3);
Symbol 246 MovieClip Frame 1
this.gotoAndStop(3);
Symbol 267 MovieClip Frame 1
stop();
Symbol 268 MovieClip [ingamePlayerStateHint] Frame 1
stop();
Symbol 268 MovieClip [ingamePlayerStateHint] Frame 11
gotoAndStop (1);
Symbol 268 MovieClip [ingamePlayerStateHint] Frame 41
gotoAndStop (1);
Symbol 268 MovieClip [ingamePlayerStateHint] Frame 132
stop();
Symbol 328 MovieClip [coinGlowAnimation] Frame 20
stop();
Symbol 332 MovieClip [fillInText] Frame 1
stop();
Symbol 337 MovieClip [listOption] Frame 1
#initclip 171
Object.registerClass("listOption", as.view.menu.DefaultListOption);
#endinitclip
stop();
Symbol 346 MovieClip [gameOverScreen] Frame 1
this.bg.gotoAndStop(_global.careerModel.userProgress.gender + "Gameover");
Symbol 350 MovieClip [governorScreen] Frame 1
this.bg.gotoAndStop(_global.careerModel.userProgress.gender + "Win");
Symbol 365 MovieClip [playerInfo] Frame 1
#initclip 172
Object.registerClass("playerInfo", as.view.menu.PlayerInfo);
#endinitclip
Symbol 369 MovieClip [cityProperty92] Frame 1
#initclip 173
Object.registerClass("cityProperty92", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 370 MovieClip [cityProperty91] Frame 1
#initclip 174
Object.registerClass("cityProperty91", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 371 MovieClip [cityProperty90] Frame 1
#initclip 175
Object.registerClass("cityProperty90", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 372 MovieClip [cityProperty89] Frame 1
#initclip 176
Object.registerClass("cityProperty89", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 373 MovieClip [cityProperty88] Frame 1
#initclip 177
Object.registerClass("cityProperty88", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 374 MovieClip [cityProperty87] Frame 1
#initclip 178
Object.registerClass("cityProperty87", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 375 MovieClip [cityProperty86] Frame 1
#initclip 179
Object.registerClass("cityProperty86", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 376 MovieClip [cityProperty85] Frame 1
#initclip 180
Object.registerClass("cityProperty85", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 377 MovieClip [cityProperty84] Frame 1
#initclip 181
Object.registerClass("cityProperty84", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 378 MovieClip [cityProperty83] Frame 1
#initclip 182
Object.registerClass("cityProperty83", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 379 MovieClip [cityProperty82] Frame 1
#initclip 183
Object.registerClass("cityProperty82", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 380 MovieClip [cityProperty81] Frame 1
#initclip 184
Object.registerClass("cityProperty81", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 381 MovieClip [cityProperty80] Frame 1
#initclip 185
Object.registerClass("cityProperty80", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 382 MovieClip [cityProperty79] Frame 1
#initclip 186
Object.registerClass("cityProperty79", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 383 MovieClip [cityProperty78] Frame 1
#initclip 187
Object.registerClass("cityProperty78", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 384 MovieClip [cityProperty77] Frame 1
#initclip 188
Object.registerClass("cityProperty77", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 385 MovieClip [cityProperty76] Frame 1
#initclip 189
Object.registerClass("cityProperty76", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 386 MovieClip [cityProperty75] Frame 1
#initclip 190
Object.registerClass("cityProperty75", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 387 MovieClip [cityProperty74] Frame 1
#initclip 191
Object.registerClass("cityProperty74", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 388 MovieClip [cityProperty73] Frame 1
#initclip 192
Object.registerClass("cityProperty73", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 389 MovieClip [cityProperty72] Frame 1
#initclip 193
Object.registerClass("cityProperty72", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 390 MovieClip [cityProperty71] Frame 1
#initclip 194
Object.registerClass("cityProperty71", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 391 MovieClip [cityProperty70] Frame 1
#initclip 195
Object.registerClass("cityProperty70", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 392 MovieClip [cityProperty69] Frame 1
#initclip 196
Object.registerClass("cityProperty69", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 393 MovieClip [cityProperty68] Frame 1
#initclip 197
Object.registerClass("cityProperty68", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 394 MovieClip [cityProperty67] Frame 1
#initclip 198
Object.registerClass("cityProperty67", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 395 MovieClip [cityProperty66] Frame 1
#initclip 199
Object.registerClass("cityProperty66", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 396 MovieClip [cityProperty65] Frame 1
#initclip 200
Object.registerClass("cityProperty65", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 397 MovieClip [cityProperty64] Frame 1
#initclip 201
Object.registerClass("cityProperty64", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 398 MovieClip [cityProperty63] Frame 1
#initclip 202
Object.registerClass("cityProperty63", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 399 MovieClip [cityProperty62] Frame 1
#initclip 203
Object.registerClass("cityProperty62", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 400 MovieClip [cityProperty61] Frame 1
#initclip 204
Object.registerClass("cityProperty61", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 401 MovieClip [cityProperty60] Frame 1
#initclip 205
Object.registerClass("cityProperty60", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 402 MovieClip [cityProperty59] Frame 1
#initclip 206
Object.registerClass("cityProperty59", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 403 MovieClip [cityProperty58] Frame 1
#initclip 207
Object.registerClass("cityProperty58", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 404 MovieClip [cityProperty57] Frame 1
#initclip 208
Object.registerClass("cityProperty57", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 405 MovieClip [cityProperty56] Frame 1
#initclip 209
Object.registerClass("cityProperty56", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 406 MovieClip [cityProperty55] Frame 1
#initclip 210
Object.registerClass("cityProperty55", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 407 MovieClip [cityProperty54] Frame 1
#initclip 211
Object.registerClass("cityProperty54", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 408 MovieClip [cityProperty53] Frame 1
#initclip 212
Object.registerClass("cityProperty53", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 409 MovieClip [cityProperty52] Frame 1
#initclip 213
Object.registerClass("cityProperty52", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 410 MovieClip [cityProperty51] Frame 1
#initclip 214
Object.registerClass("cityProperty51", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 411 MovieClip [cityProperty50] Frame 1
#initclip 215
Object.registerClass("cityProperty50", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 412 MovieClip [cityProperty49] Frame 1
#initclip 216
Object.registerClass("cityProperty49", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 413 MovieClip [cityProperty48] Frame 1
#initclip 217
Object.registerClass("cityProperty48", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 414 MovieClip [cityProperty47] Frame 1
#initclip 218
Object.registerClass("cityProperty47", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 415 MovieClip [cityProperty46] Frame 1
#initclip 219
Object.registerClass("cityProperty46", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 416 MovieClip [cityProperty45] Frame 1
#initclip 220
Object.registerClass("cityProperty45", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 417 MovieClip [cityProperty44] Frame 1
#initclip 221
Object.registerClass("cityProperty44", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 418 MovieClip [cityProperty43] Frame 1
#initclip 222
Object.registerClass("cityProperty43", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 419 MovieClip [cityProperty42] Frame 1
#initclip 223
Object.registerClass("cityProperty42", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 420 MovieClip [cityProperty41] Frame 1
#initclip 224
Object.registerClass("cityProperty41", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 421 MovieClip [cityProperty40] Frame 1
#initclip 225
Object.registerClass("cityProperty40", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 422 MovieClip [cityProperty39] Frame 1
#initclip 226
Object.registerClass("cityProperty39", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 423 MovieClip [cityProperty38] Frame 1
#initclip 227
Object.registerClass("cityProperty38", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 424 MovieClip [cityProperty37] Frame 1
#initclip 228
Object.registerClass("cityProperty37", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 425 MovieClip [cityProperty36] Frame 1
#initclip 229
Object.registerClass("cityProperty36", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 426 MovieClip [cityProperty35] Frame 1
#initclip 230
Object.registerClass("cityProperty35", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 427 MovieClip [cityProperty34] Frame 1
#initclip 231
Object.registerClass("cityProperty34", as.career.view.city.CityPropertyPopupView);
#endinitclip
Symbol 428 MovieClip [cityProperty33] Frame 1
!!!ERROR
Symbol 429 MovieClip [cityProperty32] Frame 1
!!!ERROR
Symbol 430 MovieClip [cityProperty31] Frame 1
!!!ERROR
Symbol 431 MovieClip [cityProperty30] Frame 1
!!!ERROR
Symbol 432 MovieClip [cityProperty29] Frame 1
!!!ERROR
Symbol 433 MovieClip [cityProperty28] Frame 1
!!!ERROR
Symbol 434 MovieClip [cityProperty27] Frame 1
!!!ERROR
Symbol 435 MovieClip [cityProperty26] Frame 1
!!!ERROR
Symbol 436 MovieClip [cityProperty25] Frame 1
!!!ERROR
Symbol 437 MovieClip [cityProperty24] Frame 1
!!!ERROR
Symbol 438 MovieClip [cityProperty23] Frame 1
!!!ERROR
Symbol 439 MovieClip [cityProperty22] Frame 1
!!!ERROR
Symbol 440 MovieClip [property21] Frame 1
!!!ERROR
Symbol 441 MovieClip [property20] Frame 1
!!!ERROR
Symbol 442 MovieClip [property19] Frame 1
!!!ERROR
Symbol 443 MovieClip [property18] Frame 1
!!!ERROR
Symbol 444 MovieClip [property17] Frame 1
!!!ERROR
Symbol 445 MovieClip [property16] Frame 1
!!!ERROR
Symbol 446 MovieClip [cityProperty15] Frame 1
!!!ERROR
Symbol 447 MovieClip [cityProperty14] Frame 1
!!!ERROR
Symbol 448 MovieClip [cityProperty13] Frame 1
!!!ERROR
Symbol 449 MovieClip [cityProperty12] Frame 1
!!!ERROR
Symbol 450 MovieClip [cityProperty11] Frame 1
!!!ERROR
Symbol 451 MovieClip [cityProperty10] Frame 1
!!!ERROR
Symbol 452 MovieClip [cityProperty9] Frame 1
!!!ERROR
Symbol 453 MovieClip [cityProperty8] Frame 1
!!!ERROR
Symbol 454 MovieClip [cityProperty7] Frame 1
!!!ERROR
Symbol 455 MovieClip [cityProperty6] Frame 1
!!!ERROR
Symbol 456 MovieClip [cityProperty5] Frame 1
!!!ERROR
Symbol 459 MovieClip [hitCityProperty4] Frame 1
!!!ERROR
Symbol 460 MovieClip [hitCityProperty3] Frame 1
!!!ERROR
Symbol 461 MovieClip [hitCityProperty2] Frame 1
!!!ERROR
Symbol 462 MovieClip [hitCityProperty1] Frame 1
!!!ERROR
Symbol 466 MovieClip [cityPropertyPopupButton] Frame 1
!!!ERROR
Symbol 469 MovieClip [cityPropertyPopupBlueButton] Frame 1
!!!ERROR
Symbol 471 MovieClip [crowdTextPopupButton] Frame 1
!!!ERROR
Symbol 472 MovieClip [hitCityProperty0] Frame 1
!!!ERROR
Symbol 479 MovieClip Frame 1
!!!ERROR
Symbol 491 MovieClip [mapTexasCity] Frame 1
!!!ERROR
Symbol 524 MovieClip Frame 1
!!!ERROR
Symbol 563 MovieClip [arrowButton] Frame 1
!!!ERROR
Symbol 591 MovieClip [transOptionButton] Frame 1
!!!ERROR
Symbol 598 MovieClip [inputText] Frame 1
!!!ERROR
Symbol 605 MovieClip [defaultButton] Frame 1
!!!ERROR
Symbol 611 MovieClip Frame 1
!!!ERROR
Symbol 611 MovieClip Frame 2
if ((_global.coAffiliateLink != "") && (_global.coAffiliateLink != undefined)) {
this._parent.onRelease = function () {
getURL (_global.coAffiliateLink, "_blank");
};
}
var basePath = "";
if (mdm.Application.path) {
basePath = mdm.Application.path;
}
var logoImage = (basePath + "logo_affiliate_small.jpg");
var checkFile = new LoadVars();
this._visible = false;
checkFile.obj = this;
checkFile.onLoad = function (success) {
if (success) {
this.obj.logo_holder_mc.loadMovie(logoImage);
this.obj.onEnterFrame = function () {
if ((this.logo_holder_mc.getBytesLoaded() == this.logo_holder_mc.getBytesTotal()) && (this.logo_holder_mc.getBytesTotal() > 4)) {
if (!this.logo_holder_mc._width) {
return(undefined);
}
this.logo_holder_mc._y = this.logo_holder_mc._y - this.logo_holder_mc._height;
this.logo_holder_mc._x = this.logo_holder_mc._x - this.logo_holder_mc._width;
this._visible = true;
delete this.onEnterFrame;
}
};
} else {
this.obj.gotoAndStop("png");
}
};
checkFile.load(logoImage);
stop();
Symbol 611 MovieClip Frame 3
if ((_global.coAffiliateLink != "") && (_global.coAffiliateLink != undefined)) {
this._parent.onRelease = function () {
getURL (_global.coAffiliateLink, "_blank");
};
}
var basePath = "";
if (mdm.Application.path) {
basePath = mdm.Application.path;
}
var logoImage = (basePath + "logo_affiliate_small.png");
var checkFile = new LoadVars();
this._visible = false;
checkFile.obj = this;
checkFile.onLoad = function (success) {
if (success) {
this.obj.logo_holder_mc.loadMovie(logoImage);
this.obj.onEnterFrame = function () {
if ((this.logo_holder_mc.getBytesLoaded() == this.logo_holder_mc.getBytesTotal()) && (this.logo_holder_mc.getBytesTotal() > 4)) {
if (!this.logo_holder_mc._width) {
return(undefined);
}
this.logo_holder_mc._y = this.logo_holder_mc._y - this.logo_holder_mc._height;
this.logo_holder_mc._x = this.logo_holder_mc._x - this.logo_holder_mc._width;
this._visible = true;
delete this.onEnterFrame;
}
};
}
};
checkFile.load(logoImage);
stop();
Symbol 660 MovieClip Frame 27
!!!ERROR
Symbol 721 MovieClip Frame 1
if ((_global.coAffiliateLink != "") && (_global.coAffiliateLink != undefined)) {
this._parent.onRelease = function () {
getURL (_global.coAffiliateLink, "_blank");
};
}
var basePath = "";
if (mdm.Application.path) {
basePath = mdm.Application.path;
}
var logoImage = (basePath + "logo_affiliate_small.jpg");
var checkFile = new LoadVars();
this._visible = false;
checkFile.obj = this;
checkFile.onLoad = function (success) {
if (success) {
this.obj.logo_holder_mc.loadMovie(logoImage);
this.obj.onEnterFrame = function () {
if ((this.logo_holder_mc.getBytesLoaded() == this.logo_holder_mc.getBytesTotal()) && (this.logo_holder_mc.getBytesTotal() > 4)) {
if (!this.logo_holder_mc._width) {
return(undefined);
}
this.logo_holder_mc._x = this.logo_holder_mc._x - this.logo_holder_mc._width;
this._visible = true;
delete this.onEnterFrame;
}
};
} else {
this.obj.gotoAndStop("png");
}
};
checkFile.load(logoImage);
stop();
Symbol 721 MovieClip Frame 2
if ((_global.coAffiliateLink != "") && (_global.coAffiliateLink != undefined)) {
this._parent.onRelease = function () {
getURL (_global.coAffiliateLink, "_blank");
};
}
var basePath = "";
if (mdm.Application.path) {
basePath = mdm.Application.path;
}
var logoImage = (basePath + "logo_affiliate_small.png");
var checkFile = new LoadVars();
this._visible = false;
checkFile.obj = this;
checkFile.onLoad = function (success) {
if (success) {
this.obj.logo_holder_mc.loadMovie(logoImage);
this.obj.onEnterFrame = function () {
if ((this.logo_holder_mc.getBytesLoaded() == this.logo_holder_mc.getBytesTotal()) && (this.logo_holder_mc.getBytesTotal() > 4)) {
if (!this.logo_holder_mc._width) {
return(undefined);
}
this.logo_holder_mc._x = this.logo_holder_mc._x - this.logo_holder_mc._width;
this._visible = true;
delete this.onEnterFrame;
}
};
}
};
checkFile.load(logoImage);
stop();
Instance of Symbol 723 MovieClip in Symbol 724 MovieClip Frame 1
on (release) {
getURL (_root.localization_url1, "_blank");
}
Instance of Symbol 736 MovieClip in Symbol 740 MovieClip Frame 1
on (release) {
getURL (_root.localization_url1, "_blank");
}
Instance of Symbol 743 MovieClip in Symbol 747 MovieClip Frame 1
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 788 MovieClip Frame 1
!!!ERROR
Instance of Symbol 740 MovieClip in Symbol 788 MovieClip Frame 175
on (release) {
!!!ERROR
Instance of Symbol 747 MovieClip in Symbol 788 MovieClip Frame 185
on (release) {
!!!ERROR
Instance of Symbol 767 MovieClip in Symbol 788 MovieClip Frame 245
on (release) {
!!!ERROR
Instance of Symbol 774 MovieClip in Symbol 788 MovieClip Frame 255
on (release) {
!!!ERROR
Instance of Symbol 779 MovieClip in Symbol 788 MovieClip Frame 265
on (release) {
!!!ERROR
Instance of Symbol 788 MovieClip in Symbol 789 MovieClip Frame 1
onClipEvent (load) {
if ((!_global.companylogo) || (_global.companylogo == "")) {
return(undefined);
}
this.gotoAndStop(_global.companylogo.toLowerCase());
if (((_global.moregamelink != "") && (_global.moregamelink != undefined)) && (!(_global.companylogo === "coAffiliate"))) {
this.onRelease = function () {
this.getURL(_global.moregamelink, "_blank");
};
}
}
Instance of Symbol 791 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
if ((_global.youdagames != "") && (_global.youdagames != undefined)) {
this.onRelease = function () {
getURL (_global.youdagames, "_blank");
};
}
}
Symbol 795 MovieClip [menuMainBg] Frame 1
!!!ERROR
Symbol 820 MovieClip Frame 1
!!!ERROR
Symbol 871 MovieClip Frame 1
!!!ERROR
Symbol 871 MovieClip Frame 52
!!!ERROR
Symbol 871 MovieClip Frame 82
!!!ERROR
Symbol 915 MovieClip Frame 1
!!!ERROR
Symbol 916 MovieClip [card] Frame 1
!!!ERROR
Symbol 938 MovieClip [maleButton] Frame 1
!!!ERROR
Symbol 944 MovieClip [femaleButton] Frame 1
!!!ERROR
Symbol 950 MovieClip [infoBoxRed] Frame 1
!!!ERROR
Symbol 969 MovieClip [faderLink] Frame 1
!!!ERROR
Symbol 982 MovieClip Frame 1
!!!ERROR
Symbol 994 MovieClip [mapTexas] Frame 35
!!!ERROR
Symbol 994 MovieClip [mapTexas] Frame 70
!!!ERROR
Symbol 994 MovieClip [mapTexas] Frame 105
!!!ERROR
Symbol 994 MovieClip [mapTexas] Frame 140
!!!ERROR
Symbol 1005 MovieClip Frame 1
!!!ERROR
Symbol 1020 MovieClip Frame 1
!!!ERROR
Symbol 1029 MovieClip Frame 1
!!!ERROR
Symbol 1042 MovieClip Frame 1
!!!ERROR
Symbol 1051 MovieClip Frame 1
!!!ERROR
Symbol 1052 MovieClip [cityPersonPlayerMale] Frame 1
!!!ERROR
Symbol 1063 MovieClip Frame 1
!!!ERROR
Symbol 1063 MovieClip Frame 8
!!!ERROR
Symbol 1115 MovieClip Frame 1
!!!ERROR
Symbol 1120 MovieClip [cityPropertyPopup0Right] Frame 1
!!!ERROR
Symbol 1120 MovieClip [cityPropertyPopup0Right] Frame 9
!!!ERROR
Symbol 1122 MovieClip [cityPropertyPopup0RightUnder] Frame 1
!!!ERROR
Symbol 1122 MovieClip [cityPropertyPopup0RightUnder] Frame 9
!!!ERROR
Symbol 1124 MovieClip [cityPropertyPopup0Left] Frame 1
!!!ERROR
Symbol 1124 MovieClip [cityPropertyPopup0Left] Frame 9
!!!ERROR
Symbol 1126 MovieClip [cityPropertyPopup0LeftUnder] Frame 1
!!!ERROR
Symbol 1126 MovieClip [cityPropertyPopup0LeftUnder] Frame 9
!!!ERROR
Symbol 1129 MovieClip [cityPropertyPopup1] Frame 1
!!!ERROR
Symbol 1129 MovieClip [cityPropertyPopup1] Frame 9
!!!ERROR
Symbol 1131 MovieClip [cityPropertyPopup1Right] Frame 1
!!!ERROR
Symbol 1131 MovieClip [cityPropertyPopup1Right] Frame 9
!!!ERROR
Symbol 1133 MovieClip [cityPropertyPopup1RightUnder] Frame 1
!!!ERROR
Symbol 1133 MovieClip [cityPropertyPopup1RightUnder] Frame 9
!!!ERROR
Symbol 1135 MovieClip [cityPropertyPopup1Left] Frame 1
!!!ERROR
Symbol 1135 MovieClip [cityPropertyPopup1Left] Frame 9
!!!ERROR
Symbol 1137 MovieClip [cityPropertyPopup1LeftUnder] Frame 1
!!!ERROR
Symbol 1137 MovieClip [cityPropertyPopup1LeftUnder] Frame 9
!!!ERROR
Symbol 1163 MovieClip [hitCityProperty9] Frame 1
!!!ERROR
Symbol 1164 MovieClip [hitCityProperty10] Frame 1
!!!ERROR
Symbol 1165 MovieClip [hitCityProperty8] Frame 1
!!!ERROR
Symbol 1166 MovieClip [hitCityProperty7] Frame 1
!!!ERROR
Symbol 1167 MovieClip [hitCityProperty6] Frame 1
!!!ERROR
Symbol 1168 MovieClip [hitCityProperty5] Frame 1
!!!ERROR
Symbol 1179 MovieClip Frame 30
!!!ERROR
Symbol 1180 MovieClip [crowdTextBalloonLeft] Frame 1
!!!ERROR
Symbol 1185 MovieClip Frame 30
!!!ERROR
Symbol 1186 MovieClip [crowdTextBalloonLeftUnder] Frame 1
!!!ERROR
Symbol 1192 MovieClip Frame 30
!!!ERROR
Symbol 1193 MovieClip [crowdTextBalloonRight] Frame 1
!!!ERROR
Symbol 1198 MovieClip Frame 30
!!!ERROR
Symbol 1199 MovieClip [crowdTextBalloonRightUnder] Frame 1
!!!ERROR
Symbol 1212 MovieClip Frame 1
!!!ERROR
Symbol 1225 MovieClip Frame 1
!!!ERROR
Symbol 1238 MovieClip Frame 1
!!!ERROR
Symbol 1251 MovieClip Frame 1
!!!ERROR
Symbol 1252 MovieClip [cityPersonPlayerFemale] Frame 1
!!!ERROR
Symbol 1283 MovieClip [travelScene] Frame 559
!!!ERROR
Symbol 1297 MovieClip Frame 1
!!!ERROR
Symbol 1308 MovieClip [winTownAnimation] Frame 1
!!!ERROR
Symbol 1308 MovieClip [winTownAnimation] Frame 2
!!!ERROR
Symbol 1308 MovieClip [winTownAnimation] Frame 25
!!!ERROR
Symbol 1308 MovieClip [winTownAnimation] Frame 57
!!!ERROR
Symbol 1308 MovieClip [winTownAnimation] Frame 82
!!!ERROR
Symbol 1308 MovieClip [winTownAnimation] Frame 150
!!!ERROR
Symbol 1314 MovieClip [particle] Frame 1
gotoAndStop(1 + Math.floor(Math.random() * 1.2));
Symbol 1317 MovieClip [particleBlue] Frame 1
gotoAndStop(1 + Math.floor(Math.random() * 1.2));
Symbol 1335 MovieClip [smoke] Frame 1
!!!ERROR
Symbol 1336 MovieClip [engine_mc] Frame 1
!!!ERROR
Symbol 1337 MovieClip [track_mc] Frame 1
!!!ERROR
Symbol 1344 MovieClip [topMenuButton] Frame 1
!!!ERROR
Symbol 1349 MovieClip Frame 1
!!!ERROR
Symbol 1354 MovieClip [DynamicTopMenu] Frame 1
!!!ERROR
Symbol 1377 MovieClip [choiceNavigation] Frame 1
!!!ERROR
Symbol 1379 MovieClip [pokerDealer] Frame 1
!!!ERROR
Symbol 1380 MovieClip [pokerPlayer] Frame 1
!!!ERROR
Symbol 1398 MovieClip [pileValueDisplay] Frame 1
!!!ERROR
Symbol 1402 MovieClip [pokerHouseBet] Frame 1
!!!ERROR
Symbol 2921 MovieClip Frame 1
!!!ERROR
Symbol 2922 MovieClip Frame 1
!!!ERROR
Symbol 2922 MovieClip Frame 21
!!!ERROR
Symbol 2922 MovieClip Frame 169
!!!ERROR
Symbol 3211 MovieClip Frame 1
!!!ERROR
Symbol 3211 MovieClip Frame 40
!!!ERROR
Symbol 3213 MovieClip Frame 40
!!!ERROR
Symbol 3225 MovieClip [textHelpHolderHorizontal] Frame 5
!!!ERROR
Symbol 3230 MovieClip [textHelpHolderHorizontalTop] Frame 5
!!!ERROR
Symbol 3235 MovieClip Frame 1
!!!ERROR
Symbol 3235 MovieClip Frame 40
!!!ERROR
Symbol 3237 MovieClip Frame 40
!!!ERROR
Symbol 3246 MovieClip [PlayerStatusPopup] Frame 1
!!!ERROR
Symbol 3264 MovieClip [buyFullVersionTextScreen] Frame 5
!!!ERROR
Symbol 3266 MovieClip [buyFullVersionScreens] Frame 1
this.onPress = function () {
delete _global.tableScreen;
if (!(_global.view.pressAllow === true)) {
return(null);
}
trace((((_global.activeScreen + " ! ") + _global.activeScreen.showBuyPVScreen) + " / ") + this.id);
_global.activeScreen.showBuyPVScreen(this.id);
this.removeMovieClip();
};
Symbol 3528 MovieClip Frame 1
!!!ERROR