MovePacket mv = new MovePacket();
Location loc = new Location();
loc.x = x;
loc.y = y;
mv.newPosition = loc;
mv.tickId = currentTickId;
mv.time = (int) (currentTickTime + 10);
mv.records = new LocationRecord[] { currentPlayerLocations };
event.sendToClient(mv);

public function _-1fA():Boolean{ //Slowed
return (!(((this.condition_ & ConditionEffect._-05u) == 0)));
}
public function _-0OS():Boolean{ //speedy
return (!(((this.condition_ & ConditionEffect._-1Ha) == 0)));
}
public function _-M1():Boolean{ //Ninja speedy
return (!(((this.condition_ & ConditionEffect._-1lD) == 0)));
}
private static const _-1eB:Number = 0.004;//Base speed
private static const _-0A9:Number = 0.0096;//Speed multiplier
protected var _-W2:Number = 1; //Speed modifier
public function _-1o1():void{ //called at the end of every move function real
if (map_ == null){
return;
};
var _local1:Square = map_.getSquare(x_, y_); //returns the tile object
if (_local1.props_._-yg){ // this._-yg = _arg1.hasOwnProperty("Sinking");
_-fR = Math.min((_-fR + 1), Parameters._-1OT); //public static const _-1OT:Number = 18;
this._-W2 = (0.1 + ((1 - (_-fR / Parameters._-1OT)) * (_local1.props_.speed_ - 0.1)));
}
else { //not sinking
_-fR = 0; //global float
this._-W2 = _local1.props_.speed_; //
};
}
private function speed:Number{
if (_-1fA()){ //Slowed
return ((_-1eB * this._-W2));
};
var _local1:Number = (0.004 + ((this.speed_ / 75) * (0.0096 - 0.004)));
if (((_-0OS()) || (_-M1()))){ //speedy
_local1 = (_local1 * 1.5);
};
_local1 = (_local1 * this._-W2);
return (_local1); //return the new speed
}
