Notification inserts itself into dialogue

I have a common event which runs after every battle.
One of the things that it does is to award extra EXP if a certain condition is fulfilled in battle.
This can mean that an actor can get a level up at that point. If so, the engine automatically generates a message saying "[actor's name] is now level n"

I have just found that if this happens when there is a post battle dialogue in the event, (all my battles are on-map, evented) that message gets displayed as the second dialogue box, complete with the name and face of whoever said the first bit of dialogue.

Needless to say, this looks ridiculous. Does anyone know how this can be prevented?

I am using VisuStella's Message Core, but I would be astonished if it had anything to do with that.

Thank you.
Maybe try putting a Wait for 1 frame at the bottom of your map event so that the Show Text isn't the last thing in it?
@ATT_Turan Tried that, fought the battle and it still happened. Which actually seems logical to me because this insertion happens before the event gets to the 1 frame wait command.

EDIT
Ahha! Putting the one frame wait before the dialogue does it.
Thank you.

EDIT 2
Le sigh. It dawns on me that I shall need to go and put this into every single, solitary battle in the game, because it could happen again anywhere, at any time.
How? Your description in your original post says, to me, that the common event giving extra experience is running immediately after the event that caused the battle finishes.

Screenshot of the event?

I suspect without any finagling of event commands this is a bug report to VisuStella, to ask that the common event after battle wait for the event with Battle Processing to finish.
@ATT_Turan The common event runs at the end of every battle, not when the event in which battle processing is a command finishes
Right, that was my suggested change.

I suspect...this is a bug report to VisuStella, to ask that the common event after battle wait for the event with Battle Processing to finish.

The alternative would be to control the auto-common event's content with a switch, which you turn off before Battle Processing if you have dialogue following it. Then you can manually call the common event after the dialogue is done.
@ATT_Turan Thanks for the suggestion, which would be a lot simpler than going through the whole VS bug reporting procedure, at the end of which they might say that it's not a bug, but simply the way I do my switches.

Original thread: https://forums.rpgmakerweb.com/threads/notification-inserts-itself-into-dialogue.164739/