MV [BUG] Yanfly's Footstep Sounds: Incorrectly detecting tiles and playing wrong sound effects

I installed Yanfly's Footstep Sounds today, and it works fine if I'm using the default "one size fits all" footstep, but it runs into issues when I try to apply it to my interior maps.

I've attached a screenshot of an example of one of these issues. Region 1 and 2 should each play a specific audio when the player steps on them, but for whatever reason the areas marked in the red and yellow boxes have their audios switched so they play the opposite tiles' sound effect.

The exact same thing happens if I try to use Terrain Tagging instead of Regions; Tag 1 and Tag 2 are switched.

This also happens on other maps I've made, but I can't seem to replicate it on brand new maps made after I installed the plugin.

I installed Yanfly's Region Restrictions to see if the game was reading regions wrong or something, but that works exactly as intended.
if you follow those in the map notetags:
Code:
<Terrain Tag 1 Footstep Sound: Move1>
<Terrain Tag 2 Footstep Sound: Move2, 80>
<Terrain Tag 3 Footstep Sound: Move3, 75, 150>

and you didn't check the thread having issues on it, find this
function on line 416:
Game_CharacterBase.prototype.playFootstepSound = function(volume, pitch, pan) {...}

than alter the following code like below:
JavaScript:
 var x = this.x;
  /*if (this.x === 6) {
    x += 1;
  } else if (this.x === 4) {
    x -= 1;
  }*/
  var y = this.y;
  /*if (this.y === 2) {
    y += 1;
  } else if (this.y === 8) {
    y -= 1;
  }*/

as its in a block, comment it out and it should work correctly afterwards.
if you follow those in the map notetags:
Code:
<Terrain Tag 1 Footstep Sound: Move1>
<Terrain Tag 2 Footstep Sound: Move2, 80>
<Terrain Tag 3 Footstep Sound: Move3, 75, 150>

and you didn't check the thread having issues on it, find this
function on line 416:
Game_CharacterBase.prototype.playFootstepSound = function(volume, pitch, pan) {...}

than alter the following code like below:
JavaScript:
 var x = this.x;
  /*if (this.x === 6) {
    x += 1;
  } else if (this.x === 4) {
    x -= 1;
  }*/
  var y = this.y;
  /*if (this.y === 2) {
    y += 1;
  } else if (this.y === 8) {
    y -= 1;
  }*/

as its in a block, comment it out and it should work correctly afterwards.
I found that part of the .js and commented out the parts you said to and it didn't play any sounds at all after I saved it and re-imported the plug in, so unfortunately I don't think those lines are the cause here...

EDIT:
Never mind, I had changed the filename to "FIX", but changing it back to YEP_FootstepSounds.js worked perfectly! Thank you so much, this was driving me crazy!

Original thread: https://forums.rpgmakerweb.com/threads/bug-yanflys-footstep-sounds-incorrectly-detecting-tiles-and-playing-wrong-sound-effects.178013/