Testing on r20463...
The power room that is generated into random dungeons does not work correctly. The spell walls, which cast transference, get confused and start casting the spell in whatever direction they please.
This appears to be due to the way the spell walls use sp. Sp is used to determine direction by the spell wall, but when transerence is cast, it doesn't find anything in the direction of the cast, so it targets the spell wall for the spell, increasing its sp and therefore messing up its direction.
Seems like the solution is to use the direction field like runes use to determine direction. We can't use maxsp or the walls will start exploding.
Since the change involved the fundamental structure of firewalls, change patched in commits 20469, 20470, and 20471.
The power room on random maps appears to work correctly. Any subsequent issues with the field change here should be a new bug. Closing.