Display picture on skill use during combat

You can call a common event when a skill is cast, this I know. However, the common event does not run until after the attack resolves. Meaning if you use this common event to display an image, the image will not display until after the skill has completed being cast.

I would like to display the image during the skill use.
Are there any scripts available that change this functionality.


I know Javascript very well (Software Engineer for a large bank in US), however after spending many hours reading through the code behind RPG Maker MV I've realized that the code is highly unreadable with no comments or explanations of what anything does.

I did spend many hours debugging the battle process and found that the battles appear to be handled by the BattleManager class. I do not see where the order of operations in defined as it seems to not really have any rhythm or reason to the methods that are being called.

Line 10531 of the rpg_objects.js file is where the actual image is requested for the common event. Not sure how to figure this out!
There is no plugin that I know of that can do this directly.
The only existing option would be to use something like Yanfly's battlesystem that implements action sequences, and then use commands in the corresponding action sequences to time the effects in a more detailed way - those action sequences include commands to specify when exactly a common event is run for example.
Thank you, I looked into this and I can see it does exactly what I need it to do!

Original thread: https://forums.rpgmakerweb.com/threads/display-picture-on-skill-use-during-combat.105097/