Unable to reach all "hallways" in Twisted Combat

Unsure if this is an issue with my randomized level, or if I’m missing something crucial. I’ve restarted this level a dozen times, tried varying different codes and ideas. I can easily gather a few coins and reach the X, but I cannot reach many of the other coins or any “villains” because large blocks keep getting in the way.

Please post your code using the </> button so we can assist you.