This script shows the enemy spawn locations in the current segment (white squares), as well as boxes that should indicate where the camera needs to be to spawn the enemies. The blue rectangles are the spots when moving right and the green are the spots when moving left. If the top of the rectangle is above the top of the screen, the enemy should not spawn. This does not account for vertical movements (jumping, climbing, etc.).
How to skip the stage 6 miniboss. You first have to set up a miniboss state. The enemy used to skip the miniboss probably spawns at (144, 48) in segment 1 of stage 6. Note that you have to backtrack slightly in order to load segment 2 (why I kept jumping up toward the spikes). The doorway to the miniboss is blocked off otherwise.
#38597146366561439 - Kill stage 0 boss using enemy