i managed to get this ALMOST working with this script here:
(from this thread: https://forums.rpgmakerweb.com/inde...view-battler-change-sprite-mid-battle.111677/ )
it only works with one actor however
ive tried putting it in multiple actors notetags(using unique dummy states and dummy actors for each) but it only seems to read the newest one i add for some reason
i dont know how to write javascript so my attempts at including other actors and states into the same if else branch has been in vain
im not really sure what im missing here so any help is appreciated
JavaScript:
Game_Battler.prototype.getBattler = function() {
var battler;
if (this.isActor()) {
if (this.isStateAffected(ID)) {
battler = $dataActors[ID];
} else {
battler = this.actor();
}
}
if (this.isEnemy()) {
battler = this.enemy();
}
return !!battler ? battler : null;
};
it only works with one actor however
ive tried putting it in multiple actors notetags(using unique dummy states and dummy actors for each) but it only seems to read the newest one i add for some reason
i dont know how to write javascript so my attempts at including other actors and states into the same if else branch has been in vain
im not really sure what im missing here so any help is appreciated