Sprite_Character.prototype.updatePosition = function() {
this.x = this._character.screenX();
this.y = this._character.screenY();
this.z = this._character.screenZ();
};
alias_spriteUpdate = Sprite_Character.prototype.update;
Sprite_Character.prototype.update = function() {
alias_spriteUpdate.call(this);
console.log(this._character.screenX());
};
Game_CharacterBase.prototype.screenX = function() {
var tw = $gameMap.tileWidth();
return Math.round(this.scrolledX() * tw + tw / 2);
};