Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private function updateModel(k:IRoomObjectModel, _arg_2:Number, _arg_3:Boolean):Boolean
  2.         {
  3.             var _local_4:Boolean;
  4.             var _local_5:Boolean;
  5.             var _local_6:int;
  6.             var _local_7:String;
  7.             var _local_8:IAvatarAddition;
  8.             var _local_9:String;
  9.             if (k._Str_3273() != _Str_3603)
  10.             {
  11.                 _local_4 = false;
  12.                 _local_5 = false;
  13.                 _local_6 = 0;
  14.                 _local_7 = "";
  15.                 _local_5 = ((k.getNumber(RoomObjectVariableEnum.FIGURE_TALK) > 0) && (_arg_3));
  16.                 if (_local_5 != this._Str_18190)
  17.                 {
  18.                     this._Str_18190 = _local_5;
  19.                     _local_4 = true;
  20.                 }
  21.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_EXPRESSION);
  22.                 if (_local_6 != this._Str_5043)
  23.                 {
  24.                     this._Str_5043 = _local_6;
  25.                     _local_4 = true;
  26.                 }
  27.                 _local_5 = (k.getNumber(RoomObjectVariableEnum.FIGURE_SLEEP) > 0);
  28.                 if (_local_5 != this._Str_6061)
  29.                 {
  30.                     this._Str_6061 = _local_5;
  31.                     _local_4 = true;
  32.                 }
  33.                 _local_5 = ((k.getNumber(RoomObjectVariableEnum.FIGURE_BLINK) > 0) && (_arg_3));
  34.                 if (_local_5 != this._Str_13515)
  35.                 {
  36.                     this._Str_13515 = _local_5;
  37.                     _local_4 = true;
  38.                 }
  39.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_GESTURE);
  40.                 if (_local_6 != this._Str_3760)
  41.                 {
  42.                     this._Str_3760 = _local_6;
  43.                     _local_4 = true;
  44.                 }
  45.                 _local_7 = k.getString(RoomObjectVariableEnum.FIGURE_POSTURE);
  46.                 if (_local_7 != this._posture)
  47.                 {
  48.                     this._posture = _local_7;
  49.                     _local_4 = true;
  50.                 }
  51.                 _local_7 = k.getString(RoomObjectVariableEnum.FIGURE_POSTURE_PARAMETER);
  52.                 if (_local_7 != this._Str_13611)
  53.                 {
  54.                     this._Str_13611 = _local_7;
  55.                     _local_4 = true;
  56.                 }
  57.                 _local_5 = (k.getNumber(RoomObjectVariableEnum.FIGURE_CAN_STAND_UP) > 0);
  58.                 if (_local_5 != this._Str_6643)
  59.                 {
  60.                     this._Str_6643 = _local_5;
  61.                     _local_4 = true;
  62.                 }
  63.                 _local_6 = (k.getNumber(RoomObjectVariableEnum.FIGURE_VERTICAL_OFFSET) * _Str_12370);
  64.                 if (_local_6 != this._Str_7508)
  65.                 {
  66.                     this._Str_7508 = _local_6;
  67.                     _local_4 = true;
  68.                 }
  69.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_DANCE);
  70.                 if (_local_6 != this._Str_4384)
  71.                 {
  72.                     this._Str_4384 = _local_6;
  73.                     _local_4 = true;
  74.                 }
  75.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_EFFECT);
  76.                 if (_local_6 != this._Str_5192)
  77.                 {
  78.                     this._Str_5192 = _local_6;
  79.                     _local_4 = true;
  80.                 }
  81.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_CARRY_OBJECT);
  82.                 if (_local_6 != this._Str_7562)
  83.                 {
  84.                     this._Str_7562 = _local_6;
  85.                     _local_4 = true;
  86.                 }
  87.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_USE_OBJECT);
  88.                 if (_local_6 != this._Str_6928)
  89.                 {
  90.                     this._Str_6928 = _local_6;
  91.                     _local_4 = true;
  92.                 }
  93.                 _local_6 = k.getNumber(RoomObjectVariableEnum.HEAD_DIRECTION);
  94.                 if (_local_6 != this._Str_16644)
  95.                 {
  96.                     this._Str_16644 = _local_6;
  97.                     _local_4 = true;
  98.                 }
  99.                 if (((this._Str_7562 > 0) && (k.getNumber(RoomObjectVariableEnum.FIGURE_USE_OBJECT) > 0)))
  100.                 {
  101.                     if (this._Str_6928 != this._Str_7562)
  102.                     {
  103.                         this._Str_6928 = this._Str_7562;
  104.                         _local_4 = true;
  105.                     }
  106.                 }
  107.                 else
  108.                 {
  109.                     if (this._Str_6928 != 0)
  110.                     {
  111.                         this._Str_6928 = 0;
  112.                         _local_4 = true;
  113.                     }
  114.                 }
  115.                 _local_8 = (this._Str_6142(_Str_12269) as FloatingIdleZ);
  116.                 if (this._Str_6061)
  117.                 {
  118.                     if (!_local_8)
  119.                     {
  120.                         _local_8 = this._Str_8211(new FloatingIdleZ(_Str_12269, this));
  121.                     }
  122.                     _local_4 = true;
  123.                 }
  124.                 else
  125.                 {
  126.                     if (_local_8)
  127.                     {
  128.                         this._Str_5801(_Str_12269);
  129.                     }
  130.                 }
  131.                 _local_5 = (k.getNumber(RoomObjectVariableEnum.FIGURE_IS_MUTED) > 0);
  132.                 _local_8 = (this._Str_6142(_Str_10168) as MutedBubble);
  133.                 if (_local_5)
  134.                 {
  135.                     if (!_local_8)
  136.                     {
  137.                         _local_8 = this._Str_8211(new MutedBubble(_Str_10168, this));
  138.                     }
  139.                     this._Str_5801(_Str_7651);
  140.                     _local_4 = true;
  141.                 }
  142.                 else
  143.                 {
  144.                     if (_local_8)
  145.                     {
  146.                         this._Str_5801(_Str_10168);
  147.                         _local_4 = true;
  148.                     }
  149.                     _local_5 = (k.getNumber(RoomObjectVariableEnum.FIGURE_IS_TYPING) > 0);
  150.                     _local_8 = (this._Str_6142(_Str_7651) as TypingBubble);
  151.                     if (_local_5)
  152.                     {
  153.                         if (!_local_8)
  154.                         {
  155.                             _local_8 = this._Str_8211(new TypingBubble(_Str_7651, this));
  156.                         }
  157.                         _local_4 = true;
  158.                     }
  159.                     else
  160.                     {
  161.                         if (_local_8)
  162.                         {
  163.                             this._Str_5801(_Str_7651);
  164.                         }
  165.                     }
  166.                 }
  167.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_GUIDE_STATUS);
  168.                 if (_local_6 != AvatarGuideStatus.NONE)
  169.                 {
  170.                     this._Str_5801(_Str_8837);
  171.                     this._Str_8211(new GuideStatusBubble(_Str_8837, this, _local_6));
  172.                     _local_4 = true;
  173.                 }
  174.                 else
  175.                 {
  176.                     if ((this._Str_6142(_Str_8837) as GuideStatusBubble) != null)
  177.                     {
  178.                         this._Str_5801(_Str_8837);
  179.                         _local_4 = true;
  180.                     }
  181.                 }
  182.                 _local_5 = (k.getNumber(RoomObjectVariableEnum.FIGURE_IS_PLAYING_GAME) > 0);
  183.                 _local_8 = (this._Str_6142(_Str_11164) as GameClickTarget);
  184.                 if (_local_5)
  185.                 {
  186.                     if (!_local_8)
  187.                     {
  188.                         _local_8 = this._Str_8211(new GameClickTarget(_Str_11164));
  189.                     }
  190.                     _local_4 = true;
  191.                 }
  192.                 else
  193.                 {
  194.                     if (_local_8)
  195.                     {
  196.                         this._Str_5801(_Str_11164);
  197.                     }
  198.                 }
  199.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_NUMBER_VALUE);
  200.                 _local_8 = (this._Str_6142(_Str_10054) as NumberBubble);
  201.                 if (_local_6 > 0)
  202.                 {
  203.                     if (!_local_8)
  204.                     {
  205.                         _local_8 = this._Str_8211(new NumberBubble(_Str_10054, _local_6, this));
  206.                     }
  207.                     _local_4 = true;
  208.                 }
  209.                 else
  210.                 {
  211.                     if (_local_8)
  212.                     {
  213.                         this._Str_5801(_Str_10054);
  214.                     }
  215.                 }
  216.                 _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_EXPRESSION);
  217.                 _local_8 = this._Str_6142(_Str_10546);
  218.                 if (_local_6 > 0)
  219.                 {
  220.                     if (!_local_8)
  221.                     {
  222.                         _local_8 = ExpressionAdditionFactory._Str_24515(_Str_10546, _local_6, this);
  223.                         if (_local_8)
  224.                         {
  225.                             this._Str_8211(_local_8);
  226.                         }
  227.                     }
  228.                 }
  229.                 else
  230.                 {
  231.                     if (_local_8)
  232.                     {
  233.                         this._Str_5801(_Str_10546);
  234.                     }
  235.                 }
  236.                 this._Str_14314(_arg_2);
  237.                 _local_7 = k.getString(RoomObjectVariableEnum.GENDER);
  238.                 if (_local_7 != this._Str_625)
  239.                 {
  240.                     this._Str_625 = _local_7;
  241.                     _local_4 = true;
  242.                 }
  243.                 _local_9 = k.getString(RoomObjectVariableEnum.FIGURE);
  244.                 if (this.updateFigure(_local_9))
  245.                 {
  246.                     _local_4 = true;
  247.                 }
  248.                 if (k.hasNumber(RoomObjectVariableEnum.FIGURE_SIGN))
  249.                 {
  250.                     _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_SIGN);
  251.                     if (_local_6 != this._Str_7434)
  252.                     {
  253.                         _local_4 = true;
  254.                         this._Str_7434 = _local_6;
  255.                     }
  256.                 }
  257.                 _local_5 = (k.getNumber(RoomObjectVariableEnum.FIGURE_HIGHLIGHT_ENABLE) > 0);
  258.                 if (_local_5 != this._Str_17713)
  259.                 {
  260.                     this._Str_17713 = _local_5;
  261.                     _local_4 = true;
  262.                 }
  263.                 if (this._Str_17713)
  264.                 {
  265.                     _local_6 = k.getNumber(RoomObjectVariableEnum.FIGURE_HIGHLIGHT);
  266.                     if (_local_6 != this._Str_21309)
  267.                     {
  268.                         this._Str_21309 = _local_6;
  269.                         _local_4 = true;
  270.                     }
  271.                 }
  272.                 _local_5 = (k.getNumber(RoomObjectVariableEnum.OWN_USER) > 0);
  273.                 if (_local_5 != this._Str_16138)
  274.                 {
  275.                     this._Str_16138 = _local_5;
  276.                     _local_4 = true;
  277.                 }
  278.                 _Str_3603 = k._Str_3273();
  279.                 return _local_4;
  280.             }
  281.             return false;
  282.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement