Pictures after battles

So, Im trying to get pictures to display on random battles.

The conditions are that after you beat the enemy while a certain state is is still under the effect a picture will come on screen. However, when I tried it doesn't want to go though. I have in under as:

Conditional branch: [enemy] is [state] inflicted

Picture is placed.

Im also using Tsukihime post battle event scripts.

Am I not seeing something?
Where did you use the event code?


The condition only works during battle, which means a troop event - outside battle, there are no enemies that can have a condition inflicted.
I got it to work. I made it that if the state is inflicted, it enables a switch, which brings another event if that switch is enable. That second event uses the post battle event code.Then I just input the picture. 

I thinks its because the Post battle event script doesnt do well with conditional branches.

Original thread: https://forums.rpgmakerweb.com/threads/pictures-after-battles.22239/