Solved! Fade out screen but not BGM on starting new game.

Hello all again! I've run into another somewhat simple problem that seems to have me stumped yet again, I'm wanting to keep the title music playing upon starting a new game without it cutting and being reset like it normally does. Digging through rpg_scenes.js under Scene_Title I've found out removing or commenting out this one line stops the music from stopping, but also stops the screen fade to new map making things look kind of jerky

Scene_Title.prototype.commandNewGame = function() {
DataManager.setupNewGame();
this._commandWindow.close();
this.fadeOutAll();
SceneManager.goto(Scene_Map);

I've found some mention during my research about switching this to Graphics.fadeout(number of frames) but I just cant seem to get it to work on my end, I keep getting an error that Graphics.fadeout is not a function so either I'm typing something wrong, I misread something from a different version of rpgmaker, or I'm just totally missing something right in my face here haha. As always, thanks for reading and appreciate all ya!
Hi there!

Try this:
JavaScript:
Scene_Title.prototype.fadeOutAll = function() {
    var time = this.slowFadeSpeed() / 60;
    this.startFadeOut(this.slowFadeSpeed());
};
Hi there!

Try this:
JavaScript:
Scene_Title.prototype.fadeOutAll = function() {
    var time = this.slowFadeSpeed() / 60;
    this.startFadeOut(this.slowFadeSpeed());
};
Hey, thanks so much! This is exactly what I was looking for! I'm still transferring over to javascript from the little experience I had with c+ way back when I first started, so seeing simple little plugins like this really help me grasp the knowledge better. Again, thanks so much, this post is SOLVED!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-fade-out-screen-but-not-bgm-on-starting-new-game.147516/