Hey!

There was one annoying issue with Rpg maker xp since forever and i thought maybe finally its time to put an end to it, but i'll need a help from a experienced scripter!
Well, the thing is about animations that are to be displayed on the screen, not the specified target. If there is more that 1 enemy in the battle then that animation will be displayed multiple times which results in it being pretty chaotic, usually too bright, and overall ugly (in my opinion).
Im not really a scripter but i found this in the Scene_Battle 4:
#--------------------------------------------------------------------------
# * Frame Update (main phase step 4 : animation for target)
#--------------------------------------------------------------------------
def update_phase4_step4
# Animation for target
for target in @target_battlers
target.animation_id = @animation2_id
target.animation_hit = (target.damage != "Miss")
end
# Animation has at least 8 frames, regardless of its length
@wait_count = 8
# Shift to step 5
@phase4_step = 5
end
These are the lines 406-419. Is it possible to modify these to solve this issue? To make the script display the animation only once if its set to be displayed on the screen and not the target?
I will be grateful for any help.