You can check the player.Y position to determined if he's above or below the enemy, then you preform jump/fallthrough when needed, if you need the enemy to jump from specific points on the path he is walking, you can place a collision sprite in these points and preform the jump on collision and if Y is lower.