MV Galv Collision SE on/off

I contacted Galv, the developer of this plugin about this issue and he recommended I reach out on the forums. What I'm looking for I imagine should be simple I just don't know how to do it lol
I just want an option to turn this plugin
On and off in game via a plugin command or script call.
That's kinda weird...like it would take as many keystrokes to give the change as it would to say to come here and make a post.

Go to line 77 and change it to read:
Code:
    if (!this.canPass(this.x, this.y, d) && this._collideSeDelay <= Graphics.frameCount && $gameSwitches.value(69)) {
then it will only play the sound when switch 69 is turned on.

Change the number to whatever you like.
you can either set on top (below "(function() {"

if($gameSwitches.value(x)) {

// all the code

and above the bottom line "})()"

}

and x for being the value of the switch.

if that doesn't work as you want, there is an "AudioManager" where you can set it.

Edit:
or like ATT_Turan said which is cleaner ^^
That's kinda weird...like it would take as many keystrokes to give the change as it would to say to come here and make a post.
Galv might not be doing a lot of plugin stuff and left it to the forums. It's not much of an answer, but it's all I got.

Original thread: https://forums.rpgmakerweb.com/threads/galv-collision-se-on-off.161718/