Sounds pretty straightforward:
if player.x < enemy.x - enemy move left
if player.x > enemy.x - enemy move right
if player.y < enemy.Y and enemy is over ladder - enemy climb up ladder
if player.y > enemy.Y and enemy is over ladder - enemy climb down ladder
probably should have some stuff happen when colliding with walls and so on, but seems to me these are the basics, right?