Problem with in battle dialogue

Hi,
I have a problem with two dialogues in battle.
If enemy A dies enemy B should response to it and vice versa. This somehow works, but, if let's say enemy A is already dead and enemy B is getting killed the dialogue from enemy A is getting triggered. What did I do wrong?
Here are my Event pages:

dialoguebattle1.png

dialoguebattle2.png


dialoguebattle3.png

dialoguebattle4.png


Hope you can help me. ^^
you don't have a conditional breanch to check if the other enemy has the dead switch on - you only tu7rn that switch off but never check if it is on.
you don't have a conditional breanch to check if the other enemy has the dead switch on - you only tu7rn that switch off but never check if it is on.
What do I put in into the conditional branch and on which event page do I need to add it?
Found out what I did wrong. This is how I fixed it:
dialoguebattlefixed1.png


dialoguebattlefixed2.png

dialoguebattlefixed3.png

dialoguebattlefixed4.png

Still thanks for the help. ^^
Just to put it out there, there's no real need to be going through this finagling of switches.

You can check whether a specific enemy is alive directly from the Conditional Branch.

1703175578918.png
Just to put it out there, there's no real need to be going through this finagling of switches.

You can check whether a specific enemy is alive directly from the Conditional Branch.

View attachment 288965
Yeah, I tried that but this didn't work for some reason. The other dialogue still triggered if the other person is already dead. But it doesn't matter, I found my way to solve it. ^^ Still thank you for your help!

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-in-battle-dialogue.164023/