(function(){
Game_CharacterBase.prototype.refreshBushDepth = function() {
if (this.isNormalPriority() && !this.isObjectCharacter() &&
this.isOnBush() && !this.isJumping()) {
if (!this.isMoving()) {
this._bushDepth = this.terrainTag() === 4?32:12; //4是地形标志 32是半透明的高度。。自己调试到头部
}
} else {
this._bushDepth = 0;
}
};
})();
(function(){
Game_CharacterBase.prototype.refreshBushDepth = function() {
if (this.isNormalPriority() && !this.isObjectCharacter() &&
this.isOnBush() && !this.isJumping()) {
if (!this.isMoving()) {
this._bushDepth = this.terrainTag() === 4?32:12; //4是地形标志 32是半透明的高度。。自己调试到头部
}
} else {
this._bushDepth = 0;
}
};
})();