Hi All,
I am trying to write a bit of script to adjust the location of the state overlay. What I have so far is this:
which works fine.
What I need is a way to determine the enemy id of "this.battler". Something along the lines of this:
But like a way that actually works. Is this even possible? Please let me know if you need any addition information. Any help would be greatly appreciated.
I am trying to write a bit of script to adjust the location of the state overlay. What I have so far is this:
JavaScript:
this._battler == $gameActors.actor(4)
What I need is a way to determine the enemy id of "this.battler". Something along the lines of this:
JavaScript:
this._battler.enemyId() == 45
But like a way that actually works. Is this even possible? Please let me know if you need any addition information. Any help would be greatly appreciated.