Change Rain Direction

Hey folks,

Is there a way I can invert the direction of the standard rain weather effect?

I'm using a plugin for some other weather effects (Mog Weather EX) and all of its wind effects blow from the left side of the screen, while the default RPG Maker rain effect blows from the right side. I like the default rain effect for my game, so am hoping I can just tweak it to have a consistent direction with the others.

I'm hoping maybe there's some number I can just change in the core script or something to invert the direction.

Thanks!
try saving this as a .js file and adding it as a plugin
Code:
Weather.prototype._updateRainSprite = function(sprite) {
    sprite.bitmap = this._rainBitmap;
    sprite.rotation = 2 * Math.PI - Math.PI / 16;
    sprite.ax -= 6 * Math.sin(sprite.rotation);
    sprite.ay += 6 * Math.cos(sprite.rotation);
    sprite.opacity -= 6;
};
try saving this as a .js file and adding it as a plugin
Code:
Weather.prototype._updateRainSprite = function(sprite) {
    sprite.bitmap = this._rainBitmap;
    sprite.rotation = 2 * Math.PI - Math.PI / 16;
    sprite.ax -= 6 * Math.sin(sprite.rotation);
    sprite.ay += 6 * Math.cos(sprite.rotation);
    sprite.opacity -= 6;
};

That worked, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/change-rain-direction.176391/