RPGMaker MZ Abort battle function does not work with Visustella BattleCore

I'm trying to make it so when you beat one of the enemies the battle aborts, but the battle just awkwardly keeps going. I've tried using just straight script calls but I think Visutella is suppressing it somehow. I've tried making the enemies escape, I used the script call for abort battle in a common event, and I've added the abort script call inside the battle's event page. Nothing is working. I've already used these:

BattleManager.endBattle();
BattleManager.abort();
// Make enemy #2 (index 1) escape
$gameTroop.members()[1].escape();
why aren't you using the event command?
The event command abort battle should always work
And how are you calling these things? Where is the event? How is it being run?
I'm calling the event in the battle event.
1710355014247.png

This is the common event:
1710355108975.png

1710355164248.png
I don't see what your bottom screenshot has to do with it - forced actions has nothing to do with ending the battle.

I wonder if it's not working correctly because it's outsourced to the Common Event.

Does it make any difference if you put the Abort Battle command in the original Troop Event, on the line after call the common?
This is the common event:
what is the trigger for this common event?
called common events require trigger = none, if you have a different trigger set then the call CE is known to have quirks.
Ok so I don't know what I did. But I somehow got it working consistently. So thanks!
Ok so I don't know what I did. But I somehow got it working consistently. So thanks!
Can you share what changes you made? I'm having similar issues - I call "Abort Battle" in a common event called in a battle using VisuStella PTB system (and CmdPartyTalk) and the every other aspect of the common event I call works *except* the Abort Battle call.

I see the text shown in the below screen shot before Abort Battle command in a Common Event called from the battle conditions, but the battle never aborts. Given it's a tutorial and my game's built around not killing your enemies, it's a bit of a blocker, haha.

Screenshot 2024-03-26 at 10.29.25 PM.png
An update in case it helps others:

I've found that I can have the "Abort Battle" command work successfully if I have an event run after it with the caveat that I've currently only tested this with a message a display. If you're encountering a similar issue, I'm hoping running a short "wait" command or something else will also help the event to fire (though I'm still not clear why this is happening). Worst case, I'll just put some "success!" kind of message in lieu of that.

Original thread: https://forums.rpgmakerweb.com/threads/rpgmaker-mz-abort-battle-function-does-not-work-with-visustella-battlecore.166747/