Hi all, I am using the Yep_X_ActSeqPack2 and have the following lines
--------------------------------------------------------------------------
Sprite_Battler.prototype.updateStateSprites = function() {
if (this._stateIconSprite) {
var height = this._battler.spriteHeight() * -0.8;
height -= Sprite_StateIcon._iconHeight;
height /= this.scale.y;
this._stateIconSprite.y = height;
}
if (this._stateSprite) {
var height = (this._battler.spriteHeight() - 64 * this.scale.y) * -1;
this._stateSprite.y = height;
}
---------------------------------------------------------------------------
if i change to
var height = this._battler.spriteHeight() * -0.8;
to
var height = this._battler.spriteHeight() * -0.5;
I can change the heigh of the state sprite and the state counter.
height is not the only thing I want to change. I also want to change the state/counter x location.
additionally, I have had success moving the state and icon counter through editing the core scripts/ the options given to me through the plugin also but if you move them too much they disappear. They get cut off. Only using the above code will move everything without cutting the number.
any help please? Thank you!
--------------------------------------------------------------------------
Sprite_Battler.prototype.updateStateSprites = function() {
if (this._stateIconSprite) {
var height = this._battler.spriteHeight() * -0.8;
height -= Sprite_StateIcon._iconHeight;
height /= this.scale.y;
this._stateIconSprite.y = height;
}
if (this._stateSprite) {
var height = (this._battler.spriteHeight() - 64 * this.scale.y) * -1;
this._stateSprite.y = height;
}
---------------------------------------------------------------------------
if i change to
var height = this._battler.spriteHeight() * -0.8;
to
var height = this._battler.spriteHeight() * -0.5;
I can change the heigh of the state sprite and the state counter.
height is not the only thing I want to change. I also want to change the state/counter x location.
additionally, I have had success moving the state and icon counter through editing the core scripts/ the options given to me through the plugin also but if you move them too much they disappear. They get cut off. Only using the above code will move everything without cutting the number.
any help please? Thank you!
