Well, if you want it for every battle I'd say a script is much better. It can be either Yanfly's script to copy 1st troop event in every other troop or it can be a script that creates that window for every battle.
I have made a
tutorial that explains how to create popup windows for doors, it can apply to your situation as well. The main difference would be having your window displayed in a troop event instead of a normal event.
Remember that you also need a page in your troop event to refresh that written text every turn (as well as a variable to act as turn counter). Then you need a parallel process event to dispose your window when going back to your game map. If the switch used to tell the game that your window is there is turned on then your event activates and gets rid of that window. Plain and simple.
The code to get rid of your window is:
Code:
anything_you_used_to_store_your_window.dispose
Change "anything_you_used_to_store_your_window" to the variable you used for your window.
Do not forget that parallel process or your window will stay there for a very long time (forever).
If you want to do it with a script then it is a different story and it depends a lot on how you want to handle every little detail.