My question is: can I refer to a specific object like $gameActors.actor(x) in plugin code? This might be a dumb question but I've not messed around with plugin code before much at all, and I'm not very familiar with its structure. While I've examined a bunch of plugin code, I've never seen anything that specifically refers to an object in the manner that I want to. So is that possible?
For context, what I want to do is to modify the gainTp method of game_Battler so that whenever any battler gains tp, it checks if the battler who gained tp is a specific actor, and then runs a custom script if true.
For context, what I want to do is to modify the gainTp method of game_Battler so that whenever any battler gains tp, it checks if the battler who gained tp is a specific actor, and then runs a custom script if true.