Pokemon Emerald Fortree gym puzzle

Hey guys can someone help figure out how to make this 2d game puzzle step by step

ive made the sprite and the map of the game but i need help with wall collisions and especially with moving objects

Either post what you have here and I’ll help or private message me and send it to me.