Scripting a battle and altering battle conditions?

I've figured out you can make an enemy use a certain attack on certain conditions, but what I really need is a text to display under these certain conditions and on certain turns.


Maybe my Google-fu is bad, but I've been incapable to find out how to have a battle end when the enemies' HP is low enough since my intention is to have the battle end without the enemy sprite "dying" or losing all of it's health.
There's an "Abort Battle" event command.  Use it in a troop page where the condition is the enemy's HP is below a certain percentage (or, if you need finer conditions than the troop conditions offer, use Hime's incredibly useful Custom Page Conditions script).
Ah, thanks, I didn't know about the "Battle events" yet, I feel silly now. ^_^;
@Tanukitsune - Don't feel silly 🙂     I'm STILL learning about some of the programs many little secrets.  I only just learned of the extensive power in battle formulas just a couple of weeks ago 😀     ...and I have had Ace for a couple years now.


These forums have taught me SO much.

Original thread: https://forums.rpgmakerweb.com/threads/scripting-a-battle-and-altering-battle-conditions.56306/