Why does it keep clicking?!

I'm working with a Block Puzzle.

I divided it up into a couple events so that way I can deactivate part of it, if the player moves a block off a switch.

Basic "Monitor" Event just records the two blocks:
Variable: Block 1 X: Red Block, Map X
Variable: Block 1 Y: Red Block, Map Y

Variable: Block 2 X: Blue Block, Map X

Variable: Block 2 Y: Blue Block, Map Y

Wait: 1 Frame

[Parallel]

Then I have three more events.
First is the Red Switch:

Which has 3 pages:

First is no condition, parallel: 

Conditional: If Block 1 X = 3
 Nested Conditional: If Block 1 Y = 6 Then:
 Set Movement Route: Red Switch (Turn Down, Wait 1, Turn Left, Wait 1, Turn Right, Wait 1, Turn Up, Wait 1)
 Play SE: Cursor 1.

 Switch: Red Solved On

Second Page:

If Red Solved is On
Parallel

Conditional if Block 1 X =/= 3  Then
Set Movement Route: Red switch (Turn Up, wait 1, Turn Right, wait 1, Turn Left, Wait 1, Turn down, wait 1)
Play SE Cursor 1.
Red Solved Off

Conditional if Block 1 Y =/= 6 Then
Set Movement Route: Red switch (Turn Up, wait 1, Turn Right, wait 1, Turn Left, Wait 1, Turn down, wait 1)
Play SE Cursor 1.
Red Solved Off

Third Page:
If Puzzle Solved is On

<Empty>

[same deal with Blue, just change in Numbers and Names]
 

Final Event is a Parallel to check if both switches are on simultaneously, in which case it does a flash screen, and turns on Puzzle Solved.

The system as a whole works, I put the blocks where they go, it turns on both switches, screen flashes, portal opens up...
Just... if I put a block on a switch, the switch will repeatedly "Click" [when it should've gone to the next page and just stayed down (err up)] (It spams the sound effect too. so it's not a screwed up Movement route set to repeat or anything)
Please show us screenshots of the event pages where the click is caused - your descriptions are incomplete and missing some information, it's a lot easier to solve event problems if we can see the full events instead of only partial descriptions (which may include typos in addition to missing settings)
I understand what he did and I understand what he did wrong. First off, you only should have one event tracking the boxes, not four. Secondly, your "if X=/=3" and "if Y =/= 6" events have no trigger (other than "Puzzle Solved") that STOPS them from checking (that's why you're getting rapidfire clicks. It says "Oh, does X not equal 3? Okay, then move the switch and play a click. Oh, does X not equal 3? Okay, then move the switch and play a click." Ad nauseum.)

I'm not at my RPG Maker computer, so I'll pseudocode what you should be doing:

Page 1, parallel:

Box1X = Box 1's X
Box1Y = Box 1's Y

If Box1Solved is OFF
- If Box1X = 3
-- If Box1Y = 6
--- Move switch

--- Play click

--- Turn Box1Solved ON

-- end

- end

end

If Box1Solved is ON

- If Box1X =/= 3
-- Move switch
-- Play click

-- Turn Box1Solved OFF
- else

-- If Box1Y =/= 6

--- Move switch

--- Play click

--- Turn Box1Solved OFF

-- end

- end

end

(repeat for box2)

If Box1Solved is ON

- If Box2Solved is ON

-- Turn PuzzleSolved ON

- end

end

Page 2, no events, on player activate (NOT!! Parallel), when PuzzleSolved is ON
...As a note, I think I just hit a weird "bug" (bug in quotes because it's not really a bug, it just caused one).
It only happened on the one playtest where I was checking to see if it worked the first time [leading to this topic, because I legit couldn't tell what I had done wrong], and then... not again later when I was revisiting the room.

It works fine as of currently.

My theory is that the bug was caused by me NOT saving before the playtest after I had copied Red over so I can modify into Blue, which lead Red to repeatedly check itself as "Not in the right place".  It was solved and I couldn't tell what was wrong because nothing was actually wrong, I just had forgotten to save, and that in turn didn't update the test client. >_> ;; [in short, I should probably not work on creating puzzles at 5 AM]
Always save when play testing the game, it's not going to work correctly if you don't. Also another tip, do not use an old save file when you've updated the game, it can produce similar results.

Original thread: https://forums.rpgmakerweb.com/threads/why-does-it-keep-clicking.51210/