Ripper Movement Help

I have this enemy in my game called a ripper that moves along the walls and another obstacle called the fireblock that does the same. As far as I know the rippers move as expected, but the fire blocks in level 12 are all buggy and don't change direction when their suppose to. Anyhelp would be greatly appreciated.

The game is on forge.