You could use BGGET for whatever coordinates the player is at. If the BGGET variable is equal to the ladder's tile number, you can run a special ladder climbing code. Sorry if this is a bad explanation.