Bug in event freezes character

I have an event where the character brings animals in for a zoo and it seems to glitch. I have several others on the same map with the same code and they work fine and when character interacts with NPC with same code its fine... Anything wrong with it?

Event autorun

Conditional branch has bug in inventory

Text

Minus 1 bug from inventory

add 1 bug jar to inventory

Activate switch for bug in enclosure

I have 6 identical events on the map and they work just fine but this particular one has issues...
Cant edit posts....

Control self switch at end also so event wont repeat.
You need to post a screenshot of the event page, because just a verbal description won't help people spot the problem.  It needs to be the whole page, not just the bit with the commands in it.
Everyone can edit posts, just hover your cursor on your post, and the word 'edit' at the bottom right will become more visible.


And yes, show us screenshots of all of your events, including its event pages.
Must be since I am using a tablet device... Anyway I will try a couple things and if that doesn't work I will get screencaps. Thanks I will do that first off in the future.

Original thread: https://forums.rpgmakerweb.com/threads/bug-in-event-freezes-character.17149/