I'm sorry it's been so long since I played I have no idea how I managed it D:
There's someone lower in the comments who played it till the end in a video but they took a lot of moves to do it