[MV] Battle Entry Animation

So I started working on a plugin a little bit ago and in the process of it I came to the realization I'm going to need to figure out where the "run on screen" animation and "run away" animations take place in the core javascript files. And I seem to not be referring to requestMotion() since all that does is change which sprites are being indexed during the movement. I'm referring specifically to the movement part.


So what I'm asking is

  1. How do I change the animation for actors when they first enter combat.
  2. Is there a way I can make an animation in the database happen when the actor enters?
  3. Additionally, is there a way to make the animation happen ON the actor when they enter instead of full screen?



Thank you in advance.

Original thread: https://forums.rpgmakerweb.com/threads/mv-battle-entry-animation.71616/