Hello,
I've only been studying javascript for a combined 20 minutes or so (I'll catch up eventually).
I would like the below lines to 'safely' run at the end of each action.
I added this as a plugin initially:
It works, but it feels like an overwrite? Please assist.
I've only been studying javascript for a combined 20 minutes or so (I'll catch up eventually).
I would like the below lines to 'safely' run at the end of each action.
Code:
$gameTroop.updateRows();
$gameParty.updateRows();
I added this as a plugin initially:
Code:
Game_Battler.prototype.performActionEnd = function() {
$gameTroop.updateRows();
$gameParty.updateRows();
this.setActionState('done');
};
It works, but it feels like an overwrite? Please assist.