this is based on the original Hatlight platformer, https://scratch.mit.edu/projects/122190314/ but I changed most of the code to make it more efficient, especially the pull up routine.