Here's a solution without any need for plugins or scripting!
In the corner, create an invisible (through) event on a parallel process.
In the parallel event, create 2 new variables.
Rock X, Rock Y.
Next, go to Control Variables, and make it to where Rock X is set to Map X of the Rock event.
Do the same thing for Rock Y, setting it to Map Y of the same Rock event.
You have now created a process where the game is constantly checking the X and Y coordinates of that rock event.
Next, in that parallel process, beneath all of that, create a conditional branch, and set it to where:
If Rock X{ (X value in your game)
{ If Rock Y= (Y value in your game)}
{Switch ON}
(You'll need to also make a Switch on that rock event to where that rock event just remains there without any kind of interactivity).
I used this tactic a lot to make coordinates match in my game. It's very helpful, and can be used in many instances! Try playing with it.
Wow! thanks a lot, guys. Problem solved.
I tested these solutions and I ended up using the script one. However, the script didn't work at first so I had to use a very similar script, one posted by the blue squirrel in another thread, and it works perfectly!
Now it's like this