Movement probably is not optimized, but this is the general idea. Encode: https://youtu.be/7mGlZ2-xOiY
You can get some extra height if you swing into an enemy at the right frame. Compare the rightward swing (boost) to the leftward one (no boost).