This is a standard Castle Wall puzzle.
2⁵ puzzles. I’m pretty impressed with myself for sticking to it even this long, even if it’s a bit on-and-off. Thanks to TheGreatEscaper (creator of Haisu) for catching a uniqueness error in the first version of this puzzle.