First, you need to add the following in your script somewhere after the last waitmovement 0x0:
Code:
call @movesprite
#org @movesprite
movesprite2 0x[Person Event #] 0x[X-Coordinate] 0x[Y-Coordinate]
movesprite2 0x[Person Event #] 0x[X-Coordinate] 0x[Y-Coordinate]
movesprite2 0x[Person Event #] 0x[X-Coordinate] 0x[Y-Coordinate]
movesprite2 0x[Person Event #] 0x[X-Coordinate] 0x[Y-Coordinate]
...
return
Change the movesprite2s to match your rocks and they should stay in place. You can always add more than what I've shown above.
So, for example, say you wanted to move rocks 0xB and 0xC to x-coordinates 0x7 & 0x8 respectively, and y-coordinates 0x9 & 0xA respectively, your script would like this:
Code:
#org @movesprite
movesprite2 0xB 0x7 0x9
movesprite2 0xC 0x8 0xA
return
Also, you need to add a
On entering map/not on menu close [03] level script to your map. It should look something like this.
Code:
checkflag 0x259
if true call @movesprite
end
Where @movesprite refers to that @movesprite from the previous code.