Quoted By:
The puzzle concerns two kinds of statue of which there's multiple strewn about: one symbolizing Fighting type, the other Psychic (note that their look can be anything, Ideally it would be the leaders' aces). You activate them to alter the gym in some way:
Fighting statue causes large blocks to either sink back into the ground or rise up.
Psychic statue causes a shimmering path of psychic energy to appear or disappear between broken bridges.
There's always some blocks up and some down, some paths there and some disappeared. Activating a statue basically switches all of its elements around, so there's 4 total "states" the gym can be in. The goal is to activate these statues in order to change these elements and make your way through the gym.