after battle glitch

Hi, there seems to be a glitch when after I defeated all the opponent pokemon in a double battle, the battle still continue.

Please help, heres the image (hope it can display) after I defeat the opponents. I could not escape the battle as I forced this battle to be unescapable and uncatchable. I allow this battle to be able to win or lose this match. If I lose, everything goes well as I planned. But, if win this happens.

edit


There is also no error message or debug message unless if I attack. An error display no target observed and then the battle continues.

Spoiler
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: No targets somehow...

EliteBattle_UI:1235:in `pbChooseTarget'

PokeBattle_Battle:2764:in `pbCommandPhase_ebs'

PokeBattle_Battle:2741:in `loop'

PokeBattle_Battle:2842:in `pbCommandPhase_ebs'

PokeBattle_Battle:2730:in `each'

PokeBattle_Battle:2730:in `pbCommandPhase_ebs'

EliteBattle_Battle:294:in `pbCommandPhase'

EliteBattle_Battle:224:in `pbStartBattleCore'

EliteBattle_Battle:223:in `logonerr'

EliteBattle_Battle:223:in `pbStartBattleCore'

EliteBattle_Battle:215:in `loop'

EliteBattle_Battle:237:in `pbStartBattleCore'

PokeBattle_Battle:2483:in `pbStartBattle'

PField_Field:987:in `pbDoubleWildBattle'

PField_Field:986:in `pbSceneStandby'

PField_Field:988:in `pbDoubleWildBattle'

PField_Field:985:in `pbBattleAnimation'

PField_Field:985:in `pbDoubleWildBattle'

(eval):1:in `pbExecuteScript'

Interpreter:794:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:794:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'



This exception was logged in

C:\Users\tan\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
What? It's just some database with names, emails and phone numbers! Not an image.
@blackmamba332
Pokémon essentials XP is a package containing illegal rips.
Because of this we can not allow it or support for it on this forum (which is company-owned and under corporate laws, not a fanforum).

Closing

Original thread: https://forums.rpgmakerweb.com/threads/after-battle-glitch.88988/