this.setFrame(cx * cw, cy * ch, cw, ch);
BattleManager.actionMoveX = function(mover, targets, value)
var _Game_Battler_spriteWidth = Game_Battler.prototype.spriteWidth;
Game_Battler.prototype.spriteWidth = function() {
if (this.isSideviewBattler()) {
if (Imported.YEP_X_AnimatedSVEnemies) {
var frameSizes = this.getSideviewSizes();
var cw = frameSizes[0];
return cw;
}
}
return _Game_Battler_spriteWidth.call(this);
};
var _Game_Battler_spriteHeight = Game_Actor.prototype.spriteHeight;
Game_Battler.prototype.spriteHeight = function() {
if (this.isSideviewBattler()) {
if (Imported.YEP_X_AnimatedSVEnemies) {
var frameSizes = this.getSideviewSizes();
var ch = frameSizes[1];
return ch;
}
}
return _Game_Battler_spriteHeight.call(this);
};
this.setFrame(cx * cw, cy * ch, cw, ch);
Please make a new topic for your problem, don't hijack unrelated topics.So... I am having a problem with the sideview battler because it is keep saying how height is undefined when i put in the height, any suggestions?
@Katrick12, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
Closing this.