Of course, that won't tell you when the boulder is on the right spot.
For that, you have two choices:
1) Terrain Tags on the key square (Since this is RMXP), and a Parallel Process event checking the Terrain Tag, or
2) A Parallel Process event checking the X and Y of the Boulder, and comparing it to fixed coordinates.
QUOTE (Bigace @ Dec 31 2009, 06:07 PM)

QUOTE (Scriptless @ Dec 31 2009, 08:13 PM)

Make an event, choose how you want it to look like. (ex:rock) set the event to player touch. Then put in move route, and put in move away from player. and click on skip if cannot move, n' there ya go.
Okay, cool it works. Okay now I need to figure out how to drag it away from the wall so the player doesn't get stuck. I probably should of added that to the OP.
Do you want it to be pull-able by the player, or resetable? The latter is much, much easier to code... and leaving and re-entering the room will do it automatically, so you don't need to worry about that.