i don't understand how to do the paths that branch halfway or something.
You need to either check at a different time (and thus room) or fail the mini-game repeatedly. Since I think you mean the path branches in-between nodes you should do the latter.