This bk is originally from me just playing the game normally and encountering the glitch.
For one, I am not sure if that works outside of towns
but the idea is that you jump, attack, then you can press and hold jump. Holding jump is like jumping in a lot of games where you hold it and you jump higher.
Bizhawk 2.4.1
pastebin of the inputs at that point
https://pastebin.com/05eLT9Ua
original tasvidoes forum post
http://tasvideos.org/forum/viewtopic.php?t=21919