Post Battle Event Help - FORCE victory in battle even when enemy isn't dead!

Hello Everyone again.

I've come to seek your assistance once more.

Is it possible to code a snippet that FORCES a victory in battle even when the enemy hasn't been killed? it would be the same as if the player had won the battle and gained exp and such.

Any help would be appreciated.
Would this be for if you killed some enemies but not all? Otherwise you could just do a run away (escape).
no need for a script, you can either use the event command to end the battle or force an escape on all enemies or kill all enemies depending on what exactly you want.
That's okay but I don't want the enemy in this case to have a death animation by default, I want the enemy to be still alive when I am victorious in certain battles... then FORCE the victory scene, skip to the EXP, money and all that, while the enemy graphic hasn't changed.
Nevermind, I discovered RMVX ACe has a default "not dissapear" option for the enemy graphic. I think now I can accomplish what I wanted.

Original thread: https://forums.rpgmakerweb.com/threads/post-battle-event-help-force-victory-in-battle-even-when-enemy-isnt-dead.121867/