Board Thread:Questions and Answers/@comment-24386245-20140810124312/@comment-5334617-20140810185112

A more general schema for random events:

The  branch will run with probability  /  (for integer values). For a percentage P%, use 100 for  and use P for.

If the next enemy appears as soon as one dies, you don't need to do anything more than write all the new enemy's details to the respective variables. If it helps you, don't think that the enemy dies - think instead that the enemy gets teleported (and possibly transformed, if there are multiple enemy types).