I started this RPG and I am making a dungeon that requires you to move rocks into some positions, almost like a zelda type thing when you move blocks into position. I tried some stuff like using variables
This is what the code looks like for one of the rocks I have to move:
<>Move Event:: This Event
: :<>Move Away from Hero
<>Wait: 3 Frames
<>Conditional Branch: Variable [0001: position x] == 6
<>Conditional Branch: Variable [0002: position y] ==5
<>Switch: [0011: Rock1] = ON
<>
: Else Handler
<>Switch: [0011: Rock1] = OFF
<>
: End
<>
: Else Handler
<>Switch: [0011: Rock1] = OFF
<>
: End
<>
This goes for each rock, and they have different positions. Now I don't have a problem with the fact that each one has to be in a certian spot in order to make the chest appear. But every time I move them into the right spot the chest doesn't apear. I set it as a parallel process, and I make sure that using the conditional branch option, if all 7 rock switches are on that it activates a switch changing the page to make the chest appear. But for some reason it doesn't happen. I would like it if someone could tell me how to make it so that you can move the rocks on to certian spots but it doesn't matter which rock goes where. Thanks!