So i've had an issue with this FOMAR's Individual battle system. Looked at his comments and another user had the same problem and fixed it, but his explanation left a bit to desire and the user seems to not have been active for a while.
forums.rpgmakerweb.com
I tried to solve it myself but there's not much to go on (for me). I prolly could do it with a ton of trial and error but I figured it would be more wise to ask for aid 😛
Here is the code he changed (I believe, its only references to what he mentioned in the script)
Anyone understand what I need to do to fix it?
Individual Turn Battle System
Individual Turn Battle System Version 1.1 by Fomar0153 Description Implements a battle system where your action takes place straight after your input. Features Customisable turn order formula. The option to do away with the Party Command Window (though you will need to add some other method of...
forums.rpgmakerweb.com
I tried to solve it myself but there's not much to go on (for me). I prolly could do it with a ton of trial and error but I figured it would be more wise to ask for aid 😛
Here is the code he changed (I believe, its only references to what he mentioned in the script)
Code:
BattleManager.updateTpb = function() {
$gameParty.members().concat($gameTroop.members()).forEach((member) => {
if (!member.isAlive()) {
this._battlers.remove(member);
} else {
if (!this._battlers.includes(member)) {
this._battlers.push(member);
}
}
});
if (this._battlers[0]) {
this._battlers[0].onTurnEnd();
if (this._battlers[0].isActor()) {
if (this._battlers[0].canMove()) {
if (this._battlers[0].canInput()) {
this._inputting = true;
this._currentActor = this._battlers[0];
this._currentActor.makeActions();
this.startActorInput();
} else {
this._subject = this._battlers[0];
this._subject.makeActions();
}
}
} else {
this._subject = this._battlers[0];
this._subject.makeActions();
$gameTroop.increaseTurn();
}
this._battlers.remove(this._battlers[0]);
}
};
BattleManager.updateTpbInput = function() {
// done elsewhere now
};
Anyone understand what I need to do to fix it?