How did you code that system, in a nutshell?
Since you mention having support for only 4 pillars I suppose you code a set of events for each pillar, therefore I think there might be a more efficient way to do it.
I use some common events, one common event save all the coordinates, and there is other for each direction of the chara,
in right direction (for example)
at 0 step (with pilar1,2,3,4,etc)
at 1 steps (with pilar1,2,3,4,etc)