Yah, I am pretty sure I got it under control now. (one way to trigger that glitch with a 100% chance is to slide down a wall with your sword down and hit the boss, it will trigger it) what happens is it doesn't change my wall friction variable eaqual to 0 when you hit him. thats why it happens.