Tweaking Yanfly's Enemy Attack Animations

I've just included Yanfly's Ace Battle System in my game, and I was wondering if there's any way to make it so that the animations for the enemy's attacks play atop the target actors' pictures rather than being obscured by the menu window. If anyone could help me out, I'd appreciate it.
Hello.


Do you mean that ?


BoluBolu's script "atk animation over actor faceset" :

Code:
 class Sprite_Base < Sprite
  def make_animation_sprites
    @ani_sprites = []
    if @use_sprite && !@@ani_spr_checker.include?(@animation)
      16.times do
        sprite = ::Sprite.new(nil)
        sprite.visible = false
        @ani_sprites.push(sprite)
      end
      if @animation.position == 3
        @@ani_spr_checker.push(@animation)
      end
    end
    @ani_duplicated = @@ani_checker.include?(@animation)
    if !@ani_duplicated && @animation.position == 3
      @@ani_checker.push(@animation)
    end
  end
end
That might be it. Where would I paste that section of script?
# To install this script, open up your script editor and copy/paste this script
# to an open slot below Materials  but above Main. Remember to save.
Looks like it works. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/tweaking-yanflys-enemy-attack-animations.61404/