Enter this snippet right at the top of your custom script list:
Spoiler: Snippet
Code:
class Game_Interpreter
def wait(duration)
return if $game_switches[200]
duration.times do
break if $game_switches[200]
Fiber.yield
end
end
end
Change the switch ID to what you want (the number 200 in the snippet).
Note that this will only skip the default "Wait" event commands. If a wait command is executed by other means (custom scripts, script calls), this will not work.
The "Wait" command is processed in the interpreter itself.
Each event has it's own interpreter, but only one can be run at a time, unless the event is a parallel process, in which case it will always be run until it's stopped.
When you use a "Wait" command, you will halt the processing of the event's interpreter, not the processing of the whole game.
Just for clarification.
😛